Ignore:
Timestamp:
2012-03-02T12:04:59+13:00 (12 years ago)
Author:
jmt12
Message:

Copied across the 64bit ARCH_DEP_FLAGS test from gs2build

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/src/packages/javagdbm/configure

    r21433 r25173  
    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.68.
    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, 2010 Free Software
     9# Foundation, 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.
     93as_myself=
     94case $0 in #((
     95  *[\\/]* ) as_myself=$0 ;;
     96  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     97for as_dir in $PATH
     98do
     99  IFS=$as_save_IFS
     100  test -z "$as_dir" && as_dir=.
     101    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     102  done
     103IFS=$as_save_IFS
     104
     105     ;;
     106esac
     107# We did not find ourselves, most probably we were run as `sh COMMAND'
     108# in which case we are not to be found in the path.
     109if test "x$as_myself" = x; then
     110  as_myself=$0
     111fi
     112if test ! -f "$as_myself"; then
     113  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
     114  exit 1
     115fi
     116
     117# Unset variables that we do not need and which cause bugs (e.g. in
     118# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
     119# suppresses any "Segmentation fault" message there.  '((' could
     120# trigger a bug in pdksh 5.2.14.
     121for as_var in BASH_ENV ENV MAIL MAILPATH
     122do eval test x\${$as_var+set} = xset \
     123  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
     124done
    35125PS1='$ '
    36126PS2='> '
     
    38128
    39129# 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
     130LC_ALL=C
     131export LC_ALL
     132LANGUAGE=C
     133export LANGUAGE
     134
     135# CDPATH.
     136(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
     137
     138if test "x$CONFIG_SHELL" = x; then
     139  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
     140  emulate sh
     141  NULLCMD=:
     142  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
     143  # is contrary to our usage.  Disable this feature.
     144  alias -g '\${1+\"\$@\"}'='\"\$@\"'
     145  setopt NO_GLOB_SUBST
     146else
     147  case \`(set -o) 2>/dev/null\` in #(
     148  *posix*) :
     149    set -o posix ;; #(
     150  *) :
     151     ;;
     152esac
     153fi
     154"
     155  as_required="as_fn_return () { (exit \$1); }
     156as_fn_success () { as_fn_return 0; }
     157as_fn_failure () { as_fn_return 1; }
     158as_fn_ret_success () { return 0; }
     159as_fn_ret_failure () { return 1; }
     160
     161exitcode=0
     162as_fn_success || { exitcode=1; echo as_fn_success failed.; }
     163as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
     164as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
     165as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
     166if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
     167
     168else
     169  exitcode=1; echo positional parameters were not saved.
     170fi
     171test x\$exitcode = x0 || exit 1"
     172  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
     173  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
     174  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
     175  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
     176test \$(( 1 + 1 )) = 2 || exit 1"
     177  if (eval "$as_required") 2>/dev/null; then :
     178  as_have_required=yes
     179else
     180  as_have_required=no
     181fi
     182  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
     183
     184else
     185  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     186as_found=false
     187for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    44188do
    45   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
    46     eval $as_var=C; export $as_var
     189  IFS=$as_save_IFS
     190  test -z "$as_dir" && as_dir=.
     191  as_found=:
     192  case $as_dir in #(
     193     /*)
     194       for as_base in sh bash ksh sh5; do
     195         # Try only shells that exist, to save several forks.
     196         as_shell=$as_dir/$as_base
     197         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
     198            { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
     199  CONFIG_SHELL=$as_shell as_have_required=yes
     200           if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
     201  break 2
     202fi
     203fi
     204       done;;
     205       esac
     206  as_found=false
     207done
     208$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
     209          { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
     210  CONFIG_SHELL=$SHELL as_have_required=yes
     211fi; }
     212IFS=$as_save_IFS
     213
     214
     215      if test "x$CONFIG_SHELL" != x; then :
     216  # We cannot yet assume a decent shell, so we have to provide a
     217    # neutralization value for shells without unset; and this also
     218    # works around shells that cannot unset nonexistent variables.
     219    # Preserve -v and -x to the replacement shell.
     220    BASH_ENV=/dev/null
     221    ENV=/dev/null
     222    (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
     223    export CONFIG_SHELL
     224    case $- in # ((((
     225      *v*x* | *x*v* ) as_opts=-vx ;;
     226      *v* ) as_opts=-v ;;
     227      *x* ) as_opts=-x ;;
     228      * ) as_opts= ;;
     229    esac
     230    exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
     231fi
     232
     233    if test x$as_have_required = xno; then :
     234  $as_echo "$0: This script requires a shell more modern than all"
     235  $as_echo "$0: the shells that I found on your system."
     236  if test x${ZSH_VERSION+set} = xset ; then
     237    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
     238    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    47239  else
    48     $as_unset $as_var
     240    $as_echo "$0: Please tell [email protected] about your system,
     241$0: including any error possibly output before this
     242$0: message. Then install a modern shell, or manually run
     243$0: the script under such a shell if you do have one."
    49244  fi
    50 done
    51 
    52 # Required to use basename.
    53 if expr a : '\(a\)' >/dev/null 2>&1; then
     245  exit 1
     246fi
     247fi
     248fi
     249SHELL=${CONFIG_SHELL-/bin/sh}
     250export SHELL
     251# Unset more variables known to interfere with behavior of common tools.
     252CLICOLOR_FORCE= GREP_OPTIONS=
     253unset CLICOLOR_FORCE GREP_OPTIONS
     254
     255## --------------------- ##
     256## M4sh Shell Functions. ##
     257## --------------------- ##
     258# as_fn_unset VAR
     259# ---------------
     260# Portably unset VAR.
     261as_fn_unset ()
     262{
     263  { eval $1=; unset $1;}
     264}
     265as_unset=as_fn_unset
     266
     267# as_fn_set_status STATUS
     268# -----------------------
     269# Set $? to STATUS, without forking.
     270as_fn_set_status ()
     271{
     272  return $1
     273} # as_fn_set_status
     274
     275# as_fn_exit STATUS
     276# -----------------
     277# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
     278as_fn_exit ()
     279{
     280  set +e
     281  as_fn_set_status $1
     282  exit $1
     283} # as_fn_exit
     284
     285# as_fn_mkdir_p
     286# -------------
     287# Create "$as_dir" as a directory, including parents if necessary.
     288as_fn_mkdir_p ()
     289{
     290
     291  case $as_dir in #(
     292  -*) as_dir=./$as_dir;;
     293  esac
     294  test -d "$as_dir" || eval $as_mkdir_p || {
     295    as_dirs=
     296    while :; do
     297      case $as_dir in #(
     298      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
     299      *) as_qdir=$as_dir;;
     300      esac
     301      as_dirs="'$as_qdir' $as_dirs"
     302      as_dir=`$as_dirname -- "$as_dir" ||
     303$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     304     X"$as_dir" : 'X\(//\)[^/]' \| \
     305     X"$as_dir" : 'X\(//\)$' \| \
     306     X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
     307$as_echo X"$as_dir" |
     308    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     309        s//\1/
     310        q
     311      }
     312      /^X\(\/\/\)[^/].*/{
     313        s//\1/
     314        q
     315      }
     316      /^X\(\/\/\)$/{
     317        s//\1/
     318        q
     319      }
     320      /^X\(\/\).*/{
     321        s//\1/
     322        q
     323      }
     324      s/.*/./; q'`
     325      test -d "$as_dir" && break
     326    done
     327    test -z "$as_dirs" || eval "mkdir $as_dirs"
     328  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
     329
     330
     331} # as_fn_mkdir_p
     332# as_fn_append VAR VALUE
     333# ----------------------
     334# Append the text in VALUE to the end of the definition contained in VAR. Take
     335# advantage of any shell optimizations that allow amortized linear growth over
     336# repeated appends, instead of the typical quadratic growth present in naive
     337# implementations.
     338if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
     339  eval 'as_fn_append ()
     340  {
     341    eval $1+=\$2
     342  }'
     343else
     344  as_fn_append ()
     345  {
     346    eval $1=\$$1\$2
     347  }
     348fi # as_fn_append
     349
     350# as_fn_arith ARG...
     351# ------------------
     352# Perform arithmetic evaluation on the ARGs, and store the result in the
     353# global $as_val. Take advantage of shells that can avoid forks. The arguments
     354# must be portable across $(()) and expr.
     355if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
     356  eval 'as_fn_arith ()
     357  {
     358    as_val=$(( $* ))
     359  }'
     360else
     361  as_fn_arith ()
     362  {
     363    as_val=`expr "$@" || test $? -eq 1`
     364  }
     365fi # as_fn_arith
     366
     367
     368# as_fn_error STATUS ERROR [LINENO LOG_FD]
     369# ----------------------------------------
     370# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
     371# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
     372# script with STATUS, using 1 if that was 0.
     373as_fn_error ()
     374{
     375  as_status=$1; test $as_status -eq 0 && as_status=1
     376  if test "$4"; then
     377    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     378    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
     379  fi
     380  $as_echo "$as_me: error: $2" >&2
     381  as_fn_exit $as_status
     382} # as_fn_error
     383
     384if expr a : '\(a\)' >/dev/null 2>&1 &&
     385   test "X`expr 00001 : '.*\(...\)'`" = X001; then
    54386  as_expr=expr
    55387else
     
    57389fi
    58390
    59 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
     391if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    60392  as_basename=basename
    61393else
     
    63395fi
    64396
    65 
    66 # Name of the executable.
    67 as_me=`$as_basename "$0" ||
     397if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
     398  as_dirname=dirname
     399else
     400  as_dirname=false
     401fi
     402
     403as_me=`$as_basename -- "$0" ||
    68404$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    69405     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.
     406     X"$0" : 'X\(/\)' \| . 2>/dev/null ||
     407$as_echo X/"$0" |
     408    sed '/^.*\/\([^/][^/]*\)\/*$/{
     409        s//\1/
     410        q
     411      }
     412      /^X\/\(\/\/\)$/{
     413        s//\1/
     414        q
     415      }
     416      /^X\/\(\/\).*/{
     417        s//\1/
     418        q
     419      }
     420      s/.*/./; q'`
     421
    80422# Avoid depending upon Character Ranges.
    81423as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     
    85427as_cr_alnum=$as_cr_Letters$as_cr_digits
    86428
    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 |
     429
     430  as_lineno_1=$LINENO as_lineno_1a=$LINENO
     431  as_lineno_2=$LINENO as_lineno_2a=$LINENO
     432  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
     433  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
     434  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
     435  sed -n '
     436    p
     437    /[$]LINENO/=
     438  ' <$as_myself |
    166439    sed '
     440      s/[$]LINENO.*/&-/
     441      t lineno
     442      b
     443      :lineno
    167444      N
    168       s,$,-,
    169       : loop
    170       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
     445      :loop
     446      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    171447      t loop
    172       s,-$,,
    173       s,^['$as_cr_digits']*\n,,
     448      s/-\n.*//
    174449    ' >$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; }; }
     450  chmod +x "$as_me.lineno" ||
     451    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    178452
    179453  # Don't try to exec as it changes $[0], causing all sort of problems
    180454  # (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
     455  # original and so on.  Autoconf is especially sensitive to this).
     456  . "./$as_me.lineno"
    183457  # Exit status is that of the last command.
    184458  exit
    185459}
    186460
    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= ;;
     461ECHO_C= ECHO_N= ECHO_T=
     462case `echo -n x` in #(((((
     463-n*)
     464  case `echo 'xy\c'` in
     465  *c*) ECHO_T=' ';; # ECHO_T is single tab character.
     466  xy)  ECHO_C='\c';;
     467  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
     468       ECHO_T=' ';;
     469  esac;;
     470*)
     471  ECHO_N='-n';;
    193472esac
    194473
    195 if expr a : '\(a\)' >/dev/null 2>&1; then
    196   as_expr=expr
    197 else
    198   as_expr=false
    199 fi
    200 
    201474rm -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
     475if test -d conf$$.dir; then
     476  rm -f conf$$.dir/conf$$.file
     477else
     478  rm -f conf$$.dir
     479  mkdir conf$$.dir 2>/dev/null
     480fi
     481if (echo >conf$$.file) 2>/dev/null; then
     482  if ln -s conf$$.file conf$$ 2>/dev/null; then
     483    as_ln_s='ln -s'
     484    # ... but there are two gotchas:
     485    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
     486    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
     487    # In both cases, we have to default to `cp -p'.
     488    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
     489      as_ln_s='cp -p'
     490  elif ln conf$$.file conf$$ 2>/dev/null; then
     491    as_ln_s=ln
     492  else
    208493    as_ln_s='cp -p'
    209   else
    210     as_ln_s='ln -s'
    211494  fi
    212 elif ln conf$$.file conf$$ 2>/dev/null; then
    213   as_ln_s=ln
    214495else
    215496  as_ln_s='cp -p'
    216497fi
    217 rm -f conf$$ conf$$.exe conf$$.file
     498rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
     499rmdir conf$$.dir 2>/dev/null
    218500
    219501if mkdir -p . 2>/dev/null; then
    220   as_mkdir_p=:
     502  as_mkdir_p='mkdir -p "$as_dir"'
    221503else
    222504  test -d ./-p && rmdir ./-p
     
    224506fi
    225507
    226 as_executable_p="test -f"
     508if test -x / >/dev/null 2>&1; then
     509  as_test_x='test -x'
     510else
     511  if ls -dL / >/dev/null 2>&1; then
     512    as_ls_L_option=L
     513  else
     514    as_ls_L_option=
     515  fi
     516  as_test_x='
     517    eval sh -c '\''
     518      if test -d "$1"; then
     519    test -d "$1/.";
     520      else
     521    case $1 in #(
     522    -*)set "./$1";;
     523    esac;
     524    case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
     525    ???[sx]*):;;*)false;;esac;fi
     526    '\'' sh
     527  '
     528fi
     529as_executable_p=$as_test_x
    227530
    228531# Sed expression to map a string onto a valid CPP name.
     
    233536
    234537
    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 
     538test -n "$DJDIR" || exec 7<&0 </dev/null
     539exec 6>&1
    244540
    245541# Name of the host.
    246 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
     542# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    247543# so uname gets run too.
    248544ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    249 
    250 exec 6>&1
    251545
    252546#
     
    254548#
    255549ac_default_prefix=/usr/local
     550ac_clean_files=
    256551ac_config_libobj_dir=.
     552LIBOBJS=
    257553cross_compiling=no
    258554subdirs=
    259555MFLAGS=
    260556MAKEFLAGS=
    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}
    267557
    268558# Identity of this package.
     
    272562PACKAGE_STRING=
    273563PACKAGE_BUGREPORT=
     564PACKAGE_URL=
    274565
    275566ac_unique_file="jni/gdbmjava.c"
     
    277568ac_includes_default="\
    278569#include <stdio.h>
    279 #if HAVE_SYS_TYPES_H
     570#ifdef HAVE_SYS_TYPES_H
    280571# include <sys/types.h>
    281572#endif
    282 #if HAVE_SYS_STAT_H
     573#ifdef HAVE_SYS_STAT_H
    283574# include <sys/stat.h>
    284575#endif
    285 #if STDC_HEADERS
     576#ifdef STDC_HEADERS
    286577# include <stdlib.h>
    287578# include <stddef.h>
    288579#else
    289 # if HAVE_STDLIB_H
     580# ifdef HAVE_STDLIB_H
    290581#  include <stdlib.h>
    291582# endif
    292583#endif
    293 #if HAVE_STRING_H
    294 # if !STDC_HEADERS && HAVE_MEMORY_H
     584#ifdef HAVE_STRING_H
     585# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    295586#  include <memory.h>
    296587# endif
    297588# include <string.h>
    298589#endif
    299 #if HAVE_STRINGS_H
     590#ifdef HAVE_STRINGS_H
    300591# include <strings.h>
    301592#endif
    302 #if HAVE_INTTYPES_H
     593#ifdef HAVE_INTTYPES_H
    303594# include <inttypes.h>
    304 #else
    305 # if HAVE_STDINT_H
    306 #  include <stdint.h>
    307 # endif
    308595#endif
    309 #if HAVE_UNISTD_H
     596#ifdef HAVE_STDINT_H
     597# include <stdint.h>
     598#endif
     599#ifdef HAVE_UNISTD_H
    310600# include <unistd.h>
    311601#endif"
    312602
    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'
     603ac_subst_vars='LTLIBOBJS
     604LIBOBJS
     605JNIFLAGS
     606JNISUFFIX
     607JNIINC
     608PKG
     609GDBM_INCLUDE
     610GDBM_LIBPATH
     611javagdbm_cv_path_java
     612javagdbm_cv_path_javah
     613JAVA_HOME
     614EGREP
     615GREP
     616CPP
     617ARCH_DEP_FLAGS
     618LN_S
     619INSTALL_DATA
     620INSTALL_SCRIPT
     621INSTALL_PROGRAM
     622OBJEXT
     623EXEEXT
     624ac_ct_CC
     625CPPFLAGS
     626LDFLAGS
     627CFLAGS
     628CC
     629target_os
     630target_vendor
     631target_cpu
     632target
     633host_os
     634host_vendor
     635host_cpu
     636host
     637build_os
     638build_vendor
     639build_cpu
     640build
     641target_alias
     642host_alias
     643build_alias
     644LIBS
     645ECHO_T
     646ECHO_N
     647ECHO_C
     648DEFS
     649mandir
     650localedir
     651libdir
     652psdir
     653pdfdir
     654dvidir
     655htmldir
     656infodir
     657docdir
     658oldincludedir
     659includedir
     660localstatedir
     661sharedstatedir
     662sysconfdir
     663datadir
     664datarootdir
     665libexecdir
     666sbindir
     667bindir
     668program_transform_name
     669prefix
     670exec_prefix
     671PACKAGE_URL
     672PACKAGE_BUGREPORT
     673PACKAGE_STRING
     674PACKAGE_VERSION
     675PACKAGE_TARNAME
     676PACKAGE_NAME
     677PATH_SEPARATOR
     678SHELL'
    314679ac_subst_files=''
     680ac_user_opts='
     681enable_option_checking
     682with_gdbm
     683'
     684      ac_precious_vars='build_alias
     685host_alias
     686target_alias
     687CC
     688CFLAGS
     689LDFLAGS
     690LIBS
     691CPPFLAGS
     692CPP'
     693
    315694
    316695# Initialize some variables set by options.
    317696ac_init_help=
    318697ac_init_version=false
     698ac_unrecognized_opts=
     699ac_unrecognized_sep=
    319700# The variables have the same names as the options, with
    320701# dashes changed to underlines.
     
    339720# by default will actually change.
    340721# Use braces instead of parens because sh, perl, etc. also accept them.
     722# (The list follows the same order as the GNU Coding Standards.)
    341723bindir='${exec_prefix}/bin'
    342724sbindir='${exec_prefix}/sbin'
    343725libexecdir='${exec_prefix}/libexec'
    344 datadir='${prefix}/share'
     726datarootdir='${prefix}/share'
     727datadir='${datarootdir}'
    345728sysconfdir='${prefix}/etc'
    346729sharedstatedir='${prefix}/com'
    347730localstatedir='${prefix}/var'
    348 libdir='${exec_prefix}/lib'
    349731includedir='${prefix}/include'
    350732oldincludedir='/usr/include'
    351 infodir='${prefix}/info'
    352 mandir='${prefix}/man'
     733docdir='${datarootdir}/doc/${PACKAGE}'
     734infodir='${datarootdir}/info'
     735htmldir='${docdir}'
     736dvidir='${docdir}'
     737pdfdir='${docdir}'
     738psdir='${docdir}'
     739libdir='${exec_prefix}/lib'
     740localedir='${datarootdir}/locale'
     741mandir='${datarootdir}/man'
    353742
    354743ac_prev=
     744ac_dashdash=
    355745for ac_option
    356746do
    357747  # If the previous option needs an argument, assign it.
    358748  if test -n "$ac_prev"; then
    359     eval "$ac_prev=\$ac_option"
     749    eval $ac_prev=\$ac_option
    360750    ac_prev=
    361751    continue
    362752  fi
    363753
    364   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
     754  case $ac_option in
     755  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
     756  *=)   ac_optarg= ;;
     757  *)    ac_optarg=yes ;;
     758  esac
    365759
    366760  # Accept the important Cygnus configure options, so we can diagnose typos.
    367761
    368   case $ac_option in
     762  case $ac_dashdash$ac_option in
     763  --)
     764    ac_dashdash=yes ;;
    369765
    370766  -bindir | --bindir | --bindi | --bind | --bin | --bi)
     
    388784    cache_file=config.cache ;;
    389785
    390   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
     786  -datadir | --datadir | --datadi | --datad)
    391787    ac_prev=datadir ;;
    392   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
    393   | --da=*)
     788  -datadir=* | --datadir=* | --datadi=* | --datad=*)
    394789    datadir=$ac_optarg ;;
    395790
     791  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
     792  | --dataroo | --dataro | --datar)
     793    ac_prev=datarootdir ;;
     794  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
     795  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
     796    datarootdir=$ac_optarg ;;
     797
    396798  -disable-* | --disable-*)
    397     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
     799    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    398800    # 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" ;;
     801    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
     802      as_fn_error $? "invalid feature name: $ac_useropt"
     803    ac_useropt_orig=$ac_useropt
     804    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     805    case $ac_user_opts in
     806      *"
     807"enable_$ac_useropt"
     808"*) ;;
     809      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
     810     ac_unrecognized_sep=', ';;
     811    esac
     812    eval enable_$ac_useropt=no ;;
     813
     814  -docdir | --docdir | --docdi | --doc | --do)
     815    ac_prev=docdir ;;
     816  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
     817    docdir=$ac_optarg ;;
     818
     819  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
     820    ac_prev=dvidir ;;
     821  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
     822    dvidir=$ac_optarg ;;
    404823
    405824  -enable-* | --enable-*)
    406     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
     825    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    407826    # 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 ;;
     827    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
     828      as_fn_error $? "invalid feature name: $ac_useropt"
     829    ac_useropt_orig=$ac_useropt
     830    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     831    case $ac_user_opts in
     832      *"
     833"enable_$ac_useropt"
     834"*) ;;
     835      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
     836     ac_unrecognized_sep=', ';;
    415837    esac
    416     eval "enable_$ac_feature='$ac_optarg'" ;;
     838    eval enable_$ac_useropt=\$ac_optarg ;;
    417839
    418840  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
     
    441863    host_alias=$ac_optarg ;;
    442864
     865  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
     866    ac_prev=htmldir ;;
     867  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
     868  | --ht=*)
     869    htmldir=$ac_optarg ;;
     870
    443871  -includedir | --includedir | --includedi | --included | --include \
    444872  | --includ | --inclu | --incl | --inc)
     
    465893    libexecdir=$ac_optarg ;;
    466894
     895  -localedir | --localedir | --localedi | --localed | --locale)
     896    ac_prev=localedir ;;
     897  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
     898    localedir=$ac_optarg ;;
     899
    467900  -localstatedir | --localstatedir | --localstatedi | --localstated \
    468   | --localstate | --localstat | --localsta | --localst \
    469   | --locals | --local | --loca | --loc | --lo)
     901  | --localstate | --localstat | --localsta | --localst | --locals)
    470902    ac_prev=localstatedir ;;
    471903  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    472   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
    473   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
     904  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    474905    localstatedir=$ac_optarg ;;
    475906
     
    536967    program_transform_name=$ac_optarg ;;
    537968
     969  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
     970    ac_prev=pdfdir ;;
     971  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
     972    pdfdir=$ac_optarg ;;
     973
     974  -psdir | --psdir | --psdi | --psd | --ps)
     975    ac_prev=psdir ;;
     976  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
     977    psdir=$ac_optarg ;;
     978
    538979  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
    539980  | -silent | --silent | --silen | --sile | --sil)
     
    5861027
    5871028  -with-* | --with-*)
    588     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
     1029    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
    5891030    # 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 ;;
     1031    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
     1032      as_fn_error $? "invalid package name: $ac_useropt"
     1033    ac_useropt_orig=$ac_useropt
     1034    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     1035    case $ac_user_opts in
     1036      *"
     1037"with_$ac_useropt"
     1038"*) ;;
     1039      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
     1040     ac_unrecognized_sep=', ';;
    5971041    esac
    598     eval "with_$ac_package='$ac_optarg'" ;;
     1042    eval with_$ac_useropt=\$ac_optarg ;;
    5991043
    6001044  -without-* | --without-*)
    601     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
     1045    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
    6021046    # 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" ;;
     1047    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
     1048      as_fn_error $? "invalid package name: $ac_useropt"
     1049    ac_useropt_orig=$ac_useropt
     1050    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     1051    case $ac_user_opts in
     1052      *"
     1053"with_$ac_useropt"
     1054"*) ;;
     1055      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
     1056     ac_unrecognized_sep=', ';;
     1057    esac
     1058    eval with_$ac_useropt=no ;;
    6081059
    6091060  --x)
     
    6251076    x_libraries=$ac_optarg ;;
    6261077
    627   -*) { echo "$as_me: error: unrecognized option: $ac_option
    628 Try \`$0 --help' for more information." >&2
    629    { (exit 1); exit 1; }; }
     1078  -*) as_fn_error $? "unrecognized option: \`$ac_option'
     1079Try \`$0 --help' for more information"
    6301080    ;;
    6311081
     
    6331083    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
    6341084    # 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'"
     1085    case $ac_envvar in #(
     1086      '' | [0-9]* | *[!_$as_cr_alnum]* )
     1087      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
     1088    esac
     1089    eval $ac_envvar=\$ac_optarg
    6401090    export $ac_envvar ;;
    6411091
    6421092  *)
    6431093    # FIXME: should be removed in autoconf 3.0.
    644     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
     1094    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
    6451095    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    646       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
    647     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
     1096      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
     1097    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
    6481098    ;;
    6491099
     
    6531103if test -n "$ac_prev"; then
    6541104  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
     1105  as_fn_error $? "missing argument to $ac_option"
     1106fi
     1107
     1108if test -n "$ac_unrecognized_opts"; then
     1109  case $enable_option_checking in
     1110    no) ;;
     1111    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
     1112    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
     1113  esac
     1114fi
     1115
     1116# Check all directory arguments for consistency.
     1117for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
     1118        datadir sysconfdir sharedstatedir localstatedir includedir \
     1119        oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
     1120        libdir localedir mandir
    6611121do
    662   eval ac_val=$`echo $ac_var`
     1122  eval ac_val=\$$ac_var
     1123  # Remove trailing slashes.
    6631124  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; }; };;
     1125    */ )
     1126      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
     1127      eval $ac_var=\$ac_val;;
    6671128  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`
     1129  # Be sure to have absolute directory names.
    6751130  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; }; };;
     1131    [\\/$]* | ?:[\\/]* )  continue;;
     1132    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
    6791133  esac
     1134  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
    6801135done
    6811136
     
    6911146  if test "x$build_alias" = x; then
    6921147    cross_compiling=maybe
    693     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
    694     If a cross compiler is detected then cross compile mode will be used." >&2
     1148    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
     1149    If a cross compiler is detected then cross compile mode will be used" >&2
    6951150  elif test "x$build_alias" != "x$host_alias"; then
    6961151    cross_compiling=yes
     
    7041159
    7051160
     1161ac_pwd=`pwd` && test -n "$ac_pwd" &&
     1162ac_ls_di=`ls -di .` &&
     1163ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
     1164  as_fn_error $? "working directory cannot be determined"
     1165test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
     1166  as_fn_error $? "pwd does not report name of working directory"
     1167
     1168
    7061169# Find the source files, if location was not specified.
    7071170if test -z "$srcdir"; then
    7081171  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'`
     1172  # Try the directory containing this script, then the parent directory.
     1173  ac_confdir=`$as_dirname -- "$as_myself" ||
     1174$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     1175     X"$as_myself" : 'X\(//\)[^/]' \| \
     1176     X"$as_myself" : 'X\(//\)$' \| \
     1177     X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
     1178$as_echo X"$as_myself" |
     1179    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     1180        s//\1/
     1181        q
     1182      }
     1183      /^X\(\/\/\)[^/].*/{
     1184        s//\1/
     1185        q
     1186      }
     1187      /^X\(\/\/\)$/{
     1188        s//\1/
     1189        q
     1190      }
     1191      /^X\(\/\).*/{
     1192        s//\1/
     1193        q
     1194      }
     1195      s/.*/./; q'`
    7221196  srcdir=$ac_confdir
    723   if test ! -r $srcdir/$ac_unique_file; then
     1197  if test ! -r "$srcdir/$ac_unique_file"; then
    7241198    srcdir=..
    7251199  fi
     
    7271201  ac_srcdir_defaulted=no
    7281202fi
    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
     1203if test ! -r "$srcdir/$ac_unique_file"; then
     1204  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
     1205  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
     1206fi
     1207ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
     1208ac_abs_confdir=`(
     1209    cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
     1210    pwd)`
     1211# When building in place, set srcdir=.
     1212if test "$ac_abs_confdir" = "$ac_pwd"; then
     1213  srcdir=.
     1214fi
     1215# Remove unnecessary trailing slashes from srcdir.
     1216# Double slashes in file names in object file debugging info
     1217# mess up M-x gdb in Emacs.
     1218case $srcdir in
     1219*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
     1220esac
     1221for ac_var in $ac_precious_vars; do
     1222  eval ac_env_${ac_var}_set=\${${ac_var}+set}
     1223  eval ac_env_${ac_var}_value=\$${ac_var}
     1224  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
     1225  eval ac_cv_env_${ac_var}_value=\$${ac_var}
     1226done
    7741227
    7751228#
     
    7941247      --help=recursive    display the short help of all the included packages
    7951248  -V, --version           display version information and exit
    796   -q, --quiet, --silent   do not print \`checking...' messages
     1249  -q, --quiet, --silent   do not print \`checking ...' messages
    7971250      --cache-file=FILE   cache test results in FILE [disabled]
    7981251  -C, --config-cache      alias for \`--cache-file=config.cache'
     
    8001253      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
    8011254
    802 _ACEOF
    803 
    804   cat <<_ACEOF
    8051255Installation directories:
    8061256  --prefix=PREFIX         install architecture-independent files in PREFIX
    807               [$ac_default_prefix]
     1257                          [$ac_default_prefix]
    8081258  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
    809               [PREFIX]
     1259                          [PREFIX]
    8101260
    8111261By default, \`make install' will install all the files in
     
    8171267
    8181268Fine 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]
     1269  --bindir=DIR            user executables [EPREFIX/bin]
     1270  --sbindir=DIR           system admin executables [EPREFIX/sbin]
     1271  --libexecdir=DIR        program executables [EPREFIX/libexec]
     1272  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
     1273  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
     1274  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
     1275  --libdir=DIR            object code libraries [EPREFIX/lib]
     1276  --includedir=DIR        C header files [PREFIX/include]
     1277  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
     1278  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
     1279  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
     1280  --infodir=DIR           info documentation [DATAROOTDIR/info]
     1281  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
     1282  --mandir=DIR            man documentation [DATAROOTDIR/man]
     1283  --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
     1284  --htmldir=DIR           html documentation [DOCDIR]
     1285  --dvidir=DIR            dvi documentation [DOCDIR]
     1286  --pdfdir=DIR            pdf documentation [DOCDIR]
     1287  --psdir=DIR             ps documentation [DOCDIR]
    8311288_ACEOF
    8321289
     
    8541311  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
    8551312              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>
     1313  LIBS        libraries to pass to the linker, e.g. -l<library>
     1314  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
     1315              you have headers in a nonstandard directory <include dir>
    8581316  CPP         C preprocessor
    8591317
     
    8611319it to find libraries and programs with nonstandard names/locations.
    8621320
    863 _ACEOF
     1321Report bugs to the package provider.
     1322_ACEOF
     1323ac_status=$?
    8641324fi
    8651325
    8661326if test "$ac_init_help" = "recursive"; then
    8671327  # If there are subdirs, report their specific --help.
    868   ac_popdir=`pwd`
    8691328  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
    870     test -d $ac_dir || continue
     1329    test -d "$ac_dir" ||
     1330      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
     1331      continue
    8711332    ac_builddir=.
    8721333
    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
     1334case "$ac_dir" in
     1335.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
     1336*)
     1337  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
     1338  # A ".." for each directory in $ac_dir_suffix.
     1339  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
     1340  case $ac_top_builddir_sub in
     1341  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
     1342  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
     1343  esac ;;
     1344esac
     1345ac_abs_top_builddir=$ac_pwd
     1346ac_abs_builddir=$ac_pwd$ac_dir_suffix
     1347# for backward compatibility:
     1348ac_top_builddir=$ac_top_build_prefix
    8801349
    8811350case $srcdir in
    882   .)  # No --srcdir option.  We are building in place.
     1351  .)  # We are building in place.
    8831352    ac_srcdir=.
    884     if test -z "$ac_top_builddir"; then
    885        ac_top_srcdir=.
     1353    ac_top_srcdir=$ac_top_builddir_sub
     1354    ac_abs_top_srcdir=$ac_pwd ;;
     1355  [\\/]* | ?:[\\/]* )  # Absolute name.
     1356    ac_srcdir=$srcdir$ac_dir_suffix;
     1357    ac_top_srcdir=$srcdir
     1358    ac_abs_top_srcdir=$srcdir ;;
     1359  *) # Relative name.
     1360    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
     1361    ac_top_srcdir=$ac_top_build_prefix$srcdir
     1362    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
     1363esac
     1364ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
     1365
     1366    cd "$ac_dir" || { ac_status=$?; continue; }
     1367    # Check for guested configure.
     1368    if test -f "$ac_srcdir/configure.gnu"; then
     1369      echo &&
     1370      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
     1371    elif test -f "$ac_srcdir/configure"; then
     1372      echo &&
     1373      $SHELL "$ac_srcdir/configure" --help=recursive
    8861374    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
     1375      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
     1376    fi || ac_status=$?
     1377    cd "$ac_pwd" || { ac_status=$?; break; }
    9521378  done
    9531379fi
    9541380
    955 test -n "$ac_init_help" && exit 0
     1381test -n "$ac_init_help" && exit $ac_status
    9561382if $ac_init_version; then
    9571383  cat <<\_ACEOF
    958 
    959 Copyright (C) 2003 Free Software Foundation, Inc.
     1384configure
     1385generated by GNU Autoconf 2.68
     1386
     1387Copyright (C) 2010 Free Software Foundation, Inc.
    9601388This configure script is free software; the Free Software Foundation
    9611389gives unlimited permission to copy, distribute and modify it.
    9621390_ACEOF
    963   exit 0
    964 fi
    965 exec 5>config.log
    966 cat >&5 <<_ACEOF
     1391  exit
     1392fi
     1393
     1394## ------------------------ ##
     1395## Autoconf initialization. ##
     1396## ------------------------ ##
     1397
     1398# ac_fn_c_try_compile LINENO
     1399# --------------------------
     1400# Try to compile conftest.$ac_ext, and return whether this succeeded.
     1401ac_fn_c_try_compile ()
     1402{
     1403  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1404  rm -f conftest.$ac_objext
     1405  if { { ac_try="$ac_compile"
     1406case "(($ac_try" in
     1407  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1408  *) ac_try_echo=$ac_try;;
     1409esac
     1410eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1411$as_echo "$ac_try_echo"; } >&5
     1412  (eval "$ac_compile") 2>conftest.err
     1413  ac_status=$?
     1414  if test -s conftest.err; then
     1415    grep -v '^ *+' conftest.err >conftest.er1
     1416    cat conftest.er1 >&5
     1417    mv -f conftest.er1 conftest.err
     1418  fi
     1419  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1420  test $ac_status = 0; } && {
     1421     test -z "$ac_c_werror_flag" ||
     1422     test ! -s conftest.err
     1423       } && test -s conftest.$ac_objext; then :
     1424  ac_retval=0
     1425else
     1426  $as_echo "$as_me: failed program was:" >&5
     1427sed 's/^/| /' conftest.$ac_ext >&5
     1428
     1429    ac_retval=1
     1430fi
     1431  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1432  as_fn_set_status $ac_retval
     1433
     1434} # ac_fn_c_try_compile
     1435
     1436# ac_fn_c_try_run LINENO
     1437# ----------------------
     1438# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
     1439# that executables *can* be run.
     1440ac_fn_c_try_run ()
     1441{
     1442  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1443  if { { ac_try="$ac_link"
     1444case "(($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_link") 2>&5
     1451  ac_status=$?
     1452  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1453  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
     1454  { { case "(($ac_try" in
     1455  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1456  *) ac_try_echo=$ac_try;;
     1457esac
     1458eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1459$as_echo "$ac_try_echo"; } >&5
     1460  (eval "$ac_try") 2>&5
     1461  ac_status=$?
     1462  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1463  test $ac_status = 0; }; }; then :
     1464  ac_retval=0
     1465else
     1466  $as_echo "$as_me: program exited with status $ac_status" >&5
     1467       $as_echo "$as_me: failed program was:" >&5
     1468sed 's/^/| /' conftest.$ac_ext >&5
     1469
     1470       ac_retval=$ac_status
     1471fi
     1472  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     1473  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1474  as_fn_set_status $ac_retval
     1475
     1476} # ac_fn_c_try_run
     1477
     1478# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
     1479# --------------------------------------------
     1480# Tries to find the compile-time value of EXPR in a program that includes
     1481# INCLUDES, setting VAR accordingly. Returns whether the value could be
     1482# computed
     1483ac_fn_c_compute_int ()
     1484{
     1485  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1486  if test "$cross_compiling" = yes; then
     1487    # Depending upon the size, compute the lo and hi bounds.
     1488cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1489/* end confdefs.h.  */
     1490$4
     1491int
     1492main ()
     1493{
     1494static int test_array [1 - 2 * !(($2) >= 0)];
     1495test_array [0] = 0
     1496
     1497  ;
     1498  return 0;
     1499}
     1500_ACEOF
     1501if ac_fn_c_try_compile "$LINENO"; then :
     1502  ac_lo=0 ac_mid=0
     1503  while :; do
     1504    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1505/* end confdefs.h.  */
     1506$4
     1507int
     1508main ()
     1509{
     1510static int test_array [1 - 2 * !(($2) <= $ac_mid)];
     1511test_array [0] = 0
     1512
     1513  ;
     1514  return 0;
     1515}
     1516_ACEOF
     1517if ac_fn_c_try_compile "$LINENO"; then :
     1518  ac_hi=$ac_mid; break
     1519else
     1520  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
     1521            if test $ac_lo -le $ac_mid; then
     1522              ac_lo= ac_hi=
     1523              break
     1524            fi
     1525            as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
     1526fi
     1527rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1528  done
     1529else
     1530  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1531/* end confdefs.h.  */
     1532$4
     1533int
     1534main ()
     1535{
     1536static int test_array [1 - 2 * !(($2) < 0)];
     1537test_array [0] = 0
     1538
     1539  ;
     1540  return 0;
     1541}
     1542_ACEOF
     1543if ac_fn_c_try_compile "$LINENO"; then :
     1544  ac_hi=-1 ac_mid=-1
     1545  while :; do
     1546    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1547/* end confdefs.h.  */
     1548$4
     1549int
     1550main ()
     1551{
     1552static int test_array [1 - 2 * !(($2) >= $ac_mid)];
     1553test_array [0] = 0
     1554
     1555  ;
     1556  return 0;
     1557}
     1558_ACEOF
     1559if ac_fn_c_try_compile "$LINENO"; then :
     1560  ac_lo=$ac_mid; break
     1561else
     1562  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
     1563            if test $ac_mid -le $ac_hi; then
     1564              ac_lo= ac_hi=
     1565              break
     1566            fi
     1567            as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
     1568fi
     1569rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1570  done
     1571else
     1572  ac_lo= ac_hi=
     1573fi
     1574rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1575fi
     1576rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1577# Binary search between lo and hi bounds.
     1578while test "x$ac_lo" != "x$ac_hi"; do
     1579  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
     1580  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1581/* end confdefs.h.  */
     1582$4
     1583int
     1584main ()
     1585{
     1586static int test_array [1 - 2 * !(($2) <= $ac_mid)];
     1587test_array [0] = 0
     1588
     1589  ;
     1590  return 0;
     1591}
     1592_ACEOF
     1593if ac_fn_c_try_compile "$LINENO"; then :
     1594  ac_hi=$ac_mid
     1595else
     1596  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
     1597fi
     1598rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1599done
     1600case $ac_lo in #((
     1601?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
     1602'') ac_retval=1 ;;
     1603esac
     1604  else
     1605    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1606/* end confdefs.h.  */
     1607$4
     1608static long int longval () { return $2; }
     1609static unsigned long int ulongval () { return $2; }
     1610#include <stdio.h>
     1611#include <stdlib.h>
     1612int
     1613main ()
     1614{
     1615
     1616  FILE *f = fopen ("conftest.val", "w");
     1617  if (! f)
     1618    return 1;
     1619  if (($2) < 0)
     1620    {
     1621      long int i = longval ();
     1622      if (i != ($2))
     1623    return 1;
     1624      fprintf (f, "%ld", i);
     1625    }
     1626  else
     1627    {
     1628      unsigned long int i = ulongval ();
     1629      if (i != ($2))
     1630    return 1;
     1631      fprintf (f, "%lu", i);
     1632    }
     1633  /* Do not output a trailing newline, as this causes \r\n confusion
     1634     on some platforms.  */
     1635  return ferror (f) || fclose (f) != 0;
     1636
     1637  ;
     1638  return 0;
     1639}
     1640_ACEOF
     1641if ac_fn_c_try_run "$LINENO"; then :
     1642  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
     1643else
     1644  ac_retval=1
     1645fi
     1646rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     1647  conftest.$ac_objext conftest.beam conftest.$ac_ext
     1648rm -f conftest.val
     1649
     1650  fi
     1651  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1652  as_fn_set_status $ac_retval
     1653
     1654} # ac_fn_c_compute_int
     1655
     1656# ac_fn_c_try_cpp LINENO
     1657# ----------------------
     1658# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
     1659ac_fn_c_try_cpp ()
     1660{
     1661  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1662  if { { ac_try="$ac_cpp conftest.$ac_ext"
     1663case "(($ac_try" in
     1664  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1665  *) ac_try_echo=$ac_try;;
     1666esac
     1667eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1668$as_echo "$ac_try_echo"; } >&5
     1669  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
     1670  ac_status=$?
     1671  if test -s conftest.err; then
     1672    grep -v '^ *+' conftest.err >conftest.er1
     1673    cat conftest.er1 >&5
     1674    mv -f conftest.er1 conftest.err
     1675  fi
     1676  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1677  test $ac_status = 0; } > conftest.i && {
     1678     test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     1679     test ! -s conftest.err
     1680       }; then :
     1681  ac_retval=0
     1682else
     1683  $as_echo "$as_me: failed program was:" >&5
     1684sed 's/^/| /' conftest.$ac_ext >&5
     1685
     1686    ac_retval=1
     1687fi
     1688  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1689  as_fn_set_status $ac_retval
     1690
     1691} # ac_fn_c_try_cpp
     1692
     1693# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
     1694# -------------------------------------------------------
     1695# Tests whether HEADER exists and can be compiled using the include files in
     1696# INCLUDES, setting the cache variable VAR accordingly.
     1697ac_fn_c_check_header_compile ()
     1698{
     1699  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1700  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1701$as_echo_n "checking for $2... " >&6; }
     1702if eval \${$3+:} false; then :
     1703  $as_echo_n "(cached) " >&6
     1704else
     1705  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1706/* end confdefs.h.  */
     1707$4
     1708#include <$2>
     1709_ACEOF
     1710if ac_fn_c_try_compile "$LINENO"; then :
     1711  eval "$3=yes"
     1712else
     1713  eval "$3=no"
     1714fi
     1715rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1716fi
     1717eval ac_res=\$$3
     1718           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1719$as_echo "$ac_res" >&6; }
     1720  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1721
     1722} # ac_fn_c_check_header_compile
     1723
     1724# ac_fn_c_try_link LINENO
     1725# -----------------------
     1726# Try to link conftest.$ac_ext, and return whether this succeeded.
     1727ac_fn_c_try_link ()
     1728{
     1729  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1730  rm -f conftest.$ac_objext conftest$ac_exeext
     1731  if { { ac_try="$ac_link"
     1732case "(($ac_try" in
     1733  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1734  *) ac_try_echo=$ac_try;;
     1735esac
     1736eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1737$as_echo "$ac_try_echo"; } >&5
     1738  (eval "$ac_link") 2>conftest.err
     1739  ac_status=$?
     1740  if test -s conftest.err; then
     1741    grep -v '^ *+' conftest.err >conftest.er1
     1742    cat conftest.er1 >&5
     1743    mv -f conftest.er1 conftest.err
     1744  fi
     1745  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1746  test $ac_status = 0; } && {
     1747     test -z "$ac_c_werror_flag" ||
     1748     test ! -s conftest.err
     1749       } && test -s conftest$ac_exeext && {
     1750     test "$cross_compiling" = yes ||
     1751     $as_test_x conftest$ac_exeext
     1752       }; then :
     1753  ac_retval=0
     1754else
     1755  $as_echo "$as_me: failed program was:" >&5
     1756sed 's/^/| /' conftest.$ac_ext >&5
     1757
     1758    ac_retval=1
     1759fi
     1760  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
     1761  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
     1762  # interfere with the next link command; also delete a directory that is
     1763  # left behind by Apple's compiler.  We do this before executing the actions.
     1764  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     1765  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1766  as_fn_set_status $ac_retval
     1767
     1768} # ac_fn_c_try_link
     1769cat >config.log <<_ACEOF
    9671770This file contains any messages produced by compilers while
    9681771running configure, to aid debugging if configure makes a mistake.
    9691772
    9701773It was created by $as_me, which was
    971 generated by GNU Autoconf 2.59.  Invocation command line was
     1774generated by GNU Autoconf 2.68.  Invocation command line was
    9721775
    9731776  $ $0 $@
    9741777
    9751778_ACEOF
     1779exec 5>>config.log
    9761780{
    9771781cat <<_ASUNAME
     
    9921796/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
    9931797/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
    994 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
     1798/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
    9951799/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
    9961800/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
     
    10041808  IFS=$as_save_IFS
    10051809  test -z "$as_dir" && as_dir=.
    1006   echo "PATH: $as_dir"
    1007 done
     1810    $as_echo "PATH: $as_dir"
     1811  done
     1812IFS=$as_save_IFS
    10081813
    10091814} >&5
     
    10271832ac_configure_args0=
    10281833ac_configure_args1=
    1029 ac_sep=
    10301834ac_must_keep_next=false
    10311835for ac_pass in 1 2
     
    10381842    | -silent | --silent | --silen | --sile | --sil)
    10391843      continue ;;
    1040     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
    1041       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
     1844    *\'*)
     1845      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
    10421846    esac
    10431847    case $ac_pass in
    1044     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
     1848    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
    10451849    2)
    1046       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
     1850      as_fn_append ac_configure_args1 " '$ac_arg'"
    10471851      if test $ac_must_keep_next = true; then
    10481852    ac_must_keep_next=false # Got value, back to normal.
     
    10601864    esac
    10611865      fi
    1062       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
    1063       # Get rid of the leading space.
    1064       ac_sep=" "
     1866      as_fn_append ac_configure_args " '$ac_arg'"
    10651867      ;;
    10661868    esac
    10671869  done
    10681870done
    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; }
     1871{ ac_configure_args0=; unset ac_configure_args0;}
     1872{ ac_configure_args1=; unset ac_configure_args1;}
    10711873
    10721874# When interrupted or exit'd, cleanup temporary files, and complete
    10731875# config.log.  We remove comments because anyway the quotes in there
    10741876# 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.
     1877# WARNING: Use '\'' to represent an apostrophe within the trap.
     1878# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
    10771879trap 'exit_status=$?
    10781880  # Save into config.log some information that might help in debugging.
     
    10801882    echo
    10811883
    1082     cat <<\_ASBOX
    1083 ## ---------------- ##
     1884    $as_echo "## ---------------- ##
    10841885## Cache variables. ##
    1085 ## ---------------- ##
    1086 _ASBOX
     1886## ---------------- ##"
    10871887    echo
    10881888    # The following way of writing the cache mishandles newlines in values,
    1089 {
     1889(
     1890  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
     1891    eval ac_val=\$$ac_var
     1892    case $ac_val in #(
     1893    *${as_nl}*)
     1894      case $ac_var in #(
     1895      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
     1896$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
     1897      esac
     1898      case $ac_var in #(
     1899      _ | IFS | as_nl) ;; #(
     1900      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
     1901      *) { eval $ac_var=; unset $ac_var;} ;;
     1902      esac ;;
     1903    esac
     1904  done
    10901905  (set) 2>&1 |
    1091     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
    1092     *ac_space=\ *)
     1906    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
     1907    *${as_nl}ac_space=\ *)
    10931908      sed -n \
    1094     "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
    1095       s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
     1909    "s/'\''/'\''\\\\'\'''\''/g;
     1910      s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
     1911      ;; #(
     1912    *)
     1913      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
    10961914      ;;
    1097     *)
    1098       sed -n \
    1099     "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
    1100       ;;
    1101     esac;
    1102 }
     1915    esac |
     1916    sort
     1917)
    11031918    echo
    11041919
    1105     cat <<\_ASBOX
    1106 ## ----------------- ##
     1920    $as_echo "## ----------------- ##
    11071921## Output variables. ##
    1108 ## ----------------- ##
    1109 _ASBOX
     1922## ----------------- ##"
    11101923    echo
    11111924    for ac_var in $ac_subst_vars
    11121925    do
    1113       eval ac_val=$`echo $ac_var`
    1114       echo "$ac_var='"'"'$ac_val'"'"'"
     1926      eval ac_val=\$$ac_var
     1927      case $ac_val in
     1928      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
     1929      esac
     1930      $as_echo "$ac_var='\''$ac_val'\''"
    11151931    done | sort
    11161932    echo
    11171933
    11181934    if test -n "$ac_subst_files"; then
    1119       cat <<\_ASBOX
    1120 ## ------------- ##
    1121 ## Output files. ##
    1122 ## ------------- ##
    1123 _ASBOX
     1935      $as_echo "## ------------------- ##
     1936## File substitutions. ##
     1937## ------------------- ##"
    11241938      echo
    11251939      for ac_var in $ac_subst_files
    11261940      do
    1127     eval ac_val=$`echo $ac_var`
    1128     echo "$ac_var='"'"'$ac_val'"'"'"
     1941    eval ac_val=\$$ac_var
     1942    case $ac_val in
     1943    *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
     1944    esac
     1945    $as_echo "$ac_var='\''$ac_val'\''"
    11291946      done | sort
    11301947      echo
     
    11321949
    11331950    if test -s confdefs.h; then
    1134       cat <<\_ASBOX
    1135 ## ----------- ##
     1951      $as_echo "## ----------- ##
    11361952## confdefs.h. ##
    1137 ## ----------- ##
    1138 _ASBOX
     1953## ----------- ##"
    11391954      echo
    1140       sed "/^$/d" confdefs.h | sort
     1955      cat confdefs.h
    11411956      echo
    11421957    fi
    11431958    test "$ac_signal" != 0 &&
    1144       echo "$as_me: caught signal $ac_signal"
    1145     echo "$as_me: exit $exit_status"
     1959      $as_echo "$as_me: caught signal $ac_signal"
     1960    $as_echo "$as_me: exit $exit_status"
    11461961  } >&5
    1147   rm -f core *.core &&
    1148   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
     1962  rm -f core *.core core.conftest.* &&
     1963    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
    11491964    exit $exit_status
    1150      ' 0
     1965' 0
    11511966for ac_signal in 1 2 13 15; do
    1152   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
     1967  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
    11531968done
    11541969ac_signal=0
    11551970
    11561971# 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
     1972rm -f -r conftest* confdefs.h
     1973
     1974$as_echo "/* confdefs.h */" > confdefs.h
    11601975
    11611976# Predefined preprocessor variables.
     
    11651980_ACEOF
    11661981
    1167 
    11681982cat >>confdefs.h <<_ACEOF
    11691983#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
    11701984_ACEOF
    11711985
    1172 
    11731986cat >>confdefs.h <<_ACEOF
    11741987#define PACKAGE_VERSION "$PACKAGE_VERSION"
    11751988_ACEOF
    11761989
    1177 
    11781990cat >>confdefs.h <<_ACEOF
    11791991#define PACKAGE_STRING "$PACKAGE_STRING"
    11801992_ACEOF
    11811993
    1182 
    11831994cat >>confdefs.h <<_ACEOF
    11841995#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
    11851996_ACEOF
    11861997
     1998cat >>confdefs.h <<_ACEOF
     1999#define PACKAGE_URL "$PACKAGE_URL"
     2000_ACEOF
     2001
    11872002
    11882003# 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;}
     2004# Prefer an explicitly selected file to automatically selected ones.
     2005ac_site_file1=NONE
     2006ac_site_file2=NONE
     2007if test -n "$CONFIG_SITE"; then
     2008  # We do not want a PATH search for config.site.
     2009  case $CONFIG_SITE in #((
     2010    -*)  ac_site_file1=./$CONFIG_SITE;;
     2011    */*) ac_site_file1=$CONFIG_SITE;;
     2012    *)   ac_site_file1=./$CONFIG_SITE;;
     2013  esac
     2014elif test "x$prefix" != xNONE; then
     2015  ac_site_file1=$prefix/share/config.site
     2016  ac_site_file2=$prefix/etc/config.site
     2017else
     2018  ac_site_file1=$ac_default_prefix/share/config.site
     2019  ac_site_file2=$ac_default_prefix/etc/config.site
     2020fi
     2021for ac_site_file in "$ac_site_file1" "$ac_site_file2"
     2022do
     2023  test "x$ac_site_file" = xNONE && continue
     2024  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
     2025    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
     2026$as_echo "$as_me: loading site script $ac_site_file" >&6;}
    12012027    sed 's/^/| /' "$ac_site_file" >&5
    1202     . "$ac_site_file"
     2028    . "$ac_site_file" \
     2029      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2030$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2031as_fn_error $? "failed to load site script $ac_site_file
     2032See \`config.log' for more details" "$LINENO" 5; }
    12032033  fi
    12042034done
    12052035
    12062036if 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;}
     2037  # Some versions of bash will fail to source /dev/null (special files
     2038  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
     2039  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
     2040    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
     2041$as_echo "$as_me: loading cache $cache_file" >&6;}
    12122042    case $cache_file in
    1213       [\\/]* | ?:[\\/]* ) . $cache_file;;
    1214       *)                      . ./$cache_file;;
     2043      [\\/]* | ?:[\\/]* ) . "$cache_file";;
     2044      *)                      . "./$cache_file";;
    12152045    esac
    12162046  fi
    12172047else
    1218   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
    1219 echo "$as_me: creating cache $cache_file" >&6;}
     2048  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
     2049$as_echo "$as_me: creating cache $cache_file" >&6;}
    12202050  >$cache_file
    12212051fi
     
    12242054# value.
    12252055ac_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
     2056for ac_var in $ac_precious_vars; do
    12282057  eval ac_old_set=\$ac_cv_env_${ac_var}_set
    12292058  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"
     2059  eval ac_old_val=\$ac_cv_env_${ac_var}_value
     2060  eval ac_new_val=\$ac_env_${ac_var}_value
    12322061  case $ac_old_set,$ac_new_set in
    12332062    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;}
     2063      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
     2064$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
    12362065      ac_cache_corrupted=: ;;
    12372066    ,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;}
     2067      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
     2068$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
    12402069      ac_cache_corrupted=: ;;
    12412070    ,);;
    12422071    *)
    12432072      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=:
     2073    # differences in whitespace do not lead to failure.
     2074    ac_old_val_w=`echo x $ac_old_val`
     2075    ac_new_val_w=`echo x $ac_new_val`
     2076    if test "$ac_old_val_w" != "$ac_new_val_w"; then
     2077      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
     2078$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
     2079      ac_cache_corrupted=:
     2080    else
     2081      { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
     2082$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
     2083      eval $ac_var=\$ac_old_val
     2084    fi
     2085    { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
     2086$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
     2087    { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
     2088$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
    12512089      fi;;
    12522090  esac
     
    12542092  if test "$ac_new_set" = set; then
    12552093    case $ac_new_val in
    1256     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
    1257       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
     2094    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
    12582095    *) ac_arg=$ac_var=$ac_new_val ;;
    12592096    esac
    12602097    case " $ac_configure_args " in
    12612098      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
    1262       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
     2099      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
    12632100    esac
    12642101  fi
    12652102done
    12662103if $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
     2104  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2105$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2106  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
     2107$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
     2108  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
     2109fi
     2110## -------------------- ##
     2111## Main body of script. ##
     2112## -------------------- ##
    12732113
    12742114ac_ext=c
     
    12812121
    12822122
    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;
     2123# Check whether --with-gdbm was given.
     2124if test "${with_gdbm+set}" = set; then :
     2125  withval=$with_gdbm; gdbmdir=$withval
     2126fi
     2127
    13052128
    13062129ac_aux_dir=
    1307 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
    1308   if test -f $ac_dir/install-sh; then
     2130for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
     2131  if test -f "$ac_dir/install-sh"; then
    13092132    ac_aux_dir=$ac_dir
    13102133    ac_install_sh="$ac_aux_dir/install-sh -c"
    13112134    break
    1312   elif test -f $ac_dir/install.sh; then
     2135  elif test -f "$ac_dir/install.sh"; then
    13132136    ac_aux_dir=$ac_dir
    13142137    ac_install_sh="$ac_aux_dir/install.sh -c"
    13152138    break
    1316   elif test -f $ac_dir/shtool; then
     2139  elif test -f "$ac_dir/shtool"; then
    13172140    ac_aux_dir=$ac_dir
    13182141    ac_install_sh="$ac_aux_dir/shtool install -c"
     
    13212144done
    13222145if 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.
     2146  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
     2147fi
     2148
     2149# These three variables are undocumented and unsupported,
     2150# and are intended to be withdrawn in a future Autoconf release.
     2151# They can cause serious problems if a builder's source tree is in a directory
     2152# whose full name contains unusual characters.
     2153ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
     2154ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
     2155ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
     2156
    13302157
    13312158# 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
     2159$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
     2160  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
     2161
     2162{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
     2163$as_echo_n "checking build system type... " >&6; }
     2164if ${ac_cv_build+:} false; then :
     2165  $as_echo_n "(cached) " >&6
     2166else
     2167  ac_build_alias=$build_alias
     2168test "x$ac_build_alias" = x &&
     2169  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
     2170test "x$ac_build_alias" = x &&
     2171  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
     2172ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
     2173  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
     2174
     2175fi
     2176{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
     2177$as_echo "$ac_cv_build" >&6; }
     2178case $ac_cv_build in
     2179*-*-*) ;;
     2180*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
     2181esac
    13572182build=$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
     2183ac_save_IFS=$IFS; IFS='-'
     2184set x $ac_cv_build
     2185shift
     2186build_cpu=$1
     2187build_vendor=$2
     2188shift; shift
     2189# Remember, the first character of IFS is used to create $*,
     2190# except with old shells:
     2191build_os=$*
     2192IFS=$ac_save_IFS
     2193case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
     2194
     2195
     2196{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
     2197$as_echo_n "checking host system type... " >&6; }
     2198if ${ac_cv_host+:} false; then :
     2199  $as_echo_n "(cached) " >&6
     2200else
     2201  if test "x$host_alias" = x; then
     2202  ac_cv_host=$ac_cv_build
     2203else
     2204  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
     2205    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
     2206fi
     2207
     2208fi
     2209{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
     2210$as_echo "$ac_cv_host" >&6; }
     2211case $ac_cv_host in
     2212*-*-*) ;;
     2213*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
     2214esac
    13792215host=$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
     2216ac_save_IFS=$IFS; IFS='-'
     2217set x $ac_cv_host
     2218shift
     2219host_cpu=$1
     2220host_vendor=$2
     2221shift; shift
     2222# Remember, the first character of IFS is used to create $*,
     2223# except with old shells:
     2224host_os=$*
     2225IFS=$ac_save_IFS
     2226case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
     2227
     2228
     2229{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
     2230$as_echo_n "checking target system type... " >&6; }
     2231if ${ac_cv_target+:} false; then :
     2232  $as_echo_n "(cached) " >&6
     2233else
     2234  if test "x$target_alias" = x; then
     2235  ac_cv_target=$ac_cv_host
     2236else
     2237  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
     2238    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
     2239fi
     2240
     2241fi
     2242{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
     2243$as_echo "$ac_cv_target" >&6; }
     2244case $ac_cv_target in
     2245*-*-*) ;;
     2246*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
     2247esac
    14012248target=$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/'`
     2249ac_save_IFS=$IFS; IFS='-'
     2250set x $ac_cv_target
     2251shift
     2252target_cpu=$1
     2253target_vendor=$2
     2254shift; shift
     2255# Remember, the first character of IFS is used to create $*,
     2256# except with old shells:
     2257target_os=$*
     2258IFS=$ac_save_IFS
     2259case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
    14052260
    14062261
     
    14112266    NONENONEs,x,x, &&
    14122267  program_prefix=${target_alias}-
     2268
    14132269
    14142270# TODO: allow the user to specify whether they want a debugging
     
    14242280  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    14252281set 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
     2282{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2283$as_echo_n "checking for $ac_word... " >&6; }
     2284if ${ac_cv_prog_CC+:} false; then :
     2285  $as_echo_n "(cached) " >&6
    14302286else
    14312287  if test -n "$CC"; then
     
    14372293  IFS=$as_save_IFS
    14382294  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
     2295    for ac_exec_ext in '' $ac_executable_extensions; do
     2296  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    14412297    ac_cv_prog_CC="${ac_tool_prefix}gcc"
    1442     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2298    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    14432299    break 2
    14442300  fi
    14452301done
    1446 done
     2302  done
     2303IFS=$as_save_IFS
    14472304
    14482305fi
     
    14502307CC=$ac_cv_prog_CC
    14512308if 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
     2309  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     2310$as_echo "$CC" >&6; }
     2311else
     2312  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2313$as_echo "no" >&6; }
     2314fi
     2315
    14582316
    14592317fi
     
    14622320  # Extract the first word of "gcc", so it can be a program name with args.
    14632321set 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
     2322{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2323$as_echo_n "checking for $ac_word... " >&6; }
     2324if ${ac_cv_prog_ac_ct_CC+:} false; then :
     2325  $as_echo_n "(cached) " >&6
    14682326else
    14692327  if test -n "$ac_ct_CC"; then
     
    14752333  IFS=$as_save_IFS
    14762334  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
     2335    for ac_exec_ext in '' $ac_executable_extensions; do
     2336  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    14792337    ac_cv_prog_ac_ct_CC="gcc"
    1480     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2338    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    14812339    break 2
    14822340  fi
    14832341done
    1484 done
     2342  done
     2343IFS=$as_save_IFS
    14852344
    14862345fi
     
    14882347ac_ct_CC=$ac_cv_prog_ac_ct_CC
    14892348if 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
     2349  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
     2350$as_echo "$ac_ct_CC" >&6; }
     2351else
     2352  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2353$as_echo "no" >&6; }
     2354fi
     2355
     2356  if test "x$ac_ct_CC" = x; then
     2357    CC=""
     2358  else
     2359    case $cross_compiling:$ac_tool_warned in
     2360yes:)
     2361{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     2362$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     2363ac_tool_warned=yes ;;
     2364esac
     2365    CC=$ac_ct_CC
     2366  fi
    14982367else
    14992368  CC="$ac_cv_prog_CC"
     
    15012370
    15022371if 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.
     2372          if test -n "$ac_tool_prefix"; then
     2373    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
    15052374set 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
     2375{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2376$as_echo_n "checking for $ac_word... " >&6; }
     2377if ${ac_cv_prog_CC+:} false; then :
     2378  $as_echo_n "(cached) " >&6
    15102379else
    15112380  if test -n "$CC"; then
     
    15172386  IFS=$as_save_IFS
    15182387  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
     2388    for ac_exec_ext in '' $ac_executable_extensions; do
     2389  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    15212390    ac_cv_prog_CC="${ac_tool_prefix}cc"
    1522     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2391    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    15232392    break 2
    15242393  fi
    15252394done
    1526 done
     2395  done
     2396IFS=$as_save_IFS
    15272397
    15282398fi
     
    15302400CC=$ac_cv_prog_CC
    15312401if 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
     2402  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     2403$as_echo "$CC" >&6; }
     2404else
     2405  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2406$as_echo "no" >&6; }
     2407fi
     2408
     2409
    15622410  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 
    15822411fi
    15832412if test -z "$CC"; then
    15842413  # Extract the first word of "cc", so it can be a program name with args.
    15852414set 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
     2415{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2416$as_echo_n "checking for $ac_word... " >&6; }
     2417if ${ac_cv_prog_CC+:} false; then :
     2418  $as_echo_n "(cached) " >&6
    15902419else
    15912420  if test -n "$CC"; then
     
    15982427  IFS=$as_save_IFS
    15992428  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
     2429    for ac_exec_ext in '' $ac_executable_extensions; do
     2430  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    16022431    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
    16032432       ac_prog_rejected=yes
     
    16052434     fi
    16062435    ac_cv_prog_CC="cc"
    1607     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2436    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    16082437    break 2
    16092438  fi
    16102439done
    1611 done
     2440  done
     2441IFS=$as_save_IFS
    16122442
    16132443if test $ac_prog_rejected = yes; then
     
    16272457CC=$ac_cv_prog_CC
    16282458if 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
     2459  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     2460$as_echo "$CC" >&6; }
     2461else
     2462  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2463$as_echo "no" >&6; }
     2464fi
     2465
    16352466
    16362467fi
    16372468if test -z "$CC"; then
    16382469  if test -n "$ac_tool_prefix"; then
    1639   for ac_prog in cl
     2470  for ac_prog in cl.exe
    16402471  do
    16412472    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    16422473set 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
     2474{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2475$as_echo_n "checking for $ac_word... " >&6; }
     2476if ${ac_cv_prog_CC+:} false; then :
     2477  $as_echo_n "(cached) " >&6
    16472478else
    16482479  if test -n "$CC"; then
     
    16542485  IFS=$as_save_IFS
    16552486  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
     2487    for ac_exec_ext in '' $ac_executable_extensions; do
     2488  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    16582489    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    1659     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2490    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    16602491    break 2
    16612492  fi
    16622493done
    1663 done
     2494  done
     2495IFS=$as_save_IFS
    16642496
    16652497fi
     
    16672499CC=$ac_cv_prog_CC
    16682500if 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
     2501  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     2502$as_echo "$CC" >&6; }
     2503else
     2504  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2505$as_echo "no" >&6; }
     2506fi
     2507
    16752508
    16762509    test -n "$CC" && break
     
    16792512if test -z "$CC"; then
    16802513  ac_ct_CC=$CC
    1681   for ac_prog in cl
     2514  for ac_prog in cl.exe
    16822515do
    16832516  # Extract the first word of "$ac_prog", so it can be a program name with args.
    16842517set 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
     2518{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2519$as_echo_n "checking for $ac_word... " >&6; }
     2520if ${ac_cv_prog_ac_ct_CC+:} false; then :
     2521  $as_echo_n "(cached) " >&6
    16892522else
    16902523  if test -n "$ac_ct_CC"; then
     
    16962529  IFS=$as_save_IFS
    16972530  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
     2531    for ac_exec_ext in '' $ac_executable_extensions; do
     2532  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    17002533    ac_cv_prog_ac_ct_CC="$ac_prog"
    1701     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2534    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    17022535    break 2
    17032536  fi
    17042537done
    1705 done
     2538  done
     2539IFS=$as_save_IFS
    17062540
    17072541fi
     
    17092543ac_ct_CC=$ac_cv_prog_ac_ct_CC
    17102544if 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
     2545  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
     2546$as_echo "$ac_ct_CC" >&6; }
     2547else
     2548  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2549$as_echo "no" >&6; }
     2550fi
     2551
    17172552
    17182553  test -n "$ac_ct_CC" && break
    17192554done
    17202555
    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; }; }
     2556  if test "x$ac_ct_CC" = x; then
     2557    CC=""
     2558  else
     2559    case $cross_compiling:$ac_tool_warned in
     2560yes:)
     2561{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     2562$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     2563ac_tool_warned=yes ;;
     2564esac
     2565    CC=$ac_ct_CC
     2566  fi
     2567fi
     2568
     2569fi
     2570
     2571
     2572test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2573$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2574as_fn_error $? "no acceptable C compiler found in \$PATH
     2575See \`config.log' for more details" "$LINENO" 5; }
    17322576
    17332577# 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
     2578$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
     2579set X $ac_compile
     2580ac_compiler=$2
     2581for ac_option in --version -v -V -qversion; do
     2582  { { ac_try="$ac_compiler $ac_option >&5"
     2583case "(($ac_try" in
     2584  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2585  *) ac_try_echo=$ac_try;;
     2586esac
     2587eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     2588$as_echo "$ac_try_echo"; } >&5
     2589  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
    17392590  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
     2591  if test -s conftest.err; then
     2592    sed '10a\
     2593... rest of stderr output deleted ...
     2594         10q' conftest.err >conftest.er1
     2595    cat conftest.er1 >&5
     2596  fi
     2597  rm -f conftest.er1 conftest.err
     2598  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     2599  test $ac_status = 0; }
     2600done
     2601
     2602cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    17582603/* end confdefs.h.  */
    17592604
     
    17672612_ACEOF
    17682613ac_clean_files_save=$ac_clean_files
    1769 ac_clean_files="$ac_clean_files a.out a.exe b.out"
     2614ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
    17702615# Try to create an executable without -o first, disregard a.out.
    17712616# It will help us diagnose broken compilers, and finding out an intuition
    17722617# 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
     2618{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
     2619$as_echo_n "checking whether the C compiler works... " >&6; }
     2620ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
     2621
     2622# The possible output files:
     2623ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
     2624
     2625ac_rmfiles=
     2626for ac_file in $ac_files
     2627do
     2628  case $ac_file in
     2629    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
     2630    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
     2631  esac
     2632done
     2633rm -f $ac_rmfiles
     2634
     2635if { { ac_try="$ac_link_default"
     2636case "(($ac_try" in
     2637  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2638  *) ac_try_echo=$ac_try;;
     2639esac
     2640eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     2641$as_echo "$ac_try_echo"; } >&5
     2642  (eval "$ac_link_default") 2>&5
    17782643  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
     2644  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     2645  test $ac_status = 0; }; then :
     2646  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
     2647# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
     2648# in a Makefile.  We should not override ac_cv_exeext if it was cached,
     2649# so that the user can short-circuit this test for compilers unknown to
     2650# Autoconf.
     2651for ac_file in $ac_files ''
    17902652do
    17912653  test -f "$ac_file" || continue
    17922654  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.
     2655    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
    17972656    ;;
    17982657    [ab].out )
     
    18012660    break;;
    18022661    *.* )
    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
     2662    if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
     2663    then :; else
     2664       ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
     2665    fi
     2666    # We set ac_cv_exeext here because the later test for it is not
     2667    # safe: cross compilers may not add the suffix if given an `-o'
     2668    # argument, so we may need to know it at that point already.
     2669    # Even if this section looks crufty: it has the advantage of
     2670    # actually working.
    18082671    break;;
    18092672    * )
     
    18112674  esac
    18122675done
    1813 else
    1814   echo "$as_me: failed program was:" >&5
     2676test "$ac_cv_exeext" = no && ac_cv_exeext=
     2677
     2678else
     2679  ac_file=''
     2680fi
     2681if test -z "$ac_file"; then :
     2682  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2683$as_echo "no" >&6; }
     2684$as_echo "$as_me: failed program was:" >&5
    18152685sed 's/^/| /' conftest.$ac_ext >&5
    18162686
    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 
     2687{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2688$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2689as_fn_error 77 "C compiler cannot create executables
     2690See \`config.log' for more details" "$LINENO" 5; }
     2691else
     2692  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     2693$as_echo "yes" >&6; }
     2694fi
     2695{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
     2696$as_echo_n "checking for C compiler default output file name... " >&6; }
     2697{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
     2698$as_echo "$ac_file" >&6; }
    18242699ac_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
     2700
     2701rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
     2702ac_clean_files=$ac_clean_files_save
     2703{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
     2704$as_echo_n "checking for suffix of executables... " >&6; }
     2705if { { ac_try="$ac_link"
     2706case "(($ac_try" in
     2707  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2708  *) ac_try_echo=$ac_try;;
     2709esac
     2710eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     2711$as_echo "$ac_try_echo"; } >&5
     2712  (eval "$ac_link") 2>&5
    18382713  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
     2714  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     2715  test $ac_status = 0; }; then :
    18752716  # If both `conftest.exe' and `conftest' are `present' (well, observable)
    18762717# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
     
    18802721  test -f "$ac_file" || continue
    18812722  case $ac_file in
    1882     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
     2723    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
    18832724    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    1884       export ac_cv_exeext
    18852725      break;;
    18862726    * ) break;;
     
    18882728done
    18892729else
    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
     2730  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2731$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2732as_fn_error $? "cannot compute suffix of executables: cannot compile and link
     2733See \`config.log' for more details" "$LINENO" 5; }
     2734fi
     2735rm -f conftest conftest$ac_cv_exeext
     2736{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
     2737$as_echo "$ac_cv_exeext" >&6; }
    19002738
    19012739rm -f conftest.$ac_ext
    19022740EXEEXT=$ac_cv_exeext
    19032741ac_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
     2742cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    19142743/* end confdefs.h.  */
    1915 
     2744#include <stdio.h>
    19162745int
    19172746main ()
    19182747{
     2748FILE *f = fopen ("conftest.out", "w");
     2749 return ferror (f) || fclose (f) != 0;
    19192750
    19202751  ;
     
    19222753}
    19232754_ACEOF
     2755ac_clean_files="$ac_clean_files conftest.out"
     2756# Check that the compiler produces executables we can run.  If not, either
     2757# the compiler is broken, or we cross compile.
     2758{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
     2759$as_echo_n "checking whether we are cross compiling... " >&6; }
     2760if test "$cross_compiling" != yes; then
     2761  { { ac_try="$ac_link"
     2762case "(($ac_try" in
     2763  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2764  *) ac_try_echo=$ac_try;;
     2765esac
     2766eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     2767$as_echo "$ac_try_echo"; } >&5
     2768  (eval "$ac_link") 2>&5
     2769  ac_status=$?
     2770  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     2771  test $ac_status = 0; }
     2772  if { ac_try='./conftest$ac_cv_exeext'
     2773  { { case "(($ac_try" in
     2774  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2775  *) ac_try_echo=$ac_try;;
     2776esac
     2777eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     2778$as_echo "$ac_try_echo"; } >&5
     2779  (eval "$ac_try") 2>&5
     2780  ac_status=$?
     2781  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     2782  test $ac_status = 0; }; }; then
     2783    cross_compiling=no
     2784  else
     2785    if test "$cross_compiling" = maybe; then
     2786    cross_compiling=yes
     2787    else
     2788    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2789$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2790as_fn_error $? "cannot run C compiled programs.
     2791If you meant to cross compile, use \`--host'.
     2792See \`config.log' for more details" "$LINENO" 5; }
     2793    fi
     2794  fi
     2795fi
     2796{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
     2797$as_echo "$cross_compiling" >&6; }
     2798
     2799rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
     2800ac_clean_files=$ac_clean_files_save
     2801{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
     2802$as_echo_n "checking for suffix of object files... " >&6; }
     2803if ${ac_cv_objext+:} false; then :
     2804  $as_echo_n "(cached) " >&6
     2805else
     2806  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2807/* end confdefs.h.  */
     2808
     2809int
     2810main ()
     2811{
     2812
     2813  ;
     2814  return 0;
     2815}
     2816_ACEOF
    19242817rm -f conftest.o conftest.obj
    1925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    1926   (eval $ac_compile) 2>&5
     2818if { { ac_try="$ac_compile"
     2819case "(($ac_try" in
     2820  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2821  *) ac_try_echo=$ac_try;;
     2822esac
     2823eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     2824$as_echo "$ac_try_echo"; } >&5
     2825  (eval "$ac_compile") 2>&5
    19272826  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
     2827  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     2828  test $ac_status = 0; }; then :
     2829  for ac_file in conftest.o conftest.obj conftest.*; do
     2830  test -f "$ac_file" || continue;
    19312831  case $ac_file in
    1932     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
     2832    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
    19332833    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
    19342834       break;;
     
    19362836done
    19372837else
    1938   echo "$as_me: failed program was:" >&5
     2838  $as_echo "$as_me: failed program was:" >&5
    19392839sed 's/^/| /' conftest.$ac_ext >&5
    19402840
    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 
     2841{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2842$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2843as_fn_error $? "cannot compute suffix of object files: cannot compile
     2844See \`config.log' for more details" "$LINENO" 5; }
     2845fi
    19482846rm -f conftest.$ac_cv_objext conftest.$ac_ext
    19492847fi
    1950 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
    1951 echo "${ECHO_T}$ac_cv_objext" >&6
     2848{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
     2849$as_echo "$ac_cv_objext" >&6; }
    19522850OBJEXT=$ac_cv_objext
    19532851ac_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
     2852{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
     2853$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
     2854if ${ac_cv_c_compiler_gnu+:} false; then :
     2855  $as_echo_n "(cached) " >&6
     2856else
     2857  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    19642858/* end confdefs.h.  */
    19652859
     
    19752869}
    19762870_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
     2871if ac_fn_c_try_compile "$LINENO"; then :
    19992872  ac_compiler_gnu=yes
    20002873else
    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
     2874  ac_compiler_gnu=no
     2875fi
     2876rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    20072877ac_cv_c_compiler_gnu=$ac_compiler_gnu
    20082878
    20092879fi
    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`
     2880{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
     2881$as_echo "$ac_cv_c_compiler_gnu" >&6; }
     2882if test $ac_compiler_gnu = yes; then
     2883  GCC=yes
     2884else
     2885  GCC=
     2886fi
    20132887ac_test_CFLAGS=${CFLAGS+set}
    20142888ac_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
     2889{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
     2890$as_echo_n "checking whether $CC accepts -g... " >&6; }
     2891if ${ac_cv_prog_cc_g+:} false; then :
     2892  $as_echo_n "(cached) " >&6
     2893else
     2894  ac_save_c_werror_flag=$ac_c_werror_flag
     2895   ac_c_werror_flag=yes
     2896   ac_cv_prog_cc_g=no
     2897   CFLAGS="-g"
     2898   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    20262899/* end confdefs.h.  */
    20272900
     
    20342907}
    20352908_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
     2909if ac_fn_c_try_compile "$LINENO"; then :
    20582910  ac_cv_prog_cc_g=yes
    20592911else
    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
     2912  CFLAGS=""
     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
     2926else
     2927  ac_c_werror_flag=$ac_save_c_werror_flag
     2928     CFLAGS="-g"
     2929     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2930/* end confdefs.h.  */
     2931
     2932int
     2933main ()
     2934{
     2935
     2936  ;
     2937  return 0;
     2938}
     2939_ACEOF
     2940if ac_fn_c_try_compile "$LINENO"; then :
     2941  ac_cv_prog_cc_g=yes
     2942fi
     2943rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2944fi
     2945rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2946fi
     2947rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2948   ac_c_werror_flag=$ac_save_c_werror_flag
     2949fi
     2950{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
     2951$as_echo "$ac_cv_prog_cc_g" >&6; }
    20692952if test "$ac_test_CFLAGS" = set; then
    20702953  CFLAGS=$ac_save_CFLAGS
     
    20822965  fi
    20832966fi
    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
     2967{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
     2968$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
     2969if ${ac_cv_prog_cc_c89+:} false; then :
     2970  $as_echo_n "(cached) " >&6
     2971else
     2972  ac_cv_prog_cc_c89=no
    20902973ac_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
     2974cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    20962975/* end confdefs.h.  */
    20972976#include <stdarg.h>
     
    21213000   function prototypes and stuff, but not '\xHH' hex character constants.
    21223001   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
     3002   as 'x'.  The following induces an error, until -std is added to get
    21243003   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
    21253004   array size at least.  It's necessary to write '\x00'==0 to get something
    2126    that's true only with -std1.  */
     3005   that's true only with -std.  */
    21273006int osf4_cc_array ['\x00' == 0 ? 1 : -1];
     3007
     3008/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
     3009   inside strings and character constants.  */
     3010#define FOO(x) 'x'
     3011int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
    21283012
    21293013int test (int i, double x);
     
    21413025}
    21423026_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__"
     3027for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
     3028    -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
    21513029do
    21523030  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
     3031  if ac_fn_c_try_compile "$LINENO"; then :
     3032  ac_cv_prog_cc_c89=$ac_arg
     3033fi
     3034rm -f core conftest.err conftest.$ac_objext
     3035  test "x$ac_cv_prog_cc_c89" != "xno" && break
    21833036done
    2184 rm -f conftest.$ac_ext conftest.$ac_objext
     3037rm -f conftest.$ac_ext
    21853038CC=$ac_save_CC
    21863039
    21873040fi
    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 ;;
     3041# AC_CACHE_VAL
     3042case "x$ac_cv_prog_cc_c89" in
     3043  x)
     3044    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
     3045$as_echo "none needed" >&6; } ;;
     3046  xno)
     3047    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
     3048$as_echo "unsupported" >&6; } ;;
    21933049  *)
    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" ;;
     3050    CC="$CC $ac_cv_prog_cc_c89"
     3051    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
     3052$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
    21973053esac
    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
     3054if test "x$ac_cv_prog_cc_c89" != xno; then :
     3055
     3056fi
     3057
    23423058ac_ext=c
    23433059ac_cpp='$CPP $CPPFLAGS'
     
    23593075# OS/2's system install, which has a completely different semantic
    23603076# ./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
     3077# Reject install programs that cannot install multiple files.
     3078{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
     3079$as_echo_n "checking for a BSD-compatible install... " >&6; }
    23633080if test -z "$INSTALL"; then
    2364 if test "${ac_cv_path_install+set}" = set; then
    2365   echo $ECHO_N "(cached) $ECHO_C" >&6
     3081if ${ac_cv_path_install+:} false; then :
     3082  $as_echo_n "(cached) " >&6
    23663083else
    23673084  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     
    23703087  IFS=$as_save_IFS
    23713088  test -z "$as_dir" && as_dir=.
    2372   # Account for people who put trailing slashes in PATH elements.
    2373 case $as_dir/ in
    2374   ./ | .// | /cC/* | \
     3089    # Account for people who put trailing slashes in PATH elements.
     3090case $as_dir/ in #((
     3091  ./ | .// | /[cC]/* | \
    23753092  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
    2376   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
     3093  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
    23773094  /usr/ucb/* ) ;;
    23783095  *)
     
    23823099    for ac_prog in ginstall scoinst install; do
    23833100      for ac_exec_ext in '' $ac_executable_extensions; do
    2384     if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
     3101    if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
    23853102      if test $ac_prog = install &&
    23863103        grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     
    23923109        :
    23933110      else
    2394         ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
    2395         break 3
     3111        rm -rf conftest.one conftest.two conftest.dir
     3112        echo one > conftest.one
     3113        echo two > conftest.two
     3114        mkdir conftest.dir
     3115        if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
     3116          test -s conftest.one && test -s conftest.two &&
     3117          test -s conftest.dir/conftest.one &&
     3118          test -s conftest.dir/conftest.two
     3119        then
     3120          ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
     3121          break 3
     3122        fi
    23963123      fi
    23973124    fi
     
    24003127    ;;
    24013128esac
    2402 done
    2403 
     3129
     3130  done
     3131IFS=$as_save_IFS
     3132
     3133rm -rf conftest.one conftest.two conftest.dir
    24043134
    24053135fi
     
    24073137    INSTALL=$ac_cv_path_install
    24083138  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
     3139    # As a last resort, use the slow shell script.  Don't cache a
     3140    # value for INSTALL within a source directory, because that will
    24113141    # break other packages using the cache if that directory is
    2412     # removed, or if the path is relative.
     3142    # removed, or if the value is a relative name.
    24133143    INSTALL=$ac_install_sh
    24143144  fi
    24153145fi
    2416 echo "$as_me:$LINENO: result: $INSTALL" >&5
    2417 echo "${ECHO_T}$INSTALL" >&6
     3146{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
     3147$as_echo "$INSTALL" >&6; }
    24183148
    24193149# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
     
    24253155test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
    24263156
    2427 echo "$as_me:$LINENO: checking whether ln -s works" >&5
    2428 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
     3157{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
     3158$as_echo_n "checking whether ln -s works... " >&6; }
    24293159LN_S=$as_ln_s
    24303160if 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
     3161  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     3162$as_echo "yes" >&6; }
     3163else
     3164  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
     3165$as_echo "no, using $LN_S" >&6; }
     3166fi
     3167
     3168
     3169{ $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if architecture is 64-bit" >&5
     3170$as_echo_n "checking to see if architecture is 64-bit... " >&6; }
    24413171arch_64bit=no
    24423172case "$host_cpu" in
     
    24453175
    24463176if 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"
     3177  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     3178$as_echo "yes" >&6; }
     3179  if test -z "$ARCH_DEP_FLAGS" ; then
     3180    ARCH_DEP_FLAGS="-fPIC"
     3181    gsdlarch='64'
    24513182  fi
    24523183else
    2453   echo "$as_me:$LINENO: result: no" >&5
    2454 echo "${ECHO_T}no" >&6
    2455   if test -z "$COMPAT32BITFLAGS" ; then
    2456     COMPAT32BITFLAGS=
     3184  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3185$as_echo "no" >&6; }
     3186  if test -z "$ARCH_DEP_FLAGS" ; then
     3187    ARCH_DEP_FLAGS=
     3188    gsdlarch='32'
    24573189  fi
    24583190fi
    24593191
    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 
    2471 
     3192export ARCH_DEP_FLAGS
    24723193
    24733194
     
    24783199ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    24793200ac_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
     3201{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
     3202$as_echo_n "checking how to run the C preprocessor... " >&6; }
    24823203# On Suns, sometimes $CPP names a directory.
    24833204if test -n "$CPP" && test -d "$CPP"; then
     
    24853206fi
    24863207if test -z "$CPP"; then
    2487   if test "${ac_cv_prog_CPP+set}" = set; then
    2488   echo $ECHO_N "(cached) $ECHO_C" >&6
     3208  if ${ac_cv_prog_CPP+:} false; then :
     3209  $as_echo_n "(cached) " >&6
    24893210else
    24903211      # Double quotes because CPP needs to be expanded
     
    25003221  # On the NeXT, cc -E runs the code through the compiler's parser,
    25013222  # 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
     3223  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    25073224/* end confdefs.h.  */
    25083225#ifdef __STDC__
     
    25133230             Syntax error
    25143231_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 
     3232if ac_fn_c_try_cpp "$LINENO"; then :
     3233
     3234else
    25383235  # Broken: fails on valid input.
    25393236continue
    25403237fi
    2541 rm -f conftest.err conftest.$ac_ext
    2542 
    2543   # OK, works on sane cases.  Now check whether non-existent headers
     3238rm -f conftest.err conftest.i conftest.$ac_ext
     3239
     3240  # OK, works on sane cases.  Now check whether nonexistent headers
    25443241  # 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
     3242  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    25503243/* end confdefs.h.  */
    25513244#include <ac_nonexistent.h>
    25523245_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
     3246if ac_fn_c_try_cpp "$LINENO"; then :
    25713247  # Broken: success on invalid input.
    25723248continue
    25733249else
    2574   echo "$as_me: failed program was:" >&5
    2575 sed 's/^/| /' conftest.$ac_ext >&5
    2576 
    25773250  # Passes both tests.
    25783251ac_preproc_ok=:
    25793252break
    25803253fi
    2581 rm -f conftest.err conftest.$ac_ext
     3254rm -f conftest.err conftest.i conftest.$ac_ext
    25823255
    25833256done
    25843257# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    2585 rm -f conftest.err conftest.$ac_ext
    2586 if $ac_preproc_ok; then
     3258rm -f conftest.i conftest.err conftest.$ac_ext
     3259if $ac_preproc_ok; then :
    25873260  break
    25883261fi
     
    25963269  ac_cv_prog_CPP=$CPP
    25973270fi
    2598 echo "$as_me:$LINENO: result: $CPP" >&5
    2599 echo "${ECHO_T}$CPP" >&6
     3271{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
     3272$as_echo "$CPP" >&6; }
    26003273ac_preproc_ok=false
    26013274for ac_c_preproc_warn_flag in '' yes
     
    26073280  # On the NeXT, cc -E runs the code through the compiler's parser,
    26083281  # 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
     3282  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    26143283/* end confdefs.h.  */
    26153284#ifdef __STDC__
     
    26203289             Syntax error
    26213290_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 
     3291if ac_fn_c_try_cpp "$LINENO"; then :
     3292
     3293else
    26453294  # Broken: fails on valid input.
    26463295continue
    26473296fi
    2648 rm -f conftest.err conftest.$ac_ext
    2649 
    2650   # OK, works on sane cases.  Now check whether non-existent headers
     3297rm -f conftest.err conftest.i conftest.$ac_ext
     3298
     3299  # OK, works on sane cases.  Now check whether nonexistent headers
    26513300  # 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
     3301  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    26573302/* end confdefs.h.  */
    26583303#include <ac_nonexistent.h>
    26593304_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
     3305if ac_fn_c_try_cpp "$LINENO"; then :
    26783306  # Broken: success on invalid input.
    26793307continue
    26803308else
    2681   echo "$as_me: failed program was:" >&5
    2682 sed 's/^/| /' conftest.$ac_ext >&5
    2683 
    26843309  # Passes both tests.
    26853310ac_preproc_ok=:
    26863311break
    26873312fi
    2688 rm -f conftest.err conftest.$ac_ext
     3313rm -f conftest.err conftest.i conftest.$ac_ext
    26893314
    26903315done
    26913316# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    2692 rm -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; }; }
     3317rm -f conftest.i conftest.err conftest.$ac_ext
     3318if $ac_preproc_ok; then :
     3319
     3320else
     3321  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     3322$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     3323as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
     3324See \`config.log' for more details" "$LINENO" 5; }
    27013325fi
    27023326
     
    27083332
    27093333
    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'
     3334{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
     3335$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
     3336if ${ac_cv_path_GREP+:} false; then :
     3337  $as_echo_n "(cached) " >&6
     3338else
     3339  if test -z "$GREP"; then
     3340  ac_path_GREP_found=false
     3341  # Loop through the user's path and test for each of PROGNAME-LIST
     3342  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3343for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
     3344do
     3345  IFS=$as_save_IFS
     3346  test -z "$as_dir" && as_dir=.
     3347    for ac_prog in grep ggrep; do
     3348    for ac_exec_ext in '' $ac_executable_extensions; do
     3349      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
     3350      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
     3351# Check for GNU ac_path_GREP and select it if it is found.
     3352  # Check for GNU $ac_path_GREP
     3353case `"$ac_path_GREP" --version 2>&1` in
     3354*GNU*)
     3355  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
     3356*)
     3357  ac_count=0
     3358  $as_echo_n 0123456789 >"conftest.in"
     3359  while :
     3360  do
     3361    cat "conftest.in" "conftest.in" >"conftest.tmp"
     3362    mv "conftest.tmp" "conftest.in"
     3363    cp "conftest.in" "conftest.nl"
     3364    $as_echo 'GREP' >> "conftest.nl"
     3365    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
     3366    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
     3367    as_fn_arith $ac_count + 1 && ac_count=$as_val
     3368    if test $ac_count -gt ${ac_path_GREP_max-0}; then
     3369      # Best one so far, save it but keep looking for a better one
     3370      ac_cv_path_GREP="$ac_path_GREP"
     3371      ac_path_GREP_max=$ac_count
    27183372    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
     3373    # 10*(2^10) chars as input seems more than enough
     3374    test $ac_count -gt 10 && break
     3375  done
     3376  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
     3377esac
     3378
     3379      $ac_path_GREP_found && break 3
     3380    done
     3381  done
     3382  done
     3383IFS=$as_save_IFS
     3384  if test -z "$ac_cv_path_GREP"; then
     3385    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
     3386  fi
     3387else
     3388  ac_cv_path_GREP=$GREP
     3389fi
     3390
     3391fi
     3392{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
     3393$as_echo "$ac_cv_path_GREP" >&6; }
     3394 GREP="$ac_cv_path_GREP"
     3395
     3396
     3397{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
     3398$as_echo_n "checking for egrep... " >&6; }
     3399if ${ac_cv_path_EGREP+:} false; then :
     3400  $as_echo_n "(cached) " >&6
     3401else
     3402  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
     3403   then ac_cv_path_EGREP="$GREP -E"
     3404   else
     3405     if test -z "$EGREP"; then
     3406  ac_path_EGREP_found=false
     3407  # Loop through the user's path and test for each of PROGNAME-LIST
     3408  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3409for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
     3410do
     3411  IFS=$as_save_IFS
     3412  test -z "$as_dir" && as_dir=.
     3413    for ac_prog in egrep; do
     3414    for ac_exec_ext in '' $ac_executable_extensions; do
     3415      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
     3416      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
     3417# Check for GNU ac_path_EGREP and select it if it is found.
     3418  # Check for GNU $ac_path_EGREP
     3419case `"$ac_path_EGREP" --version 2>&1` in
     3420*GNU*)
     3421  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
     3422*)
     3423  ac_count=0
     3424  $as_echo_n 0123456789 >"conftest.in"
     3425  while :
     3426  do
     3427    cat "conftest.in" "conftest.in" >"conftest.tmp"
     3428    mv "conftest.tmp" "conftest.in"
     3429    cp "conftest.in" "conftest.nl"
     3430    $as_echo 'EGREP' >> "conftest.nl"
     3431    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
     3432    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
     3433    as_fn_arith $ac_count + 1 && ac_count=$as_val
     3434    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
     3435      # Best one so far, save it but keep looking for a better one
     3436      ac_cv_path_EGREP="$ac_path_EGREP"
     3437      ac_path_EGREP_max=$ac_count
     3438    fi
     3439    # 10*(2^10) chars as input seems more than enough
     3440    test $ac_count -gt 10 && break
     3441  done
     3442  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
     3443esac
     3444
     3445      $ac_path_EGREP_found && break 3
     3446    done
     3447  done
     3448  done
     3449IFS=$as_save_IFS
     3450  if test -z "$ac_cv_path_EGREP"; then
     3451    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
     3452  fi
     3453else
     3454  ac_cv_path_EGREP=$EGREP
     3455fi
     3456
     3457   fi
     3458fi
     3459{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
     3460$as_echo "$ac_cv_path_EGREP" >&6; }
     3461 EGREP="$ac_cv_path_EGREP"
     3462
     3463
     3464{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
     3465$as_echo_n "checking for ANSI C header files... " >&6; }
     3466if ${ac_cv_header_stdc+:} false; then :
     3467  $as_echo_n "(cached) " >&6
     3468else
     3469  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    27353470/* end confdefs.h.  */
    27363471#include <stdlib.h>
     
    27473482}
    27483483_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
     3484if ac_fn_c_try_compile "$LINENO"; then :
    27713485  ac_cv_header_stdc=yes
    27723486else
    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
     3487  ac_cv_header_stdc=no
     3488fi
     3489rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    27793490
    27803491if test $ac_cv_header_stdc = yes; then
    27813492  # 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
     3493  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    27873494/* end confdefs.h.  */
    27883495#include <string.h>
     
    27903497_ACEOF
    27913498if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    2792   $EGREP "memchr" >/dev/null 2>&1; then
    2793   :
     3499  $EGREP "memchr" >/dev/null 2>&1; then :
     3500
    27943501else
    27953502  ac_cv_header_stdc=no
     
    28013508if test $ac_cv_header_stdc = yes; then
    28023509  # 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
     3510  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    28083511/* end confdefs.h.  */
    28093512#include <stdlib.h>
     
    28113514_ACEOF
    28123515if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    2813   $EGREP "free" >/dev/null 2>&1; then
    2814   :
     3516  $EGREP "free" >/dev/null 2>&1; then :
     3517
    28153518else
    28163519  ac_cv_header_stdc=no
     
    28223525if test $ac_cv_header_stdc = yes; then
    28233526  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
    2824   if test "$cross_compiling" = yes; then
     3527  if test "$cross_compiling" = yes; then :
    28253528  :
    28263529else
    2827   cat >conftest.$ac_ext <<_ACEOF
    2828 /* confdefs.h.  */
    2829 _ACEOF
    2830 cat confdefs.h >>conftest.$ac_ext
    2831 cat >>conftest.$ac_ext <<_ACEOF
     3530  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    28323531/* end confdefs.h.  */
    28333532#include <ctype.h>
     3533#include <stdlib.h>
    28343534#if ((' ' & 0x0FF) == 0x020)
    28353535# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
     
    28513551    if (XOR (islower (i), ISLOWER (i))
    28523552    || toupper (i) != TOUPPER (i))
    2853       exit(2);
    2854   exit (0);
     3553      return 2;
     3554  return 0;
    28553555}
    28563556_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
     3557if ac_fn_c_try_run "$LINENO"; then :
     3558
     3559else
     3560  ac_cv_header_stdc=no
     3561fi
     3562rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     3563  conftest.$ac_objext conftest.beam conftest.$ac_ext
     3564fi
     3565
     3566fi
     3567fi
     3568{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
     3569$as_echo "$ac_cv_header_stdc" >&6; }
    28833570if test $ac_cv_header_stdc = yes; then
    28843571
    2885 cat >>confdefs.h <<\_ACEOF
    2886 #define STDC_HEADERS 1
    2887 _ACEOF
     3572$as_echo "#define STDC_HEADERS 1" >>confdefs.h
    28883573
    28893574fi
    28903575
    28913576# On IRIX 5.3, sys/types and inttypes.h are conflicting.
    2892 
    2893 
    2894 
    2895 
    2896 
    2897 
    2898 
    2899 
    2900 
    29013577for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
    29023578          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
     3579do :
     3580  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     3581ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
     3582"
     3583if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
    29543584  cat >>confdefs.h <<_ACEOF
    2955 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
     3585#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    29563586_ACEOF
    29573587
     
    29613591
    29623592
    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
     3593# The cast to long int works around a bug in the HP C Compiler
     3594# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
     3595# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
     3596# This bug is HP SR number 8606223364.
     3597{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
     3598$as_echo_n "checking size of void *... " >&6; }
     3599if ${ac_cv_sizeof_void_p+:} false; then :
     3600  $as_echo_n "(cached) " >&6
     3601else
     3602  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
     3603
    30243604else
    30253605  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
     3606     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     3607$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     3608as_fn_error 77 "cannot compute sizeof (void *)
     3609See \`config.log' for more details" "$LINENO" 5; }
     3610   else
     3611     ac_cv_sizeof_void_p=0
     3612   fi
     3613fi
     3614
     3615fi
     3616{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
     3617$as_echo "$ac_cv_sizeof_void_p" >&6; }
     3618
     3619
     3620
    33723621cat >>confdefs.h <<_ACEOF
    33733622#define SIZEOF_VOID_P $ac_cv_sizeof_void_p
     
    33753624
    33763625
    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
     3626# The cast to long int works around a bug in the HP C Compiler
     3627# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
     3628# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
     3629# This bug is HP SR number 8606223364.
     3630{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
     3631$as_echo_n "checking size of int... " >&6; }
     3632if ${ac_cv_sizeof_int+:} false; then :
     3633  $as_echo_n "(cached) " >&6
     3634else
     3635  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
     3636
    34383637else
    34393638  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
     3639     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     3640$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     3641as_fn_error 77 "cannot compute sizeof (int)
     3642See \`config.log' for more details" "$LINENO" 5; }
     3643   else
     3644     ac_cv_sizeof_int=0
     3645   fi
     3646fi
     3647
     3648fi
     3649{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
     3650$as_echo "$ac_cv_sizeof_int" >&6; }
     3651
     3652
     3653
    37863654cat >>confdefs.h <<_ACEOF
    37873655#define SIZEOF_INT $ac_cv_sizeof_int
     
    37893657
    37903658
    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
     3659# The cast to long int works around a bug in the HP C Compiler
     3660# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
     3661# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
     3662# This bug is HP SR number 8606223364.
     3663{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
     3664$as_echo_n "checking size of long... " >&6; }
     3665if ${ac_cv_sizeof_long+:} false; then :
     3666  $as_echo_n "(cached) " >&6
     3667else
     3668  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
     3669
    38523670else
    38533671  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
     3672     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     3673$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     3674as_fn_error 77 "cannot compute sizeof (long)
     3675See \`config.log' for more details" "$LINENO" 5; }
     3676   else
     3677     ac_cv_sizeof_long=0
     3678   fi
     3679fi
     3680
     3681fi
     3682{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
     3683$as_echo "$ac_cv_sizeof_long" >&6; }
     3684
     3685
     3686
    42003687cat >>confdefs.h <<_ACEOF
    42013688#define SIZEOF_LONG $ac_cv_sizeof_long
     
    42063693######## check for the JDK and tools within the JDK
    42073694######## 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
     3695{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for the JDK" >&5
     3696$as_echo_n "checking for the JDK... " >&6; }
    42103697if test "z$JAVA_HOME" != z &&
    42113698   test -d $JAVA_HOME &&
     
    42133700then
    42143701
    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; }; }
     3702    { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $JAVA_HOME" >&5
     3703$as_echo "found in $JAVA_HOME" >&6; }
     3704else
     3705    as_fn_error $? "not found in \$JAVA_HOME" "$LINENO" 5
    42213706fi
    42223707
     
    42283713# Extract the first word of "javah", so it can be a program name with args.
    42293714set 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
     3715{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3716$as_echo_n "checking for $ac_word... " >&6; }
     3717if ${ac_cv_path_javagdbm_cv_path_javah+:} false; then :
     3718  $as_echo_n "(cached) " >&6
    42343719else
    42353720  case $javagdbm_cv_path_javah in
     
    42433728  IFS=$as_save_IFS
    42443729  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
     3730    for ac_exec_ext in '' $ac_executable_extensions; do
     3731  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    42473732    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
     3733    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    42493734    break 2
    42503735  fi
    42513736done
    4252 done
     3737  done
     3738IFS=$as_save_IFS
    42533739
    42543740  test -z "$ac_cv_path_javagdbm_cv_path_javah" && ac_cv_path_javagdbm_cv_path_javah="missing_javah"
     
    42573743fi
    42583744javagdbm_cv_path_javah=$ac_cv_path_javagdbm_cv_path_javah
    4259 
    42603745if 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
     3746  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $javagdbm_cv_path_javah" >&5
     3747$as_echo "$javagdbm_cv_path_javah" >&6; }
     3748else
     3749  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3750$as_echo "no" >&6; }
     3751fi
     3752
    42673753
    42683754if 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; }; }
     3755    as_fn_error $? "javah not found." "$LINENO" 5
    42723756fi
    42733757
    42743758# Extract the first word of "java", so it can be a program name with args.
    42753759set 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
     3760{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3761$as_echo_n "checking for $ac_word... " >&6; }
     3762if ${ac_cv_path_javagdbm_cv_path_java+:} false; then :
     3763  $as_echo_n "(cached) " >&6
    42803764else
    42813765  case $javagdbm_cv_path_java in
     
    42893773  IFS=$as_save_IFS
    42903774  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
     3775    for ac_exec_ext in '' $ac_executable_extensions; do
     3776  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    42933777    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
     3778    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    42953779    break 2
    42963780  fi
    42973781done
    4298 done
     3782  done
     3783IFS=$as_save_IFS
    42993784
    43003785  test -z "$ac_cv_path_javagdbm_cv_path_java" && ac_cv_path_javagdbm_cv_path_java="missing"
     
    43033788fi
    43043789javagdbm_cv_path_java=$ac_cv_path_javagdbm_cv_path_java
    4305 
    43063790if 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
     3791  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $javagdbm_cv_path_java" >&5
     3792$as_echo "$javagdbm_cv_path_java" >&6; }
     3793else
     3794  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3795$as_echo "no" >&6; }
     3796fi
     3797
    43133798
    43143799if 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; }; }
     3800    as_fn_error $? "java not found." "$LINENO" 5
    43183801fi
    43193802
     
    43293812
    43303813
    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
     3814{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that the GDBM library is available" >&5
     3815$as_echo_n "checking that the GDBM library is available... " >&6; }
    43333816if test ! -z "$gdbmdir" ; then
    43343817  # look in given directory for header file
     
    43493832
    43503833  if test ! -z "$GDBM_LIBPATH" -a ! -z "$GDBM_INCLUDE" ; then
    4351     echo "$as_me:$LINENO: result: $gdbmdir" >&5
    4352 echo "${ECHO_T}$gdbmdir" >&6 ;
     3834    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gdbmdir" >&5
     3835$as_echo "$gdbmdir" >&6; } ;
    43533836  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
     3837    { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't find gdbm.h and libgdbm.a in $gdbmdir" >&5
     3838$as_echo "can't find gdbm.h and libgdbm.a in $gdbmdir" >&6; };
     3839    { $as_echo "$as_me:${as_lineno-$LINENO}: checking looking for GDBM library in default locations" >&5
     3840$as_echo_n "checking looking for GDBM library in default locations... " >&6; }
    43583841  fi
    43593842fi
     
    43623845if test -z "$GDBM_INCLUDE" ; then
    43633846  # 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
     3847  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    43693848/* end confdefs.h.  */
    43703849#include <gdbm.h>
     
    43783857}
    43793858_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
     3859if ac_fn_c_try_compile "$LINENO"; then :
    44023860  success=yes
    44033861else
    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
     3862  success=no
     3863
     3864fi
     3865rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    44113866
    44123867  if test $success = "no"; then
     
    44183873      CXXFLAGS="$CXXFLAGS -I/usr/local/include"
    44193874      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
     3875      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    44253876/* end confdefs.h.  */
    44263877#include <gdbm.h>
     
    44353886}
    44363887_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
     3888if ac_fn_c_try_link "$LINENO"; then :
    44593889  success=/usr/local
    44603890else
    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
     3891  success=no
     3892
     3893fi
     3894rm -f core conftest.err conftest.$ac_objext \
     3895    conftest$ac_exeext conftest.$ac_ext
    44693896      CXXFLAGS=$ac_save_CXXFLAGS
    44703897      LIBS=$ac_save_LIBS
    44713898  fi
    44723899
    4473   echo "$as_me:$LINENO: result: $success" >&5
    4474 echo "${ECHO_T}$success" >&6
     3900  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $success" >&5
     3901$as_echo "$success" >&6; }
    44753902  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; }; }
     3903  as_fn_error $? "GDBM Library not available - cannot install" "$LINENO" 5
    44793904  fi
    44803905fi
    4481 cat >>confdefs.h <<\_ACEOF
    4482 #define HAVE_LIBGDBM  1
    4483 _ACEOF
     3906$as_echo "#define HAVE_LIBGDBM  1" >>confdefs.h
    44843907
    44853908
     
    44993922# a non-standard Path
    45003923# 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
     3924{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OS to set JNI options" >&5
     3925$as_echo_n "checking for OS to set JNI options... " >&6; }
    45033926# set defaults
    45043927JNIINC=""
     
    45073930
    45083931if test "`(uname -s) 2> /dev/null`" = 'Darwin'; then
    4509   echo "$as_me:$LINENO: result: Darwin" >&5
    4510 echo "${ECHO_T}Darwin" >&6
     3932  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Darwin" >&5
     3933$as_echo "Darwin" >&6; }
    45113934  JNIINC="-I/System/Library/Frameworks/JavaVM.framework/Headers/ "
    45123935  JNISUFFIX="jnilib"
     
    45143937fi
    45153938if test "`(uname -s) 2> /dev/null`" = 'SunOS'; then
    4516   echo "$as_me:$LINENO: result: Solaris" >&5
    4517 echo "${ECHO_T}Solaris" >&6
     3939  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Solaris" >&5
     3940$as_echo "Solaris" >&6; }
    45183941  JNIINC="-I\$(JAVA_HOME)/include/solaris "
    45193942fi
    45203943if test "`(uname -s) 2> /dev/null`" = 'Linux'; then
    4521   echo "$as_me:$LINENO: result: Linux" >&5
    4522 echo "${ECHO_T}Linux" >&6
     3944  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Linux" >&5
     3945$as_echo "Linux" >&6; }
    45233946  JNIINC="-I\$(JAVA_HOME)/include/linux "
    45243947fi
     
    45293952
    45303953# write the output
    4531                               ac_config_files="$ac_config_files Makefile jni/Makefile java/Makefile"
     3954ac_config_files="$ac_config_files Makefile jni/Makefile java/Makefile"
     3955
    45323956cat >confcache <<\_ACEOF
    45333957# This file is a shell script that caches the results of configure
     
    45483972# The following way of writing the cache mishandles newlines in values,
    45493973# but we know of no workaround that is simple, portable, and efficient.
    4550 # So, don't put newlines in cache variables' values.
     3974# So, we kill variables containing newlines.
    45513975# Ultrix sh set writes to stderr and can't be redirected directly,
    45523976# and sets the high bit in the cache file unless we assign to the vars.
    4553 {
     3977(
     3978  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
     3979    eval ac_val=\$$ac_var
     3980    case $ac_val in #(
     3981    *${as_nl}*)
     3982      case $ac_var in #(
     3983      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
     3984$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
     3985      esac
     3986      case $ac_var in #(
     3987      _ | IFS | as_nl) ;; #(
     3988      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
     3989      *) { eval $ac_var=; unset $ac_var;} ;;
     3990      esac ;;
     3991    esac
     3992  done
     3993
    45543994  (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 \).
     3995    case $as_nl`(ac_space=' '; set) 2>&1` in #(
     3996    *${as_nl}ac_space=\ *)
     3997      # `set' does not quote correctly, so add quotes: double-quote
     3998      # substitution turns \\\\ into \\, and sed turns \\ into \.
    45593999      sed -n \
    45604000    "s/'/'\\\\''/g;
    45614001      s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
    4562       ;;
     4002      ;; #(
    45634003    *)
    45644004      # `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"
     4005      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
    45674006      ;;
    4568     esac;
    4569 } |
     4007    esac |
     4008    sort
     4009) |
    45704010  sed '
     4011     /^ac_cv_env_/b end
    45714012     t clear
    4572      : clear
     4013     :clear
    45734014     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
    45744015     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"
    4580     cat confcache >$cache_file
     4016     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
     4017     :end' >>confcache
     4018if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
     4019  if test -w "$cache_file"; then
     4020    if test "x$cache_file" != "x/dev/null"; then
     4021      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
     4022$as_echo "$as_me: updating cache $cache_file" >&6;}
     4023      if test ! -f "$cache_file" || test -h "$cache_file"; then
     4024    cat confcache >"$cache_file"
     4025      else
     4026        case $cache_file in #(
     4027        */* | ?:*)
     4028      mv -f confcache "$cache_file"$$ &&
     4029      mv -f "$cache_file"$$ "$cache_file" ;; #(
     4030        *)
     4031      mv -f confcache "$cache_file" ;;
     4032    esac
     4033      fi
     4034    fi
    45814035  else
    4582     echo "not updating unwritable cache $cache_file"
     4036    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
     4037$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
    45834038  fi
    45844039fi
     
    45884043# Let make expand exec_prefix.
    45894044test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
    4590 
    4591 # VPATH may cause trouble with some makes, so we remove $(srcdir),
    4592 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
    4593 # trailing colons and then remove the whole line if VPATH becomes empty
    4594 # (actually we leave an empty line to preserve line numbers).
    4595 if test "x$srcdir" = x.; then
    4596   ac_vpsub='/^[  ]*VPATH[    ]*=/{
    4597 s/:*\$(srcdir):*/:/;
    4598 s/:*\${srcdir}:*/:/;
    4599 s/:*@srcdir@:*/:/;
    4600 s/^\([^=]*=[     ]*\):*/\1/;
    4601 s/:*$//;
    4602 s/^[^=]*=[   ]*$//;
    4603 }'
    4604 fi
    46054045
    46064046# Transform confdefs.h into DEFS.
     
    46094049#
    46104050# If the first sed substitution is executed (which looks for macros that
    4611 # take arguments), then we branch to the quote section.  Otherwise,
     4051# take arguments), then branch to the quote section.  Otherwise,
    46124052# look for a macro that doesn't take arguments.
    4613 cat >confdef2opt.sed <<\_ACEOF
     4053ac_script='
     4054:mline
     4055/\\$/{
     4056 N
     4057 s,\\\n,,
     4058 b mline
     4059}
    46144060t clear
    4615 : clear
    4616 s,^[     ]*#[    ]*define[   ][  ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
     4061:clear
     4062s/^[     ]*#[    ]*define[   ][  ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
    46174063t quote
    4618 s,^[     ]*#[    ]*define[   ][  ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
     4064s/^[     ]*#[    ]*define[   ][  ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
    46194065t 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
     4066b any
     4067:quote
     4068s/[  `~#$^&*(){}\\|;'\''"<>?]/\\&/g
     4069s/\[/\\&/g
     4070s/\]/\\&/g
     4071s/\$/$$/g
     4072H
     4073:any
     4074${
     4075    g
     4076    s/^\n//
     4077    s/\n/ /g
     4078    p
     4079}
     4080'
     4081DEFS=`sed -n "$ac_script" confdefs.h`
    46374082
    46384083
    46394084ac_libobjs=
    46404085ac_ltlibobjs=
     4086U=
    46414087for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
    46424088  # 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'
     4089  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
     4090  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
     4091  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
     4092  #    will be set to the directory where LIBOBJS objects are built.
     4093  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
     4094  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
    46484095done
    46494096LIBOBJS=$ac_libobjs
     
    46534100
    46544101
    4655 : ${CONFIG_STATUS=./config.status}
     4102: "${CONFIG_STATUS=./config.status}"
     4103ac_write_fail=0
    46564104ac_clean_files_save=$ac_clean_files
    46574105ac_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
     4106{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
     4107$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
     4108as_write_fail=0
     4109cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
    46614110#! $SHELL
    46624111# Generated by $as_me.
     
    46684117ac_cs_recheck=false
    46694118ac_cs_silent=false
     4119
    46704120SHELL=\${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
     4121export SHELL
     4122_ASEOF
     4123cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
     4124## -------------------- ##
     4125## M4sh Initialization. ##
     4126## -------------------- ##
     4127
     4128# Be more Bourne compatible
     4129DUALCASE=1; export DUALCASE # for MKS sh
     4130if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
    46804131  emulate sh
    46814132  NULLCMD=:
    4682   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
     4133  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    46834134  # is contrary to our usage.  Disable this feature.
    46844135  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
     4136  setopt NO_GLOB_SUBST
     4137else
     4138  case `(set -o) 2>/dev/null` in #(
     4139  *posix*) :
     4140    set -o posix ;; #(
     4141  *) :
     4142     ;;
     4143esac
     4144fi
     4145
     4146
     4147as_nl='
     4148'
     4149export as_nl
     4150# Printing a long string crashes Solaris 7 /usr/bin/printf.
     4151as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     4152as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     4153as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     4154# Prefer a ksh shell builtin over an external printf program on Solaris,
     4155# but without wasting forks for bash or zsh.
     4156if test -z "$BASH_VERSION$ZSH_VERSION" \
     4157    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     4158  as_echo='print -r --'
     4159  as_echo_n='print -rn --'
     4160elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     4161  as_echo='printf %s\n'
     4162  as_echo_n='printf %s'
     4163else
     4164  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     4165    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     4166    as_echo_n='/usr/ucb/echo -n'
     4167  else
     4168    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     4169    as_echo_n_body='eval
     4170      arg=$1;
     4171      case $arg in #(
     4172      *"$as_nl"*)
     4173    expr "X$arg" : "X\\(.*\\)$as_nl";
     4174    arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     4175      esac;
     4176      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     4177    '
     4178    export as_echo_n_body
     4179    as_echo_n='sh -c $as_echo_n_body as_echo'
     4180  fi
     4181  export as_echo_body
     4182  as_echo='sh -c $as_echo_body as_echo'
     4183fi
     4184
     4185# The user is always right.
     4186if test "${PATH_SEPARATOR+set}" != set; then
     4187  PATH_SEPARATOR=:
     4188  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     4189    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     4190      PATH_SEPARATOR=';'
     4191  }
     4192fi
     4193
     4194
     4195# IFS
     4196# We need space, tab and new line, in precisely that order.  Quoting is
     4197# there to prevent editors from complaining about space-tab.
     4198# (If _AS_PATH_WALK were called with IFS unset, it would disable word
     4199# splitting by setting IFS to empty value.)
     4200IFS=" ""    $as_nl"
     4201
     4202# Find who we are.  Look in the path if we contain no directory separator.
     4203as_myself=
     4204case $0 in #((
     4205  *[\\/]* ) as_myself=$0 ;;
     4206  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4207for as_dir in $PATH
     4208do
     4209  IFS=$as_save_IFS
     4210  test -z "$as_dir" && as_dir=.
     4211    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     4212  done
     4213IFS=$as_save_IFS
     4214
     4215     ;;
     4216esac
     4217# We did not find ourselves, most probably we were run as `sh COMMAND'
     4218# in which case we are not to be found in the path.
     4219if test "x$as_myself" = x; then
     4220  as_myself=$0
     4221fi
     4222if test ! -f "$as_myself"; then
     4223  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
     4224  exit 1
     4225fi
     4226
     4227# Unset variables that we do not need and which cause bugs (e.g. in
     4228# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
     4229# suppresses any "Segmentation fault" message there.  '((' could
     4230# trigger a bug in pdksh 5.2.14.
     4231for as_var in BASH_ENV ENV MAIL MAILPATH
     4232do eval test x\${$as_var+set} = xset \
     4233  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
     4234done
    47004235PS1='$ '
    47014236PS2='> '
     
    47034238
    47044239# 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
    4709 do
    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
     4240LC_ALL=C
     4241export LC_ALL
     4242LANGUAGE=C
     4243export LANGUAGE
     4244
     4245# CDPATH.
     4246(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
     4247
     4248
     4249# as_fn_error STATUS ERROR [LINENO LOG_FD]
     4250# ----------------------------------------
     4251# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
     4252# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
     4253# script with STATUS, using 1 if that was 0.
     4254as_fn_error ()
     4255{
     4256  as_status=$1; test $as_status -eq 0 && as_status=1
     4257  if test "$4"; then
     4258    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     4259    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    47144260  fi
    4715 done
    4716 
    4717 # Required to use basename.
    4718 if expr a : '\(a\)' >/dev/null 2>&1; then
     4261  $as_echo "$as_me: error: $2" >&2
     4262  as_fn_exit $as_status
     4263} # as_fn_error
     4264
     4265
     4266# as_fn_set_status STATUS
     4267# -----------------------
     4268# Set $? to STATUS, without forking.
     4269as_fn_set_status ()
     4270{
     4271  return $1
     4272} # as_fn_set_status
     4273
     4274# as_fn_exit STATUS
     4275# -----------------
     4276# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
     4277as_fn_exit ()
     4278{
     4279  set +e
     4280  as_fn_set_status $1
     4281  exit $1
     4282} # as_fn_exit
     4283
     4284# as_fn_unset VAR
     4285# ---------------
     4286# Portably unset VAR.
     4287as_fn_unset ()
     4288{
     4289  { eval $1=; unset $1;}
     4290}
     4291as_unset=as_fn_unset
     4292# as_fn_append VAR VALUE
     4293# ----------------------
     4294# Append the text in VALUE to the end of the definition contained in VAR. Take
     4295# advantage of any shell optimizations that allow amortized linear growth over
     4296# repeated appends, instead of the typical quadratic growth present in naive
     4297# implementations.
     4298if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
     4299  eval 'as_fn_append ()
     4300  {
     4301    eval $1+=\$2
     4302  }'
     4303else
     4304  as_fn_append ()
     4305  {
     4306    eval $1=\$$1\$2
     4307  }
     4308fi # as_fn_append
     4309
     4310# as_fn_arith ARG...
     4311# ------------------
     4312# Perform arithmetic evaluation on the ARGs, and store the result in the
     4313# global $as_val. Take advantage of shells that can avoid forks. The arguments
     4314# must be portable across $(()) and expr.
     4315if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
     4316  eval 'as_fn_arith ()
     4317  {
     4318    as_val=$(( $* ))
     4319  }'
     4320else
     4321  as_fn_arith ()
     4322  {
     4323    as_val=`expr "$@" || test $? -eq 1`
     4324  }
     4325fi # as_fn_arith
     4326
     4327
     4328if expr a : '\(a\)' >/dev/null 2>&1 &&
     4329   test "X`expr 00001 : '.*\(...\)'`" = X001; then
    47194330  as_expr=expr
    47204331else
     
    47224333fi
    47234334
    4724 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
     4335if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    47254336  as_basename=basename
    47264337else
     
    47284339fi
    47294340
    4730 
    4731 # Name of the executable.
    4732 as_me=`$as_basename "$0" ||
     4341if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
     4342  as_dirname=dirname
     4343else
     4344  as_dirname=false
     4345fi
     4346
     4347as_me=`$as_basename -- "$0" ||
    47334348$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    47344349     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.
     4350     X"$0" : 'X\(/\)' \| . 2>/dev/null ||
     4351$as_echo X/"$0" |
     4352    sed '/^.*\/\([^/][^/]*\)\/*$/{
     4353        s//\1/
     4354        q
     4355      }
     4356      /^X\/\(\/\/\)$/{
     4357        s//\1/
     4358        q
     4359      }
     4360      /^X\/\(\/\).*/{
     4361        s//\1/
     4362        q
     4363      }
     4364      s/.*/./; q'`
     4365
    47454366# Avoid depending upon Character Ranges.
    47464367as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     
    47504371as_cr_alnum=$as_cr_Letters$as_cr_digits
    47514372
    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=';'
     4373ECHO_C= ECHO_N= ECHO_T=
     4374case `echo -n x` in #(((((
     4375-n*)
     4376  case `echo 'xy\c'` in
     4377  *c*) ECHO_T=' ';; # ECHO_T is single tab character.
     4378  xy)  ECHO_C='\c';;
     4379  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
     4380       ECHO_T=' ';;
     4381  esac;;
     4382*)
     4383  ECHO_N='-n';;
     4384esac
     4385
     4386rm -f conf$$ conf$$.exe conf$$.file
     4387if test -d conf$$.dir; then
     4388  rm -f conf$$.dir/conf$$.file
     4389else
     4390  rm -f conf$$.dir
     4391  mkdir conf$$.dir 2>/dev/null
     4392fi
     4393if (echo >conf$$.file) 2>/dev/null; then
     4394  if ln -s conf$$.file conf$$ 2>/dev/null; then
     4395    as_ln_s='ln -s'
     4396    # ... but there are two gotchas:
     4397    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
     4398    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
     4399    # In both cases, we have to default to `cp -p'.
     4400    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
     4401      as_ln_s='cp -p'
     4402  elif ln conf$$.file conf$$ 2>/dev/null; then
     4403    as_ln_s=ln
    47594404  else
    4760     PATH_SEPARATOR=:
     4405    as_ln_s='cp -p'
    47614406  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        ;;
     4407else
     4408  as_ln_s='cp -p'
     4409fi
     4410rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
     4411rmdir conf$$.dir 2>/dev/null
     4412
     4413
     4414# as_fn_mkdir_p
     4415# -------------
     4416# Create "$as_dir" as a directory, including parents if necessary.
     4417as_fn_mkdir_p ()
     4418{
     4419
     4420  case $as_dir in #(
     4421  -*) as_dir=./$as_dir;;
    47844422  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 ;;
    4821   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 
     4423  test -d "$as_dir" || eval $as_mkdir_p || {
     4424    as_dirs=
     4425    while :; do
     4426      case $as_dir in #(
     4427      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
     4428      *) as_qdir=$as_dir;;
     4429      esac
     4430      as_dirs="'$as_qdir' $as_dirs"
     4431      as_dir=`$as_dirname -- "$as_dir" ||
     4432$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     4433     X"$as_dir" : 'X\(//\)[^/]' \| \
     4434     X"$as_dir" : 'X\(//\)$' \| \
     4435     X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
     4436$as_echo X"$as_dir" |
     4437    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     4438        s//\1/
     4439        q
     4440      }
     4441      /^X\(\/\/\)[^/].*/{
     4442        s//\1/
     4443        q
     4444      }
     4445      /^X\(\/\/\)$/{
     4446        s//\1/
     4447        q
     4448      }
     4449      /^X\(\/\).*/{
     4450        s//\1/
     4451        q
     4452      }
     4453      s/.*/./; q'`
     4454      test -d "$as_dir" && break
     4455    done
     4456    test -z "$as_dirs" || eval "mkdir $as_dirs"
     4457  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
     4458
     4459
     4460} # as_fn_mkdir_p
    48864461if mkdir -p . 2>/dev/null; then
    4887   as_mkdir_p=:
     4462  as_mkdir_p='mkdir -p "$as_dir"'
    48884463else
    48894464  test -d ./-p && rmdir ./-p
     
    48914466fi
    48924467
    4893 as_executable_p="test -f"
     4468if test -x / >/dev/null 2>&1; then
     4469  as_test_x='test -x'
     4470else
     4471  if ls -dL / >/dev/null 2>&1; then
     4472    as_ls_L_option=L
     4473  else
     4474    as_ls_L_option=
     4475  fi
     4476  as_test_x='
     4477    eval sh -c '\''
     4478      if test -d "$1"; then
     4479    test -d "$1/.";
     4480      else
     4481    case $1 in #(
     4482    -*)set "./$1";;
     4483    esac;
     4484    case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
     4485    ???[sx]*):;;*)false;;esac;fi
     4486    '\'' sh
     4487  '
     4488fi
     4489as_executable_p=$as_test_x
    48944490
    48954491# Sed expression to map a string onto a valid CPP name.
     
    49004496
    49014497
    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 
    49114498exec 6>&1
    4912 
    4913 # Open the log real soon, to keep \$[0] and so on meaningful, and to
     4499## ----------------------------------- ##
     4500## Main body of $CONFIG_STATUS script. ##
     4501## ----------------------------------- ##
     4502_ASEOF
     4503test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
     4504
     4505cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     4506# Save the log message, to keep $0 and so on meaningful, and to
    49144507# report actual input values of CONFIG_FILES etc. instead of their
    4915 # values after options handling.  Logging --version etc. is OK.
     4508# values after options handling.
     4509ac_log="
     4510This file was extended by $as_me, which was
     4511generated by GNU Autoconf 2.68.  Invocation command line was
     4512
     4513  CONFIG_FILES    = $CONFIG_FILES
     4514  CONFIG_HEADERS  = $CONFIG_HEADERS
     4515  CONFIG_LINKS    = $CONFIG_LINKS
     4516  CONFIG_COMMANDS = $CONFIG_COMMANDS
     4517  $ $0 $@
     4518
     4519on `(hostname || uname -n) 2>/dev/null | sed 1q`
     4520"
     4521
     4522_ACEOF
     4523
     4524case $ac_config_files in *"
     4525"*) set x $ac_config_files; shift; ac_config_files=$*;;
     4526esac
     4527
     4528
     4529
     4530cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     4531# Files that config.status was made for.
     4532config_files="$ac_config_files"
     4533
     4534_ACEOF
     4535
     4536cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     4537ac_cs_usage="\
     4538\`$as_me' instantiates files and other configuration actions
     4539from templates according to the current configuration.  Unless the files
     4540and actions are specified as TAGs, all are instantiated by default.
     4541
     4542Usage: $0 [OPTION]... [TAG]...
     4543
     4544  -h, --help       print this help, then exit
     4545  -V, --version    print version number and configuration settings, then exit
     4546      --config     print configuration, then exit
     4547  -q, --quiet, --silent
     4548                   do not print progress messages
     4549  -d, --debug      don't remove temporary files
     4550      --recheck    update $as_me by reconfiguring in the same conditions
     4551      --file=FILE[:TEMPLATE]
     4552                   instantiate the configuration file FILE
     4553
     4554Configuration files:
     4555$config_files
     4556
     4557Report bugs to the package provider."
     4558
     4559_ACEOF
     4560cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     4561ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
     4562ac_cs_version="\\
     4563config.status
     4564configured by $0, generated by GNU Autoconf 2.68,
     4565  with options \\"\$ac_cs_config\\"
     4566
     4567Copyright (C) 2010 Free Software Foundation, Inc.
     4568This config.status script is free software; the Free Software Foundation
     4569gives unlimited permission to copy, distribute and modify it."
     4570
     4571ac_pwd='$ac_pwd'
     4572srcdir='$srcdir'
     4573INSTALL='$INSTALL'
     4574test -n "\$AWK" || AWK=awk
     4575_ACEOF
     4576
     4577cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     4578# The default lists apply if the user does not specify any file.
     4579ac_need_defaults=:
     4580while test $# != 0
     4581do
     4582  case $1 in
     4583  --*=?*)
     4584    ac_option=`expr "X$1" : 'X\([^=]*\)='`
     4585    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
     4586    ac_shift=:
     4587    ;;
     4588  --*=)
     4589    ac_option=`expr "X$1" : 'X\([^=]*\)='`
     4590    ac_optarg=
     4591    ac_shift=:
     4592    ;;
     4593  *)
     4594    ac_option=$1
     4595    ac_optarg=$2
     4596    ac_shift=shift
     4597    ;;
     4598  esac
     4599
     4600  case $ac_option in
     4601  # Handling of the options.
     4602  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
     4603    ac_cs_recheck=: ;;
     4604  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
     4605    $as_echo "$ac_cs_version"; exit ;;
     4606  --config | --confi | --conf | --con | --co | --c )
     4607    $as_echo "$ac_cs_config"; exit ;;
     4608  --debug | --debu | --deb | --de | --d | -d )
     4609    debug=: ;;
     4610  --file | --fil | --fi | --f )
     4611    $ac_shift
     4612    case $ac_optarg in
     4613    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
     4614    '') as_fn_error $? "missing file argument" ;;
     4615    esac
     4616    as_fn_append CONFIG_FILES " '$ac_optarg'"
     4617    ac_need_defaults=false;;
     4618  --he | --h |  --help | --hel | -h )
     4619    $as_echo "$ac_cs_usage"; exit ;;
     4620  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
     4621  | -silent | --silent | --silen | --sile | --sil | --si | --s)
     4622    ac_cs_silent=: ;;
     4623
     4624  # This is an error.
     4625  -*) as_fn_error $? "unrecognized option: \`$1'
     4626Try \`$0 --help' for more information." ;;
     4627
     4628  *) as_fn_append ac_config_targets " $1"
     4629     ac_need_defaults=false ;;
     4630
     4631  esac
     4632  shift
     4633done
     4634
     4635ac_configure_extra_args=
     4636
     4637if $ac_cs_silent; then
     4638  exec 6>/dev/null
     4639  ac_configure_extra_args="$ac_configure_extra_args --silent"
     4640fi
     4641
     4642_ACEOF
     4643cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     4644if \$ac_cs_recheck; then
     4645  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
     4646  shift
     4647  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
     4648  CONFIG_SHELL='$SHELL'
     4649  export CONFIG_SHELL
     4650  exec "\$@"
     4651fi
     4652
     4653_ACEOF
     4654cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    49164655exec 5>>config.log
    49174656{
     
    49204659## Running $as_me. ##
    49214660_ASBOX
     4661  $as_echo "$ac_log"
    49224662} >&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=:
    5002     ;;
    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;;
    5012   esac
    5013 
    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
     4663
     4664_ACEOF
     4665cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     4666_ACEOF
     4667
     4668cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     4669
     4670# Handling of arguments.
    50794671for ac_config_target in $ac_config_targets
    50804672do
    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; }; };;
     4673  case $ac_config_target in
     4674    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
     4675    "jni/Makefile") CONFIG_FILES="$CONFIG_FILES jni/Makefile" ;;
     4676    "java/Makefile") CONFIG_FILES="$CONFIG_FILES java/Makefile" ;;
     4677
     4678  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
    50894679  esac
    50904680done
     4681
    50914682
    50924683# If the user did not use the arguments to specify the items to instantiate,
     
    50994690
    51004691# 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,
     4692# simply because there is no reason against having it here, and in addition,
    51024693# creating and moving files from /tmp can sometimes cause problems.
    5103 # Create a temporary directory, and hook for its removal unless debugging.
     4694# Hook for its removal unless debugging.
     4695# Note that there is a small window in which the directory will not be cleaned:
     4696# after its creation but before its name has been assigned to `$tmp'.
    51044697$debug ||
    51054698{
    5106   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
    5107   trap '{ (exit 1); exit 1; }' 1 2 13 15
     4699  tmp= ac_tmp=
     4700  trap 'exit_status=$?
     4701  : "${ac_tmp:=$tmp}"
     4702  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
     4703' 0
     4704  trap 'as_fn_exit 1' 1 2 13 15
    51084705}
    5109 
    51104706# Create a (secure) tmp directory for tmp files.
    51114707
    51124708{
    5113   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
    5114   test -n "$tmp" && test -d "$tmp"
     4709  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
     4710  test -d "$tmp"
    51154711}  ||
    51164712{
    5117   tmp=./confstat$$-$RANDOM
    5118   (umask 077 && mkdir $tmp)
    5119 } ||
     4713  tmp=./conf$$-$RANDOM
     4714  (umask 077 && mkdir "$tmp")
     4715} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
     4716ac_tmp=$tmp
     4717
     4718# Set up the scripts for CONFIG_FILES section.
     4719# No need to generate them if there are no CONFIG_FILES.
     4720# This happens for instance with `./config.status config.h'.
     4721if test -n "$CONFIG_FILES"; then
     4722
     4723
     4724ac_cr=`echo X | tr X '\015'`
     4725# On cygwin, bash can eat \r inside `` if the user requested igncr.
     4726# But we know of no other shell where ac_cr would be empty at this
     4727# point, so we can use a bashism as a fallback.
     4728if test "x$ac_cr" = x; then
     4729  eval ac_cr=\$\'\\r\'
     4730fi
     4731ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
     4732if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
     4733  ac_cs_awk_cr='\\r'
     4734else
     4735  ac_cs_awk_cr=$ac_cr
     4736fi
     4737
     4738echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
     4739_ACEOF
     4740
     4741
    51204742{
    5121    echo "$me: cannot create a temporary directory in ." >&2
    5122    { (exit 1); exit 1; }
     4743  echo "cat >conf$$subs.awk <<_ACEOF" &&
     4744  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
     4745  echo "_ACEOF"
     4746} >conf$$subs.sh ||
     4747  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
     4748ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
     4749ac_delim='%!_!# '
     4750for ac_last_try in false false false false false :; do
     4751  . ./conf$$subs.sh ||
     4752    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
     4753
     4754  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
     4755  if test $ac_delim_n = $ac_delim_num; then
     4756    break
     4757  elif $ac_last_try; then
     4758    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
     4759  else
     4760    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
     4761  fi
     4762done
     4763rm -f conf$$subs.sh
     4764
     4765cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     4766cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
     4767_ACEOF
     4768sed -n '
     4769h
     4770s/^/S["/; s/!.*/"]=/
     4771p
     4772g
     4773s/^[^!]*!//
     4774:repl
     4775t repl
     4776s/'"$ac_delim"'$//
     4777t delim
     4778:nl
     4779h
     4780s/\(.\{148\}\)..*/\1/
     4781t more1
     4782s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
     4783p
     4784n
     4785b repl
     4786:more1
     4787s/["\\]/\\&/g; s/^/"/; s/$/"\\/
     4788p
     4789g
     4790s/.\{148\}//
     4791t nl
     4792:delim
     4793h
     4794s/\(.\{148\}\)..*/\1/
     4795t more2
     4796s/["\\]/\\&/g; s/^/"/; s/$/"/
     4797p
     4798b
     4799:more2
     4800s/["\\]/\\&/g; s/^/"/; s/$/"\\/
     4801p
     4802g
     4803s/.\{148\}//
     4804t delim
     4805' <conf$$subs.awk | sed '
     4806/^[^""]/{
     4807  N
     4808  s/\n//
    51234809}
    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
     4810' >>$CONFIG_STATUS || ac_write_fail=1
     4811rm -f conf$$subs.awk
     4812cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     4813_ACAWK
     4814cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
     4815  for (key in S) S_is_set[key] = 1
     4816  FS = ""
     4817
     4818}
     4819{
     4820  line = $ 0
     4821  nfields = split(line, field, "@")
     4822  substed = 0
     4823  len = length(field[1])
     4824  for (i = 2; i < nfields; i++) {
     4825    key = field[i]
     4826    keylen = length(key)
     4827    if (S_is_set[key]) {
     4828      value = S[key]
     4829      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
     4830      len += length(value) + length(field[++i])
     4831      substed = 1
     4832    } else
     4833      len += 1 + keylen
     4834  }
     4835
     4836  print line
     4837}
     4838
     4839_ACAWK
     4840_ACEOF
     4841cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     4842if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
     4843  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
     4844else
     4845  cat
     4846fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
     4847  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
     4848_ACEOF
     4849
     4850# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
     4851# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
     4852# trailing colons and then remove the whole line if VPATH becomes empty
     4853# (actually we leave an empty line to preserve line numbers).
     4854if test "x$srcdir" = x.; then
     4855  ac_vpsub='/^[  ]*VPATH[    ]*=[    ]*/{
     4856h
     4857s///
     4858s/^/:/
     4859s/[  ]*$/:/
     4860s/:\$(srcdir):/:/g
     4861s/:\${srcdir}:/:/g
     4862s/:@srcdir@:/:/g
     4863s/^:*//
     4864s/:*$//
     4865x
     4866s/\(=[   ]*\).*/\1/
     4867G
     4868s/\n//
     4869s/^[^=]*=[   ]*$//
     4870}'
     4871fi
     4872
     4873cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     4874fi # test -n "$CONFIG_FILES"
     4875
     4876
     4877eval set X "  :F $CONFIG_FILES      "
     4878shift
     4879for ac_tag
     4880do
     4881  case $ac_tag in
     4882  :[FHLC]) ac_mode=$ac_tag; continue;;
     4883  esac
     4884  case $ac_mode$ac_tag in
     4885  :[FHL]*:*);;
     4886  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
     4887  :[FH]-) ac_tag=-:-;;
     4888  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
     4889  esac
     4890  ac_save_IFS=$IFS
     4891  IFS=:
     4892  set x $ac_tag
     4893  IFS=$ac_save_IFS
     4894  shift
     4895  ac_file=$1
     4896  shift
     4897
     4898  case $ac_mode in
     4899  :L) ac_source=$1;;
     4900  :[FH])
     4901    ac_file_inputs=
     4902    for ac_f
     4903    do
     4904      case $ac_f in
     4905      -) ac_f="$ac_tmp/stdin";;
     4906      *) # Look for the file first in the build tree, then in the source tree
     4907     # (if the path is not absolute).  The absolute path cannot be DOS-style,
     4908     # because $ac_f cannot contain `:'.
     4909     test -f "$ac_f" ||
     4910       case $ac_f in
     4911       [\\/$]*) false;;
     4912       *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
     4913       esac ||
     4914       as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
     4915      esac
     4916      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
     4917      as_fn_append ac_file_inputs " '$ac_f'"
     4918    done
     4919
     4920    # Let's still pretend it is `configure' which instantiates (i.e., don't
     4921    # use $as_me), people would be surprised to read:
     4922    #    /* config.h.  Generated by config.status.  */
     4923    configure_input='Generated from '`
     4924      $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
     4925    `' by configure.'
     4926    if test x"$ac_file" != x-; then
     4927      configure_input="$ac_file.  $configure_input"
     4928      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
     4929$as_echo "$as_me: creating $ac_file" >&6;}
    52244930    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 ;;
     4931    # Neutralize special characters interpreted by sed in replacement strings.
     4932    case $configure_input in #(
     4933    *\&* | *\|* | *\\* )
     4934       ac_sed_conf_input=`$as_echo "$configure_input" |
     4935       sed 's/[\\\\&|]/\\\\&/g'`;; #(
     4936    *) ac_sed_conf_input=$configure_input;;
     4937    esac
     4938
     4939    case $ac_tag in
     4940    *:-:* | *:-) cat >"$ac_tmp/stdin" \
     4941      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
     4942    esac
     4943    ;;
    52614944  esac
    52624945
    5263   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
    5264   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
     4946  ac_dir=`$as_dirname -- "$ac_file" ||
    52654947$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    52664948     X"$ac_file" : 'X\(//\)[^/]' \| \
    52674949     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 
     4950     X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
     4951$as_echo X"$ac_file" |
     4952    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     4953        s//\1/
     4954        q
     4955      }
     4956      /^X\(\/\/\)[^/].*/{
     4957        s//\1/
     4958        q
     4959      }
     4960      /^X\(\/\/\)$/{
     4961        s//\1/
     4962        q
     4963      }
     4964      /^X\(\/\).*/{
     4965        s//\1/
     4966        q
     4967      }
     4968      s/.*/./; q'`
     4969  as_dir="$ac_dir"; as_fn_mkdir_p
    53014970  ac_builddir=.
    53024971
    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
     4972case "$ac_dir" in
     4973.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
     4974*)
     4975  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
     4976  # A ".." for each directory in $ac_dir_suffix.
     4977  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
     4978  case $ac_top_builddir_sub in
     4979  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
     4980  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
     4981  esac ;;
     4982esac
     4983ac_abs_top_builddir=$ac_pwd
     4984ac_abs_builddir=$ac_pwd$ac_dir_suffix
     4985# for backward compatibility:
     4986ac_top_builddir=$ac_top_build_prefix
    53104987
    53114988case $srcdir in
    5312   .)  # No --srcdir option.  We are building in place.
     4989  .)  # We are building in place.
    53134990    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.
     4991    ac_top_srcdir=$ac_top_builddir_sub
     4992    ac_abs_top_srcdir=$ac_pwd ;;
     4993  [\\/]* | ?:[\\/]* )  # Absolute name.
    53204994    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 ;;
     4995    ac_top_srcdir=$srcdir
     4996    ac_abs_top_srcdir=$srcdir ;;
     4997  *) # Relative name.
     4998    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
     4999    ac_top_srcdir=$ac_top_build_prefix$srcdir
     5000    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
    53255001esac
    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 
     5002ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
     5003
     5004
     5005  case $ac_mode in
     5006  :F)
     5007  #
     5008  # CONFIG_FILE
     5009  #
    53665010
    53675011  case $INSTALL in
    53685012  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
    5369   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
     5013  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
    53705014  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
     5015_ACEOF
     5016
     5017cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     5018# If the template does not know about datarootdir, expand it.
     5019# FIXME: This hack should be removed a few years after 2.60.
     5020ac_datarootdir_hack=; ac_datarootdir_seen=
     5021ac_sed_dataroot='
     5022/datarootdir/ {
     5023  p
     5024  q
     5025}
     5026/@datadir@/p
     5027/@docdir@/p
     5028/@infodir@/p
     5029/@localedir@/p
     5030/@mandir@/p'
     5031case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
     5032*datarootdir*) ac_datarootdir_seen=yes;;
     5033*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
     5034  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
     5035$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
     5036_ACEOF
     5037cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     5038  ac_datarootdir_hack='
     5039  s&@datadir@&$datadir&g
     5040  s&@docdir@&$docdir&g
     5041  s&@infodir@&$infodir&g
     5042  s&@localedir@&$localedir&g
     5043  s&@mandir@&$mandir&g
     5044  s&\\\${datarootdir}&$datarootdir&g' ;;
     5045esac
     5046_ACEOF
     5047
     5048# Neutralize VPATH when `$srcdir' = `.'.
     5049# Shell code in configure.ac might set extrasub.
     5050# FIXME: do we really want to maintain this feature?
     5051cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     5052ac_sed_extra="$ac_vpsub
    54185053$extrasub
    54195054_ACEOF
    5420 cat >>$CONFIG_STATUS <<\_ACEOF
     5055cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    54215056:t
    54225057/@[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
     5058s|@configure_input@|$ac_sed_conf_input|;t t
     5059s&@top_builddir@&$ac_top_builddir_sub&;t t
     5060s&@top_build_prefix@&$ac_top_build_prefix&;t t
     5061s&@srcdir@&$ac_srcdir&;t t
     5062s&@abs_srcdir@&$ac_abs_srcdir&;t t
     5063s&@top_srcdir@&$ac_top_srcdir&;t t
     5064s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
     5065s&@builddir@&$ac_builddir&;t t
     5066s&@abs_builddir@&$ac_abs_builddir&;t t
     5067s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
     5068s&@INSTALL@&$ac_INSTALL&;t t
     5069$ac_datarootdir_hack
     5070"
     5071eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
     5072  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
     5073
     5074test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
     5075  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
     5076  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
     5077      "$ac_tmp/out"`; test -z "$ac_out"; } &&
     5078  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
     5079which seems to be undefined.  Please make sure it is defined" >&5
     5080$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
     5081which seems to be undefined.  Please make sure it is defined" >&2;}
     5082
     5083  rm -f "$ac_tmp/stdin"
     5084  case $ac_file in
     5085  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
     5086  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
     5087  esac \
     5088  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
     5089 ;;
     5090
     5091
     5092
     5093  esac
     5094
     5095done # for ac_tag
     5096
     5097
     5098as_fn_exit 0
     5099_ACEOF
    54505100ac_clean_files=$ac_clean_files_save
     5101
     5102test $ac_write_fail = 0 ||
     5103  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
    54515104
    54525105
     
    54695122  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
    54705123  # would make configure fail if this is the last instruction.
    5471   $ac_cs_success || { (exit 1); exit 1; }
    5472 fi
    5473 
     5124  $ac_cs_success || as_fn_exit 1
     5125fi
     5126if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
     5127  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
     5128$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
     5129fi
     5130
Note: See TracChangeset for help on using the changeset viewer.