Changeset 22378


Ignore:
Timestamp:
07/12/10 15:06:25 (11 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 bug-autoconf@gnu.org 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