Changeset 22378


Ignore:
Timestamp:
2010-07-12T15:06:25+12:00 (14 years ago)
Author:
sjm84
Message:

Greenstone 2 now compiles and installs on 64-bit linux machines

Location:
main/trunk/greenstone2
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/build-src/packages/configure

    r22159 r22378  
    179179gzip -dc XML-Parser-2.34.tar.gz | tar -xf -
    180180cd "$PACKAGES/cpan/XML-Parser-2.34" && \
     181
     182#Use 64-bit expat library on 64-bit machines, otherwise use 32-bit
     183if test ! -z "$COMPAT32BITFLAGS" ; then
     184perl Makefile.PL \
     185  PREFIX="$GSDLHOME/perllib/cpan/XML" \
     186  INSTALLSITELIB="$GSDLHOME/perllib/cpan/$perl_dir" \
     187  INSTALLSITEARCH="$GSDLHOME/perllib/cpan/$perl_dir" \
     188  INSTALLMAN1DIR="$GSDLHOME/perllib/cpan/$perl_dir" \
     189  INSTALLMAN3DIR="$GSDLHOME/perllib/cpan/$perl_dir" \
     190  SITEPREFIX="$GSDLHOME/perllib/cpan" \
     191  EXPATINCPATH="$GSDLHOME/common-src/packages/expat/include" \
     192  EXPATLIBPATH="$GSDLHOME/common-src/packages/expat/lib64"
     193else
    181194perl Makefile.PL \
    182195  PREFIX="$GSDLHOME/perllib/cpan/XML" \
     
    188201  EXPATINCPATH="$GSDLHOME/common-src/packages/expat/include" \
    189202  EXPATLIBPATH="$GSDLHOME/common-src/packages/expat/lib"
     203fi
    190204
    191205# configure powerpoint converter
  • main/trunk/greenstone2/common-src/indexers/configure.ac

    r22070 r22378  
    7373
    7474dnl
    75 dnl Make sure Javac and Java are available
     75dnl Make sure Javac and Java are available if were are compiling Lucene
    7676dnl
    7777
    78 AC_PROG_JAVAC
    79 AC_PROG_JAVA
     78if test "$ENABLE_LUCENE" = "1" ; then
     79  AC_PROG_JAVAC
     80  AC_PROG_JAVA
     81fi
    8082
    8183dnl
  • main/trunk/greenstone2/common-src/packages/configure

    r22058 r22378  
    140140fi
    141141
     142#Configure and compile 32-bit expat
     143if test -e Makefile ; then
     144  echo make distclean && \
     145  make distclean
     146fi
     147
    142148echo CFLAGS="$CFLAGS $COMPAT32BITFLAGS" CXXFLAGS="$CXXFLAGS $COMPAT32BITFLAGS" LDFLAGS="$LDFLAGS $COMPAT32BITFLAGS" ./configure $CACHE_FILE --disable-shared --with-pic --prefix=$PACKAGES/expat --bindir="$bindir" $HOSTTARGETFLAGS $ENVIRONMENT
    143149
     
    151157CFLAGS="$CFLAGS $COMPAT32BITFLAGS" CXXFLAGS="$CXXFLAGS $COMPAT32BITFLAGS" LDFLAGS="$LDFLAGS $COMPAT32BITFLAGS" make install $ENVIRONMENT
    152158
     159echo make distclean && \
     160make distclean
     161
     162if test ! -z "$COMPAT32BITFLAGS" ; then
     163#Configure and compile 64-bit expat
     164  echo ./configure $CACHE_FILE --disable-shared --with-pic --prefix=$PACKAGES/expat --bindir="$bindir" --libdir="$PACKAGES/expat/lib64" $HOSTTARGETFLAGS $ENVIRONMENT
     165
     166  cd "$PACKAGES/expat/expat-1.95.8" && \
     167  ./configure $CACHE_FILE --disable-shared --with-pic --prefix=$PACKAGES/expat --bindir="$bindir" --libdir="$PACKAGES/expat/lib64" $HOSTTARGETFLAGS $ENVIRONMENT
     168
     169  echo make $ENVIRONMENT
     170  make $ENVIRONMENT
     171
     172  echo make install $ENVIRONMENT
     173  make install $ENVIRONMENT
     174fi
     175
     176echo make distclean && \
     177make distclean
    153178
    154179# configure and compile libiconv during configuration stage
     
    163188
    164189# configure
     190cd "$PACKAGES/iconv/libiconv-1.13.1"
     191
     192if test -e Makefile ; then
     193  echo make distclean && \
     194  make distclean
     195fi
     196
    165197echo CFLAGS="$CFLAGS $COMPAT32BITFLAGS" CXXFLAGS="$CXXFLAGS $COMPAT32BITFLAGS" LDFLAGS="$LDFLAGS $COMPAT32BITFLAGS" ./configure $CACHE_FILE --enable-shared --enable-static --prefix="$PACKAGES/iconv" $HOSTTARGETFLAGS $ENVIRONMENT
    166 cd "$PACKAGES/iconv/libiconv-1.13.1" && \
     198
    167199CFLAGS="$CFLAGS $COMPAT32BITFLAGS" CXXFLAGS="$CXXFLAGS $COMPAT32BITFLAGS" LDFLAGS="$LDFLAGS $COMPAT32BITFLAGS" ./configure $CACHE_FILE --enable-shared --enable-static --prefix="$PACKAGES/iconv" $HOSTTARGETFLAGS $ENVIRONMENT
    168200
     
    176208
    177209if test ! -z "$COMPAT32BITFLAGS" ; then
    178   echo "Generating native 64-bit version as well"
     210  echo "Generating native 64-bit version of iconv"
    179211  # used in apache web server, for example
    180212
    181   # dist clean
    182   cd "$PACKAGES/iconv/libiconv-1.13.1"
     213  # distclean
    183214  echo make distclean && \
    184215  make distclean
    185216
    186217  # configure
    187   echo ./configure $CACHE_FILE --enable-shared --enable-static --prefix="$PACKAGES/iconv" --libdir="$PACKAGES/iconv/lib64" $HOSTTARGETFLAGS $ENVIRONMENT
     218  echo ./configure $CACHE_FILE --enable-shared --enable-static --prefix="$PACKAGES/iconv" $HOSTTARGETFLAGS $ENVIRONMENT
    188219  ./configure $CACHE_FILE --enable-shared --enable-static --prefix="$PACKAGES/iconv" --libdir="$PACKAGES/iconv/lib64" $HOSTTARGETFLAGS $ENVIRONMENT
    189220
     
    193224
    194225  # make install
     226  echo make install $ENVIRONMENT
    195227  make install $ENVIRONMENT
    196   make install $ENVIRONMENT
    197 
    198 fi
     228fi
     229
     230echo make distclean && \
     231make distclean
    199232
    200233#./configure $CACHE_FILE --prefix="$PACKAGES/iconv" --disable-shared $HOSTTARGETFLAGS&&
  • main/trunk/greenstone2/configure

    r22058 r22378  
    11#! /bin/sh
    22# Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.59.
     3# Generated by GNU Autoconf 2.65.
    44#
    5 # Copyright (C) 2003 Free Software Foundation, Inc.
     5#
     6# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
     7# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
     8# Inc.
     9#
     10#
    611# This configure script is free software; the Free Software Foundation
    712# gives unlimited permission to copy, distribute and modify it.
    8 ## --------------------- ##
    9 ## M4sh Initialization.  ##
    10 ## --------------------- ##
    11 
    12 # Be Bourne compatible
    13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     13## -------------------- ##
     14## M4sh Initialization. ##
     15## -------------------- ##
     16
     17# Be more Bourne compatible
     18DUALCASE=1; export DUALCASE # for MKS sh
     19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
    1420  emulate sh
    1521  NULLCMD=:
    16   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
     22  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    1723  # is contrary to our usage.  Disable this feature.
    1824  alias -g '${1+"$@"}'='"$@"'
    19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
    20   set -o posix
    21 fi
    22 DUALCASE=1; export DUALCASE # for MKS sh
    23 
    24 # Support unset when possible.
    25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    26   as_unset=unset
    27 else
    28   as_unset=false
    29 fi
    30 
    31 
    32 # Work around bugs in pre-3.0 UWIN ksh.
    33 $as_unset ENV MAIL MAILPATH
     25  setopt NO_GLOB_SUBST
     26else
     27  case `(set -o) 2>/dev/null` in #(
     28  *posix*) :
     29    set -o posix ;; #(
     30  *) :
     31     ;;
     32esac
     33fi
     34
     35
     36as_nl='
     37'
     38export as_nl
     39# Printing a long string crashes Solaris 7 /usr/bin/printf.
     40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     43# Prefer a ksh shell builtin over an external printf program on Solaris,
     44# but without wasting forks for bash or zsh.
     45if test -z "$BASH_VERSION$ZSH_VERSION" \
     46    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     47  as_echo='print -r --'
     48  as_echo_n='print -rn --'
     49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     50  as_echo='printf %s\n'
     51  as_echo_n='printf %s'
     52else
     53  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     54    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     55    as_echo_n='/usr/ucb/echo -n'
     56  else
     57    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     58    as_echo_n_body='eval
     59      arg=$1;
     60      case $arg in #(
     61      *"$as_nl"*)
     62    expr "X$arg" : "X\\(.*\\)$as_nl";
     63    arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     64      esac;
     65      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     66    '
     67    export as_echo_n_body
     68    as_echo_n='sh -c $as_echo_n_body as_echo'
     69  fi
     70  export as_echo_body
     71  as_echo='sh -c $as_echo_body as_echo'
     72fi
     73
     74# The user is always right.
     75if test "${PATH_SEPARATOR+set}" != set; then
     76  PATH_SEPARATOR=:
     77  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     78    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     79      PATH_SEPARATOR=';'
     80  }
     81fi
     82
     83
     84# IFS
     85# We need space, tab and new line, in precisely that order.  Quoting is
     86# there to prevent editors from complaining about space-tab.
     87# (If _AS_PATH_WALK were called with IFS unset, it would disable word
     88# splitting by setting IFS to empty value.)
     89IFS=" ""    $as_nl"
     90
     91# Find who we are.  Look in the path if we contain no directory separator.
     92case $0 in #((
     93  *[\\/]* ) as_myself=$0 ;;
     94  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     95for as_dir in $PATH
     96do
     97  IFS=$as_save_IFS
     98  test -z "$as_dir" && as_dir=.
     99    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     100  done
     101IFS=$as_save_IFS
     102
     103     ;;
     104esac
     105# We did not find ourselves, most probably we were run as `sh COMMAND'
     106# in which case we are not to be found in the path.
     107if test "x$as_myself" = x; then
     108  as_myself=$0
     109fi
     110if test ! -f "$as_myself"; then
     111  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
     112  exit 1
     113fi
     114
     115# Unset variables that we do not need and which cause bugs (e.g. in
     116# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
     117# suppresses any "Segmentation fault" message there.  '((' could
     118# trigger a bug in pdksh 5.2.14.
     119for as_var in BASH_ENV ENV MAIL MAILPATH
     120do eval test x\${$as_var+set} = xset \
     121  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
     122done
    34123PS1='$ '
    35124PS2='> '
     
    37126
    38127# NLS nuisances.
    39 for as_var in \
    40   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
    41   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
    42   LC_TELEPHONE LC_TIME
     128LC_ALL=C
     129export LC_ALL
     130LANGUAGE=C
     131export LANGUAGE
     132
     133# CDPATH.
     134(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
     135
     136if test "x$CONFIG_SHELL" = x; then
     137  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
     138  emulate sh
     139  NULLCMD=:
     140  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
     141  # is contrary to our usage.  Disable this feature.
     142  alias -g '\${1+\"\$@\"}'='\"\$@\"'
     143  setopt NO_GLOB_SUBST
     144else
     145  case \`(set -o) 2>/dev/null\` in #(
     146  *posix*) :
     147    set -o posix ;; #(
     148  *) :
     149     ;;
     150esac
     151fi
     152"
     153  as_required="as_fn_return () { (exit \$1); }
     154as_fn_success () { as_fn_return 0; }
     155as_fn_failure () { as_fn_return 1; }
     156as_fn_ret_success () { return 0; }
     157as_fn_ret_failure () { return 1; }
     158
     159exitcode=0
     160as_fn_success || { exitcode=1; echo as_fn_success failed.; }
     161as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
     162as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
     163as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
     164if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
     165
     166else
     167  exitcode=1; echo positional parameters were not saved.
     168fi
     169test x\$exitcode = x0 || exit 1"
     170  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
     171  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
     172  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
     173  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
     174test \$(( 1 + 1 )) = 2 || exit 1"
     175  if (eval "$as_required") 2>/dev/null; then :
     176  as_have_required=yes
     177else
     178  as_have_required=no
     179fi
     180  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
     181
     182else
     183  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     184as_found=false
     185for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    43186do
    44   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
    45     eval $as_var=C; export $as_var
     187  IFS=$as_save_IFS
     188  test -z "$as_dir" && as_dir=.
     189  as_found=:
     190  case $as_dir in #(
     191     /*)
     192       for as_base in sh bash ksh sh5; do
     193         # Try only shells that exist, to save several forks.
     194         as_shell=$as_dir/$as_base
     195         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
     196            { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
     197  CONFIG_SHELL=$as_shell as_have_required=yes
     198           if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
     199  break 2
     200fi
     201fi
     202       done;;
     203       esac
     204  as_found=false
     205done
     206$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
     207          { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
     208  CONFIG_SHELL=$SHELL as_have_required=yes
     209fi; }
     210IFS=$as_save_IFS
     211
     212
     213      if test "x$CONFIG_SHELL" != x; then :
     214  # We cannot yet assume a decent shell, so we have to provide a
     215    # neutralization value for shells without unset; and this also
     216    # works around shells that cannot unset nonexistent variables.
     217    BASH_ENV=/dev/null
     218    ENV=/dev/null
     219    (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
     220    export CONFIG_SHELL
     221    exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
     222fi
     223
     224    if test x$as_have_required = xno; then :
     225  $as_echo "$0: This script requires a shell more modern than all"
     226  $as_echo "$0: the shells that I found on your system."
     227  if test x${ZSH_VERSION+set} = xset ; then
     228    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
     229    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    46230  else
    47     $as_unset $as_var
     231    $as_echo "$0: Please tell [email protected] about your system,
     232$0: including any error possibly output before this
     233$0: message. Then install a modern shell, or manually run
     234$0: the script under such a shell if you do have one."
    48235  fi
    49 done
    50 
    51 # Required to use basename.
    52 if expr a : '\(a\)' >/dev/null 2>&1; then
     236  exit 1
     237fi
     238fi
     239fi
     240SHELL=${CONFIG_SHELL-/bin/sh}
     241export SHELL
     242# Unset more variables known to interfere with behavior of common tools.
     243CLICOLOR_FORCE= GREP_OPTIONS=
     244unset CLICOLOR_FORCE GREP_OPTIONS
     245
     246## --------------------- ##
     247## M4sh Shell Functions. ##
     248## --------------------- ##
     249# as_fn_unset VAR
     250# ---------------
     251# Portably unset VAR.
     252as_fn_unset ()
     253{
     254  { eval $1=; unset $1;}
     255}
     256as_unset=as_fn_unset
     257
     258# as_fn_set_status STATUS
     259# -----------------------
     260# Set $? to STATUS, without forking.
     261as_fn_set_status ()
     262{
     263  return $1
     264} # as_fn_set_status
     265
     266# as_fn_exit STATUS
     267# -----------------
     268# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
     269as_fn_exit ()
     270{
     271  set +e
     272  as_fn_set_status $1
     273  exit $1
     274} # as_fn_exit
     275
     276# as_fn_mkdir_p
     277# -------------
     278# Create "$as_dir" as a directory, including parents if necessary.
     279as_fn_mkdir_p ()
     280{
     281
     282  case $as_dir in #(
     283  -*) as_dir=./$as_dir;;
     284  esac
     285  test -d "$as_dir" || eval $as_mkdir_p || {
     286    as_dirs=
     287    while :; do
     288      case $as_dir in #(
     289      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
     290      *) as_qdir=$as_dir;;
     291      esac
     292      as_dirs="'$as_qdir' $as_dirs"
     293      as_dir=`$as_dirname -- "$as_dir" ||
     294$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     295     X"$as_dir" : 'X\(//\)[^/]' \| \
     296     X"$as_dir" : 'X\(//\)$' \| \
     297     X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
     298$as_echo X"$as_dir" |
     299    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     300        s//\1/
     301        q
     302      }
     303      /^X\(\/\/\)[^/].*/{
     304        s//\1/
     305        q
     306      }
     307      /^X\(\/\/\)$/{
     308        s//\1/
     309        q
     310      }
     311      /^X\(\/\).*/{
     312        s//\1/
     313        q
     314      }
     315      s/.*/./; q'`
     316      test -d "$as_dir" && break
     317    done
     318    test -z "$as_dirs" || eval "mkdir $as_dirs"
     319  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
     320
     321
     322} # as_fn_mkdir_p
     323# as_fn_append VAR VALUE
     324# ----------------------
     325# Append the text in VALUE to the end of the definition contained in VAR. Take
     326# advantage of any shell optimizations that allow amortized linear growth over
     327# repeated appends, instead of the typical quadratic growth present in naive
     328# implementations.
     329if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
     330  eval 'as_fn_append ()
     331  {
     332    eval $1+=\$2
     333  }'
     334else
     335  as_fn_append ()
     336  {
     337    eval $1=\$$1\$2
     338  }
     339fi # as_fn_append
     340
     341# as_fn_arith ARG...
     342# ------------------
     343# Perform arithmetic evaluation on the ARGs, and store the result in the
     344# global $as_val. Take advantage of shells that can avoid forks. The arguments
     345# must be portable across $(()) and expr.
     346if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
     347  eval 'as_fn_arith ()
     348  {
     349    as_val=$(( $* ))
     350  }'
     351else
     352  as_fn_arith ()
     353  {
     354    as_val=`expr "$@" || test $? -eq 1`
     355  }
     356fi # as_fn_arith
     357
     358
     359# as_fn_error ERROR [LINENO LOG_FD]
     360# ---------------------------------
     361# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
     362# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
     363# script with status $?, using 1 if that was 0.
     364as_fn_error ()
     365{
     366  as_status=$?; test $as_status -eq 0 && as_status=1
     367  if test "$3"; then
     368    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     369    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
     370  fi
     371  $as_echo "$as_me: error: $1" >&2
     372  as_fn_exit $as_status
     373} # as_fn_error
     374
     375if expr a : '\(a\)' >/dev/null 2>&1 &&
     376   test "X`expr 00001 : '.*\(...\)'`" = X001; then
    53377  as_expr=expr
    54378else
     
    56380fi
    57381
    58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
     382if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    59383  as_basename=basename
    60384else
     
    62386fi
    63387
    64 
    65 # Name of the executable.
    66 as_me=`$as_basename "$0" ||
     388if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
     389  as_dirname=dirname
     390else
     391  as_dirname=false
     392fi
     393
     394as_me=`$as_basename -- "$0" ||
    67395$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    68396     X"$0" : 'X\(//\)$' \| \
    69      X"$0" : 'X\(/\)$' \| \
    70      .     : '\(.\)' 2>/dev/null ||
    71 echo X/"$0" |
    72     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
    73       /^X\/\(\/\/\)$/{ s//\1/; q; }
    74       /^X\/\(\/\).*/{ s//\1/; q; }
    75       s/.*/./; q'`
    76 
    77 
    78 # PATH needs CR, and LINENO needs CR and PATH.
     397     X"$0" : 'X\(/\)' \| . 2>/dev/null ||
     398$as_echo X/"$0" |
     399    sed '/^.*\/\([^/][^/]*\)\/*$/{
     400        s//\1/
     401        q
     402      }
     403      /^X\/\(\/\/\)$/{
     404        s//\1/
     405        q
     406      }
     407      /^X\/\(\/\).*/{
     408        s//\1/
     409        q
     410      }
     411      s/.*/./; q'`
     412
    79413# Avoid depending upon Character Ranges.
    80414as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     
    84418as_cr_alnum=$as_cr_Letters$as_cr_digits
    85419
    86 # The user is always right.
    87 if test "${PATH_SEPARATOR+set}" != set; then
    88   echo "#! /bin/sh" >conf$$.sh
    89   echo  "exit 0"   >>conf$$.sh
    90   chmod +x conf$$.sh
    91   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
    92     PATH_SEPARATOR=';'
    93   else
    94     PATH_SEPARATOR=:
    95   fi
    96   rm -f conf$$.sh
    97 fi
    98 
    99 
    100   as_lineno_1=$LINENO
    101   as_lineno_2=$LINENO
    102   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    103   test "x$as_lineno_1" != "x$as_lineno_2" &&
    104   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
    105   # Find who we are.  Look in the path if we contain no path at all
    106   # relative or not.
    107   case $0 in
    108     *[\\/]* ) as_myself=$0 ;;
    109     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    110 for as_dir in $PATH
    111 do
    112   IFS=$as_save_IFS
    113   test -z "$as_dir" && as_dir=.
    114   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    115 done
    116 
    117        ;;
    118   esac
    119   # We did not find ourselves, most probably we were run as `sh COMMAND'
    120   # in which case we are not to be found in the path.
    121   if test "x$as_myself" = x; then
    122     as_myself=$0
    123   fi
    124   if test ! -f "$as_myself"; then
    125     { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
    126    { (exit 1); exit 1; }; }
    127   fi
    128   case $CONFIG_SHELL in
    129   '')
    130     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    132 do
    133   IFS=$as_save_IFS
    134   test -z "$as_dir" && as_dir=.
    135   for as_base in sh bash ksh sh5; do
    136      case $as_dir in
    137      /*)
    138        if ("$as_dir/$as_base" -c '
    139   as_lineno_1=$LINENO
    140   as_lineno_2=$LINENO
    141   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    142   test "x$as_lineno_1" != "x$as_lineno_2" &&
    143   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
    144          $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
    145          $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
    146          CONFIG_SHELL=$as_dir/$as_base
    147          export CONFIG_SHELL
    148          exec "$CONFIG_SHELL" "$0" ${1+"$@"}
    149        fi;;
    150      esac
    151        done
    152 done
    153 ;;
    154   esac
    155 
    156   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    157   # uniformly replaced by the line number.  The first 'sed' inserts a
    158   # line-number line before each line; the second 'sed' does the real
    159   # work.  The second script uses 'N' to pair each line-number line
    160   # with the numbered line, and appends trailing '-' during
    161   # substitution so that $LINENO is not a special case at line end.
    162   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    163   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
    164   sed '=' <$as_myself |
     420
     421  as_lineno_1=$LINENO as_lineno_1a=$LINENO
     422  as_lineno_2=$LINENO as_lineno_2a=$LINENO
     423  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
     424  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
     425  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
     426  sed -n '
     427    p
     428    /[$]LINENO/=
     429  ' <$as_myself |
    165430    sed '
     431      s/[$]LINENO.*/&-/
     432      t lineno
     433      b
     434      :lineno
    166435      N
    167       s,$,-,
    168       : loop
    169       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
     436      :loop
     437      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    170438      t loop
    171       s,-$,,
    172       s,^['$as_cr_digits']*\n,,
     439      s/-\n.*//
    173440    ' >$as_me.lineno &&
    174   chmod +x $as_me.lineno ||
    175     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    176    { (exit 1); exit 1; }; }
     441  chmod +x "$as_me.lineno" ||
     442    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    177443
    178444  # Don't try to exec as it changes $[0], causing all sort of problems
    179445  # (the dirname of $[0] is not the place where we might find the
    180   # original and so on.  Autoconf is especially sensible to this).
    181   . ./$as_me.lineno
     446  # original and so on.  Autoconf is especially sensitive to this).
     447  . "./$as_me.lineno"
    182448  # Exit status is that of the last command.
    183449  exit
    184450}
    185451
    186 
    187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
    188   *c*,-n*) ECHO_N= ECHO_C='
    189 ' ECHO_T='  ' ;;
    190   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
    191   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
     452ECHO_C= ECHO_N= ECHO_T=
     453case `echo -n x` in #(((((
     454-n*)
     455  case `echo 'xy\c'` in
     456  *c*) ECHO_T=' ';; # ECHO_T is single tab character.
     457  xy)  ECHO_C='\c';;
     458  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
     459       ECHO_T=' ';;
     460  esac;;
     461*)
     462  ECHO_N='-n';;
    192463esac
    193464
    194 if expr a : '\(a\)' >/dev/null 2>&1; then
    195   as_expr=expr
    196 else
    197   as_expr=false
    198 fi
    199 
    200465rm -f conf$$ conf$$.exe conf$$.file
    201 echo >conf$$.file
    202 if ln -s conf$$.file conf$$ 2>/dev/null; then
    203   # We could just check for DJGPP; but this test a) works b) is more generic
    204   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
    205   if test -f conf$$.exe; then
    206     # Don't use ln at all; we don't have any links
     466if test -d conf$$.dir; then
     467  rm -f conf$$.dir/conf$$.file
     468else
     469  rm -f conf$$.dir
     470  mkdir conf$$.dir 2>/dev/null
     471fi
     472if (echo >conf$$.file) 2>/dev/null; then
     473  if ln -s conf$$.file conf$$ 2>/dev/null; then
     474    as_ln_s='ln -s'
     475    # ... but there are two gotchas:
     476    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
     477    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
     478    # In both cases, we have to default to `cp -p'.
     479    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
     480      as_ln_s='cp -p'
     481  elif ln conf$$.file conf$$ 2>/dev/null; then
     482    as_ln_s=ln
     483  else
    207484    as_ln_s='cp -p'
    208   else
    209     as_ln_s='ln -s'
    210485  fi
    211 elif ln conf$$.file conf$$ 2>/dev/null; then
    212   as_ln_s=ln
    213486else
    214487  as_ln_s='cp -p'
    215488fi
    216 rm -f conf$$ conf$$.exe conf$$.file
     489rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
     490rmdir conf$$.dir 2>/dev/null
    217491
    218492if mkdir -p . 2>/dev/null; then
    219   as_mkdir_p=:
     493  as_mkdir_p='mkdir -p "$as_dir"'
    220494else
    221495  test -d ./-p && rmdir ./-p
     
    223497fi
    224498
    225 as_executable_p="test -f"
     499if test -x / >/dev/null 2>&1; then
     500  as_test_x='test -x'
     501else
     502  if ls -dL / >/dev/null 2>&1; then
     503    as_ls_L_option=L
     504  else
     505    as_ls_L_option=
     506  fi
     507  as_test_x='
     508    eval sh -c '\''
     509      if test -d "$1"; then
     510    test -d "$1/.";
     511      else
     512    case $1 in #(
     513    -*)set "./$1";;
     514    esac;
     515    case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
     516    ???[sx]*):;;*)false;;esac;fi
     517    '\'' sh
     518  '
     519fi
     520as_executable_p=$as_test_x
    226521
    227522# Sed expression to map a string onto a valid CPP name.
     
    232527
    233528
    234 # IFS
    235 # We need space, tab and new line, in precisely that order.
    236 as_nl='
    237 '
    238 IFS="   $as_nl"
    239 
    240 # CDPATH.
    241 $as_unset CDPATH
    242 
     529test -n "$DJDIR" || exec 7<&0 </dev/null
     530exec 6>&1
    243531
    244532# Name of the host.
     
    247535ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    248536
    249 exec 6>&1
    250 
    251537#
    252538# Initializations.
    253539#
    254540ac_default_prefix=/usr/local
     541ac_clean_files=
    255542ac_config_libobj_dir=.
     543LIBOBJS=
    256544cross_compiling=no
    257545subdirs=
    258546MFLAGS=
    259547MAKEFLAGS=
    260 SHELL=${CONFIG_SHELL-/bin/sh}
    261 
    262 # Maximum number of lines to put in a shell here document.
    263 # This variable seems obsolete.  It should probably be removed, and
    264 # only ac_max_sed_lines should be used.
    265 : ${ac_max_here_lines=38}
    266548
    267549# Identity of this package.
     
    271553PACKAGE_STRING=
    272554PACKAGE_BUGREPORT=
     555PACKAGE_URL=
    273556
    274557# Factoring default headers for most tests.
    275558ac_includes_default="\
    276559#include <stdio.h>
    277 #if HAVE_SYS_TYPES_H
     560#ifdef HAVE_SYS_TYPES_H
    278561# include <sys/types.h>
    279562#endif
    280 #if HAVE_SYS_STAT_H
     563#ifdef HAVE_SYS_STAT_H
    281564# include <sys/stat.h>
    282565#endif
    283 #if STDC_HEADERS
     566#ifdef STDC_HEADERS
    284567# include <stdlib.h>
    285568# include <stddef.h>
    286569#else
    287 # if HAVE_STDLIB_H
     570# ifdef HAVE_STDLIB_H
    288571#  include <stdlib.h>
    289572# endif
    290573#endif
    291 #if HAVE_STRING_H
    292 # if !STDC_HEADERS && HAVE_MEMORY_H
     574#ifdef HAVE_STRING_H
     575# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    293576#  include <memory.h>
    294577# endif
    295578# include <string.h>
    296579#endif
    297 #if HAVE_STRINGS_H
     580#ifdef HAVE_STRINGS_H
    298581# include <strings.h>
    299582#endif
    300 #if HAVE_INTTYPES_H
     583#ifdef HAVE_INTTYPES_H
    301584# include <inttypes.h>
    302 #else
    303 # if HAVE_STDINT_H
    304 #  include <stdint.h>
    305 # endif
    306585#endif
    307 #if HAVE_UNISTD_H
     586#ifdef HAVE_STDINT_H
     587# include <stdint.h>
     588#endif
     589#ifdef HAVE_UNISTD_H
    308590# include <unistd.h>
    309591#endif"
    310592
    311 ac_subdirs_all="$ac_subdirs_all common-src"
    312 ac_subdirs_all="$ac_subdirs_all build-src"
    313 ac_subdirs_all="$ac_subdirs_all runtime-src"
    314 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 PACKAGE VERSION USE_FASTCGI USE_LANGACTION USE_CORBA MICO_DIR USE_Z3950 USE_YAZ USE_JDBM USE_GDBM ENABLE_ACCENTFOLD USE_SQLITE USE_APACHE_HTTPD ENABLE_JNI ENABLE_MG ENABLE_MGPP ENABLE_LUCENE LDFLAGS CFLAGS CC CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX AWK YACC build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB COMPAT32BITFLAGS MICO_VER CPP EGREP U ANSI2KNR ALLOCA LIBOBJS STATIC gsdlos MODULEDIRS subdirs LTLIBOBJS'
     593enable_option_checking=no
     594ac_subst_vars='LTLIBOBJS
     595subdirs
     596MODULEDIRS
     597gsdlos
     598STATIC
     599LIBOBJS
     600ALLOCA
     601ANSI2KNR
     602U
     603EGREP
     604GREP
     605CPP
     606MICO_VER
     607COMPAT32BITFLAGS
     608RANLIB
     609SET_MAKE
     610LN_S
     611INSTALL_DATA
     612INSTALL_SCRIPT
     613INSTALL_PROGRAM
     614target_os
     615target_vendor
     616target_cpu
     617target
     618host_os
     619host_vendor
     620host_cpu
     621host
     622build_os
     623build_vendor
     624build_cpu
     625build
     626YFLAGS
     627YACC
     628AWK
     629ac_ct_CXX
     630CXXFLAGS
     631CXX
     632OBJEXT
     633EXEEXT
     634ac_ct_CC
     635CPPFLAGS
     636CC
     637CFLAGS
     638LDFLAGS
     639ENABLE_LUCENE
     640ENABLE_MGPP
     641ENABLE_MG
     642ENABLE_JNI
     643USE_APACHE_HTTPD
     644USE_SQLITE
     645ENABLE_ACCENTFOLD
     646USE_GDBM
     647USE_JDBM
     648USE_YAZ
     649USE_Z3950
     650MICO_DIR
     651USE_CORBA
     652USE_LANGACTION
     653USE_FASTCGI
     654VERSION
     655PACKAGE
     656target_alias
     657host_alias
     658build_alias
     659LIBS
     660ECHO_T
     661ECHO_N
     662ECHO_C
     663DEFS
     664mandir
     665localedir
     666libdir
     667psdir
     668pdfdir
     669dvidir
     670htmldir
     671infodir
     672docdir
     673oldincludedir
     674includedir
     675localstatedir
     676sharedstatedir
     677sysconfdir
     678datadir
     679datarootdir
     680libexecdir
     681sbindir
     682bindir
     683program_transform_name
     684prefix
     685exec_prefix
     686PACKAGE_URL
     687PACKAGE_BUGREPORT
     688PACKAGE_STRING
     689PACKAGE_VERSION
     690PACKAGE_TARNAME
     691PACKAGE_NAME
     692PATH_SEPARATOR
     693SHELL'
    315694ac_subst_files=''
     695ac_user_opts='
     696enable_option_checking
     697enable_corba
     698with_micodir
     699enable_z3950
     700enable_yaz
     701enable_jdbm
     702enable_gdbm
     703enable_accentfold
     704enable_sqlite
     705enable_apache_httpd
     706enable_jni
     707enable_mg
     708enable_mgpp
     709enable_lucene
     710with_dmalloc
     711with_regex
     712'
     713      ac_precious_vars='build_alias
     714host_alias
     715target_alias
     716CC
     717CFLAGS
     718LDFLAGS
     719LIBS
     720CPPFLAGS
     721CXX
     722CXXFLAGS
     723CCC
     724YACC
     725YFLAGS
     726CPP'
     727ac_subdirs_all='common-src
     728build-src
     729runtime-src'
    316730
    317731# Initialize some variables set by options.
    318732ac_init_help=
    319733ac_init_version=false
     734ac_unrecognized_opts=
     735ac_unrecognized_sep=
    320736# The variables have the same names as the options, with
    321737# dashes changed to underlines.
     
    340756# by default will actually change.
    341757# Use braces instead of parens because sh, perl, etc. also accept them.
     758# (The list follows the same order as the GNU Coding Standards.)
    342759bindir='${exec_prefix}/bin'
    343760sbindir='${exec_prefix}/sbin'
    344761libexecdir='${exec_prefix}/libexec'
    345 datadir='${prefix}/share'
     762datarootdir='${prefix}/share'
     763datadir='${datarootdir}'
    346764sysconfdir='${prefix}/etc'
    347765sharedstatedir='${prefix}/com'
    348766localstatedir='${prefix}/var'
    349 libdir='${exec_prefix}/lib'
    350767includedir='${prefix}/include'
    351768oldincludedir='/usr/include'
    352 infodir='${prefix}/info'
    353 mandir='${prefix}/man'
     769docdir='${datarootdir}/doc/${PACKAGE}'
     770infodir='${datarootdir}/info'
     771htmldir='${docdir}'
     772dvidir='${docdir}'
     773pdfdir='${docdir}'
     774psdir='${docdir}'
     775libdir='${exec_prefix}/lib'
     776localedir='${datarootdir}/locale'
     777mandir='${datarootdir}/man'
    354778
    355779ac_prev=
     780ac_dashdash=
    356781for ac_option
    357782do
    358783  # If the previous option needs an argument, assign it.
    359784  if test -n "$ac_prev"; then
    360     eval "$ac_prev=\$ac_option"
     785    eval $ac_prev=\$ac_option
    361786    ac_prev=
    362787    continue
    363788  fi
    364789
    365   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
     790  case $ac_option in
     791  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
     792  *)    ac_optarg=yes ;;
     793  esac
    366794
    367795  # Accept the important Cygnus configure options, so we can diagnose typos.
    368796
    369   case $ac_option in
     797  case $ac_dashdash$ac_option in
     798  --)
     799    ac_dashdash=yes ;;
    370800
    371801  -bindir | --bindir | --bindi | --bind | --bin | --bi)
     
    389819    cache_file=config.cache ;;
    390820
    391   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
     821  -datadir | --datadir | --datadi | --datad)
    392822    ac_prev=datadir ;;
    393   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
    394   | --da=*)
     823  -datadir=* | --datadir=* | --datadi=* | --datad=*)
    395824    datadir=$ac_optarg ;;
    396825
     826  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
     827  | --dataroo | --dataro | --datar)
     828    ac_prev=datarootdir ;;
     829  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
     830  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
     831    datarootdir=$ac_optarg ;;
     832
    397833  -disable-* | --disable-*)
    398     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
     834    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    399835    # Reject names that are not valid shell variable names.
    400     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    401       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    402    { (exit 1); exit 1; }; }
    403     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
    404     eval "enable_$ac_feature=no" ;;
     836    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
     837      as_fn_error "invalid feature name: $ac_useropt"
     838    ac_useropt_orig=$ac_useropt
     839    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     840    case $ac_user_opts in
     841      *"
     842"enable_$ac_useropt"
     843"*) ;;
     844      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
     845     ac_unrecognized_sep=', ';;
     846    esac
     847    eval enable_$ac_useropt=no ;;
     848
     849  -docdir | --docdir | --docdi | --doc | --do)
     850    ac_prev=docdir ;;
     851  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
     852    docdir=$ac_optarg ;;
     853
     854  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
     855    ac_prev=dvidir ;;
     856  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
     857    dvidir=$ac_optarg ;;
    405858
    406859  -enable-* | --enable-*)
    407     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
     860    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    408861    # Reject names that are not valid shell variable names.
    409     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    410       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    411    { (exit 1); exit 1; }; }
    412     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
    413     case $ac_option in
    414       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
    415       *) ac_optarg=yes ;;
     862    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
     863      as_fn_error "invalid feature name: $ac_useropt"
     864    ac_useropt_orig=$ac_useropt
     865    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     866    case $ac_user_opts in
     867      *"
     868"enable_$ac_useropt"
     869"*) ;;
     870      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
     871     ac_unrecognized_sep=', ';;
    416872    esac
    417     eval "enable_$ac_feature='$ac_optarg'" ;;
     873    eval enable_$ac_useropt=\$ac_optarg ;;
    418874
    419875  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
     
    442898    host_alias=$ac_optarg ;;
    443899
     900  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
     901    ac_prev=htmldir ;;
     902  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
     903  | --ht=*)
     904    htmldir=$ac_optarg ;;
     905
    444906  -includedir | --includedir | --includedi | --included | --include \
    445907  | --includ | --inclu | --incl | --inc)
     
    466928    libexecdir=$ac_optarg ;;
    467929
     930  -localedir | --localedir | --localedi | --localed | --locale)
     931    ac_prev=localedir ;;
     932  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
     933    localedir=$ac_optarg ;;
     934
    468935  -localstatedir | --localstatedir | --localstatedi | --localstated \
    469   | --localstate | --localstat | --localsta | --localst \
    470   | --locals | --local | --loca | --loc | --lo)
     936  | --localstate | --localstat | --localsta | --localst | --locals)
    471937    ac_prev=localstatedir ;;
    472938  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    473   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
    474   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
     939  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    475940    localstatedir=$ac_optarg ;;
    476941
     
    5371002    program_transform_name=$ac_optarg ;;
    5381003
     1004  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
     1005    ac_prev=pdfdir ;;
     1006  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
     1007    pdfdir=$ac_optarg ;;
     1008
     1009  -psdir | --psdir | --psdi | --psd | --ps)
     1010    ac_prev=psdir ;;
     1011  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
     1012    psdir=$ac_optarg ;;
     1013
    5391014  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
    5401015  | -silent | --silent | --silen | --sile | --sil)
     
    5871062
    5881063  -with-* | --with-*)
    589     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
     1064    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
    5901065    # Reject names that are not valid shell variable names.
    591     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    592       { echo "$as_me: error: invalid package name: $ac_package" >&2
    593    { (exit 1); exit 1; }; }
    594     ac_package=`echo $ac_package| sed 's/-/_/g'`
    595     case $ac_option in
    596       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
    597       *) ac_optarg=yes ;;
     1066    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
     1067      as_fn_error "invalid package name: $ac_useropt"
     1068    ac_useropt_orig=$ac_useropt
     1069    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     1070    case $ac_user_opts in
     1071      *"
     1072"with_$ac_useropt"
     1073"*) ;;
     1074      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
     1075     ac_unrecognized_sep=', ';;
    5981076    esac
    599     eval "with_$ac_package='$ac_optarg'" ;;
     1077    eval with_$ac_useropt=\$ac_optarg ;;
    6001078
    6011079  -without-* | --without-*)
    602     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
     1080    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
    6031081    # Reject names that are not valid shell variable names.
    604     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    605       { echo "$as_me: error: invalid package name: $ac_package" >&2
    606    { (exit 1); exit 1; }; }
    607     ac_package=`echo $ac_package | sed 's/-/_/g'`
    608     eval "with_$ac_package=no" ;;
     1082    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
     1083      as_fn_error "invalid package name: $ac_useropt"
     1084    ac_useropt_orig=$ac_useropt
     1085    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     1086    case $ac_user_opts in
     1087      *"
     1088"with_$ac_useropt"
     1089"*) ;;
     1090      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
     1091     ac_unrecognized_sep=', ';;
     1092    esac
     1093    eval with_$ac_useropt=no ;;
    6091094
    6101095  --x)
     
    6261111    x_libraries=$ac_optarg ;;
    6271112
    628   -*) { echo "$as_me: error: unrecognized option: $ac_option
    629 Try \`$0 --help' for more information." >&2
    630    { (exit 1); exit 1; }; }
     1113  -*) as_fn_error "unrecognized option: \`$ac_option'
     1114Try \`$0 --help' for more information."
    6311115    ;;
    6321116
     
    6341118    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
    6351119    # Reject names that are not valid shell variable names.
    636     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
    637       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
    638    { (exit 1); exit 1; }; }
    639     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
    640     eval "$ac_envvar='$ac_optarg'"
     1120    case $ac_envvar in #(
     1121      '' | [0-9]* | *[!_$as_cr_alnum]* )
     1122      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
     1123    esac
     1124    eval $ac_envvar=\$ac_optarg
    6411125    export $ac_envvar ;;
    6421126
    6431127  *)
    6441128    # FIXME: should be removed in autoconf 3.0.
    645     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
     1129    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
    6461130    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    647       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
     1131      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
    6481132    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
    6491133    ;;
     
    6541138if test -n "$ac_prev"; then
    6551139  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
    656   { echo "$as_me: error: missing argument to $ac_option" >&2
    657    { (exit 1); exit 1; }; }
    658 fi
    659 
    660 # Be sure to have absolute paths.
    661 for ac_var in exec_prefix prefix
     1140  as_fn_error "missing argument to $ac_option"
     1141fi
     1142
     1143if test -n "$ac_unrecognized_opts"; then
     1144  case $enable_option_checking in
     1145    no) ;;
     1146    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
     1147    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
     1148  esac
     1149fi
     1150
     1151# Check all directory arguments for consistency.
     1152for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
     1153        datadir sysconfdir sharedstatedir localstatedir includedir \
     1154        oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
     1155        libdir localedir mandir
    6621156do
    663   eval ac_val=$`echo $ac_var`
     1157  eval ac_val=\$$ac_var
     1158  # Remove trailing slashes.
    6641159  case $ac_val in
    665     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
    666     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
    667    { (exit 1); exit 1; }; };;
     1160    */ )
     1161      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
     1162      eval $ac_var=\$ac_val;;
    6681163  esac
    669 done
    670 
    671 # Be sure to have absolute paths.
    672 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
    673           localstatedir libdir includedir oldincludedir infodir mandir
    674 do
    675   eval ac_val=$`echo $ac_var`
     1164  # Be sure to have absolute directory names.
    6761165  case $ac_val in
    677     [\\/$]* | ?:[\\/]* ) ;;
    678     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
    679    { (exit 1); exit 1; }; };;
     1166    [\\/$]* | ?:[\\/]* )  continue;;
     1167    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
    6801168  esac
     1169  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
    6811170done
    6821171
     
    6921181  if test "x$build_alias" = x; then
    6931182    cross_compiling=maybe
    694     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
     1183    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
    6951184    If a cross compiler is detected then cross compile mode will be used." >&2
    6961185  elif test "x$build_alias" != "x$host_alias"; then
     
    7051194
    7061195
     1196ac_pwd=`pwd` && test -n "$ac_pwd" &&
     1197ac_ls_di=`ls -di .` &&
     1198ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
     1199  as_fn_error "working directory cannot be determined"
     1200test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
     1201  as_fn_error "pwd does not report name of working directory"
     1202
     1203
    7071204# Find the source files, if location was not specified.
    7081205if test -z "$srcdir"; then
    7091206  ac_srcdir_defaulted=yes
    710   # Try the directory containing this script, then its parent.
    711   ac_confdir=`(dirname "$0") 2>/dev/null ||
    712 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    713      X"$0" : 'X\(//\)[^/]' \| \
    714      X"$0" : 'X\(//\)$' \| \
    715      X"$0" : 'X\(/\)' \| \
    716      .     : '\(.\)' 2>/dev/null ||
    717 echo X"$0" |
    718     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    719       /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    720       /^X\(\/\/\)$/{ s//\1/; q; }
    721       /^X\(\/\).*/{ s//\1/; q; }
    722       s/.*/./; q'`
     1207  # Try the directory containing this script, then the parent directory.
     1208  ac_confdir=`$as_dirname -- "$as_myself" ||
     1209$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     1210     X"$as_myself" : 'X\(//\)[^/]' \| \
     1211     X"$as_myself" : 'X\(//\)$' \| \
     1212     X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
     1213$as_echo X"$as_myself" |
     1214    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     1215        s//\1/
     1216        q
     1217      }
     1218      /^X\(\/\/\)[^/].*/{
     1219        s//\1/
     1220        q
     1221      }
     1222      /^X\(\/\/\)$/{
     1223        s//\1/
     1224        q
     1225      }
     1226      /^X\(\/\).*/{
     1227        s//\1/
     1228        q
     1229      }
     1230      s/.*/./; q'`
    7231231  srcdir=$ac_confdir
    724   if test ! -r $srcdir/$ac_unique_file; then
     1232  if test ! -r "$srcdir/$ac_unique_file"; then
    7251233    srcdir=..
    7261234  fi
     
    7281236  ac_srcdir_defaulted=no
    7291237fi
    730 if test ! -r $srcdir/$ac_unique_file; then
    731   if test "$ac_srcdir_defaulted" = yes; then
    732     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
    733    { (exit 1); exit 1; }; }
    734   else
    735     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
    736    { (exit 1); exit 1; }; }
    737   fi
    738 fi
    739 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
    740   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
    741    { (exit 1); exit 1; }; }
    742 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
    743 ac_env_build_alias_set=${build_alias+set}
    744 ac_env_build_alias_value=$build_alias
    745 ac_cv_env_build_alias_set=${build_alias+set}
    746 ac_cv_env_build_alias_value=$build_alias
    747 ac_env_host_alias_set=${host_alias+set}
    748 ac_env_host_alias_value=$host_alias
    749 ac_cv_env_host_alias_set=${host_alias+set}
    750 ac_cv_env_host_alias_value=$host_alias
    751 ac_env_target_alias_set=${target_alias+set}
    752 ac_env_target_alias_value=$target_alias
    753 ac_cv_env_target_alias_set=${target_alias+set}
    754 ac_cv_env_target_alias_value=$target_alias
    755 ac_env_CC_set=${CC+set}
    756 ac_env_CC_value=$CC
    757 ac_cv_env_CC_set=${CC+set}
    758 ac_cv_env_CC_value=$CC
    759 ac_env_CFLAGS_set=${CFLAGS+set}
    760 ac_env_CFLAGS_value=$CFLAGS
    761 ac_cv_env_CFLAGS_set=${CFLAGS+set}
    762 ac_cv_env_CFLAGS_value=$CFLAGS
    763 ac_env_LDFLAGS_set=${LDFLAGS+set}
    764 ac_env_LDFLAGS_value=$LDFLAGS
    765 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
    766 ac_cv_env_LDFLAGS_value=$LDFLAGS
    767 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
    768 ac_env_CPPFLAGS_value=$CPPFLAGS
    769 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
    770 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
    771 ac_env_CXX_set=${CXX+set}
    772 ac_env_CXX_value=$CXX
    773 ac_cv_env_CXX_set=${CXX+set}
    774 ac_cv_env_CXX_value=$CXX
    775 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
    776 ac_env_CXXFLAGS_value=$CXXFLAGS
    777 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
    778 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
    779 ac_env_CPP_set=${CPP+set}
    780 ac_env_CPP_value=$CPP
    781 ac_cv_env_CPP_set=${CPP+set}
    782 ac_cv_env_CPP_value=$CPP
     1238if test ! -r "$srcdir/$ac_unique_file"; then
     1239  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
     1240  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
     1241fi
     1242ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
     1243ac_abs_confdir=`(
     1244    cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
     1245    pwd)`
     1246# When building in place, set srcdir=.
     1247if test "$ac_abs_confdir" = "$ac_pwd"; then
     1248  srcdir=.
     1249fi
     1250# Remove unnecessary trailing slashes from srcdir.
     1251# Double slashes in file names in object file debugging info
     1252# mess up M-x gdb in Emacs.
     1253case $srcdir in
     1254*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
     1255esac
     1256for ac_var in $ac_precious_vars; do
     1257  eval ac_env_${ac_var}_set=\${${ac_var}+set}
     1258  eval ac_env_${ac_var}_value=\$${ac_var}
     1259  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
     1260  eval ac_cv_env_${ac_var}_value=\$${ac_var}
     1261done
    7831262
    7841263#
     
    8091288      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
    8101289
    811 _ACEOF
    812 
    813   cat <<_ACEOF
    8141290Installation directories:
    8151291  --prefix=PREFIX         install architecture-independent files in PREFIX
    816               [$ac_default_prefix]
     1292                          [$ac_default_prefix]
    8171293  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
    818               [PREFIX]
     1294                          [PREFIX]
    8191295
    8201296By default, \`make install' will install all the files in
     
    8261302
    8271303Fine tuning of the installation directories:
    828   --bindir=DIR           user executables [EPREFIX/bin]
    829   --sbindir=DIR          system admin executables [EPREFIX/sbin]
    830   --libexecdir=DIR       program executables [EPREFIX/libexec]
    831   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
    832   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
    833   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
    834   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
    835   --libdir=DIR           object code libraries [EPREFIX/lib]
    836   --includedir=DIR       C header files [PREFIX/include]
    837   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
    838   --infodir=DIR          info documentation [PREFIX/info]
    839   --mandir=DIR           man documentation [PREFIX/man]
     1304  --bindir=DIR            user executables [EPREFIX/bin]
     1305  --sbindir=DIR           system admin executables [EPREFIX/sbin]
     1306  --libexecdir=DIR        program executables [EPREFIX/libexec]
     1307  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
     1308  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
     1309  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
     1310  --libdir=DIR            object code libraries [EPREFIX/lib]
     1311  --includedir=DIR        C header files [PREFIX/include]
     1312  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
     1313  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
     1314  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
     1315  --infodir=DIR           info documentation [DATAROOTDIR/info]
     1316  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
     1317  --mandir=DIR            man documentation [DATAROOTDIR/man]
     1318  --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
     1319  --htmldir=DIR           html documentation [DOCDIR]
     1320  --dvidir=DIR            dvi documentation [DOCDIR]
     1321  --pdfdir=DIR            pdf documentation [DOCDIR]
     1322  --psdir=DIR             ps documentation [DOCDIR]
    8401323_ACEOF
    8411324
     
    8541337
    8551338Optional Features:
     1339  --disable-option-checking  ignore unrecognized --enable/--with options
    8561340  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
    8571341  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
     
    8821366  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
    8831367              nonstandard directory <lib dir>
    884   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
    885               headers in a nonstandard directory <include dir>
     1368  LIBS        libraries to pass to the linker, e.g. -l<library>
     1369  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
     1370              you have headers in a nonstandard directory <include dir>
    8861371  CXX         C++ compiler command
    8871372  CXXFLAGS    C++ compiler flags
     1373  YACC        The `Yet Another C Compiler' implementation to use. Defaults to
     1374              the first program found out of: `bison -y', `byacc', `yacc'.
     1375  YFLAGS      The list of arguments that will be passed by default to $YACC.
     1376              This script will default YFLAGS to the empty string to avoid a
     1377              default value of `-d' given by some make applications.
    8881378  CPP         C preprocessor
    8891379
     
    8911381it to find libraries and programs with nonstandard names/locations.
    8921382
    893 _ACEOF
     1383Report bugs to the package provider.
     1384_ACEOF
     1385ac_status=$?
    8941386fi
    8951387
    8961388if test "$ac_init_help" = "recursive"; then
    8971389  # If there are subdirs, report their specific --help.
    898   ac_popdir=`pwd`
    8991390  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
    900     test -d $ac_dir || continue
     1391    test -d "$ac_dir" ||
     1392      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
     1393      continue
    9011394    ac_builddir=.
    9021395
    903 if test "$ac_dir" != .; then
    904   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
    905   # A "../" for each directory in $ac_dir_suffix.
    906   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
    907 else
    908   ac_dir_suffix= ac_top_builddir=
    909 fi
     1396case "$ac_dir" in
     1397.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
     1398*)
     1399  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
     1400  # A ".." for each directory in $ac_dir_suffix.
     1401  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
     1402  case $ac_top_builddir_sub in
     1403  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
     1404  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
     1405  esac ;;
     1406esac
     1407ac_abs_top_builddir=$ac_pwd
     1408ac_abs_builddir=$ac_pwd$ac_dir_suffix
     1409# for backward compatibility:
     1410ac_top_builddir=$ac_top_build_prefix
    9101411
    9111412case $srcdir in
    912   .)  # No --srcdir option.  We are building in place.
     1413  .)  # We are building in place.
    9131414    ac_srcdir=.
    914     if test -z "$ac_top_builddir"; then
    915        ac_top_srcdir=.
     1415    ac_top_srcdir=$ac_top_builddir_sub
     1416    ac_abs_top_srcdir=$ac_pwd ;;
     1417  [\\/]* | ?:[\\/]* )  # Absolute name.
     1418    ac_srcdir=$srcdir$ac_dir_suffix;
     1419    ac_top_srcdir=$srcdir
     1420    ac_abs_top_srcdir=$srcdir ;;
     1421  *) # Relative name.
     1422    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
     1423    ac_top_srcdir=$ac_top_build_prefix$srcdir
     1424    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
     1425esac
     1426ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
     1427
     1428    cd "$ac_dir" || { ac_status=$?; continue; }
     1429    # Check for guested configure.
     1430    if test -f "$ac_srcdir/configure.gnu"; then
     1431      echo &&
     1432      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
     1433    elif test -f "$ac_srcdir/configure"; then
     1434      echo &&
     1435      $SHELL "$ac_srcdir/configure" --help=recursive
    9161436    else
    917        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
    918     fi ;;
    919   [\\/]* | ?:[\\/]* )  # Absolute path.
    920     ac_srcdir=$srcdir$ac_dir_suffix;
    921     ac_top_srcdir=$srcdir ;;
    922   *) # Relative path.
    923     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
    924     ac_top_srcdir=$ac_top_builddir$srcdir ;;
    925 esac
    926 
    927 # Do not use `cd foo && pwd` to compute absolute paths, because
    928 # the directories may not exist.
    929 case `pwd` in
    930 .) ac_abs_builddir="$ac_dir";;
    931 *)
    932   case "$ac_dir" in
    933   .) ac_abs_builddir=`pwd`;;
    934   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
    935   *) ac_abs_builddir=`pwd`/"$ac_dir";;
    936   esac;;
    937 esac
    938 case $ac_abs_builddir in
    939 .) ac_abs_top_builddir=${ac_top_builddir}.;;
    940 *)
    941   case ${ac_top_builddir}. in
    942   .) ac_abs_top_builddir=$ac_abs_builddir;;
    943   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
    944   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
    945   esac;;
    946 esac
    947 case $ac_abs_builddir in
    948 .) ac_abs_srcdir=$ac_srcdir;;
    949 *)
    950   case $ac_srcdir in
    951   .) ac_abs_srcdir=$ac_abs_builddir;;
    952   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
    953   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
    954   esac;;
    955 esac
    956 case $ac_abs_builddir in
    957 .) ac_abs_top_srcdir=$ac_top_srcdir;;
    958 *)
    959   case $ac_top_srcdir in
    960   .) ac_abs_top_srcdir=$ac_abs_builddir;;
    961   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
    962   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
    963   esac;;
    964 esac
    965 
    966     cd $ac_dir
    967     # Check for guested configure; otherwise get Cygnus style configure.
    968     if test -f $ac_srcdir/configure.gnu; then
    969       echo
    970       $SHELL $ac_srcdir/configure.gnu  --help=recursive
    971     elif test -f $ac_srcdir/configure; then
    972       echo
    973       $SHELL $ac_srcdir/configure  --help=recursive
    974     elif test -f $ac_srcdir/configure.ac ||
    975        test -f $ac_srcdir/configure.in; then
    976       echo
    977       $ac_configure --help
    978     else
    979       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
    980     fi
    981     cd $ac_popdir
     1437      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
     1438    fi || ac_status=$?
     1439    cd "$ac_pwd" || { ac_status=$?; break; }
    9821440  done
    9831441fi
    9841442
    985 test -n "$ac_init_help" && exit 0
     1443test -n "$ac_init_help" && exit $ac_status
    9861444if $ac_init_version; then
    9871445  cat <<\_ACEOF
    988 
    989 Copyright (C) 2003 Free Software Foundation, Inc.
     1446configure
     1447generated by GNU Autoconf 2.65
     1448
     1449Copyright (C) 2009 Free Software Foundation, Inc.
    9901450This configure script is free software; the Free Software Foundation
    9911451gives unlimited permission to copy, distribute and modify it.
    9921452_ACEOF
    993   exit 0
    994 fi
    995 exec 5>config.log
    996 cat >&5 <<_ACEOF
     1453  exit
     1454fi
     1455
     1456## ------------------------ ##
     1457## Autoconf initialization. ##
     1458## ------------------------ ##
     1459
     1460# ac_fn_c_try_compile LINENO
     1461# --------------------------
     1462# Try to compile conftest.$ac_ext, and return whether this succeeded.
     1463ac_fn_c_try_compile ()
     1464{
     1465  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1466  rm -f conftest.$ac_objext
     1467  if { { ac_try="$ac_compile"
     1468case "(($ac_try" in
     1469  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1470  *) ac_try_echo=$ac_try;;
     1471esac
     1472eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1473$as_echo "$ac_try_echo"; } >&5
     1474  (eval "$ac_compile") 2>conftest.err
     1475  ac_status=$?
     1476  if test -s conftest.err; then
     1477    grep -v '^ *+' conftest.err >conftest.er1
     1478    cat conftest.er1 >&5
     1479    mv -f conftest.er1 conftest.err
     1480  fi
     1481  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1482  test $ac_status = 0; } && {
     1483     test -z "$ac_c_werror_flag" ||
     1484     test ! -s conftest.err
     1485       } && test -s conftest.$ac_objext; then :
     1486  ac_retval=0
     1487else
     1488  $as_echo "$as_me: failed program was:" >&5
     1489sed 's/^/| /' conftest.$ac_ext >&5
     1490
     1491    ac_retval=1
     1492fi
     1493  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
     1494  as_fn_set_status $ac_retval
     1495
     1496} # ac_fn_c_try_compile
     1497
     1498# ac_fn_cxx_try_compile LINENO
     1499# ----------------------------
     1500# Try to compile conftest.$ac_ext, and return whether this succeeded.
     1501ac_fn_cxx_try_compile ()
     1502{
     1503  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1504  rm -f conftest.$ac_objext
     1505  if { { ac_try="$ac_compile"
     1506case "(($ac_try" in
     1507  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1508  *) ac_try_echo=$ac_try;;
     1509esac
     1510eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1511$as_echo "$ac_try_echo"; } >&5
     1512  (eval "$ac_compile") 2>conftest.err
     1513  ac_status=$?
     1514  if test -s conftest.err; then
     1515    grep -v '^ *+' conftest.err >conftest.er1
     1516    cat conftest.er1 >&5
     1517    mv -f conftest.er1 conftest.err
     1518  fi
     1519  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1520  test $ac_status = 0; } && {
     1521     test -z "$ac_cxx_werror_flag" ||
     1522     test ! -s conftest.err
     1523       } && test -s conftest.$ac_objext; then :
     1524  ac_retval=0
     1525else
     1526  $as_echo "$as_me: failed program was:" >&5
     1527sed 's/^/| /' conftest.$ac_ext >&5
     1528
     1529    ac_retval=1
     1530fi
     1531  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
     1532  as_fn_set_status $ac_retval
     1533
     1534} # ac_fn_cxx_try_compile
     1535
     1536# ac_fn_c_try_cpp LINENO
     1537# ----------------------
     1538# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
     1539ac_fn_c_try_cpp ()
     1540{
     1541  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1542  if { { ac_try="$ac_cpp conftest.$ac_ext"
     1543case "(($ac_try" in
     1544  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1545  *) ac_try_echo=$ac_try;;
     1546esac
     1547eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1548$as_echo "$ac_try_echo"; } >&5
     1549  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
     1550  ac_status=$?
     1551  if test -s conftest.err; then
     1552    grep -v '^ *+' conftest.err >conftest.er1
     1553    cat conftest.er1 >&5
     1554    mv -f conftest.er1 conftest.err
     1555  fi
     1556  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1557  test $ac_status = 0; } >/dev/null && {
     1558     test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     1559     test ! -s conftest.err
     1560       }; then :
     1561  ac_retval=0
     1562else
     1563  $as_echo "$as_me: failed program was:" >&5
     1564sed 's/^/| /' conftest.$ac_ext >&5
     1565
     1566    ac_retval=1
     1567fi
     1568  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
     1569  as_fn_set_status $ac_retval
     1570
     1571} # ac_fn_c_try_cpp
     1572
     1573# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
     1574# -------------------------------------------------------
     1575# Tests whether HEADER exists, giving a warning if it cannot be compiled using
     1576# the include files in INCLUDES and setting the cache variable VAR
     1577# accordingly.
     1578ac_fn_c_check_header_mongrel ()
     1579{
     1580  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1581  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
     1582  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1583$as_echo_n "checking for $2... " >&6; }
     1584if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
     1585  $as_echo_n "(cached) " >&6
     1586fi
     1587eval ac_res=\$$3
     1588           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1589$as_echo "$ac_res" >&6; }
     1590else
     1591  # Is the header compilable?
     1592{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
     1593$as_echo_n "checking $2 usability... " >&6; }
     1594cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1595/* end confdefs.h.  */
     1596$4
     1597#include <$2>
     1598_ACEOF
     1599if ac_fn_c_try_compile "$LINENO"; then :
     1600  ac_header_compiler=yes
     1601else
     1602  ac_header_compiler=no
     1603fi
     1604rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1605{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
     1606$as_echo "$ac_header_compiler" >&6; }
     1607
     1608# Is the header present?
     1609{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
     1610$as_echo_n "checking $2 presence... " >&6; }
     1611cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1612/* end confdefs.h.  */
     1613#include <$2>
     1614_ACEOF
     1615if ac_fn_c_try_cpp "$LINENO"; then :
     1616  ac_header_preproc=yes
     1617else
     1618  ac_header_preproc=no
     1619fi
     1620rm -f conftest.err conftest.$ac_ext
     1621{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
     1622$as_echo "$ac_header_preproc" >&6; }
     1623
     1624# So?  What about this header?
     1625case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
     1626  yes:no: )
     1627    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
     1628$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
     1629    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
     1630$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
     1631    ;;
     1632  no:yes:* )
     1633    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
     1634$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
     1635    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
     1636$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
     1637    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
     1638$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
     1639    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
     1640$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
     1641    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
     1642$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
     1643    ;;
     1644esac
     1645  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1646$as_echo_n "checking for $2... " >&6; }
     1647if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
     1648  $as_echo_n "(cached) " >&6
     1649else
     1650  eval "$3=\$ac_header_compiler"
     1651fi
     1652eval ac_res=\$$3
     1653           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1654$as_echo "$ac_res" >&6; }
     1655fi
     1656  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
     1657
     1658} # ac_fn_c_check_header_mongrel
     1659
     1660# ac_fn_c_try_run LINENO
     1661# ----------------------
     1662# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
     1663# that executables *can* be run.
     1664ac_fn_c_try_run ()
     1665{
     1666  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1667  if { { ac_try="$ac_link"
     1668case "(($ac_try" in
     1669  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1670  *) ac_try_echo=$ac_try;;
     1671esac
     1672eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1673$as_echo "$ac_try_echo"; } >&5
     1674  (eval "$ac_link") 2>&5
     1675  ac_status=$?
     1676  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1677  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
     1678  { { case "(($ac_try" in
     1679  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1680  *) ac_try_echo=$ac_try;;
     1681esac
     1682eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1683$as_echo "$ac_try_echo"; } >&5
     1684  (eval "$ac_try") 2>&5
     1685  ac_status=$?
     1686  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1687  test $ac_status = 0; }; }; then :
     1688  ac_retval=0
     1689else
     1690  $as_echo "$as_me: program exited with status $ac_status" >&5
     1691       $as_echo "$as_me: failed program was:" >&5
     1692sed 's/^/| /' conftest.$ac_ext >&5
     1693
     1694       ac_retval=$ac_status
     1695fi
     1696  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     1697  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
     1698  as_fn_set_status $ac_retval
     1699
     1700} # ac_fn_c_try_run
     1701
     1702# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
     1703# -------------------------------------------------------
     1704# Tests whether HEADER exists and can be compiled using the include files in
     1705# INCLUDES, setting the cache variable VAR accordingly.
     1706ac_fn_c_check_header_compile ()
     1707{
     1708  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1709  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1710$as_echo_n "checking for $2... " >&6; }
     1711if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
     1712  $as_echo_n "(cached) " >&6
     1713else
     1714  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1715/* end confdefs.h.  */
     1716$4
     1717#include <$2>
     1718_ACEOF
     1719if ac_fn_c_try_compile "$LINENO"; then :
     1720  eval "$3=yes"
     1721else
     1722  eval "$3=no"
     1723fi
     1724rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1725fi
     1726eval ac_res=\$$3
     1727           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1728$as_echo "$ac_res" >&6; }
     1729  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
     1730
     1731} # ac_fn_c_check_header_compile
     1732
     1733# ac_fn_c_try_link LINENO
     1734# -----------------------
     1735# Try to link conftest.$ac_ext, and return whether this succeeded.
     1736ac_fn_c_try_link ()
     1737{
     1738  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1739  rm -f conftest.$ac_objext conftest$ac_exeext
     1740  if { { ac_try="$ac_link"
     1741case "(($ac_try" in
     1742  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1743  *) ac_try_echo=$ac_try;;
     1744esac
     1745eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1746$as_echo "$ac_try_echo"; } >&5
     1747  (eval "$ac_link") 2>conftest.err
     1748  ac_status=$?
     1749  if test -s conftest.err; then
     1750    grep -v '^ *+' conftest.err >conftest.er1
     1751    cat conftest.er1 >&5
     1752    mv -f conftest.er1 conftest.err
     1753  fi
     1754  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1755  test $ac_status = 0; } && {
     1756     test -z "$ac_c_werror_flag" ||
     1757     test ! -s conftest.err
     1758       } && test -s conftest$ac_exeext && {
     1759     test "$cross_compiling" = yes ||
     1760     $as_test_x conftest$ac_exeext
     1761       }; then :
     1762  ac_retval=0
     1763else
     1764  $as_echo "$as_me: failed program was:" >&5
     1765sed 's/^/| /' conftest.$ac_ext >&5
     1766
     1767    ac_retval=1
     1768fi
     1769  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
     1770  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
     1771  # interfere with the next link command; also delete a directory that is
     1772  # left behind by Apple's compiler.  We do this before executing the actions.
     1773  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     1774  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
     1775  as_fn_set_status $ac_retval
     1776
     1777} # ac_fn_c_try_link
     1778
     1779# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
     1780# -------------------------------------------
     1781# Tests whether TYPE exists after having included INCLUDES, setting cache
     1782# variable VAR accordingly.
     1783ac_fn_c_check_type ()
     1784{
     1785  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1786  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1787$as_echo_n "checking for $2... " >&6; }
     1788if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
     1789  $as_echo_n "(cached) " >&6
     1790else
     1791  eval "$3=no"
     1792  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1793/* end confdefs.h.  */
     1794$4
     1795int
     1796main ()
     1797{
     1798if (sizeof ($2))
     1799     return 0;
     1800  ;
     1801  return 0;
     1802}
     1803_ACEOF
     1804if ac_fn_c_try_compile "$LINENO"; then :
     1805  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1806/* end confdefs.h.  */
     1807$4
     1808int
     1809main ()
     1810{
     1811if (sizeof (($2)))
     1812        return 0;
     1813  ;
     1814  return 0;
     1815}
     1816_ACEOF
     1817if ac_fn_c_try_compile "$LINENO"; then :
     1818
     1819else
     1820  eval "$3=yes"
     1821fi
     1822rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1823fi
     1824rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1825fi
     1826eval ac_res=\$$3
     1827           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1828$as_echo "$ac_res" >&6; }
     1829  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
     1830
     1831} # ac_fn_c_check_type
     1832
     1833# ac_fn_c_check_func LINENO FUNC VAR
     1834# ----------------------------------
     1835# Tests whether FUNC exists, setting the cache variable VAR accordingly
     1836ac_fn_c_check_func ()
     1837{
     1838  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1839  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1840$as_echo_n "checking for $2... " >&6; }
     1841if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
     1842  $as_echo_n "(cached) " >&6
     1843else
     1844  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1845/* end confdefs.h.  */
     1846/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
     1847   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     1848#define $2 innocuous_$2
     1849
     1850/* System header to define __stub macros and hopefully few prototypes,
     1851    which can conflict with char $2 (); below.
     1852    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     1853    <limits.h> exists even on freestanding compilers.  */
     1854
     1855#ifdef __STDC__
     1856# include <limits.h>
     1857#else
     1858# include <assert.h>
     1859#endif
     1860
     1861#undef $2
     1862
     1863/* Override any GCC internal prototype to avoid an error.
     1864   Use char because int might match the return type of a GCC
     1865   builtin and then its argument prototype would still apply.  */
     1866#ifdef __cplusplus
     1867extern "C"
     1868#endif
     1869char $2 ();
     1870/* The GNU C library defines this for functions which it implements
     1871    to always fail with ENOSYS.  Some functions are actually named
     1872    something starting with __ and the normal name is an alias.  */
     1873#if defined __stub_$2 || defined __stub___$2
     1874choke me
     1875#endif
     1876
     1877int
     1878main ()
     1879{
     1880return $2 ();
     1881  ;
     1882  return 0;
     1883}
     1884_ACEOF
     1885if ac_fn_c_try_link "$LINENO"; then :
     1886  eval "$3=yes"
     1887else
     1888  eval "$3=no"
     1889fi
     1890rm -f core conftest.err conftest.$ac_objext \
     1891    conftest$ac_exeext conftest.$ac_ext
     1892fi
     1893eval ac_res=\$$3
     1894           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1895$as_echo "$ac_res" >&6; }
     1896  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
     1897
     1898} # ac_fn_c_check_func
     1899
     1900# ac_fn_cxx_try_run LINENO
     1901# ------------------------
     1902# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
     1903# that executables *can* be run.
     1904ac_fn_cxx_try_run ()
     1905{
     1906  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1907  if { { ac_try="$ac_link"
     1908case "(($ac_try" in
     1909  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1910  *) ac_try_echo=$ac_try;;
     1911esac
     1912eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1913$as_echo "$ac_try_echo"; } >&5
     1914  (eval "$ac_link") 2>&5
     1915  ac_status=$?
     1916  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1917  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
     1918  { { case "(($ac_try" in
     1919  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1920  *) ac_try_echo=$ac_try;;
     1921esac
     1922eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1923$as_echo "$ac_try_echo"; } >&5
     1924  (eval "$ac_try") 2>&5
     1925  ac_status=$?
     1926  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1927  test $ac_status = 0; }; }; then :
     1928  ac_retval=0
     1929else
     1930  $as_echo "$as_me: program exited with status $ac_status" >&5
     1931       $as_echo "$as_me: failed program was:" >&5
     1932sed 's/^/| /' conftest.$ac_ext >&5
     1933
     1934       ac_retval=$ac_status
     1935fi
     1936  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     1937  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
     1938  as_fn_set_status $ac_retval
     1939
     1940} # ac_fn_cxx_try_run
     1941cat >config.log <<_ACEOF
    9971942This file contains any messages produced by compilers while
    9981943running configure, to aid debugging if configure makes a mistake.
    9991944
    10001945It was created by $as_me, which was
    1001 generated by GNU Autoconf 2.59.  Invocation command line was
     1946generated by GNU Autoconf 2.65.  Invocation command line was
    10021947
    10031948  $ $0 $@
    10041949
    10051950_ACEOF
     1951exec 5>>config.log
    10061952{
    10071953cat <<_ASUNAME
     
    10221968/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
    10231969/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
    1024 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
     1970/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
    10251971/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
    10261972/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
     
    10341980  IFS=$as_save_IFS
    10351981  test -z "$as_dir" && as_dir=.
    1036   echo "PATH: $as_dir"
    1037 done
     1982    $as_echo "PATH: $as_dir"
     1983  done
     1984IFS=$as_save_IFS
    10381985
    10391986} >&5
     
    10572004ac_configure_args0=
    10582005ac_configure_args1=
    1059 ac_sep=
    10602006ac_must_keep_next=false
    10612007for ac_pass in 1 2
     
    10682014    | -silent | --silent | --silen | --sile | --sil)
    10692015      continue ;;
    1070     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
    1071       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
     2016    *\'*)
     2017      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
    10722018    esac
    10732019    case $ac_pass in
    1074     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
     2020    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
    10752021    2)
    1076       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
     2022      as_fn_append ac_configure_args1 " '$ac_arg'"
    10772023      if test $ac_must_keep_next = true; then
    10782024    ac_must_keep_next=false # Got value, back to normal.
     
    10902036    esac
    10912037      fi
    1092       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
    1093       # Get rid of the leading space.
    1094       ac_sep=" "
     2038      as_fn_append ac_configure_args " '$ac_arg'"
    10952039      ;;
    10962040    esac
    10972041  done
    10982042done
    1099 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
    1100 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
     2043{ ac_configure_args0=; unset ac_configure_args0;}
     2044{ ac_configure_args1=; unset ac_configure_args1;}
    11012045
    11022046# When interrupted or exit'd, cleanup temporary files, and complete
    11032047# config.log.  We remove comments because anyway the quotes in there
    11042048# would cause problems or look ugly.
    1105 # WARNING: Be sure not to use single quotes in there, as some shells,
    1106 # such as our DU 5.0 friend, will then `close' the trap.
     2049# WARNING: Use '\'' to represent an apostrophe within the trap.
     2050# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
    11072051trap 'exit_status=$?
    11082052  # Save into config.log some information that might help in debugging.
     
    11172061    echo
    11182062    # The following way of writing the cache mishandles newlines in values,
    1119 {
     2063(
     2064  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
     2065    eval ac_val=\$$ac_var
     2066    case $ac_val in #(
     2067    *${as_nl}*)
     2068      case $ac_var in #(
     2069      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
     2070$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
     2071      esac
     2072      case $ac_var in #(
     2073      _ | IFS | as_nl) ;; #(
     2074      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
     2075      *) { eval $ac_var=; unset $ac_var;} ;;
     2076      esac ;;
     2077    esac
     2078  done
    11202079  (set) 2>&1 |
    1121     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
    1122     *ac_space=\ *)
     2080    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
     2081    *${as_nl}ac_space=\ *)
    11232082      sed -n \
    1124     "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
    1125       s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
     2083    "s/'\''/'\''\\\\'\'''\''/g;
     2084      s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
     2085      ;; #(
     2086    *)
     2087      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
    11262088      ;;
    1127     *)
    1128       sed -n \
    1129     "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
    1130       ;;
    1131     esac;
    1132 }
     2089    esac |
     2090    sort
     2091)
    11332092    echo
    11342093
     
    11412100    for ac_var in $ac_subst_vars
    11422101    do
    1143       eval ac_val=$`echo $ac_var`
    1144       echo "$ac_var='"'"'$ac_val'"'"'"
     2102      eval ac_val=\$$ac_var
     2103      case $ac_val in
     2104      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
     2105      esac
     2106      $as_echo "$ac_var='\''$ac_val'\''"
    11452107    done | sort
    11462108    echo
     
    11482110    if test -n "$ac_subst_files"; then
    11492111      cat <<\_ASBOX
    1150 ## ------------- ##
    1151 ## Output files. ##
    1152 ## ------------- ##
     2112## ------------------- ##
     2113## File substitutions. ##
     2114## ------------------- ##
    11532115_ASBOX
    11542116      echo
    11552117      for ac_var in $ac_subst_files
    11562118      do
    1157     eval ac_val=$`echo $ac_var`
    1158     echo "$ac_var='"'"'$ac_val'"'"'"
     2119    eval ac_val=\$$ac_var
     2120    case $ac_val in
     2121    *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
     2122    esac
     2123    $as_echo "$ac_var='\''$ac_val'\''"
    11592124      done | sort
    11602125      echo
     
    11682133_ASBOX
    11692134      echo
    1170       sed "/^$/d" confdefs.h | sort
     2135      cat confdefs.h
    11712136      echo
    11722137    fi
    11732138    test "$ac_signal" != 0 &&
    1174       echo "$as_me: caught signal $ac_signal"
    1175     echo "$as_me: exit $exit_status"
     2139      $as_echo "$as_me: caught signal $ac_signal"
     2140    $as_echo "$as_me: exit $exit_status"
    11762141  } >&5
    1177   rm -f core *.core &&
    1178   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
     2142  rm -f core *.core core.conftest.* &&
     2143    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
    11792144    exit $exit_status
    1180      ' 0
     2145' 0
    11812146for ac_signal in 1 2 13 15; do
    1182   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
     2147  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
    11832148done
    11842149ac_signal=0
    11852150
    11862151# confdefs.h avoids OS command line length limits that DEFS can exceed.
    1187 rm -rf conftest* confdefs.h
    1188 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
    1189 echo >confdefs.h
     2152rm -f -r conftest* confdefs.h
     2153
     2154$as_echo "/* confdefs.h */" > confdefs.h
    11902155
    11912156# Predefined preprocessor variables.
     
    11952160_ACEOF
    11962161
    1197 
    11982162cat >>confdefs.h <<_ACEOF
    11992163#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
    12002164_ACEOF
    12012165
    1202 
    12032166cat >>confdefs.h <<_ACEOF
    12042167#define PACKAGE_VERSION "$PACKAGE_VERSION"
    12052168_ACEOF
    12062169
    1207 
    12082170cat >>confdefs.h <<_ACEOF
    12092171#define PACKAGE_STRING "$PACKAGE_STRING"
    12102172_ACEOF
    12112173
    1212 
    12132174cat >>confdefs.h <<_ACEOF
    12142175#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
    12152176_ACEOF
    12162177
     2178cat >>confdefs.h <<_ACEOF
     2179#define PACKAGE_URL "$PACKAGE_URL"
     2180_ACEOF
     2181
    12172182
    12182183# Let the site file select an alternate cache file if it wants to.
    1219 # Prefer explicitly selected file to automatically selected ones.
    1220 if test -z "$CONFIG_SITE"; then
    1221   if test "x$prefix" != xNONE; then
    1222     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
    1223   else
    1224     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
    1225   fi
    1226 fi
    1227 for ac_site_file in $CONFIG_SITE; do
    1228   if test -r "$ac_site_file"; then
    1229     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
    1230 echo "$as_me: loading site script $ac_site_file" >&6;}
     2184# Prefer an explicitly selected file to automatically selected ones.
     2185ac_site_file1=NONE
     2186ac_site_file2=NONE
     2187if test -n "$CONFIG_SITE"; then
     2188  ac_site_file1=$CONFIG_SITE
     2189elif test "x$prefix" != xNONE; then
     2190  ac_site_file1=$prefix/share/config.site
     2191  ac_site_file2=$prefix/etc/config.site
     2192else
     2193  ac_site_file1=$ac_default_prefix/share/config.site
     2194  ac_site_file2=$ac_default_prefix/etc/config.site
     2195fi
     2196for ac_site_file in "$ac_site_file1" "$ac_site_file2"
     2197do
     2198  test "x$ac_site_file" = xNONE && continue
     2199  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
     2200    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
     2201$as_echo "$as_me: loading site script $ac_site_file" >&6;}
    12312202    sed 's/^/| /' "$ac_site_file" >&5
    12322203    . "$ac_site_file"
     
    12352206
    12362207if test -r "$cache_file"; then
    1237   # Some versions of bash will fail to source /dev/null (special
    1238   # files actually), so we avoid doing that.
    1239   if test -f "$cache_file"; then
    1240     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
    1241 echo "$as_me: loading cache $cache_file" >&6;}
     2208  # Some versions of bash will fail to source /dev/null (special files
     2209  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
     2210  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
     2211    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
     2212$as_echo "$as_me: loading cache $cache_file" >&6;}
    12422213    case $cache_file in
    1243       [\\/]* | ?:[\\/]* ) . $cache_file;;
    1244       *)                      . ./$cache_file;;
     2214      [\\/]* | ?:[\\/]* ) . "$cache_file";;
     2215      *)                      . "./$cache_file";;
    12452216    esac
    12462217  fi
    12472218else
    1248   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
    1249 echo "$as_me: creating cache $cache_file" >&6;}
     2219  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
     2220$as_echo "$as_me: creating cache $cache_file" >&6;}
    12502221  >$cache_file
    12512222fi
     
    12542225# value.
    12552226ac_cache_corrupted=false
    1256 for ac_var in `(set) 2>&1 |
    1257            sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
     2227for ac_var in $ac_precious_vars; do
    12582228  eval ac_old_set=\$ac_cv_env_${ac_var}_set
    12592229  eval ac_new_set=\$ac_env_${ac_var}_set
    1260   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
    1261   eval ac_new_val="\$ac_env_${ac_var}_value"
     2230  eval ac_old_val=\$ac_cv_env_${ac_var}_value
     2231  eval ac_new_val=\$ac_env_${ac_var}_value
    12622232  case $ac_old_set,$ac_new_set in
    12632233    set,)
    1264       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
    1265 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
     2234      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
     2235$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
    12662236      ac_cache_corrupted=: ;;
    12672237    ,set)
    1268       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
    1269 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
     2238      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
     2239$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
    12702240      ac_cache_corrupted=: ;;
    12712241    ,);;
    12722242    *)
    12732243      if test "x$ac_old_val" != "x$ac_new_val"; then
    1274     { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
    1275 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
    1276     { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
    1277 echo "$as_me:   former value:  $ac_old_val" >&2;}
    1278     { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
    1279 echo "$as_me:   current value: $ac_new_val" >&2;}
    1280     ac_cache_corrupted=:
     2244    # differences in whitespace do not lead to failure.
     2245    ac_old_val_w=`echo x $ac_old_val`
     2246    ac_new_val_w=`echo x $ac_new_val`
     2247    if test "$ac_old_val_w" != "$ac_new_val_w"; then
     2248      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
     2249$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
     2250      ac_cache_corrupted=:
     2251    else
     2252      { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
     2253$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
     2254      eval $ac_var=\$ac_old_val
     2255    fi
     2256    { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
     2257$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
     2258    { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
     2259$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
    12812260      fi;;
    12822261  esac
     
    12842263  if test "$ac_new_set" = set; then
    12852264    case $ac_new_val in
    1286     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
    1287       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
     2265    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
    12882266    *) ac_arg=$ac_var=$ac_new_val ;;
    12892267    esac
    12902268    case " $ac_configure_args " in
    12912269      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
    1292       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
     2270      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
    12932271    esac
    12942272  fi
    12952273done
    12962274if $ac_cache_corrupted; then
    1297   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
    1298 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
    1299   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
    1300 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
    1301    { (exit 1); exit 1; }; }
    1302 fi
     2275  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2276$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2277  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
     2278$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
     2279  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
     2280fi
     2281## -------------------- ##
     2282## Main body of script. ##
     2283## -------------------- ##
    13032284
    13042285ac_ext=c
     
    13092290
    13102291
    1311 
    1312 
    1313 
    1314 
    1315 
    1316 
    1317 
    1318 
    1319 
    1320 
    1321 
    1322 
    1323 
    1324 
    1325 
    1326 
    1327 
    1328           ac_config_headers="$ac_config_headers config.h"
     2292ac_config_headers="$ac_config_headers config.h"
    13292293
    13302294
     
    13452309USE_FASTCGI=0
    13462310if test USE_FASTCGI = 1; then
    1347 cat >>confdefs.h <<\_ACEOF
    1348 #define USE_FASTCGI 1
    1349 _ACEOF
     2311$as_echo "#define USE_FASTCGI 1" >>confdefs.h
    13502312
    13512313
     
    13532315
    13542316if test USE_LANGACTION = 1; then
    1355 cat >>confdefs.h <<\_ACEOF
    1356 #define USE_LANGACTION 1
    1357 _ACEOF
    1358 
    1359 
    1360 fi
    1361 
    1362 # Check whether --enable-corba or --disable-corba was given.
    1363 if test "${enable_corba+set}" = set; then
    1364   enableval="$enable_corba"
    1365   USE_CORBA=$enableval
     2317$as_echo "#define USE_LANGACTION 1" >>confdefs.h
     2318
     2319
     2320fi
     2321
     2322# Check whether --enable-corba was given.
     2323if test "${enable_corba+set}" = set; then :
     2324  enableval=$enable_corba; USE_CORBA=$enableval
    13662325else
    13672326  USE_CORBA=no
    1368 fi;
     2327fi
     2328
    13692329if test $USE_CORBA = "yes" -o $USE_CORBA = "1" ; then
    13702330  USE_CORBA=1
    1371   cat >>confdefs.h <<\_ACEOF
    1372 #define USE_CORBA
    1373 _ACEOF
     2331  $as_echo "#define USE_CORBA /**/" >>confdefs.h
    13742332
    13752333else
     
    13792337
    13802338
    1381 # Check whether --with-micodir or --without-micodir was given.
    1382 if test "${with_micodir+set}" = set; then
    1383   withval="$with_micodir"
    1384   MICO_DIR=$withval
     2339# Check whether --with-micodir was given.
     2340if test "${with_micodir+set}" = set; then :
     2341  withval=$with_micodir; MICO_DIR=$withval
    13852342else
    13862343  MICO_DIR="default"
    1387 fi;
     2344fi
     2345
    13882346cat >>confdefs.h <<_ACEOF
    13892347#define MICO_DIR "$MICO_DIR"
     
    13922350
    13932351
    1394 # Check whether --enable-z3950 or --disable-z3950 was given.
    1395 if test "${enable_z3950+set}" = set; then
    1396   enableval="$enable_z3950"
    1397   USE_Z3950=$enableval
     2352# Check whether --enable-z3950 was given.
     2353if test "${enable_z3950+set}" = set; then :
     2354  enableval=$enable_z3950; USE_Z3950=$enableval
    13982355else
    13992356  USE_Z3950=no
    1400 fi;
     2357fi
     2358
    14012359if test $USE_Z3950 = "yes" -o $USE_Z3950 = "1" ; then
    14022360  USE_Z3950=1
    1403   cat >>confdefs.h <<\_ACEOF
    1404 #define USE_Z3950
    1405 _ACEOF
     2361  $as_echo "#define USE_Z3950 /**/" >>confdefs.h
    14062362
    14072363else
     
    14102366
    14112367
    1412 # Check whether --enable-yaz or --disable-yaz was given.
    1413 if test "${enable_yaz+set}" = set; then
    1414   enableval="$enable_yaz"
    1415   USE_YAZ=$enableval
     2368# Check whether --enable-yaz was given.
     2369if test "${enable_yaz+set}" = set; then :
     2370  enableval=$enable_yaz; USE_YAZ=$enableval
    14162371else
    14172372  USE_YAZ=yes
    1418 fi;
     2373fi
     2374
    14192375if test $USE_YAZ = "yes" -o $USE_YAZ = "1" ; then
    14202376  USE_YAZ=1
    1421   cat >>confdefs.h <<\_ACEOF
    1422 #define USE_YAZ
    1423 _ACEOF
     2377  $as_echo "#define USE_YAZ /**/" >>confdefs.h
    14242378
    14252379else
     
    14282382
    14292383
    1430 # Check whether --enable-jdbm or --disable-jdbm was given.
    1431 if test "${enable_jdbm+set}" = set; then
    1432   enableval="$enable_jdbm"
    1433   USE_JDBM=$enableval
     2384# Check whether --enable-jdbm was given.
     2385if test "${enable_jdbm+set}" = set; then :
     2386  enableval=$enable_jdbm; USE_JDBM=$enableval
    14342387else
    14352388  USE_JDBM=yes
    1436 fi;
     2389fi
     2390
    14372391if test $USE_JDBM = "yes" -o $USE_JDBM = "1" ; then
    14382392  USE_JDBM=1
    1439   cat >>confdefs.h <<\_ACEOF
    1440 #define USE_JDBM
    1441 _ACEOF
     2393  $as_echo "#define USE_JDBM /**/" >>confdefs.h
    14422394
    14432395else
     
    14462398
    14472399
    1448 # Check whether --enable-gdbm or --disable-gdbm was given.
    1449 if test "${enable_gdbm+set}" = set; then
    1450   enableval="$enable_gdbm"
    1451   USE_GDBM=$enableval
     2400# Check whether --enable-gdbm was given.
     2401if test "${enable_gdbm+set}" = set; then :
     2402  enableval=$enable_gdbm; USE_GDBM=$enableval
    14522403else
    14532404  USE_GDBM=yes
    1454 fi;
     2405fi
     2406
    14552407if test $USE_GDBM = "yes" -o $USE_GDBM = "1" ; then
    14562408  USE_GDBM=1
    1457   cat >>confdefs.h <<\_ACEOF
    1458 #define USE_GDBM
    1459 _ACEOF
     2409  $as_echo "#define USE_GDBM /**/" >>confdefs.h
    14602410
    14612411else
     
    14642414
    14652415
    1466 # Check whether --enable-accentfold or --disable-accentfold was given.
    1467 if test "${enable_accentfold+set}" = set; then
    1468   enableval="$enable_accentfold"
    1469   ENABLE_ACCENTFOLD=$enableval
     2416# Check whether --enable-accentfold was given.
     2417if test "${enable_accentfold+set}" = set; then :
     2418  enableval=$enable_accentfold; ENABLE_ACCENTFOLD=$enableval
    14702419else
    14712420  ENABLE_ACCENTFOLD=yes
    1472 fi;
     2421fi
     2422
    14732423if test $ENABLE_ACCENTFOLD = "yes" -o $ENABLE_ACCENTFOLD = "1" ; then
    14742424  ENABLE_ACCENTFOLD=1
    1475   cat >>confdefs.h <<\_ACEOF
    1476 #define ENABLE_ACCENTFOLD
    1477 _ACEOF
     2425  $as_echo "#define ENABLE_ACCENTFOLD /**/" >>confdefs.h
    14782426
    14792427else
     
    14822430
    14832431
    1484 # Check whether --enable-sqlite or --disable-sqlite was given.
    1485 if test "${enable_sqlite+set}" = set; then
    1486   enableval="$enable_sqlite"
    1487   USE_SQLITE=$enableval
     2432# Check whether --enable-sqlite was given.
     2433if test "${enable_sqlite+set}" = set; then :
     2434  enableval=$enable_sqlite; USE_SQLITE=$enableval
    14882435else
    14892436  USE_SQLITE=yes
    1490 fi;
     2437fi
     2438
    14912439if test $USE_SQLITE = "yes" -o $USE_SQLITE = "1" ; then
    14922440  USE_SQLITE=1
    1493   cat >>confdefs.h <<\_ACEOF
    1494 #define USE_SQLITE
    1495 _ACEOF
     2441  $as_echo "#define USE_SQLITE /**/" >>confdefs.h
    14962442
    14972443else
     
    15012447
    15022448if test -d runtime-src; then
    1503    # Check whether --enable-apache-httpd or --disable-apache-httpd was given.
    1504 if test "${enable_apache_httpd+set}" = set; then
    1505   enableval="$enable_apache_httpd"
    1506   USE_APACHE_HTTPD=$enableval
     2449   # Check whether --enable-apache-httpd was given.
     2450if test "${enable_apache_httpd+set}" = set; then :
     2451  enableval=$enable_apache_httpd; USE_APACHE_HTTPD=$enableval
    15072452else
    15082453  USE_APACHE_HTTPD=no
    1509 fi;
     2454fi
     2455
    15102456   if test $USE_APACHE_HTTPD = "yes" -o $USE_APACHE_HTTPD = "1" ; then
    15112457     USE_APACHE_HTTPD=1
    1512      cat >>confdefs.h <<\_ACEOF
    1513 #define USE_APACHE_HTTPD
    1514 _ACEOF
     2458     $as_echo "#define USE_APACHE_HTTPD /**/" >>confdefs.h
    15152459
    15162460   else
     
    15202464fi
    15212465
    1522 # Check whether --enable-jni or --disable-jni was given.
    1523 if test "${enable_jni+set}" = set; then
    1524   enableval="$enable_jni"
    1525   ENABLE_JNI=$enableval
     2466# Check whether --enable-jni was given.
     2467if test "${enable_jni+set}" = set; then :
     2468  enableval=$enable_jni; ENABLE_JNI=$enableval
    15262469else
    15272470  ENABLE_JNI=no
    1528 fi;
     2471fi
     2472
    15292473if test $ENABLE_JNI = "yes" -o $ENABLE_JNI = "1" ; then
    15302474  ENABLE_JNI=1
    1531   cat >>confdefs.h <<\_ACEOF
    1532 #define ENABLE_JNI
    1533 _ACEOF
     2475  $as_echo "#define ENABLE_JNI /**/" >>confdefs.h
    15342476
    15352477else
     
    15382480
    15392481
    1540 # Check whether --enable-mg or --disable-mg was given.
    1541 if test "${enable_mg+set}" = set; then
    1542   enableval="$enable_mg"
    1543   ENABLE_MG=$enableval
     2482# Check whether --enable-mg was given.
     2483if test "${enable_mg+set}" = set; then :
     2484  enableval=$enable_mg; ENABLE_MG=$enableval
    15442485else
    15452486  ENABLE_MG=yes
    1546 fi;
     2487fi
     2488
    15472489if test $ENABLE_MG = "yes" -o $ENABLE_MG = "1" ; then
    15482490  ENABLE_MG=1
    1549   cat >>confdefs.h <<\_ACEOF
    1550 #define ENABLE_MG
    1551 _ACEOF
     2491  $as_echo "#define ENABLE_MG /**/" >>confdefs.h
    15522492
    15532493 else
     
    15572497
    15582498
    1559 # Check whether --enable-mgpp or --disable-mgpp was given.
    1560 if test "${enable_mgpp+set}" = set; then
    1561   enableval="$enable_mgpp"
    1562   ENABLE_MGPP=$enableval
     2499# Check whether --enable-mgpp was given.
     2500if test "${enable_mgpp+set}" = set; then :
     2501  enableval=$enable_mgpp; ENABLE_MGPP=$enableval
    15632502else
    15642503  ENABLE_MGPP=yes
    1565 fi;
     2504fi
     2505
    15662506if test $ENABLE_MGPP = "yes" -o $ENABLE_MGPP = "1" ; then
    15672507  ENABLE_MGPP=1
    1568   cat >>confdefs.h <<\_ACEOF
    1569 #define ENABLE_MGPP
    1570 _ACEOF
     2508  $as_echo "#define ENABLE_MGPP /**/" >>confdefs.h
    15712509
    15722510else
     
    15752513
    15762514
    1577 # Check whether --enable-lucene or --disable-lucene was given.
    1578 if test "${enable_lucene+set}" = set; then
    1579   enableval="$enable_lucene"
    1580   ENABLE_LUCENE=$enableval
     2515# Check whether --enable-lucene was given.
     2516if test "${enable_lucene+set}" = set; then :
     2517  enableval=$enable_lucene; ENABLE_LUCENE=$enableval
    15812518else
    15822519  ENABLE_LUCENE=yes
    1583 fi;
     2520fi
     2521
    15842522if test $ENABLE_LUCENE = "yes" -o $ENABLE_LUCENE = "1" ; then
    15852523  ENABLE_LUCENE=1
    1586   cat >>confdefs.h <<\_ACEOF
    1587 #define ENABLE_LUCENE
    1588 _ACEOF
     2524  $as_echo "#define ENABLE_LUCENE /**/" >>confdefs.h
    15892525
    15902526else
     
    16102546  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    16112547set dummy ${ac_tool_prefix}gcc; ac_word=$2
    1612 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1613 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1614 if test "${ac_cv_prog_CC+set}" = set; then
    1615   echo $ECHO_N "(cached) $ECHO_C" >&6
     2548{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2549$as_echo_n "checking for $ac_word... " >&6; }
     2550if test "${ac_cv_prog_CC+set}" = set; then :
     2551  $as_echo_n "(cached) " >&6
    16162552else
    16172553  if test -n "$CC"; then
     
    16232559  IFS=$as_save_IFS
    16242560  test -z "$as_dir" && as_dir=.
    1625   for ac_exec_ext in '' $ac_executable_extensions; do
    1626   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2561    for ac_exec_ext in '' $ac_executable_extensions; do
     2562  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    16272563    ac_cv_prog_CC="${ac_tool_prefix}gcc"
    1628     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2564    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    16292565    break 2
    16302566  fi
    16312567done
    1632 done
     2568  done
     2569IFS=$as_save_IFS
    16332570
    16342571fi
     
    16362573CC=$ac_cv_prog_CC
    16372574if test -n "$CC"; then
    1638   echo "$as_me:$LINENO: result: $CC" >&5
    1639 echo "${ECHO_T}$CC" >&6
    1640 else
    1641   echo "$as_me:$LINENO: result: no" >&5
    1642 echo "${ECHO_T}no" >&6
    1643 fi
     2575  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     2576$as_echo "$CC" >&6; }
     2577else
     2578  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2579$as_echo "no" >&6; }
     2580fi
     2581
    16442582
    16452583fi
     
    16482586  # Extract the first word of "gcc", so it can be a program name with args.
    16492587set dummy gcc; ac_word=$2
    1650 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1651 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1652 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    1653   echo $ECHO_N "(cached) $ECHO_C" >&6
     2588{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2589$as_echo_n "checking for $ac_word... " >&6; }
     2590if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
     2591  $as_echo_n "(cached) " >&6
    16542592else
    16552593  if test -n "$ac_ct_CC"; then
     
    16612599  IFS=$as_save_IFS
    16622600  test -z "$as_dir" && as_dir=.
    1663   for ac_exec_ext in '' $ac_executable_extensions; do
    1664   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2601    for ac_exec_ext in '' $ac_executable_extensions; do
     2602  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    16652603    ac_cv_prog_ac_ct_CC="gcc"
    1666     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2604    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    16672605    break 2
    16682606  fi
    16692607done
    1670 done
     2608  done
     2609IFS=$as_save_IFS
    16712610
    16722611fi
     
    16742613ac_ct_CC=$ac_cv_prog_ac_ct_CC
    16752614if test -n "$ac_ct_CC"; then
    1676   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    1677 echo "${ECHO_T}$ac_ct_CC" >&6
    1678 else
    1679   echo "$as_me:$LINENO: result: no" >&5
    1680 echo "${ECHO_T}no" >&6
    1681 fi
    1682 
    1683   CC=$ac_ct_CC
     2615  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
     2616$as_echo "$ac_ct_CC" >&6; }
     2617else
     2618  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2619$as_echo "no" >&6; }
     2620fi
     2621
     2622  if test "x$ac_ct_CC" = x; then
     2623    CC=""
     2624  else
     2625    case $cross_compiling:$ac_tool_warned in
     2626yes:)
     2627{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     2628$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     2629ac_tool_warned=yes ;;
     2630esac
     2631    CC=$ac_ct_CC
     2632  fi
    16842633else
    16852634  CC="$ac_cv_prog_CC"
     
    16872636
    16882637if test -z "$CC"; then
    1689   if test -n "$ac_tool_prefix"; then
    1690   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
     2638          if test -n "$ac_tool_prefix"; then
     2639    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
    16912640set dummy ${ac_tool_prefix}cc; ac_word=$2
    1692 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1693 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1694 if test "${ac_cv_prog_CC+set}" = set; then
    1695   echo $ECHO_N "(cached) $ECHO_C" >&6
     2641{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2642$as_echo_n "checking for $ac_word... " >&6; }
     2643if test "${ac_cv_prog_CC+set}" = set; then :
     2644  $as_echo_n "(cached) " >&6
    16962645else
    16972646  if test -n "$CC"; then
     
    17032652  IFS=$as_save_IFS
    17042653  test -z "$as_dir" && as_dir=.
    1705   for ac_exec_ext in '' $ac_executable_extensions; do
    1706   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2654    for ac_exec_ext in '' $ac_executable_extensions; do
     2655  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    17072656    ac_cv_prog_CC="${ac_tool_prefix}cc"
    1708     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2657    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    17092658    break 2
    17102659  fi
    17112660done
    1712 done
     2661  done
     2662IFS=$as_save_IFS
    17132663
    17142664fi
     
    17162666CC=$ac_cv_prog_CC
    17172667if test -n "$CC"; then
    1718   echo "$as_me:$LINENO: result: $CC" >&5
    1719 echo "${ECHO_T}$CC" >&6
    1720 else
    1721   echo "$as_me:$LINENO: result: no" >&5
    1722 echo "${ECHO_T}no" >&6
    1723 fi
    1724 
    1725 fi
    1726 if test -z "$ac_cv_prog_CC"; then
    1727   ac_ct_CC=$CC
    1728   # Extract the first word of "cc", so it can be a program name with args.
    1729 set dummy cc; ac_word=$2
    1730 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1731 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1732 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    1733   echo $ECHO_N "(cached) $ECHO_C" >&6
    1734 else
    1735   if test -n "$ac_ct_CC"; then
    1736   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
    1737 else
    1738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    1739 for as_dir in $PATH
    1740 do
    1741   IFS=$as_save_IFS
    1742   test -z "$as_dir" && as_dir=.
    1743   for ac_exec_ext in '' $ac_executable_extensions; do
    1744   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    1745     ac_cv_prog_ac_ct_CC="cc"
    1746     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    1747     break 2
     2668  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     2669$as_echo "$CC" >&6; }
     2670else
     2671  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2672$as_echo "no" >&6; }
     2673fi
     2674
     2675
    17482676  fi
    1749 done
    1750 done
    1751 
    1752 fi
    1753 fi
    1754 ac_ct_CC=$ac_cv_prog_ac_ct_CC
    1755 if test -n "$ac_ct_CC"; then
    1756   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    1757 echo "${ECHO_T}$ac_ct_CC" >&6
    1758 else
    1759   echo "$as_me:$LINENO: result: no" >&5
    1760 echo "${ECHO_T}no" >&6
    1761 fi
    1762 
    1763   CC=$ac_ct_CC
    1764 else
    1765   CC="$ac_cv_prog_CC"
    1766 fi
    1767 
    17682677fi
    17692678if test -z "$CC"; then
    17702679  # Extract the first word of "cc", so it can be a program name with args.
    17712680set dummy cc; ac_word=$2
    1772 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1773 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1774 if test "${ac_cv_prog_CC+set}" = set; then
    1775   echo $ECHO_N "(cached) $ECHO_C" >&6
     2681{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2682$as_echo_n "checking for $ac_word... " >&6; }
     2683if test "${ac_cv_prog_CC+set}" = set; then :
     2684  $as_echo_n "(cached) " >&6
    17762685else
    17772686  if test -n "$CC"; then
     
    17842693  IFS=$as_save_IFS
    17852694  test -z "$as_dir" && as_dir=.
    1786   for ac_exec_ext in '' $ac_executable_extensions; do
    1787   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2695    for ac_exec_ext in '' $ac_executable_extensions; do
     2696  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    17882697    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
    17892698       ac_prog_rejected=yes
     
    17912700     fi
    17922701    ac_cv_prog_CC="cc"
    1793     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2702    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    17942703    break 2
    17952704  fi
    17962705done
    1797 done
     2706  done
     2707IFS=$as_save_IFS
    17982708
    17992709if test $ac_prog_rejected = yes; then
     
    18132723CC=$ac_cv_prog_CC
    18142724if test -n "$CC"; then
    1815   echo "$as_me:$LINENO: result: $CC" >&5
    1816 echo "${ECHO_T}$CC" >&6
    1817 else
    1818   echo "$as_me:$LINENO: result: no" >&5
    1819 echo "${ECHO_T}no" >&6
    1820 fi
     2725  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     2726$as_echo "$CC" >&6; }
     2727else
     2728  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2729$as_echo "no" >&6; }
     2730fi
     2731
    18212732
    18222733fi
    18232734if test -z "$CC"; then
    18242735  if test -n "$ac_tool_prefix"; then
    1825   for ac_prog in cl
     2736  for ac_prog in cl.exe
    18262737  do
    18272738    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    18282739set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    1829 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1830 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1831 if test "${ac_cv_prog_CC+set}" = set; then
    1832   echo $ECHO_N "(cached) $ECHO_C" >&6
     2740{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2741$as_echo_n "checking for $ac_word... " >&6; }
     2742if test "${ac_cv_prog_CC+set}" = set; then :
     2743  $as_echo_n "(cached) " >&6
    18332744else
    18342745  if test -n "$CC"; then
     
    18402751  IFS=$as_save_IFS
    18412752  test -z "$as_dir" && as_dir=.
    1842   for ac_exec_ext in '' $ac_executable_extensions; do
    1843   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2753    for ac_exec_ext in '' $ac_executable_extensions; do
     2754  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    18442755    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    1845     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2756    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    18462757    break 2
    18472758  fi
    18482759done
    1849 done
     2760  done
     2761IFS=$as_save_IFS
    18502762
    18512763fi
     
    18532765CC=$ac_cv_prog_CC
    18542766if test -n "$CC"; then
    1855   echo "$as_me:$LINENO: result: $CC" >&5
    1856 echo "${ECHO_T}$CC" >&6
    1857 else
    1858   echo "$as_me:$LINENO: result: no" >&5
    1859 echo "${ECHO_T}no" >&6
    1860 fi
     2767  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     2768$as_echo "$CC" >&6; }
     2769else
     2770  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2771$as_echo "no" >&6; }
     2772fi
     2773
    18612774
    18622775    test -n "$CC" && break
     
    18652778if test -z "$CC"; then
    18662779  ac_ct_CC=$CC
    1867   for ac_prog in cl
     2780  for ac_prog in cl.exe
    18682781do
    18692782  # Extract the first word of "$ac_prog", so it can be a program name with args.
    18702783set dummy $ac_prog; ac_word=$2
    1871 echo "$as_me:$LINENO: checking for $ac_word" >&5
    1872 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    1873 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    1874   echo $ECHO_N "(cached) $ECHO_C" >&6
     2784{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2785$as_echo_n "checking for $ac_word... " >&6; }
     2786if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
     2787  $as_echo_n "(cached) " >&6
    18752788else
    18762789  if test -n "$ac_ct_CC"; then
     
    18822795  IFS=$as_save_IFS
    18832796  test -z "$as_dir" && as_dir=.
    1884   for ac_exec_ext in '' $ac_executable_extensions; do
    1885   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2797    for ac_exec_ext in '' $ac_executable_extensions; do
     2798  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    18862799    ac_cv_prog_ac_ct_CC="$ac_prog"
    1887     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2800    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    18882801    break 2
    18892802  fi
    18902803done
    1891 done
     2804  done
     2805IFS=$as_save_IFS
    18922806
    18932807fi
     
    18952809ac_ct_CC=$ac_cv_prog_ac_ct_CC
    18962810if test -n "$ac_ct_CC"; then
    1897   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    1898 echo "${ECHO_T}$ac_ct_CC" >&6
    1899 else
    1900   echo "$as_me:$LINENO: result: no" >&5
    1901 echo "${ECHO_T}no" >&6
    1902 fi
     2811  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
     2812$as_echo "$ac_ct_CC" >&6; }
     2813else
     2814  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2815$as_echo "no" >&6; }
     2816fi
     2817
    19032818
    19042819  test -n "$ac_ct_CC" && break
    19052820done
    19062821
    1907   CC=$ac_ct_CC
    1908 fi
    1909 
    1910 fi
    1911 
    1912 
    1913 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
    1914 See \`config.log' for more details." >&5
    1915 echo "$as_me: error: no acceptable C compiler found in \$PATH
    1916 See \`config.log' for more details." >&2;}
    1917    { (exit 1); exit 1; }; }
     2822  if test "x$ac_ct_CC" = x; then
     2823    CC=""
     2824  else
     2825    case $cross_compiling:$ac_tool_warned in
     2826yes:)
     2827{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     2828$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     2829ac_tool_warned=yes ;;
     2830esac
     2831    CC=$ac_ct_CC
     2832  fi
     2833fi
     2834
     2835fi
     2836
     2837
     2838test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2839$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2840as_fn_error "no acceptable C compiler found in \$PATH
     2841See \`config.log' for more details." "$LINENO" 5; }
    19182842
    19192843# Provide some information about the compiler.
    1920 echo "$as_me:$LINENO:" \
    1921      "checking for C compiler version" >&5
    1922 ac_compiler=`set X $ac_compile; echo $2`
    1923 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
    1924   (eval $ac_compiler --version </dev/null >&5) 2>&5
     2844$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
     2845set X $ac_compile
     2846ac_compiler=$2
     2847for ac_option in --version -v -V -qversion; do
     2848  { { ac_try="$ac_compiler $ac_option >&5"
     2849case "(($ac_try" in
     2850  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2851  *) ac_try_echo=$ac_try;;
     2852esac
     2853eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     2854$as_echo "$ac_try_echo"; } >&5
     2855  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
    19252856  ac_status=$?
    1926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1927   (exit $ac_status); }
    1928 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
    1929   (eval $ac_compiler -v </dev/null >&5) 2>&5
    1930   ac_status=$?
    1931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1932   (exit $ac_status); }
    1933 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
    1934   (eval $ac_compiler -V </dev/null >&5) 2>&5
    1935   ac_status=$?
    1936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1937   (exit $ac_status); }
    1938 
    1939 cat >conftest.$ac_ext <<_ACEOF
    1940 /* confdefs.h.  */
    1941 _ACEOF
    1942 cat confdefs.h >>conftest.$ac_ext
    1943 cat >>conftest.$ac_ext <<_ACEOF
     2857  if test -s conftest.err; then
     2858    sed '10a\
     2859... rest of stderr output deleted ...
     2860         10q' conftest.err >conftest.er1
     2861    cat conftest.er1 >&5
     2862  fi
     2863  rm -f conftest.er1 conftest.err
     2864  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     2865  test $ac_status = 0; }
     2866done
     2867
     2868cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    19442869/* end confdefs.h.  */
    19452870
     
    19532878_ACEOF
    19542879ac_clean_files_save=$ac_clean_files
    1955 ac_clean_files="$ac_clean_files a.out a.exe b.out"
     2880ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
    19562881# Try to create an executable without -o first, disregard a.out.
    19572882# It will help us diagnose broken compilers, and finding out an intuition
    19582883# of exeext.
    1959 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
    1960 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
    1961 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
    1962 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
    1963   (eval $ac_link_default) 2>&5
     2884{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
     2885$as_echo_n "checking whether the C compiler works... " >&6; }
     2886ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
     2887
     2888# The possible output files:
     2889ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
     2890
     2891ac_rmfiles=
     2892for ac_file in $ac_files
     2893do
     2894  case $ac_file in
     2895    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
     2896    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
     2897  esac
     2898done
     2899rm -f $ac_rmfiles
     2900
     2901if { { ac_try="$ac_link_default"
     2902case "(($ac_try" in
     2903  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2904  *) ac_try_echo=$ac_try;;
     2905esac
     2906eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     2907$as_echo "$ac_try_echo"; } >&5
     2908  (eval "$ac_link_default") 2>&5
    19642909  ac_status=$?
    1965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    1966   (exit $ac_status); }; then
    1967   # Find the output, starting from the most likely.  This scheme is
    1968 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
    1969 # resort.
    1970 
    1971 # Be careful to initialize this variable, since it used to be cached.
    1972 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
    1973 ac_cv_exeext=
    1974 # b.out is created by i960 compilers.
    1975 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
     2910  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     2911  test $ac_status = 0; }; then :
     2912  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
     2913# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
     2914# in a Makefile.  We should not override ac_cv_exeext if it was cached,
     2915# so that the user can short-circuit this test for compilers unknown to
     2916# Autoconf.
     2917for ac_file in $ac_files ''
    19762918do
    19772919  test -f "$ac_file" || continue
    19782920  case $ac_file in
    1979     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
    1980     ;;
    1981     conftest.$ac_ext )
    1982     # This is the source file.
     2921    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
    19832922    ;;
    19842923    [ab].out )
     
    19872926    break;;
    19882927    *.* )
    1989     ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    1990     # FIXME: I believe we export ac_cv_exeext for Libtool,
    1991     # but it would be cool to find out if it's true.  Does anybody
    1992     # maintain Libtool? --akim.
    1993     export ac_cv_exeext
     2928    if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
     2929    then :; else
     2930       ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
     2931    fi
     2932    # We set ac_cv_exeext here because the later test for it is not
     2933    # safe: cross compilers may not add the suffix if given an `-o'
     2934    # argument, so we may need to know it at that point already.
     2935    # Even if this section looks crufty: it has the advantage of
     2936    # actually working.
    19942937    break;;
    19952938    * )
     
    19972940  esac
    19982941done
    1999 else
    2000   echo "$as_me: failed program was:" >&5
     2942test "$ac_cv_exeext" = no && ac_cv_exeext=
     2943
     2944else
     2945  ac_file=''
     2946fi
     2947if test -z "$ac_file"; then :
     2948  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2949$as_echo "no" >&6; }
     2950$as_echo "$as_me: failed program was:" >&5
    20012951sed 's/^/| /' conftest.$ac_ext >&5
    20022952
    2003 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
    2004 See \`config.log' for more details." >&5
    2005 echo "$as_me: error: C compiler cannot create executables
    2006 See \`config.log' for more details." >&2;}
    2007    { (exit 77); exit 77; }; }
    2008 fi
    2009 
     2953{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2954$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2955{ as_fn_set_status 77
     2956as_fn_error "C compiler cannot create executables
     2957See \`config.log' for more details." "$LINENO" 5; }; }
     2958else
     2959  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     2960$as_echo "yes" >&6; }
     2961fi
     2962{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
     2963$as_echo_n "checking for C compiler default output file name... " >&6; }
     2964{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
     2965$as_echo "$ac_file" >&6; }
    20102966ac_exeext=$ac_cv_exeext
    2011 echo "$as_me:$LINENO: result: $ac_file" >&5
    2012 echo "${ECHO_T}$ac_file" >&6
    2013 
    2014 # Check the compiler produces executables we can run.  If not, either
    2015 # the compiler is broken, or we cross compile.
    2016 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
    2017 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
    2018 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
    2019 # If not cross compiling, check that we can run a simple program.
    2020 if test "$cross_compiling" != yes; then
    2021   if { ac_try='./$ac_file'
    2022   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2023   (eval $ac_try) 2>&5
     2967
     2968rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
     2969ac_clean_files=$ac_clean_files_save
     2970{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
     2971$as_echo_n "checking for suffix of executables... " >&6; }
     2972if { { ac_try="$ac_link"
     2973case "(($ac_try" in
     2974  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2975  *) ac_try_echo=$ac_try;;
     2976esac
     2977eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     2978$as_echo "$ac_try_echo"; } >&5
     2979  (eval "$ac_link") 2>&5
    20242980  ac_status=$?
    2025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2026   (exit $ac_status); }; }; then
    2027     cross_compiling=no
    2028   else
    2029     if test "$cross_compiling" = maybe; then
    2030     cross_compiling=yes
    2031     else
    2032     { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
    2033 If you meant to cross compile, use \`--host'.
    2034 See \`config.log' for more details." >&5
    2035 echo "$as_me: error: cannot run C compiled programs.
    2036 If you meant to cross compile, use \`--host'.
    2037 See \`config.log' for more details." >&2;}
    2038    { (exit 1); exit 1; }; }
    2039     fi
    2040   fi
    2041 fi
    2042 echo "$as_me:$LINENO: result: yes" >&5
    2043 echo "${ECHO_T}yes" >&6
    2044 
    2045 rm -f a.out a.exe conftest$ac_cv_exeext b.out
    2046 ac_clean_files=$ac_clean_files_save
    2047 # Check the compiler produces executables we can run.  If not, either
    2048 # the compiler is broken, or we cross compile.
    2049 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
    2050 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
    2051 echo "$as_me:$LINENO: result: $cross_compiling" >&5
    2052 echo "${ECHO_T}$cross_compiling" >&6
    2053 
    2054 echo "$as_me:$LINENO: checking for suffix of executables" >&5
    2055 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
    2056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    2057   (eval $ac_link) 2>&5
    2058   ac_status=$?
    2059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2060   (exit $ac_status); }; then
     2981  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     2982  test $ac_status = 0; }; then :
    20612983  # If both `conftest.exe' and `conftest' are `present' (well, observable)
    20622984# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
     
    20662988  test -f "$ac_file" || continue
    20672989  case $ac_file in
    2068     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
     2990    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
    20692991    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    2070       export ac_cv_exeext
    20712992      break;;
    20722993    * ) break;;
     
    20742995done
    20752996else
    2076   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
    2077 See \`config.log' for more details." >&5
    2078 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
    2079 See \`config.log' for more details." >&2;}
    2080    { (exit 1); exit 1; }; }
    2081 fi
    2082 
    2083 rm -f conftest$ac_cv_exeext
    2084 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
    2085 echo "${ECHO_T}$ac_cv_exeext" >&6
     2997  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2998$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2999as_fn_error "cannot compute suffix of executables: cannot compile and link
     3000See \`config.log' for more details." "$LINENO" 5; }
     3001fi
     3002rm -f conftest conftest$ac_cv_exeext
     3003{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
     3004$as_echo "$ac_cv_exeext" >&6; }
    20863005
    20873006rm -f conftest.$ac_ext
    20883007EXEEXT=$ac_cv_exeext
    20893008ac_exeext=$EXEEXT
    2090 echo "$as_me:$LINENO: checking for suffix of object files" >&5
    2091 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
    2092 if test "${ac_cv_objext+set}" = set; then
    2093   echo $ECHO_N "(cached) $ECHO_C" >&6
    2094 else
    2095   cat >conftest.$ac_ext <<_ACEOF
    2096 /* confdefs.h.  */
    2097 _ACEOF
    2098 cat confdefs.h >>conftest.$ac_ext
    2099 cat >>conftest.$ac_ext <<_ACEOF
     3009cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    21003010/* end confdefs.h.  */
    2101 
     3011#include <stdio.h>
    21023012int
    21033013main ()
    21043014{
     3015FILE *f = fopen ("conftest.out", "w");
     3016 return ferror (f) || fclose (f) != 0;
    21053017
    21063018  ;
     
    21083020}
    21093021_ACEOF
     3022ac_clean_files="$ac_clean_files conftest.out"
     3023# Check that the compiler produces executables we can run.  If not, either
     3024# the compiler is broken, or we cross compile.
     3025{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
     3026$as_echo_n "checking whether we are cross compiling... " >&6; }
     3027if test "$cross_compiling" != yes; then
     3028  { { ac_try="$ac_link"
     3029case "(($ac_try" in
     3030  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3031  *) ac_try_echo=$ac_try;;
     3032esac
     3033eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3034$as_echo "$ac_try_echo"; } >&5
     3035  (eval "$ac_link") 2>&5
     3036  ac_status=$?
     3037  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3038  test $ac_status = 0; }
     3039  if { ac_try='./conftest$ac_cv_exeext'
     3040  { { case "(($ac_try" in
     3041  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3042  *) ac_try_echo=$ac_try;;
     3043esac
     3044eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3045$as_echo "$ac_try_echo"; } >&5
     3046  (eval "$ac_try") 2>&5
     3047  ac_status=$?
     3048  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3049  test $ac_status = 0; }; }; then
     3050    cross_compiling=no
     3051  else
     3052    if test "$cross_compiling" = maybe; then
     3053    cross_compiling=yes
     3054    else
     3055    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     3056$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     3057as_fn_error "cannot run C compiled programs.
     3058If you meant to cross compile, use \`--host'.
     3059See \`config.log' for more details." "$LINENO" 5; }
     3060    fi
     3061  fi
     3062fi
     3063{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
     3064$as_echo "$cross_compiling" >&6; }
     3065
     3066rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
     3067ac_clean_files=$ac_clean_files_save
     3068{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
     3069$as_echo_n "checking for suffix of object files... " >&6; }
     3070if test "${ac_cv_objext+set}" = set; then :
     3071  $as_echo_n "(cached) " >&6
     3072else
     3073  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3074/* end confdefs.h.  */
     3075
     3076int
     3077main ()
     3078{
     3079
     3080  ;
     3081  return 0;
     3082}
     3083_ACEOF
    21103084rm -f conftest.o conftest.obj
    2111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2112   (eval $ac_compile) 2>&5
     3085if { { ac_try="$ac_compile"
     3086case "(($ac_try" in
     3087  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3088  *) ac_try_echo=$ac_try;;
     3089esac
     3090eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3091$as_echo "$ac_try_echo"; } >&5
     3092  (eval "$ac_compile") 2>&5
    21133093  ac_status=$?
    2114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2115   (exit $ac_status); }; then
    2116   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
     3094  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3095  test $ac_status = 0; }; then :
     3096  for ac_file in conftest.o conftest.obj conftest.*; do
     3097  test -f "$ac_file" || continue;
    21173098  case $ac_file in
    2118     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
     3099    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
    21193100    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
    21203101       break;;
     
    21223103done
    21233104else
    2124   echo "$as_me: failed program was:" >&5
     3105  $as_echo "$as_me: failed program was:" >&5
    21253106sed 's/^/| /' conftest.$ac_ext >&5
    21263107
    2127 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
    2128 See \`config.log' for more details." >&5
    2129 echo "$as_me: error: cannot compute suffix of object files: cannot compile
    2130 See \`config.log' for more details." >&2;}
    2131    { (exit 1); exit 1; }; }
    2132 fi
    2133 
     3108{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     3109$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     3110as_fn_error "cannot compute suffix of object files: cannot compile
     3111See \`config.log' for more details." "$LINENO" 5; }
     3112fi
    21343113rm -f conftest.$ac_cv_objext conftest.$ac_ext
    21353114fi
    2136 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
    2137 echo "${ECHO_T}$ac_cv_objext" >&6
     3115{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
     3116$as_echo "$ac_cv_objext" >&6; }
    21383117OBJEXT=$ac_cv_objext
    21393118ac_objext=$OBJEXT
    2140 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
    2141 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
    2142 if test "${ac_cv_c_compiler_gnu+set}" = set; then
    2143   echo $ECHO_N "(cached) $ECHO_C" >&6
    2144 else
    2145   cat >conftest.$ac_ext <<_ACEOF
    2146 /* confdefs.h.  */
    2147 _ACEOF
    2148 cat confdefs.h >>conftest.$ac_ext
    2149 cat >>conftest.$ac_ext <<_ACEOF
     3119{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
     3120$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
     3121if test "${ac_cv_c_compiler_gnu+set}" = set; then :
     3122  $as_echo_n "(cached) " >&6
     3123else
     3124  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    21503125/* end confdefs.h.  */
    21513126
     
    21613136}
    21623137_ACEOF
    2163 rm -f conftest.$ac_objext
    2164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2165   (eval $ac_compile) 2>conftest.er1
    2166   ac_status=$?
    2167   grep -v '^ *+' conftest.er1 >conftest.err
    2168   rm -f conftest.er1
    2169   cat conftest.err >&5
    2170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2171   (exit $ac_status); } &&
    2172      { ac_try='test -z "$ac_c_werror_flag"
    2173              || test ! -s conftest.err'
    2174   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2175   (eval $ac_try) 2>&5
    2176   ac_status=$?
    2177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2178   (exit $ac_status); }; } &&
    2179      { ac_try='test -s conftest.$ac_objext'
    2180   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2181   (eval $ac_try) 2>&5
    2182   ac_status=$?
    2183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2184   (exit $ac_status); }; }; then
     3138if ac_fn_c_try_compile "$LINENO"; then :
    21853139  ac_compiler_gnu=yes
    21863140else
    2187   echo "$as_me: failed program was:" >&5
    2188 sed 's/^/| /' conftest.$ac_ext >&5
    2189 
    2190 ac_compiler_gnu=no
    2191 fi
    2192 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     3141  ac_compiler_gnu=no
     3142fi
     3143rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    21933144ac_cv_c_compiler_gnu=$ac_compiler_gnu
    21943145
    21953146fi
    2196 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
    2197 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
    2198 GCC=`test $ac_compiler_gnu = yes && echo yes`
     3147{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
     3148$as_echo "$ac_cv_c_compiler_gnu" >&6; }
     3149if test $ac_compiler_gnu = yes; then
     3150  GCC=yes
     3151else
     3152  GCC=
     3153fi
    21993154ac_test_CFLAGS=${CFLAGS+set}
    22003155ac_save_CFLAGS=$CFLAGS
    2201 CFLAGS="-g"
    2202 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
    2203 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
    2204 if test "${ac_cv_prog_cc_g+set}" = set; then
    2205   echo $ECHO_N "(cached) $ECHO_C" >&6
    2206 else
    2207   cat >conftest.$ac_ext <<_ACEOF
    2208 /* confdefs.h.  */
    2209 _ACEOF
    2210 cat confdefs.h >>conftest.$ac_ext
    2211 cat >>conftest.$ac_ext <<_ACEOF
     3156{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
     3157$as_echo_n "checking whether $CC accepts -g... " >&6; }
     3158if test "${ac_cv_prog_cc_g+set}" = set; then :
     3159  $as_echo_n "(cached) " >&6
     3160else
     3161  ac_save_c_werror_flag=$ac_c_werror_flag
     3162   ac_c_werror_flag=yes
     3163   ac_cv_prog_cc_g=no
     3164   CFLAGS="-g"
     3165   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    22123166/* end confdefs.h.  */
    22133167
     
    22203174}
    22213175_ACEOF
    2222 rm -f conftest.$ac_objext
    2223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2224   (eval $ac_compile) 2>conftest.er1
    2225   ac_status=$?
    2226   grep -v '^ *+' conftest.er1 >conftest.err
    2227   rm -f conftest.er1
    2228   cat conftest.err >&5
    2229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2230   (exit $ac_status); } &&
    2231      { ac_try='test -z "$ac_c_werror_flag"
    2232              || test ! -s conftest.err'
    2233   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2234   (eval $ac_try) 2>&5
    2235   ac_status=$?
    2236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2237   (exit $ac_status); }; } &&
    2238      { ac_try='test -s conftest.$ac_objext'
    2239   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2240   (eval $ac_try) 2>&5
    2241   ac_status=$?
    2242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2243   (exit $ac_status); }; }; then
     3176if ac_fn_c_try_compile "$LINENO"; then :
    22443177  ac_cv_prog_cc_g=yes
    22453178else
    2246   echo "$as_me: failed program was:" >&5
    2247 sed 's/^/| /' conftest.$ac_ext >&5
    2248 
    2249 ac_cv_prog_cc_g=no
    2250 fi
    2251 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2252 fi
    2253 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
    2254 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
     3179  CFLAGS=""
     3180      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3181/* end confdefs.h.  */
     3182
     3183int
     3184main ()
     3185{
     3186
     3187  ;
     3188  return 0;
     3189}
     3190_ACEOF
     3191if ac_fn_c_try_compile "$LINENO"; then :
     3192
     3193else
     3194  ac_c_werror_flag=$ac_save_c_werror_flag
     3195     CFLAGS="-g"
     3196     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3197/* end confdefs.h.  */
     3198
     3199int
     3200main ()
     3201{
     3202
     3203  ;
     3204  return 0;
     3205}
     3206_ACEOF
     3207if ac_fn_c_try_compile "$LINENO"; then :
     3208  ac_cv_prog_cc_g=yes
     3209fi
     3210rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3211fi
     3212rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3213fi
     3214rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3215   ac_c_werror_flag=$ac_save_c_werror_flag
     3216fi
     3217{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
     3218$as_echo "$ac_cv_prog_cc_g" >&6; }
    22553219if test "$ac_test_CFLAGS" = set; then
    22563220  CFLAGS=$ac_save_CFLAGS
     
    22683232  fi
    22693233fi
    2270 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
    2271 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
    2272 if test "${ac_cv_prog_cc_stdc+set}" = set; then
    2273   echo $ECHO_N "(cached) $ECHO_C" >&6
    2274 else
    2275   ac_cv_prog_cc_stdc=no
     3234{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
     3235$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
     3236if test "${ac_cv_prog_cc_c89+set}" = set; then :
     3237  $as_echo_n "(cached) " >&6
     3238else
     3239  ac_cv_prog_cc_c89=no
    22763240ac_save_CC=$CC
    2277 cat >conftest.$ac_ext <<_ACEOF
    2278 /* confdefs.h.  */
    2279 _ACEOF
    2280 cat confdefs.h >>conftest.$ac_ext
    2281 cat >>conftest.$ac_ext <<_ACEOF
     3241cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    22823242/* end confdefs.h.  */
    22833243#include <stdarg.h>
     
    23073267   function prototypes and stuff, but not '\xHH' hex character constants.
    23083268   These don't provoke an error unfortunately, instead are silently treated
    2309    as 'x'.  The following induces an error, until -std1 is added to get
     3269   as 'x'.  The following induces an error, until -std is added to get
    23103270   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
    23113271   array size at least.  It's necessary to write '\x00'==0 to get something
    2312    that's true only with -std1.  */
     3272   that's true only with -std.  */
    23133273int osf4_cc_array ['\x00' == 0 ? 1 : -1];
     3274
     3275/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
     3276   inside strings and character constants.  */
     3277#define FOO(x) 'x'
     3278int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
    23143279
    23153280int test (int i, double x);
     
    23273292}
    23283293_ACEOF
    2329 # Don't try gcc -ansi; that turns off useful extensions and
    2330 # breaks some systems' header files.
    2331 # AIX           -qlanglvl=ansi
    2332 # Ultrix and OSF/1  -std1
    2333 # HP-UX 10.20 and later -Ae
    2334 # HP-UX older versions  -Aa -D_HPUX_SOURCE
    2335 # SVR4          -Xc -D__EXTENSIONS__
    2336 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
     3294for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
     3295    -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
    23373296do
    23383297  CC="$ac_save_CC $ac_arg"
    2339   rm -f conftest.$ac_objext
    2340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2341   (eval $ac_compile) 2>conftest.er1
    2342   ac_status=$?
    2343   grep -v '^ *+' conftest.er1 >conftest.err
    2344   rm -f conftest.er1
    2345   cat conftest.err >&5
    2346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2347   (exit $ac_status); } &&
    2348      { ac_try='test -z "$ac_c_werror_flag"
    2349              || test ! -s conftest.err'
    2350   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2351   (eval $ac_try) 2>&5
    2352   ac_status=$?
    2353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2354   (exit $ac_status); }; } &&
    2355      { ac_try='test -s conftest.$ac_objext'
    2356   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2357   (eval $ac_try) 2>&5
    2358   ac_status=$?
    2359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2360   (exit $ac_status); }; }; then
    2361   ac_cv_prog_cc_stdc=$ac_arg
    2362 break
    2363 else
    2364   echo "$as_me: failed program was:" >&5
    2365 sed 's/^/| /' conftest.$ac_ext >&5
    2366 
    2367 fi
    2368 rm -f conftest.err conftest.$ac_objext
     3298  if ac_fn_c_try_compile "$LINENO"; then :
     3299  ac_cv_prog_cc_c89=$ac_arg
     3300fi
     3301rm -f core conftest.err conftest.$ac_objext
     3302  test "x$ac_cv_prog_cc_c89" != "xno" && break
    23693303done
    2370 rm -f conftest.$ac_ext conftest.$ac_objext
     3304rm -f conftest.$ac_ext
    23713305CC=$ac_save_CC
    23723306
    23733307fi
    2374 
    2375 case "x$ac_cv_prog_cc_stdc" in
    2376   x|xno)
    2377     echo "$as_me:$LINENO: result: none needed" >&5
    2378 echo "${ECHO_T}none needed" >&6 ;;
     3308# AC_CACHE_VAL
     3309case "x$ac_cv_prog_cc_c89" in
     3310  x)
     3311    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
     3312$as_echo "none needed" >&6; } ;;
     3313  xno)
     3314    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
     3315$as_echo "unsupported" >&6; } ;;
    23793316  *)
    2380     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
    2381 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
    2382     CC="$CC $ac_cv_prog_cc_stdc" ;;
     3317    CC="$CC $ac_cv_prog_cc_c89"
     3318    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
     3319$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
    23833320esac
    2384 
    2385 # Some people use a C++ compiler to compile C.  Since we use `exit',
    2386 # in C++ we need to declare it.  In case someone uses the same compiler
    2387 # for both compiling C and C++ we need to have the C++ compiler decide
    2388 # the declaration of exit, since it's the most demanding environment.
    2389 cat >conftest.$ac_ext <<_ACEOF
    2390 #ifndef __cplusplus
    2391   choke me
    2392 #endif
    2393 _ACEOF
    2394 rm -f conftest.$ac_objext
    2395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2396   (eval $ac_compile) 2>conftest.er1
    2397   ac_status=$?
    2398   grep -v '^ *+' conftest.er1 >conftest.err
    2399   rm -f conftest.er1
    2400   cat conftest.err >&5
    2401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2402   (exit $ac_status); } &&
    2403      { ac_try='test -z "$ac_c_werror_flag"
    2404              || test ! -s conftest.err'
    2405   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2406   (eval $ac_try) 2>&5
    2407   ac_status=$?
    2408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2409   (exit $ac_status); }; } &&
    2410      { ac_try='test -s conftest.$ac_objext'
    2411   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2412   (eval $ac_try) 2>&5
    2413   ac_status=$?
    2414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2415   (exit $ac_status); }; }; then
    2416   for ac_declaration in \
    2417    '' \
    2418    'extern "C" void std::exit (int) throw (); using std::exit;' \
    2419    'extern "C" void std::exit (int); using std::exit;' \
    2420    'extern "C" void exit (int) throw ();' \
    2421    'extern "C" void exit (int);' \
    2422    'void exit (int);'
    2423 do
    2424   cat >conftest.$ac_ext <<_ACEOF
    2425 /* confdefs.h.  */
    2426 _ACEOF
    2427 cat confdefs.h >>conftest.$ac_ext
    2428 cat >>conftest.$ac_ext <<_ACEOF
    2429 /* end confdefs.h.  */
    2430 $ac_declaration
    2431 #include <stdlib.h>
    2432 int
    2433 main ()
    2434 {
    2435 exit (42);
    2436   ;
    2437   return 0;
    2438 }
    2439 _ACEOF
    2440 rm -f conftest.$ac_objext
    2441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2442   (eval $ac_compile) 2>conftest.er1
    2443   ac_status=$?
    2444   grep -v '^ *+' conftest.er1 >conftest.err
    2445   rm -f conftest.er1
    2446   cat conftest.err >&5
    2447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2448   (exit $ac_status); } &&
    2449      { ac_try='test -z "$ac_c_werror_flag"
    2450              || test ! -s conftest.err'
    2451   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2452   (eval $ac_try) 2>&5
    2453   ac_status=$?
    2454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2455   (exit $ac_status); }; } &&
    2456      { ac_try='test -s conftest.$ac_objext'
    2457   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2458   (eval $ac_try) 2>&5
    2459   ac_status=$?
    2460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2461   (exit $ac_status); }; }; then
    2462   :
    2463 else
    2464   echo "$as_me: failed program was:" >&5
    2465 sed 's/^/| /' conftest.$ac_ext >&5
    2466 
    2467 continue
    2468 fi
    2469 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2470   cat >conftest.$ac_ext <<_ACEOF
    2471 /* confdefs.h.  */
    2472 _ACEOF
    2473 cat confdefs.h >>conftest.$ac_ext
    2474 cat >>conftest.$ac_ext <<_ACEOF
    2475 /* end confdefs.h.  */
    2476 $ac_declaration
    2477 int
    2478 main ()
    2479 {
    2480 exit (42);
    2481   ;
    2482   return 0;
    2483 }
    2484 _ACEOF
    2485 rm -f conftest.$ac_objext
    2486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2487   (eval $ac_compile) 2>conftest.er1
    2488   ac_status=$?
    2489   grep -v '^ *+' conftest.er1 >conftest.err
    2490   rm -f conftest.er1
    2491   cat conftest.err >&5
    2492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2493   (exit $ac_status); } &&
    2494      { ac_try='test -z "$ac_c_werror_flag"
    2495              || test ! -s conftest.err'
    2496   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2497   (eval $ac_try) 2>&5
    2498   ac_status=$?
    2499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2500   (exit $ac_status); }; } &&
    2501      { ac_try='test -s conftest.$ac_objext'
    2502   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2503   (eval $ac_try) 2>&5
    2504   ac_status=$?
    2505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2506   (exit $ac_status); }; }; then
    2507   break
    2508 else
    2509   echo "$as_me: failed program was:" >&5
    2510 sed 's/^/| /' conftest.$ac_ext >&5
    2511 
    2512 fi
    2513 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2514 done
    2515 rm -f conftest*
    2516 if test -n "$ac_declaration"; then
    2517   echo '#ifdef __cplusplus' >>confdefs.h
    2518   echo $ac_declaration      >>confdefs.h
    2519   echo '#endif'             >>confdefs.h
    2520 fi
    2521 
    2522 else
    2523   echo "$as_me: failed program was:" >&5
    2524 sed 's/^/| /' conftest.$ac_ext >&5
    2525 
    2526 fi
    2527 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     3321if test "x$ac_cv_prog_cc_c89" != xno; then :
     3322
     3323fi
     3324
    25283325ac_ext=c
    25293326ac_cpp='$CPP $CPPFLAGS'
     
    25323329ac_compiler_gnu=$ac_cv_c_compiler_gnu
    25333330
    2534 ac_ext=cc
     3331ac_ext=cpp
    25353332ac_cpp='$CXXCPP $CPPFLAGS'
    25363333ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    25373334ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    25383335ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    2539 if test -n "$ac_tool_prefix"; then
    2540   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
     3336if test -z "$CXX"; then
     3337  if test -n "$CCC"; then
     3338    CXX=$CCC
     3339  else
     3340    if test -n "$ac_tool_prefix"; then
     3341  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
    25413342  do
    25423343    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    25433344set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    2544 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2545 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    2546 if test "${ac_cv_prog_CXX+set}" = set; then
    2547   echo $ECHO_N "(cached) $ECHO_C" >&6
     3345{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3346$as_echo_n "checking for $ac_word... " >&6; }
     3347if test "${ac_cv_prog_CXX+set}" = set; then :
     3348  $as_echo_n "(cached) " >&6
    25483349else
    25493350  if test -n "$CXX"; then
     
    25553356  IFS=$as_save_IFS
    25563357  test -z "$as_dir" && as_dir=.
    2557   for ac_exec_ext in '' $ac_executable_extensions; do
    2558   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3358    for ac_exec_ext in '' $ac_executable_extensions; do
     3359  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    25593360    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
    2560     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3361    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    25613362    break 2
    25623363  fi
    25633364done
    2564 done
     3365  done
     3366IFS=$as_save_IFS
    25653367
    25663368fi
     
    25683370CXX=$ac_cv_prog_CXX
    25693371if test -n "$CXX"; then
    2570   echo "$as_me:$LINENO: result: $CXX" >&5
    2571 echo "${ECHO_T}$CXX" >&6
    2572 else
    2573   echo "$as_me:$LINENO: result: no" >&5
    2574 echo "${ECHO_T}no" >&6
    2575 fi
     3372  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
     3373$as_echo "$CXX" >&6; }
     3374else
     3375  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3376$as_echo "no" >&6; }
     3377fi
     3378
    25763379
    25773380    test -n "$CXX" && break
     
    25803383if test -z "$CXX"; then
    25813384  ac_ct_CXX=$CXX
    2582   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
     3385  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
    25833386do
    25843387  # Extract the first word of "$ac_prog", so it can be a program name with args.
    25853388set dummy $ac_prog; ac_word=$2
    2586 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2587 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    2588 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
    2589   echo $ECHO_N "(cached) $ECHO_C" >&6
     3389{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3390$as_echo_n "checking for $ac_word... " >&6; }
     3391if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
     3392  $as_echo_n "(cached) " >&6
    25903393else
    25913394  if test -n "$ac_ct_CXX"; then
     
    25973400  IFS=$as_save_IFS
    25983401  test -z "$as_dir" && as_dir=.
    2599   for ac_exec_ext in '' $ac_executable_extensions; do
    2600   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3402    for ac_exec_ext in '' $ac_executable_extensions; do
     3403  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    26013404    ac_cv_prog_ac_ct_CXX="$ac_prog"
    2602     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3405    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    26033406    break 2
    26043407  fi
    26053408done
    2606 done
     3409  done
     3410IFS=$as_save_IFS
    26073411
    26083412fi
     
    26103414ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
    26113415if test -n "$ac_ct_CXX"; then
    2612   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
    2613 echo "${ECHO_T}$ac_ct_CXX" >&6
    2614 else
    2615   echo "$as_me:$LINENO: result: no" >&5
    2616 echo "${ECHO_T}no" >&6
    2617 fi
     3416  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
     3417$as_echo "$ac_ct_CXX" >&6; }
     3418else
     3419  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3420$as_echo "no" >&6; }
     3421fi
     3422
    26183423
    26193424  test -n "$ac_ct_CXX" && break
    26203425done
    2621 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
    2622 
    2623   CXX=$ac_ct_CXX
    2624 fi
    2625 
    2626 
     3426
     3427  if test "x$ac_ct_CXX" = x; then
     3428    CXX="g++"
     3429  else
     3430    case $cross_compiling:$ac_tool_warned in
     3431yes:)
     3432{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     3433$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     3434ac_tool_warned=yes ;;
     3435esac
     3436    CXX=$ac_ct_CXX
     3437  fi
     3438fi
     3439
     3440  fi
     3441fi
    26273442# Provide some information about the compiler.
    2628 echo "$as_me:$LINENO:" \
    2629      "checking for C++ compiler version" >&5
    2630 ac_compiler=`set X $ac_compile; echo $2`
    2631 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
    2632   (eval $ac_compiler --version </dev/null >&5) 2>&5
     3443$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
     3444set X $ac_compile
     3445ac_compiler=$2
     3446for ac_option in --version -v -V -qversion; do
     3447  { { ac_try="$ac_compiler $ac_option >&5"
     3448case "(($ac_try" in
     3449  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3450  *) ac_try_echo=$ac_try;;
     3451esac
     3452eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3453$as_echo "$ac_try_echo"; } >&5
     3454  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
    26333455  ac_status=$?
    2634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2635   (exit $ac_status); }
    2636 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
    2637   (eval $ac_compiler -v </dev/null >&5) 2>&5
    2638   ac_status=$?
    2639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2640   (exit $ac_status); }
    2641 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
    2642   (eval $ac_compiler -V </dev/null >&5) 2>&5
    2643   ac_status=$?
    2644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2645   (exit $ac_status); }
    2646 
    2647 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
    2648 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
    2649 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
    2650   echo $ECHO_N "(cached) $ECHO_C" >&6
    2651 else
    2652   cat >conftest.$ac_ext <<_ACEOF
    2653 /* confdefs.h.  */
    2654 _ACEOF
    2655 cat confdefs.h >>conftest.$ac_ext
    2656 cat >>conftest.$ac_ext <<_ACEOF
     3456  if test -s conftest.err; then
     3457    sed '10a\
     3458... rest of stderr output deleted ...
     3459         10q' conftest.err >conftest.er1
     3460    cat conftest.er1 >&5
     3461  fi
     3462  rm -f conftest.er1 conftest.err
     3463  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3464  test $ac_status = 0; }
     3465done
     3466
     3467{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
     3468$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
     3469if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
     3470  $as_echo_n "(cached) " >&6
     3471else
     3472  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    26573473/* end confdefs.h.  */
    26583474
     
    26683484}
    26693485_ACEOF
    2670 rm -f conftest.$ac_objext
    2671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2672   (eval $ac_compile) 2>conftest.er1
    2673   ac_status=$?
    2674   grep -v '^ *+' conftest.er1 >conftest.err
    2675   rm -f conftest.er1
    2676   cat conftest.err >&5
    2677   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2678   (exit $ac_status); } &&
    2679      { ac_try='test -z "$ac_cxx_werror_flag"
    2680              || test ! -s conftest.err'
    2681   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2682   (eval $ac_try) 2>&5
    2683   ac_status=$?
    2684   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2685   (exit $ac_status); }; } &&
    2686      { ac_try='test -s conftest.$ac_objext'
    2687   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2688   (eval $ac_try) 2>&5
    2689   ac_status=$?
    2690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2691   (exit $ac_status); }; }; then
     3486if ac_fn_cxx_try_compile "$LINENO"; then :
    26923487  ac_compiler_gnu=yes
    26933488else
    2694   echo "$as_me: failed program was:" >&5
    2695 sed 's/^/| /' conftest.$ac_ext >&5
    2696 
    2697 ac_compiler_gnu=no
    2698 fi
    2699 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     3489  ac_compiler_gnu=no
     3490fi
     3491rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    27003492ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
    27013493
    27023494fi
    2703 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
    2704 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
    2705 GXX=`test $ac_compiler_gnu = yes && echo yes`
     3495{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
     3496$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
     3497if test $ac_compiler_gnu = yes; then
     3498  GXX=yes
     3499else
     3500  GXX=
     3501fi
    27063502ac_test_CXXFLAGS=${CXXFLAGS+set}
    27073503ac_save_CXXFLAGS=$CXXFLAGS
    2708 CXXFLAGS="-g"
    2709 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
    2710 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
    2711 if test "${ac_cv_prog_cxx_g+set}" = set; then
    2712   echo $ECHO_N "(cached) $ECHO_C" >&6
    2713 else
    2714   cat >conftest.$ac_ext <<_ACEOF
    2715 /* confdefs.h.  */
    2716 _ACEOF
    2717 cat confdefs.h >>conftest.$ac_ext
    2718 cat >>conftest.$ac_ext <<_ACEOF
     3504{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
     3505$as_echo_n "checking whether $CXX accepts -g... " >&6; }
     3506if test "${ac_cv_prog_cxx_g+set}" = set; then :
     3507  $as_echo_n "(cached) " >&6
     3508else
     3509  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
     3510   ac_cxx_werror_flag=yes
     3511   ac_cv_prog_cxx_g=no
     3512   CXXFLAGS="-g"
     3513   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    27193514/* end confdefs.h.  */
    27203515
     
    27273522}
    27283523_ACEOF
    2729 rm -f conftest.$ac_objext
    2730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2731   (eval $ac_compile) 2>conftest.er1
    2732   ac_status=$?
    2733   grep -v '^ *+' conftest.er1 >conftest.err
    2734   rm -f conftest.er1
    2735   cat conftest.err >&5
    2736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2737   (exit $ac_status); } &&
    2738      { ac_try='test -z "$ac_cxx_werror_flag"
    2739              || test ! -s conftest.err'
    2740   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2741   (eval $ac_try) 2>&5
    2742   ac_status=$?
    2743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2744   (exit $ac_status); }; } &&
    2745      { ac_try='test -s conftest.$ac_objext'
    2746   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2747   (eval $ac_try) 2>&5
    2748   ac_status=$?
    2749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2750   (exit $ac_status); }; }; then
     3524if ac_fn_cxx_try_compile "$LINENO"; then :
    27513525  ac_cv_prog_cxx_g=yes
    27523526else
    2753   echo "$as_me: failed program was:" >&5
    2754 sed 's/^/| /' conftest.$ac_ext >&5
    2755 
    2756 ac_cv_prog_cxx_g=no
    2757 fi
    2758 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2759 fi
    2760 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
    2761 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
     3527  CXXFLAGS=""
     3528      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3529/* end confdefs.h.  */
     3530
     3531int
     3532main ()
     3533{
     3534
     3535  ;
     3536  return 0;
     3537}
     3538_ACEOF
     3539if ac_fn_cxx_try_compile "$LINENO"; then :
     3540
     3541else
     3542  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
     3543     CXXFLAGS="-g"
     3544     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3545/* end confdefs.h.  */
     3546
     3547int
     3548main ()
     3549{
     3550
     3551  ;
     3552  return 0;
     3553}
     3554_ACEOF
     3555if ac_fn_cxx_try_compile "$LINENO"; then :
     3556  ac_cv_prog_cxx_g=yes
     3557fi
     3558rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3559fi
     3560rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3561fi
     3562rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3563   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
     3564fi
     3565{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
     3566$as_echo "$ac_cv_prog_cxx_g" >&6; }
    27623567if test "$ac_test_CXXFLAGS" = set; then
    27633568  CXXFLAGS=$ac_save_CXXFLAGS
     
    27753580  fi
    27763581fi
    2777 for ac_declaration in \
    2778    '' \
    2779    'extern "C" void std::exit (int) throw (); using std::exit;' \
    2780    'extern "C" void std::exit (int); using std::exit;' \
    2781    'extern "C" void exit (int) throw ();' \
    2782    'extern "C" void exit (int);' \
    2783    'void exit (int);'
    2784 do
    2785   cat >conftest.$ac_ext <<_ACEOF
    2786 /* confdefs.h.  */
    2787 _ACEOF
    2788 cat confdefs.h >>conftest.$ac_ext
    2789 cat >>conftest.$ac_ext <<_ACEOF
    2790 /* end confdefs.h.  */
    2791 $ac_declaration
    2792 #include <stdlib.h>
    2793 int
    2794 main ()
    2795 {
    2796 exit (42);
    2797   ;
    2798   return 0;
    2799 }
    2800 _ACEOF
    2801 rm -f conftest.$ac_objext
    2802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2803   (eval $ac_compile) 2>conftest.er1
    2804   ac_status=$?
    2805   grep -v '^ *+' conftest.er1 >conftest.err
    2806   rm -f conftest.er1
    2807   cat conftest.err >&5
    2808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2809   (exit $ac_status); } &&
    2810      { ac_try='test -z "$ac_cxx_werror_flag"
    2811              || test ! -s conftest.err'
    2812   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2813   (eval $ac_try) 2>&5
    2814   ac_status=$?
    2815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2816   (exit $ac_status); }; } &&
    2817      { ac_try='test -s conftest.$ac_objext'
    2818   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2819   (eval $ac_try) 2>&5
    2820   ac_status=$?
    2821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2822   (exit $ac_status); }; }; then
    2823   :
    2824 else
    2825   echo "$as_me: failed program was:" >&5
    2826 sed 's/^/| /' conftest.$ac_ext >&5
    2827 
    2828 continue
    2829 fi
    2830 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2831   cat >conftest.$ac_ext <<_ACEOF
    2832 /* confdefs.h.  */
    2833 _ACEOF
    2834 cat confdefs.h >>conftest.$ac_ext
    2835 cat >>conftest.$ac_ext <<_ACEOF
    2836 /* end confdefs.h.  */
    2837 $ac_declaration
    2838 int
    2839 main ()
    2840 {
    2841 exit (42);
    2842   ;
    2843   return 0;
    2844 }
    2845 _ACEOF
    2846 rm -f conftest.$ac_objext
    2847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    2848   (eval $ac_compile) 2>conftest.er1
    2849   ac_status=$?
    2850   grep -v '^ *+' conftest.er1 >conftest.err
    2851   rm -f conftest.er1
    2852   cat conftest.err >&5
    2853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2854   (exit $ac_status); } &&
    2855      { ac_try='test -z "$ac_cxx_werror_flag"
    2856              || test ! -s conftest.err'
    2857   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    2858   (eval $ac_try) 2>&5
    2859   ac_status=$?
    2860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2861   (exit $ac_status); }; } &&
    2862      { ac_try='test -s conftest.$ac_objext'
    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   break
    2869 else
    2870   echo "$as_me: failed program was:" >&5
    2871 sed 's/^/| /' conftest.$ac_ext >&5
    2872 
    2873 fi
    2874 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    2875 done
    2876 rm -f conftest*
    2877 if test -n "$ac_declaration"; then
    2878   echo '#ifdef __cplusplus' >>confdefs.h
    2879   echo $ac_declaration      >>confdefs.h
    2880   echo '#endif'             >>confdefs.h
    2881 fi
    2882 
    28833582ac_ext=c
    28843583ac_cpp='$CPP $CPPFLAGS'
     
    28913590  # Extract the first word of "$ac_prog", so it can be a program name with args.
    28923591set dummy $ac_prog; ac_word=$2
    2893 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2894 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    2895 if test "${ac_cv_prog_AWK+set}" = set; then
    2896   echo $ECHO_N "(cached) $ECHO_C" >&6
     3592{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3593$as_echo_n "checking for $ac_word... " >&6; }
     3594if test "${ac_cv_prog_AWK+set}" = set; then :
     3595  $as_echo_n "(cached) " >&6
    28973596else
    28983597  if test -n "$AWK"; then
     
    29043603  IFS=$as_save_IFS
    29053604  test -z "$as_dir" && as_dir=.
    2906   for ac_exec_ext in '' $ac_executable_extensions; do
    2907   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3605    for ac_exec_ext in '' $ac_executable_extensions; do
     3606  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    29083607    ac_cv_prog_AWK="$ac_prog"
    2909     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3608    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    29103609    break 2
    29113610  fi
    29123611done
    2913 done
     3612  done
     3613IFS=$as_save_IFS
    29143614
    29153615fi
     
    29173617AWK=$ac_cv_prog_AWK
    29183618if test -n "$AWK"; then
    2919   echo "$as_me:$LINENO: result: $AWK" >&5
    2920 echo "${ECHO_T}$AWK" >&6
    2921 else
    2922   echo "$as_me:$LINENO: result: no" >&5
    2923 echo "${ECHO_T}no" >&6
    2924 fi
     3619  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
     3620$as_echo "$AWK" >&6; }
     3621else
     3622  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3623$as_echo "no" >&6; }
     3624fi
     3625
    29253626
    29263627  test -n "$AWK" && break
     
    29313632  # Extract the first word of "$ac_prog", so it can be a program name with args.
    29323633set dummy $ac_prog; ac_word=$2
    2933 echo "$as_me:$LINENO: checking for $ac_word" >&5
    2934 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    2935 if test "${ac_cv_prog_YACC+set}" = set; then
    2936   echo $ECHO_N "(cached) $ECHO_C" >&6
     3634{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3635$as_echo_n "checking for $ac_word... " >&6; }
     3636if test "${ac_cv_prog_YACC+set}" = set; then :
     3637  $as_echo_n "(cached) " >&6
    29373638else
    29383639  if test -n "$YACC"; then
     
    29443645  IFS=$as_save_IFS
    29453646  test -z "$as_dir" && as_dir=.
    2946   for ac_exec_ext in '' $ac_executable_extensions; do
    2947   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3647    for ac_exec_ext in '' $ac_executable_extensions; do
     3648  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    29483649    ac_cv_prog_YACC="$ac_prog"
    2949     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3650    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    29503651    break 2
    29513652  fi
    29523653done
    2953 done
     3654  done
     3655IFS=$as_save_IFS
    29543656
    29553657fi
     
    29573659YACC=$ac_cv_prog_YACC
    29583660if test -n "$YACC"; then
    2959   echo "$as_me:$LINENO: result: $YACC" >&5
    2960 echo "${ECHO_T}$YACC" >&6
    2961 else
    2962   echo "$as_me:$LINENO: result: no" >&5
    2963 echo "${ECHO_T}no" >&6
    2964 fi
     3661  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
     3662$as_echo "$YACC" >&6; }
     3663else
     3664  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3665$as_echo "no" >&6; }
     3666fi
     3667
    29653668
    29663669  test -n "$YACC" && break
     
    29693672
    29703673ac_aux_dir=
    2971 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
    2972   if test -f $ac_dir/install-sh; then
    2973     ac_aux_dir=$ac_dir
    2974     ac_install_sh="$ac_aux_dir/install-sh -c"
    2975     break
    2976   elif test -f $ac_dir/install.sh; then
    2977     ac_aux_dir=$ac_dir
    2978     ac_install_sh="$ac_aux_dir/install.sh -c"
    2979     break
    2980   elif test -f $ac_dir/shtool; then
    2981     ac_aux_dir=$ac_dir
    2982     ac_install_sh="$ac_aux_dir/shtool install -c"
    2983     break
    2984   fi
     3674for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
     3675  for ac_t in install-sh install.sh shtool; do
     3676    if test -f "$ac_dir/$ac_t"; then
     3677      ac_aux_dir=$ac_dir
     3678      ac_install_sh="$ac_aux_dir/$ac_t -c"
     3679      break 2
     3680    fi
     3681  done
    29853682done
    29863683if test -z "$ac_aux_dir"; then
    2987   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
    2988 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
    2989    { (exit 1); exit 1; }; }
    2990 fi
    2991 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
    2992 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
    2993 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
     3684  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
     3685fi
     3686
     3687# These three variables are undocumented and unsupported,
     3688# and are intended to be withdrawn in a future Autoconf release.
     3689# They can cause serious problems if a builder's source tree is in a directory
     3690# whose full name contains unusual characters.
     3691ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
     3692ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
     3693ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
     3694
    29943695
    29953696# Make sure we can run config.sub.
    2996 $ac_config_sub sun4 >/dev/null 2>&1 ||
    2997   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
    2998 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
    2999    { (exit 1); exit 1; }; }
    3000 
    3001 echo "$as_me:$LINENO: checking build system type" >&5
    3002 echo $ECHO_N "checking build system type... $ECHO_C" >&6
    3003 if test "${ac_cv_build+set}" = set; then
    3004   echo $ECHO_N "(cached) $ECHO_C" >&6
    3005 else
    3006   ac_cv_build_alias=$build_alias
    3007 test -z "$ac_cv_build_alias" &&
    3008   ac_cv_build_alias=`$ac_config_guess`
    3009 test -z "$ac_cv_build_alias" &&
    3010   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
    3011 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
    3012    { (exit 1); exit 1; }; }
    3013 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
    3014   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
    3015 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
    3016    { (exit 1); exit 1; }; }
    3017 
    3018 fi
    3019 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
    3020 echo "${ECHO_T}$ac_cv_build" >&6
     3697$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
     3698  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
     3699
     3700{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
     3701$as_echo_n "checking build system type... " >&6; }
     3702if test "${ac_cv_build+set}" = set; then :
     3703  $as_echo_n "(cached) " >&6
     3704else
     3705  ac_build_alias=$build_alias
     3706test "x$ac_build_alias" = x &&
     3707  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
     3708test "x$ac_build_alias" = x &&
     3709  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
     3710ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
     3711  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
     3712
     3713fi
     3714{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
     3715$as_echo "$ac_cv_build" >&6; }
     3716case $ac_cv_build in
     3717*-*-*) ;;
     3718*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
     3719esac
    30213720build=$ac_cv_build
    3022 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
    3023 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
    3024 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
    3025 
    3026 
    3027 echo "$as_me:$LINENO: checking host system type" >&5
    3028 echo $ECHO_N "checking host system type... $ECHO_C" >&6
    3029 if test "${ac_cv_host+set}" = set; then
    3030   echo $ECHO_N "(cached) $ECHO_C" >&6
    3031 else
    3032   ac_cv_host_alias=$host_alias
    3033 test -z "$ac_cv_host_alias" &&
    3034   ac_cv_host_alias=$ac_cv_build_alias
    3035 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
    3036   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
    3037 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
    3038    { (exit 1); exit 1; }; }
    3039 
    3040 fi
    3041 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
    3042 echo "${ECHO_T}$ac_cv_host" >&6
     3721ac_save_IFS=$IFS; IFS='-'
     3722set x $ac_cv_build
     3723shift
     3724build_cpu=$1
     3725build_vendor=$2
     3726shift; shift
     3727# Remember, the first character of IFS is used to create $*,
     3728# except with old shells:
     3729build_os=$*
     3730IFS=$ac_save_IFS
     3731case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
     3732
     3733
     3734{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
     3735$as_echo_n "checking host system type... " >&6; }
     3736if test "${ac_cv_host+set}" = set; then :
     3737  $as_echo_n "(cached) " >&6
     3738else
     3739  if test "x$host_alias" = x; then
     3740  ac_cv_host=$ac_cv_build
     3741else
     3742  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
     3743    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
     3744fi
     3745
     3746fi
     3747{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
     3748$as_echo "$ac_cv_host" >&6; }
     3749case $ac_cv_host in
     3750*-*-*) ;;
     3751*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
     3752esac
    30433753host=$ac_cv_host
    3044 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
    3045 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
    3046 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
    3047 
    3048 
    3049 echo "$as_me:$LINENO: checking target system type" >&5
    3050 echo $ECHO_N "checking target system type... $ECHO_C" >&6
    3051 if test "${ac_cv_target+set}" = set; then
    3052   echo $ECHO_N "(cached) $ECHO_C" >&6
    3053 else
    3054   ac_cv_target_alias=$target_alias
    3055 test "x$ac_cv_target_alias" = "x" &&
    3056   ac_cv_target_alias=$ac_cv_host_alias
    3057 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
    3058   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
    3059 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
    3060    { (exit 1); exit 1; }; }
    3061 
    3062 fi
    3063 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
    3064 echo "${ECHO_T}$ac_cv_target" >&6
     3754ac_save_IFS=$IFS; IFS='-'
     3755set x $ac_cv_host
     3756shift
     3757host_cpu=$1
     3758host_vendor=$2
     3759shift; shift
     3760# Remember, the first character of IFS is used to create $*,
     3761# except with old shells:
     3762host_os=$*
     3763IFS=$ac_save_IFS
     3764case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
     3765
     3766
     3767{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
     3768$as_echo_n "checking target system type... " >&6; }
     3769if test "${ac_cv_target+set}" = set; then :
     3770  $as_echo_n "(cached) " >&6
     3771else
     3772  if test "x$target_alias" = x; then
     3773  ac_cv_target=$ac_cv_host
     3774else
     3775  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
     3776    as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
     3777fi
     3778
     3779fi
     3780{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
     3781$as_echo "$ac_cv_target" >&6; }
     3782case $ac_cv_target in
     3783*-*-*) ;;
     3784*) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
     3785esac
    30653786target=$ac_cv_target
    3066 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
    3067 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
    3068 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
     3787ac_save_IFS=$IFS; IFS='-'
     3788set x $ac_cv_target
     3789shift
     3790target_cpu=$1
     3791target_vendor=$2
     3792shift; shift
     3793# Remember, the first character of IFS is used to create $*,
     3794# except with old shells:
     3795target_os=$*
     3796IFS=$ac_save_IFS
     3797case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
    30693798
    30703799
     
    30753804    NONENONEs,x,x, &&
    30763805  program_prefix=${target_alias}-
     3806
    30773807# Find a good install program.  We prefer a C program (faster),
    30783808# so one script is as good as another.  But avoid the broken or
     
    30883818# OS/2's system install, which has a completely different semantic
    30893819# ./install, which can be erroneously created by make from ./install.sh.
    3090 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
    3091 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
     3820# Reject install programs that cannot install multiple files.
     3821{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
     3822$as_echo_n "checking for a BSD-compatible install... " >&6; }
    30923823if test -z "$INSTALL"; then
    3093 if test "${ac_cv_path_install+set}" = set; then
    3094   echo $ECHO_N "(cached) $ECHO_C" >&6
     3824if test "${ac_cv_path_install+set}" = set; then :
     3825  $as_echo_n "(cached) " >&6
    30953826else
    30963827  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     
    30993830  IFS=$as_save_IFS
    31003831  test -z "$as_dir" && as_dir=.
    3101   # Account for people who put trailing slashes in PATH elements.
    3102 case $as_dir/ in
    3103   ./ | .// | /cC/* | \
     3832    # Account for people who put trailing slashes in PATH elements.
     3833case $as_dir/ in #((
     3834  ./ | .// | /[cC]/* | \
    31043835  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
    3105   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
     3836  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
    31063837  /usr/ucb/* ) ;;
    31073838  *)
     
    31113842    for ac_prog in ginstall scoinst install; do
    31123843      for ac_exec_ext in '' $ac_executable_extensions; do
    3113     if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
     3844    if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
    31143845      if test $ac_prog = install &&
    31153846        grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     
    31213852        :
    31223853      else
    3123         ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
    3124         break 3
     3854        rm -rf conftest.one conftest.two conftest.dir
     3855        echo one > conftest.one
     3856        echo two > conftest.two
     3857        mkdir conftest.dir
     3858        if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
     3859          test -s conftest.one && test -s conftest.two &&
     3860          test -s conftest.dir/conftest.one &&
     3861          test -s conftest.dir/conftest.two
     3862        then
     3863          ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
     3864          break 3
     3865        fi
    31253866      fi
    31263867    fi
     
    31293870    ;;
    31303871esac
    3131 done
    3132 
     3872
     3873  done
     3874IFS=$as_save_IFS
     3875
     3876rm -rf conftest.one conftest.two conftest.dir
    31333877
    31343878fi
     
    31363880    INSTALL=$ac_cv_path_install
    31373881  else
    3138     # As a last resort, use the slow shell script.  We don't cache a
    3139     # path for INSTALL within a source directory, because that will
     3882    # As a last resort, use the slow shell script.  Don't cache a
     3883    # value for INSTALL within a source directory, because that will
    31403884    # break other packages using the cache if that directory is
    3141     # removed, or if the path is relative.
     3885    # removed, or if the value is a relative name.
    31423886    INSTALL=$ac_install_sh
    31433887  fi
    31443888fi
    3145 echo "$as_me:$LINENO: result: $INSTALL" >&5
    3146 echo "${ECHO_T}$INSTALL" >&6
     3889{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
     3890$as_echo "$INSTALL" >&6; }
    31473891
    31483892# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
     
    31543898test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
    31553899
    3156 echo "$as_me:$LINENO: checking whether ln -s works" >&5
    3157 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
     3900{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
     3901$as_echo_n "checking whether ln -s works... " >&6; }
    31583902LN_S=$as_ln_s
    31593903if test "$LN_S" = "ln -s"; then
    3160   echo "$as_me:$LINENO: result: yes" >&5
    3161 echo "${ECHO_T}yes" >&6
    3162 else
    3163   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
    3164 echo "${ECHO_T}no, using $LN_S" >&6
    3165 fi
    3166 
    3167 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
    3168 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
    3169 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
    3170 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
    3171   echo $ECHO_N "(cached) $ECHO_C" >&6
     3904  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     3905$as_echo "yes" >&6; }
     3906else
     3907  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
     3908$as_echo "no, using $LN_S" >&6; }
     3909fi
     3910
     3911{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
     3912$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
     3913set x ${MAKE-make}
     3914ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
     3915if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
     3916  $as_echo_n "(cached) " >&6
    31723917else
    31733918  cat >conftest.make <<\_ACEOF
     3919SHELL = /bin/sh
    31743920all:
    3175     @echo 'ac_maketemp="$(MAKE)"'
     3921    @echo '@@@%%%=$(MAKE)=@@@%%%'
    31763922_ACEOF
    31773923# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
    3178 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
    3179 if test -n "$ac_maketemp"; then
    3180   eval ac_cv_prog_make_${ac_make}_set=yes
    3181 else
    3182   eval ac_cv_prog_make_${ac_make}_set=no
    3183 fi
     3924case `${MAKE-make} -f conftest.make 2>/dev/null` in
     3925  *@@@%%%=?*=@@@%%%*)
     3926    eval ac_cv_prog_make_${ac_make}_set=yes;;
     3927  *)
     3928    eval ac_cv_prog_make_${ac_make}_set=no;;
     3929esac
    31843930rm -f conftest.make
    31853931fi
    3186 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
    3187   echo "$as_me:$LINENO: result: yes" >&5
    3188 echo "${ECHO_T}yes" >&6
     3932if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
     3933  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     3934$as_echo "yes" >&6; }
    31893935  SET_MAKE=
    31903936else
    3191   echo "$as_me:$LINENO: result: no" >&5
    3192 echo "${ECHO_T}no" >&6
     3937  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3938$as_echo "no" >&6; }
    31933939  SET_MAKE="MAKE=${MAKE-make}"
    31943940fi
     
    31973943  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
    31983944set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    3199 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3200 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    3201 if test "${ac_cv_prog_RANLIB+set}" = set; then
    3202   echo $ECHO_N "(cached) $ECHO_C" >&6
     3945{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3946$as_echo_n "checking for $ac_word... " >&6; }
     3947if test "${ac_cv_prog_RANLIB+set}" = set; then :
     3948  $as_echo_n "(cached) " >&6
    32033949else
    32043950  if test -n "$RANLIB"; then
     
    32103956  IFS=$as_save_IFS
    32113957  test -z "$as_dir" && as_dir=.
    3212   for ac_exec_ext in '' $ac_executable_extensions; do
    3213   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3958    for ac_exec_ext in '' $ac_executable_extensions; do
     3959  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    32143960    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    3215     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3961    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    32163962    break 2
    32173963  fi
    32183964done
    3219 done
     3965  done
     3966IFS=$as_save_IFS
    32203967
    32213968fi
     
    32233970RANLIB=$ac_cv_prog_RANLIB
    32243971if test -n "$RANLIB"; then
    3225   echo "$as_me:$LINENO: result: $RANLIB" >&5
    3226 echo "${ECHO_T}$RANLIB" >&6
    3227 else
    3228   echo "$as_me:$LINENO: result: no" >&5
    3229 echo "${ECHO_T}no" >&6
    3230 fi
     3972  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
     3973$as_echo "$RANLIB" >&6; }
     3974else
     3975  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3976$as_echo "no" >&6; }
     3977fi
     3978
    32313979
    32323980fi
     
    32353983  # Extract the first word of "ranlib", so it can be a program name with args.
    32363984set dummy ranlib; ac_word=$2
    3237 echo "$as_me:$LINENO: checking for $ac_word" >&5
    3238 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
    3239 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
    3240   echo $ECHO_N "(cached) $ECHO_C" >&6
     3985{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3986$as_echo_n "checking for $ac_word... " >&6; }
     3987if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
     3988  $as_echo_n "(cached) " >&6
    32413989else
    32423990  if test -n "$ac_ct_RANLIB"; then
     
    32483996  IFS=$as_save_IFS
    32493997  test -z "$as_dir" && as_dir=.
    3250   for ac_exec_ext in '' $ac_executable_extensions; do
    3251   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3998    for ac_exec_ext in '' $ac_executable_extensions; do
     3999  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    32524000    ac_cv_prog_ac_ct_RANLIB="ranlib"
    3253     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4001    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    32544002    break 2
    32554003  fi
    32564004done
    3257 done
    3258 
    3259   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
     4005  done
     4006IFS=$as_save_IFS
     4007
    32604008fi
    32614009fi
    32624010ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
    32634011if test -n "$ac_ct_RANLIB"; then
    3264   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
    3265 echo "${ECHO_T}$ac_ct_RANLIB" >&6
    3266 else
    3267   echo "$as_me:$LINENO: result: no" >&5
    3268 echo "${ECHO_T}no" >&6
    3269 fi
    3270 
    3271   RANLIB=$ac_ct_RANLIB
     4012  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
     4013$as_echo "$ac_ct_RANLIB" >&6; }
     4014else
     4015  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     4016$as_echo "no" >&6; }
     4017fi
     4018
     4019  if test "x$ac_ct_RANLIB" = x; then
     4020    RANLIB=":"
     4021  else
     4022    case $cross_compiling:$ac_tool_warned in
     4023yes:)
     4024{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     4025$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     4026ac_tool_warned=yes ;;
     4027esac
     4028    RANLIB=$ac_ct_RANLIB
     4029  fi
    32724030else
    32734031  RANLIB="$ac_cv_prog_RANLIB"
     
    32754033
    32764034
    3277 echo "$as_me:$LINENO: checking to see if architecture is 64-bit" >&5
    3278 echo $ECHO_N "checking to see if architecture is 64-bit... $ECHO_C" >&6
     4035{ $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if architecture is 64-bit" >&5
     4036$as_echo_n "checking to see if architecture is 64-bit... " >&6; }
    32794037arch_64bit=no
    32804038case "$host_cpu" in
     
    32834041
    32844042if test "$arch_64bit" = yes; then
    3285   echo "$as_me:$LINENO: result: yes" >&5
    3286 echo "${ECHO_T}yes" >&6
     4043  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     4044$as_echo "yes" >&6; }
    32874045  if test -z "$COMPAT32BITFLAGS" ; then
    3288     COMPAT32BITFLAGS="-m32"
     4046    if test "$ENABLE_MG" = "1" -o "$ENABLE_MGPP" = "1" ; then
     4047      COMPAT32BITFLAGS="-m32"
     4048    fi
    32894049  fi
    32904050else
    3291   echo "$as_me:$LINENO: result: no" >&5
    3292 echo "${ECHO_T}no" >&6
     4051  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     4052$as_echo "no" >&6; }
    32934053  if test -z "$COMPAT32BITFLAGS" ; then
    3294     COMPAT32BITFLAGS=
    3295   fi
    3296 fi
    3297 
    3298 # Only need compat32bitflag if using MG or MGPP
    3299 if test "$ENABLE_MG" = "0" ; then
    3300   COMPAT32BITFLAGS=
    3301 else
    3302   if test "$ENABLE_MGPP" = "0" ; then
    33034054    COMPAT32BITFLAGS=
    33044055  fi
     
    33324083#do test of MICO_VER
    33334084if test MICO_VER != 0; then
    3334 cat >>confdefs.h <<\_ACEOF
    3335 #define MICO_VER 1
    3336 _ACEOF
     4085$as_echo "#define MICO_VER 1" >>confdefs.h
    33374086
    33384087
     
    33474096ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    33484097ac_compiler_gnu=$ac_cv_c_compiler_gnu
    3349 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
    3350 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
     4098{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
     4099$as_echo_n "checking how to run the C preprocessor... " >&6; }
    33514100# On Suns, sometimes $CPP names a directory.
    33524101if test -n "$CPP" && test -d "$CPP"; then
     
    33544103fi
    33554104if test -z "$CPP"; then
    3356   if test "${ac_cv_prog_CPP+set}" = set; then
    3357   echo $ECHO_N "(cached) $ECHO_C" >&6
     4105  if test "${ac_cv_prog_CPP+set}" = set; then :
     4106  $as_echo_n "(cached) " >&6
    33584107else
    33594108      # Double quotes because CPP needs to be expanded
     
    33694118  # On the NeXT, cc -E runs the code through the compiler's parser,
    33704119  # not just through cpp. "Syntax error" is here to catch this case.
    3371   cat >conftest.$ac_ext <<_ACEOF
    3372 /* confdefs.h.  */
    3373 _ACEOF
    3374 cat confdefs.h >>conftest.$ac_ext
    3375 cat >>conftest.$ac_ext <<_ACEOF
     4120  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    33764121/* end confdefs.h.  */
    33774122#ifdef __STDC__
     
    33824127             Syntax error
    33834128_ACEOF
    3384 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    3385   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    3386   ac_status=$?
    3387   grep -v '^ *+' conftest.er1 >conftest.err
    3388   rm -f conftest.er1
    3389   cat conftest.err >&5
    3390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3391   (exit $ac_status); } >/dev/null; then
    3392   if test -s conftest.err; then
    3393     ac_cpp_err=$ac_c_preproc_warn_flag
    3394     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    3395   else
    3396     ac_cpp_err=
    3397   fi
    3398 else
    3399   ac_cpp_err=yes
    3400 fi
    3401 if test -z "$ac_cpp_err"; then
    3402   :
    3403 else
    3404   echo "$as_me: failed program was:" >&5
    3405 sed 's/^/| /' conftest.$ac_ext >&5
    3406 
     4129if ac_fn_c_try_cpp "$LINENO"; then :
     4130
     4131else
    34074132  # Broken: fails on valid input.
    34084133continue
     
    34104135rm -f conftest.err conftest.$ac_ext
    34114136
    3412   # OK, works on sane cases.  Now check whether non-existent headers
     4137  # OK, works on sane cases.  Now check whether nonexistent headers
    34134138  # can be detected and how.
    3414   cat >conftest.$ac_ext <<_ACEOF
    3415 /* confdefs.h.  */
    3416 _ACEOF
    3417 cat confdefs.h >>conftest.$ac_ext
    3418 cat >>conftest.$ac_ext <<_ACEOF
     4139  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    34194140/* end confdefs.h.  */
    34204141#include <ac_nonexistent.h>
    34214142_ACEOF
    3422 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    3423   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    3424   ac_status=$?
    3425   grep -v '^ *+' conftest.er1 >conftest.err
    3426   rm -f conftest.er1
    3427   cat conftest.err >&5
    3428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3429   (exit $ac_status); } >/dev/null; then
    3430   if test -s conftest.err; then
    3431     ac_cpp_err=$ac_c_preproc_warn_flag
    3432     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    3433   else
    3434     ac_cpp_err=
    3435   fi
    3436 else
    3437   ac_cpp_err=yes
    3438 fi
    3439 if test -z "$ac_cpp_err"; then
     4143if ac_fn_c_try_cpp "$LINENO"; then :
    34404144  # Broken: success on invalid input.
    34414145continue
    34424146else
    3443   echo "$as_me: failed program was:" >&5
    3444 sed 's/^/| /' conftest.$ac_ext >&5
    3445 
    34464147  # Passes both tests.
    34474148ac_preproc_ok=:
     
    34534154# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    34544155rm -f conftest.err conftest.$ac_ext
    3455 if $ac_preproc_ok; then
     4156if $ac_preproc_ok; then :
    34564157  break
    34574158fi
     
    34654166  ac_cv_prog_CPP=$CPP
    34664167fi
    3467 echo "$as_me:$LINENO: result: $CPP" >&5
    3468 echo "${ECHO_T}$CPP" >&6
     4168{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
     4169$as_echo "$CPP" >&6; }
    34694170ac_preproc_ok=false
    34704171for ac_c_preproc_warn_flag in '' yes
     
    34764177  # On the NeXT, cc -E runs the code through the compiler's parser,
    34774178  # not just through cpp. "Syntax error" is here to catch this case.
    3478   cat >conftest.$ac_ext <<_ACEOF
    3479 /* confdefs.h.  */
    3480 _ACEOF
    3481 cat confdefs.h >>conftest.$ac_ext
    3482 cat >>conftest.$ac_ext <<_ACEOF
     4179  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    34834180/* end confdefs.h.  */
    34844181#ifdef __STDC__
     
    34894186             Syntax error
    34904187_ACEOF
    3491 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    3492   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    3493   ac_status=$?
    3494   grep -v '^ *+' conftest.er1 >conftest.err
    3495   rm -f conftest.er1
    3496   cat conftest.err >&5
    3497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3498   (exit $ac_status); } >/dev/null; then
    3499   if test -s conftest.err; then
    3500     ac_cpp_err=$ac_c_preproc_warn_flag
    3501     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    3502   else
    3503     ac_cpp_err=
    3504   fi
    3505 else
    3506   ac_cpp_err=yes
    3507 fi
    3508 if test -z "$ac_cpp_err"; then
    3509   :
    3510 else
    3511   echo "$as_me: failed program was:" >&5
    3512 sed 's/^/| /' conftest.$ac_ext >&5
    3513 
     4188if ac_fn_c_try_cpp "$LINENO"; then :
     4189
     4190else
    35144191  # Broken: fails on valid input.
    35154192continue
     
    35174194rm -f conftest.err conftest.$ac_ext
    35184195
    3519   # OK, works on sane cases.  Now check whether non-existent headers
     4196  # OK, works on sane cases.  Now check whether nonexistent headers
    35204197  # can be detected and how.
    3521   cat >conftest.$ac_ext <<_ACEOF
    3522 /* confdefs.h.  */
    3523 _ACEOF
    3524 cat confdefs.h >>conftest.$ac_ext
    3525 cat >>conftest.$ac_ext <<_ACEOF
     4198  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    35264199/* end confdefs.h.  */
    35274200#include <ac_nonexistent.h>
    35284201_ACEOF
    3529 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    3530   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    3531   ac_status=$?
    3532   grep -v '^ *+' conftest.er1 >conftest.err
    3533   rm -f conftest.er1
    3534   cat conftest.err >&5
    3535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3536   (exit $ac_status); } >/dev/null; then
    3537   if test -s conftest.err; then
    3538     ac_cpp_err=$ac_c_preproc_warn_flag
    3539     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    3540   else
    3541     ac_cpp_err=
    3542   fi
    3543 else
    3544   ac_cpp_err=yes
    3545 fi
    3546 if test -z "$ac_cpp_err"; then
     4202if ac_fn_c_try_cpp "$LINENO"; then :
    35474203  # Broken: success on invalid input.
    35484204continue
    35494205else
    3550   echo "$as_me: failed program was:" >&5
    3551 sed 's/^/| /' conftest.$ac_ext >&5
    3552 
    35534206  # Passes both tests.
    35544207ac_preproc_ok=:
     
    35604213# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    35614214rm -f conftest.err conftest.$ac_ext
    3562 if $ac_preproc_ok; then
    3563   :
    3564 else
    3565   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
    3566 See \`config.log' for more details." >&5
    3567 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
    3568 See \`config.log' for more details." >&2;}
    3569    { (exit 1); exit 1; }; }
     4215if $ac_preproc_ok; then :
     4216
     4217else
     4218  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     4219$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     4220as_fn_error "C preprocessor \"$CPP\" fails sanity check
     4221See \`config.log' for more details." "$LINENO" 5; }
    35704222fi
    35714223
     
    35774229
    35784230
    3579 echo "$as_me:$LINENO: checking for egrep" >&5
    3580 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
    3581 if test "${ac_cv_prog_egrep+set}" = set; then
    3582   echo $ECHO_N "(cached) $ECHO_C" >&6
    3583 else
    3584   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
    3585     then ac_cv_prog_egrep='grep -E'
    3586     else ac_cv_prog_egrep='egrep'
     4231{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
     4232$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
     4233if test "${ac_cv_path_GREP+set}" = set; then :
     4234  $as_echo_n "(cached) " >&6
     4235else
     4236  if test -z "$GREP"; then
     4237  ac_path_GREP_found=false
     4238  # Loop through the user's path and test for each of PROGNAME-LIST
     4239  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4240for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
     4241do
     4242  IFS=$as_save_IFS
     4243  test -z "$as_dir" && as_dir=.
     4244    for ac_prog in grep ggrep; do
     4245    for ac_exec_ext in '' $ac_executable_extensions; do
     4246      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
     4247      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
     4248# Check for GNU ac_path_GREP and select it if it is found.
     4249  # Check for GNU $ac_path_GREP
     4250case `"$ac_path_GREP" --version 2>&1` in
     4251*GNU*)
     4252  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
     4253*)
     4254  ac_count=0
     4255  $as_echo_n 0123456789 >"conftest.in"
     4256  while :
     4257  do
     4258    cat "conftest.in" "conftest.in" >"conftest.tmp"
     4259    mv "conftest.tmp" "conftest.in"
     4260    cp "conftest.in" "conftest.nl"
     4261    $as_echo 'GREP' >> "conftest.nl"
     4262    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
     4263    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
     4264    as_fn_arith $ac_count + 1 && ac_count=$as_val
     4265    if test $ac_count -gt ${ac_path_GREP_max-0}; then
     4266      # Best one so far, save it but keep looking for a better one
     4267      ac_cv_path_GREP="$ac_path_GREP"
     4268      ac_path_GREP_max=$ac_count
    35874269    fi
    3588 fi
    3589 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
    3590 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
    3591  EGREP=$ac_cv_prog_egrep
    3592 
    3593 
    3594 
    3595 echo "$as_me:$LINENO: checking for AIX" >&5
    3596 echo $ECHO_N "checking for AIX... $ECHO_C" >&6
    3597 cat >conftest.$ac_ext <<_ACEOF
    3598 /* confdefs.h.  */
    3599 _ACEOF
    3600 cat confdefs.h >>conftest.$ac_ext
    3601 cat >>conftest.$ac_ext <<_ACEOF
    3602 /* end confdefs.h.  */
    3603 #ifdef _AIX
    3604   yes
    3605 #endif
    3606 
    3607 _ACEOF
    3608 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    3609   $EGREP "yes" >/dev/null 2>&1; then
    3610   echo "$as_me:$LINENO: result: yes" >&5
    3611 echo "${ECHO_T}yes" >&6
    3612 cat >>confdefs.h <<\_ACEOF
    3613 #define _ALL_SOURCE 1
    3614 _ACEOF
    3615 
    3616 else
    3617   echo "$as_me:$LINENO: result: no" >&5
    3618 echo "${ECHO_T}no" >&6
    3619 fi
    3620 rm -f conftest*
    3621 
    3622 
    3623 echo "$as_me:$LINENO: checking for library containing strerror" >&5
    3624 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
    3625 if test "${ac_cv_search_strerror+set}" = set; then
    3626   echo $ECHO_N "(cached) $ECHO_C" >&6
    3627 else
    3628   ac_func_search_save_LIBS=$LIBS
    3629 ac_cv_search_strerror=no
    3630 cat >conftest.$ac_ext <<_ACEOF
    3631 /* confdefs.h.  */
    3632 _ACEOF
    3633 cat confdefs.h >>conftest.$ac_ext
    3634 cat >>conftest.$ac_ext <<_ACEOF
    3635 /* end confdefs.h.  */
    3636 
    3637 /* Override any gcc2 internal prototype to avoid an error.  */
    3638 #ifdef __cplusplus
    3639 extern "C"
    3640 #endif
    3641 /* We use char because int might match the return type of a gcc2
    3642    builtin and then its argument prototype would still apply.  */
    3643 char strerror ();
    3644 int
    3645 main ()
    3646 {
    3647 strerror ();
    3648   ;
    3649   return 0;
    3650 }
    3651 _ACEOF
    3652 rm -f conftest.$ac_objext conftest$ac_exeext
    3653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    3654   (eval $ac_link) 2>conftest.er1
    3655   ac_status=$?
    3656   grep -v '^ *+' conftest.er1 >conftest.err
    3657   rm -f conftest.er1
    3658   cat conftest.err >&5
    3659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3660   (exit $ac_status); } &&
    3661      { ac_try='test -z "$ac_c_werror_flag"
    3662              || test ! -s conftest.err'
    3663   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3664   (eval $ac_try) 2>&5
    3665   ac_status=$?
    3666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3667   (exit $ac_status); }; } &&
    3668      { ac_try='test -s conftest$ac_exeext'
    3669   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3670   (eval $ac_try) 2>&5
    3671   ac_status=$?
    3672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3673   (exit $ac_status); }; }; then
    3674   ac_cv_search_strerror="none required"
    3675 else
    3676   echo "$as_me: failed program was:" >&5
    3677 sed 's/^/| /' conftest.$ac_ext >&5
    3678 
    3679 fi
    3680 rm -f conftest.err conftest.$ac_objext \
    3681       conftest$ac_exeext conftest.$ac_ext
    3682 if test "$ac_cv_search_strerror" = no; then
    3683   for ac_lib in cposix; do
    3684     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
    3685     cat >conftest.$ac_ext <<_ACEOF
    3686 /* confdefs.h.  */
    3687 _ACEOF
    3688 cat confdefs.h >>conftest.$ac_ext
    3689 cat >>conftest.$ac_ext <<_ACEOF
    3690 /* end confdefs.h.  */
    3691 
    3692 /* Override any gcc2 internal prototype to avoid an error.  */
    3693 #ifdef __cplusplus
    3694 extern "C"
    3695 #endif
    3696 /* We use char because int might match the return type of a gcc2
    3697    builtin and then its argument prototype would still apply.  */
    3698 char strerror ();
    3699 int
    3700 main ()
    3701 {
    3702 strerror ();
    3703   ;
    3704   return 0;
    3705 }
    3706 _ACEOF
    3707 rm -f conftest.$ac_objext conftest$ac_exeext
    3708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    3709   (eval $ac_link) 2>conftest.er1
    3710   ac_status=$?
    3711   grep -v '^ *+' conftest.er1 >conftest.err
    3712   rm -f conftest.er1
    3713   cat conftest.err >&5
    3714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3715   (exit $ac_status); } &&
    3716      { ac_try='test -z "$ac_c_werror_flag"
    3717              || test ! -s conftest.err'
    3718   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3719   (eval $ac_try) 2>&5
    3720   ac_status=$?
    3721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3722   (exit $ac_status); }; } &&
    3723      { ac_try='test -s conftest$ac_exeext'
    3724   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3725   (eval $ac_try) 2>&5
    3726   ac_status=$?
    3727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3728   (exit $ac_status); }; }; then
    3729   ac_cv_search_strerror="-l$ac_lib"
    3730 break
    3731 else
    3732   echo "$as_me: failed program was:" >&5
    3733 sed 's/^/| /' conftest.$ac_ext >&5
    3734 
    3735 fi
    3736 rm -f conftest.err conftest.$ac_objext \
    3737       conftest$ac_exeext conftest.$ac_ext
     4270    # 10*(2^10) chars as input seems more than enough
     4271    test $ac_count -gt 10 && break
    37384272  done
    3739 fi
    3740 LIBS=$ac_func_search_save_LIBS
    3741 fi
    3742 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
    3743 echo "${ECHO_T}$ac_cv_search_strerror" >&6
    3744 if test "$ac_cv_search_strerror" != no; then
    3745   test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
    3746 
    3747 fi
    3748 
    3749 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
    3750 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
    3751 if test "${ac_cv_header_stdc+set}" = set; then
    3752   echo $ECHO_N "(cached) $ECHO_C" >&6
    3753 else
    3754   cat >conftest.$ac_ext <<_ACEOF
    3755 /* confdefs.h.  */
    3756 _ACEOF
    3757 cat confdefs.h >>conftest.$ac_ext
    3758 cat >>conftest.$ac_ext <<_ACEOF
     4273  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
     4274esac
     4275
     4276      $ac_path_GREP_found && break 3
     4277    done
     4278  done
     4279  done
     4280IFS=$as_save_IFS
     4281  if test -z "$ac_cv_path_GREP"; then
     4282    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
     4283  fi
     4284else
     4285  ac_cv_path_GREP=$GREP
     4286fi
     4287
     4288fi
     4289{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
     4290$as_echo "$ac_cv_path_GREP" >&6; }
     4291 GREP="$ac_cv_path_GREP"
     4292
     4293
     4294{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
     4295$as_echo_n "checking for egrep... " >&6; }
     4296if test "${ac_cv_path_EGREP+set}" = set; then :
     4297  $as_echo_n "(cached) " >&6
     4298else
     4299  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
     4300   then ac_cv_path_EGREP="$GREP -E"
     4301   else
     4302     if test -z "$EGREP"; then
     4303  ac_path_EGREP_found=false
     4304  # Loop through the user's path and test for each of PROGNAME-LIST
     4305  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4306for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
     4307do
     4308  IFS=$as_save_IFS
     4309  test -z "$as_dir" && as_dir=.
     4310    for ac_prog in egrep; do
     4311    for ac_exec_ext in '' $ac_executable_extensions; do
     4312      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
     4313      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
     4314# Check for GNU ac_path_EGREP and select it if it is found.
     4315  # Check for GNU $ac_path_EGREP
     4316case `"$ac_path_EGREP" --version 2>&1` in
     4317*GNU*)
     4318  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
     4319*)
     4320  ac_count=0
     4321  $as_echo_n 0123456789 >"conftest.in"
     4322  while :
     4323  do
     4324    cat "conftest.in" "conftest.in" >"conftest.tmp"
     4325    mv "conftest.tmp" "conftest.in"
     4326    cp "conftest.in" "conftest.nl"
     4327    $as_echo 'EGREP' >> "conftest.nl"
     4328    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
     4329    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
     4330    as_fn_arith $ac_count + 1 && ac_count=$as_val
     4331    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
     4332      # Best one so far, save it but keep looking for a better one
     4333      ac_cv_path_EGREP="$ac_path_EGREP"
     4334      ac_path_EGREP_max=$ac_count
     4335    fi
     4336    # 10*(2^10) chars as input seems more than enough
     4337    test $ac_count -gt 10 && break
     4338  done
     4339  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
     4340esac
     4341
     4342      $ac_path_EGREP_found && break 3
     4343    done
     4344  done
     4345  done
     4346IFS=$as_save_IFS
     4347  if test -z "$ac_cv_path_EGREP"; then
     4348    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
     4349  fi
     4350else
     4351  ac_cv_path_EGREP=$EGREP
     4352fi
     4353
     4354   fi
     4355fi
     4356{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
     4357$as_echo "$ac_cv_path_EGREP" >&6; }
     4358 EGREP="$ac_cv_path_EGREP"
     4359
     4360
     4361{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
     4362$as_echo_n "checking for ANSI C header files... " >&6; }
     4363if test "${ac_cv_header_stdc+set}" = set; then :
     4364  $as_echo_n "(cached) " >&6
     4365else
     4366  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    37594367/* end confdefs.h.  */
    37604368#include <stdlib.h>
     
    37714379}
    37724380_ACEOF
    3773 rm -f conftest.$ac_objext
    3774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3775   (eval $ac_compile) 2>conftest.er1
    3776   ac_status=$?
    3777   grep -v '^ *+' conftest.er1 >conftest.err
    3778   rm -f conftest.er1
    3779   cat conftest.err >&5
    3780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3781   (exit $ac_status); } &&
    3782      { ac_try='test -z "$ac_c_werror_flag"
    3783              || test ! -s conftest.err'
    3784   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3785   (eval $ac_try) 2>&5
    3786   ac_status=$?
    3787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3788   (exit $ac_status); }; } &&
    3789      { ac_try='test -s conftest.$ac_objext'
    3790   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3791   (eval $ac_try) 2>&5
    3792   ac_status=$?
    3793   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3794   (exit $ac_status); }; }; then
     4381if ac_fn_c_try_compile "$LINENO"; then :
    37954382  ac_cv_header_stdc=yes
    37964383else
    3797   echo "$as_me: failed program was:" >&5
    3798 sed 's/^/| /' conftest.$ac_ext >&5
    3799 
    3800 ac_cv_header_stdc=no
    3801 fi
    3802 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4384  ac_cv_header_stdc=no
     4385fi
     4386rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    38034387
    38044388if test $ac_cv_header_stdc = yes; then
    38054389  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    3806   cat >conftest.$ac_ext <<_ACEOF
    3807 /* confdefs.h.  */
    3808 _ACEOF
    3809 cat confdefs.h >>conftest.$ac_ext
    3810 cat >>conftest.$ac_ext <<_ACEOF
     4390  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    38114391/* end confdefs.h.  */
    38124392#include <string.h>
     
    38144394_ACEOF
    38154395if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    3816   $EGREP "memchr" >/dev/null 2>&1; then
    3817   :
     4396  $EGREP "memchr" >/dev/null 2>&1; then :
     4397
    38184398else
    38194399  ac_cv_header_stdc=no
     
    38254405if test $ac_cv_header_stdc = yes; then
    38264406  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    3827   cat >conftest.$ac_ext <<_ACEOF
    3828 /* confdefs.h.  */
    3829 _ACEOF
    3830 cat confdefs.h >>conftest.$ac_ext
    3831 cat >>conftest.$ac_ext <<_ACEOF
     4407  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    38324408/* end confdefs.h.  */
    38334409#include <stdlib.h>
     
    38354411_ACEOF
    38364412if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    3837   $EGREP "free" >/dev/null 2>&1; then
    3838   :
     4413  $EGREP "free" >/dev/null 2>&1; then :
     4414
    38394415else
    38404416  ac_cv_header_stdc=no
     
    38464422if test $ac_cv_header_stdc = yes; then
    38474423  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
    3848   if test "$cross_compiling" = yes; then
     4424  if test "$cross_compiling" = yes; then :
    38494425  :
    38504426else
    3851   cat >conftest.$ac_ext <<_ACEOF
    3852 /* confdefs.h.  */
    3853 _ACEOF
    3854 cat confdefs.h >>conftest.$ac_ext
    3855 cat >>conftest.$ac_ext <<_ACEOF
     4427  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    38564428/* end confdefs.h.  */
    38574429#include <ctype.h>
     4430#include <stdlib.h>
    38584431#if ((' ' & 0x0FF) == 0x020)
    38594432# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
     
    38754448    if (XOR (islower (i), ISLOWER (i))
    38764449    || toupper (i) != TOUPPER (i))
    3877       exit(2);
    3878   exit (0);
     4450      return 2;
     4451  return 0;
    38794452}
    38804453_ACEOF
    3881 rm -f conftest$ac_exeext
    3882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    3883   (eval $ac_link) 2>&5
    3884   ac_status=$?
    3885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3886   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    3887   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3888   (eval $ac_try) 2>&5
    3889   ac_status=$?
    3890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3891   (exit $ac_status); }; }; then
    3892   :
    3893 else
    3894   echo "$as_me: program exited with status $ac_status" >&5
    3895 echo "$as_me: failed program was:" >&5
    3896 sed 's/^/| /' conftest.$ac_ext >&5
    3897 
    3898 ( exit $ac_status )
    3899 ac_cv_header_stdc=no
    3900 fi
    3901 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    3902 fi
    3903 fi
    3904 fi
    3905 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
    3906 echo "${ECHO_T}$ac_cv_header_stdc" >&6
     4454if ac_fn_c_try_run "$LINENO"; then :
     4455
     4456else
     4457  ac_cv_header_stdc=no
     4458fi
     4459rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     4460  conftest.$ac_objext conftest.beam conftest.$ac_ext
     4461fi
     4462
     4463fi
     4464fi
     4465{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
     4466$as_echo "$ac_cv_header_stdc" >&6; }
    39074467if test $ac_cv_header_stdc = yes; then
    39084468
    3909 cat >>confdefs.h <<\_ACEOF
    3910 #define STDC_HEADERS 1
    3911 _ACEOF
     4469$as_echo "#define STDC_HEADERS 1" >>confdefs.h
    39124470
    39134471fi
    39144472
    39154473# On IRIX 5.3, sys/types and inttypes.h are conflicting.
    3916 
    3917 
    3918 
    3919 
    3920 
    3921 
    3922 
    3923 
    3924 
    39254474for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
    39264475          inttypes.h stdint.h unistd.h
    3927 do
    3928 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    3929 echo "$as_me:$LINENO: checking for $ac_header" >&5
    3930 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    3931 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    3932   echo $ECHO_N "(cached) $ECHO_C" >&6
    3933 else
    3934   cat >conftest.$ac_ext <<_ACEOF
    3935 /* confdefs.h.  */
    3936 _ACEOF
    3937 cat confdefs.h >>conftest.$ac_ext
    3938 cat >>conftest.$ac_ext <<_ACEOF
     4476do :
     4477  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     4478ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
     4479"
     4480eval as_val=\$$as_ac_Header
     4481   if test "x$as_val" = x""yes; then :
     4482  cat >>confdefs.h <<_ACEOF
     4483#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     4484_ACEOF
     4485
     4486fi
     4487
     4488done
     4489
     4490
     4491
     4492  ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
     4493if test "x$ac_cv_header_minix_config_h" = x""yes; then :
     4494  MINIX=yes
     4495else
     4496  MINIX=
     4497fi
     4498
     4499
     4500  if test "$MINIX" = yes; then
     4501
     4502$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
     4503
     4504
     4505$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
     4506
     4507
     4508$as_echo "#define _MINIX 1" >>confdefs.h
     4509
     4510  fi
     4511
     4512
     4513  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
     4514$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
     4515if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
     4516  $as_echo_n "(cached) " >&6
     4517else
     4518  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    39394519/* end confdefs.h.  */
    3940 $ac_includes_default
    3941 
    3942 #include <$ac_header>
    3943 _ACEOF
    3944 rm -f conftest.$ac_objext
    3945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    3946   (eval $ac_compile) 2>conftest.er1
    3947   ac_status=$?
    3948   grep -v '^ *+' conftest.er1 >conftest.err
    3949   rm -f conftest.er1
    3950   cat conftest.err >&5
    3951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3952   (exit $ac_status); } &&
    3953      { ac_try='test -z "$ac_c_werror_flag"
    3954              || test ! -s conftest.err'
    3955   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3956   (eval $ac_try) 2>&5
    3957   ac_status=$?
    3958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3959   (exit $ac_status); }; } &&
    3960      { ac_try='test -s conftest.$ac_objext'
    3961   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    3962   (eval $ac_try) 2>&5
    3963   ac_status=$?
    3964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3965   (exit $ac_status); }; }; then
    3966   eval "$as_ac_Header=yes"
    3967 else
    3968   echo "$as_me: failed program was:" >&5
    3969 sed 's/^/| /' conftest.$ac_ext >&5
    3970 
    3971 eval "$as_ac_Header=no"
    3972 fi
    3973 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    3974 fi
    3975 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    3976 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    3977 if test `eval echo '${'$as_ac_Header'}'` = yes; then
    3978   cat >>confdefs.h <<_ACEOF
    3979 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
    3980 _ACEOF
    3981 
    3982 fi
    3983 
     4520
     4521#     define __EXTENSIONS__ 1
     4522      $ac_includes_default
     4523int
     4524main ()
     4525{
     4526
     4527  ;
     4528  return 0;
     4529}
     4530_ACEOF
     4531if ac_fn_c_try_compile "$LINENO"; then :
     4532  ac_cv_safe_to_define___extensions__=yes
     4533else
     4534  ac_cv_safe_to_define___extensions__=no
     4535fi
     4536rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4537fi
     4538{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
     4539$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
     4540  test $ac_cv_safe_to_define___extensions__ = yes &&
     4541    $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
     4542
     4543  $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
     4544
     4545  $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
     4546
     4547  $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
     4548
     4549  $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
     4550
     4551
     4552
     4553{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
     4554$as_echo_n "checking for library containing strerror... " >&6; }
     4555if test "${ac_cv_search_strerror+set}" = set; then :
     4556  $as_echo_n "(cached) " >&6
     4557else
     4558  ac_func_search_save_LIBS=$LIBS
     4559cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4560/* end confdefs.h.  */
     4561
     4562/* Override any GCC internal prototype to avoid an error.
     4563   Use char because int might match the return type of a GCC
     4564   builtin and then its argument prototype would still apply.  */
     4565#ifdef __cplusplus
     4566extern "C"
     4567#endif
     4568char strerror ();
     4569int
     4570main ()
     4571{
     4572return strerror ();
     4573  ;
     4574  return 0;
     4575}
     4576_ACEOF
     4577for ac_lib in '' cposix; do
     4578  if test -z "$ac_lib"; then
     4579    ac_res="none required"
     4580  else
     4581    ac_res=-l$ac_lib
     4582    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
     4583  fi
     4584  if ac_fn_c_try_link "$LINENO"; then :
     4585  ac_cv_search_strerror=$ac_res
     4586fi
     4587rm -f core conftest.err conftest.$ac_objext \
     4588    conftest$ac_exeext
     4589  if test "${ac_cv_search_strerror+set}" = set; then :
     4590  break
     4591fi
    39844592done
    3985 
    3986 
    3987 if test "${ac_cv_header_minix_config_h+set}" = set; then
    3988   echo "$as_me:$LINENO: checking for minix/config.h" >&5
    3989 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
    3990 if test "${ac_cv_header_minix_config_h+set}" = set; then
    3991   echo $ECHO_N "(cached) $ECHO_C" >&6
    3992 fi
    3993 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
    3994 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
    3995 else
    3996   # Is the header compilable?
    3997 echo "$as_me:$LINENO: checking minix/config.h usability" >&5
    3998 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6
    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 #include <minix/config.h>
    4007 _ACEOF
    4008 rm -f conftest.$ac_objext
    4009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4010   (eval $ac_compile) 2>conftest.er1
    4011   ac_status=$?
    4012   grep -v '^ *+' conftest.er1 >conftest.err
    4013   rm -f conftest.er1
    4014   cat conftest.err >&5
    4015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4016   (exit $ac_status); } &&
    4017      { ac_try='test -z "$ac_c_werror_flag"
    4018              || test ! -s conftest.err'
    4019   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4020   (eval $ac_try) 2>&5
    4021   ac_status=$?
    4022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4023   (exit $ac_status); }; } &&
    4024      { ac_try='test -s conftest.$ac_objext'
    4025   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4026   (eval $ac_try) 2>&5
    4027   ac_status=$?
    4028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4029   (exit $ac_status); }; }; then
    4030   ac_header_compiler=yes
    4031 else
    4032   echo "$as_me: failed program was:" >&5
    4033 sed 's/^/| /' conftest.$ac_ext >&5
    4034 
    4035 ac_header_compiler=no
    4036 fi
    4037 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4038 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    4039 echo "${ECHO_T}$ac_header_compiler" >&6
    4040 
    4041 # Is the header present?
    4042 echo "$as_me:$LINENO: checking minix/config.h presence" >&5
    4043 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6
    4044 cat >conftest.$ac_ext <<_ACEOF
    4045 /* confdefs.h.  */
    4046 _ACEOF
    4047 cat confdefs.h >>conftest.$ac_ext
    4048 cat >>conftest.$ac_ext <<_ACEOF
    4049 /* end confdefs.h.  */
    4050 #include <minix/config.h>
    4051 _ACEOF
    4052 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    4053   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    4054   ac_status=$?
    4055   grep -v '^ *+' conftest.er1 >conftest.err
    4056   rm -f conftest.er1
    4057   cat conftest.err >&5
    4058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4059   (exit $ac_status); } >/dev/null; then
    4060   if test -s conftest.err; then
    4061     ac_cpp_err=$ac_c_preproc_warn_flag
    4062     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    4063   else
    4064     ac_cpp_err=
    4065   fi
    4066 else
    4067   ac_cpp_err=yes
    4068 fi
    4069 if test -z "$ac_cpp_err"; then
    4070   ac_header_preproc=yes
    4071 else
    4072   echo "$as_me: failed program was:" >&5
    4073 sed 's/^/| /' conftest.$ac_ext >&5
    4074 
    4075   ac_header_preproc=no
    4076 fi
    4077 rm -f conftest.err conftest.$ac_ext
    4078 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    4079 echo "${ECHO_T}$ac_header_preproc" >&6
    4080 
    4081 # So?  What about this header?
    4082 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    4083   yes:no: )
    4084     { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
    4085 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
    4086     { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
    4087 echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
    4088     ac_header_preproc=yes
    4089     ;;
    4090   no:yes:* )
    4091     { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
    4092 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
    4093     { echo "$as_me:$LINENO: WARNING: minix/config.h:     check for missing prerequisite headers?" >&5
    4094 echo "$as_me: WARNING: minix/config.h:     check for missing prerequisite headers?" >&2;}
    4095     { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
    4096 echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
    4097     { echo "$as_me:$LINENO: WARNING: minix/config.h:     section \"Present But Cannot Be Compiled\"" >&5
    4098 echo "$as_me: WARNING: minix/config.h:     section \"Present But Cannot Be Compiled\"" >&2;}
    4099     { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
    4100 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
    4101     { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
    4102 echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
    4103     (
    4104       cat <<\_ASBOX
    4105 ## ------------------------------------------ ##
    4106 ## Report this to the AC_PACKAGE_NAME lists.  ##
    4107 ## ------------------------------------------ ##
    4108 _ASBOX
    4109     ) |
    4110       sed "s/^/$as_me: WARNING:     /" >&2
    4111     ;;
    4112 esac
    4113 echo "$as_me:$LINENO: checking for minix/config.h" >&5
    4114 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
    4115 if test "${ac_cv_header_minix_config_h+set}" = set; then
    4116   echo $ECHO_N "(cached) $ECHO_C" >&6
    4117 else
    4118   ac_cv_header_minix_config_h=$ac_header_preproc
    4119 fi
    4120 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
    4121 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
    4122 
    4123 fi
    4124 if test $ac_cv_header_minix_config_h = yes; then
    4125   MINIX=yes
    4126 else
    4127   MINIX=
    4128 fi
    4129 
    4130 
    4131 if test "$MINIX" = yes; then
    4132 
    4133 cat >>confdefs.h <<\_ACEOF
    4134 #define _POSIX_SOURCE 1
    4135 _ACEOF
    4136 
    4137 
    4138 cat >>confdefs.h <<\_ACEOF
    4139 #define _POSIX_1_SOURCE 2
    4140 _ACEOF
    4141 
    4142 
    4143 cat >>confdefs.h <<\_ACEOF
    4144 #define _MINIX 1
    4145 _ACEOF
    4146 
    4147 fi
    4148 
    4149 echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
    4150 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6
    4151 if test "${ac_cv_prog_cc_stdc+set}" = set; then
    4152   echo $ECHO_N "(cached) $ECHO_C" >&6
     4593if test "${ac_cv_search_strerror+set}" = set; then :
     4594
     4595else
     4596  ac_cv_search_strerror=no
     4597fi
     4598rm conftest.$ac_ext
     4599LIBS=$ac_func_search_save_LIBS
     4600fi
     4601{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
     4602$as_echo "$ac_cv_search_strerror" >&6; }
     4603ac_res=$ac_cv_search_strerror
     4604if test "$ac_res" != no; then :
     4605  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
     4606
     4607fi
     4608
     4609
     4610{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${CC-cc} option to accept ANSI C" >&5
     4611$as_echo_n "checking for ${CC-cc} option to accept ANSI C... " >&6; }
     4612if test "${ac_cv_prog_cc_stdc+set}" = set; then :
     4613  $as_echo_n "(cached) " >&6
    41534614else
    41544615  ac_cv_prog_cc_stdc=no
     
    41634624do
    41644625  CFLAGS="$ac_save_CFLAGS $ac_arg"
    4165   cat >conftest.$ac_ext <<_ACEOF
    4166 /* confdefs.h.  */
    4167 _ACEOF
    4168 cat confdefs.h >>conftest.$ac_ext
    4169 cat >>conftest.$ac_ext <<_ACEOF
     4626  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    41704627/* end confdefs.h.  */
    41714628#if !defined(__STDC__) || __STDC__ != 1
     
    41834640}
    41844641_ACEOF
    4185 rm -f conftest.$ac_objext
    4186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4187   (eval $ac_compile) 2>conftest.er1
    4188   ac_status=$?
    4189   grep -v '^ *+' conftest.er1 >conftest.err
    4190   rm -f conftest.er1
    4191   cat conftest.err >&5
    4192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4193   (exit $ac_status); } &&
    4194      { ac_try='test -z "$ac_c_werror_flag"
    4195              || test ! -s conftest.err'
    4196   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4197   (eval $ac_try) 2>&5
    4198   ac_status=$?
    4199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4200   (exit $ac_status); }; } &&
    4201      { ac_try='test -s conftest.$ac_objext'
    4202   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4203   (eval $ac_try) 2>&5
    4204   ac_status=$?
    4205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4206   (exit $ac_status); }; }; then
     4642if ac_fn_c_try_compile "$LINENO"; then :
    42074643  ac_cv_prog_cc_stdc="$ac_arg"; break
    4208 else
    4209   echo "$as_me: failed program was:" >&5
    4210 sed 's/^/| /' conftest.$ac_ext >&5
    4211 
    4212 fi
    4213 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4644fi
     4645rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    42144646done
    42154647CFLAGS="$ac_save_CFLAGS"
     
    42174649fi
    42184650
    4219 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
    4220 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
     4651{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
     4652$as_echo "$ac_cv_prog_cc_stdc" >&6; }
    42214653case "x$ac_cv_prog_cc_stdc" in
    42224654  x|xno) ;;
     
    42254657
    42264658
    4227 echo "$as_me:$LINENO: checking for function prototypes" >&5
    4228 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
     4659{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for function prototypes" >&5
     4660$as_echo_n "checking for function prototypes... " >&6; }
    42294661if test "$ac_cv_prog_cc_stdc" != no; then
    4230   echo "$as_me:$LINENO: result: yes" >&5
    4231 echo "${ECHO_T}yes" >&6
    4232   cat >>confdefs.h <<\_ACEOF
    4233 #define PROTOTYPES 1
    4234 _ACEOF
     4662  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     4663$as_echo "yes" >&6; }
     4664  $as_echo "#define PROTOTYPES 1" >>confdefs.h
    42354665
    42364666  U= ANSI2KNR=
    42374667else
    4238   echo "$as_me:$LINENO: result: no" >&5
    4239 echo "${ECHO_T}no" >&6
     4668  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     4669$as_echo "no" >&6; }
    42404670  U=_ ANSI2KNR=ansi2knr
    42414671fi
    42424672
    4243 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
    4244 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
    4245 if test "${ac_cv_c_const+set}" = set; then
    4246   echo $ECHO_N "(cached) $ECHO_C" >&6
    4247 else
    4248   cat >conftest.$ac_ext <<_ACEOF
    4249 /* confdefs.h.  */
    4250 _ACEOF
    4251 cat confdefs.h >>conftest.$ac_ext
    4252 cat >>conftest.$ac_ext <<_ACEOF
     4673{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
     4674$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
     4675if test "${ac_cv_c_const+set}" = set; then :
     4676  $as_echo_n "(cached) " >&6
     4677else
     4678  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    42534679/* end confdefs.h.  */
    42544680
     
    42604686  /* Ultrix mips cc rejects this.  */
    42614687  typedef int charset[2];
    4262   const charset x;
     4688  const charset cs;
    42634689  /* SunOS 4.1.1 cc rejects this.  */
    4264   char const *const *ccp;
    4265   char **p;
     4690  char const *const *pcpcc;
     4691  char **ppc;
    42664692  /* NEC SVR4.0.2 mips cc rejects this.  */
    42674693  struct point {int x, y;};
     
    42724698     expression */
    42734699  const char *g = "string";
    4274   ccp = &g + (g ? g-g : 0);
     4700  pcpcc = &g + (g ? g-g : 0);
    42754701  /* HPUX 7.0 cc rejects these. */
    4276   ++ccp;
    4277   p = (char**) ccp;
    4278   ccp = (char const *const *) p;
     4702  ++pcpcc;
     4703  ppc = (char**) pcpcc;
     4704  pcpcc = (char const *const *) ppc;
    42794705  { /* SCO 3.2v4 cc rejects this.  */
    42804706    char *t;
     
    42824708
    42834709    *t++ = 0;
     4710    if (s) return 0;
    42844711  }
    42854712  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
     
    43004727  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
    43014728    const int foo = 10;
     4729    if (!foo) return 0;
    43024730  }
     4731  return !cs[0] && !zero.x;
    43034732#endif
    43044733
     
    43074736}
    43084737_ACEOF
    4309 rm -f conftest.$ac_objext
    4310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4311   (eval $ac_compile) 2>conftest.er1
    4312   ac_status=$?
    4313   grep -v '^ *+' conftest.er1 >conftest.err
    4314   rm -f conftest.er1
    4315   cat conftest.err >&5
    4316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4317   (exit $ac_status); } &&
    4318      { ac_try='test -z "$ac_c_werror_flag"
    4319              || test ! -s conftest.err'
    4320   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4321   (eval $ac_try) 2>&5
    4322   ac_status=$?
    4323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4324   (exit $ac_status); }; } &&
    4325      { ac_try='test -s conftest.$ac_objext'
    4326   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4327   (eval $ac_try) 2>&5
    4328   ac_status=$?
    4329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4330   (exit $ac_status); }; }; then
     4738if ac_fn_c_try_compile "$LINENO"; then :
    43314739  ac_cv_c_const=yes
    43324740else
    4333   echo "$as_me: failed program was:" >&5
    4334 sed 's/^/| /' conftest.$ac_ext >&5
    4335 
    4336 ac_cv_c_const=no
    4337 fi
    4338 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4339 fi
    4340 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
    4341 echo "${ECHO_T}$ac_cv_c_const" >&6
     4741  ac_cv_c_const=no
     4742fi
     4743rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4744fi
     4745{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
     4746$as_echo "$ac_cv_c_const" >&6; }
    43424747if test $ac_cv_c_const = no; then
    43434748
    4344 cat >>confdefs.h <<\_ACEOF
    4345 #define const
    4346 _ACEOF
    4347 
    4348 fi
    4349 
    4350 echo "$as_me:$LINENO: checking for off_t" >&5
    4351 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
    4352 if test "${ac_cv_type_off_t+set}" = set; then
    4353   echo $ECHO_N "(cached) $ECHO_C" >&6
    4354 else
    4355   cat >conftest.$ac_ext <<_ACEOF
    4356 /* confdefs.h.  */
    4357 _ACEOF
    4358 cat confdefs.h >>conftest.$ac_ext
    4359 cat >>conftest.$ac_ext <<_ACEOF
    4360 /* end confdefs.h.  */
    4361 $ac_includes_default
    4362 int
    4363 main ()
    4364 {
    4365 if ((off_t *) 0)
    4366   return 0;
    4367 if (sizeof (off_t))
    4368   return 0;
    4369   ;
    4370   return 0;
    4371 }
    4372 _ACEOF
    4373 rm -f conftest.$ac_objext
    4374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4375   (eval $ac_compile) 2>conftest.er1
    4376   ac_status=$?
    4377   grep -v '^ *+' conftest.er1 >conftest.err
    4378   rm -f conftest.er1
    4379   cat conftest.err >&5
    4380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4381   (exit $ac_status); } &&
    4382      { ac_try='test -z "$ac_c_werror_flag"
    4383              || test ! -s conftest.err'
    4384   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4385   (eval $ac_try) 2>&5
    4386   ac_status=$?
    4387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4388   (exit $ac_status); }; } &&
    4389      { ac_try='test -s conftest.$ac_objext'
    4390   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4391   (eval $ac_try) 2>&5
    4392   ac_status=$?
    4393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4394   (exit $ac_status); }; }; then
    4395   ac_cv_type_off_t=yes
    4396 else
    4397   echo "$as_me: failed program was:" >&5
    4398 sed 's/^/| /' conftest.$ac_ext >&5
    4399 
    4400 ac_cv_type_off_t=no
    4401 fi
    4402 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4403 fi
    4404 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
    4405 echo "${ECHO_T}$ac_cv_type_off_t" >&6
    4406 if test $ac_cv_type_off_t = yes; then
    4407   :
     4749$as_echo "#define const /**/" >>confdefs.h
     4750
     4751fi
     4752
     4753ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
     4754if test "x$ac_cv_type_off_t" = x""yes; then :
     4755
    44084756else
    44094757
    44104758cat >>confdefs.h <<_ACEOF
    4411 #define off_t long
    4412 _ACEOF
    4413 
    4414 fi
    4415 
    4416 echo "$as_me:$LINENO: checking for size_t" >&5
    4417 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
    4418 if test "${ac_cv_type_size_t+set}" = set; then
    4419   echo $ECHO_N "(cached) $ECHO_C" >&6
    4420 else
    4421   cat >conftest.$ac_ext <<_ACEOF
    4422 /* confdefs.h.  */
    4423 _ACEOF
    4424 cat confdefs.h >>conftest.$ac_ext
    4425 cat >>conftest.$ac_ext <<_ACEOF
    4426 /* end confdefs.h.  */
    4427 $ac_includes_default
    4428 int
    4429 main ()
    4430 {
    4431 if ((size_t *) 0)
    4432   return 0;
    4433 if (sizeof (size_t))
    4434   return 0;
    4435   ;
    4436   return 0;
    4437 }
    4438 _ACEOF
    4439 rm -f conftest.$ac_objext
    4440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4441   (eval $ac_compile) 2>conftest.er1
    4442   ac_status=$?
    4443   grep -v '^ *+' conftest.er1 >conftest.err
    4444   rm -f conftest.er1
    4445   cat conftest.err >&5
    4446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4447   (exit $ac_status); } &&
    4448      { ac_try='test -z "$ac_c_werror_flag"
    4449              || test ! -s conftest.err'
    4450   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4451   (eval $ac_try) 2>&5
    4452   ac_status=$?
    4453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4454   (exit $ac_status); }; } &&
    4455      { ac_try='test -s conftest.$ac_objext'
    4456   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4457   (eval $ac_try) 2>&5
    4458   ac_status=$?
    4459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4460   (exit $ac_status); }; }; then
    4461   ac_cv_type_size_t=yes
    4462 else
    4463   echo "$as_me: failed program was:" >&5
    4464 sed 's/^/| /' conftest.$ac_ext >&5
    4465 
    4466 ac_cv_type_size_t=no
    4467 fi
    4468 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4469 fi
    4470 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
    4471 echo "${ECHO_T}$ac_cv_type_size_t" >&6
    4472 if test $ac_cv_type_size_t = yes; then
    4473   :
     4759#define off_t long int
     4760_ACEOF
     4761
     4762fi
     4763
     4764ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
     4765if test "x$ac_cv_type_size_t" = x""yes; then :
     4766
    44744767else
    44754768
    44764769cat >>confdefs.h <<_ACEOF
    4477 #define size_t unsigned
    4478 _ACEOF
    4479 
    4480 fi
    4481 
    4482 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
    4483 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
    4484 if test "${ac_cv_header_time+set}" = set; then
    4485   echo $ECHO_N "(cached) $ECHO_C" >&6
    4486 else
    4487   cat >conftest.$ac_ext <<_ACEOF
    4488 /* confdefs.h.  */
    4489 _ACEOF
    4490 cat confdefs.h >>conftest.$ac_ext
    4491 cat >>conftest.$ac_ext <<_ACEOF
     4770#define size_t unsigned int
     4771_ACEOF
     4772
     4773fi
     4774
     4775{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
     4776$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
     4777if test "${ac_cv_header_time+set}" = set; then :
     4778  $as_echo_n "(cached) " >&6
     4779else
     4780  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    44924781/* end confdefs.h.  */
    44934782#include <sys/types.h>
     
    45044793}
    45054794_ACEOF
    4506 rm -f conftest.$ac_objext
    4507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4508   (eval $ac_compile) 2>conftest.er1
    4509   ac_status=$?
    4510   grep -v '^ *+' conftest.er1 >conftest.err
    4511   rm -f conftest.er1
    4512   cat conftest.err >&5
    4513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4514   (exit $ac_status); } &&
    4515      { ac_try='test -z "$ac_c_werror_flag"
    4516              || test ! -s conftest.err'
    4517   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4518   (eval $ac_try) 2>&5
    4519   ac_status=$?
    4520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4521   (exit $ac_status); }; } &&
    4522      { ac_try='test -s conftest.$ac_objext'
    4523   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4524   (eval $ac_try) 2>&5
    4525   ac_status=$?
    4526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4527   (exit $ac_status); }; }; then
     4795if ac_fn_c_try_compile "$LINENO"; then :
    45284796  ac_cv_header_time=yes
    45294797else
    4530   echo "$as_me: failed program was:" >&5
    4531 sed 's/^/| /' conftest.$ac_ext >&5
    4532 
    4533 ac_cv_header_time=no
    4534 fi
    4535 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4536 fi
    4537 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
    4538 echo "${ECHO_T}$ac_cv_header_time" >&6
     4798  ac_cv_header_time=no
     4799fi
     4800rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4801fi
     4802{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
     4803$as_echo "$ac_cv_header_time" >&6; }
    45394804if test $ac_cv_header_time = yes; then
    45404805
    4541 cat >>confdefs.h <<\_ACEOF
    4542 #define TIME_WITH_SYS_TIME 1
    4543 _ACEOF
    4544 
    4545 fi
    4546 
    4547 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
    4548 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
    4549 if test "${ac_cv_struct_tm+set}" = set; then
    4550   echo $ECHO_N "(cached) $ECHO_C" >&6
    4551 else
    4552   cat >conftest.$ac_ext <<_ACEOF
    4553 /* confdefs.h.  */
    4554 _ACEOF
    4555 cat confdefs.h >>conftest.$ac_ext
    4556 cat >>conftest.$ac_ext <<_ACEOF
     4806$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
     4807
     4808fi
     4809
     4810{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
     4811$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
     4812if test "${ac_cv_struct_tm+set}" = set; then :
     4813  $as_echo_n "(cached) " >&6
     4814else
     4815  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    45574816/* end confdefs.h.  */
    45584817#include <sys/types.h>
     
    45624821main ()
    45634822{
    4564 struct tm *tp; tp->tm_sec;
     4823struct tm tm;
     4824                     int *p = &tm.tm_sec;
     4825                     return !p;
    45654826  ;
    45664827  return 0;
    45674828}
    45684829_ACEOF
    4569 rm -f conftest.$ac_objext
    4570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4571   (eval $ac_compile) 2>conftest.er1
    4572   ac_status=$?
    4573   grep -v '^ *+' conftest.er1 >conftest.err
    4574   rm -f conftest.er1
    4575   cat conftest.err >&5
    4576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4577   (exit $ac_status); } &&
    4578      { ac_try='test -z "$ac_c_werror_flag"
    4579              || test ! -s conftest.err'
    4580   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4581   (eval $ac_try) 2>&5
    4582   ac_status=$?
    4583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4584   (exit $ac_status); }; } &&
    4585      { ac_try='test -s conftest.$ac_objext'
    4586   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4587   (eval $ac_try) 2>&5
    4588   ac_status=$?
    4589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4590   (exit $ac_status); }; }; then
     4830if ac_fn_c_try_compile "$LINENO"; then :
    45914831  ac_cv_struct_tm=time.h
    45924832else
    4593   echo "$as_me: failed program was:" >&5
    4594 sed 's/^/| /' conftest.$ac_ext >&5
    4595 
    4596 ac_cv_struct_tm=sys/time.h
    4597 fi
    4598 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4599 fi
    4600 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
    4601 echo "${ECHO_T}$ac_cv_struct_tm" >&6
     4833  ac_cv_struct_tm=sys/time.h
     4834fi
     4835rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4836fi
     4837{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
     4838$as_echo "$ac_cv_struct_tm" >&6; }
    46024839if test $ac_cv_struct_tm = sys/time.h; then
    46034840
    4604 cat >>confdefs.h <<\_ACEOF
    4605 #define TM_IN_SYS_TIME 1
    4606 _ACEOF
     4841$as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
    46074842
    46084843fi
     
    46104845
    46114846if test "$ac_cv_prog_cc_stdc" = '-Xc'; then
    4612 cat >conftest.$ac_ext <<_ACEOF
    4613 /* confdefs.h.  */
    4614 _ACEOF
    4615 cat confdefs.h >>conftest.$ac_ext
    4616 cat >>conftest.$ac_ext <<_ACEOF
     4847cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    46174848/* end confdefs.h.  */
    46184849#include <stdio.h>
     
    46264857}
    46274858_ACEOF
    4628 rm -f conftest.$ac_objext
    4629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4630   (eval $ac_compile) 2>conftest.er1
    4631   ac_status=$?
    4632   grep -v '^ *+' conftest.er1 >conftest.err
    4633   rm -f conftest.er1
    4634   cat conftest.err >&5
    4635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4636   (exit $ac_status); } &&
    4637      { ac_try='test -z "$ac_c_werror_flag"
    4638              || test ! -s conftest.err'
    4639   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4640   (eval $ac_try) 2>&5
    4641   ac_status=$?
    4642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4643   (exit $ac_status); }; } &&
    4644      { ac_try='test -s conftest.$ac_objext'
    4645   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4646   (eval $ac_try) 2>&5
    4647   ac_status=$?
    4648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4649   (exit $ac_status); }; }; then
    4650   :
    4651 else
    4652   echo "$as_me: failed program was:" >&5
    4653 sed 's/^/| /' conftest.$ac_ext >&5
    4654 
    4655 CC="`echo $CC | sed 's/-Xc/-Xa/'`"    ac_cv_prog_cc_stdc='-Xa'
    4656 fi
    4657 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4658 fi
    4659 
    4660 
    4661 
    4662 echo "$as_me:$LINENO: checking for main in -lg" >&5
    4663 echo $ECHO_N "checking for main in -lg... $ECHO_C" >&6
    4664 if test "${ac_cv_lib_g_main+set}" = set; then
    4665   echo $ECHO_N "(cached) $ECHO_C" >&6
     4859if ac_fn_c_try_compile "$LINENO"; then :
     4860
     4861else
     4862  CC="`echo $CC | sed 's/-Xc/-Xa/'`"    ac_cv_prog_cc_stdc='-Xa'
     4863fi
     4864rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4865fi
     4866
     4867
     4868{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lg" >&5
     4869$as_echo_n "checking for main in -lg... " >&6; }
     4870if test "${ac_cv_lib_g_main+set}" = set; then :
     4871  $as_echo_n "(cached) " >&6
    46664872else
    46674873  ac_check_lib_save_LIBS=$LIBS
    46684874LIBS="-lg  $LIBS"
    4669 cat >conftest.$ac_ext <<_ACEOF
    4670 /* confdefs.h.  */
    4671 _ACEOF
    4672 cat confdefs.h >>conftest.$ac_ext
    4673 cat >>conftest.$ac_ext <<_ACEOF
     4875cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    46744876/* end confdefs.h.  */
    46754877
     
    46784880main ()
    46794881{
    4680 main ();
     4882return main ();
    46814883  ;
    46824884  return 0;
    46834885}
    46844886_ACEOF
    4685 rm -f conftest.$ac_objext conftest$ac_exeext
    4686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4687   (eval $ac_link) 2>conftest.er1
    4688   ac_status=$?
    4689   grep -v '^ *+' conftest.er1 >conftest.err
    4690   rm -f conftest.er1
    4691   cat conftest.err >&5
    4692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4693   (exit $ac_status); } &&
    4694      { ac_try='test -z "$ac_c_werror_flag"
    4695              || test ! -s conftest.err'
    4696   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4697   (eval $ac_try) 2>&5
    4698   ac_status=$?
    4699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4700   (exit $ac_status); }; } &&
    4701      { ac_try='test -s conftest$ac_exeext'
    4702   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4703   (eval $ac_try) 2>&5
    4704   ac_status=$?
    4705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4706   (exit $ac_status); }; }; then
     4887if ac_fn_c_try_link "$LINENO"; then :
    47074888  ac_cv_lib_g_main=yes
    47084889else
    4709   echo "$as_me: failed program was:" >&5
    4710 sed 's/^/| /' conftest.$ac_ext >&5
    4711 
    4712 ac_cv_lib_g_main=no
    4713 fi
    4714 rm -f conftest.err conftest.$ac_objext \
    4715       conftest$ac_exeext conftest.$ac_ext
     4890  ac_cv_lib_g_main=no
     4891fi
     4892rm -f core conftest.err conftest.$ac_objext \
     4893    conftest$ac_exeext conftest.$ac_ext
    47164894LIBS=$ac_check_lib_save_LIBS
    47174895fi
    4718 echo "$as_me:$LINENO: result: $ac_cv_lib_g_main" >&5
    4719 echo "${ECHO_T}$ac_cv_lib_g_main" >&6
    4720 if test $ac_cv_lib_g_main = yes; then
     4896{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_g_main" >&5
     4897$as_echo "$ac_cv_lib_g_main" >&6; }
     4898if test "x$ac_cv_lib_g_main" = x""yes; then :
    47214899  cat >>confdefs.h <<_ACEOF
    47224900#define HAVE_LIBG 1
     
    47284906ac_cv_lib_g=ac_cv_lib_g_main
    47294907
    4730 
    4731 echo "$as_me:$LINENO: checking for main in -lm" >&5
    4732 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
    4733 if test "${ac_cv_lib_m_main+set}" = set; then
    4734   echo $ECHO_N "(cached) $ECHO_C" >&6
     4908{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5
     4909$as_echo_n "checking for main in -lm... " >&6; }
     4910if test "${ac_cv_lib_m_main+set}" = set; then :
     4911  $as_echo_n "(cached) " >&6
    47354912else
    47364913  ac_check_lib_save_LIBS=$LIBS
    47374914LIBS="-lm  $LIBS"
    4738 cat >conftest.$ac_ext <<_ACEOF
    4739 /* confdefs.h.  */
    4740 _ACEOF
    4741 cat confdefs.h >>conftest.$ac_ext
    4742 cat >>conftest.$ac_ext <<_ACEOF
     4915cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    47434916/* end confdefs.h.  */
    47444917
     
    47474920main ()
    47484921{
    4749 main ();
     4922return main ();
    47504923  ;
    47514924  return 0;
    47524925}
    47534926_ACEOF
    4754 rm -f conftest.$ac_objext conftest$ac_exeext
    4755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4756   (eval $ac_link) 2>conftest.er1
    4757   ac_status=$?
    4758   grep -v '^ *+' conftest.er1 >conftest.err
    4759   rm -f conftest.er1
    4760   cat conftest.err >&5
    4761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4762   (exit $ac_status); } &&
    4763      { ac_try='test -z "$ac_c_werror_flag"
    4764              || test ! -s conftest.err'
    4765   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4766   (eval $ac_try) 2>&5
    4767   ac_status=$?
    4768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4769   (exit $ac_status); }; } &&
    4770      { ac_try='test -s conftest$ac_exeext'
    4771   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4772   (eval $ac_try) 2>&5
    4773   ac_status=$?
    4774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4775   (exit $ac_status); }; }; then
     4927if ac_fn_c_try_link "$LINENO"; then :
    47764928  ac_cv_lib_m_main=yes
    47774929else
    4778   echo "$as_me: failed program was:" >&5
    4779 sed 's/^/| /' conftest.$ac_ext >&5
    4780 
    4781 ac_cv_lib_m_main=no
    4782 fi
    4783 rm -f conftest.err conftest.$ac_objext \
    4784       conftest$ac_exeext conftest.$ac_ext
     4930  ac_cv_lib_m_main=no
     4931fi
     4932rm -f core conftest.err conftest.$ac_objext \
     4933    conftest$ac_exeext conftest.$ac_ext
    47854934LIBS=$ac_check_lib_save_LIBS
    47864935fi
    4787 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
    4788 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
    4789 if test $ac_cv_lib_m_main = yes; then
     4936{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5
     4937$as_echo "$ac_cv_lib_m_main" >&6; }
     4938if test "x$ac_cv_lib_m_main" = x""yes; then :
    47904939  cat >>confdefs.h <<_ACEOF
    47914940#define HAVE_LIBM 1
     
    47974946ac_cv_lib_m=ac_cv_lib_m_main
    47984947
    4799 
    4800 echo "$as_me:$LINENO: checking for main in -lcrypt" >&5
    4801 echo $ECHO_N "checking for main in -lcrypt... $ECHO_C" >&6
    4802 if test "${ac_cv_lib_crypt_main+set}" = set; then
    4803   echo $ECHO_N "(cached) $ECHO_C" >&6
     4948{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lcrypt" >&5
     4949$as_echo_n "checking for main in -lcrypt... " >&6; }
     4950if test "${ac_cv_lib_crypt_main+set}" = set; then :
     4951  $as_echo_n "(cached) " >&6
    48044952else
    48054953  ac_check_lib_save_LIBS=$LIBS
    48064954LIBS="-lcrypt  $LIBS"
    4807 cat >conftest.$ac_ext <<_ACEOF
    4808 /* confdefs.h.  */
    4809 _ACEOF
    4810 cat confdefs.h >>conftest.$ac_ext
    4811 cat >>conftest.$ac_ext <<_ACEOF
     4955cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    48124956/* end confdefs.h.  */
    48134957
     
    48164960main ()
    48174961{
    4818 main ();
     4962return main ();
    48194963  ;
    48204964  return 0;
    48214965}
    48224966_ACEOF
    4823 rm -f conftest.$ac_objext conftest$ac_exeext
    4824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4825   (eval $ac_link) 2>conftest.er1
    4826   ac_status=$?
    4827   grep -v '^ *+' conftest.er1 >conftest.err
    4828   rm -f conftest.er1
    4829   cat conftest.err >&5
    4830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4831   (exit $ac_status); } &&
    4832      { ac_try='test -z "$ac_c_werror_flag"
    4833              || test ! -s conftest.err'
    4834   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4835   (eval $ac_try) 2>&5
    4836   ac_status=$?
    4837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4838   (exit $ac_status); }; } &&
    4839      { ac_try='test -s conftest$ac_exeext'
    4840   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4841   (eval $ac_try) 2>&5
    4842   ac_status=$?
    4843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4844   (exit $ac_status); }; }; then
     4967if ac_fn_c_try_link "$LINENO"; then :
    48454968  ac_cv_lib_crypt_main=yes
    48464969else
    4847   echo "$as_me: failed program was:" >&5
    4848 sed 's/^/| /' conftest.$ac_ext >&5
    4849 
    4850 ac_cv_lib_crypt_main=no
    4851 fi
    4852 rm -f conftest.err conftest.$ac_objext \
    4853       conftest$ac_exeext conftest.$ac_ext
     4970  ac_cv_lib_crypt_main=no
     4971fi
     4972rm -f core conftest.err conftest.$ac_objext \
     4973    conftest$ac_exeext conftest.$ac_ext
    48544974LIBS=$ac_check_lib_save_LIBS
    48554975fi
    4856 echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&5
    4857 echo "${ECHO_T}$ac_cv_lib_crypt_main" >&6
    4858 if test $ac_cv_lib_crypt_main = yes; then
     4976{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypt_main" >&5
     4977$as_echo "$ac_cv_lib_crypt_main" >&6; }
     4978if test "x$ac_cv_lib_crypt_main" = x""yes; then :
    48594979  cat >>confdefs.h <<_ACEOF
    48604980#define HAVE_LIBCRYPT 1
     
    48704990#fi
    48714991
    4872 
    4873 
    4874 
    4875 
    4876 
    48774992ac_header_dirent=no
    48784993for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
    4879   as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
    4880 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
    4881 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
    4882 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    4883   echo $ECHO_N "(cached) $ECHO_C" >&6
    4884 else
    4885   cat >conftest.$ac_ext <<_ACEOF
    4886 /* confdefs.h.  */
    4887 _ACEOF
    4888 cat confdefs.h >>conftest.$ac_ext
    4889 cat >>conftest.$ac_ext <<_ACEOF
     4994  as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
     4995{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
     4996$as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
     4997if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then :
     4998  $as_echo_n "(cached) " >&6
     4999else
     5000  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    48905001/* end confdefs.h.  */
    48915002#include <sys/types.h>
     
    49015012}
    49025013_ACEOF
    4903 rm -f conftest.$ac_objext
    4904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    4905   (eval $ac_compile) 2>conftest.er1
    4906   ac_status=$?
    4907   grep -v '^ *+' conftest.er1 >conftest.err
    4908   rm -f conftest.er1
    4909   cat conftest.err >&5
    4910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4911   (exit $ac_status); } &&
    4912      { ac_try='test -z "$ac_c_werror_flag"
    4913              || test ! -s conftest.err'
    4914   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4915   (eval $ac_try) 2>&5
    4916   ac_status=$?
    4917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4918   (exit $ac_status); }; } &&
    4919      { ac_try='test -s conftest.$ac_objext'
    4920   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4921   (eval $ac_try) 2>&5
    4922   ac_status=$?
    4923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4924   (exit $ac_status); }; }; then
     5014if ac_fn_c_try_compile "$LINENO"; then :
    49255015  eval "$as_ac_Header=yes"
    49265016else
    4927   echo "$as_me: failed program was:" >&5
    4928 sed 's/^/| /' conftest.$ac_ext >&5
    4929 
    4930 eval "$as_ac_Header=no"
    4931 fi
    4932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    4933 fi
    4934 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    4935 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    4936 if test `eval echo '${'$as_ac_Header'}'` = yes; then
     5017  eval "$as_ac_Header=no"
     5018fi
     5019rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5020fi
     5021eval ac_res=\$$as_ac_Header
     5022           { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     5023$as_echo "$ac_res" >&6; }
     5024eval as_val=\$$as_ac_Header
     5025   if test "x$as_val" = x""yes; then :
    49375026  cat >>confdefs.h <<_ACEOF
    4938 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
     5027#define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
    49395028_ACEOF
    49405029
     
    49455034# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
    49465035if test $ac_header_dirent = dirent.h; then
    4947   echo "$as_me:$LINENO: checking for library containing opendir" >&5
    4948 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
    4949 if test "${ac_cv_search_opendir+set}" = set; then
    4950   echo $ECHO_N "(cached) $ECHO_C" >&6
     5036  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
     5037$as_echo_n "checking for library containing opendir... " >&6; }
     5038if test "${ac_cv_search_opendir+set}" = set; then :
     5039  $as_echo_n "(cached) " >&6
    49515040else
    49525041  ac_func_search_save_LIBS=$LIBS
    4953 ac_cv_search_opendir=no
    4954 cat >conftest.$ac_ext <<_ACEOF
    4955 /* confdefs.h.  */
    4956 _ACEOF
    4957 cat confdefs.h >>conftest.$ac_ext
    4958 cat >>conftest.$ac_ext <<_ACEOF
     5042cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    49595043/* end confdefs.h.  */
    49605044
    4961 /* Override any gcc2 internal prototype to avoid an error.  */
     5045/* Override any GCC internal prototype to avoid an error.
     5046   Use char because int might match the return type of a GCC
     5047   builtin and then its argument prototype would still apply.  */
    49625048#ifdef __cplusplus
    49635049extern "C"
    49645050#endif
    4965 /* We use char because int might match the return type of a gcc2
    4966    builtin and then its argument prototype would still apply.  */
    49675051char opendir ();
    49685052int
    49695053main ()
    49705054{
    4971 opendir ();
     5055return opendir ();
    49725056  ;
    49735057  return 0;
    49745058}
    49755059_ACEOF
    4976 rm -f conftest.$ac_objext conftest$ac_exeext
    4977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    4978   (eval $ac_link) 2>conftest.er1
    4979   ac_status=$?
    4980   grep -v '^ *+' conftest.er1 >conftest.err
    4981   rm -f conftest.er1
    4982   cat conftest.err >&5
    4983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4984   (exit $ac_status); } &&
    4985      { ac_try='test -z "$ac_c_werror_flag"
    4986              || test ! -s conftest.err'
    4987   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4988   (eval $ac_try) 2>&5
    4989   ac_status=$?
    4990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4991   (exit $ac_status); }; } &&
    4992      { ac_try='test -s conftest$ac_exeext'
    4993   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    4994   (eval $ac_try) 2>&5
    4995   ac_status=$?
    4996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4997   (exit $ac_status); }; }; then
    4998   ac_cv_search_opendir="none required"
    4999 else
    5000   echo "$as_me: failed program was:" >&5
    5001 sed 's/^/| /' conftest.$ac_ext >&5
    5002 
    5003 fi
    5004 rm -f conftest.err conftest.$ac_objext \
    5005       conftest$ac_exeext conftest.$ac_ext
    5006 if test "$ac_cv_search_opendir" = no; then
    5007   for ac_lib in dir; do
     5060for ac_lib in '' dir; do
     5061  if test -z "$ac_lib"; then
     5062    ac_res="none required"
     5063  else
     5064    ac_res=-l$ac_lib
    50085065    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
    5009     cat >conftest.$ac_ext <<_ACEOF
    5010 /* confdefs.h.  */
    5011 _ACEOF
    5012 cat confdefs.h >>conftest.$ac_ext
    5013 cat >>conftest.$ac_ext <<_ACEOF
     5066  fi
     5067  if ac_fn_c_try_link "$LINENO"; then :
     5068  ac_cv_search_opendir=$ac_res
     5069fi
     5070rm -f core conftest.err conftest.$ac_objext \
     5071    conftest$ac_exeext
     5072  if test "${ac_cv_search_opendir+set}" = set; then :
     5073  break
     5074fi
     5075done
     5076if test "${ac_cv_search_opendir+set}" = set; then :
     5077
     5078else
     5079  ac_cv_search_opendir=no
     5080fi
     5081rm conftest.$ac_ext
     5082LIBS=$ac_func_search_save_LIBS
     5083fi
     5084{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
     5085$as_echo "$ac_cv_search_opendir" >&6; }
     5086ac_res=$ac_cv_search_opendir
     5087if test "$ac_res" != no; then :
     5088  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
     5089
     5090fi
     5091
     5092else
     5093  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
     5094$as_echo_n "checking for library containing opendir... " >&6; }
     5095if test "${ac_cv_search_opendir+set}" = set; then :
     5096  $as_echo_n "(cached) " >&6
     5097else
     5098  ac_func_search_save_LIBS=$LIBS
     5099cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    50145100/* end confdefs.h.  */
    50155101
    5016 /* Override any gcc2 internal prototype to avoid an error.  */
     5102/* Override any GCC internal prototype to avoid an error.
     5103   Use char because int might match the return type of a GCC
     5104   builtin and then its argument prototype would still apply.  */
    50175105#ifdef __cplusplus
    50185106extern "C"
    50195107#endif
    5020 /* We use char because int might match the return type of a gcc2
    5021    builtin and then its argument prototype would still apply.  */
    50225108char opendir ();
    50235109int
    50245110main ()
    50255111{
    5026 opendir ();
     5112return opendir ();
    50275113  ;
    50285114  return 0;
    50295115}
    50305116_ACEOF
    5031 rm -f conftest.$ac_objext conftest$ac_exeext
    5032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5033   (eval $ac_link) 2>conftest.er1
    5034   ac_status=$?
    5035   grep -v '^ *+' conftest.er1 >conftest.err
    5036   rm -f conftest.er1
    5037   cat conftest.err >&5
    5038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5039   (exit $ac_status); } &&
    5040      { ac_try='test -z "$ac_c_werror_flag"
    5041              || test ! -s conftest.err'
    5042   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5043   (eval $ac_try) 2>&5
    5044   ac_status=$?
    5045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5046   (exit $ac_status); }; } &&
    5047      { ac_try='test -s conftest$ac_exeext'
    5048   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5049   (eval $ac_try) 2>&5
    5050   ac_status=$?
    5051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5052   (exit $ac_status); }; }; then
    5053   ac_cv_search_opendir="-l$ac_lib"
    5054 break
    5055 else
    5056   echo "$as_me: failed program was:" >&5
    5057 sed 's/^/| /' conftest.$ac_ext >&5
    5058 
    5059 fi
    5060 rm -f conftest.err conftest.$ac_objext \
    5061       conftest$ac_exeext conftest.$ac_ext
    5062   done
    5063 fi
     5117for ac_lib in '' x; do
     5118  if test -z "$ac_lib"; then
     5119    ac_res="none required"
     5120  else
     5121    ac_res=-l$ac_lib
     5122    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
     5123  fi
     5124  if ac_fn_c_try_link "$LINENO"; then :
     5125  ac_cv_search_opendir=$ac_res
     5126fi
     5127rm -f core conftest.err conftest.$ac_objext \
     5128    conftest$ac_exeext
     5129  if test "${ac_cv_search_opendir+set}" = set; then :
     5130  break
     5131fi
     5132done
     5133if test "${ac_cv_search_opendir+set}" = set; then :
     5134
     5135else
     5136  ac_cv_search_opendir=no
     5137fi
     5138rm conftest.$ac_ext
    50645139LIBS=$ac_func_search_save_LIBS
    50655140fi
    5066 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
    5067 echo "${ECHO_T}$ac_cv_search_opendir" >&6
    5068 if test "$ac_cv_search_opendir" != no; then
    5069   test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
    5070 
    5071 fi
    5072 
    5073 else
    5074   echo "$as_me:$LINENO: checking for library containing opendir" >&5
    5075 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
    5076 if test "${ac_cv_search_opendir+set}" = set; then
    5077   echo $ECHO_N "(cached) $ECHO_C" >&6
    5078 else
    5079   ac_func_search_save_LIBS=$LIBS
    5080 ac_cv_search_opendir=no
    5081 cat >conftest.$ac_ext <<_ACEOF
    5082 /* confdefs.h.  */
    5083 _ACEOF
    5084 cat confdefs.h >>conftest.$ac_ext
    5085 cat >>conftest.$ac_ext <<_ACEOF
    5086 /* end confdefs.h.  */
    5087 
    5088 /* Override any gcc2 internal prototype to avoid an error.  */
    5089 #ifdef __cplusplus
    5090 extern "C"
    5091 #endif
    5092 /* We use char because int might match the return type of a gcc2
    5093    builtin and then its argument prototype would still apply.  */
    5094 char opendir ();
    5095 int
    5096 main ()
    5097 {
    5098 opendir ();
    5099   ;
    5100   return 0;
    5101 }
    5102 _ACEOF
    5103 rm -f conftest.$ac_objext conftest$ac_exeext
    5104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5105   (eval $ac_link) 2>conftest.er1
    5106   ac_status=$?
    5107   grep -v '^ *+' conftest.er1 >conftest.err
    5108   rm -f conftest.er1
    5109   cat conftest.err >&5
    5110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5111   (exit $ac_status); } &&
    5112      { ac_try='test -z "$ac_c_werror_flag"
    5113              || test ! -s conftest.err'
    5114   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5115   (eval $ac_try) 2>&5
    5116   ac_status=$?
    5117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5118   (exit $ac_status); }; } &&
    5119      { ac_try='test -s conftest$ac_exeext'
    5120   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5121   (eval $ac_try) 2>&5
    5122   ac_status=$?
    5123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5124   (exit $ac_status); }; }; then
    5125   ac_cv_search_opendir="none required"
    5126 else
    5127   echo "$as_me: failed program was:" >&5
    5128 sed 's/^/| /' conftest.$ac_ext >&5
    5129 
    5130 fi
    5131 rm -f conftest.err conftest.$ac_objext \
    5132       conftest$ac_exeext conftest.$ac_ext
    5133 if test "$ac_cv_search_opendir" = no; then
    5134   for ac_lib in x; do
    5135     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
    5136     cat >conftest.$ac_ext <<_ACEOF
    5137 /* confdefs.h.  */
    5138 _ACEOF
    5139 cat confdefs.h >>conftest.$ac_ext
    5140 cat >>conftest.$ac_ext <<_ACEOF
    5141 /* end confdefs.h.  */
    5142 
    5143 /* Override any gcc2 internal prototype to avoid an error.  */
    5144 #ifdef __cplusplus
    5145 extern "C"
    5146 #endif
    5147 /* We use char because int might match the return type of a gcc2
    5148    builtin and then its argument prototype would still apply.  */
    5149 char opendir ();
    5150 int
    5151 main ()
    5152 {
    5153 opendir ();
    5154   ;
    5155   return 0;
    5156 }
    5157 _ACEOF
    5158 rm -f conftest.$ac_objext conftest$ac_exeext
    5159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5160   (eval $ac_link) 2>conftest.er1
    5161   ac_status=$?
    5162   grep -v '^ *+' conftest.er1 >conftest.err
    5163   rm -f conftest.er1
    5164   cat conftest.err >&5
    5165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5166   (exit $ac_status); } &&
    5167      { ac_try='test -z "$ac_c_werror_flag"
    5168              || test ! -s conftest.err'
    5169   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5170   (eval $ac_try) 2>&5
    5171   ac_status=$?
    5172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5173   (exit $ac_status); }; } &&
    5174      { ac_try='test -s conftest$ac_exeext'
    5175   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5176   (eval $ac_try) 2>&5
    5177   ac_status=$?
    5178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5179   (exit $ac_status); }; }; then
    5180   ac_cv_search_opendir="-l$ac_lib"
    5181 break
    5182 else
    5183   echo "$as_me: failed program was:" >&5
    5184 sed 's/^/| /' conftest.$ac_ext >&5
    5185 
    5186 fi
    5187 rm -f conftest.err conftest.$ac_objext \
    5188       conftest$ac_exeext conftest.$ac_ext
    5189   done
    5190 fi
    5191 LIBS=$ac_func_search_save_LIBS
    5192 fi
    5193 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
    5194 echo "${ECHO_T}$ac_cv_search_opendir" >&6
    5195 if test "$ac_cv_search_opendir" != no; then
    5196   test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
    5197 
    5198 fi
    5199 
    5200 fi
    5201 
    5202 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
    5203 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
    5204 if test "${ac_cv_header_stdc+set}" = set; then
    5205   echo $ECHO_N "(cached) $ECHO_C" >&6
    5206 else
    5207   cat >conftest.$ac_ext <<_ACEOF
    5208 /* confdefs.h.  */
    5209 _ACEOF
    5210 cat confdefs.h >>conftest.$ac_ext
    5211 cat >>conftest.$ac_ext <<_ACEOF
     5141{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
     5142$as_echo "$ac_cv_search_opendir" >&6; }
     5143ac_res=$ac_cv_search_opendir
     5144if test "$ac_res" != no; then :
     5145  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
     5146
     5147fi
     5148
     5149fi
     5150
     5151{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
     5152$as_echo_n "checking for ANSI C header files... " >&6; }
     5153if test "${ac_cv_header_stdc+set}" = set; then :
     5154  $as_echo_n "(cached) " >&6
     5155else
     5156  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    52125157/* end confdefs.h.  */
    52135158#include <stdlib.h>
     
    52245169}
    52255170_ACEOF
    5226 rm -f conftest.$ac_objext
    5227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    5228   (eval $ac_compile) 2>conftest.er1
    5229   ac_status=$?
    5230   grep -v '^ *+' conftest.er1 >conftest.err
    5231   rm -f conftest.er1
    5232   cat conftest.err >&5
    5233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5234   (exit $ac_status); } &&
    5235      { ac_try='test -z "$ac_c_werror_flag"
    5236              || test ! -s conftest.err'
    5237   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5238   (eval $ac_try) 2>&5
    5239   ac_status=$?
    5240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5241   (exit $ac_status); }; } &&
    5242      { ac_try='test -s conftest.$ac_objext'
    5243   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5244   (eval $ac_try) 2>&5
    5245   ac_status=$?
    5246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5247   (exit $ac_status); }; }; then
     5171if ac_fn_c_try_compile "$LINENO"; then :
    52485172  ac_cv_header_stdc=yes
    52495173else
    5250   echo "$as_me: failed program was:" >&5
    5251 sed 's/^/| /' conftest.$ac_ext >&5
    5252 
    5253 ac_cv_header_stdc=no
    5254 fi
    5255 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     5174  ac_cv_header_stdc=no
     5175fi
     5176rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    52565177
    52575178if test $ac_cv_header_stdc = yes; then
    52585179  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    5259   cat >conftest.$ac_ext <<_ACEOF
    5260 /* confdefs.h.  */
    5261 _ACEOF
    5262 cat confdefs.h >>conftest.$ac_ext
    5263 cat >>conftest.$ac_ext <<_ACEOF
     5180  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    52645181/* end confdefs.h.  */
    52655182#include <string.h>
     
    52675184_ACEOF
    52685185if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    5269   $EGREP "memchr" >/dev/null 2>&1; then
    5270   :
     5186  $EGREP "memchr" >/dev/null 2>&1; then :
     5187
    52715188else
    52725189  ac_cv_header_stdc=no
     
    52785195if test $ac_cv_header_stdc = yes; then
    52795196  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    5280   cat >conftest.$ac_ext <<_ACEOF
    5281 /* confdefs.h.  */
    5282 _ACEOF
    5283 cat confdefs.h >>conftest.$ac_ext
    5284 cat >>conftest.$ac_ext <<_ACEOF
     5197  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    52855198/* end confdefs.h.  */
    52865199#include <stdlib.h>
     
    52885201_ACEOF
    52895202if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    5290   $EGREP "free" >/dev/null 2>&1; then
    5291   :
     5203  $EGREP "free" >/dev/null 2>&1; then :
     5204
    52925205else
    52935206  ac_cv_header_stdc=no
     
    52995212if test $ac_cv_header_stdc = yes; then
    53005213  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
    5301   if test "$cross_compiling" = yes; then
     5214  if test "$cross_compiling" = yes; then :
    53025215  :
    53035216else
    5304   cat >conftest.$ac_ext <<_ACEOF
    5305 /* confdefs.h.  */
    5306 _ACEOF
    5307 cat confdefs.h >>conftest.$ac_ext
    5308 cat >>conftest.$ac_ext <<_ACEOF
     5217  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    53095218/* end confdefs.h.  */
    53105219#include <ctype.h>
     5220#include <stdlib.h>
    53115221#if ((' ' & 0x0FF) == 0x020)
    53125222# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
     
    53285238    if (XOR (islower (i), ISLOWER (i))
    53295239    || toupper (i) != TOUPPER (i))
    5330       exit(2);
    5331   exit (0);
     5240      return 2;
     5241  return 0;
    53325242}
    53335243_ACEOF
    5334 rm -f conftest$ac_exeext
    5335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5336   (eval $ac_link) 2>&5
    5337   ac_status=$?
    5338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5339   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    5340   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5341   (eval $ac_try) 2>&5
    5342   ac_status=$?
    5343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5344   (exit $ac_status); }; }; then
    5345   :
    5346 else
    5347   echo "$as_me: program exited with status $ac_status" >&5
    5348 echo "$as_me: failed program was:" >&5
    5349 sed 's/^/| /' conftest.$ac_ext >&5
    5350 
    5351 ( exit $ac_status )
    5352 ac_cv_header_stdc=no
    5353 fi
    5354 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    5355 fi
    5356 fi
    5357 fi
    5358 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
    5359 echo "${ECHO_T}$ac_cv_header_stdc" >&6
     5244if ac_fn_c_try_run "$LINENO"; then :
     5245
     5246else
     5247  ac_cv_header_stdc=no
     5248fi
     5249rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     5250  conftest.$ac_objext conftest.beam conftest.$ac_ext
     5251fi
     5252
     5253fi
     5254fi
     5255{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
     5256$as_echo "$ac_cv_header_stdc" >&6; }
    53605257if test $ac_cv_header_stdc = yes; then
    53615258
    5362 cat >>confdefs.h <<\_ACEOF
    5363 #define STDC_HEADERS 1
    5364 _ACEOF
    5365 
    5366 fi
    5367 
    5368 
    5369 
    5370 
    5371 
    5372 
    5373 
    5374 
    5375 
     5259$as_echo "#define STDC_HEADERS 1" >>confdefs.h
     5260
     5261fi
    53765262
    53775263for ac_header in fcntl.h limits.h sys/time.h unistd.h crypt.h string.h memory.h sys/procfs.h sys/stat.h
    5378 do
    5379 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    5380 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    5381   echo "$as_me:$LINENO: checking for $ac_header" >&5
    5382 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    5383 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    5384   echo $ECHO_N "(cached) $ECHO_C" >&6
    5385 fi
    5386 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    5387 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    5388 else
    5389   # Is the header compilable?
    5390 echo "$as_me:$LINENO: checking $ac_header usability" >&5
    5391 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
    5392 cat >conftest.$ac_ext <<_ACEOF
    5393 /* confdefs.h.  */
    5394 _ACEOF
    5395 cat confdefs.h >>conftest.$ac_ext
    5396 cat >>conftest.$ac_ext <<_ACEOF
    5397 /* end confdefs.h.  */
    5398 $ac_includes_default
    5399 #include <$ac_header>
    5400 _ACEOF
    5401 rm -f conftest.$ac_objext
    5402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    5403   (eval $ac_compile) 2>conftest.er1
    5404   ac_status=$?
    5405   grep -v '^ *+' conftest.er1 >conftest.err
    5406   rm -f conftest.er1
    5407   cat conftest.err >&5
    5408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5409   (exit $ac_status); } &&
    5410      { ac_try='test -z "$ac_c_werror_flag"
    5411              || test ! -s conftest.err'
    5412   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5413   (eval $ac_try) 2>&5
    5414   ac_status=$?
    5415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5416   (exit $ac_status); }; } &&
    5417      { ac_try='test -s conftest.$ac_objext'
    5418   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5419   (eval $ac_try) 2>&5
    5420   ac_status=$?
    5421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5422   (exit $ac_status); }; }; then
    5423   ac_header_compiler=yes
    5424 else
    5425   echo "$as_me: failed program was:" >&5
    5426 sed 's/^/| /' conftest.$ac_ext >&5
    5427 
    5428 ac_header_compiler=no
    5429 fi
    5430 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    5431 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    5432 echo "${ECHO_T}$ac_header_compiler" >&6
    5433 
    5434 # Is the header present?
    5435 echo "$as_me:$LINENO: checking $ac_header presence" >&5
    5436 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
    5437 cat >conftest.$ac_ext <<_ACEOF
    5438 /* confdefs.h.  */
    5439 _ACEOF
    5440 cat confdefs.h >>conftest.$ac_ext
    5441 cat >>conftest.$ac_ext <<_ACEOF
    5442 /* end confdefs.h.  */
    5443 #include <$ac_header>
    5444 _ACEOF
    5445 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
    5446   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
    5447   ac_status=$?
    5448   grep -v '^ *+' conftest.er1 >conftest.err
    5449   rm -f conftest.er1
    5450   cat conftest.err >&5
    5451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5452   (exit $ac_status); } >/dev/null; then
    5453   if test -s conftest.err; then
    5454     ac_cpp_err=$ac_c_preproc_warn_flag
    5455     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
    5456   else
    5457     ac_cpp_err=
    5458   fi
    5459 else
    5460   ac_cpp_err=yes
    5461 fi
    5462 if test -z "$ac_cpp_err"; then
    5463   ac_header_preproc=yes
    5464 else
    5465   echo "$as_me: failed program was:" >&5
    5466 sed 's/^/| /' conftest.$ac_ext >&5
    5467 
    5468   ac_header_preproc=no
    5469 fi
    5470 rm -f conftest.err conftest.$ac_ext
    5471 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    5472 echo "${ECHO_T}$ac_header_preproc" >&6
    5473 
    5474 # So?  What about this header?
    5475 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    5476   yes:no: )
    5477     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    5478 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    5479     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    5480 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    5481     ac_header_preproc=yes
    5482     ;;
    5483   no:yes:* )
    5484     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    5485 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    5486     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    5487 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    5488     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    5489 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    5490     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    5491 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    5492     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    5493 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    5494     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    5495 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    5496     (
    5497       cat <<\_ASBOX
    5498 ## ------------------------------------------ ##
    5499 ## Report this to the AC_PACKAGE_NAME lists.  ##
    5500 ## ------------------------------------------ ##
    5501 _ASBOX
    5502     ) |
    5503       sed "s/^/$as_me: WARNING:     /" >&2
    5504     ;;
    5505 esac
    5506 echo "$as_me:$LINENO: checking for $ac_header" >&5
    5507 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
    5508 if eval "test \"\${$as_ac_Header+set}\" = set"; then
    5509   echo $ECHO_N "(cached) $ECHO_C" >&6
    5510 else
    5511   eval "$as_ac_Header=\$ac_header_preproc"
    5512 fi
    5513 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
    5514 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
    5515 
    5516 fi
    5517 if test `eval echo '${'$as_ac_Header'}'` = yes; then
     5264do :
     5265  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     5266ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
     5267eval as_val=\$$as_ac_Header
     5268   if test "x$as_val" = x""yes; then :
    55185269  cat >>confdefs.h <<_ACEOF
    5519 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
     5270#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    55205271_ACEOF
    55215272
     
    55245275done
    55255276
    5526 cat >conftest.$ac_ext <<_ACEOF
    5527 /* confdefs.h.  */
    5528 _ACEOF
    5529 cat confdefs.h >>conftest.$ac_ext
    5530 cat >>conftest.$ac_ext <<_ACEOF
     5277cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    55315278/* end confdefs.h.  */
    55325279#include <stdio.h>
     
    55345281_ACEOF
    55355282if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    5536   $EGREP "fread" >/dev/null 2>&1; then
    5537   cat >>confdefs.h <<\_ACEOF
    5538 #define HAVE_FREAD_DECL 1
    5539 _ACEOF
     5283  $EGREP "fread" >/dev/null 2>&1; then :
     5284  $as_echo "#define HAVE_FREAD_DECL 1" >>confdefs.h
    55405285
    55415286fi
    55425287rm -f conftest*
    55435288
    5544 cat >conftest.$ac_ext <<_ACEOF
    5545 /* confdefs.h.  */
    5546 _ACEOF
    5547 cat confdefs.h >>conftest.$ac_ext
    5548 cat >>conftest.$ac_ext <<_ACEOF
     5289cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    55495290/* end confdefs.h.  */
    55505291#include <stdio.h>
     
    55525293_ACEOF
    55535294if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    5554   $EGREP "fgetc" >/dev/null 2>&1; then
    5555   cat >>confdefs.h <<\_ACEOF
    5556 #define HAVE_FGETC_DECL 1
    5557 _ACEOF
     5295  $EGREP "fgetc" >/dev/null 2>&1; then :
     5296  $as_echo "#define HAVE_FGETC_DECL 1" >>confdefs.h
    55585297
    55595298fi
    55605299rm -f conftest*
    55615300
    5562 cat >conftest.$ac_ext <<_ACEOF
    5563 /* confdefs.h.  */
    5564 _ACEOF
    5565 cat confdefs.h >>conftest.$ac_ext
    5566 cat >>conftest.$ac_ext <<_ACEOF
     5301cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    55675302/* end confdefs.h.  */
    55685303#include <sys/procfs.h>
     
    55705305_ACEOF
    55715306if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    5572   $EGREP "pr_brksize" >/dev/null 2>&1; then
    5573   cat >>confdefs.h <<\_ACEOF
    5574 #define HAVE_PR_BRKSIZE 1
    5575 _ACEOF
     5307  $EGREP "pr_brksize" >/dev/null 2>&1; then :
     5308  $as_echo "#define HAVE_PR_BRKSIZE 1" >>confdefs.h
    55765309
    55775310fi
     
    55815314# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
    55825315# for constant arguments.  Useless!
    5583 echo "$as_me:$LINENO: checking for working alloca.h" >&5
    5584 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
    5585 if test "${ac_cv_working_alloca_h+set}" = set; then
    5586   echo $ECHO_N "(cached) $ECHO_C" >&6
    5587 else
    5588   cat >conftest.$ac_ext <<_ACEOF
    5589 /* confdefs.h.  */
    5590 _ACEOF
    5591 cat confdefs.h >>conftest.$ac_ext
    5592 cat >>conftest.$ac_ext <<_ACEOF
     5316{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
     5317$as_echo_n "checking for working alloca.h... " >&6; }
     5318if test "${ac_cv_working_alloca_h+set}" = set; then :
     5319  $as_echo_n "(cached) " >&6
     5320else
     5321  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    55935322/* end confdefs.h.  */
    55945323#include <alloca.h>
     
    55975326{
    55985327char *p = (char *) alloca (2 * sizeof (int));
     5328              if (p) return 0;
    55995329  ;
    56005330  return 0;
    56015331}
    56025332_ACEOF
    5603 rm -f conftest.$ac_objext conftest$ac_exeext
    5604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5605   (eval $ac_link) 2>conftest.er1
    5606   ac_status=$?
    5607   grep -v '^ *+' conftest.er1 >conftest.err
    5608   rm -f conftest.er1
    5609   cat conftest.err >&5
    5610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5611   (exit $ac_status); } &&
    5612      { ac_try='test -z "$ac_c_werror_flag"
    5613              || test ! -s conftest.err'
    5614   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5615   (eval $ac_try) 2>&5
    5616   ac_status=$?
    5617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5618   (exit $ac_status); }; } &&
    5619      { ac_try='test -s conftest$ac_exeext'
    5620   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5621   (eval $ac_try) 2>&5
    5622   ac_status=$?
    5623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5624   (exit $ac_status); }; }; then
     5333if ac_fn_c_try_link "$LINENO"; then :
    56255334  ac_cv_working_alloca_h=yes
    56265335else
    5627   echo "$as_me: failed program was:" >&5
    5628 sed 's/^/| /' conftest.$ac_ext >&5
    5629 
    5630 ac_cv_working_alloca_h=no
    5631 fi
    5632 rm -f conftest.err conftest.$ac_objext \
    5633       conftest$ac_exeext conftest.$ac_ext
    5634 fi
    5635 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
    5636 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
     5336  ac_cv_working_alloca_h=no
     5337fi
     5338rm -f core conftest.err conftest.$ac_objext \
     5339    conftest$ac_exeext conftest.$ac_ext
     5340fi
     5341{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
     5342$as_echo "$ac_cv_working_alloca_h" >&6; }
    56375343if test $ac_cv_working_alloca_h = yes; then
    56385344
    5639 cat >>confdefs.h <<\_ACEOF
    5640 #define HAVE_ALLOCA_H 1
    5641 _ACEOF
    5642 
    5643 fi
    5644 
    5645 echo "$as_me:$LINENO: checking for alloca" >&5
    5646 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
    5647 if test "${ac_cv_func_alloca_works+set}" = set; then
    5648   echo $ECHO_N "(cached) $ECHO_C" >&6
    5649 else
    5650   cat >conftest.$ac_ext <<_ACEOF
    5651 /* confdefs.h.  */
    5652 _ACEOF
    5653 cat confdefs.h >>conftest.$ac_ext
    5654 cat >>conftest.$ac_ext <<_ACEOF
     5345$as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
     5346
     5347fi
     5348
     5349{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
     5350$as_echo_n "checking for alloca... " >&6; }
     5351if test "${ac_cv_func_alloca_works+set}" = set; then :
     5352  $as_echo_n "(cached) " >&6
     5353else
     5354  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    56555355/* end confdefs.h.  */
    56565356#ifdef __GNUC__
     
    56615361#  define alloca _alloca
    56625362# else
    5663 #  if HAVE_ALLOCA_H
     5363#  ifdef HAVE_ALLOCA_H
    56645364#   include <alloca.h>
    56655365#  else
     
    56795379{
    56805380char *p = (char *) alloca (1);
     5381                    if (p) return 0;
    56815382  ;
    56825383  return 0;
    56835384}
    56845385_ACEOF
    5685 rm -f conftest.$ac_objext conftest$ac_exeext
    5686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5687   (eval $ac_link) 2>conftest.er1
    5688   ac_status=$?
    5689   grep -v '^ *+' conftest.er1 >conftest.err
    5690   rm -f conftest.er1
    5691   cat conftest.err >&5
    5692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5693   (exit $ac_status); } &&
    5694      { ac_try='test -z "$ac_c_werror_flag"
    5695              || test ! -s conftest.err'
    5696   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5697   (eval $ac_try) 2>&5
    5698   ac_status=$?
    5699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5700   (exit $ac_status); }; } &&
    5701      { ac_try='test -s conftest$ac_exeext'
    5702   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5703   (eval $ac_try) 2>&5
    5704   ac_status=$?
    5705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5706   (exit $ac_status); }; }; then
     5386if ac_fn_c_try_link "$LINENO"; then :
    57075387  ac_cv_func_alloca_works=yes
    57085388else
    5709   echo "$as_me: failed program was:" >&5
    5710 sed 's/^/| /' conftest.$ac_ext >&5
    5711 
    5712 ac_cv_func_alloca_works=no
    5713 fi
    5714 rm -f conftest.err conftest.$ac_objext \
    5715       conftest$ac_exeext conftest.$ac_ext
    5716 fi
    5717 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
    5718 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
     5389  ac_cv_func_alloca_works=no
     5390fi
     5391rm -f core conftest.err conftest.$ac_objext \
     5392    conftest$ac_exeext conftest.$ac_ext
     5393fi
     5394{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
     5395$as_echo "$ac_cv_func_alloca_works" >&6; }
    57195396
    57205397if test $ac_cv_func_alloca_works = yes; then
    57215398
    5722 cat >>confdefs.h <<\_ACEOF
    5723 #define HAVE_ALLOCA 1
    5724 _ACEOF
     5399$as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
    57255400
    57265401else
     
    57305405# use ar to extract alloca.o from them instead of compiling alloca.c.
    57315406
    5732 ALLOCA=alloca.$ac_objext
    5733 
    5734 cat >>confdefs.h <<\_ACEOF
    5735 #define C_ALLOCA 1
    5736 _ACEOF
    5737 
    5738 
    5739 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
    5740 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
    5741 if test "${ac_cv_os_cray+set}" = set; then
    5742   echo $ECHO_N "(cached) $ECHO_C" >&6
    5743 else
    5744   cat >conftest.$ac_ext <<_ACEOF
    5745 /* confdefs.h.  */
    5746 _ACEOF
    5747 cat confdefs.h >>conftest.$ac_ext
    5748 cat >>conftest.$ac_ext <<_ACEOF
     5407ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
     5408
     5409$as_echo "#define C_ALLOCA 1" >>confdefs.h
     5410
     5411
     5412{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
     5413$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
     5414if test "${ac_cv_os_cray+set}" = set; then :
     5415  $as_echo_n "(cached) " >&6
     5416else
     5417  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    57495418/* end confdefs.h.  */
    5750 #if defined(CRAY) && ! defined(CRAY2)
     5419#if defined CRAY && ! defined CRAY2
    57515420webecray
    57525421#else
     
    57565425_ACEOF
    57575426if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    5758   $EGREP "webecray" >/dev/null 2>&1; then
     5427  $EGREP "webecray" >/dev/null 2>&1; then :
    57595428  ac_cv_os_cray=yes
    57605429else
     
    57645433
    57655434fi
    5766 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
    5767 echo "${ECHO_T}$ac_cv_os_cray" >&6
     5435{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
     5436$as_echo "$ac_cv_os_cray" >&6; }
    57685437if test $ac_cv_os_cray = yes; then
    57695438  for ac_func in _getb67 GETB67 getb67; do
    5770     as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
    5771 echo "$as_me:$LINENO: checking for $ac_func" >&5
    5772 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
    5773 if eval "test \"\${$as_ac_var+set}\" = set"; then
    5774   echo $ECHO_N "(cached) $ECHO_C" >&6
    5775 else
    5776   cat >conftest.$ac_ext <<_ACEOF
    5777 /* confdefs.h.  */
    5778 _ACEOF
    5779 cat confdefs.h >>conftest.$ac_ext
    5780 cat >>conftest.$ac_ext <<_ACEOF
    5781 /* end confdefs.h.  */
    5782 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    5783    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    5784 #define $ac_func innocuous_$ac_func
    5785 
    5786 /* System header to define __stub macros and hopefully few prototypes,
    5787     which can conflict with char $ac_func (); below.
    5788     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    5789     <limits.h> exists even on freestanding compilers.  */
    5790 
    5791 #ifdef __STDC__
    5792 # include <limits.h>
    5793 #else
    5794 # include <assert.h>
    5795 #endif
    5796 
    5797 #undef $ac_func
    5798 
    5799 /* Override any gcc2 internal prototype to avoid an error.  */
    5800 #ifdef __cplusplus
    5801 extern "C"
    5802 {
    5803 #endif
    5804 /* We use char because int might match the return type of a gcc2
    5805    builtin and then its argument prototype would still apply.  */
    5806 char $ac_func ();
    5807 /* The GNU C library defines this for functions which it implements
    5808     to always fail with ENOSYS.  Some functions are actually named
    5809     something starting with __ and the normal name is an alias.  */
    5810 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
    5811 choke me
    5812 #else
    5813 char (*f) () = $ac_func;
    5814 #endif
    5815 #ifdef __cplusplus
    5816 }
    5817 #endif
    5818 
    5819 int
    5820 main ()
    5821 {
    5822 return f != $ac_func;
    5823   ;
    5824   return 0;
    5825 }
    5826 _ACEOF
    5827 rm -f conftest.$ac_objext conftest$ac_exeext
    5828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5829   (eval $ac_link) 2>conftest.er1
    5830   ac_status=$?
    5831   grep -v '^ *+' conftest.er1 >conftest.err
    5832   rm -f conftest.er1
    5833   cat conftest.err >&5
    5834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5835   (exit $ac_status); } &&
    5836      { ac_try='test -z "$ac_c_werror_flag"
    5837              || test ! -s conftest.err'
    5838   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5839   (eval $ac_try) 2>&5
    5840   ac_status=$?
    5841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5842   (exit $ac_status); }; } &&
    5843      { ac_try='test -s conftest$ac_exeext'
    5844   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5845   (eval $ac_try) 2>&5
    5846   ac_status=$?
    5847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5848   (exit $ac_status); }; }; then
    5849   eval "$as_ac_var=yes"
    5850 else
    5851   echo "$as_me: failed program was:" >&5
    5852 sed 's/^/| /' conftest.$ac_ext >&5
    5853 
    5854 eval "$as_ac_var=no"
    5855 fi
    5856 rm -f conftest.err conftest.$ac_objext \
    5857       conftest$ac_exeext conftest.$ac_ext
    5858 fi
    5859 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
    5860 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
    5861 if test `eval echo '${'$as_ac_var'}'` = yes; then
     5439    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
     5440ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
     5441eval as_val=\$$as_ac_var
     5442   if test "x$as_val" = x""yes; then :
    58625443
    58635444cat >>confdefs.h <<_ACEOF
     
    58715452fi
    58725453
    5873 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
    5874 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
    5875 if test "${ac_cv_c_stack_direction+set}" = set; then
    5876   echo $ECHO_N "(cached) $ECHO_C" >&6
    5877 else
    5878   if test "$cross_compiling" = yes; then
     5454{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
     5455$as_echo_n "checking stack direction for C alloca... " >&6; }
     5456if test "${ac_cv_c_stack_direction+set}" = set; then :
     5457  $as_echo_n "(cached) " >&6
     5458else
     5459  if test "$cross_compiling" = yes; then :
    58795460  ac_cv_c_stack_direction=0
    58805461else
    5881   cat >conftest.$ac_ext <<_ACEOF
    5882 /* confdefs.h.  */
    5883 _ACEOF
    5884 cat confdefs.h >>conftest.$ac_ext
    5885 cat >>conftest.$ac_ext <<_ACEOF
     5462  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    58865463/* end confdefs.h.  */
     5464$ac_includes_default
    58875465int
    58885466find_stack_direction ()
     
    59025480main ()
    59035481{
    5904   exit (find_stack_direction () < 0);
     5482  return find_stack_direction () < 0;
    59055483}
    59065484_ACEOF
    5907 rm -f conftest$ac_exeext
    5908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    5909   (eval $ac_link) 2>&5
    5910   ac_status=$?
    5911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5912   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    5913   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    5914   (eval $ac_try) 2>&5
    5915   ac_status=$?
    5916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5917   (exit $ac_status); }; }; then
     5485if ac_fn_c_try_run "$LINENO"; then :
    59185486  ac_cv_c_stack_direction=1
    59195487else
    5920   echo "$as_me: program exited with status $ac_status" >&5
    5921 echo "$as_me: failed program was:" >&5
    5922 sed 's/^/| /' conftest.$ac_ext >&5
    5923 
    5924 ( exit $ac_status )
    5925 ac_cv_c_stack_direction=-1
    5926 fi
    5927 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    5928 fi
    5929 fi
    5930 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
    5931 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
    5932 
     5488  ac_cv_c_stack_direction=-1
     5489fi
     5490rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     5491  conftest.$ac_objext conftest.beam conftest.$ac_ext
     5492fi
     5493
     5494fi
     5495{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
     5496$as_echo "$ac_cv_c_stack_direction" >&6; }
    59335497cat >>confdefs.h <<_ACEOF
    59345498#define STACK_DIRECTION $ac_cv_c_stack_direction
     
    59395503
    59405504if test $ac_cv_c_compiler_gnu = yes; then
    5941     echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
    5942 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
    5943 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
    5944   echo $ECHO_N "(cached) $ECHO_C" >&6
     5505    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
     5506$as_echo_n "checking whether $CC needs -traditional... " >&6; }
     5507if test "${ac_cv_prog_gcc_traditional+set}" = set; then :
     5508  $as_echo_n "(cached) " >&6
    59455509else
    59465510    ac_pattern="Autoconf.*'x'"
    5947   cat >conftest.$ac_ext <<_ACEOF
    5948 /* confdefs.h.  */
    5949 _ACEOF
    5950 cat confdefs.h >>conftest.$ac_ext
    5951 cat >>conftest.$ac_ext <<_ACEOF
     5511  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    59525512/* end confdefs.h.  */
    59535513#include <sgtty.h>
     
    59555515_ACEOF
    59565516if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    5957   $EGREP "$ac_pattern" >/dev/null 2>&1; then
     5517  $EGREP "$ac_pattern" >/dev/null 2>&1; then :
    59585518  ac_cv_prog_gcc_traditional=yes
    59595519else
     
    59645524
    59655525  if test $ac_cv_prog_gcc_traditional = no; then
    5966     cat >conftest.$ac_ext <<_ACEOF
    5967 /* confdefs.h.  */
    5968 _ACEOF
    5969 cat confdefs.h >>conftest.$ac_ext
    5970 cat >>conftest.$ac_ext <<_ACEOF
     5526    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    59715527/* end confdefs.h.  */
    59725528#include <termio.h>
     
    59745530_ACEOF
    59755531if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    5976   $EGREP "$ac_pattern" >/dev/null 2>&1; then
     5532  $EGREP "$ac_pattern" >/dev/null 2>&1; then :
    59775533  ac_cv_prog_gcc_traditional=yes
    59785534fi
     
    59815537  fi
    59825538fi
    5983 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
    5984 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
     5539{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
     5540$as_echo "$ac_cv_prog_gcc_traditional" >&6; }
    59855541  if test $ac_cv_prog_gcc_traditional = yes; then
    59865542    CC="$CC -traditional"
     
    59885544fi
    59895545
    5990 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
    5991 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
    5992 if test "${ac_cv_type_signal+set}" = set; then
    5993   echo $ECHO_N "(cached) $ECHO_C" >&6
    5994 else
    5995   cat >conftest.$ac_ext <<_ACEOF
    5996 /* confdefs.h.  */
    5997 _ACEOF
    5998 cat confdefs.h >>conftest.$ac_ext
    5999 cat >>conftest.$ac_ext <<_ACEOF
     5546{ $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
     5547$as_echo_n "checking return type of signal handlers... " >&6; }
     5548if test "${ac_cv_type_signal+set}" = set; then :
     5549  $as_echo_n "(cached) " >&6
     5550else
     5551  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    60005552/* end confdefs.h.  */
    60015553#include <sys/types.h>
    60025554#include <signal.h>
    6003 #ifdef signal
    6004 # undef signal
    6005 #endif
    6006 #ifdef __cplusplus
    6007 extern "C" void (*signal (int, void (*)(int)))(int);
    6008 #else
    6009 void (*signal ()) ();
    6010 #endif
    60115555
    60125556int
    60135557main ()
    60145558{
    6015 int i;
     5559return *(signal (0, 0)) (0) == 1;
    60165560  ;
    60175561  return 0;
    60185562}
    60195563_ACEOF
    6020 rm -f conftest.$ac_objext
    6021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    6022   (eval $ac_compile) 2>conftest.er1
    6023   ac_status=$?
    6024   grep -v '^ *+' conftest.er1 >conftest.err
    6025   rm -f conftest.er1
    6026   cat conftest.err >&5
    6027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6028   (exit $ac_status); } &&
    6029      { ac_try='test -z "$ac_c_werror_flag"
    6030              || test ! -s conftest.err'
    6031   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6032   (eval $ac_try) 2>&5
    6033   ac_status=$?
    6034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6035   (exit $ac_status); }; } &&
    6036      { ac_try='test -s conftest.$ac_objext'
    6037   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6038   (eval $ac_try) 2>&5
    6039   ac_status=$?
    6040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6041   (exit $ac_status); }; }; then
     5564if ac_fn_c_try_compile "$LINENO"; then :
     5565  ac_cv_type_signal=int
     5566else
    60425567  ac_cv_type_signal=void
    6043 else
    6044   echo "$as_me: failed program was:" >&5
    6045 sed 's/^/| /' conftest.$ac_ext >&5
    6046 
    6047 ac_cv_type_signal=int
    6048 fi
    6049 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    6050 fi
    6051 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
    6052 echo "${ECHO_T}$ac_cv_type_signal" >&6
     5568fi
     5569rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5570fi
     5571{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
     5572$as_echo "$ac_cv_type_signal" >&6; }
    60535573
    60545574cat >>confdefs.h <<_ACEOF
     
    60575577
    60585578
    6059 
    60605579for ac_func in vprintf
    6061 do
    6062 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
    6063 echo "$as_me:$LINENO: checking for $ac_func" >&5
    6064 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
    6065 if eval "test \"\${$as_ac_var+set}\" = set"; then
    6066   echo $ECHO_N "(cached) $ECHO_C" >&6
    6067 else
    6068   cat >conftest.$ac_ext <<_ACEOF
    6069 /* confdefs.h.  */
    6070 _ACEOF
    6071 cat confdefs.h >>conftest.$ac_ext
    6072 cat >>conftest.$ac_ext <<_ACEOF
    6073 /* end confdefs.h.  */
    6074 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    6075    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    6076 #define $ac_func innocuous_$ac_func
    6077 
    6078 /* System header to define __stub macros and hopefully few prototypes,
    6079     which can conflict with char $ac_func (); below.
    6080     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    6081     <limits.h> exists even on freestanding compilers.  */
    6082 
    6083 #ifdef __STDC__
    6084 # include <limits.h>
    6085 #else
    6086 # include <assert.h>
    6087 #endif
    6088 
    6089 #undef $ac_func
    6090 
    6091 /* Override any gcc2 internal prototype to avoid an error.  */
    6092 #ifdef __cplusplus
    6093 extern "C"
    6094 {
    6095 #endif
    6096 /* We use char because int might match the return type of a gcc2
    6097    builtin and then its argument prototype would still apply.  */
    6098 char $ac_func ();
    6099 /* The GNU C library defines this for functions which it implements
    6100     to always fail with ENOSYS.  Some functions are actually named
    6101     something starting with __ and the normal name is an alias.  */
    6102 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
    6103 choke me
    6104 #else
    6105 char (*f) () = $ac_func;
    6106 #endif
    6107 #ifdef __cplusplus
    6108 }
    6109 #endif
    6110 
    6111 int
    6112 main ()
    6113 {
    6114 return f != $ac_func;
    6115   ;
    6116   return 0;
    6117 }
    6118 _ACEOF
    6119 rm -f conftest.$ac_objext conftest$ac_exeext
    6120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6121   (eval $ac_link) 2>conftest.er1
    6122   ac_status=$?
    6123   grep -v '^ *+' conftest.er1 >conftest.err
    6124   rm -f conftest.er1
    6125   cat conftest.err >&5
    6126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6127   (exit $ac_status); } &&
    6128      { ac_try='test -z "$ac_c_werror_flag"
    6129              || test ! -s conftest.err'
    6130   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6131   (eval $ac_try) 2>&5
    6132   ac_status=$?
    6133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6134   (exit $ac_status); }; } &&
    6135      { ac_try='test -s conftest$ac_exeext'
    6136   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6137   (eval $ac_try) 2>&5
    6138   ac_status=$?
    6139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6140   (exit $ac_status); }; }; then
    6141   eval "$as_ac_var=yes"
    6142 else
    6143   echo "$as_me: failed program was:" >&5
    6144 sed 's/^/| /' conftest.$ac_ext >&5
    6145 
    6146 eval "$as_ac_var=no"
    6147 fi
    6148 rm -f conftest.err conftest.$ac_objext \
    6149       conftest$ac_exeext conftest.$ac_ext
    6150 fi
    6151 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
    6152 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
    6153 if test `eval echo '${'$as_ac_var'}'` = yes; then
     5580do :
     5581  ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
     5582if test "x$ac_cv_func_vprintf" = x""yes; then :
    61545583  cat >>confdefs.h <<_ACEOF
    6155 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
    6156 _ACEOF
    6157 
    6158 echo "$as_me:$LINENO: checking for _doprnt" >&5
    6159 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6
    6160 if test "${ac_cv_func__doprnt+set}" = set; then
    6161   echo $ECHO_N "(cached) $ECHO_C" >&6
    6162 else
    6163   cat >conftest.$ac_ext <<_ACEOF
    6164 /* confdefs.h.  */
    6165 _ACEOF
    6166 cat confdefs.h >>conftest.$ac_ext
    6167 cat >>conftest.$ac_ext <<_ACEOF
    6168 /* end confdefs.h.  */
    6169 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
    6170    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    6171 #define _doprnt innocuous__doprnt
    6172 
    6173 /* System header to define __stub macros and hopefully few prototypes,
    6174     which can conflict with char _doprnt (); below.
    6175     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    6176     <limits.h> exists even on freestanding compilers.  */
    6177 
    6178 #ifdef __STDC__
    6179 # include <limits.h>
    6180 #else
    6181 # include <assert.h>
    6182 #endif
    6183 
    6184 #undef _doprnt
    6185 
    6186 /* Override any gcc2 internal prototype to avoid an error.  */
    6187 #ifdef __cplusplus
    6188 extern "C"
    6189 {
    6190 #endif
    6191 /* We use char because int might match the return type of a gcc2
    6192    builtin and then its argument prototype would still apply.  */
    6193 char _doprnt ();
    6194 /* The GNU C library defines this for functions which it implements
    6195     to always fail with ENOSYS.  Some functions are actually named
    6196     something starting with __ and the normal name is an alias.  */
    6197 #if defined (__stub__doprnt) || defined (__stub____doprnt)
    6198 choke me
    6199 #else
    6200 char (*f) () = _doprnt;
    6201 #endif
    6202 #ifdef __cplusplus
    6203 }
    6204 #endif
    6205 
    6206 int
    6207 main ()
    6208 {
    6209 return f != _doprnt;
    6210   ;
    6211   return 0;
    6212 }
    6213 _ACEOF
    6214 rm -f conftest.$ac_objext conftest$ac_exeext
    6215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6216   (eval $ac_link) 2>conftest.er1
    6217   ac_status=$?
    6218   grep -v '^ *+' conftest.er1 >conftest.err
    6219   rm -f conftest.er1
    6220   cat conftest.err >&5
    6221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6222   (exit $ac_status); } &&
    6223      { ac_try='test -z "$ac_c_werror_flag"
    6224              || test ! -s conftest.err'
    6225   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6226   (eval $ac_try) 2>&5
    6227   ac_status=$?
    6228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6229   (exit $ac_status); }; } &&
    6230      { ac_try='test -s conftest$ac_exeext'
    6231   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6232   (eval $ac_try) 2>&5
    6233   ac_status=$?
    6234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6235   (exit $ac_status); }; }; then
    6236   ac_cv_func__doprnt=yes
    6237 else
    6238   echo "$as_me: failed program was:" >&5
    6239 sed 's/^/| /' conftest.$ac_ext >&5
    6240 
    6241 ac_cv_func__doprnt=no
    6242 fi
    6243 rm -f conftest.err conftest.$ac_objext \
    6244       conftest$ac_exeext conftest.$ac_ext
    6245 fi
    6246 echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
    6247 echo "${ECHO_T}$ac_cv_func__doprnt" >&6
    6248 if test $ac_cv_func__doprnt = yes; then
    6249 
    6250 cat >>confdefs.h <<\_ACEOF
    6251 #define HAVE_DOPRNT 1
    6252 _ACEOF
     5584#define HAVE_VPRINTF 1
     5585_ACEOF
     5586
     5587ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
     5588if test "x$ac_cv_func__doprnt" = x""yes; then :
     5589
     5590$as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
    62535591
    62545592fi
     
    62585596
    62595597
    6260 
    6261 
    6262 
    6263 
    6264 
    6265 
    6266 
    6267 
    6268 
    6269 
    62705598for ac_func in ftime select strftime strtol getrusage times mallinfo setbuffer getpagesize strerror
    6271 do
    6272 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
    6273 echo "$as_me:$LINENO: checking for $ac_func" >&5
    6274 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
    6275 if eval "test \"\${$as_ac_var+set}\" = set"; then
    6276   echo $ECHO_N "(cached) $ECHO_C" >&6
    6277 else
    6278   cat >conftest.$ac_ext <<_ACEOF
    6279 /* confdefs.h.  */
    6280 _ACEOF
    6281 cat confdefs.h >>conftest.$ac_ext
    6282 cat >>conftest.$ac_ext <<_ACEOF
    6283 /* end confdefs.h.  */
    6284 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    6285    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    6286 #define $ac_func innocuous_$ac_func
    6287 
    6288 /* System header to define __stub macros and hopefully few prototypes,
    6289     which can conflict with char $ac_func (); below.
    6290     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    6291     <limits.h> exists even on freestanding compilers.  */
    6292 
    6293 #ifdef __STDC__
    6294 # include <limits.h>
    6295 #else
    6296 # include <assert.h>
    6297 #endif
    6298 
    6299 #undef $ac_func
    6300 
    6301 /* Override any gcc2 internal prototype to avoid an error.  */
    6302 #ifdef __cplusplus
    6303 extern "C"
    6304 {
    6305 #endif
    6306 /* We use char because int might match the return type of a gcc2
    6307    builtin and then its argument prototype would still apply.  */
    6308 char $ac_func ();
    6309 /* The GNU C library defines this for functions which it implements
    6310     to always fail with ENOSYS.  Some functions are actually named
    6311     something starting with __ and the normal name is an alias.  */
    6312 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
    6313 choke me
    6314 #else
    6315 char (*f) () = $ac_func;
    6316 #endif
    6317 #ifdef __cplusplus
    6318 }
    6319 #endif
    6320 
    6321 int
    6322 main ()
    6323 {
    6324 return f != $ac_func;
    6325   ;
    6326   return 0;
    6327 }
    6328 _ACEOF
    6329 rm -f conftest.$ac_objext conftest$ac_exeext
    6330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6331   (eval $ac_link) 2>conftest.er1
    6332   ac_status=$?
    6333   grep -v '^ *+' conftest.er1 >conftest.err
    6334   rm -f conftest.er1
    6335   cat conftest.err >&5
    6336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6337   (exit $ac_status); } &&
    6338      { ac_try='test -z "$ac_c_werror_flag"
    6339              || test ! -s conftest.err'
    6340   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6341   (eval $ac_try) 2>&5
    6342   ac_status=$?
    6343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6344   (exit $ac_status); }; } &&
    6345      { ac_try='test -s conftest$ac_exeext'
    6346   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6347   (eval $ac_try) 2>&5
    6348   ac_status=$?
    6349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6350   (exit $ac_status); }; }; then
    6351   eval "$as_ac_var=yes"
    6352 else
    6353   echo "$as_me: failed program was:" >&5
    6354 sed 's/^/| /' conftest.$ac_ext >&5
    6355 
    6356 eval "$as_ac_var=no"
    6357 fi
    6358 rm -f conftest.err conftest.$ac_objext \
    6359       conftest$ac_exeext conftest.$ac_ext
    6360 fi
    6361 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
    6362 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
    6363 if test `eval echo '${'$as_ac_var'}'` = yes; then
     5599do :
     5600  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
     5601ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
     5602eval as_val=\$$as_ac_var
     5603   if test "x$as_val" = x""yes; then :
    63645604  cat >>confdefs.h <<_ACEOF
    6365 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
     5605#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    63665606_ACEOF
    63675607
     
    63695609done
    63705610
    6371 
    6372 
    6373 
    63745611for ac_func in ftruncate strstr strcasecmp
    6375 do
    6376 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
    6377 echo "$as_me:$LINENO: checking for $ac_func" >&5
    6378 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
    6379 if eval "test \"\${$as_ac_var+set}\" = set"; then
    6380   echo $ECHO_N "(cached) $ECHO_C" >&6
    6381 else
    6382   cat >conftest.$ac_ext <<_ACEOF
    6383 /* confdefs.h.  */
    6384 _ACEOF
    6385 cat confdefs.h >>conftest.$ac_ext
    6386 cat >>conftest.$ac_ext <<_ACEOF
    6387 /* end confdefs.h.  */
    6388 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    6389    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    6390 #define $ac_func innocuous_$ac_func
    6391 
    6392 /* System header to define __stub macros and hopefully few prototypes,
    6393     which can conflict with char $ac_func (); below.
    6394     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    6395     <limits.h> exists even on freestanding compilers.  */
    6396 
    6397 #ifdef __STDC__
    6398 # include <limits.h>
    6399 #else
    6400 # include <assert.h>
    6401 #endif
    6402 
    6403 #undef $ac_func
    6404 
    6405 /* Override any gcc2 internal prototype to avoid an error.  */
    6406 #ifdef __cplusplus
    6407 extern "C"
    6408 {
    6409 #endif
    6410 /* We use char because int might match the return type of a gcc2
    6411    builtin and then its argument prototype would still apply.  */
    6412 char $ac_func ();
    6413 /* The GNU C library defines this for functions which it implements
    6414     to always fail with ENOSYS.  Some functions are actually named
    6415     something starting with __ and the normal name is an alias.  */
    6416 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
    6417 choke me
    6418 #else
    6419 char (*f) () = $ac_func;
    6420 #endif
    6421 #ifdef __cplusplus
    6422 }
    6423 #endif
    6424 
    6425 int
    6426 main ()
    6427 {
    6428 return f != $ac_func;
    6429   ;
    6430   return 0;
    6431 }
    6432 _ACEOF
    6433 rm -f conftest.$ac_objext conftest$ac_exeext
    6434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6435   (eval $ac_link) 2>conftest.er1
    6436   ac_status=$?
    6437   grep -v '^ *+' conftest.er1 >conftest.err
    6438   rm -f conftest.er1
    6439   cat conftest.err >&5
    6440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6441   (exit $ac_status); } &&
    6442      { ac_try='test -z "$ac_c_werror_flag"
    6443              || test ! -s conftest.err'
    6444   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6445   (eval $ac_try) 2>&5
    6446   ac_status=$?
    6447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6448   (exit $ac_status); }; } &&
    6449      { ac_try='test -s conftest$ac_exeext'
    6450   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6451   (eval $ac_try) 2>&5
    6452   ac_status=$?
    6453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6454   (exit $ac_status); }; }; then
    6455   eval "$as_ac_var=yes"
    6456 else
    6457   echo "$as_me: failed program was:" >&5
    6458 sed 's/^/| /' conftest.$ac_ext >&5
    6459 
    6460 eval "$as_ac_var=no"
    6461 fi
    6462 rm -f conftest.err conftest.$ac_objext \
    6463       conftest$ac_exeext conftest.$ac_ext
    6464 fi
    6465 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
    6466 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
    6467 if test `eval echo '${'$as_ac_var'}'` = yes; then
     5612do :
     5613  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
     5614ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
     5615eval as_val=\$$as_ac_var
     5616   if test "x$as_val" = x""yes; then :
    64685617  cat >>confdefs.h <<_ACEOF
    6469 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
    6470 _ACEOF
    6471 
    6472 else
    6473   case $LIBOBJS in
    6474     "$ac_func.$ac_objext"   | \
    6475   *" $ac_func.$ac_objext"   | \
    6476     "$ac_func.$ac_objext "* | \
     5618#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
     5619_ACEOF
     5620
     5621else
     5622  case " $LIBOBJS " in
    64775623  *" $ac_func.$ac_objext "* ) ;;
    6478   *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" ;;
     5624  *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
     5625 ;;
    64795626esac
    64805627
     
    64845631
    64855632
    6486 echo "$as_me:$LINENO: checking for textdomain" >&5
    6487 echo $ECHO_N "checking for textdomain... $ECHO_C" >&6
    6488 if test "${ac_cv_func_textdomain+set}" = set; then
    6489   echo $ECHO_N "(cached) $ECHO_C" >&6
    6490 else
    6491   cat >conftest.$ac_ext <<_ACEOF
    6492 /* confdefs.h.  */
    6493 _ACEOF
    6494 cat confdefs.h >>conftest.$ac_ext
    6495 cat >>conftest.$ac_ext <<_ACEOF
    6496 /* end confdefs.h.  */
    6497 /* Define textdomain to an innocuous variant, in case <limits.h> declares textdomain.
    6498    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    6499 #define textdomain innocuous_textdomain
    6500 
    6501 /* System header to define __stub macros and hopefully few prototypes,
    6502     which can conflict with char textdomain (); below.
    6503     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    6504     <limits.h> exists even on freestanding compilers.  */
    6505 
    6506 #ifdef __STDC__
    6507 # include <limits.h>
    6508 #else
    6509 # include <assert.h>
    6510 #endif
    6511 
    6512 #undef textdomain
    6513 
    6514 /* Override any gcc2 internal prototype to avoid an error.  */
    6515 #ifdef __cplusplus
    6516 extern "C"
    6517 {
    6518 #endif
    6519 /* We use char because int might match the return type of a gcc2
    6520    builtin and then its argument prototype would still apply.  */
    6521 char textdomain ();
    6522 /* The GNU C library defines this for functions which it implements
    6523     to always fail with ENOSYS.  Some functions are actually named
    6524     something starting with __ and the normal name is an alias.  */
    6525 #if defined (__stub_textdomain) || defined (__stub___textdomain)
    6526 choke me
    6527 #else
    6528 char (*f) () = textdomain;
    6529 #endif
    6530 #ifdef __cplusplus
    6531 }
    6532 #endif
    6533 
    6534 int
    6535 main ()
    6536 {
    6537 return f != textdomain;
    6538   ;
    6539   return 0;
    6540 }
    6541 _ACEOF
    6542 rm -f conftest.$ac_objext conftest$ac_exeext
    6543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6544   (eval $ac_link) 2>conftest.er1
    6545   ac_status=$?
    6546   grep -v '^ *+' conftest.er1 >conftest.err
    6547   rm -f conftest.er1
    6548   cat conftest.err >&5
    6549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6550   (exit $ac_status); } &&
    6551      { ac_try='test -z "$ac_c_werror_flag"
    6552              || test ! -s conftest.err'
    6553   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6554   (eval $ac_try) 2>&5
    6555   ac_status=$?
    6556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6557   (exit $ac_status); }; } &&
    6558      { ac_try='test -s conftest$ac_exeext'
    6559   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6560   (eval $ac_try) 2>&5
    6561   ac_status=$?
    6562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6563   (exit $ac_status); }; }; then
    6564   ac_cv_func_textdomain=yes
    6565 else
    6566   echo "$as_me: failed program was:" >&5
    6567 sed 's/^/| /' conftest.$ac_ext >&5
    6568 
    6569 ac_cv_func_textdomain=no
    6570 fi
    6571 rm -f conftest.err conftest.$ac_objext \
    6572       conftest$ac_exeext conftest.$ac_ext
    6573 fi
    6574 echo "$as_me:$LINENO: result: $ac_cv_func_textdomain" >&5
    6575 echo "${ECHO_T}$ac_cv_func_textdomain" >&6
    6576 if test $ac_cv_func_textdomain = yes; then
    6577   cat >>confdefs.h <<\_ACEOF
    6578 #define ENABLE_NLS  1
    6579 _ACEOF
     5633ac_fn_c_check_func "$LINENO" "textdomain" "ac_cv_func_textdomain"
     5634if test "x$ac_cv_func_textdomain" = x""yes; then :
     5635  $as_echo "#define ENABLE_NLS  1" >>confdefs.h
    65805636
    65815637fi
     
    65845640# *** Custom checking (based on GNU tar configure.in) ***
    65855641# ---------------------------------------------------------------------------
    6586 echo "$as_me:$LINENO: checking for HP-UX needing gmalloc" >&5
    6587 echo $ECHO_N "checking for HP-UX needing gmalloc... $ECHO_C" >&6
     5642{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for HP-UX needing gmalloc" >&5
     5643$as_echo_n "checking for HP-UX needing gmalloc... " >&6; }
    65885644if test "`(uname -s) 2> /dev/null`" = 'HP-UX'; then
    6589   echo "$as_me:$LINENO: result: yes" >&5
    6590 echo "${ECHO_T}yes" >&6
    6591   case $LIBOBJS in
    6592     "gmalloc.$ac_objext"   | \
    6593   *" gmalloc.$ac_objext"   | \
    6594     "gmalloc.$ac_objext "* | \
     5645  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     5646$as_echo "yes" >&6; }
     5647  case " $LIBOBJS " in
    65955648  *" gmalloc.$ac_objext "* ) ;;
    6596   *) LIBOBJS="$LIBOBJS gmalloc.$ac_objext" ;;
     5649  *) LIBOBJS="$LIBOBJS gmalloc.$ac_objext"
     5650 ;;
    65975651esac
    65985652
    6599   cat >>confdefs.h <<\_ACEOF
     5653  $as_echo "#define HAVE_VALLOC 1" >>confdefs.h
     5654
     5655else
     5656  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5657$as_echo "no" >&6; }
     5658  for ac_func in valloc
     5659do :
     5660  ac_fn_c_check_func "$LINENO" "valloc" "ac_cv_func_valloc"
     5661if test "x$ac_cv_func_valloc" = x""yes; then :
     5662  cat >>confdefs.h <<_ACEOF
    66005663#define HAVE_VALLOC 1
    66015664_ACEOF
    66025665
    6603 else
    6604   echo "$as_me:$LINENO: result: no" >&5
    6605 echo "${ECHO_T}no" >&6
    6606 
    6607 for ac_func in valloc
    6608 do
    6609 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
    6610 echo "$as_me:$LINENO: checking for $ac_func" >&5
    6611 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
    6612 if eval "test \"\${$as_ac_var+set}\" = set"; then
    6613   echo $ECHO_N "(cached) $ECHO_C" >&6
    6614 else
    6615   cat >conftest.$ac_ext <<_ACEOF
    6616 /* confdefs.h.  */
    6617 _ACEOF
    6618 cat confdefs.h >>conftest.$ac_ext
    6619 cat >>conftest.$ac_ext <<_ACEOF
    6620 /* end confdefs.h.  */
    6621 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    6622    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    6623 #define $ac_func innocuous_$ac_func
    6624 
    6625 /* System header to define __stub macros and hopefully few prototypes,
    6626     which can conflict with char $ac_func (); below.
    6627     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    6628     <limits.h> exists even on freestanding compilers.  */
    6629 
    6630 #ifdef __STDC__
    6631 # include <limits.h>
    6632 #else
    6633 # include <assert.h>
    6634 #endif
    6635 
    6636 #undef $ac_func
    6637 
    6638 /* Override any gcc2 internal prototype to avoid an error.  */
    6639 #ifdef __cplusplus
    6640 extern "C"
    6641 {
    6642 #endif
    6643 /* We use char because int might match the return type of a gcc2
    6644    builtin and then its argument prototype would still apply.  */
    6645 char $ac_func ();
    6646 /* The GNU C library defines this for functions which it implements
    6647     to always fail with ENOSYS.  Some functions are actually named
    6648     something starting with __ and the normal name is an alias.  */
    6649 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
    6650 choke me
    6651 #else
    6652 char (*f) () = $ac_func;
    6653 #endif
    6654 #ifdef __cplusplus
    6655 }
    6656 #endif
    6657 
    6658 int
    6659 main ()
    6660 {
    6661 return f != $ac_func;
    6662   ;
    6663   return 0;
    6664 }
    6665 _ACEOF
    6666 rm -f conftest.$ac_objext conftest$ac_exeext
    6667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6668   (eval $ac_link) 2>conftest.er1
    6669   ac_status=$?
    6670   grep -v '^ *+' conftest.er1 >conftest.err
    6671   rm -f conftest.er1
    6672   cat conftest.err >&5
    6673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6674   (exit $ac_status); } &&
    6675      { ac_try='test -z "$ac_c_werror_flag"
    6676              || test ! -s conftest.err'
    6677   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6678   (eval $ac_try) 2>&5
    6679   ac_status=$?
    6680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6681   (exit $ac_status); }; } &&
    6682      { ac_try='test -s conftest$ac_exeext'
    6683   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6684   (eval $ac_try) 2>&5
    6685   ac_status=$?
    6686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6687   (exit $ac_status); }; }; then
    6688   eval "$as_ac_var=yes"
    6689 else
    6690   echo "$as_me: failed program was:" >&5
    6691 sed 's/^/| /' conftest.$ac_ext >&5
    6692 
    6693 eval "$as_ac_var=no"
    6694 fi
    6695 rm -f conftest.err conftest.$ac_objext \
    6696       conftest$ac_exeext conftest.$ac_ext
    6697 fi
    6698 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
    6699 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
    6700 if test `eval echo '${'$as_ac_var'}'` = yes; then
    6701   cat >>confdefs.h <<_ACEOF
    6702 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
    6703 _ACEOF
    6704 
    67055666fi
    67065667done
     
    67095670
    67105671# we cannot generate static libraries under Darwin
    6711 echo "$as_me:$LINENO: checking for Apple MacOS X/Darwin" >&5
    6712 echo $ECHO_N "checking for Apple MacOS X/Darwin... $ECHO_C" >&6
     5672{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Apple MacOS X/Darwin" >&5
     5673$as_echo_n "checking for Apple MacOS X/Darwin... " >&6; }
    67135674if test "`(uname -s) 2> /dev/null`" = 'Darwin'; then
    6714   echo "$as_me:$LINENO: result: yes" >&5
    6715 echo "${ECHO_T}yes" >&6
     5675  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     5676$as_echo "yes" >&6; }
    67165677  STATIC=""
    67175678else
    6718   echo "$as_me:$LINENO: result: no" >&5
    6719 echo "${ECHO_T}no" >&6
     5679  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5680$as_echo "no" >&6; }
    67205681  STATIC="-static "
    67215682fi
    67225683
    67235684
    6724 echo "$as_me:$LINENO: checking if malloc debugging is wanted" >&5
    6725 echo $ECHO_N "checking if malloc debugging is wanted... $ECHO_C" >&6
    6726 
    6727 # Check whether --with-dmalloc or --without-dmalloc was given.
    6728 if test "${with_dmalloc+set}" = set; then
    6729   withval="$with_dmalloc"
    6730   if test "$withval" = yes; then
    6731   echo "$as_me:$LINENO: result: yes" >&5
    6732 echo "${ECHO_T}yes" >&6
    6733   cat >>confdefs.h <<\_ACEOF
    6734 #define WITH_DMALLOC 1
    6735 _ACEOF
     5685{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if malloc debugging is wanted" >&5
     5686$as_echo_n "checking if malloc debugging is wanted... " >&6; }
     5687
     5688# Check whether --with-dmalloc was given.
     5689if test "${with_dmalloc+set}" = set; then :
     5690  withval=$with_dmalloc; if test "$withval" = yes; then
     5691  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     5692$as_echo "yes" >&6; }
     5693  $as_echo "#define WITH_DMALLOC 1" >>confdefs.h
    67365694
    67375695  LIBS="$LIBS -ldmalloc"
    67385696  LDFLAGS="$LDFLAGS -g"
    67395697else
    6740   echo "$as_me:$LINENO: result: no" >&5
    6741 echo "${ECHO_T}no" >&6
    6742 fi
    6743 else
    6744   echo "$as_me:$LINENO: result: no" >&5
    6745 echo "${ECHO_T}no" >&6
    6746 fi;
    6747 
    6748 echo "$as_me:$LINENO: checking which of rx or regex is wanted" >&5
    6749 echo $ECHO_N "checking which of rx or regex is wanted... $ECHO_C" >&6
    6750 
    6751 # Check whether --with-regex or --without-regex was given.
    6752 if test "${with_regex+set}" = set; then
    6753   withval="$with_regex"
    6754   if test "$withval" = yes; then
     5698  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5699$as_echo "no" >&6; }
     5700fi
     5701else
     5702  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5703$as_echo "no" >&6; }
     5704fi
     5705
     5706
     5707{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which of rx or regex is wanted" >&5
     5708$as_echo_n "checking which of rx or regex is wanted... " >&6; }
     5709
     5710# Check whether --with-regex was given.
     5711if test "${with_regex+set}" = set; then :
     5712  withval=$with_regex; if test "$withval" = yes; then
    67555713  ac_with_regex=1
    6756   echo "$as_me:$LINENO: result: regex" >&5
    6757 echo "${ECHO_T}regex" >&6
    6758   cat >>confdefs.h <<\_ACEOF
    6759 #define WITH_REGEX 1
    6760 _ACEOF
    6761 
    6762   case $LIBOBJS in
    6763     "regex.$ac_objext"   | \
    6764   *" regex.$ac_objext"   | \
    6765     "regex.$ac_objext "* | \
     5714  { $as_echo "$as_me:${as_lineno-$LINENO}: result: regex" >&5
     5715$as_echo "regex" >&6; }
     5716  $as_echo "#define WITH_REGEX 1" >>confdefs.h
     5717
     5718  case " $LIBOBJS " in
    67665719  *" regex.$ac_objext "* ) ;;
    6767   *) LIBOBJS="$LIBOBJS regex.$ac_objext" ;;
     5720  *) LIBOBJS="$LIBOBJS regex.$ac_objext"
     5721 ;;
    67685722esac
    67695723
    67705724fi
    6771 fi;
     5725fi
     5726
    67725727if test -z "$ac_with_regex"; then
    6773   echo "$as_me:$LINENO: result: rx" >&5
    6774 echo "${ECHO_T}rx" >&6
    6775   echo "$as_me:$LINENO: checking for re_rx_search" >&5
    6776 echo $ECHO_N "checking for re_rx_search... $ECHO_C" >&6
    6777 if test "${ac_cv_func_re_rx_search+set}" = set; then
    6778   echo $ECHO_N "(cached) $ECHO_C" >&6
    6779 else
    6780   cat >conftest.$ac_ext <<_ACEOF
    6781 /* confdefs.h.  */
    6782 _ACEOF
    6783 cat confdefs.h >>conftest.$ac_ext
    6784 cat >>conftest.$ac_ext <<_ACEOF
    6785 /* end confdefs.h.  */
    6786 /* Define re_rx_search to an innocuous variant, in case <limits.h> declares re_rx_search.
    6787    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    6788 #define re_rx_search innocuous_re_rx_search
    6789 
    6790 /* System header to define __stub macros and hopefully few prototypes,
    6791     which can conflict with char re_rx_search (); below.
    6792     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    6793     <limits.h> exists even on freestanding compilers.  */
    6794 
    6795 #ifdef __STDC__
    6796 # include <limits.h>
    6797 #else
    6798 # include <assert.h>
    6799 #endif
    6800 
    6801 #undef re_rx_search
    6802 
    6803 /* Override any gcc2 internal prototype to avoid an error.  */
    6804 #ifdef __cplusplus
    6805 extern "C"
    6806 {
    6807 #endif
    6808 /* We use char because int might match the return type of a gcc2
    6809    builtin and then its argument prototype would still apply.  */
    6810 char re_rx_search ();
    6811 /* The GNU C library defines this for functions which it implements
    6812     to always fail with ENOSYS.  Some functions are actually named
    6813     something starting with __ and the normal name is an alias.  */
    6814 #if defined (__stub_re_rx_search) || defined (__stub___re_rx_search)
    6815 choke me
    6816 #else
    6817 char (*f) () = re_rx_search;
    6818 #endif
    6819 #ifdef __cplusplus
    6820 }
    6821 #endif
    6822 
    6823 int
    6824 main ()
    6825 {
    6826 return f != re_rx_search;
    6827   ;
    6828   return 0;
    6829 }
    6830 _ACEOF
    6831 rm -f conftest.$ac_objext conftest$ac_exeext
    6832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    6833   (eval $ac_link) 2>conftest.er1
    6834   ac_status=$?
    6835   grep -v '^ *+' conftest.er1 >conftest.err
    6836   rm -f conftest.er1
    6837   cat conftest.err >&5
    6838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6839   (exit $ac_status); } &&
    6840      { ac_try='test -z "$ac_c_werror_flag"
    6841              || test ! -s conftest.err'
    6842   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6843   (eval $ac_try) 2>&5
    6844   ac_status=$?
    6845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6846   (exit $ac_status); }; } &&
    6847      { ac_try='test -s conftest$ac_exeext'
    6848   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6849   (eval $ac_try) 2>&5
    6850   ac_status=$?
    6851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6852   (exit $ac_status); }; }; then
    6853   ac_cv_func_re_rx_search=yes
    6854 else
    6855   echo "$as_me: failed program was:" >&5
    6856 sed 's/^/| /' conftest.$ac_ext >&5
    6857 
    6858 ac_cv_func_re_rx_search=no
    6859 fi
    6860 rm -f conftest.err conftest.$ac_objext \
    6861       conftest$ac_exeext conftest.$ac_ext
    6862 fi
    6863 echo "$as_me:$LINENO: result: $ac_cv_func_re_rx_search" >&5
    6864 echo "${ECHO_T}$ac_cv_func_re_rx_search" >&6
    6865 if test $ac_cv_func_re_rx_search = yes; then
    6866   :
    6867 else
    6868   case $LIBOBJS in
    6869     "rx.$ac_objext"   | \
    6870   *" rx.$ac_objext"   | \
    6871     "rx.$ac_objext "* | \
     5728  { $as_echo "$as_me:${as_lineno-$LINENO}: result: rx" >&5
     5729$as_echo "rx" >&6; }
     5730  ac_fn_c_check_func "$LINENO" "re_rx_search" "ac_cv_func_re_rx_search"
     5731if test "x$ac_cv_func_re_rx_search" = x""yes; then :
     5732
     5733else
     5734  case " $LIBOBJS " in
    68725735  *" rx.$ac_objext "* ) ;;
    6873   *) LIBOBJS="$LIBOBJS rx.$ac_objext" ;;
     5736  *) LIBOBJS="$LIBOBJS rx.$ac_objext"
     5737 ;;
    68745738esac
    68755739
     
    68815745# ---------------------------------------------------------------------------
    68825746if test "$ac_cv_func_alloca" = 'no'; then
    6883   case $LIBOBJS in
    6884     "xmalloc.$ac_objext"   | \
    6885   *" xmalloc.$ac_objext"   | \
    6886     "xmalloc.$ac_objext "* | \
     5747  case " $LIBOBJS " in
    68875748  *" xmalloc.$ac_objext "* ) ;;
    6888   *) LIBOBJS="$LIBOBJS xmalloc.$ac_objext" ;;
     5749  *) LIBOBJS="$LIBOBJS xmalloc.$ac_objext"
     5750 ;;
    68895751esac
    68905752
    6891   case $LIBOBJS in
    6892     "error.$ac_objext"   | \
    6893   *" error.$ac_objext"   | \
    6894     "error.$ac_objext "* | \
     5753  case " $LIBOBJS " in
    68955754  *" error.$ac_objext "* ) ;;
    6896   *) LIBOBJS="$LIBOBJS error.$ac_objext" ;;
     5755  *) LIBOBJS="$LIBOBJS error.$ac_objext"
     5756 ;;
    68975757esac
    68985758
     
    69025762# ---------------------------------------------------------------------------
    69035763
    6904 ac_ext=cc
     5764ac_ext=cpp
    69055765ac_cpp='$CXXCPP $CPPFLAGS'
    69065766ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     
    69095769
    69105770
    6911 echo "$as_me:$LINENO: checking that Perl 5 is available" >&5
    6912 echo $ECHO_N "checking that Perl 5 is available... $ECHO_C" >&6
     5771{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that Perl 5 is available" >&5
     5772$as_echo_n "checking that Perl 5 is available... " >&6; }
    69135773success="no"
    69145774pl_path="$PATH"
     
    69275787try=`expr $try \> 5.000`
    69285788if test $try = "1"; then
    6929 echo "$as_me:$LINENO: result: \"yes\"" >&5
    6930 echo "${ECHO_T}\"yes\"" >&6
     5789{ $as_echo "$as_me:${as_lineno-$LINENO}: result: \"yes\"" >&5
     5790$as_echo "\"yes\"" >&6; }
    69315791else
    69325792success="no"
     
    69355795
    69365796if test $success = "no"; then
    6937 echo "$as_me:$LINENO: result: \"no\"" >&5
    6938 echo "${ECHO_T}\"no\"" >&6
    6939 { { echo "$as_me:$LINENO: error: \"Perl 5 not available - cannot install\"" >&5
    6940 echo "$as_me: error: \"Perl 5 not available - cannot install\"" >&2;}
    6941    { (exit 1); exit 1; }; }
     5797{ $as_echo "$as_me:${as_lineno-$LINENO}: result: \"no\"" >&5
     5798$as_echo "\"no\"" >&6; }
     5799as_fn_error "\"Perl 5 not available - cannot install\"" "$LINENO" 5
    69425800fi
    69435801
    69445802success=no
    6945 echo "$as_me:$LINENO: checking \"whether STL library has known faults\"" >&5
    6946 echo $ECHO_N "checking \"whether STL library has known faults\"... $ECHO_C" >&6
    6947 
    6948 
    6949 cat >conftest.$ac_ext <<_ACEOF
    6950 /* confdefs.h.  */
    6951 _ACEOF
    6952 cat confdefs.h >>conftest.$ac_ext
    6953 cat >>conftest.$ac_ext <<_ACEOF
     5803{ $as_echo "$as_me:${as_lineno-$LINENO}: checking \"whether STL library has known faults\"" >&5
     5804$as_echo_n "checking \"whether STL library has known faults\"... " >&6; }
     5805
     5806
     5807cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    69545808/* end confdefs.h.  */
    69555809#include <vector>
     
    69635817}
    69645818_ACEOF
    6965 rm -f conftest.$ac_objext
    6966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    6967   (eval $ac_compile) 2>conftest.er1
    6968   ac_status=$?
    6969   grep -v '^ *+' conftest.er1 >conftest.err
    6970   rm -f conftest.er1
    6971   cat conftest.err >&5
    6972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6973   (exit $ac_status); } &&
    6974      { ac_try='test -z "$ac_cxx_werror_flag"
    6975              || test ! -s conftest.err'
    6976   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6977   (eval $ac_try) 2>&5
    6978   ac_status=$?
    6979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6980   (exit $ac_status); }; } &&
    6981      { ac_try='test -s conftest.$ac_objext'
    6982   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    6983   (eval $ac_try) 2>&5
    6984   ac_status=$?
    6985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6986   (exit $ac_status); }; }; then
     5819if ac_fn_cxx_try_compile "$LINENO"; then :
    69875820  success=yes
    6988 else
    6989   echo "$as_me: failed program was:" >&5
    6990 sed 's/^/| /' conftest.$ac_ext >&5
    6991 
    6992 fi
    6993 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     5821fi
     5822rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    69945823
    69955824if test $success = "no"; then
    6996 cat >conftest.$ac_ext <<_ACEOF
    6997 /* confdefs.h.  */
    6998 _ACEOF
    6999 cat confdefs.h >>conftest.$ac_ext
    7000 cat >>conftest.$ac_ext <<_ACEOF
     5825cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    70015826/* end confdefs.h.  */
    70025827#include <vector.h>
     
    70105835}
    70115836_ACEOF
    7012 rm -f conftest.$ac_objext
    7013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    7014   (eval $ac_compile) 2>conftest.er1
    7015   ac_status=$?
    7016   grep -v '^ *+' conftest.er1 >conftest.err
    7017   rm -f conftest.er1
    7018   cat conftest.err >&5
    7019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7020   (exit $ac_status); } &&
    7021      { ac_try='test -z "$ac_cxx_werror_flag"
    7022              || test ! -s conftest.err'
    7023   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7024   (eval $ac_try) 2>&5
    7025   ac_status=$?
    7026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7027   (exit $ac_status); }; } &&
    7028      { ac_try='test -s conftest.$ac_objext'
    7029   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7030   (eval $ac_try) 2>&5
    7031   ac_status=$?
    7032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7033   (exit $ac_status); }; }; then
     5837if ac_fn_cxx_try_compile "$LINENO"; then :
    70345838  success="yes"
    7035 else
    7036   echo "$as_me: failed program was:" >&5
    7037 sed 's/^/| /' conftest.$ac_ext >&5
    7038 
    7039 fi
    7040 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     5839fi
     5840rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    70415841fi
    70425842
    70435843if test $success = "no"; then
    7044 cat >conftest.$ac_ext <<_ACEOF
    7045 /* confdefs.h.  */
    7046 _ACEOF
    7047 cat confdefs.h >>conftest.$ac_ext
    7048 cat >>conftest.$ac_ext <<_ACEOF
     5844cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    70495845/* end confdefs.h.  */
    70505846#include <ospace\\std\\vector>
     
    70585854}
    70595855_ACEOF
    7060 rm -f conftest.$ac_objext
    7061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    7062   (eval $ac_compile) 2>conftest.er1
    7063   ac_status=$?
    7064   grep -v '^ *+' conftest.er1 >conftest.err
    7065   rm -f conftest.er1
    7066   cat conftest.err >&5
    7067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7068   (exit $ac_status); } &&
    7069      { ac_try='test -z "$ac_cxx_werror_flag"
    7070              || test ! -s conftest.err'
    7071   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7072   (eval $ac_try) 2>&5
    7073   ac_status=$?
    7074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7075   (exit $ac_status); }; } &&
    7076      { ac_try='test -s conftest.$ac_objext'
    7077   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7078   (eval $ac_try) 2>&5
    7079   ac_status=$?
    7080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7081   (exit $ac_status); }; }; then
     5856if ac_fn_cxx_try_compile "$LINENO"; then :
    70825857  success="yes"
    7083 else
    7084   echo "$as_me: failed program was:" >&5
    7085 sed 's/^/| /' conftest.$ac_ext >&5
    7086 
    7087 fi
    7088 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     5858fi
     5859rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    70895860fi
    70905861
    70915862if test $success = yes; then
    7092 echo "$as_me:$LINENO: result: \"no\"" >&5
    7093 echo "${ECHO_T}\"no\"" >&6
    7094 else
    7095 echo "$as_me:$LINENO: result: \"yes\"" >&5
    7096 echo "${ECHO_T}\"yes\"" >&6
    7097 { { echo "$as_me:$LINENO: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&5
    7098 echo "$as_me: error: \"STL Broken - Obtain newer version of GNU C Compiler\"" >&2;}
    7099    { (exit 1); exit 1; }; }
     5863{ $as_echo "$as_me:${as_lineno-$LINENO}: result: \"no\"" >&5
     5864$as_echo "\"no\"" >&6; }
     5865else
     5866{ $as_echo "$as_me:${as_lineno-$LINENO}: result: \"yes\"" >&5
     5867$as_echo "\"yes\"" >&6; }
     5868as_fn_error "\"STL Broken - Obtain newer version of GNU C Compiler\"" "$LINENO" 5
    71005869fi
    71015870
     
    71095878
    71105879# check for endianness
    7111 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
    7112 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
    7113 if test "${ac_cv_c_bigendian+set}" = set; then
    7114   echo $ECHO_N "(cached) $ECHO_C" >&6
    7115 else
    7116   # See if sys/param.h defines the BYTE_ORDER macro.
    7117 cat >conftest.$ac_ext <<_ACEOF
    7118 /* confdefs.h.  */
    7119 _ACEOF
    7120 cat confdefs.h >>conftest.$ac_ext
    7121 cat >>conftest.$ac_ext <<_ACEOF
     5880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
     5881$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
     5882if test "${ac_cv_c_bigendian+set}" = set; then :
     5883  $as_echo_n "(cached) " >&6
     5884else
     5885  ac_cv_c_bigendian=unknown
     5886    # See if we're dealing with a universal compiler.
     5887    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5888/* end confdefs.h.  */
     5889#ifndef __APPLE_CC__
     5890           not a universal capable compiler
     5891         #endif
     5892         typedef int dummy;
     5893
     5894_ACEOF
     5895if ac_fn_cxx_try_compile "$LINENO"; then :
     5896
     5897    # Check for potential -arch flags.  It is not universal unless
     5898    # there are at least two -arch flags with different values.
     5899    ac_arch=
     5900    ac_prev=
     5901    for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
     5902     if test -n "$ac_prev"; then
     5903       case $ac_word in
     5904         i?86 | x86_64 | ppc | ppc64)
     5905           if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
     5906         ac_arch=$ac_word
     5907           else
     5908         ac_cv_c_bigendian=universal
     5909         break
     5910           fi
     5911           ;;
     5912       esac
     5913       ac_prev=
     5914     elif test "x$ac_word" = "x-arch"; then
     5915       ac_prev=arch
     5916     fi
     5917       done
     5918fi
     5919rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5920    if test $ac_cv_c_bigendian = unknown; then
     5921      # See if sys/param.h defines the BYTE_ORDER macro.
     5922      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    71225923/* end confdefs.h.  */
    71235924#include <sys/types.h>
    7124 #include <sys/param.h>
     5925         #include <sys/param.h>
    71255926
    71265927int
    71275928main ()
    71285929{
    7129 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
    7130  bogus endian macros
    7131 #endif
     5930#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
     5931             && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
     5932             && LITTLE_ENDIAN)
     5933          bogus endian macros
     5934         #endif
    71325935
    71335936  ;
     
    71355938}
    71365939_ACEOF
    7137 rm -f conftest.$ac_objext
    7138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    7139   (eval $ac_compile) 2>conftest.er1
    7140   ac_status=$?
    7141   grep -v '^ *+' conftest.er1 >conftest.err
    7142   rm -f conftest.er1
    7143   cat conftest.err >&5
    7144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7145   (exit $ac_status); } &&
    7146      { ac_try='test -z "$ac_cxx_werror_flag"
    7147              || test ! -s conftest.err'
    7148   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7149   (eval $ac_try) 2>&5
    7150   ac_status=$?
    7151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7152   (exit $ac_status); }; } &&
    7153      { ac_try='test -s conftest.$ac_objext'
    7154   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7155   (eval $ac_try) 2>&5
    7156   ac_status=$?
    7157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7158   (exit $ac_status); }; }; then
     5940if ac_fn_cxx_try_compile "$LINENO"; then :
    71595941  # It does; now see whether it defined to BIG_ENDIAN or not.
    7160 cat >conftest.$ac_ext <<_ACEOF
    7161 /* confdefs.h.  */
    7162 _ACEOF
    7163 cat confdefs.h >>conftest.$ac_ext
    7164 cat >>conftest.$ac_ext <<_ACEOF
     5942     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    71655943/* end confdefs.h.  */
    71665944#include <sys/types.h>
    7167 #include <sys/param.h>
     5945        #include <sys/param.h>
    71685946
    71695947int
     
    71715949{
    71725950#if BYTE_ORDER != BIG_ENDIAN
    7173  not big endian
    7174 #endif
     5951        not big endian
     5952        #endif
    71755953
    71765954  ;
     
    71785956}
    71795957_ACEOF
    7180 rm -f conftest.$ac_objext
    7181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    7182   (eval $ac_compile) 2>conftest.er1
    7183   ac_status=$?
    7184   grep -v '^ *+' conftest.er1 >conftest.err
    7185   rm -f conftest.er1
    7186   cat conftest.err >&5
    7187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7188   (exit $ac_status); } &&
    7189      { ac_try='test -z "$ac_cxx_werror_flag"
    7190              || test ! -s conftest.err'
    7191   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7192   (eval $ac_try) 2>&5
    7193   ac_status=$?
    7194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7195   (exit $ac_status); }; } &&
    7196      { ac_try='test -s conftest.$ac_objext'
    7197   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7198   (eval $ac_try) 2>&5
    7199   ac_status=$?
    7200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7201   (exit $ac_status); }; }; then
     5958if ac_fn_cxx_try_compile "$LINENO"; then :
    72025959  ac_cv_c_bigendian=yes
    72035960else
    7204   echo "$as_me: failed program was:" >&5
    7205 sed 's/^/| /' conftest.$ac_ext >&5
    7206 
    7207 ac_cv_c_bigendian=no
    7208 fi
    7209 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    7210 else
    7211   echo "$as_me: failed program was:" >&5
    7212 sed 's/^/| /' conftest.$ac_ext >&5
    7213 
    7214 # It does not; compile a test program.
    7215 if test "$cross_compiling" = yes; then
    7216   # try to guess the endianness by grepping values into an object file
    7217   ac_cv_c_bigendian=unknown
    7218   cat >conftest.$ac_ext <<_ACEOF
    7219 /* confdefs.h.  */
    7220 _ACEOF
    7221 cat confdefs.h >>conftest.$ac_ext
    7222 cat >>conftest.$ac_ext <<_ACEOF
     5961  ac_cv_c_bigendian=no
     5962fi
     5963rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5964fi
     5965rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5966    fi
     5967    if test $ac_cv_c_bigendian = unknown; then
     5968      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
     5969      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    72235970/* end confdefs.h.  */
    7224 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
    7225 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
    7226 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
    7227 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
    7228 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
    7229 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
     5971#include <limits.h>
     5972
    72305973int
    72315974main ()
    72325975{
    7233  _ascii (); _ebcdic ();
     5976#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
     5977          bogus endian macros
     5978         #endif
     5979
    72345980  ;
    72355981  return 0;
    72365982}
    72375983_ACEOF
    7238 rm -f conftest.$ac_objext
    7239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
    7240   (eval $ac_compile) 2>conftest.er1
    7241   ac_status=$?
    7242   grep -v '^ *+' conftest.er1 >conftest.err
    7243   rm -f conftest.er1
    7244   cat conftest.err >&5
    7245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7246   (exit $ac_status); } &&
    7247      { ac_try='test -z "$ac_cxx_werror_flag"
    7248              || test ! -s conftest.err'
    7249   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7250   (eval $ac_try) 2>&5
    7251   ac_status=$?
    7252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7253   (exit $ac_status); }; } &&
    7254      { ac_try='test -s conftest.$ac_objext'
    7255   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7256   (eval $ac_try) 2>&5
    7257   ac_status=$?
    7258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7259   (exit $ac_status); }; }; then
    7260   if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
    7261   ac_cv_c_bigendian=yes
    7262 fi
    7263 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
    7264   if test "$ac_cv_c_bigendian" = unknown; then
    7265     ac_cv_c_bigendian=no
    7266   else
    7267     # finding both strings is unlikely to happen, but who knows?
    7268     ac_cv_c_bigendian=unknown
    7269   fi
    7270 fi
    7271 else
    7272   echo "$as_me: failed program was:" >&5
    7273 sed 's/^/| /' conftest.$ac_ext >&5
    7274 
    7275 fi
    7276 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    7277 else
    7278   cat >conftest.$ac_ext <<_ACEOF
    7279 /* confdefs.h.  */
    7280 _ACEOF
    7281 cat confdefs.h >>conftest.$ac_ext
    7282 cat >>conftest.$ac_ext <<_ACEOF
     5984if ac_fn_cxx_try_compile "$LINENO"; then :
     5985  # It does; now see whether it defined to _BIG_ENDIAN or not.
     5986     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    72835987/* end confdefs.h.  */
     5988#include <limits.h>
     5989
    72845990int
    72855991main ()
    72865992{
    7287   /* Are we little or big endian?  From Harbison&Steele.  */
    7288   union
    7289   {
    7290     long l;
    7291     char c[sizeof (long)];
    7292   } u;
    7293   u.l = 1;
    7294   exit (u.c[sizeof (long) - 1] == 1);
     5993#ifndef _BIG_ENDIAN
     5994         not big endian
     5995        #endif
     5996
     5997  ;
     5998  return 0;
    72955999}
    72966000_ACEOF
    7297 rm -f conftest$ac_exeext
    7298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
    7299   (eval $ac_link) 2>&5
    7300   ac_status=$?
    7301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7302   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    7303   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
    7304   (eval $ac_try) 2>&5
    7305   ac_status=$?
    7306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7307   (exit $ac_status); }; }; then
     6001if ac_fn_cxx_try_compile "$LINENO"; then :
     6002  ac_cv_c_bigendian=yes
     6003else
    73086004  ac_cv_c_bigendian=no
    7309 else
    7310   echo "$as_me: program exited with status $ac_status" >&5
    7311 echo "$as_me: failed program was:" >&5
    7312 sed 's/^/| /' conftest.$ac_ext >&5
    7313 
    7314 ( exit $ac_status )
    7315 ac_cv_c_bigendian=yes
    7316 fi
    7317 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    7318 fi
    7319 fi
    7320 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
    7321 fi
    7322 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
    7323 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
    7324 case $ac_cv_c_bigendian in
    7325   yes)
    7326 
    7327 cat >>confdefs.h <<\_ACEOF
    7328 #define WORDS_BIGENDIAN 1
    7329 _ACEOF
    7330  ;;
    7331   no)
    7332      ;;
    7333   *)
    7334     { { echo "$as_me:$LINENO: error: unknown endianness
    7335 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
    7336 echo "$as_me: error: unknown endianness
    7337 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
    7338    { (exit 1); exit 1; }; } ;;
    7339 esac
     6005fi
     6006rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     6007fi
     6008rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     6009    fi
     6010    if test $ac_cv_c_bigendian = unknown; then
     6011      # Compile a test program.
     6012      if test "$cross_compiling" = yes; then :
     6013  # Try to guess by grepping values from an object file.
     6014     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     6015/* end confdefs.h.  */
     6016short int ascii_mm[] =
     6017          { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
     6018        short int ascii_ii[] =
     6019          { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
     6020        int use_ascii (int i) {
     6021          return ascii_mm[i] + ascii_ii[i];
     6022        }
     6023        short int ebcdic_ii[] =
     6024          { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
     6025        short int ebcdic_mm[] =
     6026          { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
     6027        int use_ebcdic (int i) {
     6028          return ebcdic_mm[i] + ebcdic_ii[i];
     6029        }
     6030        extern int foo;
     6031
     6032int
     6033main ()
     6034{
     6035return use_ascii (foo) == use_ebcdic (foo);
     6036  ;
     6037  return 0;
     6038}
     6039_ACEOF
     6040if ac_fn_cxx_try_compile "$LINENO"; then :
     6041  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
     6042          ac_cv_c_bigendian=yes
     6043        fi
     6044        if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
     6045          if test "$ac_cv_c_bigendian" = unknown; then
     6046        ac_cv_c_bigendian=no
     6047          else
     6048        # finding both strings is unlikely to happen, but who knows?
     6049        ac_cv_c_bigendian=unknown
     6050          fi
     6051        fi
     6052fi
     6053rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     6054else
     6055  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     6056/* end confdefs.h.  */
     6057$ac_includes_default
     6058int
     6059main ()
     6060{
     6061
     6062         /* Are we little or big endian?  From Harbison&Steele.  */
     6063         union
     6064         {
     6065           long int l;
     6066           char c[sizeof (long int)];
     6067         } u;
     6068         u.l = 1;
     6069         return u.c[sizeof (long int) - 1] == 1;
     6070
     6071  ;
     6072  return 0;
     6073}
     6074_ACEOF
     6075if ac_fn_cxx_try_run "$LINENO"; then :
     6076  ac_cv_c_bigendian=no
     6077else
     6078  ac_cv_c_bigendian=yes
     6079fi
     6080rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     6081  conftest.$ac_objext conftest.beam conftest.$ac_ext
     6082fi
     6083
     6084    fi
     6085fi
     6086{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
     6087$as_echo "$ac_cv_c_bigendian" >&6; }
     6088 case $ac_cv_c_bigendian in #(
     6089   yes)
     6090     $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
     6091;; #(
     6092   no)
     6093      ;; #(
     6094   universal)
     6095
     6096$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
     6097
     6098     ;; #(
     6099   *)
     6100     as_fn_error "unknown endianness
     6101 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
     6102 esac
    73406103
    73416104# ---------------------------------------------------------------------------
    73426105if test "$ac_cv_func_alloca" = 'no'; then
    7343   case $LIBOBJS in
    7344     "xmalloc.o.$ac_objext"   | \
    7345   *" xmalloc.o.$ac_objext"   | \
    7346     "xmalloc.o.$ac_objext "* | \
     6106  case " $LIBOBJS " in
    73476107  *" xmalloc.o.$ac_objext "* ) ;;
    7348   *) LIBOBJS="$LIBOBJS xmalloc.o.$ac_objext" ;;
     6108  *) LIBOBJS="$LIBOBJS xmalloc.o.$ac_objext"
     6109 ;;
    73496110esac
    73506111
    7351   case $LIBOBJS in
    7352     "error.$ac_objext"   | \
    7353   *" error.$ac_objext"   | \
    7354     "error.$ac_objext "* | \
     6112  case " $LIBOBJS " in
    73556113  *" error.$ac_objext "* ) ;;
    7356   *) LIBOBJS="$LIBOBJS error.$ac_objext" ;;
     6114  *) LIBOBJS="$LIBOBJS error.$ac_objext"
     6115 ;;
    73576116esac
    73586117
     
    73876146subdirs="$subdirs common-src"
    73886147
    7389 
    7390 
    73916148subdirs="$subdirs build-src"
    73926149
     
    73976154
    73986155if test -d runtime-src; then
    7399 
    7400 
    7401 subdirs="$subdirs runtime-src"
     6156   subdirs="$subdirs runtime-src"
    74026157
    74036158   srclist="$srclist \
     
    74056160fi
    74066161
    7407                               ac_config_files="$ac_config_files Makefile $srclist $moduleDirs"
     6162ac_config_files="$ac_config_files Makefile $srclist $moduleDirs"
     6163
    74086164cat >confcache <<\_ACEOF
    74096165# This file is a shell script that caches the results of configure
     
    74246180# The following way of writing the cache mishandles newlines in values,
    74256181# but we know of no workaround that is simple, portable, and efficient.
    7426 # So, don't put newlines in cache variables' values.
     6182# So, we kill variables containing newlines.
    74276183# Ultrix sh set writes to stderr and can't be redirected directly,
    74286184# and sets the high bit in the cache file unless we assign to the vars.
    7429 {
     6185(
     6186  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
     6187    eval ac_val=\$$ac_var
     6188    case $ac_val in #(
     6189    *${as_nl}*)
     6190      case $ac_var in #(
     6191      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
     6192$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
     6193      esac
     6194      case $ac_var in #(
     6195      _ | IFS | as_nl) ;; #(
     6196      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
     6197      *) { eval $ac_var=; unset $ac_var;} ;;
     6198      esac ;;
     6199    esac
     6200  done
     6201
    74306202  (set) 2>&1 |
    7431     case `(ac_space=' '; set | grep ac_space) 2>&1` in
    7432     *ac_space=\ *)
    7433       # `set' does not quote correctly, so add quotes (double-quote
    7434       # substitution turns \\\\ into \\, and sed turns \\ into \).
     6203    case $as_nl`(ac_space=' '; set) 2>&1` in #(
     6204    *${as_nl}ac_space=\ *)
     6205      # `set' does not quote correctly, so add quotes: double-quote
     6206      # substitution turns \\\\ into \\, and sed turns \\ into \.
    74356207      sed -n \
    74366208    "s/'/'\\\\''/g;
    74376209      s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
    7438       ;;
     6210      ;; #(
    74396211    *)
    74406212      # `set' quotes correctly as required by POSIX, so do not add quotes.
    7441       sed -n \
    7442     "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
     6213      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
    74436214      ;;
    7444     esac;
    7445 } |
     6215    esac |
     6216    sort
     6217) |
    74466218  sed '
     6219     /^ac_cv_env_/b end
    74476220     t clear
    7448      : clear
     6221     :clear
    74496222     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
    74506223     t end
    7451      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
    7452      : end' >>confcache
    7453 if diff $cache_file confcache >/dev/null 2>&1; then :; else
    7454   if test -w $cache_file; then
    7455     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
     6224     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
     6225     :end' >>confcache
     6226if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
     6227  if test -w "$cache_file"; then
     6228    test "x$cache_file" != "x/dev/null" &&
     6229      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
     6230$as_echo "$as_me: updating cache $cache_file" >&6;}
    74566231    cat confcache >$cache_file
    74576232  else
    7458     echo "not updating unwritable cache $cache_file"
     6233    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
     6234$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
    74596235  fi
    74606236fi
     
    74646240# Let make expand exec_prefix.
    74656241test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
    7466 
    7467 # VPATH may cause trouble with some makes, so we remove $(srcdir),
    7468 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
    7469 # trailing colons and then remove the whole line if VPATH becomes empty
    7470 # (actually we leave an empty line to preserve line numbers).
    7471 if test "x$srcdir" = x.; then
    7472   ac_vpsub='/^[  ]*VPATH[    ]*=/{
    7473 s/:*\$(srcdir):*/:/;
    7474 s/:*\${srcdir}:*/:/;
    7475 s/:*@srcdir@:*/:/;
    7476 s/^\([^=]*=[     ]*\):*/\1/;
    7477 s/:*$//;
    7478 s/^[^=]*=[   ]*$//;
    7479 }'
    7480 fi
    74816242
    74826243DEFS=-DHAVE_CONFIG_H
     
    74866247for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
    74876248  # 1. Remove the extension, and $U if already installed.
    7488   ac_i=`echo "$ac_i" |
    7489      sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
    7490   # 2. Add them.
    7491   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
    7492   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
     6249  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
     6250  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
     6251  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
     6252  #    will be set to the directory where LIBOBJS objects are built.
     6253  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
     6254  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
    74936255done
    74946256LIBOBJS=$ac_libobjs
     
    74986260
    74996261
     6262
    75006263: ${CONFIG_STATUS=./config.status}
     6264ac_write_fail=0
    75016265ac_clean_files_save=$ac_clean_files
    75026266ac_clean_files="$ac_clean_files $CONFIG_STATUS"
    7503 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
    7504 echo "$as_me: creating $CONFIG_STATUS" >&6;}
    7505 cat >$CONFIG_STATUS <<_ACEOF
     6267{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
     6268$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
     6269as_write_fail=0
     6270cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
    75066271#! $SHELL
    75076272# Generated by $as_me.
     
    75136278ac_cs_recheck=false
    75146279ac_cs_silent=false
     6280
    75156281SHELL=\${CONFIG_SHELL-$SHELL}
    7516 _ACEOF
    7517 
    7518 cat >>$CONFIG_STATUS <<\_ACEOF
    7519 ## --------------------- ##
    7520 ## M4sh Initialization.  ##
    7521 ## --------------------- ##
    7522 
    7523 # Be Bourne compatible
    7524 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     6282export SHELL
     6283_ASEOF
     6284cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
     6285## -------------------- ##
     6286## M4sh Initialization. ##
     6287## -------------------- ##
     6288
     6289# Be more Bourne compatible
     6290DUALCASE=1; export DUALCASE # for MKS sh
     6291if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
    75256292  emulate sh
    75266293  NULLCMD=:
    7527   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
     6294  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    75286295  # is contrary to our usage.  Disable this feature.
    75296296  alias -g '${1+"$@"}'='"$@"'
    7530 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
    7531   set -o posix
    7532 fi
    7533 DUALCASE=1; export DUALCASE # for MKS sh
    7534 
    7535 # Support unset when possible.
    7536 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    7537   as_unset=unset
    7538 else
    7539   as_unset=false
    7540 fi
    7541 
    7542 
    7543 # Work around bugs in pre-3.0 UWIN ksh.
    7544 $as_unset ENV MAIL MAILPATH
     6297  setopt NO_GLOB_SUBST
     6298else
     6299  case `(set -o) 2>/dev/null` in #(
     6300  *posix*) :
     6301    set -o posix ;; #(
     6302  *) :
     6303     ;;
     6304esac
     6305fi
     6306
     6307
     6308as_nl='
     6309'
     6310export as_nl
     6311# Printing a long string crashes Solaris 7 /usr/bin/printf.
     6312as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     6313as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     6314as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     6315# Prefer a ksh shell builtin over an external printf program on Solaris,
     6316# but without wasting forks for bash or zsh.
     6317if test -z "$BASH_VERSION$ZSH_VERSION" \
     6318    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     6319  as_echo='print -r --'
     6320  as_echo_n='print -rn --'
     6321elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     6322  as_echo='printf %s\n'
     6323  as_echo_n='printf %s'
     6324else
     6325  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     6326    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     6327    as_echo_n='/usr/ucb/echo -n'
     6328  else
     6329    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     6330    as_echo_n_body='eval
     6331      arg=$1;
     6332      case $arg in #(
     6333      *"$as_nl"*)
     6334    expr "X$arg" : "X\\(.*\\)$as_nl";
     6335    arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     6336      esac;
     6337      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     6338    '
     6339    export as_echo_n_body
     6340    as_echo_n='sh -c $as_echo_n_body as_echo'
     6341  fi
     6342  export as_echo_body
     6343  as_echo='sh -c $as_echo_body as_echo'
     6344fi
     6345
     6346# The user is always right.
     6347if test "${PATH_SEPARATOR+set}" != set; then
     6348  PATH_SEPARATOR=:
     6349  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     6350    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     6351      PATH_SEPARATOR=';'
     6352  }
     6353fi
     6354
     6355
     6356# IFS
     6357# We need space, tab and new line, in precisely that order.  Quoting is
     6358# there to prevent editors from complaining about space-tab.
     6359# (If _AS_PATH_WALK were called with IFS unset, it would disable word
     6360# splitting by setting IFS to empty value.)
     6361IFS=" ""    $as_nl"
     6362
     6363# Find who we are.  Look in the path if we contain no directory separator.
     6364case $0 in #((
     6365  *[\\/]* ) as_myself=$0 ;;
     6366  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     6367for as_dir in $PATH
     6368do
     6369  IFS=$as_save_IFS
     6370  test -z "$as_dir" && as_dir=.
     6371    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     6372  done
     6373IFS=$as_save_IFS
     6374
     6375     ;;
     6376esac
     6377# We did not find ourselves, most probably we were run as `sh COMMAND'
     6378# in which case we are not to be found in the path.
     6379if test "x$as_myself" = x; then
     6380  as_myself=$0
     6381fi
     6382if test ! -f "$as_myself"; then
     6383  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
     6384  exit 1
     6385fi
     6386
     6387# Unset variables that we do not need and which cause bugs (e.g. in
     6388# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
     6389# suppresses any "Segmentation fault" message there.  '((' could
     6390# trigger a bug in pdksh 5.2.14.
     6391for as_var in BASH_ENV ENV MAIL MAILPATH
     6392do eval test x\${$as_var+set} = xset \
     6393  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
     6394done
    75456395PS1='$ '
    75466396PS2='> '
     
    75486398
    75496399# NLS nuisances.
    7550 for as_var in \
    7551   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
    7552   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
    7553   LC_TELEPHONE LC_TIME
    7554 do
    7555   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
    7556     eval $as_var=C; export $as_var
    7557   else
    7558     $as_unset $as_var
     6400LC_ALL=C
     6401export LC_ALL
     6402LANGUAGE=C
     6403export LANGUAGE
     6404
     6405# CDPATH.
     6406(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
     6407
     6408
     6409# as_fn_error ERROR [LINENO LOG_FD]
     6410# ---------------------------------
     6411# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
     6412# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
     6413# script with status $?, using 1 if that was 0.
     6414as_fn_error ()
     6415{
     6416  as_status=$?; test $as_status -eq 0 && as_status=1
     6417  if test "$3"; then
     6418    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     6419    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
    75596420  fi
    7560 done
    7561 
    7562 # Required to use basename.
    7563 if expr a : '\(a\)' >/dev/null 2>&1; then
     6421  $as_echo "$as_me: error: $1" >&2
     6422  as_fn_exit $as_status
     6423} # as_fn_error
     6424
     6425
     6426# as_fn_set_status STATUS
     6427# -----------------------
     6428# Set $? to STATUS, without forking.
     6429as_fn_set_status ()
     6430{
     6431  return $1
     6432} # as_fn_set_status
     6433
     6434# as_fn_exit STATUS
     6435# -----------------
     6436# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
     6437as_fn_exit ()
     6438{
     6439  set +e
     6440  as_fn_set_status $1
     6441  exit $1
     6442} # as_fn_exit
     6443
     6444# as_fn_unset VAR
     6445# ---------------
     6446# Portably unset VAR.
     6447as_fn_unset ()
     6448{
     6449  { eval $1=; unset $1;}
     6450}
     6451as_unset=as_fn_unset
     6452# as_fn_append VAR VALUE
     6453# ----------------------
     6454# Append the text in VALUE to the end of the definition contained in VAR. Take
     6455# advantage of any shell optimizations that allow amortized linear growth over
     6456# repeated appends, instead of the typical quadratic growth present in naive
     6457# implementations.
     6458if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
     6459  eval 'as_fn_append ()
     6460  {
     6461    eval $1+=\$2
     6462  }'
     6463else
     6464  as_fn_append ()
     6465  {
     6466    eval $1=\$$1\$2
     6467  }
     6468fi # as_fn_append
     6469
     6470# as_fn_arith ARG...
     6471# ------------------
     6472# Perform arithmetic evaluation on the ARGs, and store the result in the
     6473# global $as_val. Take advantage of shells that can avoid forks. The arguments
     6474# must be portable across $(()) and expr.
     6475if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
     6476  eval 'as_fn_arith ()
     6477  {
     6478    as_val=$(( $* ))
     6479  }'
     6480else
     6481  as_fn_arith ()
     6482  {
     6483    as_val=`expr "$@" || test $? -eq 1`
     6484  }
     6485fi # as_fn_arith
     6486
     6487
     6488if expr a : '\(a\)' >/dev/null 2>&1 &&
     6489   test "X`expr 00001 : '.*\(...\)'`" = X001; then
    75646490  as_expr=expr
    75656491else
     
    75676493fi
    75686494
    7569 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
     6495if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    75706496  as_basename=basename
    75716497else
     
    75736499fi
    75746500
    7575 
    7576 # Name of the executable.
    7577 as_me=`$as_basename "$0" ||
     6501if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
     6502  as_dirname=dirname
     6503else
     6504  as_dirname=false
     6505fi
     6506
     6507as_me=`$as_basename -- "$0" ||
    75786508$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    75796509     X"$0" : 'X\(//\)$' \| \
    7580      X"$0" : 'X\(/\)$' \| \
    7581      .     : '\(.\)' 2>/dev/null ||
    7582 echo X/"$0" |
    7583     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
    7584       /^X\/\(\/\/\)$/{ s//\1/; q; }
    7585       /^X\/\(\/\).*/{ s//\1/; q; }
    7586       s/.*/./; q'`
    7587 
    7588 
    7589 # PATH needs CR, and LINENO needs CR and PATH.
     6510     X"$0" : 'X\(/\)' \| . 2>/dev/null ||
     6511$as_echo X/"$0" |
     6512    sed '/^.*\/\([^/][^/]*\)\/*$/{
     6513        s//\1/
     6514        q
     6515      }
     6516      /^X\/\(\/\/\)$/{
     6517        s//\1/
     6518        q
     6519      }
     6520      /^X\/\(\/\).*/{
     6521        s//\1/
     6522        q
     6523      }
     6524      s/.*/./; q'`
     6525
    75906526# Avoid depending upon Character Ranges.
    75916527as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     
    75956531as_cr_alnum=$as_cr_Letters$as_cr_digits
    75966532
    7597 # The user is always right.
    7598 if test "${PATH_SEPARATOR+set}" != set; then
    7599   echo "#! /bin/sh" >conf$$.sh
    7600   echo  "exit 0"   >>conf$$.sh
    7601   chmod +x conf$$.sh
    7602   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
    7603     PATH_SEPARATOR=';'
     6533ECHO_C= ECHO_N= ECHO_T=
     6534case `echo -n x` in #(((((
     6535-n*)
     6536  case `echo 'xy\c'` in
     6537  *c*) ECHO_T=' ';; # ECHO_T is single tab character.
     6538  xy)  ECHO_C='\c';;
     6539  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
     6540       ECHO_T=' ';;
     6541  esac;;
     6542*)
     6543  ECHO_N='-n';;
     6544esac
     6545
     6546rm -f conf$$ conf$$.exe conf$$.file
     6547if test -d conf$$.dir; then
     6548  rm -f conf$$.dir/conf$$.file
     6549else
     6550  rm -f conf$$.dir
     6551  mkdir conf$$.dir 2>/dev/null
     6552fi
     6553if (echo >conf$$.file) 2>/dev/null; then
     6554  if ln -s conf$$.file conf$$ 2>/dev/null; then
     6555    as_ln_s='ln -s'
     6556    # ... but there are two gotchas:
     6557    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
     6558    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
     6559    # In both cases, we have to default to `cp -p'.
     6560    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
     6561      as_ln_s='cp -p'
     6562  elif ln conf$$.file conf$$ 2>/dev/null; then
     6563    as_ln_s=ln
    76046564  else
    7605     PATH_SEPARATOR=:
     6565    as_ln_s='cp -p'
    76066566  fi
    7607   rm -f conf$$.sh
    7608 fi
    7609 
    7610 
    7611   as_lineno_1=$LINENO
    7612   as_lineno_2=$LINENO
    7613   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    7614   test "x$as_lineno_1" != "x$as_lineno_2" &&
    7615   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
    7616   # Find who we are.  Look in the path if we contain no path at all
    7617   # relative or not.
    7618   case $0 in
    7619     *[\\/]* ) as_myself=$0 ;;
    7620     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    7621 for as_dir in $PATH
    7622 do
    7623   IFS=$as_save_IFS
    7624   test -z "$as_dir" && as_dir=.
    7625   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    7626 done
    7627 
    7628        ;;
     6567else
     6568  as_ln_s='cp -p'
     6569fi
     6570rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
     6571rmdir conf$$.dir 2>/dev/null
     6572
     6573
     6574# as_fn_mkdir_p
     6575# -------------
     6576# Create "$as_dir" as a directory, including parents if necessary.
     6577as_fn_mkdir_p ()
     6578{
     6579
     6580  case $as_dir in #(
     6581  -*) as_dir=./$as_dir;;
    76296582  esac
    7630   # We did not find ourselves, most probably we were run as `sh COMMAND'
    7631   # in which case we are not to be found in the path.
    7632   if test "x$as_myself" = x; then
    7633     as_myself=$0
    7634   fi
    7635   if test ! -f "$as_myself"; then
    7636     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
    7637 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
    7638    { (exit 1); exit 1; }; }
    7639   fi
    7640   case $CONFIG_SHELL in
    7641   '')
    7642     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    7643 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    7644 do
    7645   IFS=$as_save_IFS
    7646   test -z "$as_dir" && as_dir=.
    7647   for as_base in sh bash ksh sh5; do
    7648      case $as_dir in
    7649      /*)
    7650        if ("$as_dir/$as_base" -c '
    7651   as_lineno_1=$LINENO
    7652   as_lineno_2=$LINENO
    7653   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    7654   test "x$as_lineno_1" != "x$as_lineno_2" &&
    7655   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
    7656          $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
    7657          $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
    7658          CONFIG_SHELL=$as_dir/$as_base
    7659          export CONFIG_SHELL
    7660          exec "$CONFIG_SHELL" "$0" ${1+"$@"}
    7661        fi;;
    7662      esac
    7663        done
    7664 done
    7665 ;;
    7666   esac
    7667 
    7668   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    7669   # uniformly replaced by the line number.  The first 'sed' inserts a
    7670   # line-number line before each line; the second 'sed' does the real
    7671   # work.  The second script uses 'N' to pair each line-number line
    7672   # with the numbered line, and appends trailing '-' during
    7673   # substitution so that $LINENO is not a special case at line end.
    7674   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    7675   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
    7676   sed '=' <$as_myself |
    7677     sed '
    7678       N
    7679       s,$,-,
    7680       : loop
    7681       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
    7682       t loop
    7683       s,-$,,
    7684       s,^['$as_cr_digits']*\n,,
    7685     ' >$as_me.lineno &&
    7686   chmod +x $as_me.lineno ||
    7687     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
    7688 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
    7689    { (exit 1); exit 1; }; }
    7690 
    7691   # Don't try to exec as it changes $[0], causing all sort of problems
    7692   # (the dirname of $[0] is not the place where we might find the
    7693   # original and so on.  Autoconf is especially sensible to this).
    7694   . ./$as_me.lineno
    7695   # Exit status is that of the last command.
    7696   exit
    7697 }
    7698 
    7699 
    7700 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
    7701   *c*,-n*) ECHO_N= ECHO_C='
    7702 ' ECHO_T='  ' ;;
    7703   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
    7704   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
    7705 esac
    7706 
    7707 if expr a : '\(a\)' >/dev/null 2>&1; then
    7708   as_expr=expr
    7709 else
    7710   as_expr=false
    7711 fi
    7712 
    7713 rm -f conf$$ conf$$.exe conf$$.file
    7714 echo >conf$$.file
    7715 if ln -s conf$$.file conf$$ 2>/dev/null; then
    7716   # We could just check for DJGPP; but this test a) works b) is more generic
    7717   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
    7718   if test -f conf$$.exe; then
    7719     # Don't use ln at all; we don't have any links
    7720     as_ln_s='cp -p'
    7721   else
    7722     as_ln_s='ln -s'
    7723   fi
    7724 elif ln conf$$.file conf$$ 2>/dev/null; then
    7725   as_ln_s=ln
    7726 else
    7727   as_ln_s='cp -p'
    7728 fi
    7729 rm -f conf$$ conf$$.exe conf$$.file
    7730 
     6583  test -d "$as_dir" || eval $as_mkdir_p || {
     6584    as_dirs=
     6585    while :; do
     6586      case $as_dir in #(
     6587      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
     6588      *) as_qdir=$as_dir;;
     6589      esac
     6590      as_dirs="'$as_qdir' $as_dirs"
     6591      as_dir=`$as_dirname -- "$as_dir" ||
     6592$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     6593     X"$as_dir" : 'X\(//\)[^/]' \| \
     6594     X"$as_dir" : 'X\(//\)$' \| \
     6595     X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
     6596$as_echo X"$as_dir" |
     6597    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     6598        s//\1/
     6599        q
     6600      }
     6601      /^X\(\/\/\)[^/].*/{
     6602        s//\1/
     6603        q
     6604      }
     6605      /^X\(\/\/\)$/{
     6606        s//\1/
     6607        q
     6608      }
     6609      /^X\(\/\).*/{
     6610        s//\1/
     6611        q
     6612      }
     6613      s/.*/./; q'`
     6614      test -d "$as_dir" && break
     6615    done
     6616    test -z "$as_dirs" || eval "mkdir $as_dirs"
     6617  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
     6618
     6619
     6620} # as_fn_mkdir_p
    77316621if mkdir -p . 2>/dev/null; then
    7732   as_mkdir_p=:
     6622  as_mkdir_p='mkdir -p "$as_dir"'
    77336623else
    77346624  test -d ./-p && rmdir ./-p
     
    77366626fi
    77376627
    7738 as_executable_p="test -f"
     6628if test -x / >/dev/null 2>&1; then
     6629  as_test_x='test -x'
     6630else
     6631  if ls -dL / >/dev/null 2>&1; then
     6632    as_ls_L_option=L
     6633  else
     6634    as_ls_L_option=
     6635  fi
     6636  as_test_x='
     6637    eval sh -c '\''
     6638      if test -d "$1"; then
     6639    test -d "$1/.";
     6640      else
     6641    case $1 in #(
     6642    -*)set "./$1";;
     6643    esac;
     6644    case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
     6645    ???[sx]*):;;*)false;;esac;fi
     6646    '\'' sh
     6647  '
     6648fi
     6649as_executable_p=$as_test_x
    77396650
    77406651# Sed expression to map a string onto a valid CPP name.
     
    77456656
    77466657
    7747 # IFS
    7748 # We need space, tab and new line, in precisely that order.
    7749 as_nl='
    7750 '
    7751 IFS="   $as_nl"
    7752 
    7753 # CDPATH.
    7754 $as_unset CDPATH
    7755 
    77566658exec 6>&1
    7757 
    7758 # Open the log real soon, to keep \$[0] and so on meaningful, and to
     6659## ----------------------------------- ##
     6660## Main body of $CONFIG_STATUS script. ##
     6661## ----------------------------------- ##
     6662_ASEOF
     6663test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
     6664
     6665cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     6666# Save the log message, to keep $0 and so on meaningful, and to
    77596667# report actual input values of CONFIG_FILES etc. instead of their
    7760 # values after options handling.  Logging --version etc. is OK.
     6668# values after options handling.
     6669ac_log="
     6670This file was extended by $as_me, which was
     6671generated by GNU Autoconf 2.65.  Invocation command line was
     6672
     6673  CONFIG_FILES    = $CONFIG_FILES
     6674  CONFIG_HEADERS  = $CONFIG_HEADERS
     6675  CONFIG_LINKS    = $CONFIG_LINKS
     6676  CONFIG_COMMANDS = $CONFIG_COMMANDS
     6677  $ $0 $@
     6678
     6679on `(hostname || uname -n) 2>/dev/null | sed 1q`
     6680"
     6681
     6682_ACEOF
     6683
     6684case $ac_config_files in *"
     6685"*) set x $ac_config_files; shift; ac_config_files=$*;;
     6686esac
     6687
     6688case $ac_config_headers in *"
     6689"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
     6690esac
     6691
     6692
     6693cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     6694# Files that config.status was made for.
     6695config_files="$ac_config_files"
     6696config_headers="$ac_config_headers"
     6697
     6698_ACEOF
     6699
     6700cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     6701ac_cs_usage="\
     6702\`$as_me' instantiates files and other configuration actions
     6703from templates according to the current configuration.  Unless the files
     6704and actions are specified as TAGs, all are instantiated by default.
     6705
     6706Usage: $0 [OPTION]... [TAG]...
     6707
     6708  -h, --help       print this help, then exit
     6709  -V, --version    print version number and configuration settings, then exit
     6710      --config     print configuration, then exit
     6711  -q, --quiet, --silent
     6712                   do not print progress messages
     6713  -d, --debug      don't remove temporary files
     6714      --recheck    update $as_me by reconfiguring in the same conditions
     6715      --file=FILE[:TEMPLATE]
     6716                   instantiate the configuration file FILE
     6717      --header=FILE[:TEMPLATE]
     6718                   instantiate the configuration header FILE
     6719
     6720Configuration files:
     6721$config_files
     6722
     6723Configuration headers:
     6724$config_headers
     6725
     6726Report bugs to the package provider."
     6727
     6728_ACEOF
     6729cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     6730ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
     6731ac_cs_version="\\
     6732config.status
     6733configured by $0, generated by GNU Autoconf 2.65,
     6734  with options \\"\$ac_cs_config\\"
     6735
     6736Copyright (C) 2009 Free Software Foundation, Inc.
     6737This config.status script is free software; the Free Software Foundation
     6738gives unlimited permission to copy, distribute and modify it."
     6739
     6740ac_pwd='$ac_pwd'
     6741srcdir='$srcdir'
     6742INSTALL='$INSTALL'
     6743AWK='$AWK'
     6744test -n "\$AWK" || AWK=awk
     6745_ACEOF
     6746
     6747cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     6748# The default lists apply if the user does not specify any file.
     6749ac_need_defaults=:
     6750while test $# != 0
     6751do
     6752  case $1 in
     6753  --*=*)
     6754    ac_option=`expr "X$1" : 'X\([^=]*\)='`
     6755    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
     6756    ac_shift=:
     6757    ;;
     6758  *)
     6759    ac_option=$1
     6760    ac_optarg=$2
     6761    ac_shift=shift
     6762    ;;
     6763  esac
     6764
     6765  case $ac_option in
     6766  # Handling of the options.
     6767  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
     6768    ac_cs_recheck=: ;;
     6769  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
     6770    $as_echo "$ac_cs_version"; exit ;;
     6771  --config | --confi | --conf | --con | --co | --c )
     6772    $as_echo "$ac_cs_config"; exit ;;
     6773  --debug | --debu | --deb | --de | --d | -d )
     6774    debug=: ;;
     6775  --file | --fil | --fi | --f )
     6776    $ac_shift
     6777    case $ac_optarg in
     6778    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
     6779    esac
     6780    as_fn_append CONFIG_FILES " '$ac_optarg'"
     6781    ac_need_defaults=false;;
     6782  --header | --heade | --head | --hea )
     6783    $ac_shift
     6784    case $ac_optarg in
     6785    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
     6786    esac
     6787    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
     6788    ac_need_defaults=false;;
     6789  --he | --h)
     6790    # Conflict between --help and --header
     6791    as_fn_error "ambiguous option: \`$1'
     6792Try \`$0 --help' for more information.";;
     6793  --help | --hel | -h )
     6794    $as_echo "$ac_cs_usage"; exit ;;
     6795  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
     6796  | -silent | --silent | --silen | --sile | --sil | --si | --s)
     6797    ac_cs_silent=: ;;
     6798
     6799  # This is an error.
     6800  -*) as_fn_error "unrecognized option: \`$1'
     6801Try \`$0 --help' for more information." ;;
     6802
     6803  *) as_fn_append ac_config_targets " $1"
     6804     ac_need_defaults=false ;;
     6805
     6806  esac
     6807  shift
     6808done
     6809
     6810ac_configure_extra_args=
     6811
     6812if $ac_cs_silent; then
     6813  exec 6>/dev/null
     6814  ac_configure_extra_args="$ac_configure_extra_args --silent"
     6815fi
     6816
     6817_ACEOF
     6818cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     6819if \$ac_cs_recheck; then
     6820  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
     6821  shift
     6822  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
     6823  CONFIG_SHELL='$SHELL'
     6824  export CONFIG_SHELL
     6825  exec "\$@"
     6826fi
     6827
     6828_ACEOF
     6829cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    77616830exec 5>>config.log
    77626831{
     
    77656834## Running $as_me. ##
    77666835_ASBOX
     6836  $as_echo "$ac_log"
    77676837} >&5
    7768 cat >&5 <<_CSEOF
    7769 
    7770 This file was extended by $as_me, which was
    7771 generated by GNU Autoconf 2.59.  Invocation command line was
    7772 
    7773   CONFIG_FILES    = $CONFIG_FILES
    7774   CONFIG_HEADERS  = $CONFIG_HEADERS
    7775   CONFIG_LINKS    = $CONFIG_LINKS
    7776   CONFIG_COMMANDS = $CONFIG_COMMANDS
    7777   $ $0 $@
    7778 
    7779 _CSEOF
    7780 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
    7781 echo >&5
    7782 _ACEOF
    7783 
    7784 # Files that config.status was made for.
    7785 if test -n "$ac_config_files"; then
    7786   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
    7787 fi
    7788 
    7789 if test -n "$ac_config_headers"; then
    7790   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
    7791 fi
    7792 
    7793 if test -n "$ac_config_links"; then
    7794   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
    7795 fi
    7796 
    7797 if test -n "$ac_config_commands"; then
    7798   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
    7799 fi
    7800 
    7801 cat >>$CONFIG_STATUS <<\_ACEOF
    7802 
    7803 ac_cs_usage="\
    7804 \`$as_me' instantiates files from templates according to the
    7805 current configuration.
    7806 
    7807 Usage: $0 [OPTIONS] [FILE]...
    7808 
    7809   -h, --help       print this help, then exit
    7810   -V, --version    print version number, then exit
    7811   -q, --quiet      do not print progress messages
    7812   -d, --debug      don't remove temporary files
    7813       --recheck    update $as_me by reconfiguring in the same conditions
    7814   --file=FILE[:TEMPLATE]
    7815            instantiate the configuration file FILE
    7816   --header=FILE[:TEMPLATE]
    7817            instantiate the configuration header FILE
    7818 
    7819 Configuration files:
    7820 $config_files
    7821 
    7822 Configuration headers:
    7823 $config_headers
    7824 
    7825 Report bugs to <[email protected]>."
    7826 _ACEOF
    7827 
    7828 cat >>$CONFIG_STATUS <<_ACEOF
    7829 ac_cs_version="\\
    7830 config.status
    7831 configured by $0, generated by GNU Autoconf 2.59,
    7832   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
    7833 
    7834 Copyright (C) 2003 Free Software Foundation, Inc.
    7835 This config.status script is free software; the Free Software Foundation
    7836 gives unlimited permission to copy, distribute and modify it."
    7837 srcdir=$srcdir
    7838 INSTALL="$INSTALL"
    7839 _ACEOF
    7840 
    7841 cat >>$CONFIG_STATUS <<\_ACEOF
    7842 # If no file are specified by the user, then we need to provide default
    7843 # value.  By we need to know if files were specified by the user.
    7844 ac_need_defaults=:
    7845 while test $# != 0
    7846 do
    7847   case $1 in
    7848   --*=*)
    7849     ac_option=`expr "x$1" : 'x\([^=]*\)='`
    7850     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
    7851     ac_shift=:
    7852     ;;
    7853   -*)
    7854     ac_option=$1
    7855     ac_optarg=$2
    7856     ac_shift=shift
    7857     ;;
    7858   *) # This is not an option, so the user has probably given explicit
    7859      # arguments.
    7860      ac_option=$1
    7861      ac_need_defaults=false;;
    7862   esac
    7863 
    7864   case $ac_option in
    7865   # Handling of the options.
    7866 _ACEOF
    7867 cat >>$CONFIG_STATUS <<\_ACEOF
    7868   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
    7869     ac_cs_recheck=: ;;
    7870   --version | --vers* | -V )
    7871     echo "$ac_cs_version"; exit 0 ;;
    7872   --he | --h)
    7873     # Conflict between --help and --header
    7874     { { echo "$as_me:$LINENO: error: ambiguous option: $1
    7875 Try \`$0 --help' for more information." >&5
    7876 echo "$as_me: error: ambiguous option: $1
    7877 Try \`$0 --help' for more information." >&2;}
    7878    { (exit 1); exit 1; }; };;
    7879   --help | --hel | -h )
    7880     echo "$ac_cs_usage"; exit 0 ;;
    7881   --debug | --d* | -d )
    7882     debug=: ;;
    7883   --file | --fil | --fi | --f )
    7884     $ac_shift
    7885     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
    7886     ac_need_defaults=false;;
    7887   --header | --heade | --head | --hea )
    7888     $ac_shift
    7889     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
    7890     ac_need_defaults=false;;
    7891   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
    7892   | -silent | --silent | --silen | --sile | --sil | --si | --s)
    7893     ac_cs_silent=: ;;
    7894 
    7895   # This is an error.
    7896   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
    7897 Try \`$0 --help' for more information." >&5
    7898 echo "$as_me: error: unrecognized option: $1
    7899 Try \`$0 --help' for more information." >&2;}
    7900    { (exit 1); exit 1; }; } ;;
    7901 
    7902   *) ac_config_targets="$ac_config_targets $1" ;;
    7903 
    7904   esac
    7905   shift
    7906 done
    7907 
    7908 ac_configure_extra_args=
    7909 
    7910 if $ac_cs_silent; then
    7911   exec 6>/dev/null
    7912   ac_configure_extra_args="$ac_configure_extra_args --silent"
    7913 fi
    7914 
    7915 _ACEOF
    7916 cat >>$CONFIG_STATUS <<_ACEOF
    7917 if \$ac_cs_recheck; then
    7918   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
    7919   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
    7920 fi
    7921 
    7922 _ACEOF
    7923 
    7924 
    7925 
    7926 
    7927 
    7928 cat >>$CONFIG_STATUS <<\_ACEOF
     6838
     6839_ACEOF
     6840cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     6841_ACEOF
     6842
     6843cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     6844
     6845# Handling of arguments.
    79296846for ac_config_target in $ac_config_targets
    79306847do
    7931   case "$ac_config_target" in
    7932   # Handling of arguments.
    7933   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
    7934   "$srclist" ) CONFIG_FILES="$CONFIG_FILES $srclist" ;;
    7935   "$moduleDirs" ) CONFIG_FILES="$CONFIG_FILES $moduleDirs" ;;
    7936   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
    7937   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
    7938 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
    7939    { (exit 1); exit 1; }; };;
     6848  case $ac_config_target in
     6849    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
     6850    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
     6851    "$srclist") CONFIG_FILES="$CONFIG_FILES $srclist" ;;
     6852    "$moduleDirs") CONFIG_FILES="$CONFIG_FILES $moduleDirs" ;;
     6853
     6854  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
    79406855  esac
    79416856done
     6857
    79426858
    79436859# If the user did not use the arguments to specify the items to instantiate,
     
    79516867
    79526868# Have a temporary directory for convenience.  Make it in the build tree
    7953 # simply because there is no reason to put it here, and in addition,
     6869# simply because there is no reason against having it here, and in addition,
    79546870# creating and moving files from /tmp can sometimes cause problems.
    7955 # Create a temporary directory, and hook for its removal unless debugging.
     6871# Hook for its removal unless debugging.
     6872# Note that there is a small window in which the directory will not be cleaned:
     6873# after its creation but before its name has been assigned to `$tmp'.
    79566874$debug ||
    79576875{
    7958   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
    7959   trap '{ (exit 1); exit 1; }' 1 2 13 15
     6876  tmp=
     6877  trap 'exit_status=$?
     6878  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
     6879' 0
     6880  trap 'as_fn_exit 1' 1 2 13 15
    79606881}
    7961 
    79626882# Create a (secure) tmp directory for tmp files.
    79636883
    79646884{
    7965   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
     6885  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
    79666886  test -n "$tmp" && test -d "$tmp"
    79676887}  ||
    79686888{
    7969   tmp=./confstat$$-$RANDOM
    7970   (umask 077 && mkdir $tmp)
    7971 } ||
     6889  tmp=./conf$$-$RANDOM
     6890  (umask 077 && mkdir "$tmp")
     6891} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
     6892
     6893# Set up the scripts for CONFIG_FILES section.
     6894# No need to generate them if there are no CONFIG_FILES.
     6895# This happens for instance with `./config.status config.h'.
     6896if test -n "$CONFIG_FILES"; then
     6897
     6898
     6899ac_cr=`echo X | tr X '\015'`
     6900# On cygwin, bash can eat \r inside `` if the user requested igncr.
     6901# But we know of no other shell where ac_cr would be empty at this
     6902# point, so we can use a bashism as a fallback.
     6903if test "x$ac_cr" = x; then
     6904  eval ac_cr=\$\'\\r\'
     6905fi
     6906ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
     6907if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
     6908  ac_cs_awk_cr='\r'
     6909else
     6910  ac_cs_awk_cr=$ac_cr
     6911fi
     6912
     6913echo 'BEGIN {' >"$tmp/subs1.awk" &&
     6914_ACEOF
     6915
     6916
    79726917{
    7973    echo "$me: cannot create a temporary directory in ." >&2
    7974    { (exit 1); exit 1; }
     6918  echo "cat >conf$$subs.awk <<_ACEOF" &&
     6919  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
     6920  echo "_ACEOF"
     6921} >conf$$subs.sh ||
     6922  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
     6923ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
     6924ac_delim='%!_!# '
     6925for ac_last_try in false false false false false :; do
     6926  . ./conf$$subs.sh ||
     6927    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
     6928
     6929  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
     6930  if test $ac_delim_n = $ac_delim_num; then
     6931    break
     6932  elif $ac_last_try; then
     6933    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
     6934  else
     6935    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
     6936  fi
     6937done
     6938rm -f conf$$subs.sh
     6939
     6940cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     6941cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
     6942_ACEOF
     6943sed -n '
     6944h
     6945s/^/S["/; s/!.*/"]=/
     6946p
     6947g
     6948s/^[^!]*!//
     6949:repl
     6950t repl
     6951s/'"$ac_delim"'$//
     6952t delim
     6953:nl
     6954h
     6955s/\(.\{148\}\)..*/\1/
     6956t more1
     6957s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
     6958p
     6959n
     6960b repl
     6961:more1
     6962s/["\\]/\\&/g; s/^/"/; s/$/"\\/
     6963p
     6964g
     6965s/.\{148\}//
     6966t nl
     6967:delim
     6968h
     6969s/\(.\{148\}\)..*/\1/
     6970t more2
     6971s/["\\]/\\&/g; s/^/"/; s/$/"/
     6972p
     6973b
     6974:more2
     6975s/["\\]/\\&/g; s/^/"/; s/$/"\\/
     6976p
     6977g
     6978s/.\{148\}//
     6979t delim
     6980' <conf$$subs.awk | sed '
     6981/^[^""]/{
     6982  N
     6983  s/\n//
    79756984}
    7976 
    7977 _ACEOF
    7978 
    7979 cat >>$CONFIG_STATUS <<_ACEOF
    7980 
    7981 #
    7982 # CONFIG_FILES section.
    7983 #
    7984 
    7985 # No need to generate the scripts if there are no CONFIG_FILES.
    7986 # This happens for instance when ./config.status config.h
    7987 if test -n "\$CONFIG_FILES"; then
    7988   # Protect against being on the right side of a sed subst in config.status.
    7989   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
    7990    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
    7991 s,@SHELL@,$SHELL,;t t
    7992 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
    7993 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
    7994 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
    7995 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
    7996 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
    7997 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
    7998 s,@exec_prefix@,$exec_prefix,;t t
    7999 s,@prefix@,$prefix,;t t
    8000 s,@program_transform_name@,$program_transform_name,;t t
    8001 s,@bindir@,$bindir,;t t
    8002 s,@sbindir@,$sbindir,;t t
    8003 s,@libexecdir@,$libexecdir,;t t
    8004 s,@datadir@,$datadir,;t t
    8005 s,@sysconfdir@,$sysconfdir,;t t
    8006 s,@sharedstatedir@,$sharedstatedir,;t t
    8007 s,@localstatedir@,$localstatedir,;t t
    8008 s,@libdir@,$libdir,;t t
    8009 s,@includedir@,$includedir,;t t
    8010 s,@oldincludedir@,$oldincludedir,;t t
    8011 s,@infodir@,$infodir,;t t
    8012 s,@mandir@,$mandir,;t t
    8013 s,@build_alias@,$build_alias,;t t
    8014 s,@host_alias@,$host_alias,;t t
    8015 s,@target_alias@,$target_alias,;t t
    8016 s,@DEFS@,$DEFS,;t t
    8017 s,@ECHO_C@,$ECHO_C,;t t
    8018 s,@ECHO_N@,$ECHO_N,;t t
    8019 s,@ECHO_T@,$ECHO_T,;t t
    8020 s,@LIBS@,$LIBS,;t t
    8021 s,@PACKAGE@,$PACKAGE,;t t
    8022 s,@VERSION@,$VERSION,;t t
    8023 s,@USE_FASTCGI@,$USE_FASTCGI,;t t
    8024 s,@USE_LANGACTION@,$USE_LANGACTION,;t t
    8025 s,@USE_CORBA@,$USE_CORBA,;t t
    8026 s,@MICO_DIR@,$MICO_DIR,;t t
    8027 s,@USE_Z3950@,$USE_Z3950,;t t
    8028 s,@USE_YAZ@,$USE_YAZ,;t t
    8029 s,@USE_JDBM@,$USE_JDBM,;t t
    8030 s,@USE_GDBM@,$USE_GDBM,;t t
    8031 s,@ENABLE_ACCENTFOLD@,$ENABLE_ACCENTFOLD,;t t
    8032 s,@USE_SQLITE@,$USE_SQLITE,;t t
    8033 s,@USE_APACHE_HTTPD@,$USE_APACHE_HTTPD,;t t
    8034 s,@ENABLE_JNI@,$ENABLE_JNI,;t t
    8035 s,@ENABLE_MG@,$ENABLE_MG,;t t
    8036 s,@ENABLE_MGPP@,$ENABLE_MGPP,;t t
    8037 s,@ENABLE_LUCENE@,$ENABLE_LUCENE,;t t
    8038 s,@LDFLAGS@,$LDFLAGS,;t t
    8039 s,@CFLAGS@,$CFLAGS,;t t
    8040 s,@CC@,$CC,;t t
    8041 s,@CPPFLAGS@,$CPPFLAGS,;t t
    8042 s,@ac_ct_CC@,$ac_ct_CC,;t t
    8043 s,@EXEEXT@,$EXEEXT,;t t
    8044 s,@OBJEXT@,$OBJEXT,;t t
    8045 s,@CXX@,$CXX,;t t
    8046 s,@CXXFLAGS@,$CXXFLAGS,;t t
    8047 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
    8048 s,@AWK@,$AWK,;t t
    8049 s,@YACC@,$YACC,;t t
    8050 s,@build@,$build,;t t
    8051 s,@build_cpu@,$build_cpu,;t t
    8052 s,@build_vendor@,$build_vendor,;t t
    8053 s,@build_os@,$build_os,;t t
    8054 s,@host@,$host,;t t
    8055 s,@host_cpu@,$host_cpu,;t t
    8056 s,@host_vendor@,$host_vendor,;t t
    8057 s,@host_os@,$host_os,;t t
    8058 s,@target@,$target,;t t
    8059 s,@target_cpu@,$target_cpu,;t t
    8060 s,@target_vendor@,$target_vendor,;t t
    8061 s,@target_os@,$target_os,;t t
    8062 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
    8063 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
    8064 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
    8065 s,@LN_S@,$LN_S,;t t
    8066 s,@SET_MAKE@,$SET_MAKE,;t t
    8067 s,@RANLIB@,$RANLIB,;t t
    8068 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
    8069 s,@COMPAT32BITFLAGS@,$COMPAT32BITFLAGS,;t t
    8070 s,@MICO_VER@,$MICO_VER,;t t
    8071 s,@CPP@,$CPP,;t t
    8072 s,@EGREP@,$EGREP,;t t
    8073 s,@U@,$U,;t t
    8074 s,@ANSI2KNR@,$ANSI2KNR,;t t
    8075 s,@ALLOCA@,$ALLOCA,;t t
    8076 s,@LIBOBJS@,$LIBOBJS,;t t
    8077 s,@STATIC@,$STATIC,;t t
    8078 s,@gsdlos@,$gsdlos,;t t
    8079 s,@MODULEDIRS@,$MODULEDIRS,;t t
    8080 s,@subdirs@,$subdirs,;t t
    8081 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
    8082 CEOF
    8083 
    8084 _ACEOF
    8085 
    8086   cat >>$CONFIG_STATUS <<\_ACEOF
    8087   # Split the substitutions into bite-sized pieces for seds with
    8088   # small command number limits, like on Digital OSF/1 and HP-UX.
    8089   ac_max_sed_lines=48
    8090   ac_sed_frag=1 # Number of current file.
    8091   ac_beg=1 # First line for current file.
    8092   ac_end=$ac_max_sed_lines # Line after last line for current file.
    8093   ac_more_lines=:
    8094   ac_sed_cmds=
    8095   while $ac_more_lines; do
    8096     if test $ac_beg -gt 1; then
    8097       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
    8098     else
    8099       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
     6985' >>$CONFIG_STATUS || ac_write_fail=1
     6986rm -f conf$$subs.awk
     6987cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     6988_ACAWK
     6989cat >>"\$tmp/subs1.awk" <<_ACAWK &&
     6990  for (key in S) S_is_set[key] = 1
     6991  FS = ""
     6992
     6993}
     6994{
     6995  line = $ 0
     6996  nfields = split(line, field, "@")
     6997  substed = 0
     6998  len = length(field[1])
     6999  for (i = 2; i < nfields; i++) {
     7000    key = field[i]
     7001    keylen = length(key)
     7002    if (S_is_set[key]) {
     7003      value = S[key]
     7004      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
     7005      len += length(value) + length(field[++i])
     7006      substed = 1
     7007    } else
     7008      len += 1 + keylen
     7009  }
     7010
     7011  print line
     7012}
     7013
     7014_ACAWK
     7015_ACEOF
     7016cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     7017if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
     7018  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
     7019else
     7020  cat
     7021fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
     7022  || as_fn_error "could not setup config files machinery" "$LINENO" 5
     7023_ACEOF
     7024
     7025# VPATH may cause trouble with some makes, so we remove $(srcdir),
     7026# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
     7027# trailing colons and then remove the whole line if VPATH becomes empty
     7028# (actually we leave an empty line to preserve line numbers).
     7029if test "x$srcdir" = x.; then
     7030  ac_vpsub='/^[  ]*VPATH[    ]*=/{
     7031s/:*\$(srcdir):*/:/
     7032s/:*\${srcdir}:*/:/
     7033s/:*@srcdir@:*/:/
     7034s/^\([^=]*=[     ]*\):*/\1/
     7035s/:*$//
     7036s/^[^=]*=[   ]*$//
     7037}'
     7038fi
     7039
     7040cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     7041fi # test -n "$CONFIG_FILES"
     7042
     7043# Set up the scripts for CONFIG_HEADERS section.
     7044# No need to generate them if there are no CONFIG_HEADERS.
     7045# This happens for instance with `./config.status Makefile'.
     7046if test -n "$CONFIG_HEADERS"; then
     7047cat >"$tmp/defines.awk" <<\_ACAWK ||
     7048BEGIN {
     7049_ACEOF
     7050
     7051# Transform confdefs.h into an awk script `defines.awk', embedded as
     7052# here-document in config.status, that substitutes the proper values into
     7053# config.h.in to produce config.h.
     7054
     7055# Create a delimiter string that does not exist in confdefs.h, to ease
     7056# handling of long lines.
     7057ac_delim='%!_!# '
     7058for ac_last_try in false false :; do
     7059  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
     7060  if test -z "$ac_t"; then
     7061    break
     7062  elif $ac_last_try; then
     7063    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
     7064  else
     7065    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
     7066  fi
     7067done
     7068
     7069# For the awk script, D is an array of macro values keyed by name,
     7070# likewise P contains macro parameters if any.  Preserve backslash
     7071# newline sequences.
     7072
     7073ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
     7074sed -n '
     7075s/.\{148\}/&'"$ac_delim"'/g
     7076t rset
     7077:rset
     7078s/^[     ]*#[    ]*define[   ][  ]*/ /
     7079t def
     7080d
     7081:def
     7082s/\\$//
     7083t bsnl
     7084s/["\\]/\\&/g
     7085s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
     7086D["\1"]=" \3"/p
     7087s/^ \('"$ac_word_re"'\)[     ]*\(.*\)/D["\1"]=" \2"/p
     7088d
     7089:bsnl
     7090s/["\\]/\\&/g
     7091s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
     7092D["\1"]=" \3\\\\\\n"\\/p
     7093t cont
     7094s/^ \('"$ac_word_re"'\)[     ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
     7095t cont
     7096d
     7097:cont
     7098n
     7099s/.\{148\}/&'"$ac_delim"'/g
     7100t clear
     7101:clear
     7102s/\\$//
     7103t bsnlc
     7104s/["\\]/\\&/g; s/^/"/; s/$/"/p
     7105d
     7106:bsnlc
     7107s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
     7108b cont
     7109' <confdefs.h | sed '
     7110s/'"$ac_delim"'/"\\\
     7111"/g' >>$CONFIG_STATUS || ac_write_fail=1
     7112
     7113cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     7114  for (key in D) D_is_set[key] = 1
     7115  FS = ""
     7116}
     7117/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
     7118  line = \$ 0
     7119  split(line, arg, " ")
     7120  if (arg[1] == "#") {
     7121    defundef = arg[2]
     7122    mac1 = arg[3]
     7123  } else {
     7124    defundef = substr(arg[1], 2)
     7125    mac1 = arg[2]
     7126  }
     7127  split(mac1, mac2, "(") #)
     7128  macro = mac2[1]
     7129  prefix = substr(line, 1, index(line, defundef) - 1)
     7130  if (D_is_set[macro]) {
     7131    # Preserve the white space surrounding the "#".
     7132    print prefix "define", macro P[macro] D[macro]
     7133    next
     7134  } else {
     7135    # Replace #undef with comments.  This is necessary, for example,
     7136    # in the case of _POSIX_SOURCE, which is predefined and required
     7137    # on some systems where configure will not decide to define it.
     7138    if (defundef == "undef") {
     7139      print "/*", prefix defundef, macro, "*/"
     7140      next
     7141    }
     7142  }
     7143}
     7144{ print }
     7145_ACAWK
     7146_ACEOF
     7147cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     7148  as_fn_error "could not setup config headers machinery" "$LINENO" 5
     7149fi # test -n "$CONFIG_HEADERS"
     7150
     7151
     7152eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    "
     7153shift
     7154for ac_tag
     7155do
     7156  case $ac_tag in
     7157  :[FHLC]) ac_mode=$ac_tag; continue;;
     7158  esac
     7159  case $ac_mode$ac_tag in
     7160  :[FHL]*:*);;
     7161  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
     7162  :[FH]-) ac_tag=-:-;;
     7163  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
     7164  esac
     7165  ac_save_IFS=$IFS
     7166  IFS=:
     7167  set x $ac_tag
     7168  IFS=$ac_save_IFS
     7169  shift
     7170  ac_file=$1
     7171  shift
     7172
     7173  case $ac_mode in
     7174  :L) ac_source=$1;;
     7175  :[FH])
     7176    ac_file_inputs=
     7177    for ac_f
     7178    do
     7179      case $ac_f in
     7180      -) ac_f="$tmp/stdin";;
     7181      *) # Look for the file first in the build tree, then in the source tree
     7182     # (if the path is not absolute).  The absolute path cannot be DOS-style,
     7183     # because $ac_f cannot contain `:'.
     7184     test -f "$ac_f" ||
     7185       case $ac_f in
     7186       [\\/$]*) false;;
     7187       *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
     7188       esac ||
     7189       as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
     7190      esac
     7191      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
     7192      as_fn_append ac_file_inputs " '$ac_f'"
     7193    done
     7194
     7195    # Let's still pretend it is `configure' which instantiates (i.e., don't
     7196    # use $as_me), people would be surprised to read:
     7197    #    /* config.h.  Generated by config.status.  */
     7198    configure_input='Generated from '`
     7199      $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
     7200    `' by configure.'
     7201    if test x"$ac_file" != x-; then
     7202      configure_input="$ac_file.  $configure_input"
     7203      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
     7204$as_echo "$as_me: creating $ac_file" >&6;}
    81007205    fi
    8101     if test ! -s $tmp/subs.frag; then
    8102       ac_more_lines=false
    8103     else
    8104       # The purpose of the label and of the branching condition is to
    8105       # speed up the sed processing (if there are no `@' at all, there
    8106       # is no need to browse any of the substitutions).
    8107       # These are the two extra sed commands mentioned above.
    8108       (echo ':t
    8109   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
    8110       if test -z "$ac_sed_cmds"; then
    8111     ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
    8112       else
    8113     ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
    8114       fi
    8115       ac_sed_frag=`expr $ac_sed_frag + 1`
    8116       ac_beg=$ac_end
    8117       ac_end=`expr $ac_end + $ac_max_sed_lines`
    8118     fi
    8119   done
    8120   if test -z "$ac_sed_cmds"; then
    8121     ac_sed_cmds=cat
    8122   fi
    8123 fi # test -n "$CONFIG_FILES"
    8124 
    8125 _ACEOF
    8126 cat >>$CONFIG_STATUS <<\_ACEOF
    8127 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
    8128   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
    8129   case $ac_file in
    8130   - | *:- | *:-:* ) # input from stdin
    8131     cat >$tmp/stdin
    8132     ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
    8133     ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
    8134   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
    8135     ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
    8136   * )   ac_file_in=$ac_file.in ;;
     7206    # Neutralize special characters interpreted by sed in replacement strings.
     7207    case $configure_input in #(
     7208    *\&* | *\|* | *\\* )
     7209       ac_sed_conf_input=`$as_echo "$configure_input" |
     7210       sed 's/[\\\\&|]/\\\\&/g'`;; #(
     7211    *) ac_sed_conf_input=$configure_input;;
     7212    esac
     7213
     7214    case $ac_tag in
     7215    *:-:* | *:-) cat >"$tmp/stdin" \
     7216      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
     7217    esac
     7218    ;;
    81377219  esac
    81387220
    8139   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
    8140   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
     7221  ac_dir=`$as_dirname -- "$ac_file" ||
    81417222$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    81427223     X"$ac_file" : 'X\(//\)[^/]' \| \
    81437224     X"$ac_file" : 'X\(//\)$' \| \
    8144      X"$ac_file" : 'X\(/\)' \| \
    8145      .     : '\(.\)' 2>/dev/null ||
    8146 echo X"$ac_file" |
    8147     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    8148       /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    8149       /^X\(\/\/\)$/{ s//\1/; q; }
    8150       /^X\(\/\).*/{ s//\1/; q; }
    8151       s/.*/./; q'`
    8152   { if $as_mkdir_p; then
    8153     mkdir -p "$ac_dir"
    8154   else
    8155     as_dir="$ac_dir"
    8156     as_dirs=
    8157     while test ! -d "$as_dir"; do
    8158       as_dirs="$as_dir $as_dirs"
    8159       as_dir=`(dirname "$as_dir") 2>/dev/null ||
    8160 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    8161      X"$as_dir" : 'X\(//\)[^/]' \| \
    8162      X"$as_dir" : 'X\(//\)$' \| \
    8163      X"$as_dir" : 'X\(/\)' \| \
    8164      .     : '\(.\)' 2>/dev/null ||
    8165 echo X"$as_dir" |
    8166     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    8167       /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    8168       /^X\(\/\/\)$/{ s//\1/; q; }
    8169       /^X\(\/\).*/{ s//\1/; q; }
    8170       s/.*/./; q'`
    8171     done
    8172     test ! -n "$as_dirs" || mkdir $as_dirs
    8173   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
    8174 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
    8175    { (exit 1); exit 1; }; }; }
    8176 
     7225     X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
     7226$as_echo X"$ac_file" |
     7227    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     7228        s//\1/
     7229        q
     7230      }
     7231      /^X\(\/\/\)[^/].*/{
     7232        s//\1/
     7233        q
     7234      }
     7235      /^X\(\/\/\)$/{
     7236        s//\1/
     7237        q
     7238      }
     7239      /^X\(\/\).*/{
     7240        s//\1/
     7241        q
     7242      }
     7243      s/.*/./; q'`
     7244  as_dir="$ac_dir"; as_fn_mkdir_p
    81777245  ac_builddir=.
    81787246
    8179 if test "$ac_dir" != .; then
    8180   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
    8181   # A "../" for each directory in $ac_dir_suffix.
    8182   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
    8183 else
    8184   ac_dir_suffix= ac_top_builddir=
    8185 fi
     7247case "$ac_dir" in
     7248.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
     7249*)
     7250  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
     7251  # A ".." for each directory in $ac_dir_suffix.
     7252  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
     7253  case $ac_top_builddir_sub in
     7254  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
     7255  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
     7256  esac ;;
     7257esac
     7258ac_abs_top_builddir=$ac_pwd
     7259ac_abs_builddir=$ac_pwd$ac_dir_suffix
     7260# for backward compatibility:
     7261ac_top_builddir=$ac_top_build_prefix
    81867262
    81877263case $srcdir in
    8188   .)  # No --srcdir option.  We are building in place.
     7264  .)  # We are building in place.
    81897265    ac_srcdir=.
    8190     if test -z "$ac_top_builddir"; then
    8191        ac_top_srcdir=.
    8192     else
    8193        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
    8194     fi ;;
    8195   [\\/]* | ?:[\\/]* )  # Absolute path.
     7266    ac_top_srcdir=$ac_top_builddir_sub
     7267    ac_abs_top_srcdir=$ac_pwd ;;
     7268  [\\/]* | ?:[\\/]* )  # Absolute name.
    81967269    ac_srcdir=$srcdir$ac_dir_suffix;
    8197     ac_top_srcdir=$srcdir ;;
    8198   *) # Relative path.
    8199     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
    8200     ac_top_srcdir=$ac_top_builddir$srcdir ;;
     7270    ac_top_srcdir=$srcdir
     7271    ac_abs_top_srcdir=$srcdir ;;
     7272  *) # Relative name.
     7273    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
     7274    ac_top_srcdir=$ac_top_build_prefix$srcdir
     7275    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
    82017276esac
    8202 
    8203 # Do not use `cd foo && pwd` to compute absolute paths, because
    8204 # the directories may not exist.
    8205 case `pwd` in
    8206 .) ac_abs_builddir="$ac_dir";;
    8207 *)
    8208   case "$ac_dir" in
    8209   .) ac_abs_builddir=`pwd`;;
    8210   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
    8211   *) ac_abs_builddir=`pwd`/"$ac_dir";;
    8212   esac;;
    8213 esac
    8214 case $ac_abs_builddir in
    8215 .) ac_abs_top_builddir=${ac_top_builddir}.;;
    8216 *)
    8217   case ${ac_top_builddir}. in
    8218   .) ac_abs_top_builddir=$ac_abs_builddir;;
    8219   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
    8220   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
    8221   esac;;
    8222 esac
    8223 case $ac_abs_builddir in
    8224 .) ac_abs_srcdir=$ac_srcdir;;
    8225 *)
    8226   case $ac_srcdir in
    8227   .) ac_abs_srcdir=$ac_abs_builddir;;
    8228   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
    8229   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
    8230   esac;;
    8231 esac
    8232 case $ac_abs_builddir in
    8233 .) ac_abs_top_srcdir=$ac_top_srcdir;;
    8234 *)
    8235   case $ac_top_srcdir in
    8236   .) ac_abs_top_srcdir=$ac_abs_builddir;;
    8237   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
    8238   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
    8239   esac;;
    8240 esac
    8241 
     7277ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
     7278
     7279
     7280  case $ac_mode in
     7281  :F)
     7282  #
     7283  # CONFIG_FILE
     7284  #
    82427285
    82437286  case $INSTALL in
    82447287  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
    8245   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
     7288  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
    82467289  esac
    8247 
    8248   if test x"$ac_file" != x-; then
    8249     { echo "$as_me:$LINENO: creating $ac_file" >&5
    8250 echo "$as_me: creating $ac_file" >&6;}
    8251     rm -f "$ac_file"
    8252   fi
    8253   # Let's still pretend it is `configure' which instantiates (i.e., don't
    8254   # use $as_me), people would be surprised to read:
    8255   #    /* config.h.  Generated by config.status.  */
    8256   if test x"$ac_file" = x-; then
    8257     configure_input=
    8258   else
    8259     configure_input="$ac_file.  "
    8260   fi
    8261   configure_input=$configure_input"Generated from `echo $ac_file_in |
    8262                      sed 's,.*/,,'` by configure."
    8263 
    8264   # First look for the input files in the build tree, otherwise in the
    8265   # src tree.
    8266   ac_file_inputs=`IFS=:
    8267     for f in $ac_file_in; do
    8268       case $f in
    8269       -) echo $tmp/stdin ;;
    8270       [\\/$]*)
    8271      # Absolute (can't be DOS-style, as IFS=:)
    8272      test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
    8273 echo "$as_me: error: cannot find input file: $f" >&2;}
    8274    { (exit 1); exit 1; }; }
    8275      echo "$f";;
    8276       *) # Relative
    8277      if test -f "$f"; then
    8278        # Build tree
    8279        echo "$f"
    8280      elif test -f "$srcdir/$f"; then
    8281        # Source tree
    8282        echo "$srcdir/$f"
    8283      else
    8284        # /dev/null tree
    8285        { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
    8286 echo "$as_me: error: cannot find input file: $f" >&2;}
    8287    { (exit 1); exit 1; }; }
    8288      fi;;
    8289       esac
    8290     done` || { (exit 1); exit 1; }
    8291 _ACEOF
    8292 cat >>$CONFIG_STATUS <<_ACEOF
    8293   sed "$ac_vpsub
     7290_ACEOF
     7291
     7292cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     7293# If the template does not know about datarootdir, expand it.
     7294# FIXME: This hack should be removed a few years after 2.60.
     7295ac_datarootdir_hack=; ac_datarootdir_seen=
     7296ac_sed_dataroot='
     7297/datarootdir/ {
     7298  p
     7299  q
     7300}
     7301/@datadir@/p
     7302/@docdir@/p
     7303/@infodir@/p
     7304/@localedir@/p
     7305/@mandir@/p'
     7306case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
     7307*datarootdir*) ac_datarootdir_seen=yes;;
     7308*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
     7309  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
     7310$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
     7311_ACEOF
     7312cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     7313  ac_datarootdir_hack='
     7314  s&@datadir@&$datadir&g
     7315  s&@docdir@&$docdir&g
     7316  s&@infodir@&$infodir&g
     7317  s&@localedir@&$localedir&g
     7318  s&@mandir@&$mandir&g
     7319  s&\\\${datarootdir}&$datarootdir&g' ;;
     7320esac
     7321_ACEOF
     7322
     7323# Neutralize VPATH when `$srcdir' = `.'.
     7324# Shell code in configure.ac might set extrasub.
     7325# FIXME: do we really want to maintain this feature?
     7326cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     7327ac_sed_extra="$ac_vpsub
    82947328$extrasub
    82957329_ACEOF
    8296 cat >>$CONFIG_STATUS <<\_ACEOF
     7330cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    82977331:t
    82987332/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
    8299 s,@configure_input@,$configure_input,;t t
    8300 s,@srcdir@,$ac_srcdir,;t t
    8301 s,@abs_srcdir@,$ac_abs_srcdir,;t t
    8302 s,@top_srcdir@,$ac_top_srcdir,;t t
    8303 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
    8304 s,@builddir@,$ac_builddir,;t t
    8305 s,@abs_builddir@,$ac_abs_builddir,;t t
    8306 s,@top_builddir@,$ac_top_builddir,;t t
    8307 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
    8308 s,@INSTALL@,$ac_INSTALL,;t t
    8309 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
    8310   rm -f $tmp/stdin
     7333s|@configure_input@|$ac_sed_conf_input|;t t
     7334s&@top_builddir@&$ac_top_builddir_sub&;t t
     7335s&@top_build_prefix@&$ac_top_build_prefix&;t t
     7336s&@srcdir@&$ac_srcdir&;t t
     7337s&@abs_srcdir@&$ac_abs_srcdir&;t t
     7338s&@top_srcdir@&$ac_top_srcdir&;t t
     7339s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
     7340s&@builddir@&$ac_builddir&;t t
     7341s&@abs_builddir@&$ac_abs_builddir&;t t
     7342s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
     7343s&@INSTALL@&$ac_INSTALL&;t t
     7344$ac_datarootdir_hack
     7345"
     7346eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
     7347  || as_fn_error "could not create $ac_file" "$LINENO" 5
     7348
     7349test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
     7350  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
     7351  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
     7352  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
     7353which seems to be undefined.  Please make sure it is defined." >&5
     7354$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
     7355which seems to be undefined.  Please make sure it is defined." >&2;}
     7356
     7357  rm -f "$tmp/stdin"
     7358  case $ac_file in
     7359  -) cat "$tmp/out" && rm -f "$tmp/out";;
     7360  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
     7361  esac \
     7362  || as_fn_error "could not create $ac_file" "$LINENO" 5
     7363 ;;
     7364  :H)
     7365  #
     7366  # CONFIG_HEADER
     7367  #
    83117368  if test x"$ac_file" != x-; then
    8312     mv $tmp/out $ac_file
    8313   else
    8314     cat $tmp/out
    8315     rm -f $tmp/out
    8316   fi
    8317 
    8318 done
    8319 _ACEOF
    8320 cat >>$CONFIG_STATUS <<\_ACEOF
    8321 
    8322 #
    8323 # CONFIG_HEADER section.
    8324 #
    8325 
    8326 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
    8327 # NAME is the cpp macro being defined and VALUE is the value it is being given.
    8328 #
    8329 # ac_d sets the value in "#define NAME VALUE" lines.
    8330 ac_dA='s,^\([    ]*\)#\([    ]*define[   ][  ]*\)'
    8331 ac_dB='[     ].*$,\1#\2'
    8332 ac_dC=' '
    8333 ac_dD=',;t'
    8334 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
    8335 ac_uA='s,^\([    ]*\)#\([    ]*\)undef\([    ][  ]*\)'
    8336 ac_uB='$,\1#\2define\3'
    8337 ac_uC=' '
    8338 ac_uD=',;t'
    8339 
    8340 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
    8341   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
    8342   case $ac_file in
    8343   - | *:- | *:-:* ) # input from stdin
    8344     cat >$tmp/stdin
    8345     ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
    8346     ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
    8347   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
    8348     ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
    8349   * )   ac_file_in=$ac_file.in ;;
    8350   esac
    8351 
    8352   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
    8353 echo "$as_me: creating $ac_file" >&6;}
    8354 
    8355   # First look for the input files in the build tree, otherwise in the
    8356   # src tree.
    8357   ac_file_inputs=`IFS=:
    8358     for f in $ac_file_in; do
    8359       case $f in
    8360       -) echo $tmp/stdin ;;
    8361       [\\/$]*)
    8362      # Absolute (can't be DOS-style, as IFS=:)
    8363      test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
    8364 echo "$as_me: error: cannot find input file: $f" >&2;}
    8365    { (exit 1); exit 1; }; }
    8366      # Do quote $f, to prevent DOS paths from being IFS'd.
    8367      echo "$f";;
    8368       *) # Relative
    8369      if test -f "$f"; then
    8370        # Build tree
    8371        echo "$f"
    8372      elif test -f "$srcdir/$f"; then
    8373        # Source tree
    8374        echo "$srcdir/$f"
    8375      else
    8376        # /dev/null tree
    8377        { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
    8378 echo "$as_me: error: cannot find input file: $f" >&2;}
    8379    { (exit 1); exit 1; }; }
    8380      fi;;
    8381       esac
    8382     done` || { (exit 1); exit 1; }
    8383   # Remove the trailing spaces.
    8384   sed 's/[   ]*$//' $ac_file_inputs >$tmp/in
    8385 
    8386 _ACEOF
    8387 
    8388 # Transform confdefs.h into two sed scripts, `conftest.defines' and
    8389 # `conftest.undefs', that substitutes the proper values into
    8390 # config.h.in to produce config.h.  The first handles `#define'
    8391 # templates, and the second `#undef' templates.
    8392 # And first: Protect against being on the right side of a sed subst in
    8393 # config.status.  Protect against being in an unquoted here document
    8394 # in config.status.
    8395 rm -f conftest.defines conftest.undefs
    8396 # Using a here document instead of a string reduces the quoting nightmare.
    8397 # Putting comments in sed scripts is not portable.
    8398 #
    8399 # `end' is used to avoid that the second main sed command (meant for
    8400 # 0-ary CPP macros) applies to n-ary macro definitions.
    8401 # See the Autoconf documentation for `clear'.
    8402 cat >confdef2sed.sed <<\_ACEOF
    8403 s/[\\&,]/\\&/g
    8404 s,[\\$`],\\&,g
    8405 t clear
    8406 : clear
    8407 s,^[     ]*#[    ]*define[   ][  ]*\([^  (][^    (]*\)\(([^)]*)\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
    8408 t end
    8409 s,^[     ]*#[    ]*define[   ][  ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
    8410 : end
    8411 _ACEOF
    8412 # If some macros were called several times there might be several times
    8413 # the same #defines, which is useless.  Nevertheless, we may not want to
    8414 # sort them, since we want the *last* AC-DEFINE to be honored.
    8415 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
    8416 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
    8417 rm -f confdef2sed.sed
    8418 
    8419 # This sed command replaces #undef with comments.  This is necessary, for
    8420 # example, in the case of _POSIX_SOURCE, which is predefined and required
    8421 # on some systems where configure will not decide to define it.
    8422 cat >>conftest.undefs <<\_ACEOF
    8423 s,^[     ]*#[    ]*undef[    ][  ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
    8424 _ACEOF
    8425 
    8426 # Break up conftest.defines because some shells have a limit on the size
    8427 # of here documents, and old seds have small limits too (100 cmds).
    8428 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
    8429 echo '  if grep "^[  ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
    8430 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
    8431 echo '  :' >>$CONFIG_STATUS
    8432 rm -f conftest.tail
    8433 while grep . conftest.defines >/dev/null
    8434 do
    8435   # Write a limited-size here document to $tmp/defines.sed.
    8436   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
    8437   # Speed up: don't consider the non `#define' lines.
    8438   echo '/^[  ]*#[    ]*define/!b' >>$CONFIG_STATUS
    8439   # Work around the forget-to-reset-the-flag bug.
    8440   echo 't clr' >>$CONFIG_STATUS
    8441   echo ': clr' >>$CONFIG_STATUS
    8442   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
    8443   echo 'CEOF
    8444   sed -f $tmp/defines.sed $tmp/in >$tmp/out
    8445   rm -f $tmp/in
    8446   mv $tmp/out $tmp/in
    8447 ' >>$CONFIG_STATUS
    8448   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
    8449   rm -f conftest.defines
    8450   mv conftest.tail conftest.defines
    8451 done
    8452 rm -f conftest.defines
    8453 echo '  fi # grep' >>$CONFIG_STATUS
    8454 echo >>$CONFIG_STATUS
    8455 
    8456 # Break up conftest.undefs because some shells have a limit on the size
    8457 # of here documents, and old seds have small limits too (100 cmds).
    8458 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
    8459 rm -f conftest.tail
    8460 while grep . conftest.undefs >/dev/null
    8461 do
    8462   # Write a limited-size here document to $tmp/undefs.sed.
    8463   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
    8464   # Speed up: don't consider the non `#undef'
    8465   echo '/^[  ]*#[    ]*undef/!b' >>$CONFIG_STATUS
    8466   # Work around the forget-to-reset-the-flag bug.
    8467   echo 't clr' >>$CONFIG_STATUS
    8468   echo ': clr' >>$CONFIG_STATUS
    8469   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
    8470   echo 'CEOF
    8471   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
    8472   rm -f $tmp/in
    8473   mv $tmp/out $tmp/in
    8474 ' >>$CONFIG_STATUS
    8475   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
    8476   rm -f conftest.undefs
    8477   mv conftest.tail conftest.undefs
    8478 done
    8479 rm -f conftest.undefs
    8480 
    8481 cat >>$CONFIG_STATUS <<\_ACEOF
    8482   # Let's still pretend it is `configure' which instantiates (i.e., don't
    8483   # use $as_me), people would be surprised to read:
    8484   #    /* config.h.  Generated by config.status.  */
    8485   if test x"$ac_file" = x-; then
    8486     echo "/* Generated by configure.  */" >$tmp/config.h
    8487   else
    8488     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
    8489   fi
    8490   cat $tmp/in >>$tmp/config.h
    8491   rm -f $tmp/in
    8492   if test x"$ac_file" != x-; then
    8493     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
    8494       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
    8495 echo "$as_me: $ac_file is unchanged" >&6;}
     7369    {
     7370      $as_echo "/* $configure_input  */" \
     7371      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
     7372    } >"$tmp/config.h" \
     7373      || as_fn_error "could not create $ac_file" "$LINENO" 5
     7374    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
     7375      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
     7376$as_echo "$as_me: $ac_file is unchanged" >&6;}
    84967377    else
    8497       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
    8498 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    8499      X"$ac_file" : 'X\(//\)[^/]' \| \
    8500      X"$ac_file" : 'X\(//\)$' \| \
    8501      X"$ac_file" : 'X\(/\)' \| \
    8502      .     : '\(.\)' 2>/dev/null ||
    8503 echo X"$ac_file" |
    8504     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    8505       /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    8506       /^X\(\/\/\)$/{ s//\1/; q; }
    8507       /^X\(\/\).*/{ s//\1/; q; }
    8508       s/.*/./; q'`
    8509       { if $as_mkdir_p; then
    8510     mkdir -p "$ac_dir"
    8511   else
    8512     as_dir="$ac_dir"
    8513     as_dirs=
    8514     while test ! -d "$as_dir"; do
    8515       as_dirs="$as_dir $as_dirs"
    8516       as_dir=`(dirname "$as_dir") 2>/dev/null ||
    8517 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    8518      X"$as_dir" : 'X\(//\)[^/]' \| \
    8519      X"$as_dir" : 'X\(//\)$' \| \
    8520      X"$as_dir" : 'X\(/\)' \| \
    8521      .     : '\(.\)' 2>/dev/null ||
    8522 echo X"$as_dir" |
    8523     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    8524       /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    8525       /^X\(\/\/\)$/{ s//\1/; q; }
    8526       /^X\(\/\).*/{ s//\1/; q; }
    8527       s/.*/./; q'`
    8528     done
    8529     test ! -n "$as_dirs" || mkdir $as_dirs
    8530   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
    8531 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
    8532    { (exit 1); exit 1; }; }; }
    8533 
    8534       rm -f $ac_file
    8535       mv $tmp/config.h $ac_file
     7378      rm -f "$ac_file"
     7379      mv "$tmp/config.h" "$ac_file" \
     7380    || as_fn_error "could not create $ac_file" "$LINENO" 5
    85367381    fi
    85377382  else
    8538     cat $tmp/config.h
    8539     rm -f $tmp/config.h
     7383    $as_echo "/* $configure_input  */" \
     7384      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
     7385      || as_fn_error "could not create -" "$LINENO" 5
    85407386  fi
    8541 done
    8542 _ACEOF
    8543 
    8544 cat >>$CONFIG_STATUS <<\_ACEOF
    8545 
    8546 { (exit 0); exit 0; }
    8547 _ACEOF
    8548 chmod +x $CONFIG_STATUS
     7387 ;;
     7388
     7389
     7390  esac
     7391
     7392done # for ac_tag
     7393
     7394
     7395as_fn_exit 0
     7396_ACEOF
    85497397ac_clean_files=$ac_clean_files_save
     7398
     7399test $ac_write_fail = 0 ||
     7400  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
    85507401
    85517402
     
    85687419  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
    85697420  # would make configure fail if this is the last instruction.
    8570   $ac_cs_success || { (exit 1); exit 1; }
     7421  $ac_cs_success || as_fn_exit $?
    85717422fi
    85727423
     
    85767427if test "$no_recursion" != yes; then
    85777428
    8578   # Remove --cache-file and --srcdir arguments so they do not pile up.
     7429  # Remove --cache-file, --srcdir, and --disable-option-checking arguments
     7430  # so they do not pile up.
    85797431  ac_sub_configure_args=
    85807432  ac_prev=
    8581   for ac_arg in $ac_configure_args; do
     7433  eval "set x $ac_configure_args"
     7434  shift
     7435  for ac_arg
     7436  do
    85827437    if test -n "$ac_prev"; then
    85837438      ac_prev=
     
    86027457    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
    86037458      ;;
    8604     *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
     7459    --disable-option-checking)
     7460      ;;
     7461    *)
     7462      case $ac_arg in
     7463      *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
     7464      esac
     7465      as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
    86057466    esac
    86067467  done
     
    86087469  # Always prepend --prefix to ensure using the same prefix
    86097470  # in subdir configurations.
    8610   ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
     7471  ac_arg="--prefix=$prefix"
     7472  case $ac_arg in
     7473  *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
     7474  esac
     7475  ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
     7476
     7477  # Pass --silent
     7478  if test "$silent" = yes; then
     7479    ac_sub_configure_args="--silent $ac_sub_configure_args"
     7480  fi
     7481
     7482  # Always prepend --disable-option-checking to silence warnings, since
     7483  # different subdirs can have different --enable and --with options.
     7484  ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
    86117485
    86127486  ac_popdir=`pwd`
     
    86157489    # Do not complain, so a configure script can configure whichever
    86167490    # parts of a large source tree are present.
    8617     test -d $srcdir/$ac_dir || continue
    8618 
    8619     { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
    8620 echo "$as_me: configuring in $ac_dir" >&6;}
    8621     { if $as_mkdir_p; then
    8622     mkdir -p "$ac_dir"
    8623   else
    8624     as_dir="$ac_dir"
    8625     as_dirs=
    8626     while test ! -d "$as_dir"; do
    8627       as_dirs="$as_dir $as_dirs"
    8628       as_dir=`(dirname "$as_dir") 2>/dev/null ||
    8629 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    8630      X"$as_dir" : 'X\(//\)[^/]' \| \
    8631      X"$as_dir" : 'X\(//\)$' \| \
    8632      X"$as_dir" : 'X\(/\)' \| \
    8633      .     : '\(.\)' 2>/dev/null ||
    8634 echo X"$as_dir" |
    8635     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    8636       /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    8637       /^X\(\/\/\)$/{ s//\1/; q; }
    8638       /^X\(\/\).*/{ s//\1/; q; }
    8639       s/.*/./; q'`
    8640     done
    8641     test ! -n "$as_dirs" || mkdir $as_dirs
    8642   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
    8643 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
    8644    { (exit 1); exit 1; }; }; }
    8645 
     7491    test -d "$srcdir/$ac_dir" || continue
     7492
     7493    ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
     7494    $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
     7495    $as_echo "$ac_msg" >&6
     7496    as_dir="$ac_dir"; as_fn_mkdir_p
    86467497    ac_builddir=.
    86477498
    8648 if test "$ac_dir" != .; then
    8649   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
    8650   # A "../" for each directory in $ac_dir_suffix.
    8651   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
    8652 else
    8653   ac_dir_suffix= ac_top_builddir=
    8654 fi
     7499case "$ac_dir" in
     7500.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
     7501*)
     7502  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
     7503  # A ".." for each directory in $ac_dir_suffix.
     7504  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
     7505  case $ac_top_builddir_sub in
     7506  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
     7507  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
     7508  esac ;;
     7509esac
     7510ac_abs_top_builddir=$ac_pwd
     7511ac_abs_builddir=$ac_pwd$ac_dir_suffix
     7512# for backward compatibility:
     7513ac_top_builddir=$ac_top_build_prefix
    86557514
    86567515case $srcdir in
    8657   .)  # No --srcdir option.  We are building in place.
     7516  .)  # We are building in place.
    86587517    ac_srcdir=.
    8659     if test -z "$ac_top_builddir"; then
    8660        ac_top_srcdir=.
     7518    ac_top_srcdir=$ac_top_builddir_sub
     7519    ac_abs_top_srcdir=$ac_pwd ;;
     7520  [\\/]* | ?:[\\/]* )  # Absolute name.
     7521    ac_srcdir=$srcdir$ac_dir_suffix;
     7522    ac_top_srcdir=$srcdir
     7523    ac_abs_top_srcdir=$srcdir ;;
     7524  *) # Relative name.
     7525    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
     7526    ac_top_srcdir=$ac_top_build_prefix$srcdir
     7527    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
     7528esac
     7529ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
     7530
     7531
     7532    cd "$ac_dir"
     7533
     7534    # Check for guested configure; otherwise get Cygnus style configure.
     7535    if test -f "$ac_srcdir/configure.gnu"; then
     7536      ac_sub_configure=$ac_srcdir/configure.gnu
     7537    elif test -f "$ac_srcdir/configure"; then
     7538      ac_sub_configure=$ac_srcdir/configure
     7539    elif test -f "$ac_srcdir/configure.in"; then
     7540      # This should be Cygnus configure.
     7541      ac_sub_configure=$ac_aux_dir/configure
    86617542    else
    8662        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
    8663     fi ;;
    8664   [\\/]* | ?:[\\/]* )  # Absolute path.
    8665     ac_srcdir=$srcdir$ac_dir_suffix;
    8666     ac_top_srcdir=$srcdir ;;
    8667   *) # Relative path.
    8668     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
    8669     ac_top_srcdir=$ac_top_builddir$srcdir ;;
    8670 esac
    8671 
    8672 # Do not use `cd foo && pwd` to compute absolute paths, because
    8673 # the directories may not exist.
    8674 case `pwd` in
    8675 .) ac_abs_builddir="$ac_dir";;
    8676 *)
    8677   case "$ac_dir" in
    8678   .) ac_abs_builddir=`pwd`;;
    8679   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
    8680   *) ac_abs_builddir=`pwd`/"$ac_dir";;
    8681   esac;;
    8682 esac
    8683 case $ac_abs_builddir in
    8684 .) ac_abs_top_builddir=${ac_top_builddir}.;;
    8685 *)
    8686   case ${ac_top_builddir}. in
    8687   .) ac_abs_top_builddir=$ac_abs_builddir;;
    8688   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
    8689   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
    8690   esac;;
    8691 esac
    8692 case $ac_abs_builddir in
    8693 .) ac_abs_srcdir=$ac_srcdir;;
    8694 *)
    8695   case $ac_srcdir in
    8696   .) ac_abs_srcdir=$ac_abs_builddir;;
    8697   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
    8698   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
    8699   esac;;
    8700 esac
    8701 case $ac_abs_builddir in
    8702 .) ac_abs_top_srcdir=$ac_top_srcdir;;
    8703 *)
    8704   case $ac_top_srcdir in
    8705   .) ac_abs_top_srcdir=$ac_abs_builddir;;
    8706   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
    8707   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
    8708   esac;;
    8709 esac
    8710 
    8711 
    8712     cd $ac_dir
    8713 
    8714     # Check for guested configure; otherwise get Cygnus style configure.
    8715     if test -f $ac_srcdir/configure.gnu; then
    8716       ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
    8717     elif test -f $ac_srcdir/configure; then
    8718       ac_sub_configure="$SHELL '$ac_srcdir/configure'"
    8719     elif test -f $ac_srcdir/configure.in; then
    8720       ac_sub_configure=$ac_configure
    8721     else
    8722       { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
    8723 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
     7543      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
     7544$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
    87247545      ac_sub_configure=
    87257546    fi
     
    87307551      case $cache_file in
    87317552      [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
    8732       *) # Relative path.
    8733     ac_sub_cache_file=$ac_top_builddir$cache_file ;;
     7553      *) # Relative name.
     7554    ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
    87347555      esac
    87357556
    8736       { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
    8737 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
     7557      { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
     7558$as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
    87387559      # The eval makes quoting arguments work.
    8739       eval $ac_sub_configure $ac_sub_configure_args \
    8740        --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
    8741     { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
    8742 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
    8743    { (exit 1); exit 1; }; }
     7560      eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
     7561       --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
     7562    as_fn_error "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
    87447563    fi
    87457564
    8746     cd $ac_popdir
     7565    cd "$ac_popdir"
    87477566  done
    87487567fi
    8749 
    8750 
    8751 
     7568if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
     7569  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
     7570$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
     7571fi
     7572
     7573
     7574
  • main/trunk/greenstone2/configure.in

    r22058 r22378  
    216216  AC_MSG_RESULT(yes)
    217217  if test -z "$COMPAT32BITFLAGS" ; then
    218     COMPAT32BITFLAGS="-m32"
     218    if test "$ENABLE_MG" = "1" -o "$ENABLE_MGPP" = "1" ; then
     219      COMPAT32BITFLAGS="-m32"
     220    fi
    219221  fi
    220222else
    221223  AC_MSG_RESULT(no)
    222224  if test -z "$COMPAT32BITFLAGS" ; then
    223     COMPAT32BITFLAGS=
    224   fi
    225 fi
    226 
    227 # Only need compat32bitflag if using MG or MGPP
    228 if test "$ENABLE_MG" = "0" ; then
    229   COMPAT32BITFLAGS=
    230 else
    231   if test "$ENABLE_MGPP" = "0" ; then
    232225    COMPAT32BITFLAGS=
    233226  fi
  • main/trunk/greenstone2/runtime-src/packages/configure

    r22058 r22378  
    211211  if [ ! -e httpd-2.2.11 ] ; then gzip -dc httpd-2.2.11-gs.tar.gz | tar -xf - ; fi
    212212  cd httpd-2.2.11&& \
    213     ./configure $CACHE_FILE --with-included-apr --with-iconv="${GSDLHOME}/common-src/packages/iconv" --with-layout=BinaryDistribution --enable-most --prefix="${prefix}/apache-httpd/${GSDLOS}" $HOSTTARGETFLAGS
     213
     214if [ ! -z $COMPAT32BITFLAGS ] ; then
     215CFLAGS="$CFLAGS -I${GSDLHOME}/common-src/packages/iconv/include" CXXFLAGS="$CXXFLAGS -I${GSDLHOME}/common-src/packages/iconv/include" LDFLAGS="$LDFLAGS -L${GSDLHOME}/common-src/packages/iconv/lib64" ./configure $CACHE_FILE --with-included-apr --with-layout=BinaryDistribution --enable-most --prefix="${prefix}/apache-httpd/${GSDLOS}" $HOSTTARGETFLAGS --with-iconv
     216else
     217CFLAGS="$CFLAGS -I${GSDLHOME}/common-src/packages/iconv/include" CXXFLAGS="$CXXFLAGS -I${GSDLHOME}/common-src/packages/iconv/include" LDFLAGS="$LDFLAGS -L${GSDLHOME}/common-src/packages/iconv/lib" ./configure $CACHE_FILE --with-included-apr --with-layout=BinaryDistribution --enable-most --prefix="${prefix}/apache-httpd/${GSDLOS}" $HOSTTARGETFLAGS --with-iconv
     218fi
     219
    214220else
    215221  echo "Apache httpd support disabled"
  • main/trunk/greenstone2/runtime-src/src/oaiservr/Makefile.in

    r22078 r22378  
    3838ENABLE_ACCENTFOLD = @ENABLE_ACCENTFOLD@
    3939ifeq ($(ENABLE_ACCENTFOLD), 1)
     40ifeq ($(COMPAT32BITFLAGS),)
    4041ACCENTFOLD_LIBS = $(INDEXERS_DIR)/packages/unac/libunac.a $(COMMON_PACKAGES_DIR)/iconv/lib/libiconv.a
     42else
     43ACCENTFOLD_LIBS = $(INDEXERS_DIR)/packages/unac/libunac.a $(COMMON_PACKAGES_DIR)/iconv/lib64/libiconv.a
     44endif
    4145else
    4246ACCENTFOLD_LIBS =
  • main/trunk/greenstone2/runtime-src/src/recpt/Makefile.in

    r22078 r22378  
    4141ENABLE_ACCENTFOLD = @ENABLE_ACCENTFOLD@
    4242ifeq ($(ENABLE_ACCENTFOLD), 1)
     43ifeq ($(COMPAT32BITFLAGS),)
    4344ACCENTFOLD_LIBS = $(INDEXERS_DIR)/packages/unac/libunac.a $(COMMON_PACKAGES_DIR)/iconv/lib/libiconv.a
     45else
     46ACCENTFOLD_LIBS = $(INDEXERS_DIR)/packages/unac/libunac.a $(INDEXERS_DIR)/packages/iconv/lib64/libiconv.a
     47endif
    4448else
    4549ACCENTFOLD_LIBS =
  • main/trunk/greenstone2/runtime-src/src/z3950/Makefile.in

    r22078 r22378  
    102102INSTALL = @INSTALL@
    103103LDFLAGS = @LDFLAGS@
     104ifeq ($(COMPAT32BITFLAGS),)
    104105LIBS = @LIBS@ $(GDBM_LIBS) -L$(COMMON_PACKAGES_DIR)/expat/lib -lexpat \
    105106    $(ACCENTFOLD_LIBS) $(SQLITE_LIBS) \
    106107    $(RUNTIME_PACKAGES_DIR)/yaz/lib/libyaz.a $(RUNTIME_PACKAGES_DIR)/d2m/libd2m.a -lxml2
     108else
     109LIBS = @LIBS@ $(GDBM_LIBS) -L$(COMMON_PACKAGES_DIR)/expat/lib64 -lexpat \
     110    $(ACCENTFOLD_LIBS) $(SQLITE_LIBS) \
     111    $(RUNTIME_PACKAGES_DIR)/yaz/lib/libyaz.a $(RUNTIME_PACKAGES_DIR)/d2m/libd2m.a -lxml2
     112endif
    107113RANLIB = @RANLIB@
    108114
Note: See TracChangeset for help on using the changeset viewer.