Ignore:
Timestamp:
2011-01-25T14:48:39+13:00 (13 years ago)
Author:
sjm84
Message:

Adding the latest trunk changes as well as tidying up several files and removing more -m32 stuff

Location:
main/branches/64_bit_Greenstone/greenstone3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/branches/64_bit_Greenstone/greenstone3

  • main/branches/64_bit_Greenstone/greenstone3/src/packages/javagdbm/configure

    r21433 r23632  
    11#! /bin/sh
    2 # From configure.in Revision: 18343 .
     2# From configure.in Revision: 21433 .
    33# Guess values for system-dependent variables and create Makefiles.
    4 # Generated by GNU Autoconf 2.59.
     4# Generated by GNU Autoconf 2.65.
    55#
    6 # Copyright (C) 2003 Free Software Foundation, Inc.
     6#
     7# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
     8# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
     9# Inc.
     10#
     11#
    712# This configure script is free software; the Free Software Foundation
    813# gives unlimited permission to copy, distribute and modify it.
    9 ## --------------------- ##
    10 ## M4sh Initialization.  ##
    11 ## --------------------- ##
    12 
    13 # Be Bourne compatible
    14 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     14## -------------------- ##
     15## M4sh Initialization. ##
     16## -------------------- ##
     17
     18# Be more Bourne compatible
     19DUALCASE=1; export DUALCASE # for MKS sh
     20if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
    1521  emulate sh
    1622  NULLCMD=:
    17   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
     23  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    1824  # is contrary to our usage.  Disable this feature.
    1925  alias -g '${1+"$@"}'='"$@"'
    20 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
    21   set -o posix
    22 fi
    23 DUALCASE=1; export DUALCASE # for MKS sh
    24 
    25 # Support unset when possible.
    26 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    27   as_unset=unset
    28 else
    29   as_unset=false
    30 fi
    31 
    32 
    33 # Work around bugs in pre-3.0 UWIN ksh.
    34 $as_unset ENV MAIL MAILPATH
     26  setopt NO_GLOB_SUBST
     27else
     28  case `(set -o) 2>/dev/null` in #(
     29  *posix*) :
     30    set -o posix ;; #(
     31  *) :
     32     ;;
     33esac
     34fi
     35
     36
     37as_nl='
     38'
     39export as_nl
     40# Printing a long string crashes Solaris 7 /usr/bin/printf.
     41as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     43as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     44# Prefer a ksh shell builtin over an external printf program on Solaris,
     45# but without wasting forks for bash or zsh.
     46if test -z "$BASH_VERSION$ZSH_VERSION" \
     47    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     48  as_echo='print -r --'
     49  as_echo_n='print -rn --'
     50elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     51  as_echo='printf %s\n'
     52  as_echo_n='printf %s'
     53else
     54  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     55    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     56    as_echo_n='/usr/ucb/echo -n'
     57  else
     58    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     59    as_echo_n_body='eval
     60      arg=$1;
     61      case $arg in #(
     62      *"$as_nl"*)
     63    expr "X$arg" : "X\\(.*\\)$as_nl";
     64    arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     65      esac;
     66      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     67    '
     68    export as_echo_n_body
     69    as_echo_n='sh -c $as_echo_n_body as_echo'
     70  fi
     71  export as_echo_body
     72  as_echo='sh -c $as_echo_body as_echo'
     73fi
     74
     75# The user is always right.
     76if test "${PATH_SEPARATOR+set}" != set; then
     77  PATH_SEPARATOR=:
     78  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     79    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     80      PATH_SEPARATOR=';'
     81  }
     82fi
     83
     84
     85# IFS
     86# We need space, tab and new line, in precisely that order.  Quoting is
     87# there to prevent editors from complaining about space-tab.
     88# (If _AS_PATH_WALK were called with IFS unset, it would disable word
     89# splitting by setting IFS to empty value.)
     90IFS=" ""    $as_nl"
     91
     92# Find who we are.  Look in the path if we contain no directory separator.
     93case $0 in #((
     94  *[\\/]* ) as_myself=$0 ;;
     95  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     96for as_dir in $PATH
     97do
     98  IFS=$as_save_IFS
     99  test -z "$as_dir" && as_dir=.
     100    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     101  done
     102IFS=$as_save_IFS
     103
     104     ;;
     105esac
     106# We did not find ourselves, most probably we were run as `sh COMMAND'
     107# in which case we are not to be found in the path.
     108if test "x$as_myself" = x; then
     109  as_myself=$0
     110fi
     111if test ! -f "$as_myself"; then
     112  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
     113  exit 1
     114fi
     115
     116# Unset variables that we do not need and which cause bugs (e.g. in
     117# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
     118# suppresses any "Segmentation fault" message there.  '((' could
     119# trigger a bug in pdksh 5.2.14.
     120for as_var in BASH_ENV ENV MAIL MAILPATH
     121do eval test x\${$as_var+set} = xset \
     122  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
     123done
    35124PS1='$ '
    36125PS2='> '
     
    38127
    39128# NLS nuisances.
    40 for as_var in \
    41   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
    42   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
    43   LC_TELEPHONE LC_TIME
     129LC_ALL=C
     130export LC_ALL
     131LANGUAGE=C
     132export LANGUAGE
     133
     134# CDPATH.
     135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
     136
     137if test "x$CONFIG_SHELL" = x; then
     138  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
     139  emulate sh
     140  NULLCMD=:
     141  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
     142  # is contrary to our usage.  Disable this feature.
     143  alias -g '\${1+\"\$@\"}'='\"\$@\"'
     144  setopt NO_GLOB_SUBST
     145else
     146  case \`(set -o) 2>/dev/null\` in #(
     147  *posix*) :
     148    set -o posix ;; #(
     149  *) :
     150     ;;
     151esac
     152fi
     153"
     154  as_required="as_fn_return () { (exit \$1); }
     155as_fn_success () { as_fn_return 0; }
     156as_fn_failure () { as_fn_return 1; }
     157as_fn_ret_success () { return 0; }
     158as_fn_ret_failure () { return 1; }
     159
     160exitcode=0
     161as_fn_success || { exitcode=1; echo as_fn_success failed.; }
     162as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
     163as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
     164as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
     165if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
     166
     167else
     168  exitcode=1; echo positional parameters were not saved.
     169fi
     170test x\$exitcode = x0 || exit 1"
     171  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
     172  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
     173  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
     174  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
     175test \$(( 1 + 1 )) = 2 || exit 1"
     176  if (eval "$as_required") 2>/dev/null; then :
     177  as_have_required=yes
     178else
     179  as_have_required=no
     180fi
     181  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
     182
     183else
     184  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     185as_found=false
     186for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    44187do
    45   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
    46     eval $as_var=C; export $as_var
     188  IFS=$as_save_IFS
     189  test -z "$as_dir" && as_dir=.
     190  as_found=:
     191  case $as_dir in #(
     192     /*)
     193       for as_base in sh bash ksh sh5; do
     194         # Try only shells that exist, to save several forks.
     195         as_shell=$as_dir/$as_base
     196         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
     197            { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
     198  CONFIG_SHELL=$as_shell as_have_required=yes
     199           if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
     200  break 2
     201fi
     202fi
     203       done;;
     204       esac
     205  as_found=false
     206done
     207$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
     208          { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
     209  CONFIG_SHELL=$SHELL as_have_required=yes
     210fi; }
     211IFS=$as_save_IFS
     212
     213
     214      if test "x$CONFIG_SHELL" != x; then :
     215  # We cannot yet assume a decent shell, so we have to provide a
     216    # neutralization value for shells without unset; and this also
     217    # works around shells that cannot unset nonexistent variables.
     218    BASH_ENV=/dev/null
     219    ENV=/dev/null
     220    (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
     221    export CONFIG_SHELL
     222    exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
     223fi
     224
     225    if test x$as_have_required = xno; then :
     226  $as_echo "$0: This script requires a shell more modern than all"
     227  $as_echo "$0: the shells that I found on your system."
     228  if test x${ZSH_VERSION+set} = xset ; then
     229    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
     230    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    47231  else
    48     $as_unset $as_var
     232    $as_echo "$0: Please tell [email protected] about your system,
     233$0: including any error possibly output before this
     234$0: message. Then install a modern shell, or manually run
     235$0: the script under such a shell if you do have one."
    49236  fi
    50 done
    51 
    52 # Required to use basename.
    53 if expr a : '\(a\)' >/dev/null 2>&1; then
     237  exit 1
     238fi
     239fi
     240fi
     241SHELL=${CONFIG_SHELL-/bin/sh}
     242export SHELL
     243# Unset more variables known to interfere with behavior of common tools.
     244CLICOLOR_FORCE= GREP_OPTIONS=
     245unset CLICOLOR_FORCE GREP_OPTIONS
     246
     247## --------------------- ##
     248## M4sh Shell Functions. ##
     249## --------------------- ##
     250# as_fn_unset VAR
     251# ---------------
     252# Portably unset VAR.
     253as_fn_unset ()
     254{
     255  { eval $1=; unset $1;}
     256}
     257as_unset=as_fn_unset
     258
     259# as_fn_set_status STATUS
     260# -----------------------
     261# Set $? to STATUS, without forking.
     262as_fn_set_status ()
     263{
     264  return $1
     265} # as_fn_set_status
     266
     267# as_fn_exit STATUS
     268# -----------------
     269# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
     270as_fn_exit ()
     271{
     272  set +e
     273  as_fn_set_status $1
     274  exit $1
     275} # as_fn_exit
     276
     277# as_fn_mkdir_p
     278# -------------
     279# Create "$as_dir" as a directory, including parents if necessary.
     280as_fn_mkdir_p ()
     281{
     282
     283  case $as_dir in #(
     284  -*) as_dir=./$as_dir;;
     285  esac
     286  test -d "$as_dir" || eval $as_mkdir_p || {
     287    as_dirs=
     288    while :; do
     289      case $as_dir in #(
     290      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
     291      *) as_qdir=$as_dir;;
     292      esac
     293      as_dirs="'$as_qdir' $as_dirs"
     294      as_dir=`$as_dirname -- "$as_dir" ||
     295$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     296     X"$as_dir" : 'X\(//\)[^/]' \| \
     297     X"$as_dir" : 'X\(//\)$' \| \
     298     X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
     299$as_echo X"$as_dir" |
     300    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     301        s//\1/
     302        q
     303      }
     304      /^X\(\/\/\)[^/].*/{
     305        s//\1/
     306        q
     307      }
     308      /^X\(\/\/\)$/{
     309        s//\1/
     310        q
     311      }
     312      /^X\(\/\).*/{
     313        s//\1/
     314        q
     315      }
     316      s/.*/./; q'`
     317      test -d "$as_dir" && break
     318    done
     319    test -z "$as_dirs" || eval "mkdir $as_dirs"
     320  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
     321
     322
     323} # as_fn_mkdir_p
     324# as_fn_append VAR VALUE
     325# ----------------------
     326# Append the text in VALUE to the end of the definition contained in VAR. Take
     327# advantage of any shell optimizations that allow amortized linear growth over
     328# repeated appends, instead of the typical quadratic growth present in naive
     329# implementations.
     330if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
     331  eval 'as_fn_append ()
     332  {
     333    eval $1+=\$2
     334  }'
     335else
     336  as_fn_append ()
     337  {
     338    eval $1=\$$1\$2
     339  }
     340fi # as_fn_append
     341
     342# as_fn_arith ARG...
     343# ------------------
     344# Perform arithmetic evaluation on the ARGs, and store the result in the
     345# global $as_val. Take advantage of shells that can avoid forks. The arguments
     346# must be portable across $(()) and expr.
     347if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
     348  eval 'as_fn_arith ()
     349  {
     350    as_val=$(( $* ))
     351  }'
     352else
     353  as_fn_arith ()
     354  {
     355    as_val=`expr "$@" || test $? -eq 1`
     356  }
     357fi # as_fn_arith
     358
     359
     360# as_fn_error ERROR [LINENO LOG_FD]
     361# ---------------------------------
     362# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
     363# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
     364# script with status $?, using 1 if that was 0.
     365as_fn_error ()
     366{
     367  as_status=$?; test $as_status -eq 0 && as_status=1
     368  if test "$3"; then
     369    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     370    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
     371  fi
     372  $as_echo "$as_me: error: $1" >&2
     373  as_fn_exit $as_status
     374} # as_fn_error
     375
     376if expr a : '\(a\)' >/dev/null 2>&1 &&
     377   test "X`expr 00001 : '.*\(...\)'`" = X001; then
    54378  as_expr=expr
    55379else
     
    57381fi
    58382
    59 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
     383if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    60384  as_basename=basename
    61385else
     
    63387fi
    64388
    65 
    66 # Name of the executable.
    67 as_me=`$as_basename "$0" ||
     389if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
     390  as_dirname=dirname
     391else
     392  as_dirname=false
     393fi
     394
     395as_me=`$as_basename -- "$0" ||
    68396$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    69397     X"$0" : 'X\(//\)$' \| \
    70      X"$0" : 'X\(/\)$' \| \
    71      .     : '\(.\)' 2>/dev/null ||
    72 echo X/"$0" |
    73     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
    74       /^X\/\(\/\/\)$/{ s//\1/; q; }
    75       /^X\/\(\/\).*/{ s//\1/; q; }
    76       s/.*/./; q'`
    77 
    78 
    79 # PATH needs CR, and LINENO needs CR and PATH.
     398     X"$0" : 'X\(/\)' \| . 2>/dev/null ||
     399$as_echo X/"$0" |
     400    sed '/^.*\/\([^/][^/]*\)\/*$/{
     401        s//\1/
     402        q
     403      }
     404      /^X\/\(\/\/\)$/{
     405        s//\1/
     406        q
     407      }
     408      /^X\/\(\/\).*/{
     409        s//\1/
     410        q
     411      }
     412      s/.*/./; q'`
     413
    80414# Avoid depending upon Character Ranges.
    81415as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     
    85419as_cr_alnum=$as_cr_Letters$as_cr_digits
    86420
    87 # The user is always right.
    88 if test "${PATH_SEPARATOR+set}" != set; then
    89   echo "#! /bin/sh" >conf$$.sh
    90   echo  "exit 0"   >>conf$$.sh
    91   chmod +x conf$$.sh
    92   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
    93     PATH_SEPARATOR=';'
    94   else
    95     PATH_SEPARATOR=:
    96   fi
    97   rm -f conf$$.sh
    98 fi
    99 
    100 
    101   as_lineno_1=$LINENO
    102   as_lineno_2=$LINENO
    103   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    104   test "x$as_lineno_1" != "x$as_lineno_2" &&
    105   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
    106   # Find who we are.  Look in the path if we contain no path at all
    107   # relative or not.
    108   case $0 in
    109     *[\\/]* ) as_myself=$0 ;;
    110     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    111 for as_dir in $PATH
    112 do
    113   IFS=$as_save_IFS
    114   test -z "$as_dir" && as_dir=.
    115   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    116 done
    117 
    118        ;;
    119   esac
    120   # We did not find ourselves, most probably we were run as `sh COMMAND'
    121   # in which case we are not to be found in the path.
    122   if test "x$as_myself" = x; then
    123     as_myself=$0
    124   fi
    125   if test ! -f "$as_myself"; then
    126     { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
    127    { (exit 1); exit 1; }; }
    128   fi
    129   case $CONFIG_SHELL in
    130   '')
    131     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    132 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    133 do
    134   IFS=$as_save_IFS
    135   test -z "$as_dir" && as_dir=.
    136   for as_base in sh bash ksh sh5; do
    137      case $as_dir in
    138      /*)
    139        if ("$as_dir/$as_base" -c '
    140   as_lineno_1=$LINENO
    141   as_lineno_2=$LINENO
    142   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    143   test "x$as_lineno_1" != "x$as_lineno_2" &&
    144   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
    145          $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
    146          $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
    147          CONFIG_SHELL=$as_dir/$as_base
    148          export CONFIG_SHELL
    149          exec "$CONFIG_SHELL" "$0" ${1+"$@"}
    150        fi;;
    151      esac
    152        done
    153 done
    154 ;;
    155   esac
    156 
    157   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    158   # uniformly replaced by the line number.  The first 'sed' inserts a
    159   # line-number line before each line; the second 'sed' does the real
    160   # work.  The second script uses 'N' to pair each line-number line
    161   # with the numbered line, and appends trailing '-' during
    162   # substitution so that $LINENO is not a special case at line end.
    163   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    164   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
    165   sed '=' <$as_myself |
     421
     422  as_lineno_1=$LINENO as_lineno_1a=$LINENO
     423  as_lineno_2=$LINENO as_lineno_2a=$LINENO
     424  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
     425  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
     426  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
     427  sed -n '
     428    p
     429    /[$]LINENO/=
     430  ' <$as_myself |
    166431    sed '
     432      s/[$]LINENO.*/&-/
     433      t lineno
     434      b
     435      :lineno
    167436      N
    168       s,$,-,
    169       : loop
    170       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
     437      :loop
     438      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    171439      t loop
    172       s,-$,,
    173       s,^['$as_cr_digits']*\n,,
     440      s/-\n.*//
    174441    ' >$as_me.lineno &&
    175   chmod +x $as_me.lineno ||
    176     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    177    { (exit 1); exit 1; }; }
     442  chmod +x "$as_me.lineno" ||
     443    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    178444
    179445  # Don't try to exec as it changes $[0], causing all sort of problems
    180446  # (the dirname of $[0] is not the place where we might find the
    181   # original and so on.  Autoconf is especially sensible to this).
    182   . ./$as_me.lineno
     447  # original and so on.  Autoconf is especially sensitive to this).
     448  . "./$as_me.lineno"
    183449  # Exit status is that of the last command.
    184450  exit
    185451}
    186452
    187 
    188 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
    189   *c*,-n*) ECHO_N= ECHO_C='
    190 ' ECHO_T='  ' ;;
    191   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
    192   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
     453ECHO_C= ECHO_N= ECHO_T=
     454case `echo -n x` in #(((((
     455-n*)
     456  case `echo 'xy\c'` in
     457  *c*) ECHO_T=' ';; # ECHO_T is single tab character.
     458  xy)  ECHO_C='\c';;
     459  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
     460       ECHO_T=' ';;
     461  esac;;
     462*)
     463  ECHO_N='-n';;
    193464esac
    194465
    195 if expr a : '\(a\)' >/dev/null 2>&1; then
    196   as_expr=expr
    197 else
    198   as_expr=false
    199 fi
    200 
    201466rm -f conf$$ conf$$.exe conf$$.file
    202 echo >conf$$.file
    203 if ln -s conf$$.file conf$$ 2>/dev/null; then
    204   # We could just check for DJGPP; but this test a) works b) is more generic
    205   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
    206   if test -f conf$$.exe; then
    207     # Don't use ln at all; we don't have any links
     467if test -d conf$$.dir; then
     468  rm -f conf$$.dir/conf$$.file
     469else
     470  rm -f conf$$.dir
     471  mkdir conf$$.dir 2>/dev/null
     472fi
     473if (echo >conf$$.file) 2>/dev/null; then
     474  if ln -s conf$$.file conf$$ 2>/dev/null; then
     475    as_ln_s='ln -s'
     476    # ... but there are two gotchas:
     477    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
     478    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
     479    # In both cases, we have to default to `cp -p'.
     480    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
     481      as_ln_s='cp -p'
     482  elif ln conf$$.file conf$$ 2>/dev/null; then
     483    as_ln_s=ln
     484  else
    208485    as_ln_s='cp -p'
    209   else
    210     as_ln_s='ln -s'
    211486  fi
    212 elif ln conf$$.file conf$$ 2>/dev/null; then
    213   as_ln_s=ln
    214487else
    215488  as_ln_s='cp -p'
    216489fi
    217 rm -f conf$$ conf$$.exe conf$$.file
     490rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
     491rmdir conf$$.dir 2>/dev/null
    218492
    219493if mkdir -p . 2>/dev/null; then
    220   as_mkdir_p=:
     494  as_mkdir_p='mkdir -p "$as_dir"'
    221495else
    222496  test -d ./-p && rmdir ./-p
     
    224498fi
    225499
    226 as_executable_p="test -f"
     500if test -x / >/dev/null 2>&1; then
     501  as_test_x='test -x'
     502else
     503  if ls -dL / >/dev/null 2>&1; then
     504    as_ls_L_option=L
     505  else
     506    as_ls_L_option=
     507  fi
     508  as_test_x='
     509    eval sh -c '\''
     510      if test -d "$1"; then
     511    test -d "$1/.";
     512      else
     513    case $1 in #(
     514    -*)set "./$1";;
     515    esac;
     516    case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
     517    ???[sx]*):;;*)false;;esac;fi
     518    '\'' sh
     519  '
     520fi
     521as_executable_p=$as_test_x
    227522
    228523# Sed expression to map a string onto a valid CPP name.
     
    233528
    234529
    235 # IFS
    236 # We need space, tab and new line, in precisely that order.
    237 as_nl='
    238 '
    239 IFS="   $as_nl"
    240 
    241 # CDPATH.
    242 $as_unset CDPATH
    243 
     530test -n "$DJDIR" || exec 7<&0 </dev/null
     531exec 6>&1
    244532
    245533# Name of the host.
     
    248536ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    249537
    250 exec 6>&1
    251 
    252538#
    253539# Initializations.
    254540#
    255541ac_default_prefix=/usr/local
     542ac_clean_files=
    256543ac_config_libobj_dir=.
     544LIBOBJS=
    257545cross_compiling=no
    258546subdirs=
    259547MFLAGS=
    260548MAKEFLAGS=
    261 SHELL=${CONFIG_SHELL-/bin/sh}
    262 
    263 # Maximum number of lines to put in a shell here document.
    264 # This variable seems obsolete.  It should probably be removed, and
    265 # only ac_max_sed_lines should be used.
    266 : ${ac_max_here_lines=38}
    267549
    268550# Identity of this package.
     
    272554PACKAGE_STRING=
    273555PACKAGE_BUGREPORT=
     556PACKAGE_URL=
    274557
    275558ac_unique_file="jni/gdbmjava.c"
     
    277560ac_includes_default="\
    278561#include <stdio.h>
    279 #if HAVE_SYS_TYPES_H
     562#ifdef HAVE_SYS_TYPES_H
    280563# include <sys/types.h>
    281564#endif
    282 #if HAVE_SYS_STAT_H
     565#ifdef HAVE_SYS_STAT_H
    283566# include <sys/stat.h>
    284567#endif
    285 #if STDC_HEADERS
     568#ifdef STDC_HEADERS
    286569# include <stdlib.h>
    287570# include <stddef.h>
    288571#else
    289 # if HAVE_STDLIB_H
     572# ifdef HAVE_STDLIB_H
    290573#  include <stdlib.h>
    291574# endif
    292575#endif
    293 #if HAVE_STRING_H
    294 # if !STDC_HEADERS && HAVE_MEMORY_H
     576#ifdef HAVE_STRING_H
     577# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    295578#  include <memory.h>
    296579# endif
    297580# include <string.h>
    298581#endif
    299 #if HAVE_STRINGS_H
     582#ifdef HAVE_STRINGS_H
    300583# include <strings.h>
    301584#endif
    302 #if HAVE_INTTYPES_H
     585#ifdef HAVE_INTTYPES_H
    303586# include <inttypes.h>
    304 #else
    305 # if HAVE_STDINT_H
    306 #  include <stdint.h>
    307 # endif
    308587#endif
    309 #if HAVE_UNISTD_H
     588#ifdef HAVE_STDINT_H
     589# include <stdint.h>
     590#endif
     591#ifdef HAVE_UNISTD_H
    310592# include <unistd.h>
    311593#endif"
    312594
    313 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S COMPAT32BITFLAGS CPP EGREP JAVA_HOME javagdbm_cv_path_javah javagdbm_cv_path_java GDBM_LIBPATH GDBM_INCLUDE PKG JNIINC JNISUFFIX JNIFLAGS LIBOBJS LTLIBOBJS'
     595ac_subst_vars='LTLIBOBJS
     596LIBOBJS
     597JNIFLAGS
     598JNISUFFIX
     599JNIINC
     600PKG
     601GDBM_INCLUDE
     602GDBM_LIBPATH
     603javagdbm_cv_path_java
     604javagdbm_cv_path_javah
     605JAVA_HOME
     606EGREP
     607GREP
     608CPP
     609LN_S
     610INSTALL_DATA
     611INSTALL_SCRIPT
     612INSTALL_PROGRAM
     613OBJEXT
     614EXEEXT
     615ac_ct_CC
     616CPPFLAGS
     617LDFLAGS
     618CFLAGS
     619CC
     620target_os
     621target_vendor
     622target_cpu
     623target
     624host_os
     625host_vendor
     626host_cpu
     627host
     628build_os
     629build_vendor
     630build_cpu
     631build
     632target_alias
     633host_alias
     634build_alias
     635LIBS
     636ECHO_T
     637ECHO_N
     638ECHO_C
     639DEFS
     640mandir
     641localedir
     642libdir
     643psdir
     644pdfdir
     645dvidir
     646htmldir
     647infodir
     648docdir
     649oldincludedir
     650includedir
     651localstatedir
     652sharedstatedir
     653sysconfdir
     654datadir
     655datarootdir
     656libexecdir
     657sbindir
     658bindir
     659program_transform_name
     660prefix
     661exec_prefix
     662PACKAGE_URL
     663PACKAGE_BUGREPORT
     664PACKAGE_STRING
     665PACKAGE_VERSION
     666PACKAGE_TARNAME
     667PACKAGE_NAME
     668PATH_SEPARATOR
     669SHELL'
    314670ac_subst_files=''
     671ac_user_opts='
     672enable_option_checking
     673with_gdbm
     674'
     675      ac_precious_vars='build_alias
     676host_alias
     677target_alias
     678CC
     679CFLAGS
     680LDFLAGS
     681LIBS
     682CPPFLAGS
     683CPP'
     684
    315685
    316686# Initialize some variables set by options.
    317687ac_init_help=
    318688ac_init_version=false
     689ac_unrecognized_opts=
     690ac_unrecognized_sep=
    319691# The variables have the same names as the options, with
    320692# dashes changed to underlines.
     
    339711# by default will actually change.
    340712# Use braces instead of parens because sh, perl, etc. also accept them.
     713# (The list follows the same order as the GNU Coding Standards.)
    341714bindir='${exec_prefix}/bin'
    342715sbindir='${exec_prefix}/sbin'
    343716libexecdir='${exec_prefix}/libexec'
    344 datadir='${prefix}/share'
     717datarootdir='${prefix}/share'
     718datadir='${datarootdir}'
    345719sysconfdir='${prefix}/etc'
    346720sharedstatedir='${prefix}/com'
    347721localstatedir='${prefix}/var'
    348 libdir='${exec_prefix}/lib'
    349722includedir='${prefix}/include'
    350723oldincludedir='/usr/include'
    351 infodir='${prefix}/info'
    352 mandir='${prefix}/man'
     724docdir='${datarootdir}/doc/${PACKAGE}'
     725infodir='${datarootdir}/info'
     726htmldir='${docdir}'
     727dvidir='${docdir}'
     728pdfdir='${docdir}'
     729psdir='${docdir}'
     730libdir='${exec_prefix}/lib'
     731localedir='${datarootdir}/locale'
     732mandir='${datarootdir}/man'
    353733
    354734ac_prev=
     735ac_dashdash=
    355736for ac_option
    356737do
    357738  # If the previous option needs an argument, assign it.
    358739  if test -n "$ac_prev"; then
    359     eval "$ac_prev=\$ac_option"
     740    eval $ac_prev=\$ac_option
    360741    ac_prev=
    361742    continue
    362743  fi
    363744
    364   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
     745  case $ac_option in
     746  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
     747  *)    ac_optarg=yes ;;
     748  esac
    365749
    366750  # Accept the important Cygnus configure options, so we can diagnose typos.
    367751
    368   case $ac_option in
     752  case $ac_dashdash$ac_option in
     753  --)
     754    ac_dashdash=yes ;;
    369755
    370756  -bindir | --bindir | --bindi | --bind | --bin | --bi)
     
    388774    cache_file=config.cache ;;
    389775
    390   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
     776  -datadir | --datadir | --datadi | --datad)
    391777    ac_prev=datadir ;;
    392   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
    393   | --da=*)
     778  -datadir=* | --datadir=* | --datadi=* | --datad=*)
    394779    datadir=$ac_optarg ;;
    395780
     781  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
     782  | --dataroo | --dataro | --datar)
     783    ac_prev=datarootdir ;;
     784  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
     785  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
     786    datarootdir=$ac_optarg ;;
     787
    396788  -disable-* | --disable-*)
    397     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
     789    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    398790    # Reject names that are not valid shell variable names.
    399     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    400       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    401    { (exit 1); exit 1; }; }
    402     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
    403     eval "enable_$ac_feature=no" ;;
     791    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
     792      as_fn_error "invalid feature name: $ac_useropt"
     793    ac_useropt_orig=$ac_useropt
     794    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     795    case $ac_user_opts in
     796      *"
     797"enable_$ac_useropt"
     798"*) ;;
     799      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
     800     ac_unrecognized_sep=', ';;
     801    esac
     802    eval enable_$ac_useropt=no ;;
     803
     804  -docdir | --docdir | --docdi | --doc | --do)
     805    ac_prev=docdir ;;
     806  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
     807    docdir=$ac_optarg ;;
     808
     809  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
     810    ac_prev=dvidir ;;
     811  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
     812    dvidir=$ac_optarg ;;
    404813
    405814  -enable-* | --enable-*)
    406     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
     815    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    407816    # Reject names that are not valid shell variable names.
    408     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    409       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    410    { (exit 1); exit 1; }; }
    411     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
    412     case $ac_option in
    413       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
    414       *) ac_optarg=yes ;;
     817    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
     818      as_fn_error "invalid feature name: $ac_useropt"
     819    ac_useropt_orig=$ac_useropt
     820    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     821    case $ac_user_opts in
     822      *"
     823"enable_$ac_useropt"
     824"*) ;;
     825      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
     826     ac_unrecognized_sep=', ';;
    415827    esac
    416     eval "enable_$ac_feature='$ac_optarg'" ;;
     828    eval enable_$ac_useropt=\$ac_optarg ;;
    417829
    418830  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
     
    441853    host_alias=$ac_optarg ;;
    442854
     855  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
     856    ac_prev=htmldir ;;
     857  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
     858  | --ht=*)
     859    htmldir=$ac_optarg ;;
     860
    443861  -includedir | --includedir | --includedi | --included | --include \
    444862  | --includ | --inclu | --incl | --inc)
     
    465883    libexecdir=$ac_optarg ;;
    466884
     885  -localedir | --localedir | --localedi | --localed | --locale)
     886    ac_prev=localedir ;;
     887  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
     888    localedir=$ac_optarg ;;
     889
    467890  -localstatedir | --localstatedir | --localstatedi | --localstated \
    468   | --localstate | --localstat | --localsta | --localst \
    469   | --locals | --local | --loca | --loc | --lo)
     891  | --localstate | --localstat | --localsta | --localst | --locals)
    470892    ac_prev=localstatedir ;;
    471893  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    472   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
    473   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
     894  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    474895    localstatedir=$ac_optarg ;;
    475896
     
    536957    program_transform_name=$ac_optarg ;;
    537958
     959  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
     960    ac_prev=pdfdir ;;
     961  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
     962    pdfdir=$ac_optarg ;;
     963
     964  -psdir | --psdir | --psdi | --psd | --ps)
     965    ac_prev=psdir ;;
     966  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
     967    psdir=$ac_optarg ;;
     968
    538969  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
    539970  | -silent | --silent | --silen | --sile | --sil)
     
    5861017
    5871018  -with-* | --with-*)
    588     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
     1019    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
    5891020    # Reject names that are not valid shell variable names.
    590     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    591       { echo "$as_me: error: invalid package name: $ac_package" >&2
    592    { (exit 1); exit 1; }; }
    593     ac_package=`echo $ac_package| sed 's/-/_/g'`
    594     case $ac_option in
    595       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
    596       *) ac_optarg=yes ;;
     1021    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
     1022      as_fn_error "invalid package name: $ac_useropt"
     1023    ac_useropt_orig=$ac_useropt
     1024    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     1025    case $ac_user_opts in
     1026      *"
     1027"with_$ac_useropt"
     1028"*) ;;
     1029      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
     1030     ac_unrecognized_sep=', ';;
    5971031    esac
    598     eval "with_$ac_package='$ac_optarg'" ;;
     1032    eval with_$ac_useropt=\$ac_optarg ;;
    5991033
    6001034  -without-* | --without-*)
    601     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
     1035    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
    6021036    # Reject names that are not valid shell variable names.
    603     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    604       { echo "$as_me: error: invalid package name: $ac_package" >&2
    605    { (exit 1); exit 1; }; }
    606     ac_package=`echo $ac_package | sed 's/-/_/g'`
    607     eval "with_$ac_package=no" ;;
     1037    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
     1038      as_fn_error "invalid package name: $ac_useropt"
     1039    ac_useropt_orig=$ac_useropt
     1040    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     1041    case $ac_user_opts in
     1042      *"
     1043"with_$ac_useropt"
     1044"*) ;;
     1045      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
     1046     ac_unrecognized_sep=', ';;
     1047    esac
     1048    eval with_$ac_useropt=no ;;
    6081049
    6091050  --x)
     
    6251066    x_libraries=$ac_optarg ;;
    6261067
    627   -*) { echo "$as_me: error: unrecognized option: $ac_option
    628 Try \`$0 --help' for more information." >&2
    629    { (exit 1); exit 1; }; }
     1068  -*) as_fn_error "unrecognized option: \`$ac_option'
     1069Try \`$0 --help' for more information."
    6301070    ;;
    6311071
     
    6331073    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
    6341074    # Reject names that are not valid shell variable names.
    635     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
    636       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
    637    { (exit 1); exit 1; }; }
    638     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
    639     eval "$ac_envvar='$ac_optarg'"
     1075    case $ac_envvar in #(
     1076      '' | [0-9]* | *[!_$as_cr_alnum]* )
     1077      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
     1078    esac
     1079    eval $ac_envvar=\$ac_optarg
    6401080    export $ac_envvar ;;
    6411081
    6421082  *)
    6431083    # FIXME: should be removed in autoconf 3.0.
    644     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
     1084    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
    6451085    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    646       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
     1086      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
    6471087    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
    6481088    ;;
     
    6531093if test -n "$ac_prev"; then
    6541094  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
    655   { echo "$as_me: error: missing argument to $ac_option" >&2
    656    { (exit 1); exit 1; }; }
    657 fi
    658 
    659 # Be sure to have absolute paths.
    660 for ac_var in exec_prefix prefix
     1095  as_fn_error "missing argument to $ac_option"
     1096fi
     1097
     1098if test -n "$ac_unrecognized_opts"; then
     1099  case $enable_option_checking in
     1100    no) ;;
     1101    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
     1102    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
     1103  esac
     1104fi
     1105
     1106# Check all directory arguments for consistency.
     1107for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
     1108        datadir sysconfdir sharedstatedir localstatedir includedir \
     1109        oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
     1110        libdir localedir mandir
    6611111do
    662   eval ac_val=$`echo $ac_var`
     1112  eval ac_val=\$$ac_var
     1113  # Remove trailing slashes.
    6631114  case $ac_val in
    664     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
    665     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
    666    { (exit 1); exit 1; }; };;
     1115    */ )
     1116      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
     1117      eval $ac_var=\$ac_val;;
    6671118  esac
    668 done
    669 
    670 # Be sure to have absolute paths.
    671 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
    672           localstatedir libdir includedir oldincludedir infodir mandir
    673 do
    674   eval ac_val=$`echo $ac_var`
     1119  # Be sure to have absolute directory names.
    6751120  case $ac_val in
    676     [\\/$]* | ?:[\\/]* ) ;;
    677     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
    678    { (exit 1); exit 1; }; };;
     1121    [\\/$]* | ?:[\\/]* )  continue;;
     1122    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
    6791123  esac
     1124  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
    6801125done
    6811126
     
    6911136  if test "x$build_alias" = x; then
    6921137    cross_compiling=maybe
    693     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
     1138    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
    6941139    If a cross compiler is detected then cross compile mode will be used." >&2
    6951140  elif test "x$build_alias" != "x$host_alias"; then
     
    7041149
    7051150
     1151ac_pwd=`pwd` && test -n "$ac_pwd" &&
     1152ac_ls_di=`ls -di .` &&
     1153ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
     1154  as_fn_error "working directory cannot be determined"
     1155test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
     1156  as_fn_error "pwd does not report name of working directory"
     1157
     1158
    7061159# Find the source files, if location was not specified.
    7071160if test -z "$srcdir"; then
    7081161  ac_srcdir_defaulted=yes
    709   # Try the directory containing this script, then its parent.
    710   ac_confdir=`(dirname "$0") 2>/dev/null ||
    711 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    712      X"$0" : 'X\(//\)[^/]' \| \
    713      X"$0" : 'X\(//\)$' \| \
    714      X"$0" : 'X\(/\)' \| \
    715      .     : '\(.\)' 2>/dev/null ||
    716 echo X"$0" |
    717     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    718       /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    719       /^X\(\/\/\)$/{ s//\1/; q; }
    720       /^X\(\/\).*/{ s//\1/; q; }
    721       s/.*/./; q'`
     1162  # Try the directory containing this script, then the parent directory.
     1163  ac_confdir=`$as_dirname -- "$as_myself" ||
     1164$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     1165     X"$as_myself" : 'X\(//\)[^/]' \| \
     1166     X"$as_myself" : 'X\(//\)$' \| \
     1167     X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
     1168$as_echo X"$as_myself" |
     1169    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     1170        s//\1/
     1171        q
     1172      }
     1173      /^X\(\/\/\)[^/].*/{
     1174        s//\1/
     1175        q
     1176      }
     1177      /^X\(\/\/\)$/{
     1178        s//\1/
     1179        q
     1180      }
     1181      /^X\(\/\).*/{
     1182        s//\1/
     1183        q
     1184      }
     1185      s/.*/./; q'`
    7221186  srcdir=$ac_confdir
    723   if test ! -r $srcdir/$ac_unique_file; then
     1187  if test ! -r "$srcdir/$ac_unique_file"; then
    7241188    srcdir=..
    7251189  fi
     
    7271191  ac_srcdir_defaulted=no
    7281192fi
    729 if test ! -r $srcdir/$ac_unique_file; then
    730   if test "$ac_srcdir_defaulted" = yes; then
    731     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
    732    { (exit 1); exit 1; }; }
    733   else
    734     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
    735    { (exit 1); exit 1; }; }
    736   fi
    737 fi
    738 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
    739   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
    740    { (exit 1); exit 1; }; }
    741 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
    742 ac_env_build_alias_set=${build_alias+set}
    743 ac_env_build_alias_value=$build_alias
    744 ac_cv_env_build_alias_set=${build_alias+set}
    745 ac_cv_env_build_alias_value=$build_alias
    746 ac_env_host_alias_set=${host_alias+set}
    747 ac_env_host_alias_value=$host_alias
    748 ac_cv_env_host_alias_set=${host_alias+set}
    749 ac_cv_env_host_alias_value=$host_alias
    750 ac_env_target_alias_set=${target_alias+set}
    751 ac_env_target_alias_value=$target_alias
    752 ac_cv_env_target_alias_set=${target_alias+set}
    753 ac_cv_env_target_alias_value=$target_alias
    754 ac_env_CC_set=${CC+set}
    755 ac_env_CC_value=$CC
    756 ac_cv_env_CC_set=${CC+set}
    757 ac_cv_env_CC_value=$CC
    758 ac_env_CFLAGS_set=${CFLAGS+set}
    759 ac_env_CFLAGS_value=$CFLAGS
    760 ac_cv_env_CFLAGS_set=${CFLAGS+set}
    761 ac_cv_env_CFLAGS_value=$CFLAGS
    762 ac_env_LDFLAGS_set=${LDFLAGS+set}
    763 ac_env_LDFLAGS_value=$LDFLAGS
    764 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
    765 ac_cv_env_LDFLAGS_value=$LDFLAGS
    766 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
    767 ac_env_CPPFLAGS_value=$CPPFLAGS
    768 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
    769 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
    770 ac_env_CPP_set=${CPP+set}
    771 ac_env_CPP_value=$CPP
    772 ac_cv_env_CPP_set=${CPP+set}
    773 ac_cv_env_CPP_value=$CPP
     1193if test ! -r "$srcdir/$ac_unique_file"; then
     1194  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
     1195  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
     1196fi
     1197ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
     1198ac_abs_confdir=`(
     1199    cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
     1200    pwd)`
     1201# When building in place, set srcdir=.
     1202if test "$ac_abs_confdir" = "$ac_pwd"; then
     1203  srcdir=.
     1204fi
     1205# Remove unnecessary trailing slashes from srcdir.
     1206# Double slashes in file names in object file debugging info
     1207# mess up M-x gdb in Emacs.
     1208case $srcdir in
     1209*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
     1210esac
     1211for ac_var in $ac_precious_vars; do
     1212  eval ac_env_${ac_var}_set=\${${ac_var}+set}
     1213  eval ac_env_${ac_var}_value=\$${ac_var}
     1214  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
     1215  eval ac_cv_env_${ac_var}_value=\$${ac_var}
     1216done
    7741217
    7751218#
     
    8001243      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
    8011244
    802 _ACEOF
    803 
    804   cat <<_ACEOF
    8051245Installation directories:
    8061246  --prefix=PREFIX         install architecture-independent files in PREFIX
    807               [$ac_default_prefix]
     1247                          [$ac_default_prefix]
    8081248  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
    809               [PREFIX]
     1249                          [PREFIX]
    8101250
    8111251By default, \`make install' will install all the files in
     
    8171257
    8181258Fine tuning of the installation directories:
    819   --bindir=DIR           user executables [EPREFIX/bin]
    820   --sbindir=DIR          system admin executables [EPREFIX/sbin]
    821   --libexecdir=DIR       program executables [EPREFIX/libexec]
    822   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
    823   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
    824   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
    825   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
    826   --libdir=DIR           object code libraries [EPREFIX/lib]
    827   --includedir=DIR       C header files [PREFIX/include]
    828   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
    829   --infodir=DIR          info documentation [PREFIX/info]
    830   --mandir=DIR           man documentation [PREFIX/man]
     1259  --bindir=DIR            user executables [EPREFIX/bin]
     1260  --sbindir=DIR           system admin executables [EPREFIX/sbin]
     1261  --libexecdir=DIR        program executables [EPREFIX/libexec]
     1262  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
     1263  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
     1264  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
     1265  --libdir=DIR            object code libraries [EPREFIX/lib]
     1266  --includedir=DIR        C header files [PREFIX/include]
     1267  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
     1268  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
     1269  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
     1270  --infodir=DIR           info documentation [DATAROOTDIR/info]
     1271  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
     1272  --mandir=DIR            man documentation [DATAROOTDIR/man]
     1273  --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
     1274  --htmldir=DIR           html documentation [DOCDIR]
     1275  --dvidir=DIR            dvi documentation [DOCDIR]
     1276  --pdfdir=DIR            pdf documentation [DOCDIR]
     1277  --psdir=DIR             ps documentation [DOCDIR]
    8311278_ACEOF
    8321279
     
    8541301  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
    8551302              nonstandard directory <lib dir>
    856   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
    857               headers in a nonstandard directory <include dir>
     1303  LIBS        libraries to pass to the linker, e.g. -l<library>
     1304  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
     1305              you have headers in a nonstandard directory <include dir>
    8581306  CPP         C preprocessor
    8591307
     
    8611309it to find libraries and programs with nonstandard names/locations.
    8621310
    863 _ACEOF
     1311Report bugs to the package provider.
     1312_ACEOF
     1313ac_status=$?
    8641314fi
    8651315
    8661316if test "$ac_init_help" = "recursive"; then
    8671317  # If there are subdirs, report their specific --help.
    868   ac_popdir=`pwd`
    8691318  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
    870     test -d $ac_dir || continue
     1319    test -d "$ac_dir" ||
     1320      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
     1321      continue
    8711322    ac_builddir=.
    8721323
    873 if test "$ac_dir" != .; then
    874   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
    875   # A "../" for each directory in $ac_dir_suffix.
    876   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
    877 else
    878   ac_dir_suffix= ac_top_builddir=
    879 fi
     1324case "$ac_dir" in
     1325.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
     1326*)
     1327  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
     1328  # A ".." for each directory in $ac_dir_suffix.
     1329  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
     1330  case $ac_top_builddir_sub in
     1331  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
     1332  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
     1333  esac ;;
     1334esac
     1335ac_abs_top_builddir=$ac_pwd
     1336ac_abs_builddir=$ac_pwd$ac_dir_suffix
     1337# for backward compatibility:
     1338ac_top_builddir=$ac_top_build_prefix
    8801339
    8811340case $srcdir in
    882   .)  # No --srcdir option.  We are building in place.
     1341  .)  # We are building in place.
    8831342    ac_srcdir=.
    884     if test -z "$ac_top_builddir"; then
    885        ac_top_srcdir=.
     1343    ac_top_srcdir=$ac_top_builddir_sub
     1344    ac_abs_top_srcdir=$ac_pwd ;;
     1345  [\\/]* | ?:[\\/]* )  # Absolute name.
     1346    ac_srcdir=$srcdir$ac_dir_suffix;
     1347    ac_top_srcdir=$srcdir
     1348    ac_abs_top_srcdir=$srcdir ;;
     1349  *) # Relative name.
     1350    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
     1351    ac_top_srcdir=$ac_top_build_prefix$srcdir
     1352    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
     1353esac
     1354ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
     1355
     1356    cd "$ac_dir" || { ac_status=$?; continue; }
     1357    # Check for guested configure.
     1358    if test -f "$ac_srcdir/configure.gnu"; then
     1359      echo &&
     1360      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
     1361    elif test -f "$ac_srcdir/configure"; then
     1362      echo &&
     1363      $SHELL "$ac_srcdir/configure" --help=recursive
    8861364    else
    887        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
    888     fi ;;
    889   [\\/]* | ?:[\\/]* )  # Absolute path.
    890     ac_srcdir=$srcdir$ac_dir_suffix;
    891     ac_top_srcdir=$srcdir ;;
    892   *) # Relative path.
    893     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
    894     ac_top_srcdir=$ac_top_builddir$srcdir ;;
    895 esac
    896 
    897 # Do not use `cd foo && pwd` to compute absolute paths, because
    898 # the directories may not exist.
    899 case `pwd` in
    900 .) ac_abs_builddir="$ac_dir";;
    901 *)
    902   case "$ac_dir" in
    903   .) ac_abs_builddir=`pwd`;;
    904   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
    905   *) ac_abs_builddir=`pwd`/"$ac_dir";;
    906   esac;;
    907 esac
    908 case $ac_abs_builddir in
    909 .) ac_abs_top_builddir=${ac_top_builddir}.;;
    910 *)
    911   case ${ac_top_builddir}. in
    912   .) ac_abs_top_builddir=$ac_abs_builddir;;
    913   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
    914   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
    915   esac;;
    916 esac
    917 case $ac_abs_builddir in
    918 .) ac_abs_srcdir=$ac_srcdir;;
    919 *)
    920   case $ac_srcdir in
    921   .) ac_abs_srcdir=$ac_abs_builddir;;
    922   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
    923   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
    924   esac;;
    925 esac
    926 case $ac_abs_builddir in
    927 .) ac_abs_top_srcdir=$ac_top_srcdir;;
    928 *)
    929   case $ac_top_srcdir in
    930   .) ac_abs_top_srcdir=$ac_abs_builddir;;
    931   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
    932   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
    933   esac;;
    934 esac
    935 
    936     cd $ac_dir
    937     # Check for guested configure; otherwise get Cygnus style configure.
    938     if test -f $ac_srcdir/configure.gnu; then
    939       echo
    940       $SHELL $ac_srcdir/configure.gnu  --help=recursive
    941     elif test -f $ac_srcdir/configure; then
    942       echo
    943       $SHELL $ac_srcdir/configure  --help=recursive
    944     elif test -f $ac_srcdir/configure.ac ||
    945        test -f $ac_srcdir/configure.in; then
    946       echo
    947       $ac_configure --help
    948     else
    949       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
    950     fi
    951     cd $ac_popdir
     1365      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
     1366    fi || ac_status=$?
     1367    cd "$ac_pwd" || { ac_status=$?; break; }
    9521368  done
    9531369fi
    9541370
    955 test -n "$ac_init_help" && exit 0
     1371test -n "$ac_init_help" && exit $ac_status
    9561372if $ac_init_version; then
    9571373  cat <<\_ACEOF
    958 
    959 Copyright (C) 2003 Free Software Foundation, Inc.
     1374configure
     1375generated by GNU Autoconf 2.65
     1376
     1377Copyright (C) 2009 Free Software Foundation, Inc.
    9601378This configure script is free software; the Free Software Foundation
    9611379gives unlimited permission to copy, distribute and modify it.
    9621380_ACEOF
    963   exit 0
    964 fi
    965 exec 5>config.log
    966 cat >&5 <<_ACEOF
     1381  exit
     1382fi
     1383
     1384## ------------------------ ##
     1385## Autoconf initialization. ##
     1386## ------------------------ ##
     1387
     1388# ac_fn_c_try_compile LINENO
     1389# --------------------------
     1390# Try to compile conftest.$ac_ext, and return whether this succeeded.
     1391ac_fn_c_try_compile ()
     1392{
     1393  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1394  rm -f conftest.$ac_objext
     1395  if { { ac_try="$ac_compile"
     1396case "(($ac_try" in
     1397  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1398  *) ac_try_echo=$ac_try;;
     1399esac
     1400eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1401$as_echo "$ac_try_echo"; } >&5
     1402  (eval "$ac_compile") 2>conftest.err
     1403  ac_status=$?
     1404  if test -s conftest.err; then
     1405    grep -v '^ *+' conftest.err >conftest.er1
     1406    cat conftest.er1 >&5
     1407    mv -f conftest.er1 conftest.err
     1408  fi
     1409  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1410  test $ac_status = 0; } && {
     1411     test -z "$ac_c_werror_flag" ||
     1412     test ! -s conftest.err
     1413       } && test -s conftest.$ac_objext; then :
     1414  ac_retval=0
     1415else
     1416  $as_echo "$as_me: failed program was:" >&5
     1417sed 's/^/| /' conftest.$ac_ext >&5
     1418
     1419    ac_retval=1
     1420fi
     1421  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
     1422  as_fn_set_status $ac_retval
     1423
     1424} # ac_fn_c_try_compile
     1425
     1426# ac_fn_c_try_run LINENO
     1427# ----------------------
     1428# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
     1429# that executables *can* be run.
     1430ac_fn_c_try_run ()
     1431{
     1432  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1433  if { { ac_try="$ac_link"
     1434case "(($ac_try" in
     1435  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1436  *) ac_try_echo=$ac_try;;
     1437esac
     1438eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1439$as_echo "$ac_try_echo"; } >&5
     1440  (eval "$ac_link") 2>&5
     1441  ac_status=$?
     1442  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1443  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
     1444  { { case "(($ac_try" in
     1445  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1446  *) ac_try_echo=$ac_try;;
     1447esac
     1448eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1449$as_echo "$ac_try_echo"; } >&5
     1450  (eval "$ac_try") 2>&5
     1451  ac_status=$?
     1452  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1453  test $ac_status = 0; }; }; then :
     1454  ac_retval=0
     1455else
     1456  $as_echo "$as_me: program exited with status $ac_status" >&5
     1457       $as_echo "$as_me: failed program was:" >&5
     1458sed 's/^/| /' conftest.$ac_ext >&5
     1459
     1460       ac_retval=$ac_status
     1461fi
     1462  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     1463  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
     1464  as_fn_set_status $ac_retval
     1465
     1466} # ac_fn_c_try_run
     1467
     1468# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
     1469# --------------------------------------------
     1470# Tries to find the compile-time value of EXPR in a program that includes
     1471# INCLUDES, setting VAR accordingly. Returns whether the value could be
     1472# computed
     1473ac_fn_c_compute_int ()
     1474{
     1475  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1476  if test "$cross_compiling" = yes; then
     1477    # Depending upon the size, compute the lo and hi bounds.
     1478cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1479/* end confdefs.h.  */
     1480$4
     1481int
     1482main ()
     1483{
     1484static int test_array [1 - 2 * !(($2) >= 0)];
     1485test_array [0] = 0
     1486
     1487  ;
     1488  return 0;
     1489}
     1490_ACEOF
     1491if ac_fn_c_try_compile "$LINENO"; then :
     1492  ac_lo=0 ac_mid=0
     1493  while :; do
     1494    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1495/* end confdefs.h.  */
     1496$4
     1497int
     1498main ()
     1499{
     1500static int test_array [1 - 2 * !(($2) <= $ac_mid)];
     1501test_array [0] = 0
     1502
     1503  ;
     1504  return 0;
     1505}
     1506_ACEOF
     1507if ac_fn_c_try_compile "$LINENO"; then :
     1508  ac_hi=$ac_mid; break
     1509else
     1510  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
     1511            if test $ac_lo -le $ac_mid; then
     1512              ac_lo= ac_hi=
     1513              break
     1514            fi
     1515            as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
     1516fi
     1517rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1518  done
     1519else
     1520  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1521/* end confdefs.h.  */
     1522$4
     1523int
     1524main ()
     1525{
     1526static int test_array [1 - 2 * !(($2) < 0)];
     1527test_array [0] = 0
     1528
     1529  ;
     1530  return 0;
     1531}
     1532_ACEOF
     1533if ac_fn_c_try_compile "$LINENO"; then :
     1534  ac_hi=-1 ac_mid=-1
     1535  while :; do
     1536    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1537/* end confdefs.h.  */
     1538$4
     1539int
     1540main ()
     1541{
     1542static int test_array [1 - 2 * !(($2) >= $ac_mid)];
     1543test_array [0] = 0
     1544
     1545  ;
     1546  return 0;
     1547}
     1548_ACEOF
     1549if ac_fn_c_try_compile "$LINENO"; then :
     1550  ac_lo=$ac_mid; break
     1551else
     1552  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
     1553            if test $ac_mid -le $ac_hi; then
     1554              ac_lo= ac_hi=
     1555              break
     1556            fi
     1557            as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
     1558fi
     1559rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1560  done
     1561else
     1562  ac_lo= ac_hi=
     1563fi
     1564rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1565fi
     1566rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1567# Binary search between lo and hi bounds.
     1568while test "x$ac_lo" != "x$ac_hi"; do
     1569  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
     1570  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1571/* end confdefs.h.  */
     1572$4
     1573int
     1574main ()
     1575{
     1576static int test_array [1 - 2 * !(($2) <= $ac_mid)];
     1577test_array [0] = 0
     1578
     1579  ;
     1580  return 0;
     1581}
     1582_ACEOF
     1583if ac_fn_c_try_compile "$LINENO"; then :
     1584  ac_hi=$ac_mid
     1585else
     1586  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
     1587fi
     1588rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1589done
     1590case $ac_lo in #((
     1591?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
     1592'') ac_retval=1 ;;
     1593esac
     1594  else
     1595    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1596/* end confdefs.h.  */
     1597$4
     1598static long int longval () { return $2; }
     1599static unsigned long int ulongval () { return $2; }
     1600#include <stdio.h>
     1601#include <stdlib.h>
     1602int
     1603main ()
     1604{
     1605
     1606  FILE *f = fopen ("conftest.val", "w");
     1607  if (! f)
     1608    return 1;
     1609  if (($2) < 0)
     1610    {
     1611      long int i = longval ();
     1612      if (i != ($2))
     1613    return 1;
     1614      fprintf (f, "%ld", i);
     1615    }
     1616  else
     1617    {
     1618      unsigned long int i = ulongval ();
     1619      if (i != ($2))
     1620    return 1;
     1621      fprintf (f, "%lu", i);
     1622    }
     1623  /* Do not output a trailing newline, as this causes \r\n confusion
     1624     on some platforms.  */
     1625  return ferror (f) || fclose (f) != 0;
     1626
     1627  ;
     1628  return 0;
     1629}
     1630_ACEOF
     1631if ac_fn_c_try_run "$LINENO"; then :
     1632  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
     1633else
     1634  ac_retval=1
     1635fi
     1636rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     1637  conftest.$ac_objext conftest.beam conftest.$ac_ext
     1638rm -f conftest.val
     1639
     1640  fi
     1641  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
     1642  as_fn_set_status $ac_retval
     1643
     1644} # ac_fn_c_compute_int
     1645
     1646# ac_fn_c_try_cpp LINENO
     1647# ----------------------
     1648# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
     1649ac_fn_c_try_cpp ()
     1650{
     1651  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1652  if { { ac_try="$ac_cpp conftest.$ac_ext"
     1653case "(($ac_try" in
     1654  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1655  *) ac_try_echo=$ac_try;;
     1656esac
     1657eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1658$as_echo "$ac_try_echo"; } >&5
     1659  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
     1660  ac_status=$?
     1661  if test -s conftest.err; then
     1662    grep -v '^ *+' conftest.err >conftest.er1
     1663    cat conftest.er1 >&5
     1664    mv -f conftest.er1 conftest.err
     1665  fi
     1666  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1667  test $ac_status = 0; } >/dev/null && {
     1668     test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     1669     test ! -s conftest.err
     1670       }; then :
     1671  ac_retval=0
     1672else
     1673  $as_echo "$as_me: failed program was:" >&5
     1674sed 's/^/| /' conftest.$ac_ext >&5
     1675
     1676    ac_retval=1
     1677fi
     1678  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
     1679  as_fn_set_status $ac_retval
     1680
     1681} # ac_fn_c_try_cpp
     1682
     1683# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
     1684# -------------------------------------------------------
     1685# Tests whether HEADER exists and can be compiled using the include files in
     1686# INCLUDES, setting the cache variable VAR accordingly.
     1687ac_fn_c_check_header_compile ()
     1688{
     1689  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1690  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1691$as_echo_n "checking for $2... " >&6; }
     1692if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
     1693  $as_echo_n "(cached) " >&6
     1694else
     1695  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1696/* end confdefs.h.  */
     1697$4
     1698#include <$2>
     1699_ACEOF
     1700if ac_fn_c_try_compile "$LINENO"; then :
     1701  eval "$3=yes"
     1702else
     1703  eval "$3=no"
     1704fi
     1705rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1706fi
     1707eval ac_res=\$$3
     1708           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1709$as_echo "$ac_res" >&6; }
     1710  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
     1711
     1712} # ac_fn_c_check_header_compile
     1713
     1714# ac_fn_c_try_link LINENO
     1715# -----------------------
     1716# Try to link conftest.$ac_ext, and return whether this succeeded.
     1717ac_fn_c_try_link ()
     1718{
     1719  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1720  rm -f conftest.$ac_objext conftest$ac_exeext
     1721  if { { ac_try="$ac_link"
     1722case "(($ac_try" in
     1723  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1724  *) ac_try_echo=$ac_try;;
     1725esac
     1726eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1727$as_echo "$ac_try_echo"; } >&5
     1728  (eval "$ac_link") 2>conftest.err
     1729  ac_status=$?
     1730  if test -s conftest.err; then
     1731    grep -v '^ *+' conftest.err >conftest.er1
     1732    cat conftest.er1 >&5
     1733    mv -f conftest.er1 conftest.err
     1734  fi
     1735  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1736  test $ac_status = 0; } && {
     1737     test -z "$ac_c_werror_flag" ||
     1738     test ! -s conftest.err
     1739       } && test -s conftest$ac_exeext && {
     1740     test "$cross_compiling" = yes ||
     1741     $as_test_x conftest$ac_exeext
     1742       }; then :
     1743  ac_retval=0
     1744else
     1745  $as_echo "$as_me: failed program was:" >&5
     1746sed 's/^/| /' conftest.$ac_ext >&5
     1747
     1748    ac_retval=1
     1749fi
     1750  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
     1751  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
     1752  # interfere with the next link command; also delete a directory that is
     1753  # left behind by Apple's compiler.  We do this before executing the actions.
     1754  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     1755  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
     1756  as_fn_set_status $ac_retval
     1757
     1758} # ac_fn_c_try_link
     1759cat >config.log <<_ACEOF
    9671760This file contains any messages produced by compilers while
    9681761running configure, to aid debugging if configure makes a mistake.
    9691762
    9701763It was created by $as_me, which was
    971 generated by GNU Autoconf 2.59.  Invocation command line was
     1764generated by GNU Autoconf 2.65.  Invocation command line was
    9721765
    9731766  $ $0 $@
    9741767
    9751768_ACEOF
     1769exec 5>>config.log
    9761770{
    9771771cat <<_ASUNAME
     
    9921786/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
    9931787/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
    994 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
     1788/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
    9951789/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
    9961790/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
     
    10041798  IFS=$as_save_IFS
    10051799  test -z "$as_dir" && as_dir=.
    1006   echo "PATH: $as_dir"
    1007 done
     1800    $as_echo "PATH: $as_dir"
     1801  done
     1802IFS=$as_save_IFS
    10081803
    10091804} >&5
     
    10271822ac_configure_args0=
    10281823ac_configure_args1=
    1029 ac_sep=
    10301824ac_must_keep_next=false
    10311825for ac_pass in 1 2
     
    10381832    | -silent | --silent | --silen | --sile | --sil)
    10391833      continue ;;
    1040     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
    1041       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
     1834    *\'*)
     1835      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
    10421836    esac
    10431837    case $ac_pass in
    1044     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
     1838    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
    10451839    2)
    1046       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
     1840      as_fn_append ac_configure_args1 " '$ac_arg'"
    10471841      if test $ac_must_keep_next = true; then
    10481842    ac_must_keep_next=false # Got value, back to normal.
     
    10601854    esac
    10611855      fi
    1062       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
    1063       # Get rid of the leading space.
    1064       ac_sep=" "
     1856      as_fn_append ac_configure_args " '$ac_arg'"
    10651857      ;;
    10661858    esac
    10671859  done
    10681860done
    1069 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
    1070 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
     1861{ ac_configure_args0=; unset ac_configure_args0;}
     1862{ ac_configure_args1=; unset ac_configure_args1;}
    10711863
    10721864# When interrupted or exit'd, cleanup temporary files, and complete
    10731865# config.log.  We remove comments because anyway the quotes in there
    10741866# would cause problems or look ugly.
    1075 # WARNING: Be sure not to use single quotes in there, as some shells,
    1076 # such as our DU 5.0 friend, will then `close' the trap.
     1867# WARNING: Use '\'' to represent an apostrophe within the trap.
     1868# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
    10771869trap 'exit_status=$?
    10781870  # Save into config.log some information that might help in debugging.
     
    10871879    echo
    10881880    # The following way of writing the cache mishandles newlines in values,
    1089 {
     1881(
     1882  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
     1883    eval ac_val=\$$ac_var
     1884    case $ac_val in #(
     1885    *${as_nl}*)
     1886      case $ac_var in #(
     1887      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
     1888$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
     1889      esac
     1890      case $ac_var in #(
     1891      _ | IFS | as_nl) ;; #(
     1892      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
     1893      *) { eval $ac_var=; unset $ac_var;} ;;
     1894      esac ;;
     1895    esac
     1896  done
    10901897  (set) 2>&1 |
    1091     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
    1092     *ac_space=\ *)
     1898    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
     1899    *${as_nl}ac_space=\ *)
    10931900      sed -n \
    1094     "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
    1095       s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
     1901    "s/'\''/'\''\\\\'\'''\''/g;
     1902      s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
     1903      ;; #(
     1904    *)
     1905      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
    10961906      ;;
    1097     *)
    1098       sed -n \
    1099     "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
    1100       ;;
    1101     esac;
    1102 }
     1907    esac |
     1908    sort
     1909)
    11031910    echo
    11041911
     
    11111918    for ac_var in $ac_subst_vars
    11121919    do
    1113       eval ac_val=$`echo $ac_var`
    1114       echo "$ac_var='"'"'$ac_val'"'"'"
     1920      eval ac_val=\$$ac_var
     1921      case $ac_val in
     1922      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
     1923      esac
     1924      $as_echo "$ac_var='\''$ac_val'\''"
    11151925    done | sort
    11161926    echo
     
    11181928    if test -n "$ac_subst_files"; then
    11191929      cat <<\_ASBOX
    1120 ## ------------- ##
    1121 ## Output files. ##
    1122 ## ------------- ##
     1930## ------------------- ##
     1931## File substitutions. ##
     1932## ------------------- ##
    11231933_ASBOX
    11241934      echo
    11251935      for ac_var in $ac_subst_files
    11261936      do
    1127     eval ac_val=$`echo $ac_var`
    1128     echo "$ac_var='"'"'$ac_val'"'"'"
     1937    eval ac_val=\$$ac_var
     1938    case $ac_val in
     1939    *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
     1940    esac
     1941    $as_echo "$ac_var='\''$ac_val'\''"
    11291942      done | sort
    11301943      echo
     
    11381951_ASBOX
    11391952      echo
    1140       sed "/^$/d" confdefs.h | sort
     1953      cat confdefs.h
    11411954      echo
    11421955    fi
    11431956    test "$ac_signal" != 0 &&
    1144       echo "$as_me: caught signal $ac_signal"
    1145     echo "$as_me: exit $exit_status"
     1957      $as_echo "$as_me: caught signal $ac_signal"
     1958    $as_echo "$as_me: exit $exit_status"
    11461959  } >&5
    1147   rm -f core *.core &&
    1148   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
     1960  rm -f core *.core core.conftest.* &&
     1961    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
    11491962    exit $exit_status
    1150      ' 0
     1963' 0
    11511964for ac_signal in 1 2 13 15; do
    1152   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
     1965  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
    11531966done
    11541967ac_signal=0
    11551968
    11561969# confdefs.h avoids OS command line length limits that DEFS can exceed.
    1157 rm -rf conftest* confdefs.h
    1158 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
    1159 echo >confdefs.h
     1970rm -f -r conftest* confdefs.h
     1971
     1972$as_echo "/* confdefs.h */" > confdefs.h
    11601973
    11611974# Predefined preprocessor variables.
     
    11651978_ACEOF
    11661979
    1167 
    11681980cat >>confdefs.h <<_ACEOF
    11691981#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
    11701982_ACEOF
    11711983
    1172 
    11731984cat >>confdefs.h <<_ACEOF
    11741985#define PACKAGE_VERSION "$PACKAGE_VERSION"
    11751986_ACEOF
    11761987
    1177 
    11781988cat >>confdefs.h <<_ACEOF
    11791989#define PACKAGE_STRING "$PACKAGE_STRING"
    11801990_ACEOF
    11811991
    1182 
    11831992cat >>confdefs.h <<_ACEOF
    11841993#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
    11851994_ACEOF
    11861995
     1996cat >>confdefs.h <<_ACEOF
     1997#define PACKAGE_URL "$PACKAGE_URL"
     1998_ACEOF
     1999
    11872000
    11882001# Let the site file select an alternate cache file if it wants to.
    1189 # Prefer explicitly selected file to automatically selected ones.
    1190 if test -z "$CONFIG_SITE"; then
    1191   if test "x$prefix" != xNONE; then
    1192     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
    1193   else
    1194     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
    1195   fi
    1196 fi
    1197 for ac_site_file in $CONFIG_SITE; do
    1198   if test -r "$ac_site_file"; then
    1199     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
    1200 echo "$as_me: loading site script $ac_site_file" >&6;}
     2002# Prefer an explicitly selected file to automatically selected ones.
     2003ac_site_file1=NONE
     2004ac_site_file2=NONE
     2005if test -n "$CONFIG_SITE"; then
     2006  ac_site_file1=$CONFIG_SITE
     2007elif test "x$prefix" != xNONE; then
     2008  ac_site_file1=$prefix/share/config.site
     2009  ac_site_file2=$prefix/etc/config.site
     2010else
     2011  ac_site_file1=$ac_default_prefix/share/config.site
     2012  ac_site_file2=$ac_default_prefix/etc/config.site
     2013fi
     2014for ac_site_file in "$ac_site_file1" "$ac_site_file2"
     2015do
     2016  test "x$ac_site_file" = xNONE && continue
     2017  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
     2018    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
     2019$as_echo "$as_me: loading site script $ac_site_file" >&6;}
    12012020    sed 's/^/| /' "$ac_site_file" >&5
    12022021    . "$ac_site_file"
     
    12052024
    12062025if test -r "$cache_file"; then
    1207   # Some versions of bash will fail to source /dev/null (special
    1208   # files actually), so we avoid doing that.
    1209   if test -f "$cache_file"; then
    1210     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
    1211 echo "$as_me: loading cache $cache_file" >&6;}
     2026  # Some versions of bash will fail to source /dev/null (special files
     2027  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
     2028  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
     2029    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
     2030$as_echo "$as_me: loading cache $cache_file" >&6;}
    12122031    case $cache_file in
    1213       [\\/]* | ?:[\\/]* ) . $cache_file;;
    1214       *)                      . ./$cache_file;;
     2032      [\\/]* | ?:[\\/]* ) . "$cache_file";;
     2033      *)                      . "./$cache_file";;
    12152034    esac
    12162035  fi
    12172036else
    1218   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
    1219 echo "$as_me: creating cache $cache_file" >&6;}
     2037  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
     2038$as_echo "$as_me: creating cache $cache_file" >&6;}
    12202039  >$cache_file
    12212040fi
     
    12242043# value.
    12252044ac_cache_corrupted=false
    1226 for ac_var in `(set) 2>&1 |
    1227            sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
     2045for ac_var in $ac_precious_vars; do
    12282046  eval ac_old_set=\$ac_cv_env_${ac_var}_set
    12292047  eval ac_new_set=\$ac_env_${ac_var}_set
    1230   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
    1231   eval ac_new_val="\$ac_env_${ac_var}_value"
     2048  eval ac_old_val=\$ac_cv_env_${ac_var}_value
     2049  eval ac_new_val=\$ac_env_${ac_var}_value
    12322050  case $ac_old_set,$ac_new_set in
    12332051    set,)
    1234       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
    1235 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
     2052      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
     2053$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
    12362054      ac_cache_corrupted=: ;;
    12372055    ,set)
    1238       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
    1239 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
     2056      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
     2057$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
    12402058      ac_cache_corrupted=: ;;
    12412059    ,);;
    12422060    *)
    12432061      if test "x$ac_old_val" != "x$ac_new_val"; then
    1244     { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
    1245 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
    1246     { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
    1247 echo "$as_me:   former value:  $ac_old_val" >&2;}
    1248     { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
    1249 echo "$as_me:   current value: $ac_new_val" >&2;}
    1250     ac_cache_corrupted=:
     2062    # differences in whitespace do not lead to failure.
     2063    ac_old_val_w=`echo x $ac_old_val`
     2064    ac_new_val_w=`echo x $ac_new_val`
     2065    if test "$ac_old_val_w" != "$ac_new_val_w"; then
     2066      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
     2067$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
     2068      ac_cache_corrupted=:
     2069    else
     2070      { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
     2071$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
     2072      eval $ac_var=\$ac_old_val
     2073    fi
     2074    { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
     2075$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
     2076    { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
     2077$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
    12512078      fi;;
    12522079  esac
     
    12542081  if test "$ac_new_set" = set; then
    12552082    case $ac_new_val in
    1256     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
    1257       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
     2083    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
    12582084    *) ac_arg=$ac_var=$ac_new_val ;;
    12592085    esac
    12602086    case " $ac_configure_args " in
    12612087      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
    1262       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
     2088      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
    12632089    esac
    12642090  fi
    12652091done
    12662092if $ac_cache_corrupted; then
    1267   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
    1268 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
    1269   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
    1270 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
    1271    { (exit 1); exit 1; }; }
    1272 fi
     2093  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2094$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2095  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
     2096$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
     2097  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
     2098fi
     2099## -------------------- ##
     2100## Main body of script. ##
     2101## -------------------- ##
    12732102
    12742103ac_ext=c
     
    12812110
    12822111
    1283 
    1284 
    1285 
    1286 
    1287 
    1288 
    1289 
    1290 
    1291 
    1292 
    1293 
    1294 
    1295 
    1296 
    1297 
    1298 
    1299 
    1300 # Check whether --with-gdbm or --without-gdbm was given.
    1301 if test "${with_gdbm+set}" = set; then
    1302   withval="$with_gdbm"
    1303   gdbmdir=$withval
    1304 fi;
     2112# Check whether --with-gdbm was given.
     2113if test "${with_gdbm+set}" = set; then :
     2114  withval=$with_gdbm; gdbmdir=$withval
     2115fi
     2116
    13052117
    13062118ac_aux_dir=
    1307 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
    1308   if test -f $ac_dir/install-sh; then
    1309     ac_aux_dir=$ac_dir
    1310     ac_install_sh="$ac_aux_dir/install-sh -c"
    1311     break
    1312   elif test -f $ac_dir/install.sh; then
    1313     ac_aux_dir=$ac_dir
    1314     ac_install_sh="$ac_aux_dir/install.sh -c"
    1315     break
    1316   elif test -f $ac_dir/shtool; then
    1317     ac_aux_dir=$ac_dir
    1318     ac_install_sh="$ac_aux_dir/shtool install -c"
    1319     break
    1320   fi
     2119for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
     2120  for ac_t in install-sh install.sh shtool; do
     2121    if test -f "$ac_dir/$ac_t"; then
     2122      ac_aux_dir=$ac_dir
     2123      ac_install_sh="$ac_aux_dir/$ac_t -c"
     2124      break 2
     2125    fi
     2126  done
    13212127done
    13222128if test -z "$ac_aux_dir"; then
    1323   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
    1324 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
    1325    { (exit 1); exit 1; }; }
    1326 fi
    1327 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
    1328 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
    1329 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
     2129  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
     2130fi
     2131
     2132# These three variables are undocumented and unsupported,
     2133# and are intended to be withdrawn in a future Autoconf release.
     2134# They can cause serious problems if a builder's source tree is in a directory
     2135# whose full name contains unusual characters.
     2136ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
     2137ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
     2138ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
     2139
    13302140
    13312141# Make sure we can run config.sub.
    1332 $ac_config_sub sun4 >/dev/null 2>&1 ||
    1333   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
    1334 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
    1335    { (exit 1); exit 1; }; }
    1336 
    1337 echo "$as_me:$LINENO: checking build system type" >&5
    1338 echo $ECHO_N "checking build system type... $ECHO_C" >&6
    1339 if test "${ac_cv_build+set}" = set; then
    1340   echo $ECHO_N "(cached) $ECHO_C" >&6
    1341 else
    1342   ac_cv_build_alias=$build_alias
    1343 test -z "$ac_cv_build_alias" &&
    1344   ac_cv_build_alias=`$ac_config_guess`
    1345 test -z "$ac_cv_build_alias" &&
    1346   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
    1347 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
    1348    { (exit 1); exit 1; }; }
    1349 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
    1350   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
    1351 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
    1352    { (exit 1); exit 1; }; }
    1353 
    1354 fi
    1355 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
    1356 echo "${ECHO_T}$ac_cv_build" >&6
     2142$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
     2143  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
     2144
     2145{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
     2146$as_echo_n "checking build system type... " >&6; }
     2147if test "${ac_cv_build+set}" = set; then :
     2148  $as_echo_n "(cached) " >&6
     2149else
     2150  ac_build_alias=$build_alias
     2151test "x$ac_build_alias" = x &&
     2152  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
     2153test "x$ac_build_alias" = x &&
     2154  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
     2155ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
     2156  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
     2157
     2158fi
     2159{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
     2160$as_echo "$ac_cv_build" >&6; }
     2161case $ac_cv_build in
     2162*-*-*) ;;
     2163*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
     2164esac
    13572165build=$ac_cv_build
    1358 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
    1359 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
    1360 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
    1361 
    1362 
    1363 echo "$as_me:$LINENO: checking host system type" >&5
    1364 echo $ECHO_N "checking host system type... $ECHO_C" >&6
    1365 if test "${ac_cv_host+set}" = set; then
    1366   echo $ECHO_N "(cached) $ECHO_C" >&6
    1367 else
    1368   ac_cv_host_alias=$host_alias
    1369 test -z "$ac_cv_host_alias" &&
    1370   ac_cv_host_alias=$ac_cv_build_alias
    1371 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
    1372   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
    1373 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
    1374    { (exit 1); exit 1; }; }
    1375 
    1376 fi
    1377 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
    1378 echo "${ECHO_T}$ac_cv_host" >&6
     2166ac_save_IFS=$IFS; IFS='-'
     2167set x $ac_cv_build
     2168shift
     2169build_cpu=$1
     2170build_vendor=$2
     2171shift; shift
     2172# Remember, the first character of IFS is used to create $*,
     2173# except with old shells:
     2174build_os=$*
     2175IFS=$ac_save_IFS
     2176case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
     2177
     2178
     2179{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
     2180$as_echo_n "checking host system type... " >&6; }
     2181if test "${ac_cv_host+set}" = set; then :
     2182  $as_echo_n "(cached) " >&6
     2183else
     2184  if test "x$host_alias" = x; then
     2185  ac_cv_host=$ac_cv_build
     2186else
     2187  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
     2188    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
     2189fi
     2190
     2191fi
     2192{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
     2193$as_echo "$ac_cv_host" >&6; }
     2194case $ac_cv_host in
     2195*-*-*) ;;
     2196*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
     2197esac
    13792198host=$ac_cv_host
    1380 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
    1381 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
    1382 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
    1383 
    1384 
    1385 echo "$as_me:$LINENO: checking target system type" >&5
    1386 echo $ECHO_N "checking target system type... $ECHO_C" >&6
    1387 if test "${ac_cv_target+set}" = set; then
    1388   echo $ECHO_N "(cached) $ECHO_C" >&6
    1389 else
    1390   ac_cv_target_alias=$target_alias
    1391 test "x$ac_cv_target_alias" = "x" &&
    1392   ac_cv_target_alias=$ac_cv_host_alias
    1393 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
    1394   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
    1395 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
    1396    { (exit 1); exit 1; }; }
    1397 
    1398 fi
    1399 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
    1400 echo "${ECHO_T}$ac_cv_target" >&6
     2199ac_save_IFS=$IFS; IFS='-'
     2200set x $ac_cv_host
     2201shift
     2202host_cpu=$1
     2203host_vendor=$2
     2204shift; shift
     2205# Remember, the first character of IFS is used to create $*,
     2206# except with old shells:
     2207host_os=$*
     2208IFS=$ac_save_IFS
     2209case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
     2210
     2211
     2212{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
     2213$as_echo_n "checking target system type... " >&6; }
     2214if test "${ac_cv_target+set}" = set; then :
     2215  $as_echo_n "(cached) " >&6
     2216else
     2217  if test "x$target_alias" = x; then
     2218  ac_cv_target=$ac_cv_host
     2219else
     2220  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
     2221    as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
     2222fi
     2223
     2224fi
     2225{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
     2226$as_echo "$ac_cv_target" >&6; }
     2227case $ac_cv_target in
     2228*-*-*) ;;
     2229*) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
     2230esac
    14012231target=$ac_cv_target
    1402 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
    1403 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
    1404 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
     2232ac_save_IFS=$IFS; IFS='-'
     2233set x $ac_cv_target
     2234shift
     2235target_cpu=$1
     2236target_vendor=$2
     2237shift; shift
     2238# Remember, the first character of IFS is used to create $*,
     2239# except with old shells:
     2240target_os=$*
     2241IFS=$ac_save_IFS
     2242case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
    14052243
    14062244
     
    14112249    NONENONEs,x,x, &&
    14122250  program_prefix=${target_alias}-
     2251
    14132252
    14142253# TODO: allow the user to specify whether they want a debugging
     
    14242263  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    14252264set dummy ${ac_tool_prefix}gcc; ac_word=$2
    1426 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1427 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1428 if test "${ac_cv_prog_CC+set}" = set; then
    1429   echo $ECHO_N "(cached) $ECHO_C" >&6
     2265{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2266$as_echo_n "checking for $ac_word... " >&6; }
     2267if test "${ac_cv_prog_CC+set}" = set; then :
     2268  $as_echo_n "(cached) " >&6
    14302269else
    14312270  if test -n "$CC"; then
     
    14372276  IFS=$as_save_IFS
    14382277  test -z "$as_dir" && as_dir=.
    1439   for ac_exec_ext in '' $ac_executable_extensions; do
    1440   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2278    for ac_exec_ext in '' $ac_executable_extensions; do
     2279  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    14412280    ac_cv_prog_CC="${ac_tool_prefix}gcc"
    1442     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2281    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    14432282    break 2
    14442283  fi
    14452284done
    1446 done
     2285  done
     2286IFS=$as_save_IFS
    14472287
    14482288fi
     
    14502290CC=$ac_cv_prog_CC
    14512291if test -n "$CC"; then
    1452   echo "$as_me:$LINENO: result: $CC" >&5
    1453 echo "${ECHO_T}$CC" >&6
    1454 else
    1455   echo "$as_me:$LINENO: result: no" >&5
    1456 echo "${ECHO_T}no" >&6
    1457 fi
     2292  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     2293$as_echo "$CC" >&6; }
     2294else
     2295  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2296$as_echo "no" >&6; }
     2297fi
     2298
    14582299
    14592300fi
     
    14622303  # Extract the first word of "gcc", so it can be a program name with args.
    14632304set dummy gcc; ac_word=$2
    1464 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1465 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1466 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    1467   echo $ECHO_N "(cached) $ECHO_C" >&6
     2305{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2306$as_echo_n "checking for $ac_word... " >&6; }
     2307if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
     2308  $as_echo_n "(cached) " >&6
    14682309else
    14692310  if test -n "$ac_ct_CC"; then
     
    14752316  IFS=$as_save_IFS
    14762317  test -z "$as_dir" && as_dir=.
    1477   for ac_exec_ext in '' $ac_executable_extensions; do
    1478   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2318    for ac_exec_ext in '' $ac_executable_extensions; do
     2319  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    14792320    ac_cv_prog_ac_ct_CC="gcc"
    1480     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2321    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    14812322    break 2
    14822323  fi
    14832324done
    1484 done
     2325  done
     2326IFS=$as_save_IFS
    14852327
    14862328fi
     
    14882330ac_ct_CC=$ac_cv_prog_ac_ct_CC
    14892331if test -n "$ac_ct_CC"; then
    1490   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    1491 echo "${ECHO_T}$ac_ct_CC" >&6
    1492 else
    1493   echo "$as_me:$LINENO: result: no" >&5
    1494 echo "${ECHO_T}no" >&6
    1495 fi
    1496 
    1497   CC=$ac_ct_CC
     2332  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
     2333$as_echo "$ac_ct_CC" >&6; }
     2334else
     2335  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2336$as_echo "no" >&6; }
     2337fi
     2338
     2339  if test "x$ac_ct_CC" = x; then
     2340    CC=""
     2341  else
     2342    case $cross_compiling:$ac_tool_warned in
     2343yes:)
     2344{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     2345$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     2346ac_tool_warned=yes ;;
     2347esac
     2348    CC=$ac_ct_CC
     2349  fi
    14982350else
    14992351  CC="$ac_cv_prog_CC"
     
    15012353
    15022354if test -z "$CC"; then
    1503   if test -n "$ac_tool_prefix"; then
    1504   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
     2355          if test -n "$ac_tool_prefix"; then
     2356    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
    15052357set dummy ${ac_tool_prefix}cc; ac_word=$2
    1506 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1507 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1508 if test "${ac_cv_prog_CC+set}" = set; then
    1509   echo $ECHO_N "(cached) $ECHO_C" >&6
     2358{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2359$as_echo_n "checking for $ac_word... " >&6; }
     2360if test "${ac_cv_prog_CC+set}" = set; then :
     2361  $as_echo_n "(cached) " >&6
    15102362else
    15112363  if test -n "$CC"; then
     
    15172369  IFS=$as_save_IFS
    15182370  test -z "$as_dir" && as_dir=.
    1519   for ac_exec_ext in '' $ac_executable_extensions; do
    1520   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2371    for ac_exec_ext in '' $ac_executable_extensions; do
     2372  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    15212373    ac_cv_prog_CC="${ac_tool_prefix}cc"
    1522     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2374    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    15232375    break 2
    15242376  fi
    15252377done
    1526 done
     2378  done
     2379IFS=$as_save_IFS
    15272380
    15282381fi
     
    15302383CC=$ac_cv_prog_CC
    15312384if test -n "$CC"; then
    1532   echo "$as_me:$LINENO: result: $CC" >&5
    1533 echo "${ECHO_T}$CC" >&6
    1534 else
    1535   echo "$as_me:$LINENO: result: no" >&5
    1536 echo "${ECHO_T}no" >&6
    1537 fi
    1538 
    1539 fi
    1540 if test -z "$ac_cv_prog_CC"; then
    1541   ac_ct_CC=$CC
    1542   # Extract the first word of "cc", so it can be a program name with args.
    1543 set dummy cc; ac_word=$2
    1544 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1545 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1546 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    1547   echo $ECHO_N "(cached) $ECHO_C" >&6
    1548 else
    1549   if test -n "$ac_ct_CC"; then
    1550   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
    1551 else
    1552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    1553 for as_dir in $PATH
    1554 do
    1555   IFS=$as_save_IFS
    1556   test -z "$as_dir" && as_dir=.
    1557   for ac_exec_ext in '' $ac_executable_extensions; do
    1558   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    1559     ac_cv_prog_ac_ct_CC="cc"
    1560     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    1561     break 2
     2385  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     2386$as_echo "$CC" >&6; }
     2387else
     2388  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2389$as_echo "no" >&6; }
     2390fi
     2391
     2392
    15622393  fi
    1563 done
    1564 done
    1565 
    1566 fi
    1567 fi
    1568 ac_ct_CC=$ac_cv_prog_ac_ct_CC
    1569 if test -n "$ac_ct_CC"; then
    1570   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    1571 echo "${ECHO_T}$ac_ct_CC" >&6
    1572 else
    1573   echo "$as_me:$LINENO: result: no" >&5
    1574 echo "${ECHO_T}no" >&6
    1575 fi
    1576 
    1577   CC=$ac_ct_CC
    1578 else
    1579   CC="$ac_cv_prog_CC"
    1580 fi
    1581 
    15822394fi
    15832395if test -z "$CC"; then
    15842396  # Extract the first word of "cc", so it can be a program name with args.
    15852397set dummy cc; ac_word=$2
    1586 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1587 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1588 if test "${ac_cv_prog_CC+set}" = set; then
    1589   echo $ECHO_N "(cached) $ECHO_C" >&6
     2398{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2399$as_echo_n "checking for $ac_word... " >&6; }
     2400if test "${ac_cv_prog_CC+set}" = set; then :
     2401  $as_echo_n "(cached) " >&6
    15902402else
    15912403  if test -n "$CC"; then
     
    15982410  IFS=$as_save_IFS
    15992411  test -z "$as_dir" && as_dir=.
    1600   for ac_exec_ext in '' $ac_executable_extensions; do
    1601   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2412    for ac_exec_ext in '' $ac_executable_extensions; do
     2413  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    16022414    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
    16032415       ac_prog_rejected=yes
     
    16052417     fi
    16062418    ac_cv_prog_CC="cc"
    1607     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2419    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    16082420    break 2
    16092421  fi
    16102422done
    1611 done
     2423  done
     2424IFS=$as_save_IFS
    16122425
    16132426if test $ac_prog_rejected = yes; then
     
    16272440CC=$ac_cv_prog_CC
    16282441if test -n "$CC"; then
    1629   echo "$as_me:$LINENO: result: $CC" >&5
    1630 echo "${ECHO_T}$CC" >&6
    1631 else
    1632   echo "$as_me:$LINENO: result: no" >&5
    1633 echo "${ECHO_T}no" >&6
    1634 fi
     2442  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     2443$as_echo "$CC" >&6; }
     2444else
     2445  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2446$as_echo "no" >&6; }
     2447fi
     2448
    16352449
    16362450fi
    16372451if test -z "$CC"; then
    16382452  if test -n "$ac_tool_prefix"; then
    1639   for ac_prog in cl
     2453  for ac_prog in cl.exe
    16402454  do
    16412455    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    16422456set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    1643 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1644 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1645 if test "${ac_cv_prog_CC+set}" = set; then
    1646   echo $ECHO_N "(cached) $ECHO_C" >&6
     2457{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2458$as_echo_n "checking for $ac_word... " >&6; }
     2459if test "${ac_cv_prog_CC+set}" = set; then :
     2460  $as_echo_n "(cached) " >&6
    16472461else
    16482462  if test -n "$CC"; then
     
    16542468  IFS=$as_save_IFS
    16552469  test -z "$as_dir" && as_dir=.
    1656   for ac_exec_ext in '' $ac_executable_extensions; do
    1657   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2470    for ac_exec_ext in '' $ac_executable_extensions; do
     2471  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    16582472    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    1659     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2473    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    16602474    break 2
    16612475  fi
    16622476done
    1663 done
     2477  done
     2478IFS=$as_save_IFS
    16642479
    16652480fi
     
    16672482CC=$ac_cv_prog_CC
    16682483if test -n "$CC"; then
    1669   echo "$as_me:$LINENO: result: $CC" >&5
    1670 echo "${ECHO_T}$CC" >&6
    1671 else
    1672   echo "$as_me:$LINENO: result: no" >&5
    1673 echo "${ECHO_T}no" >&6
    1674 fi
     2484  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     2485$as_echo "$CC" >&6; }
     2486else
     2487  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2488$as_echo "no" >&6; }
     2489fi
     2490
    16752491
    16762492    test -n "$CC" && break
     
    16792495if test -z "$CC"; then
    16802496  ac_ct_CC=$CC
    1681   for ac_prog in cl
     2497  for ac_prog in cl.exe
    16822498do
    16832499  # Extract the first word of "$ac_prog", so it can be a program name with args.
    16842500set dummy $ac_prog; ac_word=$2
    1685 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1686 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1687 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    1688   echo $ECHO_N "(cached) $ECHO_C" >&6
     2501{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2502$as_echo_n "checking for $ac_word... " >&6; }
     2503if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
     2504  $as_echo_n "(cached) " >&6
    16892505else
    16902506  if test -n "$ac_ct_CC"; then
     
    16962512  IFS=$as_save_IFS
    16972513  test -z "$as_dir" && as_dir=.
    1698   for ac_exec_ext in '' $ac_executable_extensions; do
    1699   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2514    for ac_exec_ext in '' $ac_executable_extensions; do
     2515  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    17002516    ac_cv_prog_ac_ct_CC="$ac_prog"
    1701     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2517    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    17022518    break 2
    17032519  fi
    17042520done
    1705 done
     2521  done
     2522IFS=$as_save_IFS
    17062523
    17072524fi
     
    17092526ac_ct_CC=$ac_cv_prog_ac_ct_CC
    17102527if test -n "$ac_ct_CC"; then
    1711   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    1712 echo "${ECHO_T}$ac_ct_CC" >&6
    1713 else
    1714   echo "$as_me:$LINENO: result: no" >&5
    1715 echo "${ECHO_T}no" >&6
    1716 fi
     2528  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
     2529$as_echo "$ac_ct_CC" >&6; }
     2530else
     2531  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2532$as_echo "no" >&6; }
     2533fi
     2534
    17172535
    17182536  test -n "$ac_ct_CC" && break
    17192537done
    17202538
    1721   CC=$ac_ct_CC
    1722 fi
    1723 
    1724 fi
    1725 
    1726 
    1727 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
    1728 See \`config.log' for more details." >&5
    1729 echo "$as_me: error: no acceptable C compiler found in \$PATH
    1730 See \`config.log' for more details." >&2;}
    1731    { (exit 1); exit 1; }; }
     2539  if test "x$ac_ct_CC" = x; then
     2540    CC=""
     2541  else
     2542    case $cross_compiling:$ac_tool_warned in
     2543yes:)
     2544{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     2545$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     2546ac_tool_warned=yes ;;
     2547esac
     2548    CC=$ac_ct_CC
     2549  fi
     2550fi
     2551
     2552fi
     2553
     2554
     2555test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2556$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2557as_fn_error "no acceptable C compiler found in \$PATH
     2558See \`config.log' for more details." "$LINENO" 5; }
    17322559
    17332560# Provide some information about the compiler.
    1734 echo "$as_me:$LINENO:" \
    1735      "checking for C compiler version" >&5
    1736 ac_compiler=`set X $ac_compile; echo $2`
    1737 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
    1738   (eval $ac_compiler --version </dev/null >&5) 2>&5
     2561$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
     2562set X $ac_compile
     2563ac_compiler=$2
     2564for ac_option in --version -v -V -qversion; do
     2565  { { ac_try="$ac_compiler $ac_option >&5"
     2566case "(($ac_try" in
     2567  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2568  *) ac_try_echo=$ac_try;;
     2569esac
     2570eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     2571$as_echo "$ac_try_echo"; } >&5
     2572  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
    17392573  ac_status=$?
    1740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1741   (exit $ac_status); }
    1742 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
    1743   (eval $ac_compiler -v </dev/null >&5) 2>&5
    1744   ac_status=$?
    1745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1746   (exit $ac_status); }
    1747 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
    1748   (eval $ac_compiler -V </dev/null >&5) 2>&5
    1749   ac_status=$?
    1750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1751   (exit $ac_status); }
    1752 
    1753 cat >conftest.$ac_ext <<_ACEOF
    1754 /* confdefs.h.  */
    1755 _ACEOF
    1756 cat confdefs.h >>conftest.$ac_ext
    1757 cat >>conftest.$ac_ext <<_ACEOF
     2574  if test -s conftest.err; then
     2575    sed '10a\
     2576... rest of stderr output deleted ...
     2577         10q' conftest.err >conftest.er1
     2578    cat conftest.er1 >&5
     2579  fi
     2580  rm -f conftest.er1 conftest.err
     2581  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     2582  test $ac_status = 0; }
     2583done
     2584
     2585cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    17582586/* end confdefs.h.  */
    17592587
     
    17672595_ACEOF
    17682596ac_clean_files_save=$ac_clean_files
    1769 ac_clean_files="$ac_clean_files a.out a.exe b.out"
     2597ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
    17702598# Try to create an executable without -o first, disregard a.out.
    17712599# It will help us diagnose broken compilers, and finding out an intuition
    17722600# of exeext.
    1773 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
    1774 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
    1775 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
    1776 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
    1777   (eval $ac_link_default) 2>&5
     2601{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
     2602$as_echo_n "checking whether the C compiler works... " >&6; }
     2603ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
     2604
     2605# The possible output files:
     2606ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
     2607
     2608ac_rmfiles=
     2609for ac_file in $ac_files
     2610do
     2611  case $ac_file in
     2612    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
     2613    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
     2614  esac
     2615done
     2616rm -f $ac_rmfiles
     2617
     2618if { { ac_try="$ac_link_default"
     2619case "(($ac_try" in
     2620  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2621  *) ac_try_echo=$ac_try;;
     2622esac
     2623eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     2624$as_echo "$ac_try_echo"; } >&5
     2625  (eval "$ac_link_default") 2>&5
    17782626  ac_status=$?
    1779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1780   (exit $ac_status); }; then
    1781   # Find the output, starting from the most likely.  This scheme is
    1782 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
    1783 # resort.
    1784 
    1785 # Be careful to initialize this variable, since it used to be cached.
    1786 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
    1787 ac_cv_exeext=
    1788 # b.out is created by i960 compilers.
    1789 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
     2627  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     2628  test $ac_status = 0; }; then :
     2629  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
     2630# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
     2631# in a Makefile.  We should not override ac_cv_exeext if it was cached,
     2632# so that the user can short-circuit this test for compilers unknown to
     2633# Autoconf.
     2634for ac_file in $ac_files ''
    17902635do
    17912636  test -f "$ac_file" || continue
    17922637  case $ac_file in
    1793     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
    1794     ;;
    1795     conftest.$ac_ext )
    1796     # This is the source file.
     2638    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
    17972639    ;;
    17982640    [ab].out )
     
    18012643    break;;
    18022644    *.* )
    1803     ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    1804     # FIXME: I believe we export ac_cv_exeext for Libtool,
    1805     # but it would be cool to find out if it's true.  Does anybody
    1806     # maintain Libtool? --akim.
    1807     export ac_cv_exeext
     2645    if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
     2646    then :; else
     2647       ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
     2648    fi
     2649    # We set ac_cv_exeext here because the later test for it is not
     2650    # safe: cross compilers may not add the suffix if given an `-o'
     2651    # argument, so we may need to know it at that point already.
     2652    # Even if this section looks crufty: it has the advantage of
     2653    # actually working.
    18082654    break;;
    18092655    * )
     
    18112657  esac
    18122658done
    1813 else
    1814   echo "$as_me: failed program was:" >&5
     2659test "$ac_cv_exeext" = no && ac_cv_exeext=
     2660
     2661else
     2662  ac_file=''
     2663fi
     2664if test -z "$ac_file"; then :
     2665  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2666$as_echo "no" >&6; }
     2667$as_echo "$as_me: failed program was:" >&5
    18152668sed 's/^/| /' conftest.$ac_ext >&5
    18162669
    1817 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
    1818 See \`config.log' for more details." >&5
    1819 echo "$as_me: error: C compiler cannot create executables
    1820 See \`config.log' for more details." >&2;}
    1821    { (exit 77); exit 77; }; }
    1822 fi
    1823 
     2670{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2671$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2672{ as_fn_set_status 77
     2673as_fn_error "C compiler cannot create executables
     2674See \`config.log' for more details." "$LINENO" 5; }; }
     2675else
     2676  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     2677$as_echo "yes" >&6; }
     2678fi
     2679{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
     2680$as_echo_n "checking for C compiler default output file name... " >&6; }
     2681{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
     2682$as_echo "$ac_file" >&6; }
    18242683ac_exeext=$ac_cv_exeext
    1825 echo "$as_me:$LINENO: result: $ac_file" >&5
    1826 echo "${ECHO_T}$ac_file" >&6
    1827 
    1828 # Check the compiler produces executables we can run.  If not, either
    1829 # the compiler is broken, or we cross compile.
    1830 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
    1831 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
    1832 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
    1833 # If not cross compiling, check that we can run a simple program.
    1834 if test "$cross_compiling" != yes; then
    1835   if { ac_try='./$ac_file'
    1836   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    1837   (eval $ac_try) 2>&5
     2684
     2685rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
     2686ac_clean_files=$ac_clean_files_save
     2687{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
     2688$as_echo_n "checking for suffix of executables... " >&6; }
     2689if { { ac_try="$ac_link"
     2690case "(($ac_try" in
     2691  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2692  *) ac_try_echo=$ac_try;;
     2693esac
     2694eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     2695$as_echo "$ac_try_echo"; } >&5
     2696  (eval "$ac_link") 2>&5
    18382697  ac_status=$?
    1839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1840   (exit $ac_status); }; }; then
    1841     cross_compiling=no
    1842   else
    1843     if test "$cross_compiling" = maybe; then
    1844     cross_compiling=yes
    1845     else
    1846     { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
    1847 If you meant to cross compile, use \`--host'.
    1848 See \`config.log' for more details." >&5
    1849 echo "$as_me: error: cannot run C compiled programs.
    1850 If you meant to cross compile, use \`--host'.
    1851 See \`config.log' for more details." >&2;}
    1852    { (exit 1); exit 1; }; }
    1853     fi
    1854   fi
    1855 fi
    1856 echo "$as_me:$LINENO: result: yes" >&5
    1857 echo "${ECHO_T}yes" >&6
    1858 
    1859 rm -f a.out a.exe conftest$ac_cv_exeext b.out
    1860 ac_clean_files=$ac_clean_files_save
    1861 # Check the compiler produces executables we can run.  If not, either
    1862 # the compiler is broken, or we cross compile.
    1863 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
    1864 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
    1865 echo "$as_me:$LINENO: result: $cross_compiling" >&5
    1866 echo "${ECHO_T}$cross_compiling" >&6
    1867 
    1868 echo "$as_me:$LINENO: checking for suffix of executables" >&5
    1869 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
    1870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    1871   (eval $ac_link) 2>&5
    1872   ac_status=$?
    1873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1874   (exit $ac_status); }; then
     2698  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     2699  test $ac_status = 0; }; then :
    18752700  # If both `conftest.exe' and `conftest' are `present' (well, observable)
    18762701# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
     
    18802705  test -f "$ac_file" || continue
    18812706  case $ac_file in
    1882     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
     2707    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
    18832708    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    1884       export ac_cv_exeext
    18852709      break;;
    18862710    * ) break;;
     
    18882712done
    18892713else
    1890   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
    1891 See \`config.log' for more details." >&5
    1892 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
    1893 See \`config.log' for more details." >&2;}
    1894    { (exit 1); exit 1; }; }
    1895 fi
    1896 
    1897 rm -f conftest$ac_cv_exeext
    1898 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
    1899 echo "${ECHO_T}$ac_cv_exeext" >&6
     2714  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2715$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2716as_fn_error "cannot compute suffix of executables: cannot compile and link
     2717See \`config.log' for more details." "$LINENO" 5; }
     2718fi
     2719rm -f conftest conftest$ac_cv_exeext
     2720{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
     2721$as_echo "$ac_cv_exeext" >&6; }
    19002722
    19012723rm -f conftest.$ac_ext
    19022724EXEEXT=$ac_cv_exeext
    19032725ac_exeext=$EXEEXT
    1904 echo "$as_me:$LINENO: checking for suffix of object files" >&5
    1905 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
    1906 if test "${ac_cv_objext+set}" = set; then
    1907   echo $ECHO_N "(cached) $ECHO_C" >&6
    1908 else
    1909   cat >conftest.$ac_ext <<_ACEOF
    1910 /* confdefs.h.  */
    1911 _ACEOF
    1912 cat confdefs.h >>conftest.$ac_ext
    1913 cat >>conftest.$ac_ext <<_ACEOF
     2726cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    19142727/* end confdefs.h.  */
    1915 
     2728#include <stdio.h>
    19162729int
    19172730main ()
    19182731{
     2732FILE *f = fopen ("conftest.out", "w");
     2733 return ferror (f) || fclose (f) != 0;
    19192734
    19202735  ;
     
    19222737}
    19232738_ACEOF
     2739ac_clean_files="$ac_clean_files conftest.out"
     2740# Check that the compiler produces executables we can run.  If not, either
     2741# the compiler is broken, or we cross compile.
     2742{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
     2743$as_echo_n "checking whether we are cross compiling... " >&6; }
     2744if test "$cross_compiling" != yes; then
     2745  { { ac_try="$ac_link"
     2746case "(($ac_try" in
     2747  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2748  *) ac_try_echo=$ac_try;;
     2749esac
     2750eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     2751$as_echo "$ac_try_echo"; } >&5
     2752  (eval "$ac_link") 2>&5
     2753  ac_status=$?
     2754  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     2755  test $ac_status = 0; }
     2756  if { ac_try='./conftest$ac_cv_exeext'
     2757  { { case "(($ac_try" in
     2758  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2759  *) ac_try_echo=$ac_try;;
     2760esac
     2761eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     2762$as_echo "$ac_try_echo"; } >&5
     2763  (eval "$ac_try") 2>&5
     2764  ac_status=$?
     2765  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     2766  test $ac_status = 0; }; }; then
     2767    cross_compiling=no
     2768  else
     2769    if test "$cross_compiling" = maybe; then
     2770    cross_compiling=yes
     2771    else
     2772    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2773$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2774as_fn_error "cannot run C compiled programs.
     2775If you meant to cross compile, use \`--host'.
     2776See \`config.log' for more details." "$LINENO" 5; }
     2777    fi
     2778  fi
     2779fi
     2780{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
     2781$as_echo "$cross_compiling" >&6; }
     2782
     2783rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
     2784ac_clean_files=$ac_clean_files_save
     2785{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
     2786$as_echo_n "checking for suffix of object files... " >&6; }
     2787if test "${ac_cv_objext+set}" = set; then :
     2788  $as_echo_n "(cached) " >&6
     2789else
     2790  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2791/* end confdefs.h.  */
     2792
     2793int
     2794main ()
     2795{
     2796
     2797  ;
     2798  return 0;
     2799}
     2800_ACEOF
    19242801rm -f conftest.o conftest.obj
    1925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    1926   (eval $ac_compile) 2>&5
     2802if { { ac_try="$ac_compile"
     2803case "(($ac_try" in
     2804  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2805  *) ac_try_echo=$ac_try;;
     2806esac
     2807eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     2808$as_echo "$ac_try_echo"; } >&5
     2809  (eval "$ac_compile") 2>&5
    19272810  ac_status=$?
    1928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1929   (exit $ac_status); }; then
    1930   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
     2811  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     2812  test $ac_status = 0; }; then :
     2813  for ac_file in conftest.o conftest.obj conftest.*; do
     2814  test -f "$ac_file" || continue;
    19312815  case $ac_file in
    1932     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
     2816    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
    19332817    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
    19342818       break;;
     
    19362820done
    19372821else
    1938   echo "$as_me: failed program was:" >&5
     2822  $as_echo "$as_me: failed program was:" >&5
    19392823sed 's/^/| /' conftest.$ac_ext >&5
    19402824
    1941 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
    1942 See \`config.log' for more details." >&5
    1943 echo "$as_me: error: cannot compute suffix of object files: cannot compile
    1944 See \`config.log' for more details." >&2;}
    1945    { (exit 1); exit 1; }; }
    1946 fi
    1947 
     2825{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2826$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2827as_fn_error "cannot compute suffix of object files: cannot compile
     2828See \`config.log' for more details." "$LINENO" 5; }
     2829fi
    19482830rm -f conftest.$ac_cv_objext conftest.$ac_ext
    19492831fi
    1950 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
    1951 echo "${ECHO_T}$ac_cv_objext" >&6
     2832{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
     2833$as_echo "$ac_cv_objext" >&6; }
    19522834OBJEXT=$ac_cv_objext
    19532835ac_objext=$OBJEXT
    1954 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
    1955 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
    1956 if test "${ac_cv_c_compiler_gnu+set}" = set; then
    1957   echo $ECHO_N "(cached) $ECHO_C" >&6
    1958 else
    1959   cat >conftest.$ac_ext <<_ACEOF
    1960 /* confdefs.h.  */
    1961 _ACEOF
    1962 cat confdefs.h >>conftest.$ac_ext
    1963 cat >>conftest.$ac_ext <<_ACEOF
     2836{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
     2837$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
     2838if test "${ac_cv_c_compiler_gnu+set}" = set; then :
     2839  $as_echo_n "(cached) " >&6
     2840else
     2841  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    19642842/* end confdefs.h.  */
    19652843
     
    19752853}
    19762854_ACEOF
    1977 rm -f conftest.$ac_objext
    1978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    1979   (eval $ac_compile) 2>conftest.er1
    1980   ac_status=$?
    1981   grep -v '^ *+' conftest.er1 >conftest.err
    1982   rm -f conftest.er1
    1983   cat conftest.err >&5
    1984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1985   (exit $ac_status); } &&
    1986      { ac_try='test -z "$ac_c_werror_flag"
    1987              || test ! -s conftest.err'
    1988   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    1989   (eval $ac_try) 2>&5
    1990   ac_status=$?
    1991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1992   (exit $ac_status); }; } &&
    1993      { ac_try='test -s conftest.$ac_objext'
    1994   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    1995   (eval $ac_try) 2>&5
    1996   ac_status=$?
    1997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1998   (exit $ac_status); }; }; then
     2855if ac_fn_c_try_compile "$LINENO"; then :
    19992856  ac_compiler_gnu=yes
    20002857else
    2001   echo "$as_me: failed program was:" >&5
    2002 sed 's/^/| /' conftest.$ac_ext >&5
    2003 
    2004 ac_compiler_gnu=no
    2005 fi
    2006 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     2858  ac_compiler_gnu=no
     2859fi
     2860rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    20072861ac_cv_c_compiler_gnu=$ac_compiler_gnu
    20082862
    20092863fi
    2010 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
    2011 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
    2012 GCC=`test $ac_compiler_gnu = yes && echo yes`
     2864{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
     2865$as_echo "$ac_cv_c_compiler_gnu" >&6; }
     2866if test $ac_compiler_gnu = yes; then
     2867  GCC=yes
     2868else
     2869  GCC=
     2870fi
    20132871ac_test_CFLAGS=${CFLAGS+set}
    20142872ac_save_CFLAGS=$CFLAGS
    2015 CFLAGS="-g"
    2016 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
    2017 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
    2018 if test "${ac_cv_prog_cc_g+set}" = set; then
    2019   echo $ECHO_N "(cached) $ECHO_C" >&6
    2020 else
    2021   cat >conftest.$ac_ext <<_ACEOF
    2022 /* confdefs.h.  */
    2023 _ACEOF
    2024 cat confdefs.h >>conftest.$ac_ext
    2025 cat >>conftest.$ac_ext <<_ACEOF
     2873{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
     2874$as_echo_n "checking whether $CC accepts -g... " >&6; }
     2875if test "${ac_cv_prog_cc_g+set}" = set; then :
     2876  $as_echo_n "(cached) " >&6
     2877else
     2878  ac_save_c_werror_flag=$ac_c_werror_flag
     2879   ac_c_werror_flag=yes
     2880   ac_cv_prog_cc_g=no
     2881   CFLAGS="-g"
     2882   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    20262883/* end confdefs.h.  */
    20272884
     
    20342891}
    20352892_ACEOF
    2036 rm -f conftest.$ac_objext
    2037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2038   (eval $ac_compile) 2>conftest.er1
    2039   ac_status=$?
    2040   grep -v '^ *+' conftest.er1 >conftest.err
    2041   rm -f conftest.er1
    2042   cat conftest.err >&5
    2043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2044   (exit $ac_status); } &&
    2045      { ac_try='test -z "$ac_c_werror_flag"
    2046              || test ! -s conftest.err'
    2047   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2048   (eval $ac_try) 2>&5
    2049   ac_status=$?
    2050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2051   (exit $ac_status); }; } &&
    2052      { ac_try='test -s conftest.$ac_objext'
    2053   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2054   (eval $ac_try) 2>&5
    2055   ac_status=$?
    2056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2057   (exit $ac_status); }; }; then
     2893if ac_fn_c_try_compile "$LINENO"; then :
    20582894  ac_cv_prog_cc_g=yes
    20592895else
    2060   echo "$as_me: failed program was:" >&5
    2061 sed 's/^/| /' conftest.$ac_ext >&5
    2062 
    2063 ac_cv_prog_cc_g=no
    2064 fi
    2065 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2066 fi
    2067 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
    2068 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
     2896  CFLAGS=""
     2897      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2898/* end confdefs.h.  */
     2899
     2900int
     2901main ()
     2902{
     2903
     2904  ;
     2905  return 0;
     2906}
     2907_ACEOF
     2908if ac_fn_c_try_compile "$LINENO"; then :
     2909
     2910else
     2911  ac_c_werror_flag=$ac_save_c_werror_flag
     2912     CFLAGS="-g"
     2913     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2914/* end confdefs.h.  */
     2915
     2916int
     2917main ()
     2918{
     2919
     2920  ;
     2921  return 0;
     2922}
     2923_ACEOF
     2924if ac_fn_c_try_compile "$LINENO"; then :
     2925  ac_cv_prog_cc_g=yes
     2926fi
     2927rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2928fi
     2929rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2930fi
     2931rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2932   ac_c_werror_flag=$ac_save_c_werror_flag
     2933fi
     2934{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
     2935$as_echo "$ac_cv_prog_cc_g" >&6; }
    20692936if test "$ac_test_CFLAGS" = set; then
    20702937  CFLAGS=$ac_save_CFLAGS
     
    20822949  fi
    20832950fi
    2084 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
    2085 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
    2086 if test "${ac_cv_prog_cc_stdc+set}" = set; then
    2087   echo $ECHO_N "(cached) $ECHO_C" >&6
    2088 else
    2089   ac_cv_prog_cc_stdc=no
     2951{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
     2952$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
     2953if test "${ac_cv_prog_cc_c89+set}" = set; then :
     2954  $as_echo_n "(cached) " >&6
     2955else
     2956  ac_cv_prog_cc_c89=no
    20902957ac_save_CC=$CC
    2091 cat >conftest.$ac_ext <<_ACEOF
    2092 /* confdefs.h.  */
    2093 _ACEOF
    2094 cat confdefs.h >>conftest.$ac_ext
    2095 cat >>conftest.$ac_ext <<_ACEOF
     2958cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    20962959/* end confdefs.h.  */
    20972960#include <stdarg.h>
     
    21212984   function prototypes and stuff, but not '\xHH' hex character constants.
    21222985   These don't provoke an error unfortunately, instead are silently treated
    2123    as 'x'.  The following induces an error, until -std1 is added to get
     2986   as 'x'.  The following induces an error, until -std is added to get
    21242987   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
    21252988   array size at least.  It's necessary to write '\x00'==0 to get something
    2126    that's true only with -std1.  */
     2989   that's true only with -std.  */
    21272990int osf4_cc_array ['\x00' == 0 ? 1 : -1];
     2991
     2992/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
     2993   inside strings and character constants.  */
     2994#define FOO(x) 'x'
     2995int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
    21282996
    21292997int test (int i, double x);
     
    21413009}
    21423010_ACEOF
    2143 # Don't try gcc -ansi; that turns off useful extensions and
    2144 # breaks some systems' header files.
    2145 # AIX           -qlanglvl=ansi
    2146 # Ultrix and OSF/1  -std1
    2147 # HP-UX 10.20 and later -Ae
    2148 # HP-UX older versions  -Aa -D_HPUX_SOURCE
    2149 # SVR4          -Xc -D__EXTENSIONS__
    2150 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
     3011for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
     3012    -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
    21513013do
    21523014  CC="$ac_save_CC $ac_arg"
    2153   rm -f conftest.$ac_objext
    2154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2155   (eval $ac_compile) 2>conftest.er1
    2156   ac_status=$?
    2157   grep -v '^ *+' conftest.er1 >conftest.err
    2158   rm -f conftest.er1
    2159   cat conftest.err >&5
    2160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2161   (exit $ac_status); } &&
    2162      { ac_try='test -z "$ac_c_werror_flag"
    2163              || test ! -s conftest.err'
    2164   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2165   (eval $ac_try) 2>&5
    2166   ac_status=$?
    2167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2168   (exit $ac_status); }; } &&
    2169      { ac_try='test -s conftest.$ac_objext'
    2170   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2171   (eval $ac_try) 2>&5
    2172   ac_status=$?
    2173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2174   (exit $ac_status); }; }; then
    2175   ac_cv_prog_cc_stdc=$ac_arg
    2176 break
    2177 else
    2178   echo "$as_me: failed program was:" >&5
    2179 sed 's/^/| /' conftest.$ac_ext >&5
    2180 
    2181 fi
    2182 rm -f conftest.err conftest.$ac_objext
     3015  if ac_fn_c_try_compile "$LINENO"; then :
     3016  ac_cv_prog_cc_c89=$ac_arg
     3017fi
     3018rm -f core conftest.err conftest.$ac_objext
     3019  test "x$ac_cv_prog_cc_c89" != "xno" && break
    21833020done
    2184 rm -f conftest.$ac_ext conftest.$ac_objext
     3021rm -f conftest.$ac_ext
    21853022CC=$ac_save_CC
    21863023
    21873024fi
    2188 
    2189 case "x$ac_cv_prog_cc_stdc" in
    2190   x|xno)
    2191     echo "$as_me:$LINENO: result: none needed" >&5
    2192 echo "${ECHO_T}none needed" >&6 ;;
     3025# AC_CACHE_VAL
     3026case "x$ac_cv_prog_cc_c89" in
     3027  x)
     3028    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
     3029$as_echo "none needed" >&6; } ;;
     3030  xno)
     3031    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
     3032$as_echo "unsupported" >&6; } ;;
    21933033  *)
    2194     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
    2195 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
    2196     CC="$CC $ac_cv_prog_cc_stdc" ;;
     3034    CC="$CC $ac_cv_prog_cc_c89"
     3035    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
     3036$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
    21973037esac
    2198 
    2199 # Some people use a C++ compiler to compile C.  Since we use `exit',
    2200 # in C++ we need to declare it.  In case someone uses the same compiler
    2201 # for both compiling C and C++ we need to have the C++ compiler decide
    2202 # the declaration of exit, since it's the most demanding environment.
    2203 cat >conftest.$ac_ext <<_ACEOF
    2204 #ifndef __cplusplus
    2205   choke me
    2206 #endif
    2207 _ACEOF
    2208 rm -f conftest.$ac_objext
    2209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2210   (eval $ac_compile) 2>conftest.er1
    2211   ac_status=$?
    2212   grep -v '^ *+' conftest.er1 >conftest.err
    2213   rm -f conftest.er1
    2214   cat conftest.err >&5
    2215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2216   (exit $ac_status); } &&
    2217      { ac_try='test -z "$ac_c_werror_flag"
    2218              || test ! -s conftest.err'
    2219   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2220   (eval $ac_try) 2>&5
    2221   ac_status=$?
    2222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2223   (exit $ac_status); }; } &&
    2224      { ac_try='test -s conftest.$ac_objext'
    2225   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2226   (eval $ac_try) 2>&5
    2227   ac_status=$?
    2228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2229   (exit $ac_status); }; }; then
    2230   for ac_declaration in \
    2231    '' \
    2232    'extern "C" void std::exit (int) throw (); using std::exit;' \
    2233    'extern "C" void std::exit (int); using std::exit;' \
    2234    'extern "C" void exit (int) throw ();' \
    2235    'extern "C" void exit (int);' \
    2236    'void exit (int);'
    2237 do
    2238   cat >conftest.$ac_ext <<_ACEOF
    2239 /* confdefs.h.  */
    2240 _ACEOF
    2241 cat confdefs.h >>conftest.$ac_ext
    2242 cat >>conftest.$ac_ext <<_ACEOF
    2243 /* end confdefs.h.  */
    2244 $ac_declaration
    2245 #include <stdlib.h>
    2246 int
    2247 main ()
    2248 {
    2249 exit (42);
    2250   ;
    2251   return 0;
    2252 }
    2253 _ACEOF
    2254 rm -f conftest.$ac_objext
    2255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2256   (eval $ac_compile) 2>conftest.er1
    2257   ac_status=$?
    2258   grep -v '^ *+' conftest.er1 >conftest.err
    2259   rm -f conftest.er1
    2260   cat conftest.err >&5
    2261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2262   (exit $ac_status); } &&
    2263      { ac_try='test -z "$ac_c_werror_flag"
    2264              || test ! -s conftest.err'
    2265   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2266   (eval $ac_try) 2>&5
    2267   ac_status=$?
    2268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2269   (exit $ac_status); }; } &&
    2270      { ac_try='test -s conftest.$ac_objext'
    2271   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2272   (eval $ac_try) 2>&5
    2273   ac_status=$?
    2274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2275   (exit $ac_status); }; }; then
    2276   :
    2277 else
    2278   echo "$as_me: failed program was:" >&5
    2279 sed 's/^/| /' conftest.$ac_ext >&5
    2280 
    2281 continue
    2282 fi
    2283 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2284   cat >conftest.$ac_ext <<_ACEOF
    2285 /* confdefs.h.  */
    2286 _ACEOF
    2287 cat confdefs.h >>conftest.$ac_ext
    2288 cat >>conftest.$ac_ext <<_ACEOF
    2289 /* end confdefs.h.  */
    2290 $ac_declaration
    2291 int
    2292 main ()
    2293 {
    2294 exit (42);
    2295   ;
    2296   return 0;
    2297 }
    2298 _ACEOF
    2299 rm -f conftest.$ac_objext
    2300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2301   (eval $ac_compile) 2>conftest.er1
    2302   ac_status=$?
    2303   grep -v '^ *+' conftest.er1 >conftest.err
    2304   rm -f conftest.er1
    2305   cat conftest.err >&5
    2306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2307   (exit $ac_status); } &&
    2308      { ac_try='test -z "$ac_c_werror_flag"
    2309              || test ! -s conftest.err'
    2310   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2311   (eval $ac_try) 2>&5
    2312   ac_status=$?
    2313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2314   (exit $ac_status); }; } &&
    2315      { ac_try='test -s conftest.$ac_objext'
    2316   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2317   (eval $ac_try) 2>&5
    2318   ac_status=$?
    2319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2320   (exit $ac_status); }; }; then
    2321   break
    2322 else
    2323   echo "$as_me: failed program was:" >&5
    2324 sed 's/^/| /' conftest.$ac_ext >&5
    2325 
    2326 fi
    2327 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2328 done
    2329 rm -f conftest*
    2330 if test -n "$ac_declaration"; then
    2331   echo '#ifdef __cplusplus' >>confdefs.h
    2332   echo $ac_declaration      >>confdefs.h
    2333   echo '#endif'             >>confdefs.h
    2334 fi
    2335 
    2336 else
    2337   echo "$as_me: failed program was:" >&5
    2338 sed 's/^/| /' conftest.$ac_ext >&5
    2339 
    2340 fi
    2341 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     3038if test "x$ac_cv_prog_cc_c89" != xno; then :
     3039
     3040fi
     3041
    23423042ac_ext=c
    23433043ac_cpp='$CPP $CPPFLAGS'
     
    23593059# OS/2's system install, which has a completely different semantic
    23603060# ./install, which can be erroneously created by make from ./install.sh.
    2361 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
    2362 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
     3061# Reject install programs that cannot install multiple files.
     3062{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
     3063$as_echo_n "checking for a BSD-compatible install... " >&6; }
    23633064if test -z "$INSTALL"; then
    2364 if test "${ac_cv_path_install+set}" = set; then
    2365   echo $ECHO_N "(cached) $ECHO_C" >&6
     3065if test "${ac_cv_path_install+set}" = set; then :
     3066  $as_echo_n "(cached) " >&6
    23663067else
    23673068  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     
    23703071  IFS=$as_save_IFS
    23713072  test -z "$as_dir" && as_dir=.
    2372   # Account for people who put trailing slashes in PATH elements.
    2373 case $as_dir/ in
    2374   ./ | .// | /cC/* | \
     3073    # Account for people who put trailing slashes in PATH elements.
     3074case $as_dir/ in #((
     3075  ./ | .// | /[cC]/* | \
    23753076  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
    2376   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
     3077  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
    23773078  /usr/ucb/* ) ;;
    23783079  *)
     
    23823083    for ac_prog in ginstall scoinst install; do
    23833084      for ac_exec_ext in '' $ac_executable_extensions; do
    2384     if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
     3085    if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
    23853086      if test $ac_prog = install &&
    23863087        grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     
    23923093        :
    23933094      else
    2394         ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
    2395         break 3
     3095        rm -rf conftest.one conftest.two conftest.dir
     3096        echo one > conftest.one
     3097        echo two > conftest.two
     3098        mkdir conftest.dir
     3099        if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
     3100          test -s conftest.one && test -s conftest.two &&
     3101          test -s conftest.dir/conftest.one &&
     3102          test -s conftest.dir/conftest.two
     3103        then
     3104          ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
     3105          break 3
     3106        fi
    23963107      fi
    23973108    fi
     
    24003111    ;;
    24013112esac
    2402 done
    2403 
     3113
     3114  done
     3115IFS=$as_save_IFS
     3116
     3117rm -rf conftest.one conftest.two conftest.dir
    24043118
    24053119fi
     
    24073121    INSTALL=$ac_cv_path_install
    24083122  else
    2409     # As a last resort, use the slow shell script.  We don't cache a
    2410     # path for INSTALL within a source directory, because that will
     3123    # As a last resort, use the slow shell script.  Don't cache a
     3124    # value for INSTALL within a source directory, because that will
    24113125    # break other packages using the cache if that directory is
    2412     # removed, or if the path is relative.
     3126    # removed, or if the value is a relative name.
    24133127    INSTALL=$ac_install_sh
    24143128  fi
    24153129fi
    2416 echo "$as_me:$LINENO: result: $INSTALL" >&5
    2417 echo "${ECHO_T}$INSTALL" >&6
     3130{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
     3131$as_echo "$INSTALL" >&6; }
    24183132
    24193133# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
     
    24253139test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
    24263140
    2427 echo "$as_me:$LINENO: checking whether ln -s works" >&5
    2428 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
     3141{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
     3142$as_echo_n "checking whether ln -s works... " >&6; }
    24293143LN_S=$as_ln_s
    24303144if test "$LN_S" = "ln -s"; then
    2431   echo "$as_me:$LINENO: result: yes" >&5
    2432 echo "${ECHO_T}yes" >&6
    2433 else
    2434   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
    2435 echo "${ECHO_T}no, using $LN_S" >&6
    2436 fi
    2437 
    2438 
    2439 echo "$as_me:$LINENO: checking to see if architecture is 64-bit" >&5
    2440 echo $ECHO_N "checking to see if architecture is 64-bit... $ECHO_C" >&6
    2441 arch_64bit=no
    2442 case "$host_cpu" in
    2443 x86_64) arch_64bit=yes ;;
    2444 esac
    2445 
    2446 if test "$arch_64bit" = yes; then
    2447   echo "$as_me:$LINENO: result: yes" >&5
    2448 echo "${ECHO_T}yes" >&6
    2449   if test -z "$COMPAT32BITFLAGS" ; then
    2450     COMPAT32BITFLAGS="-m32"
    2451   fi
    2452 else
    2453   echo "$as_me:$LINENO: result: no" >&5
    2454 echo "${ECHO_T}no" >&6
    2455   if test -z "$COMPAT32BITFLAGS" ; then
    2456     COMPAT32BITFLAGS=
    2457   fi
    2458 fi
    2459 
    2460 # Only need compat32bitflag if using MG or MGPP
    2461 if test "$ENABLE_MG" = "0" ; then
    2462   COMPAT32BITFLAGS=
    2463 else
    2464   if test "$ENABLE_MGPP" = "0" ; then
    2465     COMPAT32BITFLAGS=
    2466   fi
    2467 fi
    2468 
    2469 export COMPAT32BITFLAGS
    2470 
     3145  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     3146$as_echo "yes" >&6; }
     3147else
     3148  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
     3149$as_echo "no, using $LN_S" >&6; }
     3150fi
    24713151
    24723152
     
    24783158ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    24793159ac_compiler_gnu=$ac_cv_c_compiler_gnu
    2480 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
    2481 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
     3160{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
     3161$as_echo_n "checking how to run the C preprocessor... " >&6; }
    24823162# On Suns, sometimes $CPP names a directory.
    24833163if test -n "$CPP" && test -d "$CPP"; then
     
    24853165fi
    24863166if test -z "$CPP"; then
    2487   if test "${ac_cv_prog_CPP+set}" = set; then
    2488   echo $ECHO_N "(cached) $ECHO_C" >&6
     3167  if test "${ac_cv_prog_CPP+set}" = set; then :
     3168  $as_echo_n "(cached) " >&6
    24893169else
    24903170      # Double quotes because CPP needs to be expanded
     
    25003180  # On the NeXT, cc -E runs the code through the compiler's parser,
    25013181  # not just through cpp. "Syntax error" is here to catch this case.
    2502   cat >conftest.$ac_ext <<_ACEOF
    2503 /* confdefs.h.  */
    2504 _ACEOF
    2505 cat confdefs.h >>conftest.$ac_ext
    2506 cat >>conftest.$ac_ext <<_ACEOF
     3182  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    25073183/* end confdefs.h.  */
    25083184#ifdef __STDC__
     
    25133189             Syntax error
    25143190_ACEOF
    2515 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    2516   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    2517   ac_status=$?
    2518   grep -v '^ *+' conftest.er1 >conftest.err
    2519   rm -f conftest.er1
    2520   cat conftest.err >&5
    2521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2522   (exit $ac_status); } >/dev/null; then
    2523   if test -s conftest.err; then
    2524     ac_cpp_err=$ac_c_preproc_warn_flag
    2525     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    2526   else
    2527     ac_cpp_err=
    2528   fi
    2529 else
    2530   ac_cpp_err=yes
    2531 fi
    2532 if test -z "$ac_cpp_err"; then
    2533   :
    2534 else
    2535   echo "$as_me: failed program was:" >&5
    2536 sed 's/^/| /' conftest.$ac_ext >&5
    2537 
     3191if ac_fn_c_try_cpp "$LINENO"; then :
     3192
     3193else
    25383194  # Broken: fails on valid input.
    25393195continue
     
    25413197rm -f conftest.err conftest.$ac_ext
    25423198
    2543   # OK, works on sane cases.  Now check whether non-existent headers
     3199  # OK, works on sane cases.  Now check whether nonexistent headers
    25443200  # can be detected and how.
    2545   cat >conftest.$ac_ext <<_ACEOF
    2546 /* confdefs.h.  */
    2547 _ACEOF
    2548 cat confdefs.h >>conftest.$ac_ext
    2549 cat >>conftest.$ac_ext <<_ACEOF
     3201  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    25503202/* end confdefs.h.  */
    25513203#include <ac_nonexistent.h>
    25523204_ACEOF
    2553 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    2554   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    2555   ac_status=$?
    2556   grep -v '^ *+' conftest.er1 >conftest.err
    2557   rm -f conftest.er1
    2558   cat conftest.err >&5
    2559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2560   (exit $ac_status); } >/dev/null; then
    2561   if test -s conftest.err; then
    2562     ac_cpp_err=$ac_c_preproc_warn_flag
    2563     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    2564   else
    2565     ac_cpp_err=
    2566   fi
    2567 else
    2568   ac_cpp_err=yes
    2569 fi
    2570 if test -z "$ac_cpp_err"; then
     3205if ac_fn_c_try_cpp "$LINENO"; then :
    25713206  # Broken: success on invalid input.
    25723207continue
    25733208else
    2574   echo "$as_me: failed program was:" >&5
    2575 sed 's/^/| /' conftest.$ac_ext >&5
    2576 
    25773209  # Passes both tests.
    25783210ac_preproc_ok=:
     
    25843216# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    25853217rm -f conftest.err conftest.$ac_ext
    2586 if $ac_preproc_ok; then
     3218if $ac_preproc_ok; then :
    25873219  break
    25883220fi
     
    25963228  ac_cv_prog_CPP=$CPP
    25973229fi
    2598 echo "$as_me:$LINENO: result: $CPP" >&5
    2599 echo "${ECHO_T}$CPP" >&6
     3230{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
     3231$as_echo "$CPP" >&6; }
    26003232ac_preproc_ok=false
    26013233for ac_c_preproc_warn_flag in '' yes
     
    26073239  # On the NeXT, cc -E runs the code through the compiler's parser,
    26083240  # not just through cpp. "Syntax error" is here to catch this case.
    2609   cat >conftest.$ac_ext <<_ACEOF
    2610 /* confdefs.h.  */
    2611 _ACEOF
    2612 cat confdefs.h >>conftest.$ac_ext
    2613 cat >>conftest.$ac_ext <<_ACEOF
     3241  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    26143242/* end confdefs.h.  */
    26153243#ifdef __STDC__
     
    26203248             Syntax error
    26213249_ACEOF
    2622 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    2623   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    2624   ac_status=$?
    2625   grep -v '^ *+' conftest.er1 >conftest.err
    2626   rm -f conftest.er1
    2627   cat conftest.err >&5
    2628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2629   (exit $ac_status); } >/dev/null; then
    2630   if test -s conftest.err; then
    2631     ac_cpp_err=$ac_c_preproc_warn_flag
    2632     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    2633   else
    2634     ac_cpp_err=
    2635   fi
    2636 else
    2637   ac_cpp_err=yes
    2638 fi
    2639 if test -z "$ac_cpp_err"; then
    2640   :
    2641 else
    2642   echo "$as_me: failed program was:" >&5
    2643 sed 's/^/| /' conftest.$ac_ext >&5
    2644 
     3250if ac_fn_c_try_cpp "$LINENO"; then :
     3251
     3252else
    26453253  # Broken: fails on valid input.
    26463254continue
     
    26483256rm -f conftest.err conftest.$ac_ext
    26493257
    2650   # OK, works on sane cases.  Now check whether non-existent headers
     3258  # OK, works on sane cases.  Now check whether nonexistent headers
    26513259  # can be detected and how.
    2652   cat >conftest.$ac_ext <<_ACEOF
    2653 /* confdefs.h.  */
    2654 _ACEOF
    2655 cat confdefs.h >>conftest.$ac_ext
    2656 cat >>conftest.$ac_ext <<_ACEOF
     3260  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    26573261/* end confdefs.h.  */
    26583262#include <ac_nonexistent.h>
    26593263_ACEOF
    2660 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    2661   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    2662   ac_status=$?
    2663   grep -v '^ *+' conftest.er1 >conftest.err
    2664   rm -f conftest.er1
    2665   cat conftest.err >&5
    2666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2667   (exit $ac_status); } >/dev/null; then
    2668   if test -s conftest.err; then
    2669     ac_cpp_err=$ac_c_preproc_warn_flag
    2670     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    2671   else
    2672     ac_cpp_err=
    2673   fi
    2674 else
    2675   ac_cpp_err=yes
    2676 fi
    2677 if test -z "$ac_cpp_err"; then
     3264if ac_fn_c_try_cpp "$LINENO"; then :
    26783265  # Broken: success on invalid input.
    26793266continue
    26803267else
    2681   echo "$as_me: failed program was:" >&5
    2682 sed 's/^/| /' conftest.$ac_ext >&5
    2683 
    26843268  # Passes both tests.
    26853269ac_preproc_ok=:
     
    26913275# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    26923276rm -f conftest.err conftest.$ac_ext
    2693 if $ac_preproc_ok; then
    2694   :
    2695 else
    2696   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
    2697 See \`config.log' for more details." >&5
    2698 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
    2699 See \`config.log' for more details." >&2;}
    2700    { (exit 1); exit 1; }; }
     3277if $ac_preproc_ok; then :
     3278
     3279else
     3280  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     3281$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     3282as_fn_error "C preprocessor \"$CPP\" fails sanity check
     3283See \`config.log' for more details." "$LINENO" 5; }
    27013284fi
    27023285
     
    27083291
    27093292
    2710 echo "$as_me:$LINENO: checking for egrep" >&5
    2711 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
    2712 if test "${ac_cv_prog_egrep+set}" = set; then
    2713   echo $ECHO_N "(cached) $ECHO_C" >&6
    2714 else
    2715   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
    2716     then ac_cv_prog_egrep='grep -E'
    2717     else ac_cv_prog_egrep='egrep'
     3293{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
     3294$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
     3295if test "${ac_cv_path_GREP+set}" = set; then :
     3296  $as_echo_n "(cached) " >&6
     3297else
     3298  if test -z "$GREP"; then
     3299  ac_path_GREP_found=false
     3300  # Loop through the user's path and test for each of PROGNAME-LIST
     3301  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3302for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
     3303do
     3304  IFS=$as_save_IFS
     3305  test -z "$as_dir" && as_dir=.
     3306    for ac_prog in grep ggrep; do
     3307    for ac_exec_ext in '' $ac_executable_extensions; do
     3308      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
     3309      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
     3310# Check for GNU ac_path_GREP and select it if it is found.
     3311  # Check for GNU $ac_path_GREP
     3312case `"$ac_path_GREP" --version 2>&1` in
     3313*GNU*)
     3314  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
     3315*)
     3316  ac_count=0
     3317  $as_echo_n 0123456789 >"conftest.in"
     3318  while :
     3319  do
     3320    cat "conftest.in" "conftest.in" >"conftest.tmp"
     3321    mv "conftest.tmp" "conftest.in"
     3322    cp "conftest.in" "conftest.nl"
     3323    $as_echo 'GREP' >> "conftest.nl"
     3324    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
     3325    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
     3326    as_fn_arith $ac_count + 1 && ac_count=$as_val
     3327    if test $ac_count -gt ${ac_path_GREP_max-0}; then
     3328      # Best one so far, save it but keep looking for a better one
     3329      ac_cv_path_GREP="$ac_path_GREP"
     3330      ac_path_GREP_max=$ac_count
    27183331    fi
    2719 fi
    2720 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
    2721 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
    2722  EGREP=$ac_cv_prog_egrep
    2723 
    2724 
    2725 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
    2726 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
    2727 if test "${ac_cv_header_stdc+set}" = set; then
    2728   echo $ECHO_N "(cached) $ECHO_C" >&6
    2729 else
    2730   cat >conftest.$ac_ext <<_ACEOF
    2731 /* confdefs.h.  */
    2732 _ACEOF
    2733 cat confdefs.h >>conftest.$ac_ext
    2734 cat >>conftest.$ac_ext <<_ACEOF
     3332    # 10*(2^10) chars as input seems more than enough
     3333    test $ac_count -gt 10 && break
     3334  done
     3335  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
     3336esac
     3337
     3338      $ac_path_GREP_found && break 3
     3339    done
     3340  done
     3341  done
     3342IFS=$as_save_IFS
     3343  if test -z "$ac_cv_path_GREP"; then
     3344    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
     3345  fi
     3346else
     3347  ac_cv_path_GREP=$GREP
     3348fi
     3349
     3350fi
     3351{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
     3352$as_echo "$ac_cv_path_GREP" >&6; }
     3353 GREP="$ac_cv_path_GREP"
     3354
     3355
     3356{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
     3357$as_echo_n "checking for egrep... " >&6; }
     3358if test "${ac_cv_path_EGREP+set}" = set; then :
     3359  $as_echo_n "(cached) " >&6
     3360else
     3361  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
     3362   then ac_cv_path_EGREP="$GREP -E"
     3363   else
     3364     if test -z "$EGREP"; then
     3365  ac_path_EGREP_found=false
     3366  # Loop through the user's path and test for each of PROGNAME-LIST
     3367  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3368for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
     3369do
     3370  IFS=$as_save_IFS
     3371  test -z "$as_dir" && as_dir=.
     3372    for ac_prog in egrep; do
     3373    for ac_exec_ext in '' $ac_executable_extensions; do
     3374      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
     3375      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
     3376# Check for GNU ac_path_EGREP and select it if it is found.
     3377  # Check for GNU $ac_path_EGREP
     3378case `"$ac_path_EGREP" --version 2>&1` in
     3379*GNU*)
     3380  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
     3381*)
     3382  ac_count=0
     3383  $as_echo_n 0123456789 >"conftest.in"
     3384  while :
     3385  do
     3386    cat "conftest.in" "conftest.in" >"conftest.tmp"
     3387    mv "conftest.tmp" "conftest.in"
     3388    cp "conftest.in" "conftest.nl"
     3389    $as_echo 'EGREP' >> "conftest.nl"
     3390    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
     3391    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
     3392    as_fn_arith $ac_count + 1 && ac_count=$as_val
     3393    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
     3394      # Best one so far, save it but keep looking for a better one
     3395      ac_cv_path_EGREP="$ac_path_EGREP"
     3396      ac_path_EGREP_max=$ac_count
     3397    fi
     3398    # 10*(2^10) chars as input seems more than enough
     3399    test $ac_count -gt 10 && break
     3400  done
     3401  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
     3402esac
     3403
     3404      $ac_path_EGREP_found && break 3
     3405    done
     3406  done
     3407  done
     3408IFS=$as_save_IFS
     3409  if test -z "$ac_cv_path_EGREP"; then
     3410    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
     3411  fi
     3412else
     3413  ac_cv_path_EGREP=$EGREP
     3414fi
     3415
     3416   fi
     3417fi
     3418{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
     3419$as_echo "$ac_cv_path_EGREP" >&6; }
     3420 EGREP="$ac_cv_path_EGREP"
     3421
     3422
     3423{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
     3424$as_echo_n "checking for ANSI C header files... " >&6; }
     3425if test "${ac_cv_header_stdc+set}" = set; then :
     3426  $as_echo_n "(cached) " >&6
     3427else
     3428  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    27353429/* end confdefs.h.  */
    27363430#include <stdlib.h>
     
    27473441}
    27483442_ACEOF
    2749 rm -f conftest.$ac_objext
    2750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2751   (eval $ac_compile) 2>conftest.er1
    2752   ac_status=$?
    2753   grep -v '^ *+' conftest.er1 >conftest.err
    2754   rm -f conftest.er1
    2755   cat conftest.err >&5
    2756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2757   (exit $ac_status); } &&
    2758      { ac_try='test -z "$ac_c_werror_flag"
    2759              || test ! -s conftest.err'
    2760   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2761   (eval $ac_try) 2>&5
    2762   ac_status=$?
    2763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2764   (exit $ac_status); }; } &&
    2765      { ac_try='test -s conftest.$ac_objext'
    2766   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2767   (eval $ac_try) 2>&5
    2768   ac_status=$?
    2769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2770   (exit $ac_status); }; }; then
     3443if ac_fn_c_try_compile "$LINENO"; then :
    27713444  ac_cv_header_stdc=yes
    27723445else
    2773   echo "$as_me: failed program was:" >&5
    2774 sed 's/^/| /' conftest.$ac_ext >&5
    2775 
    2776 ac_cv_header_stdc=no
    2777 fi
    2778 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     3446  ac_cv_header_stdc=no
     3447fi
     3448rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    27793449
    27803450if test $ac_cv_header_stdc = yes; then
    27813451  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    2782   cat >conftest.$ac_ext <<_ACEOF
    2783 /* confdefs.h.  */
    2784 _ACEOF
    2785 cat confdefs.h >>conftest.$ac_ext
    2786 cat >>conftest.$ac_ext <<_ACEOF
     3452  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    27873453/* end confdefs.h.  */
    27883454#include <string.h>
     
    27903456_ACEOF
    27913457if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    2792   $EGREP "memchr" >/dev/null 2>&1; then
    2793   :
     3458  $EGREP "memchr" >/dev/null 2>&1; then :
     3459
    27943460else
    27953461  ac_cv_header_stdc=no
     
    28013467if test $ac_cv_header_stdc = yes; then
    28023468  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    2803   cat >conftest.$ac_ext <<_ACEOF
    2804 /* confdefs.h.  */
    2805 _ACEOF
    2806 cat confdefs.h >>conftest.$ac_ext
    2807 cat >>conftest.$ac_ext <<_ACEOF
     3469  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    28083470/* end confdefs.h.  */
    28093471#include <stdlib.h>
     
    28113473_ACEOF
    28123474if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    2813   $EGREP "free" >/dev/null 2>&1; then
    2814   :
     3475  $EGREP "free" >/dev/null 2>&1; then :
     3476
    28153477else
    28163478  ac_cv_header_stdc=no
     
    28223484if test $ac_cv_header_stdc = yes; then
    28233485  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
    2824   if test "$cross_compiling" = yes; then
     3486  if test "$cross_compiling" = yes; then :
    28253487  :
    28263488else
    2827   cat >conftest.$ac_ext <<_ACEOF
    2828 /* confdefs.h.  */
    2829 _ACEOF
    2830 cat confdefs.h >>conftest.$ac_ext
    2831 cat >>conftest.$ac_ext <<_ACEOF
     3489  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    28323490/* end confdefs.h.  */
    28333491#include <ctype.h>
     3492#include <stdlib.h>
    28343493#if ((' ' & 0x0FF) == 0x020)
    28353494# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
     
    28513510    if (XOR (islower (i), ISLOWER (i))
    28523511    || toupper (i) != TOUPPER (i))
    2853       exit(2);
    2854   exit (0);
     3512      return 2;
     3513  return 0;
    28553514}
    28563515_ACEOF
    2857 rm -f conftest$ac_exeext
    2858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    2859   (eval $ac_link) 2>&5
    2860   ac_status=$?
    2861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2862   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    2863   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2864   (eval $ac_try) 2>&5
    2865   ac_status=$?
    2866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2867   (exit $ac_status); }; }; then
    2868   :
    2869 else
    2870   echo "$as_me: program exited with status $ac_status" >&5
    2871 echo "$as_me: failed program was:" >&5
    2872 sed 's/^/| /' conftest.$ac_ext >&5
    2873 
    2874 ( exit $ac_status )
    2875 ac_cv_header_stdc=no
    2876 fi
    2877 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    2878 fi
    2879 fi
    2880 fi
    2881 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
    2882 echo "${ECHO_T}$ac_cv_header_stdc" >&6
     3516if ac_fn_c_try_run "$LINENO"; then :
     3517
     3518else
     3519  ac_cv_header_stdc=no
     3520fi
     3521rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     3522  conftest.$ac_objext conftest.beam conftest.$ac_ext
     3523fi
     3524
     3525fi
     3526fi
     3527{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
     3528$as_echo "$ac_cv_header_stdc" >&6; }
    28833529if test $ac_cv_header_stdc = yes; then
    28843530
    2885 cat >>confdefs.h <<\_ACEOF
    2886 #define STDC_HEADERS 1
    2887 _ACEOF
     3531$as_echo "#define STDC_HEADERS 1" >>confdefs.h
    28883532
    28893533fi
    28903534
    28913535# On IRIX 5.3, sys/types and inttypes.h are conflicting.
    2892 
    2893 
    2894 
    2895 
    2896 
    2897 
    2898 
    2899 
    2900 
    29013536for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
    29023537          inttypes.h stdint.h unistd.h
    2903 do
    2904 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    2905 echo "$as_me:$LINENO: checking for $ac_header" >&5
    2906 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    2907 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    2908   echo $ECHO_N "(cached) $ECHO_C" >&6
    2909 else
    2910   cat >conftest.$ac_ext <<_ACEOF
    2911 /* confdefs.h.  */
    2912 _ACEOF
    2913 cat confdefs.h >>conftest.$ac_ext
    2914 cat >>conftest.$ac_ext <<_ACEOF
    2915 /* end confdefs.h.  */
    2916 $ac_includes_default
    2917 
    2918 #include <$ac_header>
    2919 _ACEOF
    2920 rm -f conftest.$ac_objext
    2921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2922   (eval $ac_compile) 2>conftest.er1
    2923   ac_status=$?
    2924   grep -v '^ *+' conftest.er1 >conftest.err
    2925   rm -f conftest.er1
    2926   cat conftest.err >&5
    2927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2928   (exit $ac_status); } &&
    2929      { ac_try='test -z "$ac_c_werror_flag"
    2930              || test ! -s conftest.err'
    2931   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2932   (eval $ac_try) 2>&5
    2933   ac_status=$?
    2934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2935   (exit $ac_status); }; } &&
    2936      { ac_try='test -s conftest.$ac_objext'
    2937   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2938   (eval $ac_try) 2>&5
    2939   ac_status=$?
    2940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2941   (exit $ac_status); }; }; then
    2942   eval "$as_ac_Header=yes"
    2943 else
    2944   echo "$as_me: failed program was:" >&5
    2945 sed 's/^/| /' conftest.$ac_ext >&5
    2946 
    2947 eval "$as_ac_Header=no"
    2948 fi
    2949 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2950 fi
    2951 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    2952 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    2953 if test `eval echo '${'$as_ac_Header'}'` = yes; then
     3538do :
     3539  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     3540ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
     3541"
     3542eval as_val=\$$as_ac_Header
     3543   if test "x$as_val" = x""yes; then :
    29543544  cat >>confdefs.h <<_ACEOF
    2955 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
     3545#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    29563546_ACEOF
    29573547
     
    29613551
    29623552
    2963 echo "$as_me:$LINENO: checking for void *" >&5
    2964 echo $ECHO_N "checking for void *... $ECHO_C" >&6
    2965 if test "${ac_cv_type_void_p+set}" = set; then
    2966   echo $ECHO_N "(cached) $ECHO_C" >&6
    2967 else
    2968   cat >conftest.$ac_ext <<_ACEOF
    2969 /* confdefs.h.  */
    2970 _ACEOF
    2971 cat confdefs.h >>conftest.$ac_ext
    2972 cat >>conftest.$ac_ext <<_ACEOF
    2973 /* end confdefs.h.  */
    2974 $ac_includes_default
    2975 int
    2976 main ()
    2977 {
    2978 if ((void * *) 0)
    2979   return 0;
    2980 if (sizeof (void *))
    2981   return 0;
    2982   ;
    2983   return 0;
    2984 }
    2985 _ACEOF
    2986 rm -f conftest.$ac_objext
    2987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2988   (eval $ac_compile) 2>conftest.er1
    2989   ac_status=$?
    2990   grep -v '^ *+' conftest.er1 >conftest.err
    2991   rm -f conftest.er1
    2992   cat conftest.err >&5
    2993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2994   (exit $ac_status); } &&
    2995      { ac_try='test -z "$ac_c_werror_flag"
    2996              || test ! -s conftest.err'
    2997   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2998   (eval $ac_try) 2>&5
    2999   ac_status=$?
    3000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3001   (exit $ac_status); }; } &&
    3002      { ac_try='test -s conftest.$ac_objext'
    3003   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3004   (eval $ac_try) 2>&5
    3005   ac_status=$?
    3006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3007   (exit $ac_status); }; }; then
    3008   ac_cv_type_void_p=yes
    3009 else
    3010   echo "$as_me: failed program was:" >&5
    3011 sed 's/^/| /' conftest.$ac_ext >&5
    3012 
    3013 ac_cv_type_void_p=no
    3014 fi
    3015 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    3016 fi
    3017 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
    3018 echo "${ECHO_T}$ac_cv_type_void_p" >&6
    3019 
    3020 echo "$as_me:$LINENO: checking size of void *" >&5
    3021 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
    3022 if test "${ac_cv_sizeof_void_p+set}" = set; then
    3023   echo $ECHO_N "(cached) $ECHO_C" >&6
     3553# The cast to long int works around a bug in the HP C Compiler
     3554# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
     3555# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
     3556# This bug is HP SR number 8606223364.
     3557{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
     3558$as_echo_n "checking size of void *... " >&6; }
     3559if test "${ac_cv_sizeof_void_p+set}" = set; then :
     3560  $as_echo_n "(cached) " >&6
     3561else
     3562  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
     3563
    30243564else
    30253565  if test "$ac_cv_type_void_p" = yes; then
    3026   # The cast to unsigned long works around a bug in the HP C Compiler
    3027   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
    3028   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
    3029   # This bug is HP SR number 8606223364.
    3030   if test "$cross_compiling" = yes; then
    3031   # Depending upon the size, compute the lo and hi bounds.
    3032 cat >conftest.$ac_ext <<_ACEOF
    3033 /* confdefs.h.  */
    3034 _ACEOF
    3035 cat confdefs.h >>conftest.$ac_ext
    3036 cat >>conftest.$ac_ext <<_ACEOF
    3037 /* end confdefs.h.  */
    3038 $ac_includes_default
    3039 int
    3040 main ()
    3041 {
    3042 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
    3043 test_array [0] = 0
    3044 
    3045   ;
    3046   return 0;
    3047 }
    3048 _ACEOF
    3049 rm -f conftest.$ac_objext
    3050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3051   (eval $ac_compile) 2>conftest.er1
    3052   ac_status=$?
    3053   grep -v '^ *+' conftest.er1 >conftest.err
    3054   rm -f conftest.er1
    3055   cat conftest.err >&5
    3056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3057   (exit $ac_status); } &&
    3058      { ac_try='test -z "$ac_c_werror_flag"
    3059              || test ! -s conftest.err'
    3060   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3061   (eval $ac_try) 2>&5
    3062   ac_status=$?
    3063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3064   (exit $ac_status); }; } &&
    3065      { ac_try='test -s conftest.$ac_objext'
    3066   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3067   (eval $ac_try) 2>&5
    3068   ac_status=$?
    3069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3070   (exit $ac_status); }; }; then
    3071   ac_lo=0 ac_mid=0
    3072   while :; do
    3073     cat >conftest.$ac_ext <<_ACEOF
    3074 /* confdefs.h.  */
    3075 _ACEOF
    3076 cat confdefs.h >>conftest.$ac_ext
    3077 cat >>conftest.$ac_ext <<_ACEOF
    3078 /* end confdefs.h.  */
    3079 $ac_includes_default
    3080 int
    3081 main ()
    3082 {
    3083 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
    3084 test_array [0] = 0
    3085 
    3086   ;
    3087   return 0;
    3088 }
    3089 _ACEOF
    3090 rm -f conftest.$ac_objext
    3091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3092   (eval $ac_compile) 2>conftest.er1
    3093   ac_status=$?
    3094   grep -v '^ *+' conftest.er1 >conftest.err
    3095   rm -f conftest.er1
    3096   cat conftest.err >&5
    3097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3098   (exit $ac_status); } &&
    3099      { ac_try='test -z "$ac_c_werror_flag"
    3100              || test ! -s conftest.err'
    3101   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3102   (eval $ac_try) 2>&5
    3103   ac_status=$?
    3104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3105   (exit $ac_status); }; } &&
    3106      { ac_try='test -s conftest.$ac_objext'
    3107   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3108   (eval $ac_try) 2>&5
    3109   ac_status=$?
    3110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3111   (exit $ac_status); }; }; then
    3112   ac_hi=$ac_mid; break
    3113 else
    3114   echo "$as_me: failed program was:" >&5
    3115 sed 's/^/| /' conftest.$ac_ext >&5
    3116 
    3117 ac_lo=`expr $ac_mid + 1`
    3118             if test $ac_lo -le $ac_mid; then
    3119               ac_lo= ac_hi=
    3120               break
    3121             fi
    3122             ac_mid=`expr 2 '*' $ac_mid + 1`
    3123 fi
    3124 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    3125   done
    3126 else
    3127   echo "$as_me: failed program was:" >&5
    3128 sed 's/^/| /' conftest.$ac_ext >&5
    3129 
    3130 cat >conftest.$ac_ext <<_ACEOF
    3131 /* confdefs.h.  */
    3132 _ACEOF
    3133 cat confdefs.h >>conftest.$ac_ext
    3134 cat >>conftest.$ac_ext <<_ACEOF
    3135 /* end confdefs.h.  */
    3136 $ac_includes_default
    3137 int
    3138 main ()
    3139 {
    3140 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
    3141 test_array [0] = 0
    3142 
    3143   ;
    3144   return 0;
    3145 }
    3146 _ACEOF
    3147 rm -f conftest.$ac_objext
    3148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3149   (eval $ac_compile) 2>conftest.er1
    3150   ac_status=$?
    3151   grep -v '^ *+' conftest.er1 >conftest.err
    3152   rm -f conftest.er1
    3153   cat conftest.err >&5
    3154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3155   (exit $ac_status); } &&
    3156      { ac_try='test -z "$ac_c_werror_flag"
    3157              || test ! -s conftest.err'
    3158   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3159   (eval $ac_try) 2>&5
    3160   ac_status=$?
    3161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3162   (exit $ac_status); }; } &&
    3163      { ac_try='test -s conftest.$ac_objext'
    3164   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3165   (eval $ac_try) 2>&5
    3166   ac_status=$?
    3167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3168   (exit $ac_status); }; }; then
    3169   ac_hi=-1 ac_mid=-1
    3170   while :; do
    3171     cat >conftest.$ac_ext <<_ACEOF
    3172 /* confdefs.h.  */
    3173 _ACEOF
    3174 cat confdefs.h >>conftest.$ac_ext
    3175 cat >>conftest.$ac_ext <<_ACEOF
    3176 /* end confdefs.h.  */
    3177 $ac_includes_default
    3178 int
    3179 main ()
    3180 {
    3181 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
    3182 test_array [0] = 0
    3183 
    3184   ;
    3185   return 0;
    3186 }
    3187 _ACEOF
    3188 rm -f conftest.$ac_objext
    3189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3190   (eval $ac_compile) 2>conftest.er1
    3191   ac_status=$?
    3192   grep -v '^ *+' conftest.er1 >conftest.err
    3193   rm -f conftest.er1
    3194   cat conftest.err >&5
    3195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3196   (exit $ac_status); } &&
    3197      { ac_try='test -z "$ac_c_werror_flag"
    3198              || test ! -s conftest.err'
    3199   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3200   (eval $ac_try) 2>&5
    3201   ac_status=$?
    3202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3203   (exit $ac_status); }; } &&
    3204      { ac_try='test -s conftest.$ac_objext'
    3205   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3206   (eval $ac_try) 2>&5
    3207   ac_status=$?
    3208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3209   (exit $ac_status); }; }; then
    3210   ac_lo=$ac_mid; break
    3211 else
    3212   echo "$as_me: failed program was:" >&5
    3213 sed 's/^/| /' conftest.$ac_ext >&5
    3214 
    3215 ac_hi=`expr '(' $ac_mid ')' - 1`
    3216                if test $ac_mid -le $ac_hi; then
    3217              ac_lo= ac_hi=
    3218              break
    3219                fi
    3220                ac_mid=`expr 2 '*' $ac_mid`
    3221 fi
    3222 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    3223   done
    3224 else
    3225   echo "$as_me: failed program was:" >&5
    3226 sed 's/^/| /' conftest.$ac_ext >&5
    3227 
    3228 ac_lo= ac_hi=
    3229 fi
    3230 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    3231 fi
    3232 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    3233 # Binary search between lo and hi bounds.
    3234 while test "x$ac_lo" != "x$ac_hi"; do
    3235   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
    3236   cat >conftest.$ac_ext <<_ACEOF
    3237 /* confdefs.h.  */
    3238 _ACEOF
    3239 cat confdefs.h >>conftest.$ac_ext
    3240 cat >>conftest.$ac_ext <<_ACEOF
    3241 /* end confdefs.h.  */
    3242 $ac_includes_default
    3243 int
    3244 main ()
    3245 {
    3246 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
    3247 test_array [0] = 0
    3248 
    3249   ;
    3250   return 0;
    3251 }
    3252 _ACEOF
    3253 rm -f conftest.$ac_objext
    3254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3255   (eval $ac_compile) 2>conftest.er1
    3256   ac_status=$?
    3257   grep -v '^ *+' conftest.er1 >conftest.err
    3258   rm -f conftest.er1
    3259   cat conftest.err >&5
    3260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3261   (exit $ac_status); } &&
    3262      { ac_try='test -z "$ac_c_werror_flag"
    3263              || test ! -s conftest.err'
    3264   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3265   (eval $ac_try) 2>&5
    3266   ac_status=$?
    3267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3268   (exit $ac_status); }; } &&
    3269      { ac_try='test -s conftest.$ac_objext'
    3270   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3271   (eval $ac_try) 2>&5
    3272   ac_status=$?
    3273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3274   (exit $ac_status); }; }; then
    3275   ac_hi=$ac_mid
    3276 else
    3277   echo "$as_me: failed program was:" >&5
    3278 sed 's/^/| /' conftest.$ac_ext >&5
    3279 
    3280 ac_lo=`expr '(' $ac_mid ')' + 1`
    3281 fi
    3282 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    3283 done
    3284 case $ac_lo in
    3285 ?*) ac_cv_sizeof_void_p=$ac_lo;;
    3286 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
    3287 See \`config.log' for more details." >&5
    3288 echo "$as_me: error: cannot compute sizeof (void *), 77
    3289 See \`config.log' for more details." >&2;}
    3290    { (exit 1); exit 1; }; } ;;
    3291 esac
    3292 else
    3293   if test "$cross_compiling" = yes; then
    3294   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
    3295 See \`config.log' for more details." >&5
    3296 echo "$as_me: error: cannot run test program while cross compiling
    3297 See \`config.log' for more details." >&2;}
    3298    { (exit 1); exit 1; }; }
    3299 else
    3300   cat >conftest.$ac_ext <<_ACEOF
    3301 /* confdefs.h.  */
    3302 _ACEOF
    3303 cat confdefs.h >>conftest.$ac_ext
    3304 cat >>conftest.$ac_ext <<_ACEOF
    3305 /* end confdefs.h.  */
    3306 $ac_includes_default
    3307 long longval () { return (long) (sizeof (void *)); }
    3308 unsigned long ulongval () { return (long) (sizeof (void *)); }
    3309 #include <stdio.h>
    3310 #include <stdlib.h>
    3311 int
    3312 main ()
    3313 {
    3314 
    3315   FILE *f = fopen ("conftest.val", "w");
    3316   if (! f)
    3317     exit (1);
    3318   if (((long) (sizeof (void *))) < 0)
    3319     {
    3320       long i = longval ();
    3321       if (i != ((long) (sizeof (void *))))
    3322     exit (1);
    3323       fprintf (f, "%ld\n", i);
    3324     }
    3325   else
    3326     {
    3327       unsigned long i = ulongval ();
    3328       if (i != ((long) (sizeof (void *))))
    3329     exit (1);
    3330       fprintf (f, "%lu\n", i);
    3331     }
    3332   exit (ferror (f) || fclose (f) != 0);
    3333 
    3334   ;
    3335   return 0;
    3336 }
    3337 _ACEOF
    3338 rm -f conftest$ac_exeext
    3339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    3340   (eval $ac_link) 2>&5
    3341   ac_status=$?
    3342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3343   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    3344   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3345   (eval $ac_try) 2>&5
    3346   ac_status=$?
    3347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3348   (exit $ac_status); }; }; then
    3349   ac_cv_sizeof_void_p=`cat conftest.val`
    3350 else
    3351   echo "$as_me: program exited with status $ac_status" >&5
    3352 echo "$as_me: failed program was:" >&5
    3353 sed 's/^/| /' conftest.$ac_ext >&5
    3354 
    3355 ( exit $ac_status )
    3356 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
    3357 See \`config.log' for more details." >&5
    3358 echo "$as_me: error: cannot compute sizeof (void *), 77
    3359 See \`config.log' for more details." >&2;}
    3360    { (exit 1); exit 1; }; }
    3361 fi
    3362 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    3363 fi
    3364 fi
    3365 rm -f conftest.val
    3366 else
    3367   ac_cv_sizeof_void_p=0
    3368 fi
    3369 fi
    3370 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
    3371 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
     3566     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     3567$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     3568{ as_fn_set_status 77
     3569as_fn_error "cannot compute sizeof (void *)
     3570See \`config.log' for more details." "$LINENO" 5; }; }
     3571   else
     3572     ac_cv_sizeof_void_p=0
     3573   fi
     3574fi
     3575
     3576fi
     3577{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
     3578$as_echo "$ac_cv_sizeof_void_p" >&6; }
     3579
     3580
     3581
    33723582cat >>confdefs.h <<_ACEOF
    33733583#define SIZEOF_VOID_P $ac_cv_sizeof_void_p
     
    33753585
    33763586
    3377 echo "$as_me:$LINENO: checking for int" >&5
    3378 echo $ECHO_N "checking for int... $ECHO_C" >&6
    3379 if test "${ac_cv_type_int+set}" = set; then
    3380   echo $ECHO_N "(cached) $ECHO_C" >&6
    3381 else
    3382   cat >conftest.$ac_ext <<_ACEOF
    3383 /* confdefs.h.  */
    3384 _ACEOF
    3385 cat confdefs.h >>conftest.$ac_ext
    3386 cat >>conftest.$ac_ext <<_ACEOF
    3387 /* end confdefs.h.  */
    3388 $ac_includes_default
    3389 int
    3390 main ()
    3391 {
    3392 if ((int *) 0)
    3393   return 0;
    3394 if (sizeof (int))
    3395   return 0;
    3396   ;
    3397   return 0;
    3398 }
    3399 _ACEOF
    3400 rm -f conftest.$ac_objext
    3401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3402   (eval $ac_compile) 2>conftest.er1
    3403   ac_status=$?
    3404   grep -v '^ *+' conftest.er1 >conftest.err
    3405   rm -f conftest.er1
    3406   cat conftest.err >&5
    3407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3408   (exit $ac_status); } &&
    3409      { ac_try='test -z "$ac_c_werror_flag"
    3410              || test ! -s conftest.err'
    3411   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3412   (eval $ac_try) 2>&5
    3413   ac_status=$?
    3414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3415   (exit $ac_status); }; } &&
    3416      { ac_try='test -s conftest.$ac_objext'
    3417   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3418   (eval $ac_try) 2>&5
    3419   ac_status=$?
    3420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3421   (exit $ac_status); }; }; then
    3422   ac_cv_type_int=yes
    3423 else
    3424   echo "$as_me: failed program was:" >&5
    3425 sed 's/^/| /' conftest.$ac_ext >&5
    3426 
    3427 ac_cv_type_int=no
    3428 fi
    3429 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    3430 fi
    3431 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
    3432 echo "${ECHO_T}$ac_cv_type_int" >&6
    3433 
    3434 echo "$as_me:$LINENO: checking size of int" >&5
    3435 echo $ECHO_N "checking size of int... $ECHO_C" >&6
    3436 if test "${ac_cv_sizeof_int+set}" = set; then
    3437   echo $ECHO_N "(cached) $ECHO_C" >&6
     3587# The cast to long int works around a bug in the HP C Compiler
     3588# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
     3589# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
     3590# This bug is HP SR number 8606223364.
     3591{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
     3592$as_echo_n "checking size of int... " >&6; }
     3593if test "${ac_cv_sizeof_int+set}" = set; then :
     3594  $as_echo_n "(cached) " >&6
     3595else
     3596  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
     3597
    34383598else
    34393599  if test "$ac_cv_type_int" = yes; then
    3440   # The cast to unsigned long works around a bug in the HP C Compiler
    3441   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
    3442   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
    3443   # This bug is HP SR number 8606223364.
    3444   if test "$cross_compiling" = yes; then
    3445   # Depending upon the size, compute the lo and hi bounds.
    3446 cat >conftest.$ac_ext <<_ACEOF
    3447 /* confdefs.h.  */
    3448 _ACEOF
    3449 cat confdefs.h >>conftest.$ac_ext
    3450 cat >>conftest.$ac_ext <<_ACEOF
    3451 /* end confdefs.h.  */
    3452 $ac_includes_default
    3453 int
    3454 main ()
    3455 {
    3456 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
    3457 test_array [0] = 0
    3458 
    3459   ;
    3460   return 0;
    3461 }
    3462 _ACEOF
    3463 rm -f conftest.$ac_objext
    3464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3465   (eval $ac_compile) 2>conftest.er1
    3466   ac_status=$?
    3467   grep -v '^ *+' conftest.er1 >conftest.err
    3468   rm -f conftest.er1
    3469   cat conftest.err >&5
    3470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3471   (exit $ac_status); } &&
    3472      { ac_try='test -z "$ac_c_werror_flag"
    3473              || test ! -s conftest.err'
    3474   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3475   (eval $ac_try) 2>&5
    3476   ac_status=$?
    3477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3478   (exit $ac_status); }; } &&
    3479      { ac_try='test -s conftest.$ac_objext'
    3480   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3481   (eval $ac_try) 2>&5
    3482   ac_status=$?
    3483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3484   (exit $ac_status); }; }; then
    3485   ac_lo=0 ac_mid=0
    3486   while :; do
    3487     cat >conftest.$ac_ext <<_ACEOF
    3488 /* confdefs.h.  */
    3489 _ACEOF
    3490 cat confdefs.h >>conftest.$ac_ext
    3491 cat >>conftest.$ac_ext <<_ACEOF
    3492 /* end confdefs.h.  */
    3493 $ac_includes_default
    3494 int
    3495 main ()
    3496 {
    3497 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
    3498 test_array [0] = 0
    3499 
    3500   ;
    3501   return 0;
    3502 }
    3503 _ACEOF
    3504 rm -f conftest.$ac_objext
    3505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3506   (eval $ac_compile) 2>conftest.er1
    3507   ac_status=$?
    3508   grep -v '^ *+' conftest.er1 >conftest.err
    3509   rm -f conftest.er1
    3510   cat conftest.err >&5
    3511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3512   (exit $ac_status); } &&
    3513      { ac_try='test -z "$ac_c_werror_flag"
    3514              || test ! -s conftest.err'
    3515   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3516   (eval $ac_try) 2>&5
    3517   ac_status=$?
    3518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3519   (exit $ac_status); }; } &&
    3520      { ac_try='test -s conftest.$ac_objext'
    3521   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3522   (eval $ac_try) 2>&5
    3523   ac_status=$?
    3524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3525   (exit $ac_status); }; }; then
    3526   ac_hi=$ac_mid; break
    3527 else
    3528   echo "$as_me: failed program was:" >&5
    3529 sed 's/^/| /' conftest.$ac_ext >&5
    3530 
    3531 ac_lo=`expr $ac_mid + 1`
    3532             if test $ac_lo -le $ac_mid; then
    3533               ac_lo= ac_hi=
    3534               break
    3535             fi
    3536             ac_mid=`expr 2 '*' $ac_mid + 1`
    3537 fi
    3538 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    3539   done
    3540 else
    3541   echo "$as_me: failed program was:" >&5
    3542 sed 's/^/| /' conftest.$ac_ext >&5
    3543 
    3544 cat >conftest.$ac_ext <<_ACEOF
    3545 /* confdefs.h.  */
    3546 _ACEOF
    3547 cat confdefs.h >>conftest.$ac_ext
    3548 cat >>conftest.$ac_ext <<_ACEOF
    3549 /* end confdefs.h.  */
    3550 $ac_includes_default
    3551 int
    3552 main ()
    3553 {
    3554 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
    3555 test_array [0] = 0
    3556 
    3557   ;
    3558   return 0;
    3559 }
    3560 _ACEOF
    3561 rm -f conftest.$ac_objext
    3562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3563   (eval $ac_compile) 2>conftest.er1
    3564   ac_status=$?
    3565   grep -v '^ *+' conftest.er1 >conftest.err
    3566   rm -f conftest.er1
    3567   cat conftest.err >&5
    3568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3569   (exit $ac_status); } &&
    3570      { ac_try='test -z "$ac_c_werror_flag"
    3571              || test ! -s conftest.err'
    3572   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3573   (eval $ac_try) 2>&5
    3574   ac_status=$?
    3575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3576   (exit $ac_status); }; } &&
    3577      { ac_try='test -s conftest.$ac_objext'
    3578   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3579   (eval $ac_try) 2>&5
    3580   ac_status=$?
    3581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3582   (exit $ac_status); }; }; then
    3583   ac_hi=-1 ac_mid=-1
    3584   while :; do
    3585     cat >conftest.$ac_ext <<_ACEOF
    3586 /* confdefs.h.  */
    3587 _ACEOF
    3588 cat confdefs.h >>conftest.$ac_ext
    3589 cat >>conftest.$ac_ext <<_ACEOF
    3590 /* end confdefs.h.  */
    3591 $ac_includes_default
    3592 int
    3593 main ()
    3594 {
    3595 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
    3596 test_array [0] = 0
    3597 
    3598   ;
    3599   return 0;
    3600 }
    3601 _ACEOF
    3602 rm -f conftest.$ac_objext
    3603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3604   (eval $ac_compile) 2>conftest.er1
    3605   ac_status=$?
    3606   grep -v '^ *+' conftest.er1 >conftest.err
    3607   rm -f conftest.er1
    3608   cat conftest.err >&5
    3609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3610   (exit $ac_status); } &&
    3611      { ac_try='test -z "$ac_c_werror_flag"
    3612              || test ! -s conftest.err'
    3613   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3614   (eval $ac_try) 2>&5
    3615   ac_status=$?
    3616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3617   (exit $ac_status); }; } &&
    3618      { ac_try='test -s conftest.$ac_objext'
    3619   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3620   (eval $ac_try) 2>&5
    3621   ac_status=$?
    3622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3623   (exit $ac_status); }; }; then
    3624   ac_lo=$ac_mid; break
    3625 else
    3626   echo "$as_me: failed program was:" >&5
    3627 sed 's/^/| /' conftest.$ac_ext >&5
    3628 
    3629 ac_hi=`expr '(' $ac_mid ')' - 1`
    3630                if test $ac_mid -le $ac_hi; then
    3631              ac_lo= ac_hi=
    3632              break
    3633                fi
    3634                ac_mid=`expr 2 '*' $ac_mid`
    3635 fi
    3636 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    3637   done
    3638 else
    3639   echo "$as_me: failed program was:" >&5
    3640 sed 's/^/| /' conftest.$ac_ext >&5
    3641 
    3642 ac_lo= ac_hi=
    3643 fi
    3644 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    3645 fi
    3646 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    3647 # Binary search between lo and hi bounds.
    3648 while test "x$ac_lo" != "x$ac_hi"; do
    3649   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
    3650   cat >conftest.$ac_ext <<_ACEOF
    3651 /* confdefs.h.  */
    3652 _ACEOF
    3653 cat confdefs.h >>conftest.$ac_ext
    3654 cat >>conftest.$ac_ext <<_ACEOF
    3655 /* end confdefs.h.  */
    3656 $ac_includes_default
    3657 int
    3658 main ()
    3659 {
    3660 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
    3661 test_array [0] = 0
    3662 
    3663   ;
    3664   return 0;
    3665 }
    3666 _ACEOF
    3667 rm -f conftest.$ac_objext
    3668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3669   (eval $ac_compile) 2>conftest.er1
    3670   ac_status=$?
    3671   grep -v '^ *+' conftest.er1 >conftest.err
    3672   rm -f conftest.er1
    3673   cat conftest.err >&5
    3674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3675   (exit $ac_status); } &&
    3676      { ac_try='test -z "$ac_c_werror_flag"
    3677              || test ! -s conftest.err'
    3678   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3679   (eval $ac_try) 2>&5
    3680   ac_status=$?
    3681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3682   (exit $ac_status); }; } &&
    3683      { ac_try='test -s conftest.$ac_objext'
    3684   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3685   (eval $ac_try) 2>&5
    3686   ac_status=$?
    3687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3688   (exit $ac_status); }; }; then
    3689   ac_hi=$ac_mid
    3690 else
    3691   echo "$as_me: failed program was:" >&5
    3692 sed 's/^/| /' conftest.$ac_ext >&5
    3693 
    3694 ac_lo=`expr '(' $ac_mid ')' + 1`
    3695 fi
    3696 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    3697 done
    3698 case $ac_lo in
    3699 ?*) ac_cv_sizeof_int=$ac_lo;;
    3700 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
    3701 See \`config.log' for more details." >&5
    3702 echo "$as_me: error: cannot compute sizeof (int), 77
    3703 See \`config.log' for more details." >&2;}
    3704    { (exit 1); exit 1; }; } ;;
    3705 esac
    3706 else
    3707   if test "$cross_compiling" = yes; then
    3708   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
    3709 See \`config.log' for more details." >&5
    3710 echo "$as_me: error: cannot run test program while cross compiling
    3711 See \`config.log' for more details." >&2;}
    3712    { (exit 1); exit 1; }; }
    3713 else
    3714   cat >conftest.$ac_ext <<_ACEOF
    3715 /* confdefs.h.  */
    3716 _ACEOF
    3717 cat confdefs.h >>conftest.$ac_ext
    3718 cat >>conftest.$ac_ext <<_ACEOF
    3719 /* end confdefs.h.  */
    3720 $ac_includes_default
    3721 long longval () { return (long) (sizeof (int)); }
    3722 unsigned long ulongval () { return (long) (sizeof (int)); }
    3723 #include <stdio.h>
    3724 #include <stdlib.h>
    3725 int
    3726 main ()
    3727 {
    3728 
    3729   FILE *f = fopen ("conftest.val", "w");
    3730   if (! f)
    3731     exit (1);
    3732   if (((long) (sizeof (int))) < 0)
    3733     {
    3734       long i = longval ();
    3735       if (i != ((long) (sizeof (int))))
    3736     exit (1);
    3737       fprintf (f, "%ld\n", i);
    3738     }
    3739   else
    3740     {
    3741       unsigned long i = ulongval ();
    3742       if (i != ((long) (sizeof (int))))
    3743     exit (1);
    3744       fprintf (f, "%lu\n", i);
    3745     }
    3746   exit (ferror (f) || fclose (f) != 0);
    3747 
    3748   ;
    3749   return 0;
    3750 }
    3751 _ACEOF
    3752 rm -f conftest$ac_exeext
    3753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    3754   (eval $ac_link) 2>&5
    3755   ac_status=$?
    3756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3757   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    3758   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3759   (eval $ac_try) 2>&5
    3760   ac_status=$?
    3761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3762   (exit $ac_status); }; }; then
    3763   ac_cv_sizeof_int=`cat conftest.val`
    3764 else
    3765   echo "$as_me: program exited with status $ac_status" >&5
    3766 echo "$as_me: failed program was:" >&5
    3767 sed 's/^/| /' conftest.$ac_ext >&5
    3768 
    3769 ( exit $ac_status )
    3770 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
    3771 See \`config.log' for more details." >&5
    3772 echo "$as_me: error: cannot compute sizeof (int), 77
    3773 See \`config.log' for more details." >&2;}
    3774    { (exit 1); exit 1; }; }
    3775 fi
    3776 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    3777 fi
    3778 fi
    3779 rm -f conftest.val
    3780 else
    3781   ac_cv_sizeof_int=0
    3782 fi
    3783 fi
    3784 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
    3785 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
     3600     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     3601$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     3602{ as_fn_set_status 77
     3603as_fn_error "cannot compute sizeof (int)
     3604See \`config.log' for more details." "$LINENO" 5; }; }
     3605   else
     3606     ac_cv_sizeof_int=0
     3607   fi
     3608fi
     3609
     3610fi
     3611{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
     3612$as_echo "$ac_cv_sizeof_int" >&6; }
     3613
     3614
     3615
    37863616cat >>confdefs.h <<_ACEOF
    37873617#define SIZEOF_INT $ac_cv_sizeof_int
     
    37893619
    37903620
    3791 echo "$as_me:$LINENO: checking for long" >&5
    3792 echo $ECHO_N "checking for long... $ECHO_C" >&6
    3793 if test "${ac_cv_type_long+set}" = set; then
    3794   echo $ECHO_N "(cached) $ECHO_C" >&6
    3795 else
    3796   cat >conftest.$ac_ext <<_ACEOF
    3797 /* confdefs.h.  */
    3798 _ACEOF
    3799 cat confdefs.h >>conftest.$ac_ext
    3800 cat >>conftest.$ac_ext <<_ACEOF
    3801 /* end confdefs.h.  */
    3802 $ac_includes_default
    3803 int
    3804 main ()
    3805 {
    3806 if ((long *) 0)
    3807   return 0;
    3808 if (sizeof (long))
    3809   return 0;
    3810   ;
    3811   return 0;
    3812 }
    3813 _ACEOF
    3814 rm -f conftest.$ac_objext
    3815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3816   (eval $ac_compile) 2>conftest.er1
    3817   ac_status=$?
    3818   grep -v '^ *+' conftest.er1 >conftest.err
    3819   rm -f conftest.er1
    3820   cat conftest.err >&5
    3821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3822   (exit $ac_status); } &&
    3823      { ac_try='test -z "$ac_c_werror_flag"
    3824              || test ! -s conftest.err'
    3825   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3826   (eval $ac_try) 2>&5
    3827   ac_status=$?
    3828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3829   (exit $ac_status); }; } &&
    3830      { ac_try='test -s conftest.$ac_objext'
    3831   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3832   (eval $ac_try) 2>&5
    3833   ac_status=$?
    3834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3835   (exit $ac_status); }; }; then
    3836   ac_cv_type_long=yes
    3837 else
    3838   echo "$as_me: failed program was:" >&5
    3839 sed 's/^/| /' conftest.$ac_ext >&5
    3840 
    3841 ac_cv_type_long=no
    3842 fi
    3843 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    3844 fi
    3845 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
    3846 echo "${ECHO_T}$ac_cv_type_long" >&6
    3847 
    3848 echo "$as_me:$LINENO: checking size of long" >&5
    3849 echo $ECHO_N "checking size of long... $ECHO_C" >&6
    3850 if test "${ac_cv_sizeof_long+set}" = set; then
    3851   echo $ECHO_N "(cached) $ECHO_C" >&6
     3621# The cast to long int works around a bug in the HP C Compiler
     3622# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
     3623# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
     3624# This bug is HP SR number 8606223364.
     3625{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
     3626$as_echo_n "checking size of long... " >&6; }
     3627if test "${ac_cv_sizeof_long+set}" = set; then :
     3628  $as_echo_n "(cached) " >&6
     3629else
     3630  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
     3631
    38523632else
    38533633  if test "$ac_cv_type_long" = yes; then
    3854   # The cast to unsigned long works around a bug in the HP C Compiler
    3855   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
    3856   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
    3857   # This bug is HP SR number 8606223364.
    3858   if test "$cross_compiling" = yes; then
    3859   # Depending upon the size, compute the lo and hi bounds.
    3860 cat >conftest.$ac_ext <<_ACEOF
    3861 /* confdefs.h.  */
    3862 _ACEOF
    3863 cat confdefs.h >>conftest.$ac_ext
    3864 cat >>conftest.$ac_ext <<_ACEOF
    3865 /* end confdefs.h.  */
    3866 $ac_includes_default
    3867 int
    3868 main ()
    3869 {
    3870 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
    3871 test_array [0] = 0
    3872 
    3873   ;
    3874   return 0;
    3875 }
    3876 _ACEOF
    3877 rm -f conftest.$ac_objext
    3878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3879   (eval $ac_compile) 2>conftest.er1
    3880   ac_status=$?
    3881   grep -v '^ *+' conftest.er1 >conftest.err
    3882   rm -f conftest.er1
    3883   cat conftest.err >&5
    3884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3885   (exit $ac_status); } &&
    3886      { ac_try='test -z "$ac_c_werror_flag"
    3887              || test ! -s conftest.err'
    3888   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3889   (eval $ac_try) 2>&5
    3890   ac_status=$?
    3891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3892   (exit $ac_status); }; } &&
    3893      { ac_try='test -s conftest.$ac_objext'
    3894   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3895   (eval $ac_try) 2>&5
    3896   ac_status=$?
    3897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3898   (exit $ac_status); }; }; then
    3899   ac_lo=0 ac_mid=0
    3900   while :; do
    3901     cat >conftest.$ac_ext <<_ACEOF
    3902 /* confdefs.h.  */
    3903 _ACEOF
    3904 cat confdefs.h >>conftest.$ac_ext
    3905 cat >>conftest.$ac_ext <<_ACEOF
    3906 /* end confdefs.h.  */
    3907 $ac_includes_default
    3908 int
    3909 main ()
    3910 {
    3911 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
    3912 test_array [0] = 0
    3913 
    3914   ;
    3915   return 0;
    3916 }
    3917 _ACEOF
    3918 rm -f conftest.$ac_objext
    3919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3920   (eval $ac_compile) 2>conftest.er1
    3921   ac_status=$?
    3922   grep -v '^ *+' conftest.er1 >conftest.err
    3923   rm -f conftest.er1
    3924   cat conftest.err >&5
    3925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3926   (exit $ac_status); } &&
    3927      { ac_try='test -z "$ac_c_werror_flag"
    3928              || test ! -s conftest.err'
    3929   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3930   (eval $ac_try) 2>&5
    3931   ac_status=$?
    3932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3933   (exit $ac_status); }; } &&
    3934      { ac_try='test -s conftest.$ac_objext'
    3935   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3936   (eval $ac_try) 2>&5
    3937   ac_status=$?
    3938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3939   (exit $ac_status); }; }; then
    3940   ac_hi=$ac_mid; break
    3941 else
    3942   echo "$as_me: failed program was:" >&5
    3943 sed 's/^/| /' conftest.$ac_ext >&5
    3944 
    3945 ac_lo=`expr $ac_mid + 1`
    3946             if test $ac_lo -le $ac_mid; then
    3947               ac_lo= ac_hi=
    3948               break
    3949             fi
    3950             ac_mid=`expr 2 '*' $ac_mid + 1`
    3951 fi
    3952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    3953   done
    3954 else
    3955   echo "$as_me: failed program was:" >&5
    3956 sed 's/^/| /' conftest.$ac_ext >&5
    3957 
    3958 cat >conftest.$ac_ext <<_ACEOF
    3959 /* confdefs.h.  */
    3960 _ACEOF
    3961 cat confdefs.h >>conftest.$ac_ext
    3962 cat >>conftest.$ac_ext <<_ACEOF
    3963 /* end confdefs.h.  */
    3964 $ac_includes_default
    3965 int
    3966 main ()
    3967 {
    3968 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
    3969 test_array [0] = 0
    3970 
    3971   ;
    3972   return 0;
    3973 }
    3974 _ACEOF
    3975 rm -f conftest.$ac_objext
    3976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3977   (eval $ac_compile) 2>conftest.er1
    3978   ac_status=$?
    3979   grep -v '^ *+' conftest.er1 >conftest.err
    3980   rm -f conftest.er1
    3981   cat conftest.err >&5
    3982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3983   (exit $ac_status); } &&
    3984      { ac_try='test -z "$ac_c_werror_flag"
    3985              || test ! -s conftest.err'
    3986   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3987   (eval $ac_try) 2>&5
    3988   ac_status=$?
    3989   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3990   (exit $ac_status); }; } &&
    3991      { ac_try='test -s conftest.$ac_objext'
    3992   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3993   (eval $ac_try) 2>&5
    3994   ac_status=$?
    3995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3996   (exit $ac_status); }; }; then
    3997   ac_hi=-1 ac_mid=-1
    3998   while :; do
    3999     cat >conftest.$ac_ext <<_ACEOF
    4000 /* confdefs.h.  */
    4001 _ACEOF
    4002 cat confdefs.h >>conftest.$ac_ext
    4003 cat >>conftest.$ac_ext <<_ACEOF
    4004 /* end confdefs.h.  */
    4005 $ac_includes_default
    4006 int
    4007 main ()
    4008 {
    4009 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
    4010 test_array [0] = 0
    4011 
    4012   ;
    4013   return 0;
    4014 }
    4015 _ACEOF
    4016 rm -f conftest.$ac_objext
    4017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4018   (eval $ac_compile) 2>conftest.er1
    4019   ac_status=$?
    4020   grep -v '^ *+' conftest.er1 >conftest.err
    4021   rm -f conftest.er1
    4022   cat conftest.err >&5
    4023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4024   (exit $ac_status); } &&
    4025      { ac_try='test -z "$ac_c_werror_flag"
    4026              || test ! -s conftest.err'
    4027   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4028   (eval $ac_try) 2>&5
    4029   ac_status=$?
    4030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4031   (exit $ac_status); }; } &&
    4032      { ac_try='test -s conftest.$ac_objext'
    4033   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4034   (eval $ac_try) 2>&5
    4035   ac_status=$?
    4036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4037   (exit $ac_status); }; }; then
    4038   ac_lo=$ac_mid; break
    4039 else
    4040   echo "$as_me: failed program was:" >&5
    4041 sed 's/^/| /' conftest.$ac_ext >&5
    4042 
    4043 ac_hi=`expr '(' $ac_mid ')' - 1`
    4044                if test $ac_mid -le $ac_hi; then
    4045              ac_lo= ac_hi=
    4046              break
    4047                fi
    4048                ac_mid=`expr 2 '*' $ac_mid`
    4049 fi
    4050 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4051   done
    4052 else
    4053   echo "$as_me: failed program was:" >&5
    4054 sed 's/^/| /' conftest.$ac_ext >&5
    4055 
    4056 ac_lo= ac_hi=
    4057 fi
    4058 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4059 fi
    4060 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4061 # Binary search between lo and hi bounds.
    4062 while test "x$ac_lo" != "x$ac_hi"; do
    4063   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
    4064   cat >conftest.$ac_ext <<_ACEOF
    4065 /* confdefs.h.  */
    4066 _ACEOF
    4067 cat confdefs.h >>conftest.$ac_ext
    4068 cat >>conftest.$ac_ext <<_ACEOF
    4069 /* end confdefs.h.  */
    4070 $ac_includes_default
    4071 int
    4072 main ()
    4073 {
    4074 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
    4075 test_array [0] = 0
    4076 
    4077   ;
    4078   return 0;
    4079 }
    4080 _ACEOF
    4081 rm -f conftest.$ac_objext
    4082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4083   (eval $ac_compile) 2>conftest.er1
    4084   ac_status=$?
    4085   grep -v '^ *+' conftest.er1 >conftest.err
    4086   rm -f conftest.er1
    4087   cat conftest.err >&5
    4088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4089   (exit $ac_status); } &&
    4090      { ac_try='test -z "$ac_c_werror_flag"
    4091              || test ! -s conftest.err'
    4092   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4093   (eval $ac_try) 2>&5
    4094   ac_status=$?
    4095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4096   (exit $ac_status); }; } &&
    4097      { ac_try='test -s conftest.$ac_objext'
    4098   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4099   (eval $ac_try) 2>&5
    4100   ac_status=$?
    4101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4102   (exit $ac_status); }; }; then
    4103   ac_hi=$ac_mid
    4104 else
    4105   echo "$as_me: failed program was:" >&5
    4106 sed 's/^/| /' conftest.$ac_ext >&5
    4107 
    4108 ac_lo=`expr '(' $ac_mid ')' + 1`
    4109 fi
    4110 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4111 done
    4112 case $ac_lo in
    4113 ?*) ac_cv_sizeof_long=$ac_lo;;
    4114 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
    4115 See \`config.log' for more details." >&5
    4116 echo "$as_me: error: cannot compute sizeof (long), 77
    4117 See \`config.log' for more details." >&2;}
    4118    { (exit 1); exit 1; }; } ;;
    4119 esac
    4120 else
    4121   if test "$cross_compiling" = yes; then
    4122   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
    4123 See \`config.log' for more details." >&5
    4124 echo "$as_me: error: cannot run test program while cross compiling
    4125 See \`config.log' for more details." >&2;}
    4126    { (exit 1); exit 1; }; }
    4127 else
    4128   cat >conftest.$ac_ext <<_ACEOF
    4129 /* confdefs.h.  */
    4130 _ACEOF
    4131 cat confdefs.h >>conftest.$ac_ext
    4132 cat >>conftest.$ac_ext <<_ACEOF
    4133 /* end confdefs.h.  */
    4134 $ac_includes_default
    4135 long longval () { return (long) (sizeof (long)); }
    4136 unsigned long ulongval () { return (long) (sizeof (long)); }
    4137 #include <stdio.h>
    4138 #include <stdlib.h>
    4139 int
    4140 main ()
    4141 {
    4142 
    4143   FILE *f = fopen ("conftest.val", "w");
    4144   if (! f)
    4145     exit (1);
    4146   if (((long) (sizeof (long))) < 0)
    4147     {
    4148       long i = longval ();
    4149       if (i != ((long) (sizeof (long))))
    4150     exit (1);
    4151       fprintf (f, "%ld\n", i);
    4152     }
    4153   else
    4154     {
    4155       unsigned long i = ulongval ();
    4156       if (i != ((long) (sizeof (long))))
    4157     exit (1);
    4158       fprintf (f, "%lu\n", i);
    4159     }
    4160   exit (ferror (f) || fclose (f) != 0);
    4161 
    4162   ;
    4163   return 0;
    4164 }
    4165 _ACEOF
    4166 rm -f conftest$ac_exeext
    4167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4168   (eval $ac_link) 2>&5
    4169   ac_status=$?
    4170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4171   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    4172   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4173   (eval $ac_try) 2>&5
    4174   ac_status=$?
    4175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4176   (exit $ac_status); }; }; then
    4177   ac_cv_sizeof_long=`cat conftest.val`
    4178 else
    4179   echo "$as_me: program exited with status $ac_status" >&5
    4180 echo "$as_me: failed program was:" >&5
    4181 sed 's/^/| /' conftest.$ac_ext >&5
    4182 
    4183 ( exit $ac_status )
    4184 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
    4185 See \`config.log' for more details." >&5
    4186 echo "$as_me: error: cannot compute sizeof (long), 77
    4187 See \`config.log' for more details." >&2;}
    4188    { (exit 1); exit 1; }; }
    4189 fi
    4190 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    4191 fi
    4192 fi
    4193 rm -f conftest.val
    4194 else
    4195   ac_cv_sizeof_long=0
    4196 fi
    4197 fi
    4198 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
    4199 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
     3634     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     3635$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     3636{ as_fn_set_status 77
     3637as_fn_error "cannot compute sizeof (long)
     3638See \`config.log' for more details." "$LINENO" 5; }; }
     3639   else
     3640     ac_cv_sizeof_long=0
     3641   fi
     3642fi
     3643
     3644fi
     3645{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
     3646$as_echo "$ac_cv_sizeof_long" >&6; }
     3647
     3648
     3649
    42003650cat >>confdefs.h <<_ACEOF
    42013651#define SIZEOF_LONG $ac_cv_sizeof_long
     
    42063656######## check for the JDK and tools within the JDK
    42073657######## look in the JAVA_HOME environment variable at configure-time
    4208 echo "$as_me:$LINENO: checking for the JDK" >&5
    4209 echo $ECHO_N "checking for the JDK... $ECHO_C" >&6
     3658{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for the JDK" >&5
     3659$as_echo_n "checking for the JDK... " >&6; }
    42103660if test "z$JAVA_HOME" != z &&
    42113661   test -d $JAVA_HOME &&
     
    42133663then
    42143664
    4215     echo "$as_me:$LINENO: result: found in $JAVA_HOME" >&5
    4216 echo "${ECHO_T}found in $JAVA_HOME" >&6
    4217 else
    4218     { { echo "$as_me:$LINENO: error: not found in \$JAVA_HOME" >&5
    4219 echo "$as_me: error: not found in \$JAVA_HOME" >&2;}
    4220    { (exit 1); exit 1; }; }
     3665    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $JAVA_HOME" >&5
     3666$as_echo "found in $JAVA_HOME" >&6; }
     3667else
     3668    as_fn_error "not found in \$JAVA_HOME" "$LINENO" 5
    42213669fi
    42223670
     
    42283676# Extract the first word of "javah", so it can be a program name with args.
    42293677set dummy javah; ac_word=$2
    4230 echo "$as_me:$LINENO: checking for $ac_word" >&5
    4231 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    4232 if test "${ac_cv_path_javagdbm_cv_path_javah+set}" = set; then
    4233   echo $ECHO_N "(cached) $ECHO_C" >&6
     3678{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3679$as_echo_n "checking for $ac_word... " >&6; }
     3680if test "${ac_cv_path_javagdbm_cv_path_javah+set}" = set; then :
     3681  $as_echo_n "(cached) " >&6
    42343682else
    42353683  case $javagdbm_cv_path_javah in
     
    42433691  IFS=$as_save_IFS
    42443692  test -z "$as_dir" && as_dir=.
    4245   for ac_exec_ext in '' $ac_executable_extensions; do
    4246   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3693    for ac_exec_ext in '' $ac_executable_extensions; do
     3694  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    42473695    ac_cv_path_javagdbm_cv_path_javah="$as_dir/$ac_word$ac_exec_ext"
    4248     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3696    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    42493697    break 2
    42503698  fi
    42513699done
    4252 done
     3700  done
     3701IFS=$as_save_IFS
    42533702
    42543703  test -z "$ac_cv_path_javagdbm_cv_path_javah" && ac_cv_path_javagdbm_cv_path_javah="missing_javah"
     
    42573706fi
    42583707javagdbm_cv_path_javah=$ac_cv_path_javagdbm_cv_path_javah
    4259 
    42603708if test -n "$javagdbm_cv_path_javah"; then
    4261   echo "$as_me:$LINENO: result: $javagdbm_cv_path_javah" >&5
    4262 echo "${ECHO_T}$javagdbm_cv_path_javah" >&6
    4263 else
    4264   echo "$as_me:$LINENO: result: no" >&5
    4265 echo "${ECHO_T}no" >&6
    4266 fi
     3709  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $javagdbm_cv_path_javah" >&5
     3710$as_echo "$javagdbm_cv_path_javah" >&6; }
     3711else
     3712  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3713$as_echo "no" >&6; }
     3714fi
     3715
    42673716
    42683717if test "$javagdbm_cv_path_javah" = missing_javah; then
    4269     { { echo "$as_me:$LINENO: error: javah not found." >&5
    4270 echo "$as_me: error: javah not found." >&2;}
    4271    { (exit 1); exit 1; }; }
     3718    as_fn_error "javah not found." "$LINENO" 5
    42723719fi
    42733720
    42743721# Extract the first word of "java", so it can be a program name with args.
    42753722set dummy java; ac_word=$2
    4276 echo "$as_me:$LINENO: checking for $ac_word" >&5
    4277 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    4278 if test "${ac_cv_path_javagdbm_cv_path_java+set}" = set; then
    4279   echo $ECHO_N "(cached) $ECHO_C" >&6
     3723{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3724$as_echo_n "checking for $ac_word... " >&6; }
     3725if test "${ac_cv_path_javagdbm_cv_path_java+set}" = set; then :
     3726  $as_echo_n "(cached) " >&6
    42803727else
    42813728  case $javagdbm_cv_path_java in
     
    42893736  IFS=$as_save_IFS
    42903737  test -z "$as_dir" && as_dir=.
    4291   for ac_exec_ext in '' $ac_executable_extensions; do
    4292   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3738    for ac_exec_ext in '' $ac_executable_extensions; do
     3739  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    42933740    ac_cv_path_javagdbm_cv_path_java="$as_dir/$ac_word$ac_exec_ext"
    4294     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3741    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    42953742    break 2
    42963743  fi
    42973744done
    4298 done
     3745  done
     3746IFS=$as_save_IFS
    42993747
    43003748  test -z "$ac_cv_path_javagdbm_cv_path_java" && ac_cv_path_javagdbm_cv_path_java="missing"
     
    43033751fi
    43043752javagdbm_cv_path_java=$ac_cv_path_javagdbm_cv_path_java
    4305 
    43063753if test -n "$javagdbm_cv_path_java"; then
    4307   echo "$as_me:$LINENO: result: $javagdbm_cv_path_java" >&5
    4308 echo "${ECHO_T}$javagdbm_cv_path_java" >&6
    4309 else
    4310   echo "$as_me:$LINENO: result: no" >&5
    4311 echo "${ECHO_T}no" >&6
    4312 fi
     3754  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $javagdbm_cv_path_java" >&5
     3755$as_echo "$javagdbm_cv_path_java" >&6; }
     3756else
     3757  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3758$as_echo "no" >&6; }
     3759fi
     3760
    43133761
    43143762if test "$javagdbm_cv_path_java" = missing; then
    4315     { { echo "$as_me:$LINENO: error: java not found." >&5
    4316 echo "$as_me: error: java not found." >&2;}
    4317    { (exit 1); exit 1; }; }
     3763    as_fn_error "java not found." "$LINENO" 5
    43183764fi
    43193765
     
    43293775
    43303776
    4331 echo "$as_me:$LINENO: checking that the GDBM library is available" >&5
    4332 echo $ECHO_N "checking that the GDBM library is available... $ECHO_C" >&6
     3777{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that the GDBM library is available" >&5
     3778$as_echo_n "checking that the GDBM library is available... " >&6; }
    43333779if test ! -z "$gdbmdir" ; then
    43343780  # look in given directory for header file
     
    43493795
    43503796  if test ! -z "$GDBM_LIBPATH" -a ! -z "$GDBM_INCLUDE" ; then
    4351     echo "$as_me:$LINENO: result: $gdbmdir" >&5
    4352 echo "${ECHO_T}$gdbmdir" >&6 ;
     3797    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gdbmdir" >&5
     3798$as_echo "$gdbmdir" >&6; } ;
    43533799  else
    4354     echo "$as_me:$LINENO: result: can't find gdbm.h and libgdbm.a in $gdbmdir" >&5
    4355 echo "${ECHO_T}can't find gdbm.h and libgdbm.a in $gdbmdir" >&6;
    4356     echo "$as_me:$LINENO: checking looking for GDBM library in default locations" >&5
    4357 echo $ECHO_N "checking looking for GDBM library in default locations... $ECHO_C" >&6
     3800    { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't find gdbm.h and libgdbm.a in $gdbmdir" >&5
     3801$as_echo "can't find gdbm.h and libgdbm.a in $gdbmdir" >&6; };
     3802    { $as_echo "$as_me:${as_lineno-$LINENO}: checking looking for GDBM library in default locations" >&5
     3803$as_echo_n "checking looking for GDBM library in default locations... " >&6; }
    43583804  fi
    43593805fi
     
    43623808if test -z "$GDBM_INCLUDE" ; then
    43633809  # try in system directory
    4364   cat >conftest.$ac_ext <<_ACEOF
    4365 /* confdefs.h.  */
    4366 _ACEOF
    4367 cat confdefs.h >>conftest.$ac_ext
    4368 cat >>conftest.$ac_ext <<_ACEOF
     3810  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    43693811/* end confdefs.h.  */
    43703812#include <gdbm.h>
     
    43783820}
    43793821_ACEOF
    4380 rm -f conftest.$ac_objext
    4381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4382   (eval $ac_compile) 2>conftest.er1
    4383   ac_status=$?
    4384   grep -v '^ *+' conftest.er1 >conftest.err
    4385   rm -f conftest.er1
    4386   cat conftest.err >&5
    4387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4388   (exit $ac_status); } &&
    4389      { ac_try='test -z "$ac_c_werror_flag"
    4390              || test ! -s conftest.err'
    4391   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4392   (eval $ac_try) 2>&5
    4393   ac_status=$?
    4394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4395   (exit $ac_status); }; } &&
    4396      { ac_try='test -s conftest.$ac_objext'
    4397   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4398   (eval $ac_try) 2>&5
    4399   ac_status=$?
    4400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4401   (exit $ac_status); }; }; then
     3822if ac_fn_c_try_compile "$LINENO"; then :
    44023823  success=yes
    44033824else
    4404   echo "$as_me: failed program was:" >&5
    4405 sed 's/^/| /' conftest.$ac_ext >&5
    4406 
    4407 success=no
    4408 
    4409 fi
    4410 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     3825  success=no
     3826
     3827fi
     3828rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    44113829
    44123830  if test $success = "no"; then
     
    44183836      CXXFLAGS="$CXXFLAGS -I/usr/local/include"
    44193837      LIBS="$LIBS -L/usr/local/lib -lgdbm"
    4420       cat >conftest.$ac_ext <<_ACEOF
    4421 /* confdefs.h.  */
    4422 _ACEOF
    4423 cat confdefs.h >>conftest.$ac_ext
    4424 cat >>conftest.$ac_ext <<_ACEOF
     3838      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    44253839/* end confdefs.h.  */
    44263840#include <gdbm.h>
     
    44353849}
    44363850_ACEOF
    4437 rm -f conftest.$ac_objext conftest$ac_exeext
    4438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4439   (eval $ac_link) 2>conftest.er1
    4440   ac_status=$?
    4441   grep -v '^ *+' conftest.er1 >conftest.err
    4442   rm -f conftest.er1
    4443   cat conftest.err >&5
    4444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4445   (exit $ac_status); } &&
    4446      { ac_try='test -z "$ac_c_werror_flag"
    4447              || test ! -s conftest.err'
    4448   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4449   (eval $ac_try) 2>&5
    4450   ac_status=$?
    4451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4452   (exit $ac_status); }; } &&
    4453      { ac_try='test -s conftest$ac_exeext'
    4454   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4455   (eval $ac_try) 2>&5
    4456   ac_status=$?
    4457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4458   (exit $ac_status); }; }; then
     3851if ac_fn_c_try_link "$LINENO"; then :
    44593852  success=/usr/local
    44603853else
    4461   echo "$as_me: failed program was:" >&5
    4462 sed 's/^/| /' conftest.$ac_ext >&5
    4463 
    4464 success=no
    4465 
    4466 fi
    4467 rm -f conftest.err conftest.$ac_objext \
    4468       conftest$ac_exeext conftest.$ac_ext
     3854  success=no
     3855
     3856fi
     3857rm -f core conftest.err conftest.$ac_objext \
     3858    conftest$ac_exeext conftest.$ac_ext
    44693859      CXXFLAGS=$ac_save_CXXFLAGS
    44703860      LIBS=$ac_save_LIBS
    44713861  fi
    44723862
    4473   echo "$as_me:$LINENO: result: $success" >&5
    4474 echo "${ECHO_T}$success" >&6
     3863  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $success" >&5
     3864$as_echo "$success" >&6; }
    44753865  if test $success = "no"; then
    4476   { { echo "$as_me:$LINENO: error: GDBM Library not available - cannot install" >&5
    4477 echo "$as_me: error: GDBM Library not available - cannot install" >&2;}
    4478    { (exit 1); exit 1; }; }
     3866  as_fn_error "GDBM Library not available - cannot install" "$LINENO" 5
    44793867  fi
    44803868fi
    4481 cat >>confdefs.h <<\_ACEOF
    4482 #define HAVE_LIBGDBM  1
    4483 _ACEOF
     3869$as_echo "#define HAVE_LIBGDBM  1" >>confdefs.h
    44843870
    44853871
     
    44993885# a non-standard Path
    45003886# is there a better way to do this??
    4501 echo "$as_me:$LINENO: checking for OS to set JNI options" >&5
    4502 echo $ECHO_N "checking for OS to set JNI options... $ECHO_C" >&6
     3887{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OS to set JNI options" >&5
     3888$as_echo_n "checking for OS to set JNI options... " >&6; }
    45033889# set defaults
    45043890JNIINC=""
     
    45073893
    45083894if test "`(uname -s) 2> /dev/null`" = 'Darwin'; then
    4509   echo "$as_me:$LINENO: result: Darwin" >&5
    4510 echo "${ECHO_T}Darwin" >&6
     3895  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Darwin" >&5
     3896$as_echo "Darwin" >&6; }
    45113897  JNIINC="-I/System/Library/Frameworks/JavaVM.framework/Headers/ "
    45123898  JNISUFFIX="jnilib"
     
    45143900fi
    45153901if test "`(uname -s) 2> /dev/null`" = 'SunOS'; then
    4516   echo "$as_me:$LINENO: result: Solaris" >&5
    4517 echo "${ECHO_T}Solaris" >&6
     3902  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Solaris" >&5
     3903$as_echo "Solaris" >&6; }
    45183904  JNIINC="-I\$(JAVA_HOME)/include/solaris "
    45193905fi
    45203906if test "`(uname -s) 2> /dev/null`" = 'Linux'; then
    4521   echo "$as_me:$LINENO: result: Linux" >&5
    4522 echo "${ECHO_T}Linux" >&6
     3907  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Linux" >&5
     3908$as_echo "Linux" >&6; }
    45233909  JNIINC="-I\$(JAVA_HOME)/include/linux "
    45243910fi
     
    45293915
    45303916# write the output
    4531                               ac_config_files="$ac_config_files Makefile jni/Makefile java/Makefile"
     3917ac_config_files="$ac_config_files Makefile jni/Makefile java/Makefile"
     3918
    45323919cat >confcache <<\_ACEOF
    45333920# This file is a shell script that caches the results of configure
     
    45483935# The following way of writing the cache mishandles newlines in values,
    45493936# but we know of no workaround that is simple, portable, and efficient.
    4550 # So, don't put newlines in cache variables' values.
     3937# So, we kill variables containing newlines.
    45513938# Ultrix sh set writes to stderr and can't be redirected directly,
    45523939# and sets the high bit in the cache file unless we assign to the vars.
    4553 {
     3940(
     3941  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
     3942    eval ac_val=\$$ac_var
     3943    case $ac_val in #(
     3944    *${as_nl}*)
     3945      case $ac_var in #(
     3946      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
     3947$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
     3948      esac
     3949      case $ac_var in #(
     3950      _ | IFS | as_nl) ;; #(
     3951      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
     3952      *) { eval $ac_var=; unset $ac_var;} ;;
     3953      esac ;;
     3954    esac
     3955  done
     3956
    45543957  (set) 2>&1 |
    4555     case `(ac_space=' '; set | grep ac_space) 2>&1` in
    4556     *ac_space=\ *)
    4557       # `set' does not quote correctly, so add quotes (double-quote
    4558       # substitution turns \\\\ into \\, and sed turns \\ into \).
     3958    case $as_nl`(ac_space=' '; set) 2>&1` in #(
     3959    *${as_nl}ac_space=\ *)
     3960      # `set' does not quote correctly, so add quotes: double-quote
     3961      # substitution turns \\\\ into \\, and sed turns \\ into \.
    45593962      sed -n \
    45603963    "s/'/'\\\\''/g;
    45613964      s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
    4562       ;;
     3965      ;; #(
    45633966    *)
    45643967      # `set' quotes correctly as required by POSIX, so do not add quotes.
    4565       sed -n \
    4566     "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
     3968      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
    45673969      ;;
    4568     esac;
    4569 } |
     3970    esac |
     3971    sort
     3972) |
    45703973  sed '
     3974     /^ac_cv_env_/b end
    45713975     t clear
    4572      : clear
     3976     :clear
    45733977     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
    45743978     t end
    4575      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
    4576      : end' >>confcache
    4577 if diff $cache_file confcache >/dev/null 2>&1; then :; else
    4578   if test -w $cache_file; then
    4579     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
     3979     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
     3980     :end' >>confcache
     3981if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
     3982  if test -w "$cache_file"; then
     3983    test "x$cache_file" != "x/dev/null" &&
     3984      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
     3985$as_echo "$as_me: updating cache $cache_file" >&6;}
    45803986    cat confcache >$cache_file
    45813987  else
    4582     echo "not updating unwritable cache $cache_file"
     3988    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
     3989$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
    45833990  fi
    45843991fi
     
    45883995# Let make expand exec_prefix.
    45893996test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
     3997
     3998# Transform confdefs.h into DEFS.
     3999# Protect against shell expansion while executing Makefile rules.
     4000# Protect against Makefile macro expansion.
     4001#
     4002# If the first sed substitution is executed (which looks for macros that
     4003# take arguments), then branch to the quote section.  Otherwise,
     4004# look for a macro that doesn't take arguments.
     4005ac_script='
     4006:mline
     4007/\\$/{
     4008 N
     4009 s,\\\n,,
     4010 b mline
     4011}
     4012t clear
     4013:clear
     4014s/^[     ]*#[    ]*define[   ][  ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
     4015t quote
     4016s/^[     ]*#[    ]*define[   ][  ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
     4017t quote
     4018b any
     4019:quote
     4020s/[  `~#$^&*(){}\\|;'\''"<>?]/\\&/g
     4021s/\[/\\&/g
     4022s/\]/\\&/g
     4023s/\$/$$/g
     4024H
     4025:any
     4026${
     4027    g
     4028    s/^\n//
     4029    s/\n/ /g
     4030    p
     4031}
     4032'
     4033DEFS=`sed -n "$ac_script" confdefs.h`
     4034
     4035
     4036ac_libobjs=
     4037ac_ltlibobjs=
     4038for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
     4039  # 1. Remove the extension, and $U if already installed.
     4040  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
     4041  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
     4042  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
     4043  #    will be set to the directory where LIBOBJS objects are built.
     4044  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
     4045  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
     4046done
     4047LIBOBJS=$ac_libobjs
     4048
     4049LTLIBOBJS=$ac_ltlibobjs
     4050
     4051
     4052
     4053: ${CONFIG_STATUS=./config.status}
     4054ac_write_fail=0
     4055ac_clean_files_save=$ac_clean_files
     4056ac_clean_files="$ac_clean_files $CONFIG_STATUS"
     4057{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
     4058$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
     4059as_write_fail=0
     4060cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
     4061#! $SHELL
     4062# Generated by $as_me.
     4063# Run this file to recreate the current configuration.
     4064# Compiler output produced by configure, useful for debugging
     4065# configure, is in config.log if it exists.
     4066
     4067debug=false
     4068ac_cs_recheck=false
     4069ac_cs_silent=false
     4070
     4071SHELL=\${CONFIG_SHELL-$SHELL}
     4072export SHELL
     4073_ASEOF
     4074cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
     4075## -------------------- ##
     4076## M4sh Initialization. ##
     4077## -------------------- ##
     4078
     4079# Be more Bourne compatible
     4080DUALCASE=1; export DUALCASE # for MKS sh
     4081if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     4082  emulate sh
     4083  NULLCMD=:
     4084  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     4085  # is contrary to our usage.  Disable this feature.
     4086  alias -g '${1+"$@"}'='"$@"'
     4087  setopt NO_GLOB_SUBST
     4088else
     4089  case `(set -o) 2>/dev/null` in #(
     4090  *posix*) :
     4091    set -o posix ;; #(
     4092  *) :
     4093     ;;
     4094esac
     4095fi
     4096
     4097
     4098as_nl='
     4099'
     4100export as_nl
     4101# Printing a long string crashes Solaris 7 /usr/bin/printf.
     4102as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     4103as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     4104as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     4105# Prefer a ksh shell builtin over an external printf program on Solaris,
     4106# but without wasting forks for bash or zsh.
     4107if test -z "$BASH_VERSION$ZSH_VERSION" \
     4108    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     4109  as_echo='print -r --'
     4110  as_echo_n='print -rn --'
     4111elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     4112  as_echo='printf %s\n'
     4113  as_echo_n='printf %s'
     4114else
     4115  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     4116    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     4117    as_echo_n='/usr/ucb/echo -n'
     4118  else
     4119    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     4120    as_echo_n_body='eval
     4121      arg=$1;
     4122      case $arg in #(
     4123      *"$as_nl"*)
     4124    expr "X$arg" : "X\\(.*\\)$as_nl";
     4125    arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     4126      esac;
     4127      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     4128    '
     4129    export as_echo_n_body
     4130    as_echo_n='sh -c $as_echo_n_body as_echo'
     4131  fi
     4132  export as_echo_body
     4133  as_echo='sh -c $as_echo_body as_echo'
     4134fi
     4135
     4136# The user is always right.
     4137if test "${PATH_SEPARATOR+set}" != set; then
     4138  PATH_SEPARATOR=:
     4139  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     4140    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     4141      PATH_SEPARATOR=';'
     4142  }
     4143fi
     4144
     4145
     4146# IFS
     4147# We need space, tab and new line, in precisely that order.  Quoting is
     4148# there to prevent editors from complaining about space-tab.
     4149# (If _AS_PATH_WALK were called with IFS unset, it would disable word
     4150# splitting by setting IFS to empty value.)
     4151IFS=" ""    $as_nl"
     4152
     4153# Find who we are.  Look in the path if we contain no directory separator.
     4154case $0 in #((
     4155  *[\\/]* ) as_myself=$0 ;;
     4156  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4157for as_dir in $PATH
     4158do
     4159  IFS=$as_save_IFS
     4160  test -z "$as_dir" && as_dir=.
     4161    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     4162  done
     4163IFS=$as_save_IFS
     4164
     4165     ;;
     4166esac
     4167# We did not find ourselves, most probably we were run as `sh COMMAND'
     4168# in which case we are not to be found in the path.
     4169if test "x$as_myself" = x; then
     4170  as_myself=$0
     4171fi
     4172if test ! -f "$as_myself"; then
     4173  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
     4174  exit 1
     4175fi
     4176
     4177# Unset variables that we do not need and which cause bugs (e.g. in
     4178# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
     4179# suppresses any "Segmentation fault" message there.  '((' could
     4180# trigger a bug in pdksh 5.2.14.
     4181for as_var in BASH_ENV ENV MAIL MAILPATH
     4182do eval test x\${$as_var+set} = xset \
     4183  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
     4184done
     4185PS1='$ '
     4186PS2='> '
     4187PS4='+ '
     4188
     4189# NLS nuisances.
     4190LC_ALL=C
     4191export LC_ALL
     4192LANGUAGE=C
     4193export LANGUAGE
     4194
     4195# CDPATH.
     4196(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
     4197
     4198
     4199# as_fn_error ERROR [LINENO LOG_FD]
     4200# ---------------------------------
     4201# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
     4202# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
     4203# script with status $?, using 1 if that was 0.
     4204as_fn_error ()
     4205{
     4206  as_status=$?; test $as_status -eq 0 && as_status=1
     4207  if test "$3"; then
     4208    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     4209    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
     4210  fi
     4211  $as_echo "$as_me: error: $1" >&2
     4212  as_fn_exit $as_status
     4213} # as_fn_error
     4214
     4215
     4216# as_fn_set_status STATUS
     4217# -----------------------
     4218# Set $? to STATUS, without forking.
     4219as_fn_set_status ()
     4220{
     4221  return $1
     4222} # as_fn_set_status
     4223
     4224# as_fn_exit STATUS
     4225# -----------------
     4226# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
     4227as_fn_exit ()
     4228{
     4229  set +e
     4230  as_fn_set_status $1
     4231  exit $1
     4232} # as_fn_exit
     4233
     4234# as_fn_unset VAR
     4235# ---------------
     4236# Portably unset VAR.
     4237as_fn_unset ()
     4238{
     4239  { eval $1=; unset $1;}
     4240}
     4241as_unset=as_fn_unset
     4242# as_fn_append VAR VALUE
     4243# ----------------------
     4244# Append the text in VALUE to the end of the definition contained in VAR. Take
     4245# advantage of any shell optimizations that allow amortized linear growth over
     4246# repeated appends, instead of the typical quadratic growth present in naive
     4247# implementations.
     4248if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
     4249  eval 'as_fn_append ()
     4250  {
     4251    eval $1+=\$2
     4252  }'
     4253else
     4254  as_fn_append ()
     4255  {
     4256    eval $1=\$$1\$2
     4257  }
     4258fi # as_fn_append
     4259
     4260# as_fn_arith ARG...
     4261# ------------------
     4262# Perform arithmetic evaluation on the ARGs, and store the result in the
     4263# global $as_val. Take advantage of shells that can avoid forks. The arguments
     4264# must be portable across $(()) and expr.
     4265if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
     4266  eval 'as_fn_arith ()
     4267  {
     4268    as_val=$(( $* ))
     4269  }'
     4270else
     4271  as_fn_arith ()
     4272  {
     4273    as_val=`expr "$@" || test $? -eq 1`
     4274  }
     4275fi # as_fn_arith
     4276
     4277
     4278if expr a : '\(a\)' >/dev/null 2>&1 &&
     4279   test "X`expr 00001 : '.*\(...\)'`" = X001; then
     4280  as_expr=expr
     4281else
     4282  as_expr=false
     4283fi
     4284
     4285if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
     4286  as_basename=basename
     4287else
     4288  as_basename=false
     4289fi
     4290
     4291if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
     4292  as_dirname=dirname
     4293else
     4294  as_dirname=false
     4295fi
     4296
     4297as_me=`$as_basename -- "$0" ||
     4298$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
     4299     X"$0" : 'X\(//\)$' \| \
     4300     X"$0" : 'X\(/\)' \| . 2>/dev/null ||
     4301$as_echo X/"$0" |
     4302    sed '/^.*\/\([^/][^/]*\)\/*$/{
     4303        s//\1/
     4304        q
     4305      }
     4306      /^X\/\(\/\/\)$/{
     4307        s//\1/
     4308        q
     4309      }
     4310      /^X\/\(\/\).*/{
     4311        s//\1/
     4312        q
     4313      }
     4314      s/.*/./; q'`
     4315
     4316# Avoid depending upon Character Ranges.
     4317as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     4318as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     4319as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     4320as_cr_digits='0123456789'
     4321as_cr_alnum=$as_cr_Letters$as_cr_digits
     4322
     4323ECHO_C= ECHO_N= ECHO_T=
     4324case `echo -n x` in #(((((
     4325-n*)
     4326  case `echo 'xy\c'` in
     4327  *c*) ECHO_T=' ';; # ECHO_T is single tab character.
     4328  xy)  ECHO_C='\c';;
     4329  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
     4330       ECHO_T=' ';;
     4331  esac;;
     4332*)
     4333  ECHO_N='-n';;
     4334esac
     4335
     4336rm -f conf$$ conf$$.exe conf$$.file
     4337if test -d conf$$.dir; then
     4338  rm -f conf$$.dir/conf$$.file
     4339else
     4340  rm -f conf$$.dir
     4341  mkdir conf$$.dir 2>/dev/null
     4342fi
     4343if (echo >conf$$.file) 2>/dev/null; then
     4344  if ln -s conf$$.file conf$$ 2>/dev/null; then
     4345    as_ln_s='ln -s'
     4346    # ... but there are two gotchas:
     4347    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
     4348    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
     4349    # In both cases, we have to default to `cp -p'.
     4350    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
     4351      as_ln_s='cp -p'
     4352  elif ln conf$$.file conf$$ 2>/dev/null; then
     4353    as_ln_s=ln
     4354  else
     4355    as_ln_s='cp -p'
     4356  fi
     4357else
     4358  as_ln_s='cp -p'
     4359fi
     4360rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
     4361rmdir conf$$.dir 2>/dev/null
     4362
     4363
     4364# as_fn_mkdir_p
     4365# -------------
     4366# Create "$as_dir" as a directory, including parents if necessary.
     4367as_fn_mkdir_p ()
     4368{
     4369
     4370  case $as_dir in #(
     4371  -*) as_dir=./$as_dir;;
     4372  esac
     4373  test -d "$as_dir" || eval $as_mkdir_p || {
     4374    as_dirs=
     4375    while :; do
     4376      case $as_dir in #(
     4377      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
     4378      *) as_qdir=$as_dir;;
     4379      esac
     4380      as_dirs="'$as_qdir' $as_dirs"
     4381      as_dir=`$as_dirname -- "$as_dir" ||
     4382$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     4383     X"$as_dir" : 'X\(//\)[^/]' \| \
     4384     X"$as_dir" : 'X\(//\)$' \| \
     4385     X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
     4386$as_echo X"$as_dir" |
     4387    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     4388        s//\1/
     4389        q
     4390      }
     4391      /^X\(\/\/\)[^/].*/{
     4392        s//\1/
     4393        q
     4394      }
     4395      /^X\(\/\/\)$/{
     4396        s//\1/
     4397        q
     4398      }
     4399      /^X\(\/\).*/{
     4400        s//\1/
     4401        q
     4402      }
     4403      s/.*/./; q'`
     4404      test -d "$as_dir" && break
     4405    done
     4406    test -z "$as_dirs" || eval "mkdir $as_dirs"
     4407  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
     4408
     4409
     4410} # as_fn_mkdir_p
     4411if mkdir -p . 2>/dev/null; then
     4412  as_mkdir_p='mkdir -p "$as_dir"'
     4413else
     4414  test -d ./-p && rmdir ./-p
     4415  as_mkdir_p=false
     4416fi
     4417
     4418if test -x / >/dev/null 2>&1; then
     4419  as_test_x='test -x'
     4420else
     4421  if ls -dL / >/dev/null 2>&1; then
     4422    as_ls_L_option=L
     4423  else
     4424    as_ls_L_option=
     4425  fi
     4426  as_test_x='
     4427    eval sh -c '\''
     4428      if test -d "$1"; then
     4429    test -d "$1/.";
     4430      else
     4431    case $1 in #(
     4432    -*)set "./$1";;
     4433    esac;
     4434    case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
     4435    ???[sx]*):;;*)false;;esac;fi
     4436    '\'' sh
     4437  '
     4438fi
     4439as_executable_p=$as_test_x
     4440
     4441# Sed expression to map a string onto a valid CPP name.
     4442as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
     4443
     4444# Sed expression to map a string onto a valid variable name.
     4445as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
     4446
     4447
     4448exec 6>&1
     4449## ----------------------------------- ##
     4450## Main body of $CONFIG_STATUS script. ##
     4451## ----------------------------------- ##
     4452_ASEOF
     4453test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
     4454
     4455cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     4456# Save the log message, to keep $0 and so on meaningful, and to
     4457# report actual input values of CONFIG_FILES etc. instead of their
     4458# values after options handling.
     4459ac_log="
     4460This file was extended by $as_me, which was
     4461generated by GNU Autoconf 2.65.  Invocation command line was
     4462
     4463  CONFIG_FILES    = $CONFIG_FILES
     4464  CONFIG_HEADERS  = $CONFIG_HEADERS
     4465  CONFIG_LINKS    = $CONFIG_LINKS
     4466  CONFIG_COMMANDS = $CONFIG_COMMANDS
     4467  $ $0 $@
     4468
     4469on `(hostname || uname -n) 2>/dev/null | sed 1q`
     4470"
     4471
     4472_ACEOF
     4473
     4474case $ac_config_files in *"
     4475"*) set x $ac_config_files; shift; ac_config_files=$*;;
     4476esac
     4477
     4478
     4479
     4480cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     4481# Files that config.status was made for.
     4482config_files="$ac_config_files"
     4483
     4484_ACEOF
     4485
     4486cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     4487ac_cs_usage="\
     4488\`$as_me' instantiates files and other configuration actions
     4489from templates according to the current configuration.  Unless the files
     4490and actions are specified as TAGs, all are instantiated by default.
     4491
     4492Usage: $0 [OPTION]... [TAG]...
     4493
     4494  -h, --help       print this help, then exit
     4495  -V, --version    print version number and configuration settings, then exit
     4496      --config     print configuration, then exit
     4497  -q, --quiet, --silent
     4498                   do not print progress messages
     4499  -d, --debug      don't remove temporary files
     4500      --recheck    update $as_me by reconfiguring in the same conditions
     4501      --file=FILE[:TEMPLATE]
     4502                   instantiate the configuration file FILE
     4503
     4504Configuration files:
     4505$config_files
     4506
     4507Report bugs to the package provider."
     4508
     4509_ACEOF
     4510cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     4511ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
     4512ac_cs_version="\\
     4513config.status
     4514configured by $0, generated by GNU Autoconf 2.65,
     4515  with options \\"\$ac_cs_config\\"
     4516
     4517Copyright (C) 2009 Free Software Foundation, Inc.
     4518This config.status script is free software; the Free Software Foundation
     4519gives unlimited permission to copy, distribute and modify it."
     4520
     4521ac_pwd='$ac_pwd'
     4522srcdir='$srcdir'
     4523INSTALL='$INSTALL'
     4524test -n "\$AWK" || AWK=awk
     4525_ACEOF
     4526
     4527cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     4528# The default lists apply if the user does not specify any file.
     4529ac_need_defaults=:
     4530while test $# != 0
     4531do
     4532  case $1 in
     4533  --*=*)
     4534    ac_option=`expr "X$1" : 'X\([^=]*\)='`
     4535    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
     4536    ac_shift=:
     4537    ;;
     4538  *)
     4539    ac_option=$1
     4540    ac_optarg=$2
     4541    ac_shift=shift
     4542    ;;
     4543  esac
     4544
     4545  case $ac_option in
     4546  # Handling of the options.
     4547  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
     4548    ac_cs_recheck=: ;;
     4549  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
     4550    $as_echo "$ac_cs_version"; exit ;;
     4551  --config | --confi | --conf | --con | --co | --c )
     4552    $as_echo "$ac_cs_config"; exit ;;
     4553  --debug | --debu | --deb | --de | --d | -d )
     4554    debug=: ;;
     4555  --file | --fil | --fi | --f )
     4556    $ac_shift
     4557    case $ac_optarg in
     4558    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
     4559    esac
     4560    as_fn_append CONFIG_FILES " '$ac_optarg'"
     4561    ac_need_defaults=false;;
     4562  --he | --h |  --help | --hel | -h )
     4563    $as_echo "$ac_cs_usage"; exit ;;
     4564  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
     4565  | -silent | --silent | --silen | --sile | --sil | --si | --s)
     4566    ac_cs_silent=: ;;
     4567
     4568  # This is an error.
     4569  -*) as_fn_error "unrecognized option: \`$1'
     4570Try \`$0 --help' for more information." ;;
     4571
     4572  *) as_fn_append ac_config_targets " $1"
     4573     ac_need_defaults=false ;;
     4574
     4575  esac
     4576  shift
     4577done
     4578
     4579ac_configure_extra_args=
     4580
     4581if $ac_cs_silent; then
     4582  exec 6>/dev/null
     4583  ac_configure_extra_args="$ac_configure_extra_args --silent"
     4584fi
     4585
     4586_ACEOF
     4587cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     4588if \$ac_cs_recheck; then
     4589  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
     4590  shift
     4591  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
     4592  CONFIG_SHELL='$SHELL'
     4593  export CONFIG_SHELL
     4594  exec "\$@"
     4595fi
     4596
     4597_ACEOF
     4598cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     4599exec 5>>config.log
     4600{
     4601  echo
     4602  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
     4603## Running $as_me. ##
     4604_ASBOX
     4605  $as_echo "$ac_log"
     4606} >&5
     4607
     4608_ACEOF
     4609cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     4610_ACEOF
     4611
     4612cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     4613
     4614# Handling of arguments.
     4615for ac_config_target in $ac_config_targets
     4616do
     4617  case $ac_config_target in
     4618    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
     4619    "jni/Makefile") CONFIG_FILES="$CONFIG_FILES jni/Makefile" ;;
     4620    "java/Makefile") CONFIG_FILES="$CONFIG_FILES java/Makefile" ;;
     4621
     4622  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
     4623  esac
     4624done
     4625
     4626
     4627# If the user did not use the arguments to specify the items to instantiate,
     4628# then the envvar interface is used.  Set only those that are not.
     4629# We use the long form for the default assignment because of an extremely
     4630# bizarre bug on SunOS 4.1.3.
     4631if $ac_need_defaults; then
     4632  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
     4633fi
     4634
     4635# Have a temporary directory for convenience.  Make it in the build tree
     4636# simply because there is no reason against having it here, and in addition,
     4637# creating and moving files from /tmp can sometimes cause problems.
     4638# Hook for its removal unless debugging.
     4639# Note that there is a small window in which the directory will not be cleaned:
     4640# after its creation but before its name has been assigned to `$tmp'.
     4641$debug ||
     4642{
     4643  tmp=
     4644  trap 'exit_status=$?
     4645  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
     4646' 0
     4647  trap 'as_fn_exit 1' 1 2 13 15
     4648}
     4649# Create a (secure) tmp directory for tmp files.
     4650
     4651{
     4652  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
     4653  test -n "$tmp" && test -d "$tmp"
     4654}  ||
     4655{
     4656  tmp=./conf$$-$RANDOM
     4657  (umask 077 && mkdir "$tmp")
     4658} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
     4659
     4660# Set up the scripts for CONFIG_FILES section.
     4661# No need to generate them if there are no CONFIG_FILES.
     4662# This happens for instance with `./config.status config.h'.
     4663if test -n "$CONFIG_FILES"; then
     4664
     4665
     4666ac_cr=`echo X | tr X '\015'`
     4667# On cygwin, bash can eat \r inside `` if the user requested igncr.
     4668# But we know of no other shell where ac_cr would be empty at this
     4669# point, so we can use a bashism as a fallback.
     4670if test "x$ac_cr" = x; then
     4671  eval ac_cr=\$\'\\r\'
     4672fi
     4673ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
     4674if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
     4675  ac_cs_awk_cr='\r'
     4676else
     4677  ac_cs_awk_cr=$ac_cr
     4678fi
     4679
     4680echo 'BEGIN {' >"$tmp/subs1.awk" &&
     4681_ACEOF
     4682
     4683
     4684{
     4685  echo "cat >conf$$subs.awk <<_ACEOF" &&
     4686  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
     4687  echo "_ACEOF"
     4688} >conf$$subs.sh ||
     4689  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
     4690ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
     4691ac_delim='%!_!# '
     4692for ac_last_try in false false false false false :; do
     4693  . ./conf$$subs.sh ||
     4694    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
     4695
     4696  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
     4697  if test $ac_delim_n = $ac_delim_num; then
     4698    break
     4699  elif $ac_last_try; then
     4700    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
     4701  else
     4702    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
     4703  fi
     4704done
     4705rm -f conf$$subs.sh
     4706
     4707cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     4708cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
     4709_ACEOF
     4710sed -n '
     4711h
     4712s/^/S["/; s/!.*/"]=/
     4713p
     4714g
     4715s/^[^!]*!//
     4716:repl
     4717t repl
     4718s/'"$ac_delim"'$//
     4719t delim
     4720:nl
     4721h
     4722s/\(.\{148\}\)..*/\1/
     4723t more1
     4724s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
     4725p
     4726n
     4727b repl
     4728:more1
     4729s/["\\]/\\&/g; s/^/"/; s/$/"\\/
     4730p
     4731g
     4732s/.\{148\}//
     4733t nl
     4734:delim
     4735h
     4736s/\(.\{148\}\)..*/\1/
     4737t more2
     4738s/["\\]/\\&/g; s/^/"/; s/$/"/
     4739p
     4740b
     4741:more2
     4742s/["\\]/\\&/g; s/^/"/; s/$/"\\/
     4743p
     4744g
     4745s/.\{148\}//
     4746t delim
     4747' <conf$$subs.awk | sed '
     4748/^[^""]/{
     4749  N
     4750  s/\n//
     4751}
     4752' >>$CONFIG_STATUS || ac_write_fail=1
     4753rm -f conf$$subs.awk
     4754cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     4755_ACAWK
     4756cat >>"\$tmp/subs1.awk" <<_ACAWK &&
     4757  for (key in S) S_is_set[key] = 1
     4758  FS = ""
     4759
     4760}
     4761{
     4762  line = $ 0
     4763  nfields = split(line, field, "@")
     4764  substed = 0
     4765  len = length(field[1])
     4766  for (i = 2; i < nfields; i++) {
     4767    key = field[i]
     4768    keylen = length(key)
     4769    if (S_is_set[key]) {
     4770      value = S[key]
     4771      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
     4772      len += length(value) + length(field[++i])
     4773      substed = 1
     4774    } else
     4775      len += 1 + keylen
     4776  }
     4777
     4778  print line
     4779}
     4780
     4781_ACAWK
     4782_ACEOF
     4783cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     4784if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
     4785  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
     4786else
     4787  cat
     4788fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
     4789  || as_fn_error "could not setup config files machinery" "$LINENO" 5
     4790_ACEOF
    45904791
    45914792# VPATH may cause trouble with some makes, so we remove $(srcdir),
     
    45954796if test "x$srcdir" = x.; then
    45964797  ac_vpsub='/^[  ]*VPATH[    ]*=/{
    4597 s/:*\$(srcdir):*/:/;
    4598 s/:*\${srcdir}:*/:/;
    4599 s/:*@srcdir@:*/:/;
    4600 s/^\([^=]*=[     ]*\):*/\1/;
    4601 s/:*$//;
    4602 s/^[^=]*=[   ]*$//;
     4798s/:*\$(srcdir):*/:/
     4799s/:*\${srcdir}:*/:/
     4800s/:*@srcdir@:*/:/
     4801s/^\([^=]*=[     ]*\):*/\1/
     4802s/:*$//
     4803s/^[^=]*=[   ]*$//
    46034804}'
    46044805fi
    46054806
    4606 # Transform confdefs.h into DEFS.
    4607 # Protect against shell expansion while executing Makefile rules.
    4608 # Protect against Makefile macro expansion.
    4609 #
    4610 # If the first sed substitution is executed (which looks for macros that
    4611 # take arguments), then we branch to the quote section.  Otherwise,
    4612 # look for a macro that doesn't take arguments.
    4613 cat >confdef2opt.sed <<\_ACEOF
    4614 t clear
    4615 : clear
    4616 s,^[     ]*#[    ]*define[   ][  ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
    4617 t quote
    4618 s,^[     ]*#[    ]*define[   ][  ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
    4619 t quote
    4620 d
    4621 : quote
    4622 s,[  `~#$^&*(){}\\|;'"<>?],\\&,g
    4623 s,\[,\\&,g
    4624 s,\],\\&,g
    4625 s,\$,$$,g
    4626 p
    4627 _ACEOF
    4628 # We use echo to avoid assuming a particular line-breaking character.
    4629 # The extra dot is to prevent the shell from consuming trailing
    4630 # line-breaks from the sub-command output.  A line-break within
    4631 # single-quotes doesn't work because, if this script is created in a
    4632 # platform that uses two characters for line-breaks (e.g., DOS), tr
    4633 # would break.
    4634 ac_LF_and_DOT=`echo; echo .`
    4635 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
    4636 rm -f confdef2opt.sed
    4637 
    4638 
    4639 ac_libobjs=
    4640 ac_ltlibobjs=
    4641 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
    4642   # 1. Remove the extension, and $U if already installed.
    4643   ac_i=`echo "$ac_i" |
    4644      sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
    4645   # 2. Add them.
    4646   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
    4647   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
    4648 done
    4649 LIBOBJS=$ac_libobjs
    4650 
    4651 LTLIBOBJS=$ac_ltlibobjs
    4652 
    4653 
    4654 
    4655 : ${CONFIG_STATUS=./config.status}
    4656 ac_clean_files_save=$ac_clean_files
    4657 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
    4658 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
    4659 echo "$as_me: creating $CONFIG_STATUS" >&6;}
    4660 cat >$CONFIG_STATUS <<_ACEOF
    4661 #! $SHELL
    4662 # Generated by $as_me.
    4663 # Run this file to recreate the current configuration.
    4664 # Compiler output produced by configure, useful for debugging
    4665 # configure, is in config.log if it exists.
    4666 
    4667 debug=false
    4668 ac_cs_recheck=false
    4669 ac_cs_silent=false
    4670 SHELL=\${CONFIG_SHELL-$SHELL}
    4671 _ACEOF
    4672 
    4673 cat >>$CONFIG_STATUS <<\_ACEOF
    4674 ## --------------------- ##
    4675 ## M4sh Initialization.  ##
    4676 ## --------------------- ##
    4677 
    4678 # Be Bourne compatible
    4679 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    4680   emulate sh
    4681   NULLCMD=:
    4682   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
    4683   # is contrary to our usage.  Disable this feature.
    4684   alias -g '${1+"$@"}'='"$@"'
    4685 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
    4686   set -o posix
    4687 fi
    4688 DUALCASE=1; export DUALCASE # for MKS sh
    4689 
    4690 # Support unset when possible.
    4691 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    4692   as_unset=unset
    4693 else
    4694   as_unset=false
    4695 fi
    4696 
    4697 
    4698 # Work around bugs in pre-3.0 UWIN ksh.
    4699 $as_unset ENV MAIL MAILPATH
    4700 PS1='$ '
    4701 PS2='> '
    4702 PS4='+ '
    4703 
    4704 # NLS nuisances.
    4705 for as_var in \
    4706   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
    4707   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
    4708   LC_TELEPHONE LC_TIME
     4807cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     4808fi # test -n "$CONFIG_FILES"
     4809
     4810
     4811eval set X "  :F $CONFIG_FILES      "
     4812shift
     4813for ac_tag
    47094814do
    4710   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
    4711     eval $as_var=C; export $as_var
    4712   else
    4713     $as_unset $as_var
    4714   fi
    4715 done
    4716 
    4717 # Required to use basename.
    4718 if expr a : '\(a\)' >/dev/null 2>&1; then
    4719   as_expr=expr
    4720 else
    4721   as_expr=false
    4722 fi
    4723 
    4724 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
    4725   as_basename=basename
    4726 else
    4727   as_basename=false
    4728 fi
    4729 
    4730 
    4731 # Name of the executable.
    4732 as_me=`$as_basename "$0" ||
    4733 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    4734      X"$0" : 'X\(//\)$' \| \
    4735      X"$0" : 'X\(/\)$' \| \
    4736      .     : '\(.\)' 2>/dev/null ||
    4737 echo X/"$0" |
    4738     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
    4739       /^X\/\(\/\/\)$/{ s//\1/; q; }
    4740       /^X\/\(\/\).*/{ s//\1/; q; }
    4741       s/.*/./; q'`
    4742 
    4743 
    4744 # PATH needs CR, and LINENO needs CR and PATH.
    4745 # Avoid depending upon Character Ranges.
    4746 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    4747 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    4748 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    4749 as_cr_digits='0123456789'
    4750 as_cr_alnum=$as_cr_Letters$as_cr_digits
    4751 
    4752 # The user is always right.
    4753 if test "${PATH_SEPARATOR+set}" != set; then
    4754   echo "#! /bin/sh" >conf$$.sh
    4755   echo  "exit 0"   >>conf$$.sh
    4756   chmod +x conf$$.sh
    4757   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
    4758     PATH_SEPARATOR=';'
    4759   else
    4760     PATH_SEPARATOR=:
    4761   fi
    4762   rm -f conf$$.sh
    4763 fi
    4764 
    4765 
    4766   as_lineno_1=$LINENO
    4767   as_lineno_2=$LINENO
    4768   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    4769   test "x$as_lineno_1" != "x$as_lineno_2" &&
    4770   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
    4771   # Find who we are.  Look in the path if we contain no path at all
    4772   # relative or not.
    4773   case $0 in
    4774     *[\\/]* ) as_myself=$0 ;;
    4775     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    4776 for as_dir in $PATH
    4777 do
    4778   IFS=$as_save_IFS
    4779   test -z "$as_dir" && as_dir=.
    4780   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    4781 done
    4782 
    4783        ;;
     4815  case $ac_tag in
     4816  :[FHLC]) ac_mode=$ac_tag; continue;;
    47844817  esac
    4785   # We did not find ourselves, most probably we were run as `sh COMMAND'
    4786   # in which case we are not to be found in the path.
    4787   if test "x$as_myself" = x; then
    4788     as_myself=$0
    4789   fi
    4790   if test ! -f "$as_myself"; then
    4791     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
    4792 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
    4793    { (exit 1); exit 1; }; }
    4794   fi
    4795   case $CONFIG_SHELL in
    4796   '')
    4797     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    4798 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    4799 do
    4800   IFS=$as_save_IFS
    4801   test -z "$as_dir" && as_dir=.
    4802   for as_base in sh bash ksh sh5; do
    4803      case $as_dir in
    4804      /*)
    4805        if ("$as_dir/$as_base" -c '
    4806   as_lineno_1=$LINENO
    4807   as_lineno_2=$LINENO
    4808   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    4809   test "x$as_lineno_1" != "x$as_lineno_2" &&
    4810   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
    4811          $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
    4812          $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
    4813          CONFIG_SHELL=$as_dir/$as_base
    4814          export CONFIG_SHELL
    4815          exec "$CONFIG_SHELL" "$0" ${1+"$@"}
    4816        fi;;
    4817      esac
    4818        done
    4819 done
    4820 ;;
     4818  case $ac_mode$ac_tag in
     4819  :[FHL]*:*);;
     4820  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
     4821  :[FH]-) ac_tag=-:-;;
     4822  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
    48214823  esac
    4822 
    4823   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    4824   # uniformly replaced by the line number.  The first 'sed' inserts a
    4825   # line-number line before each line; the second 'sed' does the real
    4826   # work.  The second script uses 'N' to pair each line-number line
    4827   # with the numbered line, and appends trailing '-' during
    4828   # substitution so that $LINENO is not a special case at line end.
    4829   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    4830   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
    4831   sed '=' <$as_myself |
    4832     sed '
    4833       N
    4834       s,$,-,
    4835       : loop
    4836       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
    4837       t loop
    4838       s,-$,,
    4839       s,^['$as_cr_digits']*\n,,
    4840     ' >$as_me.lineno &&
    4841   chmod +x $as_me.lineno ||
    4842     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
    4843 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
    4844    { (exit 1); exit 1; }; }
    4845 
    4846   # Don't try to exec as it changes $[0], causing all sort of problems
    4847   # (the dirname of $[0] is not the place where we might find the
    4848   # original and so on.  Autoconf is especially sensible to this).
    4849   . ./$as_me.lineno
    4850   # Exit status is that of the last command.
    4851   exit
    4852 }
    4853 
    4854 
    4855 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
    4856   *c*,-n*) ECHO_N= ECHO_C='
    4857 ' ECHO_T='  ' ;;
    4858   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
    4859   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
    4860 esac
    4861 
    4862 if expr a : '\(a\)' >/dev/null 2>&1; then
    4863   as_expr=expr
    4864 else
    4865   as_expr=false
    4866 fi
    4867 
    4868 rm -f conf$$ conf$$.exe conf$$.file
    4869 echo >conf$$.file
    4870 if ln -s conf$$.file conf$$ 2>/dev/null; then
    4871   # We could just check for DJGPP; but this test a) works b) is more generic
    4872   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
    4873   if test -f conf$$.exe; then
    4874     # Don't use ln at all; we don't have any links
    4875     as_ln_s='cp -p'
    4876   else
    4877     as_ln_s='ln -s'
    4878   fi
    4879 elif ln conf$$.file conf$$ 2>/dev/null; then
    4880   as_ln_s=ln
    4881 else
    4882   as_ln_s='cp -p'
    4883 fi
    4884 rm -f conf$$ conf$$.exe conf$$.file
    4885 
    4886 if mkdir -p . 2>/dev/null; then
    4887   as_mkdir_p=:
    4888 else
    4889   test -d ./-p && rmdir ./-p
    4890   as_mkdir_p=false
    4891 fi
    4892 
    4893 as_executable_p="test -f"
    4894 
    4895 # Sed expression to map a string onto a valid CPP name.
    4896 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    4897 
    4898 # Sed expression to map a string onto a valid variable name.
    4899 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    4900 
    4901 
    4902 # IFS
    4903 # We need space, tab and new line, in precisely that order.
    4904 as_nl='
    4905 '
    4906 IFS="   $as_nl"
    4907 
    4908 # CDPATH.
    4909 $as_unset CDPATH
    4910 
    4911 exec 6>&1
    4912 
    4913 # Open the log real soon, to keep \$[0] and so on meaningful, and to
    4914 # report actual input values of CONFIG_FILES etc. instead of their
    4915 # values after options handling.  Logging --version etc. is OK.
    4916 exec 5>>config.log
    4917 {
    4918   echo
    4919   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
    4920 ## Running $as_me. ##
    4921 _ASBOX
    4922 } >&5
    4923 cat >&5 <<_CSEOF
    4924 
    4925 This file was extended by $as_me, which was
    4926 generated by GNU Autoconf 2.59.  Invocation command line was
    4927 
    4928   CONFIG_FILES    = $CONFIG_FILES
    4929   CONFIG_HEADERS  = $CONFIG_HEADERS
    4930   CONFIG_LINKS    = $CONFIG_LINKS
    4931   CONFIG_COMMANDS = $CONFIG_COMMANDS
    4932   $ $0 $@
    4933 
    4934 _CSEOF
    4935 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
    4936 echo >&5
    4937 _ACEOF
    4938 
    4939 # Files that config.status was made for.
    4940 if test -n "$ac_config_files"; then
    4941   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
    4942 fi
    4943 
    4944 if test -n "$ac_config_headers"; then
    4945   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
    4946 fi
    4947 
    4948 if test -n "$ac_config_links"; then
    4949   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
    4950 fi
    4951 
    4952 if test -n "$ac_config_commands"; then
    4953   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
    4954 fi
    4955 
    4956 cat >>$CONFIG_STATUS <<\_ACEOF
    4957 
    4958 ac_cs_usage="\
    4959 \`$as_me' instantiates files from templates according to the
    4960 current configuration.
    4961 
    4962 Usage: $0 [OPTIONS] [FILE]...
    4963 
    4964   -h, --help       print this help, then exit
    4965   -V, --version    print version number, then exit
    4966   -q, --quiet      do not print progress messages
    4967   -d, --debug      don't remove temporary files
    4968       --recheck    update $as_me by reconfiguring in the same conditions
    4969   --file=FILE[:TEMPLATE]
    4970            instantiate the configuration file FILE
    4971 
    4972 Configuration files:
    4973 $config_files
    4974 
    4975 Report bugs to <[email protected]>."
    4976 _ACEOF
    4977 
    4978 cat >>$CONFIG_STATUS <<_ACEOF
    4979 ac_cs_version="\\
    4980 config.status
    4981 configured by $0, generated by GNU Autoconf 2.59,
    4982   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
    4983 
    4984 Copyright (C) 2003 Free Software Foundation, Inc.
    4985 This config.status script is free software; the Free Software Foundation
    4986 gives unlimited permission to copy, distribute and modify it."
    4987 srcdir=$srcdir
    4988 INSTALL="$INSTALL"
    4989 _ACEOF
    4990 
    4991 cat >>$CONFIG_STATUS <<\_ACEOF
    4992 # If no file are specified by the user, then we need to provide default
    4993 # value.  By we need to know if files were specified by the user.
    4994 ac_need_defaults=:
    4995 while test $# != 0
    4996 do
    4997   case $1 in
    4998   --*=*)
    4999     ac_option=`expr "x$1" : 'x\([^=]*\)='`
    5000     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
    5001     ac_shift=:
     4824  ac_save_IFS=$IFS
     4825  IFS=:
     4826  set x $ac_tag
     4827  IFS=$ac_save_IFS
     4828  shift
     4829  ac_file=$1
     4830  shift
     4831
     4832  case $ac_mode in
     4833  :L) ac_source=$1;;
     4834  :[FH])
     4835    ac_file_inputs=
     4836    for ac_f
     4837    do
     4838      case $ac_f in
     4839      -) ac_f="$tmp/stdin";;
     4840      *) # Look for the file first in the build tree, then in the source tree
     4841     # (if the path is not absolute).  The absolute path cannot be DOS-style,
     4842     # because $ac_f cannot contain `:'.
     4843     test -f "$ac_f" ||
     4844       case $ac_f in
     4845       [\\/$]*) false;;
     4846       *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
     4847       esac ||
     4848       as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
     4849      esac
     4850      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
     4851      as_fn_append ac_file_inputs " '$ac_f'"
     4852    done
     4853
     4854    # Let's still pretend it is `configure' which instantiates (i.e., don't
     4855    # use $as_me), people would be surprised to read:
     4856    #    /* config.h.  Generated by config.status.  */
     4857    configure_input='Generated from '`
     4858      $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
     4859    `' by configure.'
     4860    if test x"$ac_file" != x-; then
     4861      configure_input="$ac_file.  $configure_input"
     4862      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
     4863$as_echo "$as_me: creating $ac_file" >&6;}
     4864    fi
     4865    # Neutralize special characters interpreted by sed in replacement strings.
     4866    case $configure_input in #(
     4867    *\&* | *\|* | *\\* )
     4868       ac_sed_conf_input=`$as_echo "$configure_input" |
     4869       sed 's/[\\\\&|]/\\\\&/g'`;; #(
     4870    *) ac_sed_conf_input=$configure_input;;
     4871    esac
     4872
     4873    case $ac_tag in
     4874    *:-:* | *:-) cat >"$tmp/stdin" \
     4875      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
     4876    esac
    50024877    ;;
    5003   -*)
    5004     ac_option=$1
    5005     ac_optarg=$2
    5006     ac_shift=shift
    5007     ;;
    5008   *) # This is not an option, so the user has probably given explicit
    5009      # arguments.
    5010      ac_option=$1
    5011      ac_need_defaults=false;;
    50124878  esac
    50134879
    5014   case $ac_option in
    5015   # Handling of the options.
    5016 _ACEOF
    5017 cat >>$CONFIG_STATUS <<\_ACEOF
    5018   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
    5019     ac_cs_recheck=: ;;
    5020   --version | --vers* | -V )
    5021     echo "$ac_cs_version"; exit 0 ;;
    5022   --he | --h)
    5023     # Conflict between --help and --header
    5024     { { echo "$as_me:$LINENO: error: ambiguous option: $1
    5025 Try \`$0 --help' for more information." >&5
    5026 echo "$as_me: error: ambiguous option: $1
    5027 Try \`$0 --help' for more information." >&2;}
    5028    { (exit 1); exit 1; }; };;
    5029   --help | --hel | -h )
    5030     echo "$ac_cs_usage"; exit 0 ;;
    5031   --debug | --d* | -d )
    5032     debug=: ;;
    5033   --file | --fil | --fi | --f )
    5034     $ac_shift
    5035     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
    5036     ac_need_defaults=false;;
    5037   --header | --heade | --head | --hea )
    5038     $ac_shift
    5039     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
    5040     ac_need_defaults=false;;
    5041   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
    5042   | -silent | --silent | --silen | --sile | --sil | --si | --s)
    5043     ac_cs_silent=: ;;
    5044 
    5045   # This is an error.
    5046   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
    5047 Try \`$0 --help' for more information." >&5
    5048 echo "$as_me: error: unrecognized option: $1
    5049 Try \`$0 --help' for more information." >&2;}
    5050    { (exit 1); exit 1; }; } ;;
    5051 
    5052   *) ac_config_targets="$ac_config_targets $1" ;;
    5053 
    5054   esac
    5055   shift
    5056 done
    5057 
    5058 ac_configure_extra_args=
    5059 
    5060 if $ac_cs_silent; then
    5061   exec 6>/dev/null
    5062   ac_configure_extra_args="$ac_configure_extra_args --silent"
    5063 fi
    5064 
    5065 _ACEOF
    5066 cat >>$CONFIG_STATUS <<_ACEOF
    5067 if \$ac_cs_recheck; then
    5068   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
    5069   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
    5070 fi
    5071 
    5072 _ACEOF
    5073 
    5074 
    5075 
    5076 
    5077 
    5078 cat >>$CONFIG_STATUS <<\_ACEOF
    5079 for ac_config_target in $ac_config_targets
    5080 do
    5081   case "$ac_config_target" in
    5082   # Handling of arguments.
    5083   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
    5084   "jni/Makefile" ) CONFIG_FILES="$CONFIG_FILES jni/Makefile" ;;
    5085   "java/Makefile" ) CONFIG_FILES="$CONFIG_FILES java/Makefile" ;;
    5086   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
    5087 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
    5088    { (exit 1); exit 1; }; };;
    5089   esac
    5090 done
    5091 
    5092 # If the user did not use the arguments to specify the items to instantiate,
    5093 # then the envvar interface is used.  Set only those that are not.
    5094 # We use the long form for the default assignment because of an extremely
    5095 # bizarre bug on SunOS 4.1.3.
    5096 if $ac_need_defaults; then
    5097   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
    5098 fi
    5099 
    5100 # Have a temporary directory for convenience.  Make it in the build tree
    5101 # simply because there is no reason to put it here, and in addition,
    5102 # creating and moving files from /tmp can sometimes cause problems.
    5103 # Create a temporary directory, and hook for its removal unless debugging.
    5104 $debug ||
    5105 {
    5106   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
    5107   trap '{ (exit 1); exit 1; }' 1 2 13 15
    5108 }
    5109 
    5110 # Create a (secure) tmp directory for tmp files.
    5111 
    5112 {
    5113   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
    5114   test -n "$tmp" && test -d "$tmp"
    5115 }  ||
    5116 {
    5117   tmp=./confstat$$-$RANDOM
    5118   (umask 077 && mkdir $tmp)
    5119 } ||
    5120 {
    5121    echo "$me: cannot create a temporary directory in ." >&2
    5122    { (exit 1); exit 1; }
    5123 }
    5124 
    5125 _ACEOF
    5126 
    5127 cat >>$CONFIG_STATUS <<_ACEOF
    5128 
    5129 #
    5130 # CONFIG_FILES section.
    5131 #
    5132 
    5133 # No need to generate the scripts if there are no CONFIG_FILES.
    5134 # This happens for instance when ./config.status config.h
    5135 if test -n "\$CONFIG_FILES"; then
    5136   # Protect against being on the right side of a sed subst in config.status.
    5137   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
    5138    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
    5139 s,@SHELL@,$SHELL,;t t
    5140 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
    5141 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
    5142 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
    5143 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
    5144 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
    5145 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
    5146 s,@exec_prefix@,$exec_prefix,;t t
    5147 s,@prefix@,$prefix,;t t
    5148 s,@program_transform_name@,$program_transform_name,;t t
    5149 s,@bindir@,$bindir,;t t
    5150 s,@sbindir@,$sbindir,;t t
    5151 s,@libexecdir@,$libexecdir,;t t
    5152 s,@datadir@,$datadir,;t t
    5153 s,@sysconfdir@,$sysconfdir,;t t
    5154 s,@sharedstatedir@,$sharedstatedir,;t t
    5155 s,@localstatedir@,$localstatedir,;t t
    5156 s,@libdir@,$libdir,;t t
    5157 s,@includedir@,$includedir,;t t
    5158 s,@oldincludedir@,$oldincludedir,;t t
    5159 s,@infodir@,$infodir,;t t
    5160 s,@mandir@,$mandir,;t t
    5161 s,@build_alias@,$build_alias,;t t
    5162 s,@host_alias@,$host_alias,;t t
    5163 s,@target_alias@,$target_alias,;t t
    5164 s,@DEFS@,$DEFS,;t t
    5165 s,@ECHO_C@,$ECHO_C,;t t
    5166 s,@ECHO_N@,$ECHO_N,;t t
    5167 s,@ECHO_T@,$ECHO_T,;t t
    5168 s,@LIBS@,$LIBS,;t t
    5169 s,@build@,$build,;t t
    5170 s,@build_cpu@,$build_cpu,;t t
    5171 s,@build_vendor@,$build_vendor,;t t
    5172 s,@build_os@,$build_os,;t t
    5173 s,@host@,$host,;t t
    5174 s,@host_cpu@,$host_cpu,;t t
    5175 s,@host_vendor@,$host_vendor,;t t
    5176 s,@host_os@,$host_os,;t t
    5177 s,@target@,$target,;t t
    5178 s,@target_cpu@,$target_cpu,;t t
    5179 s,@target_vendor@,$target_vendor,;t t
    5180 s,@target_os@,$target_os,;t t
    5181 s,@CC@,$CC,;t t
    5182 s,@CFLAGS@,$CFLAGS,;t t
    5183 s,@LDFLAGS@,$LDFLAGS,;t t
    5184 s,@CPPFLAGS@,$CPPFLAGS,;t t
    5185 s,@ac_ct_CC@,$ac_ct_CC,;t t
    5186 s,@EXEEXT@,$EXEEXT,;t t
    5187 s,@OBJEXT@,$OBJEXT,;t t
    5188 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
    5189 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
    5190 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
    5191 s,@LN_S@,$LN_S,;t t
    5192 s,@COMPAT32BITFLAGS@,$COMPAT32BITFLAGS,;t t
    5193 s,@CPP@,$CPP,;t t
    5194 s,@EGREP@,$EGREP,;t t
    5195 s,@JAVA_HOME@,$JAVA_HOME,;t t
    5196 s,@javagdbm_cv_path_javah@,$javagdbm_cv_path_javah,;t t
    5197 s,@javagdbm_cv_path_java@,$javagdbm_cv_path_java,;t t
    5198 s,@GDBM_LIBPATH@,$GDBM_LIBPATH,;t t
    5199 s,@GDBM_INCLUDE@,$GDBM_INCLUDE,;t t
    5200 s,@PKG@,$PKG,;t t
    5201 s,@JNIINC@,$JNIINC,;t t
    5202 s,@JNISUFFIX@,$JNISUFFIX,;t t
    5203 s,@JNIFLAGS@,$JNIFLAGS,;t t
    5204 s,@LIBOBJS@,$LIBOBJS,;t t
    5205 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
    5206 CEOF
    5207 
    5208 _ACEOF
    5209 
    5210   cat >>$CONFIG_STATUS <<\_ACEOF
    5211   # Split the substitutions into bite-sized pieces for seds with
    5212   # small command number limits, like on Digital OSF/1 and HP-UX.
    5213   ac_max_sed_lines=48
    5214   ac_sed_frag=1 # Number of current file.
    5215   ac_beg=1 # First line for current file.
    5216   ac_end=$ac_max_sed_lines # Line after last line for current file.
    5217   ac_more_lines=:
    5218   ac_sed_cmds=
    5219   while $ac_more_lines; do
    5220     if test $ac_beg -gt 1; then
    5221       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
    5222     else
    5223       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
    5224     fi
    5225     if test ! -s $tmp/subs.frag; then
    5226       ac_more_lines=false
    5227     else
    5228       # The purpose of the label and of the branching condition is to
    5229       # speed up the sed processing (if there are no `@' at all, there
    5230       # is no need to browse any of the substitutions).
    5231       # These are the two extra sed commands mentioned above.
    5232       (echo ':t
    5233   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
    5234       if test -z "$ac_sed_cmds"; then
    5235     ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
    5236       else
    5237     ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
    5238       fi
    5239       ac_sed_frag=`expr $ac_sed_frag + 1`
    5240       ac_beg=$ac_end
    5241       ac_end=`expr $ac_end + $ac_max_sed_lines`
    5242     fi
    5243   done
    5244   if test -z "$ac_sed_cmds"; then
    5245     ac_sed_cmds=cat
    5246   fi
    5247 fi # test -n "$CONFIG_FILES"
    5248 
    5249 _ACEOF
    5250 cat >>$CONFIG_STATUS <<\_ACEOF
    5251 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
    5252   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
    5253   case $ac_file in
    5254   - | *:- | *:-:* ) # input from stdin
    5255     cat >$tmp/stdin
    5256     ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
    5257     ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
    5258   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
    5259     ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
    5260   * )   ac_file_in=$ac_file.in ;;
    5261   esac
    5262 
    5263   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
    5264   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
     4880  ac_dir=`$as_dirname -- "$ac_file" ||
    52654881$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    52664882     X"$ac_file" : 'X\(//\)[^/]' \| \
    52674883     X"$ac_file" : 'X\(//\)$' \| \
    5268      X"$ac_file" : 'X\(/\)' \| \
    5269      .     : '\(.\)' 2>/dev/null ||
    5270 echo X"$ac_file" |
    5271     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    5272       /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    5273       /^X\(\/\/\)$/{ s//\1/; q; }
    5274       /^X\(\/\).*/{ s//\1/; q; }
    5275       s/.*/./; q'`
    5276   { if $as_mkdir_p; then
    5277     mkdir -p "$ac_dir"
    5278   else
    5279     as_dir="$ac_dir"
    5280     as_dirs=
    5281     while test ! -d "$as_dir"; do
    5282       as_dirs="$as_dir $as_dirs"
    5283       as_dir=`(dirname "$as_dir") 2>/dev/null ||
    5284 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    5285      X"$as_dir" : 'X\(//\)[^/]' \| \
    5286      X"$as_dir" : 'X\(//\)$' \| \
    5287      X"$as_dir" : 'X\(/\)' \| \
    5288      .     : '\(.\)' 2>/dev/null ||
    5289 echo X"$as_dir" |
    5290     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    5291       /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    5292       /^X\(\/\/\)$/{ s//\1/; q; }
    5293       /^X\(\/\).*/{ s//\1/; q; }
    5294       s/.*/./; q'`
    5295     done
    5296     test ! -n "$as_dirs" || mkdir $as_dirs
    5297   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
    5298 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
    5299    { (exit 1); exit 1; }; }; }
    5300 
     4884     X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
     4885$as_echo X"$ac_file" |
     4886    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     4887        s//\1/
     4888        q
     4889      }
     4890      /^X\(\/\/\)[^/].*/{
     4891        s//\1/
     4892        q
     4893      }
     4894      /^X\(\/\/\)$/{
     4895        s//\1/
     4896        q
     4897      }
     4898      /^X\(\/\).*/{
     4899        s//\1/
     4900        q
     4901      }
     4902      s/.*/./; q'`
     4903  as_dir="$ac_dir"; as_fn_mkdir_p
    53014904  ac_builddir=.
    53024905
    5303 if test "$ac_dir" != .; then
    5304   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
    5305   # A "../" for each directory in $ac_dir_suffix.
    5306   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
    5307 else
    5308   ac_dir_suffix= ac_top_builddir=
    5309 fi
     4906case "$ac_dir" in
     4907.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
     4908*)
     4909  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
     4910  # A ".." for each directory in $ac_dir_suffix.
     4911  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
     4912  case $ac_top_builddir_sub in
     4913  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
     4914  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
     4915  esac ;;
     4916esac
     4917ac_abs_top_builddir=$ac_pwd
     4918ac_abs_builddir=$ac_pwd$ac_dir_suffix
     4919# for backward compatibility:
     4920ac_top_builddir=$ac_top_build_prefix
    53104921
    53114922case $srcdir in
    5312   .)  # No --srcdir option.  We are building in place.
     4923  .)  # We are building in place.
    53134924    ac_srcdir=.
    5314     if test -z "$ac_top_builddir"; then
    5315        ac_top_srcdir=.
    5316     else
    5317        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
    5318     fi ;;
    5319   [\\/]* | ?:[\\/]* )  # Absolute path.
     4925    ac_top_srcdir=$ac_top_builddir_sub
     4926    ac_abs_top_srcdir=$ac_pwd ;;
     4927  [\\/]* | ?:[\\/]* )  # Absolute name.
    53204928    ac_srcdir=$srcdir$ac_dir_suffix;
    5321     ac_top_srcdir=$srcdir ;;
    5322   *) # Relative path.
    5323     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
    5324     ac_top_srcdir=$ac_top_builddir$srcdir ;;
     4929    ac_top_srcdir=$srcdir
     4930    ac_abs_top_srcdir=$srcdir ;;
     4931  *) # Relative name.
     4932    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
     4933    ac_top_srcdir=$ac_top_build_prefix$srcdir
     4934    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
    53254935esac
    5326 
    5327 # Do not use `cd foo && pwd` to compute absolute paths, because
    5328 # the directories may not exist.
    5329 case `pwd` in
    5330 .) ac_abs_builddir="$ac_dir";;
    5331 *)
    5332   case "$ac_dir" in
    5333   .) ac_abs_builddir=`pwd`;;
    5334   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
    5335   *) ac_abs_builddir=`pwd`/"$ac_dir";;
    5336   esac;;
    5337 esac
    5338 case $ac_abs_builddir in
    5339 .) ac_abs_top_builddir=${ac_top_builddir}.;;
    5340 *)
    5341   case ${ac_top_builddir}. in
    5342   .) ac_abs_top_builddir=$ac_abs_builddir;;
    5343   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
    5344   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
    5345   esac;;
    5346 esac
    5347 case $ac_abs_builddir in
    5348 .) ac_abs_srcdir=$ac_srcdir;;
    5349 *)
    5350   case $ac_srcdir in
    5351   .) ac_abs_srcdir=$ac_abs_builddir;;
    5352   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
    5353   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
    5354   esac;;
    5355 esac
    5356 case $ac_abs_builddir in
    5357 .) ac_abs_top_srcdir=$ac_top_srcdir;;
    5358 *)
    5359   case $ac_top_srcdir in
    5360   .) ac_abs_top_srcdir=$ac_abs_builddir;;
    5361   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
    5362   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
    5363   esac;;
    5364 esac
    5365 
     4936ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
     4937
     4938
     4939  case $ac_mode in
     4940  :F)
     4941  #
     4942  # CONFIG_FILE
     4943  #
    53664944
    53674945  case $INSTALL in
    53684946  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
    5369   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
     4947  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
    53704948  esac
    5371 
    5372   if test x"$ac_file" != x-; then
    5373     { echo "$as_me:$LINENO: creating $ac_file" >&5
    5374 echo "$as_me: creating $ac_file" >&6;}
    5375     rm -f "$ac_file"
    5376   fi
    5377   # Let's still pretend it is `configure' which instantiates (i.e., don't
    5378   # use $as_me), people would be surprised to read:
    5379   #    /* config.h.  Generated by config.status.  */
    5380   if test x"$ac_file" = x-; then
    5381     configure_input=
    5382   else
    5383     configure_input="$ac_file.  "
    5384   fi
    5385   configure_input=$configure_input"Generated from `echo $ac_file_in |
    5386                      sed 's,.*/,,'` by configure."
    5387 
    5388   # First look for the input files in the build tree, otherwise in the
    5389   # src tree.
    5390   ac_file_inputs=`IFS=:
    5391     for f in $ac_file_in; do
    5392       case $f in
    5393       -) echo $tmp/stdin ;;
    5394       [\\/$]*)
    5395      # Absolute (can't be DOS-style, as IFS=:)
    5396      test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
    5397 echo "$as_me: error: cannot find input file: $f" >&2;}
    5398    { (exit 1); exit 1; }; }
    5399      echo "$f";;
    5400       *) # Relative
    5401      if test -f "$f"; then
    5402        # Build tree
    5403        echo "$f"
    5404      elif test -f "$srcdir/$f"; then
    5405        # Source tree
    5406        echo "$srcdir/$f"
    5407      else
    5408        # /dev/null tree
    5409        { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
    5410 echo "$as_me: error: cannot find input file: $f" >&2;}
    5411    { (exit 1); exit 1; }; }
    5412      fi;;
    5413       esac
    5414     done` || { (exit 1); exit 1; }
    5415 _ACEOF
    5416 cat >>$CONFIG_STATUS <<_ACEOF
    5417   sed "$ac_vpsub
     4949_ACEOF
     4950
     4951cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     4952# If the template does not know about datarootdir, expand it.
     4953# FIXME: This hack should be removed a few years after 2.60.
     4954ac_datarootdir_hack=; ac_datarootdir_seen=
     4955ac_sed_dataroot='
     4956/datarootdir/ {
     4957  p
     4958  q
     4959}
     4960/@datadir@/p
     4961/@docdir@/p
     4962/@infodir@/p
     4963/@localedir@/p
     4964/@mandir@/p'
     4965case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
     4966*datarootdir*) ac_datarootdir_seen=yes;;
     4967*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
     4968  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
     4969$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
     4970_ACEOF
     4971cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     4972  ac_datarootdir_hack='
     4973  s&@datadir@&$datadir&g
     4974  s&@docdir@&$docdir&g
     4975  s&@infodir@&$infodir&g
     4976  s&@localedir@&$localedir&g
     4977  s&@mandir@&$mandir&g
     4978  s&\\\${datarootdir}&$datarootdir&g' ;;
     4979esac
     4980_ACEOF
     4981
     4982# Neutralize VPATH when `$srcdir' = `.'.
     4983# Shell code in configure.ac might set extrasub.
     4984# FIXME: do we really want to maintain this feature?
     4985cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     4986ac_sed_extra="$ac_vpsub
    54184987$extrasub
    54194988_ACEOF
    5420 cat >>$CONFIG_STATUS <<\_ACEOF
     4989cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    54214990:t
    54224991/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
    5423 s,@configure_input@,$configure_input,;t t
    5424 s,@srcdir@,$ac_srcdir,;t t
    5425 s,@abs_srcdir@,$ac_abs_srcdir,;t t
    5426 s,@top_srcdir@,$ac_top_srcdir,;t t
    5427 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
    5428 s,@builddir@,$ac_builddir,;t t
    5429 s,@abs_builddir@,$ac_abs_builddir,;t t
    5430 s,@top_builddir@,$ac_top_builddir,;t t
    5431 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
    5432 s,@INSTALL@,$ac_INSTALL,;t t
    5433 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
    5434   rm -f $tmp/stdin
    5435   if test x"$ac_file" != x-; then
    5436     mv $tmp/out $ac_file
    5437   else
    5438     cat $tmp/out
    5439     rm -f $tmp/out
    5440   fi
    5441 
    5442 done
    5443 _ACEOF
    5444 
    5445 cat >>$CONFIG_STATUS <<\_ACEOF
    5446 
    5447 { (exit 0); exit 0; }
    5448 _ACEOF
    5449 chmod +x $CONFIG_STATUS
     4992s|@configure_input@|$ac_sed_conf_input|;t t
     4993s&@top_builddir@&$ac_top_builddir_sub&;t t
     4994s&@top_build_prefix@&$ac_top_build_prefix&;t t
     4995s&@srcdir@&$ac_srcdir&;t t
     4996s&@abs_srcdir@&$ac_abs_srcdir&;t t
     4997s&@top_srcdir@&$ac_top_srcdir&;t t
     4998s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
     4999s&@builddir@&$ac_builddir&;t t
     5000s&@abs_builddir@&$ac_abs_builddir&;t t
     5001s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
     5002s&@INSTALL@&$ac_INSTALL&;t t
     5003$ac_datarootdir_hack
     5004"
     5005eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
     5006  || as_fn_error "could not create $ac_file" "$LINENO" 5
     5007
     5008test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
     5009  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
     5010  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
     5011  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
     5012which seems to be undefined.  Please make sure it is defined." >&5
     5013$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
     5014which seems to be undefined.  Please make sure it is defined." >&2;}
     5015
     5016  rm -f "$tmp/stdin"
     5017  case $ac_file in
     5018  -) cat "$tmp/out" && rm -f "$tmp/out";;
     5019  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
     5020  esac \
     5021  || as_fn_error "could not create $ac_file" "$LINENO" 5
     5022 ;;
     5023
     5024
     5025
     5026  esac
     5027
     5028done # for ac_tag
     5029
     5030
     5031as_fn_exit 0
     5032_ACEOF
    54505033ac_clean_files=$ac_clean_files_save
     5034
     5035test $ac_write_fail = 0 ||
     5036  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
    54515037
    54525038
     
    54695055  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
    54705056  # would make configure fail if this is the last instruction.
    5471   $ac_cs_success || { (exit 1); exit 1; }
    5472 fi
    5473 
     5057  $ac_cs_success || as_fn_exit $?
     5058fi
     5059if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
     5060  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
     5061$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
     5062fi
     5063
Note: See TracChangeset for help on using the changeset viewer.