Ignore:
Timestamp:
Jan 30, 2004, 10:27:14 PM (22 years ago)
Author:
bird
Message:

Regenerated with new autoconf (forced to use stable).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gcc/zlib/configure

    • Property cvs2svn:cvs-rev changed from 1.2 to 1.3
    r1121 r1122  
    11#! /bin/sh
    2 
    32# Guess values for system-dependent variables and create Makefiles.
    4 # Generated automatically using autoconf version 2.13
    5 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
     3# Generated by GNU Autoconf 2.59.
    64#
     5# Copyright (C) 2003 Free Software Foundation, Inc.
    76# This configure script is free software; the Free Software Foundation
    87# gives unlimited permission to copy, distribute and modify it.
    9 
    10 # Defaults:
    11 ac_help=
     8## --------------------- ##
     9## M4sh Initialization.  ##
     10## --------------------- ##
     11
     12# Be Bourne compatible
     13if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     14  emulate sh
     15  NULLCMD=:
     16  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
     17  # is contrary to our usage.  Disable this feature.
     18  alias -g '${1+"$@"}'='"$@"'
     19elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
     20  set -o posix
     21fi
     22DUALCASE=1; export DUALCASE # for MKS sh
     23
     24# Support unset when possible.
     25if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     26  as_unset=unset
     27else
     28  as_unset=false
     29fi
     30
     31
     32# Work around bugs in pre-3.0 UWIN ksh.
     33$as_unset ENV MAIL MAILPATH
     34PS1='$ '
     35PS2='> '
     36PS4='+ '
     37
     38# NLS nuisances.
     39for 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
     43do
     44  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
     45    eval $as_var=C; export $as_var
     46  else
     47    $as_unset $as_var
     48  fi
     49done
     50
     51# Required to use basename.
     52if expr a : '\(a\)' >/dev/null 2>&1; then
     53  as_expr=expr
     54else
     55  as_expr=false
     56fi
     57
     58if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
     59  as_basename=basename
     60else
     61  as_basename=false
     62fi
     63
     64
     65# Name of the executable.
     66as_me=`$as_basename "$0" ||
     67$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
     68         X"$0" : 'X\(//\)$' \| \
     69         X"$0" : 'X\(/\)$' \| \
     70         .     : '\(.\)' 2>/dev/null ||
     71echo 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.
     79# Avoid depending upon Character Ranges.
     80as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     81as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     82as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     83as_cr_digits='0123456789'
     84as_cr_alnum=$as_cr_Letters$as_cr_digits
     85
     86# The user is always right.
     87if 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
     97fi
     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
     110for as_dir in $PATH
     111do
     112  IFS=$as_save_IFS
     113  test -z "$as_dir" && as_dir=.
     114  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     115done
     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
     131for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
     132do
     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
     152done
     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 |
     165    sed '
     166      N
     167      s,$,-,
     168      : loop
     169      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
     170      t loop
     171      s,-$,,
     172      s,^['$as_cr_digits']*\n,,
     173    ' >$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; }; }
     177
     178  # Don't try to exec as it changes $[0], causing all sort of problems
     179  # (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
     182  # Exit status is that of the last command.
     183  exit
     184}
     185
     186
     187case `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= ;;
     192esac
     193
     194if expr a : '\(a\)' >/dev/null 2>&1; then
     195  as_expr=expr
     196else
     197  as_expr=false
     198fi
     199
     200rm -f conf$$ conf$$.exe conf$$.file
     201echo >conf$$.file
     202if 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
     207    as_ln_s='cp -p'
     208  else
     209    as_ln_s='ln -s'
     210  fi
     211elif ln conf$$.file conf$$ 2>/dev/null; then
     212  as_ln_s=ln
     213else
     214  as_ln_s='cp -p'
     215fi
     216rm -f conf$$ conf$$.exe conf$$.file
     217
     218if mkdir -p . 2>/dev/null; then
     219  as_mkdir_p=:
     220else
     221  test -d ./-p && rmdir ./-p
     222  as_mkdir_p=false
     223fi
     224
     225as_executable_p="test -f"
     226
     227# Sed expression to map a string onto a valid CPP name.
     228as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
     229
     230# Sed expression to map a string onto a valid variable name.
     231as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
     232
     233
     234# IFS
     235# We need space, tab and new line, in precisely that order.
     236as_nl='
     237'
     238IFS="   $as_nl"
     239
     240# CDPATH.
     241$as_unset CDPATH
     242
     243
     244# Name of the host.
     245# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
     246# so uname gets run too.
     247ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
     248
     249exec 6>&1
     250
     251#
     252# Initializations.
     253#
    12254ac_default_prefix=/usr/local
    13 # Any additions from configure.in:
    14 ac_help="$ac_help
    15   --enable-maintainer-mode enable make rules and dependencies not useful
    16                           (and sometimes confusing) to the casual installer"
    17 ac_help="$ac_help
    18   --with-target-subdir=SUBDIR
    19                           configuring in a subdirectory"
    20 ac_help="$ac_help
    21   --with-cross-host=HOST  configuring with a cross compiler"
    22 ac_help="$ac_help
    23   --enable-multilib       build many library versions (default)"
    24 ac_help="$ac_help
    25   --with-system-zlib      use installed libz"
    26 ac_help="$ac_help
    27   --enable-shared[=PKGS]  build shared libraries [default=yes]"
    28 ac_help="$ac_help
    29   --enable-static[=PKGS]  build static libraries [default=yes]"
    30 ac_help="$ac_help
    31   --enable-fast-install[=PKGS]  optimize for fast installation [default=yes]"
    32 ac_help="$ac_help
    33   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]"
    34 ac_help="$ac_help
    35   --disable-libtool-lock  avoid locking (might break parallel builds)"
    36 ac_help="$ac_help
    37   --with-pic              try to use only PIC/non-PIC objects [default=use both]"
     255ac_config_libobj_dir=.
     256cross_compiling=no
     257subdirs=
     258MFLAGS=
     259MAKEFLAGS=
     260SHELL=${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}
     266
     267# Identity of this package.
     268PACKAGE_NAME=
     269PACKAGE_TARNAME=
     270PACKAGE_VERSION=
     271PACKAGE_STRING=
     272PACKAGE_BUGREPORT=
     273
     274ac_unique_file="zlib.h"
     275# Factoring default headers for most tests.
     276ac_includes_default="\
     277#include <stdio.h>
     278#if HAVE_SYS_TYPES_H
     279# include <sys/types.h>
     280#endif
     281#if HAVE_SYS_STAT_H
     282# include <sys/stat.h>
     283#endif
     284#if STDC_HEADERS
     285# include <stdlib.h>
     286# include <stddef.h>
     287#else
     288# if HAVE_STDLIB_H
     289#  include <stdlib.h>
     290# endif
     291#endif
     292#if HAVE_STRING_H
     293# if !STDC_HEADERS && HAVE_MEMORY_H
     294#  include <memory.h>
     295# endif
     296# include <string.h>
     297#endif
     298#if HAVE_STRINGS_H
     299# include <strings.h>
     300#endif
     301#if HAVE_INTTYPES_H
     302# include <inttypes.h>
     303#else
     304# if HAVE_STDINT_H
     305#  include <stdint.h>
     306# endif
     307#endif
     308#if HAVE_UNISTD_H
     309# include <unistd.h>
     310#endif"
     311
     312ac_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 zlib_basedir build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os mkinstalldirs INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO SET_MAKE MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CC LN_S RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP LIBTOOL COMPPATH CPP CPPFLAGS EGREP target_all toolexecdir toolexeclibdir TARGET_LIBRARY_TRUE TARGET_LIBRARY_FALSE LIBOBJS LTLIBOBJS'
     313ac_subst_files=''
    38314
    39315# Initialize some variables set by options.
     316ac_init_help=
     317ac_init_version=false
    40318# The variables have the same names as the options, with
    41319# dashes changed to underlines.
    42 build=NONE
    43 cache_file=./config.cache
     320cache_file=/dev/null
    44321exec_prefix=NONE
    45 host=NONE
    46322no_create=
    47 nonopt=NONE
    48323no_recursion=
    49324prefix=NONE
     
    54329site=
    55330srcdir=
    56 target=NONE
    57331verbose=
    58332x_includes=NONE
    59333x_libraries=NONE
     334
     335# Installation directory options.
     336# These are left unexpanded so users can "make install exec_prefix=/foo"
     337# and all the variables that are supposed to be based on exec_prefix
     338# by default will actually change.
     339# Use braces instead of parens because sh, perl, etc. also accept them.
    60340bindir='${exec_prefix}/bin'
    61341sbindir='${exec_prefix}/sbin'
     
    71351mandir='${prefix}/man'
    72352
    73 # Initialize some other variables.
    74 subdirs=
    75 MFLAGS= MAKEFLAGS=
    76 SHELL=${CONFIG_SHELL-/bin/sh}
    77 # Maximum number of lines to put in a shell here document.
    78 ac_max_here_lines=12
    79 
    80353ac_prev=
    81354for ac_option
    82355do
    83 
    84356  # If the previous option needs an argument, assign it.
    85357  if test -n "$ac_prev"; then
     
    89361  fi
    90362
    91   case "$ac_option" in
    92   -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
    93   *) ac_optarg= ;;
    94   esac
     363  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
    95364
    96365  # Accept the important Cygnus configure options, so we can diagnose typos.
    97366
    98   case "$ac_option" in
     367  case $ac_option in
    99368
    100369  -bindir | --bindir | --bindi | --bind | --bin | --bi)
    101370    ac_prev=bindir ;;
    102371  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    103     bindir="$ac_optarg" ;;
     372    bindir=$ac_optarg ;;
    104373
    105374  -build | --build | --buil | --bui | --bu)
    106     ac_prev=build ;;
     375    ac_prev=build_alias ;;
    107376  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    108     build="$ac_optarg" ;;
     377    build_alias=$ac_optarg ;;
    109378
    110379  -cache-file | --cache-file | --cache-fil | --cache-fi \
     
    113382  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    114383  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    115     cache_file="$ac_optarg" ;;
     384    cache_file=$ac_optarg ;;
     385
     386  --config-cache | -C)
     387    cache_file=config.cache ;;
    116388
    117389  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
     
    119391  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
    120392  | --da=*)
    121     datadir="$ac_optarg" ;;
     393    datadir=$ac_optarg ;;
    122394
    123395  -disable-* | --disable-*)
    124     ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
     396    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    125397    # Reject names that are not valid shell variable names.
    126     if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
    127       { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
    128     fi
    129     ac_feature=`echo $ac_feature| sed 's/-/_/g'`
    130     eval "enable_${ac_feature}=no" ;;
     398    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
     399      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
     400   { (exit 1); exit 1; }; }
     401    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
     402    eval "enable_$ac_feature=no" ;;
    131403
    132404  -enable-* | --enable-*)
    133     ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
     405    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    134406    # Reject names that are not valid shell variable names.
    135     if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
    136       { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
    137     fi
    138     ac_feature=`echo $ac_feature| sed 's/-/_/g'`
    139     case "$ac_option" in
    140       *=*) ;;
     407    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
     408      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
     409   { (exit 1); exit 1; }; }
     410    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
     411    case $ac_option in
     412      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
    141413      *) ac_optarg=yes ;;
    142414    esac
    143     eval "enable_${ac_feature}='$ac_optarg'" ;;
     415    eval "enable_$ac_feature='$ac_optarg'" ;;
    144416
    145417  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
     
    150422  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    151423  | --exec=* | --exe=* | --ex=*)
    152     exec_prefix="$ac_optarg" ;;
     424    exec_prefix=$ac_optarg ;;
    153425
    154426  -gas | --gas | --ga | --g)
     
    156428    with_gas=yes ;;
    157429
    158   -help | --help | --hel | --he)
    159     # Omit some internal or obsolete options to make the list less imposing.
    160     # This message is too long to be a string in the A/UX 3.1 sh.
    161     cat << EOF
    162 Usage: configure [options] [host]
    163 Options: [defaults in brackets after descriptions]
    164 Configuration:
    165   --cache-file=FILE       cache test results in FILE
    166   --help                  print this message
    167   --no-create             do not create output files
    168   --quiet, --silent       do not print \`checking...' messages
    169   --version               print the version of autoconf that created configure
    170 Directory and file names:
    171   --prefix=PREFIX         install architecture-independent files in PREFIX
    172                           [$ac_default_prefix]
    173   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
    174                           [same as prefix]
    175   --bindir=DIR            user executables in DIR [EPREFIX/bin]
    176   --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
    177   --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
    178   --datadir=DIR           read-only architecture-independent data in DIR
    179                           [PREFIX/share]
    180   --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
    181   --sharedstatedir=DIR    modifiable architecture-independent data in DIR
    182                           [PREFIX/com]
    183   --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
    184   --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
    185   --includedir=DIR        C header files in DIR [PREFIX/include]
    186   --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
    187   --infodir=DIR           info documentation in DIR [PREFIX/info]
    188   --mandir=DIR            man documentation in DIR [PREFIX/man]
    189   --srcdir=DIR            find the sources in DIR [configure dir or ..]
    190   --program-prefix=PREFIX prepend PREFIX to installed program names
    191   --program-suffix=SUFFIX append SUFFIX to installed program names
    192   --program-transform-name=PROGRAM
    193                           run sed PROGRAM on installed program names
    194 EOF
    195     cat << EOF
    196 Host type:
    197   --build=BUILD           configure for building on BUILD [BUILD=HOST]
    198   --host=HOST             configure for HOST [guessed]
    199   --target=TARGET         configure for TARGET [TARGET=HOST]
    200 Features and packages:
    201   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
    202   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
    203   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
    204   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
    205   --x-includes=DIR        X include files are in DIR
    206   --x-libraries=DIR       X library files are in DIR
    207 EOF
    208     if test -n "$ac_help"; then
    209       echo "--enable and --with options recognized:$ac_help"
    210     fi
    211     exit 0 ;;
     430  -help | --help | --hel | --he | -h)
     431    ac_init_help=long ;;
     432  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
     433    ac_init_help=recursive ;;
     434  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
     435    ac_init_help=short ;;
    212436
    213437  -host | --host | --hos | --ho)
    214     ac_prev=host ;;
     438    ac_prev=host_alias ;;
    215439  -host=* | --host=* | --hos=* | --ho=*)
    216     host="$ac_optarg" ;;
     440    host_alias=$ac_optarg ;;
    217441
    218442  -includedir | --includedir | --includedi | --included | --include \
     
    221445  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    222446  | --includ=* | --inclu=* | --incl=* | --inc=*)
    223     includedir="$ac_optarg" ;;
     447    includedir=$ac_optarg ;;
    224448
    225449  -infodir | --infodir | --infodi | --infod | --info | --inf)
    226450    ac_prev=infodir ;;
    227451  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    228     infodir="$ac_optarg" ;;
     452    infodir=$ac_optarg ;;
    229453
    230454  -libdir | --libdir | --libdi | --libd)
    231455    ac_prev=libdir ;;
    232456  -libdir=* | --libdir=* | --libdi=* | --libd=*)
    233     libdir="$ac_optarg" ;;
     457    libdir=$ac_optarg ;;
    234458
    235459  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
     
    238462  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    239463  | --libexe=* | --libex=* | --libe=*)
    240     libexecdir="$ac_optarg" ;;
     464    libexecdir=$ac_optarg ;;
    241465
    242466  -localstatedir | --localstatedir | --localstatedi | --localstated \
     
    247471  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
    248472  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
    249     localstatedir="$ac_optarg" ;;
     473    localstatedir=$ac_optarg ;;
    250474
    251475  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    252476    ac_prev=mandir ;;
    253477  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    254     mandir="$ac_optarg" ;;
     478    mandir=$ac_optarg ;;
    255479
    256480  -nfp | --nfp | --nf)
     
    259483
    260484  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    261   | --no-cr | --no-c)
     485  | --no-cr | --no-c | -n)
    262486    no_create=yes ;;
    263487
     
    273497  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
    274498  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
    275     oldincludedir="$ac_optarg" ;;
     499    oldincludedir=$ac_optarg ;;
    276500
    277501  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
    278502    ac_prev=prefix ;;
    279503  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
    280     prefix="$ac_optarg" ;;
     504    prefix=$ac_optarg ;;
    281505
    282506  -program-prefix | --program-prefix | --program-prefi | --program-pref \
     
    285509  -program-prefix=* | --program-prefix=* | --program-prefi=* \
    286510  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
    287     program_prefix="$ac_optarg" ;;
     511    program_prefix=$ac_optarg ;;
    288512
    289513  -program-suffix | --program-suffix | --program-suffi | --program-suff \
     
    292516  -program-suffix=* | --program-suffix=* | --program-suffi=* \
    293517  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
    294     program_suffix="$ac_optarg" ;;
     518    program_suffix=$ac_optarg ;;
    295519
    296520  -program-transform-name | --program-transform-name \
     
    309533  | --program-trans=* | --program-tran=* \
    310534  | --progr-tra=* | --program-tr=* | --program-t=*)
    311     program_transform_name="$ac_optarg" ;;
     535    program_transform_name=$ac_optarg ;;
    312536
    313537  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
     
    319543  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
    320544  | --sbi=* | --sb=*)
    321     sbindir="$ac_optarg" ;;
     545    sbindir=$ac_optarg ;;
    322546
    323547  -sharedstatedir | --sharedstatedir | --sharedstatedi \
     
    330554  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
    331555  | --sha=* | --sh=*)
    332     sharedstatedir="$ac_optarg" ;;
     556    sharedstatedir=$ac_optarg ;;
    333557
    334558  -site | --site | --sit)
    335559    ac_prev=site ;;
    336560  -site=* | --site=* | --sit=*)
    337     site="$ac_optarg" ;;
     561    site=$ac_optarg ;;
    338562
    339563  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
    340564    ac_prev=srcdir ;;
    341565  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
    342     srcdir="$ac_optarg" ;;
     566    srcdir=$ac_optarg ;;
    343567
    344568  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
     
    347571  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
    348572  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
    349     sysconfdir="$ac_optarg" ;;
     573    sysconfdir=$ac_optarg ;;
    350574
    351575  -target | --target | --targe | --targ | --tar | --ta | --t)
    352     ac_prev=target ;;
     576    ac_prev=target_alias ;;
    353577  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
    354     target="$ac_optarg" ;;
     578    target_alias=$ac_optarg ;;
    355579
    356580  -v | -verbose | --verbose | --verbos | --verbo | --verb)
    357581    verbose=yes ;;
    358582
    359   -version | --version | --versio | --versi | --vers)
    360     echo "configure generated by autoconf version 2.13"
    361     exit 0 ;;
     583  -version | --version | --versio | --versi | --vers | -V)
     584    ac_init_version=: ;;
    362585
    363586  -with-* | --with-*)
    364     ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
     587    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
    365588    # Reject names that are not valid shell variable names.
    366     if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
    367       { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
    368     fi
     589    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
     590      { echo "$as_me: error: invalid package name: $ac_package" >&2
     591   { (exit 1); exit 1; }; }
    369592    ac_package=`echo $ac_package| sed 's/-/_/g'`
    370     case "$ac_option" in
    371       *=*) ;;
     593    case $ac_option in
     594      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
    372595      *) ac_optarg=yes ;;
    373596    esac
    374     eval "with_${ac_package}='$ac_optarg'" ;;
     597    eval "with_$ac_package='$ac_optarg'" ;;
    375598
    376599  -without-* | --without-*)
    377     ac_package=`echo $ac_option|sed -e 's/-*without-//'`
     600    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
    378601    # Reject names that are not valid shell variable names.
    379     if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
    380       { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
    381     fi
    382     ac_package=`echo $ac_package| sed 's/-/_/g'`
    383     eval "with_${ac_package}=no" ;;
     602    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
     603      { echo "$as_me: error: invalid package name: $ac_package" >&2
     604   { (exit 1); exit 1; }; }
     605    ac_package=`echo $ac_package | sed 's/-/_/g'`
     606    eval "with_$ac_package=no" ;;
    384607
    385608  --x)
     
    392615  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
    393616  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
    394     x_includes="$ac_optarg" ;;
     617    x_includes=$ac_optarg ;;
    395618
    396619  -x-libraries | --x-libraries | --x-librarie | --x-librari \
     
    399622  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
    400623  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
    401     x_libraries="$ac_optarg" ;;
    402 
    403   -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
     624    x_libraries=$ac_optarg ;;
     625
     626  -*) { echo "$as_me: error: unrecognized option: $ac_option
     627Try \`$0 --help' for more information." >&2
     628   { (exit 1); exit 1; }; }
    404629    ;;
    405630
     631  *=*)
     632    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
     633    # Reject names that are not valid shell variable names.
     634    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
     635      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
     636   { (exit 1); exit 1; }; }
     637    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
     638    eval "$ac_envvar='$ac_optarg'"
     639    export $ac_envvar ;;
     640
    406641  *)
    407     if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
    408       echo "configure: warning: $ac_option: invalid host type" 1>&2
    409     fi
    410     if test "x$nonopt" != xNONE; then
    411       { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
    412     fi
    413     nonopt="$ac_option"
     642    # FIXME: should be removed in autoconf 3.0.
     643    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
     644    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
     645      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
     646    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
    414647    ;;
    415648
     
    418651
    419652if test -n "$ac_prev"; then
    420   { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
    421 fi
    422 
    423 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
    424 
    425 # File descriptor usage:
    426 # 0 standard input
    427 # 1 file creation
    428 # 2 errors and warnings
    429 # 3 some systems may open it to /dev/tty
    430 # 4 used on the Kubota Titan
    431 # 6 checking for... messages and results
    432 # 5 compiler messages saved in config.log
    433 if test "$silent" = yes; then
    434   exec 6>/dev/null
    435 else
    436   exec 6>&1
    437 fi
    438 exec 5>./config.log
    439 
    440 echo "\
    441 This file contains any messages produced by compilers while
    442 running configure, to aid debugging if configure makes a mistake.
    443 " 1>&5
    444 
    445 # Strip out --no-create and --no-recursion so they do not pile up.
    446 # Also quote any args containing shell metacharacters.
    447 ac_configure_args=
    448 for ac_arg
     653  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
     654  { echo "$as_me: error: missing argument to $ac_option" >&2
     655   { (exit 1); exit 1; }; }
     656fi
     657
     658# Be sure to have absolute paths.
     659for ac_var in exec_prefix prefix
    449660do
    450   case "$ac_arg" in
    451   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    452   | --no-cr | --no-c) ;;
    453   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
    454   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
    455   *" "*|*"      "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
    456   ac_configure_args="$ac_configure_args '$ac_arg'" ;;
    457   *) ac_configure_args="$ac_configure_args $ac_arg" ;;
     661  eval ac_val=$`echo $ac_var`
     662  case $ac_val in
     663    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
     664    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
     665   { (exit 1); exit 1; }; };;
    458666  esac
    459667done
    460668
    461 # NLS nuisances.
    462 # Only set these to C if already set.  These must not be set unconditionally
    463 # because not all systems understand e.g. LANG=C (notably SCO).
    464 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
    465 # Non-C LC_CTYPE values break the ctype check.
    466 if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
    467 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
    468 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
    469 if test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi
    470 
    471 # confdefs.h avoids OS command line length limits that DEFS can exceed.
    472 rm -rf conftest* confdefs.h
    473 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
    474 echo > confdefs.h
    475 
    476 # A filename unique to this package, relative to the directory that
    477 # configure is in, which we can look for to find out if srcdir is correct.
    478 ac_unique_file=zlib.h
     669# Be sure to have absolute paths.
     670for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
     671              localstatedir libdir includedir oldincludedir infodir mandir
     672do
     673  eval ac_val=$`echo $ac_var`
     674  case $ac_val in
     675    [\\/$]* | ?:[\\/]* ) ;;
     676    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
     677   { (exit 1); exit 1; }; };;
     678  esac
     679done
     680
     681# There might be people who depend on the old broken behavior: `$host'
     682# used to hold the argument of --host etc.
     683# FIXME: To remove some day.
     684build=$build_alias
     685host=$host_alias
     686target=$target_alias
     687
     688# FIXME: To remove some day.
     689if test "x$host_alias" != x; then
     690  if test "x$build_alias" = x; then
     691    cross_compiling=maybe
     692    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
     693    If a cross compiler is detected then cross compile mode will be used." >&2
     694  elif test "x$build_alias" != "x$host_alias"; then
     695    cross_compiling=yes
     696  fi
     697fi
     698
     699ac_tool_prefix=
     700test -n "$host_alias" && ac_tool_prefix=$host_alias-
     701
     702test "$silent" = yes && exec 6>/dev/null
     703
    479704
    480705# Find the source files, if location was not specified.
     
    482707  ac_srcdir_defaulted=yes
    483708  # Try the directory containing this script, then its parent.
    484   ac_prog=$0
    485   ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
    486   test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
     709  ac_confdir=`(dirname "$0") 2>/dev/null ||
     710$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     711         X"$0" : 'X\(//\)[^/]' \| \
     712         X"$0" : 'X\(//\)$' \| \
     713         X"$0" : 'X\(/\)' \| \
     714         .     : '\(.\)' 2>/dev/null ||
     715echo X"$0" |
     716    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     717          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
     718          /^X\(\/\/\)$/{ s//\1/; q; }
     719          /^X\(\/\).*/{ s//\1/; q; }
     720          s/.*/./; q'`
    487721  srcdir=$ac_confdir
    488722  if test ! -r $srcdir/$ac_unique_file; then
     
    494728if test ! -r $srcdir/$ac_unique_file; then
    495729  if test "$ac_srcdir_defaulted" = yes; then
    496     { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
     730    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
     731   { (exit 1); exit 1; }; }
    497732  else
    498     { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
     733    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
     734   { (exit 1); exit 1; }; }
    499735  fi
    500736fi
    501 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
    502 
     737(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
     738  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
     739   { (exit 1); exit 1; }; }
     740srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
     741ac_env_build_alias_set=${build_alias+set}
     742ac_env_build_alias_value=$build_alias
     743ac_cv_env_build_alias_set=${build_alias+set}
     744ac_cv_env_build_alias_value=$build_alias
     745ac_env_host_alias_set=${host_alias+set}
     746ac_env_host_alias_value=$host_alias
     747ac_cv_env_host_alias_set=${host_alias+set}
     748ac_cv_env_host_alias_value=$host_alias
     749ac_env_target_alias_set=${target_alias+set}
     750ac_env_target_alias_value=$target_alias
     751ac_cv_env_target_alias_set=${target_alias+set}
     752ac_cv_env_target_alias_value=$target_alias
     753ac_env_CPP_set=${CPP+set}
     754ac_env_CPP_value=$CPP
     755ac_cv_env_CPP_set=${CPP+set}
     756ac_cv_env_CPP_value=$CPP
     757ac_env_CPPFLAGS_set=${CPPFLAGS+set}
     758ac_env_CPPFLAGS_value=$CPPFLAGS
     759ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
     760ac_cv_env_CPPFLAGS_value=$CPPFLAGS
     761
     762#
     763# Report the --help message.
     764#
     765if test "$ac_init_help" = "long"; then
     766  # Omit some internal or obsolete options to make the list less imposing.
     767  # This message is too long to be a string in the A/UX 3.1 sh.
     768  cat <<_ACEOF
     769\`configure' configures this package to adapt to many kinds of systems.
     770
     771Usage: $0 [OPTION]... [VAR=VALUE]...
     772
     773To assign environment variables (e.g., CC, CFLAGS...), specify them as
     774VAR=VALUE.  See below for descriptions of some of the useful variables.
     775
     776Defaults for the options are specified in brackets.
     777
     778Configuration:
     779  -h, --help              display this help and exit
     780      --help=short        display options specific to this package
     781      --help=recursive    display the short help of all the included packages
     782  -V, --version           display version information and exit
     783  -q, --quiet, --silent   do not print \`checking...' messages
     784      --cache-file=FILE   cache test results in FILE [disabled]
     785  -C, --config-cache      alias for \`--cache-file=config.cache'
     786  -n, --no-create         do not create output files
     787      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
     788
     789_ACEOF
     790
     791  cat <<_ACEOF
     792Installation directories:
     793  --prefix=PREFIX         install architecture-independent files in PREFIX
     794                          [$ac_default_prefix]
     795  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
     796                          [PREFIX]
     797
     798By default, \`make install' will install all the files in
     799\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
     800an installation prefix other than \`$ac_default_prefix' using \`--prefix',
     801for instance \`--prefix=\$HOME'.
     802
     803For better control, use the options below.
     804
     805Fine tuning of the installation directories:
     806  --bindir=DIR           user executables [EPREFIX/bin]
     807  --sbindir=DIR          system admin executables [EPREFIX/sbin]
     808  --libexecdir=DIR       program executables [EPREFIX/libexec]
     809  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
     810  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
     811  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
     812  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
     813  --libdir=DIR           object code libraries [EPREFIX/lib]
     814  --includedir=DIR       C header files [PREFIX/include]
     815  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
     816  --infodir=DIR          info documentation [PREFIX/info]
     817  --mandir=DIR           man documentation [PREFIX/man]
     818_ACEOF
     819
     820  cat <<\_ACEOF
     821
     822Program names:
     823  --program-prefix=PREFIX            prepend PREFIX to installed program names
     824  --program-suffix=SUFFIX            append SUFFIX to installed program names
     825  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
     826
     827System types:
     828  --build=BUILD     configure for building on BUILD [guessed]
     829  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
     830  --target=TARGET   configure for building compilers for TARGET [HOST]
     831_ACEOF
     832fi
     833
     834if test -n "$ac_init_help"; then
     835
     836  cat <<\_ACEOF
     837
     838Optional Features:
     839  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
     840  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
     841  --enable-maintainer-mode enable make rules and dependencies not useful
     842                          (and sometimes confusing) to the casual installer
     843  --enable-multilib       build many library versions (default)
     844  --enable-shared=PKGS  build shared libraries default=yes
     845  --enable-static=PKGS  build static libraries default=yes
     846  --enable-fast-install=PKGS  optimize for fast installation default=yes
     847  --disable-libtool-lock  avoid locking (might break parallel builds)
     848
     849Optional Packages:
     850  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
     851  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
     852  --with-target-subdir=SUBDIR
     853                          configuring in a subdirectory
     854  --with-cross-host=HOST  configuring with a cross compiler
     855  --with-system-zlib      use installed libz
     856  --with-gnu-ld           assume the C compiler uses GNU ld default=no
     857  --with-pic              try to use only PIC/non-PIC objects default=use both
     858
     859Some influential environment variables:
     860  CPP         C preprocessor
     861  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
     862              headers in a nonstandard directory <include dir>
     863
     864Use these variables to override the choices made by `configure' or to help
     865it to find libraries and programs with nonstandard names/locations.
     866
     867_ACEOF
     868fi
     869
     870if test "$ac_init_help" = "recursive"; then
     871  # If there are subdirs, report their specific --help.
     872  ac_popdir=`pwd`
     873  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
     874    test -d $ac_dir || continue
     875    ac_builddir=.
     876
     877if test "$ac_dir" != .; then
     878  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
     879  # A "../" for each directory in $ac_dir_suffix.
     880  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
     881else
     882  ac_dir_suffix= ac_top_builddir=
     883fi
     884
     885case $srcdir in
     886  .)  # No --srcdir option.  We are building in place.
     887    ac_srcdir=.
     888    if test -z "$ac_top_builddir"; then
     889       ac_top_srcdir=.
     890    else
     891       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
     892    fi ;;
     893  [\\/]* | ?:[\\/]* )  # Absolute path.
     894    ac_srcdir=$srcdir$ac_dir_suffix;
     895    ac_top_srcdir=$srcdir ;;
     896  *) # Relative path.
     897    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
     898    ac_top_srcdir=$ac_top_builddir$srcdir ;;
     899esac
     900
     901# Do not use `cd foo && pwd` to compute absolute paths, because
     902# the directories may not exist.
     903case `pwd` in
     904.) ac_abs_builddir="$ac_dir";;
     905*)
     906  case "$ac_dir" in
     907  .) ac_abs_builddir=`pwd`;;
     908  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
     909  *) ac_abs_builddir=`pwd`/"$ac_dir";;
     910  esac;;
     911esac
     912case $ac_abs_builddir in
     913.) ac_abs_top_builddir=${ac_top_builddir}.;;
     914*)
     915  case ${ac_top_builddir}. in
     916  .) ac_abs_top_builddir=$ac_abs_builddir;;
     917  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
     918  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
     919  esac;;
     920esac
     921case $ac_abs_builddir in
     922.) ac_abs_srcdir=$ac_srcdir;;
     923*)
     924  case $ac_srcdir in
     925  .) ac_abs_srcdir=$ac_abs_builddir;;
     926  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
     927  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
     928  esac;;
     929esac
     930case $ac_abs_builddir in
     931.) ac_abs_top_srcdir=$ac_top_srcdir;;
     932*)
     933  case $ac_top_srcdir in
     934  .) ac_abs_top_srcdir=$ac_abs_builddir;;
     935  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
     936  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
     937  esac;;
     938esac
     939
     940    cd $ac_dir
     941    # Check for guested configure; otherwise get Cygnus style configure.
     942    if test -f $ac_srcdir/configure.gnu; then
     943      echo
     944      $SHELL $ac_srcdir/configure.gnu  --help=recursive
     945    elif test -f $ac_srcdir/configure; then
     946      echo
     947      $SHELL $ac_srcdir/configure  --help=recursive
     948    elif test -f $ac_srcdir/configure.ac ||
     949           test -f $ac_srcdir/configure.in; then
     950      echo
     951      $ac_configure --help
     952    else
     953      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
     954    fi
     955    cd $ac_popdir
     956  done
     957fi
     958
     959test -n "$ac_init_help" && exit 0
     960if $ac_init_version; then
     961  cat <<\_ACEOF
     962
     963Copyright (C) 2003 Free Software Foundation, Inc.
     964This configure script is free software; the Free Software Foundation
     965gives unlimited permission to copy, distribute and modify it.
     966_ACEOF
     967  exit 0
     968fi
     969exec 5>config.log
     970cat >&5 <<_ACEOF
     971This file contains any messages produced by compilers while
     972running configure, to aid debugging if configure makes a mistake.
     973
     974It was created by $as_me, which was
     975generated by GNU Autoconf 2.59.  Invocation command line was
     976
     977  $ $0 $@
     978
     979_ACEOF
     980{
     981cat <<_ASUNAME
     982## --------- ##
     983## Platform. ##
     984## --------- ##
     985
     986hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
     987uname -m = `(uname -m) 2>/dev/null || echo unknown`
     988uname -r = `(uname -r) 2>/dev/null || echo unknown`
     989uname -s = `(uname -s) 2>/dev/null || echo unknown`
     990uname -v = `(uname -v) 2>/dev/null || echo unknown`
     991
     992/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
     993/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
     994
     995/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
     996/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
     997/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
     998hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
     999/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
     1000/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
     1001/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
     1002
     1003_ASUNAME
     1004
     1005as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     1006for as_dir in $PATH
     1007do
     1008  IFS=$as_save_IFS
     1009  test -z "$as_dir" && as_dir=.
     1010  echo "PATH: $as_dir"
     1011done
     1012
     1013} >&5
     1014
     1015cat >&5 <<_ACEOF
     1016
     1017
     1018## ----------- ##
     1019## Core tests. ##
     1020## ----------- ##
     1021
     1022_ACEOF
     1023
     1024
     1025# Keep a trace of the command line.
     1026# Strip out --no-create and --no-recursion so they do not pile up.
     1027# Strip out --silent because we don't want to record it for future runs.
     1028# Also quote any args containing shell meta-characters.
     1029# Make two passes to allow for proper duplicate-argument suppression.
     1030ac_configure_args=
     1031ac_configure_args0=
     1032ac_configure_args1=
     1033ac_sep=
     1034ac_must_keep_next=false
     1035for ac_pass in 1 2
     1036do
     1037  for ac_arg
     1038  do
     1039    case $ac_arg in
     1040    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
     1041    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
     1042    | -silent | --silent | --silen | --sile | --sil)
     1043      continue ;;
     1044    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
     1045      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
     1046    esac
     1047    case $ac_pass in
     1048    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
     1049    2)
     1050      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
     1051      if test $ac_must_keep_next = true; then
     1052        ac_must_keep_next=false # Got value, back to normal.
     1053      else
     1054        case $ac_arg in
     1055          *=* | --config-cache | -C | -disable-* | --disable-* \
     1056          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
     1057          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
     1058          | -with-* | --with-* | -without-* | --without-* | --x)
     1059            case "$ac_configure_args0 " in
     1060              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
     1061            esac
     1062            ;;
     1063          -* ) ac_must_keep_next=true ;;
     1064        esac
     1065      fi
     1066      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
     1067      # Get rid of the leading space.
     1068      ac_sep=" "
     1069      ;;
     1070    esac
     1071  done
     1072done
     1073$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
     1074$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
     1075
     1076# When interrupted or exit'd, cleanup temporary files, and complete
     1077# config.log.  We remove comments because anyway the quotes in there
     1078# would cause problems or look ugly.
     1079# WARNING: Be sure not to use single quotes in there, as some shells,
     1080# such as our DU 5.0 friend, will then `close' the trap.
     1081trap 'exit_status=$?
     1082  # Save into config.log some information that might help in debugging.
     1083  {
     1084    echo
     1085
     1086    cat <<\_ASBOX
     1087## ---------------- ##
     1088## Cache variables. ##
     1089## ---------------- ##
     1090_ASBOX
     1091    echo
     1092    # The following way of writing the cache mishandles newlines in values,
     1093{
     1094  (set) 2>&1 |
     1095    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
     1096    *ac_space=\ *)
     1097      sed -n \
     1098        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
     1099          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
     1100      ;;
     1101    *)
     1102      sed -n \
     1103        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
     1104      ;;
     1105    esac;
     1106}
     1107    echo
     1108
     1109    cat <<\_ASBOX
     1110## ----------------- ##
     1111## Output variables. ##
     1112## ----------------- ##
     1113_ASBOX
     1114    echo
     1115    for ac_var in $ac_subst_vars
     1116    do
     1117      eval ac_val=$`echo $ac_var`
     1118      echo "$ac_var='"'"'$ac_val'"'"'"
     1119    done | sort
     1120    echo
     1121
     1122    if test -n "$ac_subst_files"; then
     1123      cat <<\_ASBOX
     1124## ------------- ##
     1125## Output files. ##
     1126## ------------- ##
     1127_ASBOX
     1128      echo
     1129      for ac_var in $ac_subst_files
     1130      do
     1131        eval ac_val=$`echo $ac_var`
     1132        echo "$ac_var='"'"'$ac_val'"'"'"
     1133      done | sort
     1134      echo
     1135    fi
     1136
     1137    if test -s confdefs.h; then
     1138      cat <<\_ASBOX
     1139## ----------- ##
     1140## confdefs.h. ##
     1141## ----------- ##
     1142_ASBOX
     1143      echo
     1144      sed "/^$/d" confdefs.h | sort
     1145      echo
     1146    fi
     1147    test "$ac_signal" != 0 &&
     1148      echo "$as_me: caught signal $ac_signal"
     1149    echo "$as_me: exit $exit_status"
     1150  } >&5
     1151  rm -f core *.core &&
     1152  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
     1153    exit $exit_status
     1154     ' 0
     1155for ac_signal in 1 2 13 15; do
     1156  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
     1157done
     1158ac_signal=0
     1159
     1160# confdefs.h avoids OS command line length limits that DEFS can exceed.
     1161rm -rf conftest* confdefs.h
     1162# AIX cpp loses on an empty file, so make sure it contains at least a newline.
     1163echo >confdefs.h
     1164
     1165# Predefined preprocessor variables.
     1166
     1167cat >>confdefs.h <<_ACEOF
     1168#define PACKAGE_NAME "$PACKAGE_NAME"
     1169_ACEOF
     1170
     1171
     1172cat >>confdefs.h <<_ACEOF
     1173#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
     1174_ACEOF
     1175
     1176
     1177cat >>confdefs.h <<_ACEOF
     1178#define PACKAGE_VERSION "$PACKAGE_VERSION"
     1179_ACEOF
     1180
     1181
     1182cat >>confdefs.h <<_ACEOF
     1183#define PACKAGE_STRING "$PACKAGE_STRING"
     1184_ACEOF
     1185
     1186
     1187cat >>confdefs.h <<_ACEOF
     1188#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
     1189_ACEOF
     1190
     1191
     1192# Let the site file select an alternate cache file if it wants to.
    5031193# Prefer explicitly selected file to automatically selected ones.
    5041194if test -z "$CONFIG_SITE"; then
     
    5111201for ac_site_file in $CONFIG_SITE; do
    5121202  if test -r "$ac_site_file"; then
    513     echo "loading site script $ac_site_file"
     1203    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
     1204echo "$as_me: loading site script $ac_site_file" >&6;}
     1205    sed 's/^/| /' "$ac_site_file" >&5
    5141206    . "$ac_site_file"
    5151207  fi
    5161208done
    5171209
     1210# Backslashes into forward slashes:
     1211# The following OS/2 specific code is performed AFTER config.site
     1212# has been loaded to allow users to change their environment there.
     1213# This strange code is necessary to deal with handling of backslashes by ksh.
     1214
     1215if test "$ac_emxsupport" != "no" -a "$ac_emxsupport" != "NO"; then
     1216  ac_save_IFS="$IFS"
     1217  IFS="\\"
     1218  ac_TEMP_PATH=
     1219  for ac_dir in $PATH; do
     1220    IFS=$ac_save_IFS
     1221    if test -z "$ac_TEMP_PATH"; then
     1222      ac_TEMP_PATH="$ac_dir"
     1223    else
     1224      ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
     1225    fi
     1226  done
     1227  export PATH="$ac_TEMP_PATH"
     1228  unset ac_TEMP_PATH
     1229fi
     1230
     1231# set ac_executable_extensions!
     1232if test "$ac_executable_extensions" = ""; then
     1233  if ls.exe --version >/dev/null 2>/dev/null; then
     1234    { echo "$as_me:$LINENO: WARNING: ac_executable_extensions not set, assuming .exe" >&5
     1235echo "$as_me: WARNING: ac_executable_extensions not set, assuming .exe" >&2;}
     1236    ac_executable_extensions=".exe"
     1237    export ac_executable_extensions
     1238  fi
     1239fi
     1240
    5181241if test -r "$cache_file"; then
    519   echo "loading cache $cache_file"
    520   . $cache_file
    521 else
    522   echo "creating cache $cache_file"
    523   > $cache_file
     1242  # Some versions of bash will fail to source /dev/null (special
     1243  # files actually), so we avoid doing that.
     1244  if test -f "$cache_file"; then
     1245    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
     1246echo "$as_me: loading cache $cache_file" >&6;}
     1247    case $cache_file in
     1248      [\\/]* | ?:[\\/]* ) . $cache_file;;
     1249      *)                      . ./$cache_file;;
     1250    esac
     1251  fi
     1252else
     1253  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
     1254echo "$as_me: creating cache $cache_file" >&6;}
     1255  >$cache_file
     1256fi
     1257
     1258# Check that the precious variables saved in the cache have kept the same
     1259# value.
     1260ac_cache_corrupted=false
     1261for ac_var in `(set) 2>&1 |
     1262               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
     1263  eval ac_old_set=\$ac_cv_env_${ac_var}_set
     1264  eval ac_new_set=\$ac_env_${ac_var}_set
     1265  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
     1266  eval ac_new_val="\$ac_env_${ac_var}_value"
     1267  case $ac_old_set,$ac_new_set in
     1268    set,)
     1269      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
     1270echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
     1271      ac_cache_corrupted=: ;;
     1272    ,set)
     1273      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
     1274echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
     1275      ac_cache_corrupted=: ;;
     1276    ,);;
     1277    *)
     1278      if test "x$ac_old_val" != "x$ac_new_val"; then
     1279        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
     1280echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
     1281        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
     1282echo "$as_me:   former value:  $ac_old_val" >&2;}
     1283        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
     1284echo "$as_me:   current value: $ac_new_val" >&2;}
     1285        ac_cache_corrupted=:
     1286      fi;;
     1287  esac
     1288  # Pass precious variables to config.status.
     1289  if test "$ac_new_set" = set; then
     1290    case $ac_new_val in
     1291    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
     1292      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
     1293    *) ac_arg=$ac_var=$ac_new_val ;;
     1294    esac
     1295    case " $ac_configure_args " in
     1296      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
     1297      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
     1298    esac
     1299  fi
     1300done
     1301if $ac_cache_corrupted; then
     1302  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
     1303echo "$as_me: error: changes in the environment can compromise the build" >&2;}
     1304  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
     1305echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
     1306   { (exit 1); exit 1; }; }
    5241307fi
    5251308
    5261309ac_ext=c
    527 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
    5281310ac_cpp='$CPP $CPPFLAGS'
    529 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
    530 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
    531 cross_compiling=$ac_cv_prog_cc_cross
    532 
    533 ac_exeext=
    534 ac_objext=o
    535 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
    536   # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
    537   if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
    538     ac_n= ac_c='
    539 ' ac_t='        '
    540   else
    541     ac_n=-n ac_c= ac_t=
    542   fi
    543 else
    544   ac_n= ac_c='\c' ac_t=
    545 fi
    546 
    547 echo $ac_n "checking for path separator""... $ac_c" 1>&6
    548 echo "configure:549: checking for path separator" >&5
    549 # Filter path to get backslahes into forwardslashes
    550 case "`uname -s 2> /dev/null`" in
    551 OS/2)
    552   PATH=`echo -E "$PATH" | sed 's+\\\\+/+g'`
    553   PATH_IFS=';'
    554   ;;
    555 *)
    556   PATH_IFS=':'
    557   ;;
    558 esac
    559 echo "$ac_t""${PATH_IFS}" 1>&6
    560 
    561 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
    562 echo "configure:563: checking for Cygwin environment" >&5
    563 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
    564   echo $ac_n "(cached) $ac_c" 1>&6
    565 else
    566   cat > conftest.$ac_ext <<EOF
    567 #line 568 "configure"
    568 #include "confdefs.h"
    569 
    570 int main() {
    571 
    572 #ifndef __CYGWIN__
    573 #define __CYGWIN__ __CYGWIN32__
    574 #endif
    575 return __CYGWIN__;
    576 ; return 0; }
    577 EOF
    578 if { (eval echo configure:579: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    579   rm -rf conftest*
    580   ac_cv_cygwin=yes
    581 else
    582   echo "configure: failed program was:" >&5
    583   cat conftest.$ac_ext >&5
    584   rm -rf conftest*
    585   ac_cv_cygwin=no
    586 fi
    587 rm -f conftest*
    588 rm -f conftest*
    589 fi
    590 
    591 echo "$ac_t""$ac_cv_cygwin" 1>&6
    592 CYGWIN=
    593 test "$ac_cv_cygwin" = yes && CYGWIN=yes
    594 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
    595 echo "configure:596: checking for mingw32 environment" >&5
    596 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
    597   echo $ac_n "(cached) $ac_c" 1>&6
    598 else
    599   cat > conftest.$ac_ext <<EOF
    600 #line 601 "configure"
    601 #include "confdefs.h"
    602 
    603 int main() {
    604 return __MINGW32__;
    605 ; return 0; }
    606 EOF
    607 if { (eval echo configure:608: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    608   rm -rf conftest*
    609   ac_cv_mingw32=yes
    610 else
    611   echo "configure: failed program was:" >&5
    612   cat conftest.$ac_ext >&5
    613   rm -rf conftest*
    614   ac_cv_mingw32=no
    615 fi
    616 rm -f conftest*
    617 rm -f conftest*
    618 fi
    619 
    620 echo "$ac_t""$ac_cv_mingw32" 1>&6
    621 MINGW32=
    622 test "$ac_cv_mingw32" = yes && MINGW32=yes
    623 echo $ac_n "checking for EMX/OS2 environment""... $ac_c" 1>&6
    624 echo "configure:625: checking for EMX/OS2 environment" >&5
    625 if eval "test \"`echo '$''{'ac_cv_emxos2'+set}'`\" = set"; then
    626   echo $ac_n "(cached) $ac_c" 1>&6
    627 else
    628   : ${CC=gcc.exe}
    629 cat > conftest.$ac_ext <<EOF
    630 #line 631 "configure"
    631 #include "confdefs.h"
    632 
    633 int main() {
    634 return __EMX__;
    635 ; return 0; }
    636 EOF
    637 if { (eval echo configure:638: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    638   rm -rf conftest*
    639   ac_cv_emxos2=yes
    640 else
    641   echo "configure: failed program was:" >&5
    642   cat conftest.$ac_ext >&5
    643   rm -rf conftest*
    644   ac_cv_emxos2=no
    645 fi
    646 rm -f conftest*
    647 rm -f conftest*
    648 fi
    649 
    650 echo "$ac_t""$ac_cv_emxos2" 1>&6
    651 if eval "test \"`echo '$''{'ac_cv_libpre'+set}'`\" = set"; then
    652   echo $ac_n "(cached) $ac_c" 1>&6
    653 else
    654   if test "$ac_cv_emxos2" = yes ; then
    655   ac_cv_libpre=
    656 else
    657   ac_cv_libpre=lib
    658 fi
    659 
    660 fi
    661 
    662 EMXOS2=
    663 test "$ac_cv_emxos2" = yes && EMXOS2=yes
    664 
    665 
    666 
    667 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
    668 echo "configure:669: checking for executable suffix" >&5
    669 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
    670   echo $ac_n "(cached) $ac_c" 1>&6
    671 else
    672   if test "$CYGWIN" = yes || test "$MINGW32" = yes || test "$EMXOS2" = yes; then
    673   ac_cv_exeext=.exe
    674 else
    675   rm -f conftest*
    676   echo 'int main () { return 0; }' > conftest.$ac_ext
    677   ac_cv_exeext=
    678   if { (eval echo configure:679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
    679     for file in conftest.*; do
    680       case $file in
    681       *.c | *.o | *.obj) ;;
    682       *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
    683       esac
    684     done
    685   else
    686     { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
    687   fi
    688   rm -f conftest*
    689   test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
    690 fi
    691 fi
    692 
    693 EXEEXT=""
    694 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
    695 echo "$ac_t""${ac_cv_exeext}" 1>&6
    696 ac_exeext=$EXEEXT
     1311ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     1312ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     1313ac_compiler_gnu=$ac_cv_c_compiler_gnu
     1314
     1315
     1316
     1317
     1318
     1319
     1320
     1321
     1322
     1323
     1324
     1325
     1326
     1327
     1328
     1329
     1330
    6971331
    6981332
     
    7261360    ac_install_sh="$ac_aux_dir/install.sh -c"
    7271361    break
     1362  elif test -f $ac_dir/shtool; then
     1363    ac_aux_dir=$ac_dir
     1364    ac_install_sh="$ac_aux_dir/shtool install -c"
     1365    break
    7281366  fi
    7291367done
    7301368if test -z "$ac_aux_dir"; then
    731   { echo "configure: error: can not find install-sh or install.sh in $zlib_basedir.. $srcdir/$zlib_basedir.." 1>&2; exit 1; }
    732 fi
    733 ac_config_guess=$ac_aux_dir/config.guess
    734 ac_config_sub=$ac_aux_dir/config.sub
    735 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
     1369  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $zlib_basedir.. $srcdir/$zlib_basedir.." >&5
     1370echo "$as_me: error: cannot find install-sh or install.sh in $zlib_basedir.. $srcdir/$zlib_basedir.." >&2;}
     1371   { (exit 1); exit 1; }; }
     1372fi
     1373ac_config_guess="$SHELL $ac_aux_dir/config.guess"
     1374ac_config_sub="$SHELL $ac_aux_dir/config.sub"
     1375ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
    7361376
    7371377if :; then :; else
     
    7481388    ac_install_sh="$ac_aux_dir/install.sh -c"
    7491389    break
     1390  elif test -f $ac_dir/shtool; then
     1391    ac_aux_dir=$ac_dir
     1392    ac_install_sh="$ac_aux_dir/shtool install -c"
     1393    break
    7501394  fi
    7511395done
    7521396if test -z "$ac_aux_dir"; then
    753   { echo "configure: error: can not find install-sh or install.sh in .. $srcdir/.." 1>&2; exit 1; }
    754 fi
    755 ac_config_guess=$ac_aux_dir/config.guess
    756 ac_config_sub=$ac_aux_dir/config.sub
    757 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
    758 
    759 fi
    760 
    761 
    762 # Do some error checking and defaulting for the host and target type.
    763 # The inputs are:
    764 #    configure --host=HOST --target=TARGET --build=BUILD NONOPT
    765 #
    766 # The rules are:
    767 # 1. You are not allowed to specify --host, --target, and nonopt at the
    768 #    same time.
    769 # 2. Host defaults to nonopt.
    770 # 3. If nonopt is not specified, then host defaults to the current host,
    771 #    as determined by config.guess.
    772 # 4. Target and build default to nonopt.
    773 # 5. If nonopt is not specified, then target and build default to host.
     1397  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in .. $srcdir/.." >&5
     1398echo "$as_me: error: cannot find install-sh or install.sh in .. $srcdir/.." >&2;}
     1399   { (exit 1); exit 1; }; }
     1400fi
     1401ac_config_guess="$SHELL $ac_aux_dir/config.guess"
     1402ac_config_sub="$SHELL $ac_aux_dir/config.sub"
     1403ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
     1404
     1405fi
     1406
     1407# Make sure we can run config.sub.
     1408$ac_config_sub sun4 >/dev/null 2>&1 ||
     1409  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
     1410echo "$as_me: error: cannot run $ac_config_sub" >&2;}
     1411   { (exit 1); exit 1; }; }
     1412
     1413echo "$as_me:$LINENO: checking build system type" >&5
     1414echo $ECHO_N "checking build system type... $ECHO_C" >&6
     1415if test "${ac_cv_build+set}" = set; then
     1416  echo $ECHO_N "(cached) $ECHO_C" >&6
     1417else
     1418  ac_cv_build_alias=$build_alias
     1419test -z "$ac_cv_build_alias" &&
     1420  ac_cv_build_alias=`$ac_config_guess`
     1421test -z "$ac_cv_build_alias" &&
     1422  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
     1423echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
     1424   { (exit 1); exit 1; }; }
     1425ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
     1426  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
     1427echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
     1428   { (exit 1); exit 1; }; }
     1429
     1430fi
     1431echo "$as_me:$LINENO: result: $ac_cv_build" >&5
     1432echo "${ECHO_T}$ac_cv_build" >&6
     1433build=$ac_cv_build
     1434build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
     1435build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
     1436build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
     1437
     1438
     1439echo "$as_me:$LINENO: checking host system type" >&5
     1440echo $ECHO_N "checking host system type... $ECHO_C" >&6
     1441if test "${ac_cv_host+set}" = set; then
     1442  echo $ECHO_N "(cached) $ECHO_C" >&6
     1443else
     1444  ac_cv_host_alias=$host_alias
     1445test -z "$ac_cv_host_alias" &&
     1446  ac_cv_host_alias=$ac_cv_build_alias
     1447ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
     1448  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
     1449echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
     1450   { (exit 1); exit 1; }; }
     1451
     1452fi
     1453echo "$as_me:$LINENO: result: $ac_cv_host" >&5
     1454echo "${ECHO_T}$ac_cv_host" >&6
     1455host=$ac_cv_host
     1456host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
     1457host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
     1458host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
     1459
     1460
     1461echo "$as_me:$LINENO: checking target system type" >&5
     1462echo $ECHO_N "checking target system type... $ECHO_C" >&6
     1463if test "${ac_cv_target+set}" = set; then
     1464  echo $ECHO_N "(cached) $ECHO_C" >&6
     1465else
     1466  ac_cv_target_alias=$target_alias
     1467test "x$ac_cv_target_alias" = "x" &&
     1468  ac_cv_target_alias=$ac_cv_host_alias
     1469ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
     1470  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
     1471echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
     1472   { (exit 1); exit 1; }; }
     1473
     1474fi
     1475echo "$as_me:$LINENO: result: $ac_cv_target" >&5
     1476echo "${ECHO_T}$ac_cv_target" >&6
     1477target=$ac_cv_target
     1478target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
     1479target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
     1480target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
     1481
    7741482
    7751483# The aliases save the names the user supplied, while $host etc.
    7761484# will get canonicalized.
    777 case $host---$target---$nonopt in
    778 NONE---*---* | *---NONE---* | *---*---NONE) ;;
    779 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
    780 esac
    781 
    782 
    783 # Make sure we can run config.sub.
    784 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
    785 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
    786 fi
    787 
    788 echo $ac_n "checking host system type""... $ac_c" 1>&6
    789 echo "configure:790: checking host system type" >&5
    790 
    791 host_alias=$host
    792 case "$host_alias" in
    793 NONE)
    794   case $nonopt in
    795   NONE)
    796     if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
    797     else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
    798     fi ;;
    799   *) host_alias=$nonopt ;;
    800   esac ;;
    801 esac
    802 
    803 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
    804 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
    805 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
    806 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
    807 echo "$ac_t""$host" 1>&6
    808 
    809 echo $ac_n "checking target system type""... $ac_c" 1>&6
    810 echo "configure:811: checking target system type" >&5
    811 
    812 target_alias=$target
    813 case "$target_alias" in
    814 NONE)
    815   case $nonopt in
    816   NONE) target_alias=$host_alias ;;
    817   *) target_alias=$nonopt ;;
    818   esac ;;
    819 esac
    820 
    821 target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
    822 target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
    823 target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
    824 target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
    825 echo "$ac_t""$target" 1>&6
    826 
    827 echo $ac_n "checking build system type""... $ac_c" 1>&6
    828 echo "configure:829: checking build system type" >&5
    829 
    830 build_alias=$build
    831 case "$build_alias" in
    832 NONE)
    833   case $nonopt in
    834   NONE) build_alias=$host_alias ;;
    835   *) build_alias=$nonopt ;;
    836   esac ;;
    837 esac
    838 
    839 build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
    840 build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
    841 build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
    842 build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
    843 echo "$ac_t""$build" 1>&6
    844 
    845 test "$host_alias" != "$target_alias" &&
     1485test -n "$target_alias" &&
    8461486  test "$program_prefix$program_suffix$program_transform_name" = \
    8471487    NONENONEs,x,x, &&
    8481488  program_prefix=${target_alias}-
    849 
    8501489
    8511490# This works around an automake problem.
     
    8601499# IRIX /sbin/install
    8611500# AIX /bin/install
     1501# AmigaOS /C/install, which installs bootblocks on floppy discs
    8621502# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
    8631503# AFS /usr/afsws/bin/install, which mishandles nonexistent args
    8641504# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
     1505# OS/2's system install, which has a completely different semantic
    8651506# ./install, which can be erroneously created by make from ./install.sh.
    866 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
    867 echo "configure:868: checking for a BSD compatible install" >&5
     1507echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
     1508echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
    8681509if test -z "$INSTALL"; then
    869 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
    870   echo $ac_n "(cached) $ac_c" 1>&6
    871 else
    872     IFS="${IFS=         }"; ac_save_IFS="$IFS"; IFS="$PATH_IFS"
    873   for ac_dir in $PATH; do
    874     # Account for people who put trailing slashes in PATH elements.
    875     case "$ac_dir/" in
    876     /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
    877     # We reject the install program from OS/2 or W3.1
    878     */OS2|*/OS2/*|*/WINDOWS|*/WINDOWS/*) ;;
    879     *)
    880       # OSF1 and SCO ODT 3.0 have their own names for install.
    881       # Don't use installbsd from OSF since it installs stuff as root
    882       # by default.
    883       for ac_prog in ginstall scoinst install; do
    884         if test -f $ac_dir/$ac_prog$ac_exeext; then
     1510if test "${ac_cv_path_install+set}" = set; then
     1511  echo $ECHO_N "(cached) $ECHO_C" >&6
     1512else
     1513  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     1514for as_dir in $PATH
     1515do
     1516  IFS=$as_save_IFS
     1517  test -z "$as_dir" && as_dir=.
     1518  # Account for people who put trailing slashes in PATH elements.
     1519case $as_dir/ in
     1520  ./ | .// | /cC/* | \
     1521  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
     1522  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
     1523  /usr/ucb/* ) ;;
     1524  *)
     1525    # OSF1 and SCO ODT 3.0 have their own names for install.
     1526    # Don't use installbsd from OSF since it installs stuff as root
     1527    # by default.
     1528    for ac_prog in ginstall scoinst install; do
     1529      for ac_exec_ext in '' $ac_executable_extensions; do
     1530        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
    8851531          if test $ac_prog = install &&
    886             grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
     1532            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
    8871533            # AIX install.  It has an incompatible calling convention.
    8881534            :
     1535          elif test $ac_prog = install &&
     1536            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     1537            # program-specific install script used by HP pwplus--don't use.
     1538            :
    8891539          else
    890             ac_cv_path_install="$ac_dir/$ac_prog$ac_exeext -c"
    891             break 2
     1540            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
     1541            break 3
    8921542          fi
    8931543        fi
    8941544      done
    895       ;;
    896     esac
    897   done
    898   IFS="$ac_save_IFS"
     1545    done
     1546    ;;
     1547esac
     1548done
     1549
    8991550
    9001551fi
    9011552  if test "${ac_cv_path_install+set}" = set; then
    902     INSTALL="$ac_cv_path_install"
     1553    INSTALL=$ac_cv_path_install
    9031554  else
    9041555    # As a last resort, use the slow shell script.  We don't cache a
     
    9061557    # break other packages using the cache if that directory is
    9071558    # removed, or if the path is relative.
    908     INSTALL="$ac_install_sh"
     1559    INSTALL=$ac_install_sh
    9091560  fi
    9101561fi
    911 echo "$ac_t""$INSTALL" 1>&6
     1562echo "$as_me:$LINENO: result: $INSTALL" >&5
     1563echo "${ECHO_T}$INSTALL" >&6
    9121564
    9131565# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
     
    9151567test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
    9161568
    917 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
     1569test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
    9181570
    9191571test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
    9201572
    921 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
    922 echo "configure:923: checking whether build environment is sane" >&5
     1573echo "$as_me:$LINENO: checking whether build environment is sane" >&5
     1574echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
    9231575# Just in case
    9241576sleep 1
     
    9421594      # broken ls alias from the environment.  This has actually
    9431595      # happened.  Such a system could not be considered "sane".
    944       { echo "configure: error: ls -t appears to fail.  Make sure there is not a broken
    945 alias in your environment" 1>&2; exit 1; }
     1596      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
     1597alias in your environment" >&5
     1598echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
     1599alias in your environment" >&2;}
     1600   { (exit 1); exit 1; }; }
    9461601   fi
    9471602
     
    9521607   :
    9531608else
    954    { echo "configure: error: newly created file is older than distributed files!
    955 Check your system clock" 1>&2; exit 1; }
     1609   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
     1610Check your system clock" >&5
     1611echo "$as_me: error: newly created file is older than distributed files!
     1612Check your system clock" >&2;}
     1613   { (exit 1); exit 1; }; }
    9561614fi
    9571615rm -f conftest*
    958 echo "$ac_t""yes" 1>&6
    959 if test "$program_transform_name" = s,x,x,; then
    960   program_transform_name=
    961 else
    962   # Double any \ or $.  echo might interpret backslashes.
    963   cat <<\EOF_SED > conftestsed
    964 s,\\,\\\\,g; s,\$,$$,g
    965 EOF_SED
    966   program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
    967   rm -f conftestsed
    968 fi
     1616echo "$as_me:$LINENO: result: yes" >&5
     1617echo "${ECHO_T}yes" >&6
    9691618test "$program_prefix" != NONE &&
    970   program_transform_name="s,^,${program_prefix},; $program_transform_name"
     1619  program_transform_name="s,^,$program_prefix,;$program_transform_name"
    9711620# Use a double $ so make ignores it.
    9721621test "$program_suffix" != NONE &&
    973   program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
    974 
    975 # sed with no file args requires a program.
    976 test "$program_transform_name" = "" && program_transform_name="s,x,x,"
    977 
    978 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
    979 echo "configure:980: checking whether ${MAKE-make} sets \${MAKE}" >&5
    980 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
    981 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
    982   echo $ac_n "(cached) $ac_c" 1>&6
    983 else
    984   cat > conftestmake <<\EOF
     1622  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
     1623# Double any \ or $.  echo might interpret backslashes.
     1624# By default was `s,x,x', remove it if useless.
     1625cat <<\_ACEOF >conftest.sed
     1626s/[\\$]/&&/g;s/;s,x,x,$//
     1627_ACEOF
     1628program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
     1629rm conftest.sed
     1630
     1631echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
     1632echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
     1633set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
     1634if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
     1635  echo $ECHO_N "(cached) $ECHO_C" >&6
     1636else
     1637  cat >conftest.make <<\_ACEOF
    9851638all:
    986         @echo 'ac_maketemp="${MAKE}"'
    987 EOF
     1639        @echo 'ac_maketemp="$(MAKE)"'
     1640_ACEOF
    9881641# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
    989 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
     1642eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
    9901643if test -n "$ac_maketemp"; then
    9911644  eval ac_cv_prog_make_${ac_make}_set=yes
     
    9931646  eval ac_cv_prog_make_${ac_make}_set=no
    9941647fi
    995 rm -f conftestmake
     1648rm -f conftest.make
    9961649fi
    9971650if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
    998   echo "$ac_t""yes" 1>&6
     1651  echo "$as_me:$LINENO: result: yes" >&5
     1652echo "${ECHO_T}yes" >&6
    9991653  SET_MAKE=
    10001654else
    1001   echo "$ac_t""no" 1>&6
     1655  echo "$as_me:$LINENO: result: no" >&5
     1656echo "${ECHO_T}no" >&6
    10021657  SET_MAKE="MAKE=${MAKE-make}"
    10031658fi
     
    10091664
    10101665if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
    1011   { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
    1012 fi
    1013 cat >> confdefs.h <<EOF
     1666  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
     1667echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
     1668   { (exit 1); exit 1; }; }
     1669fi
     1670
     1671cat >>confdefs.h <<_ACEOF
    10141672#define PACKAGE "$PACKAGE"
    1015 EOF
    1016 
    1017 cat >> confdefs.h <<EOF
     1673_ACEOF
     1674
     1675
     1676cat >>confdefs.h <<_ACEOF
    10181677#define VERSION "$VERSION"
    1019 EOF
     1678_ACEOF
    10201679
    10211680
    10221681
    10231682missing_dir=`cd $ac_aux_dir && pwd`
    1024 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
    1025 echo "configure:1026: checking for working aclocal" >&5
     1683echo "$as_me:$LINENO: checking for working aclocal" >&5
     1684echo $ECHO_N "checking for working aclocal... $ECHO_C" >&6
    10261685# Run test in a subshell; some versions of sh will print an error if
    10271686# an executable is not found, even if stderr is redirected.
     
    10291688if (aclocal --version) < /dev/null > /dev/null 2>&1; then
    10301689   ACLOCAL=aclocal
    1031    echo "$ac_t""found" 1>&6
     1690   echo "$as_me:$LINENO: result: found" >&5
     1691echo "${ECHO_T}found" >&6
    10321692else
    10331693   ACLOCAL="$missing_dir/missing aclocal"
    1034    echo "$ac_t""missing" 1>&6
    1035 fi
    1036 
    1037 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
    1038 echo "configure:1039: checking for working autoconf" >&5
     1694   echo "$as_me:$LINENO: result: missing" >&5
     1695echo "${ECHO_T}missing" >&6
     1696fi
     1697
     1698echo "$as_me:$LINENO: checking for working autoconf" >&5
     1699echo $ECHO_N "checking for working autoconf... $ECHO_C" >&6
    10391700# Run test in a subshell; some versions of sh will print an error if
    10401701# an executable is not found, even if stderr is redirected.
     
    10421703if (autoconf --version) < /dev/null > /dev/null 2>&1; then
    10431704   AUTOCONF=autoconf
    1044    echo "$ac_t""found" 1>&6
     1705   echo "$as_me:$LINENO: result: found" >&5
     1706echo "${ECHO_T}found" >&6
    10451707else
    10461708   AUTOCONF="$missing_dir/missing autoconf"
    1047    echo "$ac_t""missing" 1>&6
    1048 fi
    1049 
    1050 echo $ac_n "checking for working automake""... $ac_c" 1>&6
    1051 echo "configure:1052: checking for working automake" >&5
     1709   echo "$as_me:$LINENO: result: missing" >&5
     1710echo "${ECHO_T}missing" >&6
     1711fi
     1712
     1713echo "$as_me:$LINENO: checking for working automake" >&5
     1714echo $ECHO_N "checking for working automake... $ECHO_C" >&6
    10521715# Run test in a subshell; some versions of sh will print an error if
    10531716# an executable is not found, even if stderr is redirected.
     
    10551718if (automake --version) < /dev/null > /dev/null 2>&1; then
    10561719   AUTOMAKE=automake
    1057    echo "$ac_t""found" 1>&6
     1720   echo "$as_me:$LINENO: result: found" >&5
     1721echo "${ECHO_T}found" >&6
    10581722else
    10591723   AUTOMAKE="$missing_dir/missing automake"
    1060    echo "$ac_t""missing" 1>&6
    1061 fi
    1062 
    1063 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
    1064 echo "configure:1065: checking for working autoheader" >&5
     1724   echo "$as_me:$LINENO: result: missing" >&5
     1725echo "${ECHO_T}missing" >&6
     1726fi
     1727
     1728echo "$as_me:$LINENO: checking for working autoheader" >&5
     1729echo $ECHO_N "checking for working autoheader... $ECHO_C" >&6
    10651730# Run test in a subshell; some versions of sh will print an error if
    10661731# an executable is not found, even if stderr is redirected.
     
    10681733if (autoheader --version) < /dev/null > /dev/null 2>&1; then
    10691734   AUTOHEADER=autoheader
    1070    echo "$ac_t""found" 1>&6
     1735   echo "$as_me:$LINENO: result: found" >&5
     1736echo "${ECHO_T}found" >&6
    10711737else
    10721738   AUTOHEADER="$missing_dir/missing autoheader"
    1073    echo "$ac_t""missing" 1>&6
    1074 fi
    1075 
    1076 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
    1077 echo "configure:1078: checking for working makeinfo" >&5
     1739   echo "$as_me:$LINENO: result: missing" >&5
     1740echo "${ECHO_T}missing" >&6
     1741fi
     1742
     1743echo "$as_me:$LINENO: checking for working makeinfo" >&5
     1744echo $ECHO_N "checking for working makeinfo... $ECHO_C" >&6
    10781745# Run test in a subshell; some versions of sh will print an error if
    10791746# an executable is not found, even if stderr is redirected.
     
    10811748if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
    10821749   MAKEINFO=makeinfo
    1083    echo "$ac_t""found" 1>&6
     1750   echo "$as_me:$LINENO: result: found" >&5
     1751echo "${ECHO_T}found" >&6
    10841752else
    10851753   MAKEINFO="$missing_dir/missing makeinfo"
    1086    echo "$ac_t""missing" 1>&6
    1087 fi
    1088 
    1089 
    1090 
    1091 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
    1092 echo "configure:1093: checking whether to enable maintainer-specific portions of Makefiles" >&5
     1754   echo "$as_me:$LINENO: result: missing" >&5
     1755echo "${ECHO_T}missing" >&6
     1756fi
     1757
     1758
     1759
     1760echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
     1761echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
    10931762    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
    10941763if test "${enable_maintainer_mode+set}" = set; then
     
    10971766else
    10981767  USE_MAINTAINER_MODE=no
    1099 fi
    1100 
    1101   echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
    1102  
     1768fi;
     1769  echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
     1770echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
     1771
    11031772
    11041773if test $USE_MAINTAINER_MODE = yes; then
     
    11101779fi
    11111780  MAINT=$MAINTAINER_MODE_TRUE
    1112  
     1781
     1782
    11131783
    11141784
     
    11161786if test "${with_target_subdir+set}" = set; then
    11171787  withval="$with_target_subdir"
    1118   :
    1119 fi
     1788
     1789fi;
    11201790
    11211791# Check whether --with-cross-host or --without-cross-host was given.
    11221792if test "${with_cross_host+set}" = set; then
    11231793  withval="$with_cross_host"
    1124   :
    1125 fi
    1126 
     1794
     1795fi;
    11271796
    11281797# Check whether --enable-multilib or --disable-multilib was given.
     
    11321801  yes) multilib=yes ;;
    11331802  no)  multilib=no ;;
    1134   *)   { echo "configure: error: bad value ${enableval} for multilib option" 1>&2; exit 1; } ;;
     1803  *)   { { echo "$as_me:$LINENO: error: bad value ${enableval} for multilib option" >&5
     1804echo "$as_me: error: bad value ${enableval} for multilib option" >&2;}
     1805   { (exit 1); exit 1; }; } ;;
    11351806 esac
    11361807else
    11371808  test -z "$with_target_subdir" && multilib=no || multilib=yes
    1138 fi
     1809fi;
    11391810
    11401811# Check whether --with-system-zlib or --without-system-zlib was given.
    11411812if test "${with_system_zlib+set}" = set; then
    11421813  withval="$with_system_zlib"
    1143   :
    1144 fi
    1145 
     1814
     1815fi;
    11461816
    11471817
    11481818# Extract the first word of "gcc", so it can be a program name with args.
    11491819set dummy gcc; ac_word=$2
    1150 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1151 echo "configure:1152: checking for $ac_word" >&5
    1152 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    1153   echo $ac_n "(cached) $ac_c" 1>&6
     1820echo "$as_me:$LINENO: checking for $ac_word" >&5
     1821echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1822if test "${ac_cv_prog_CC+set}" = set; then
     1823  echo $ECHO_N "(cached) $ECHO_C" >&6
    11541824else
    11551825  if test -n "$CC"; then
    11561826  ac_cv_prog_CC="$CC" # Let the user override the test.
    11571827else
    1158   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS"
    1159   ac_dummy="$PATH"
    1160   for ac_dir in $ac_dummy; do
    1161     test -z "$ac_dir" && ac_dir=.
    1162     if test -f $ac_dir/$ac_word -o \
    1163             -f $ac_dir/$ac_word$ac_exeext ; then
    1164       ac_cv_prog_CC="gcc"
    1165       break
    1166     fi
    1167   done
    1168   IFS="$ac_save_ifs"
    1169 fi
    1170 fi
    1171 CC="$ac_cv_prog_CC"
     1828as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     1829for as_dir in $PATH
     1830do
     1831  IFS=$as_save_IFS
     1832  test -z "$as_dir" && as_dir=.
     1833  for ac_exec_ext in '' $ac_executable_extensions; do
     1834  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     1835    ac_cv_prog_CC="gcc"
     1836    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     1837    break 2
     1838  fi
     1839done
     1840done
     1841
     1842fi
     1843fi
     1844CC=$ac_cv_prog_CC
    11721845if test -n "$CC"; then
    1173   echo "$ac_t""$CC" 1>&6
    1174 else
    1175   echo "$ac_t""no" 1>&6
     1846  echo "$as_me:$LINENO: result: $CC" >&5
     1847echo "${ECHO_T}$CC" >&6
     1848else
     1849  echo "$as_me:$LINENO: result: no" >&5
     1850echo "${ECHO_T}no" >&6
    11761851fi
    11771852
     
    11791854  # Extract the first word of "cc", so it can be a program name with args.
    11801855set dummy cc; ac_word=$2
    1181 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1182 echo "configure:1183: checking for $ac_word" >&5
    1183 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    1184   echo $ac_n "(cached) $ac_c" 1>&6
     1856echo "$as_me:$LINENO: checking for $ac_word" >&5
     1857echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     1858if test "${ac_cv_prog_CC+set}" = set; then
     1859  echo $ECHO_N "(cached) $ECHO_C" >&6
    11851860else
    11861861  if test -n "$CC"; then
    11871862  ac_cv_prog_CC="$CC" # Let the user override the test.
    11881863else
    1189   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS"
    11901864  ac_prog_rejected=no
    1191   ac_dummy="$PATH"
    1192   for ac_dir in $ac_dummy; do
    1193     test -z "$ac_dir" && ac_dir=.
    1194     if test -f $ac_dir/$ac_word -o \
    1195             -f $ac_dir/$ac_word$ac_exeext ; then
    1196       if test "$ac_dir/$ac_word" = "/usr/ucb/cc" -o \
    1197                "$ac_dir/$ac_word$ac_exeext" = "/usr/ucb/cc" ; then
    1198         ac_prog_rejected=yes
    1199         continue
    1200       fi
    1201       ac_cv_prog_CC="cc"
    1202       break
    1203     fi
    1204   done
    1205   IFS="$ac_save_ifs"
     1865as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     1866for as_dir in $PATH
     1867do
     1868  IFS=$as_save_IFS
     1869  test -z "$as_dir" && as_dir=.
     1870  for ac_exec_ext in '' $ac_executable_extensions; do
     1871  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     1872    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
     1873       ac_prog_rejected=yes
     1874       continue
     1875     fi
     1876    ac_cv_prog_CC="cc"
     1877    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     1878    break 2
     1879  fi
     1880done
     1881done
     1882
    12061883if test $ac_prog_rejected = yes; then
    12071884  # We found a bogon in the path, so make sure we never use it.
    12081885  set dummy $ac_cv_prog_CC
    12091886  shift
    1210   if test $# -gt 0; then
     1887  if test $# != 0; then
    12111888    # We chose a different compiler from the bogus one.
    12121889    # However, it has the same basename, so the bogon will be chosen
    12131890    # first if we set CC to just the basename; use the full file name.
    12141891    shift
    1215     set dummy "$ac_dir/$ac_word" "$@"
    1216     shift
    1217     ac_cv_prog_CC="$@"
     1892    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
    12181893  fi
    12191894fi
    12201895fi
    12211896fi
    1222 CC="$ac_cv_prog_CC"
     1897CC=$ac_cv_prog_CC
    12231898if test -n "$CC"; then
    1224   echo "$ac_t""$CC" 1>&6
    1225 else
    1226   echo "$ac_t""no" 1>&6
    1227 fi
    1228 
    1229   test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
    1230 fi
    1231 
    1232 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
    1233 echo "configure:1234: checking whether we are using GNU C" >&5
    1234 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
    1235   echo $ac_n "(cached) $ac_c" 1>&6
    1236 else
    1237   cat > conftest.c <<EOF
    1238 #ifdef __GNUC__
    1239   yes;
    1240 #endif
    1241 EOF
    1242 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1243: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    1243   ac_cv_prog_gcc=yes
    1244 else
    1245   ac_cv_prog_gcc=no
    1246 fi
    1247 fi
    1248 
    1249 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
    1250 
    1251 if test $ac_cv_prog_gcc = yes; then
     1899  echo "$as_me:$LINENO: result: $CC" >&5
     1900echo "${ECHO_T}$CC" >&6
     1901else
     1902  echo "$as_me:$LINENO: result: no" >&5
     1903echo "${ECHO_T}no" >&6
     1904fi
     1905
     1906  test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
     1907echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
     1908   { (exit 1); exit 1; }; }
     1909fi
     1910
     1911AC_PROG_CC_GNU
     1912
     1913if test $ac_cv_c_compiler_gnu = yes; then
    12521914  GCC=yes
    12531915  ac_test_CFLAGS="${CFLAGS+set}"
    12541916  ac_save_CFLAGS="$CFLAGS"
    12551917  CFLAGS=
    1256   echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
    1257 echo "configure:1258: checking whether ${CC-cc} accepts -g" >&5
    1258 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
    1259   echo $ac_n "(cached) $ac_c" 1>&6
    1260 else
    1261   echo 'void f(){}' > conftest.c
    1262 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
    1263   ac_cv_prog_cc_g=yes
    1264 else
    1265   ac_cv_prog_cc_g=no
    1266 fi
    1267 rm -f conftest*
    1268 
    1269 fi
    1270 
    1271 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
     1918  AC_PROG_CC_G
    12721919  if test "$ac_test_CFLAGS" = set; then
    12731920    CFLAGS="$ac_save_CFLAGS"
     
    12941941  # were not for the `:' below.
    12951942  :
    1296  
    1297 
    1298 
    1299 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
    1300 echo "configure:1301: checking for executable suffix" >&5
    1301 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
    1302   echo $ac_n "(cached) $ac_c" 1>&6
    1303 else
    1304   if test "$CYGWIN" = yes || test "$MINGW32" = yes || test "$EMXOS2" = yes; then
    1305   ac_cv_exeext=.exe
    1306 else
    1307   rm -f conftest*
    1308   echo 'int main () { return 0; }' > conftest.$ac_ext
    1309   ac_cv_exeext=
    1310   if { (eval echo configure:1311: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
    1311     for file in conftest.*; do
    1312       case $file in
    1313       *.c | *.o | *.obj) ;;
    1314       *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
    1315       esac
    1316     done
    1317   else
    1318     { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
    1319   fi
    1320   rm -f conftest*
    1321   test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
    1322 fi
    1323 fi
    1324 
    1325 EXEEXT=""
    1326 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
    1327 echo "$ac_t""${ac_cv_exeext}" 1>&6
    1328 ac_exeext=$EXEEXT
    13291943
    13301944fi
     
    13501964else
    13511965  enable_shared=yes
    1352 fi
    1353 
     1966fi;
    13541967# Check whether --enable-static or --disable-static was given.
    13551968if test "${enable_static+set}" = set; then
     
    13731986else
    13741987  enable_static=yes
    1375 fi
    1376 
     1988fi;
    13771989# Check whether --enable-fast-install or --disable-fast-install was given.
    13781990if test "${enable_fast_install+set}" = set; then
     
    13962008else
    13972009  enable_fast_install=yes
    1398 fi
     2010fi;
    13992011
    14002012# Check whether --with-gnu-ld or --without-gnu-ld was given.
     
    14042016else
    14052017  with_gnu_ld=no
    1406 fi
    1407 
     2018fi;
    14082019ac_prog=ld
    14092020if test "$GCC" = yes; then
    14102021  # Check if gcc -print-prog-name=ld gives a path.
    1411   echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
    1412 echo "configure:1413: checking for ld used by GCC" >&5
     2022  echo "$as_me:$LINENO: checking for ld used by GCC" >&5
     2023echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
    14132024  case $host in
    14142025  *-*-mingw*)
     
    14392050  esac
    14402051elif test "$with_gnu_ld" = yes; then
    1441   echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
    1442 echo "configure:1443: checking for GNU ld" >&5
    1443 else
    1444   echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
    1445 echo "configure:1446: checking for non-GNU ld" >&5
    1446 fi
    1447 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
    1448   echo $ac_n "(cached) $ac_c" 1>&6
     2052  echo "$as_me:$LINENO: checking for GNU ld" >&5
     2053echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
     2054else
     2055  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
     2056echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
     2057fi
     2058if test "${lt_cv_path_LD+set}" = set; then
     2059  echo $ECHO_N "(cached) $ECHO_C" >&6
    14492060else
    14502061  if test -z "$LD"; then
     
    14722083LD="$lt_cv_path_LD"
    14732084if test -n "$LD"; then
    1474   echo "$ac_t""$LD" 1>&6
    1475 else
    1476   echo "$ac_t""no" 1>&6
    1477 fi
    1478 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
    1479 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
    1480 echo "configure:1481: checking if the linker ($LD) is GNU ld" >&5
    1481 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
    1482   echo $ac_n "(cached) $ac_c" 1>&6
     2085  echo "$as_me:$LINENO: result: $LD" >&5
     2086echo "${ECHO_T}$LD" >&6
     2087else
     2088  echo "$as_me:$LINENO: result: no" >&5
     2089echo "${ECHO_T}no" >&6
     2090fi
     2091test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
     2092echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
     2093   { (exit 1); exit 1; }; }
     2094echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
     2095echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
     2096if test "${lt_cv_prog_gnu_ld+set}" = set; then
     2097  echo $ECHO_N "(cached) $ECHO_C" >&6
    14832098else
    14842099  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
     
    14892104fi
    14902105fi
    1491 
    1492 echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
     2106echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
     2107echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
    14932108with_gnu_ld=$lt_cv_prog_gnu_ld
    14942109
    14952110
    1496 echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
    1497 echo "configure:1498: checking for $LD option to reload object files" >&5
    1498 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
    1499   echo $ac_n "(cached) $ac_c" 1>&6
     2111echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
     2112echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
     2113if test "${lt_cv_ld_reload_flag+set}" = set; then
     2114  echo $ECHO_N "(cached) $ECHO_C" >&6
    15002115else
    15012116  lt_cv_ld_reload_flag='-r'
    15022117fi
    1503 
    1504 echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
     2118echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
     2119echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
    15052120reload_flag=$lt_cv_ld_reload_flag
    15062121test -n "$reload_flag" && reload_flag=" $reload_flag"
    15072122
    1508 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
    1509 echo "configure:1510: checking for BSD-compatible nm" >&5
    1510 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
    1511   echo $ac_n "(cached) $ac_c" 1>&6
     2123echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
     2124echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
     2125if test "${lt_cv_path_NM+set}" = set; then
     2126  echo $ECHO_N "(cached) $ECHO_C" >&6
    15122127else
    15132128  if test -n "$NM"; then
     
    15422157
    15432158NM="$lt_cv_path_NM"
    1544 echo "$ac_t""$NM" 1>&6
    1545 
    1546 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
    1547 echo "configure:1548: checking whether ln -s works" >&5
    1548 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
    1549   echo $ac_n "(cached) $ac_c" 1>&6
    1550 else
    1551   rm -f conftestdata
    1552 if ln -s X conftestdata 2>/dev/null
    1553 then
    1554   rm -f conftestdata
    1555   ac_cv_prog_LN_S="ln -s"
    1556 else
    1557   echo A > conftestdata;
    1558   if ln conftestdata conftestdata2 2>/dev/null; then
    1559     ac_cv_prog_LN_S=ln
    1560   else
    1561     ac_cv_prog_LN_S=cp
    1562   fi
    1563 fi
    1564 rm -f conftestdata*
    1565 fi
    1566 LN_S="$ac_cv_prog_LN_S"
    1567 if test "$ac_cv_prog_LN_S" = "ln -s"; then
    1568   echo "$ac_t""yes" 1>&6
    1569 else
    1570   echo "$ac_t""no" 1>&6
    1571 fi
    1572 
    1573 echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
    1574 echo "configure:1575: checking how to recognise dependant libraries" >&5
    1575 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
    1576   echo $ac_n "(cached) $ac_c" 1>&6
     2159echo "$as_me:$LINENO: result: $NM" >&5
     2160echo "${ECHO_T}$NM" >&6
     2161
     2162echo "$as_me:$LINENO: checking whether ln -s works" >&5
     2163echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
     2164LN_S=$as_ln_s
     2165if test "$LN_S" = "ln -s"; then
     2166  echo "$as_me:$LINENO: result: yes" >&5
     2167echo "${ECHO_T}yes" >&6
     2168else
     2169  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
     2170echo "${ECHO_T}no, using $LN_S" >&6
     2171fi
     2172
     2173echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
     2174echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
     2175if test "${lt_cv_deplibs_check_method+set}" = set; then
     2176  echo $ECHO_N "(cached) $ECHO_C" >&6
    15772177else
    15782178  lt_cv_file_magic_cmd='$MAGIC_CMD'
     
    16442244
    16452245hpux10.20*|hpux11*)
    1646   lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
     2246  case $host_cpu in
     2247  hppa*)
     2248    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
    16472249  lt_cv_file_magic_cmd=/usr/bin/file
    16482250  lt_cv_file_magic_test_file=/usr/lib/libc.sl
     2251    ;;
     2252  ia64*)
     2253    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
     2254    lt_cv_file_magic_cmd=/usr/bin/file
     2255    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
     2256  ;;
     2257  esac
    16492258  ;;
    16502259
     
    16732282linux-gnu*)
    16742283  case $host_cpu in
    1675   alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
     2284  alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* )
    16762285    lt_cv_deplibs_check_method=pass_all ;;
    16772286  *)
     
    16942303  lt_cv_file_magic_cmd=/usr/bin/file
    16952304  lt_cv_file_magic_test_file=/usr/lib/libnls.so
     2305  ;;
     2306
     2307os2*)
     2308  lt_cv_deplibs_check_method=pass_all
    16962309  ;;
    16972310
     
    17302343
    17312344fi
    1732 
    1733 echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
     2345echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
     2346echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
    17342347file_magic_cmd=$lt_cv_file_magic_cmd
    17352348deplibs_check_method=$lt_cv_deplibs_check_method
    17362349
    1737 echo $ac_n "checking for object suffix""... $ac_c" 1>&6
    1738 echo "configure:1739: checking for object suffix" >&5
    1739 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
    1740   echo $ac_n "(cached) $ac_c" 1>&6
    1741 else
    1742   rm -f conftest*
    1743 echo 'int i = 1;' > conftest.$ac_ext
    1744 if { (eval echo configure:1745: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    1745   for ac_file in conftest.*; do
    1746     case $ac_file in
    1747     *.c) ;;
    1748     *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
    1749     esac
    1750   done
    1751 else
    1752   { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }
    1753 fi
    1754 rm -f conftest*
    1755 fi
    1756 
    1757 echo "$ac_t""$ac_cv_objext" 1>&6
    1758 OBJEXT=$ac_cv_objext
    1759 ac_objext=$ac_cv_objext
    1760 
    1761 if test $host != $build; then
    1762   ac_tool_prefix=${host_alias}-
    1763 else
    1764   ac_tool_prefix=
    1765 fi
     2350
     2351
    17662352
    17672353# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
     
    17712357file_magic*)
    17722358  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
    1773     echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
    1774 echo "configure:1775: checking for ${ac_tool_prefix}file" >&5
    1775 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
    1776   echo $ac_n "(cached) $ac_c" 1>&6
     2359    echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
     2360echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
     2361if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
     2362  echo $ECHO_N "(cached) $ECHO_C" >&6
    17772363else
    17782364  case $MAGIC_CMD in
     
    18262412MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
    18272413if test -n "$MAGIC_CMD"; then
    1828   echo "$ac_t""$MAGIC_CMD" 1>&6
    1829 else
    1830   echo "$ac_t""no" 1>&6
     2414  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
     2415echo "${ECHO_T}$MAGIC_CMD" >&6
     2416else
     2417  echo "$as_me:$LINENO: result: no" >&5
     2418echo "${ECHO_T}no" >&6
    18312419fi
    18322420
    18332421if test -z "$lt_cv_path_MAGIC_CMD"; then
    18342422  if test -n "$ac_tool_prefix"; then
    1835     echo $ac_n "checking for file""... $ac_c" 1>&6
    1836 echo "configure:1837: checking for file" >&5
    1837 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
    1838   echo $ac_n "(cached) $ac_c" 1>&6
     2423    echo "$as_me:$LINENO: checking for file" >&5
     2424echo $ECHO_N "checking for file... $ECHO_C" >&6
     2425if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
     2426  echo $ECHO_N "(cached) $ECHO_C" >&6
    18392427else
    18402428  case $MAGIC_CMD in
     
    18882476MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
    18892477if test -n "$MAGIC_CMD"; then
    1890   echo "$ac_t""$MAGIC_CMD" 1>&6
    1891 else
    1892   echo "$ac_t""no" 1>&6
     2478  echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
     2479echo "${ECHO_T}$MAGIC_CMD" >&6
     2480else
     2481  echo "$as_me:$LINENO: result: no" >&5
     2482echo "${ECHO_T}no" >&6
    18932483fi
    18942484
     
    19022492esac
    19032493
    1904 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
     2494if test -n "$ac_tool_prefix"; then
     2495  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
    19052496set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    1906 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1907 echo "configure:1908: checking for $ac_word" >&5
    1908 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
    1909   echo $ac_n "(cached) $ac_c" 1>&6
     2497echo "$as_me:$LINENO: checking for $ac_word" >&5
     2498echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2499if test "${ac_cv_prog_RANLIB+set}" = set; then
     2500  echo $ECHO_N "(cached) $ECHO_C" >&6
    19102501else
    19112502  if test -n "$RANLIB"; then
    19122503  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
    19132504else
    1914   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS"
    1915   ac_dummy="$PATH"
    1916   for ac_dir in $ac_dummy; do
    1917     test -z "$ac_dir" && ac_dir=.
    1918     if test -f $ac_dir/$ac_word -o \
    1919             -f $ac_dir/$ac_word$ac_exeext ; then
    1920       ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    1921       break
    1922     fi
    1923   done
    1924   IFS="$ac_save_ifs"
    1925 fi
    1926 fi
    1927 RANLIB="$ac_cv_prog_RANLIB"
     2505as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     2506for as_dir in $PATH
     2507do
     2508  IFS=$as_save_IFS
     2509  test -z "$as_dir" && as_dir=.
     2510  for ac_exec_ext in '' $ac_executable_extensions; do
     2511  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2512    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
     2513    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2514    break 2
     2515  fi
     2516done
     2517done
     2518
     2519fi
     2520fi
     2521RANLIB=$ac_cv_prog_RANLIB
    19282522if test -n "$RANLIB"; then
    1929   echo "$ac_t""$RANLIB" 1>&6
    1930 else
    1931   echo "$ac_t""no" 1>&6
    1932 fi
    1933 
    1934 
     2523  echo "$as_me:$LINENO: result: $RANLIB" >&5
     2524echo "${ECHO_T}$RANLIB" >&6
     2525else
     2526  echo "$as_me:$LINENO: result: no" >&5
     2527echo "${ECHO_T}no" >&6
     2528fi
     2529
     2530fi
    19352531if test -z "$ac_cv_prog_RANLIB"; then
    1936 if test -n "$ac_tool_prefix"; then
     2532  ac_ct_RANLIB=$RANLIB
    19372533  # Extract the first word of "ranlib", so it can be a program name with args.
    19382534set dummy ranlib; ac_word=$2
    1939 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1940 echo "configure:1941: checking for $ac_word" >&5
    1941 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
    1942   echo $ac_n "(cached) $ac_c" 1>&6
    1943 else
    1944   if test -n "$RANLIB"; then
    1945   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
    1946 else
    1947   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS"
    1948   ac_dummy="$PATH"
    1949   for ac_dir in $ac_dummy; do
    1950     test -z "$ac_dir" && ac_dir=.
    1951     if test -f $ac_dir/$ac_word -o \
    1952             -f $ac_dir/$ac_word$ac_exeext ; then
    1953       ac_cv_prog_RANLIB="ranlib"
    1954       break
    1955     fi
    1956   done
    1957   IFS="$ac_save_ifs"
    1958   test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
    1959 fi
    1960 fi
    1961 RANLIB="$ac_cv_prog_RANLIB"
    1962 if test -n "$RANLIB"; then
    1963   echo "$ac_t""$RANLIB" 1>&6
    1964 else
    1965   echo "$ac_t""no" 1>&6
    1966 fi
    1967 
    1968 else
    1969   RANLIB=":"
    1970 fi
    1971 fi
    1972 
    1973 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
     2535echo "$as_me:$LINENO: checking for $ac_word" >&5
     2536echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2537if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
     2538  echo $ECHO_N "(cached) $ECHO_C" >&6
     2539else
     2540  if test -n "$ac_ct_RANLIB"; then
     2541  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
     2542else
     2543as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     2544for as_dir in $PATH
     2545do
     2546  IFS=$as_save_IFS
     2547  test -z "$as_dir" && as_dir=.
     2548  for ac_exec_ext in '' $ac_executable_extensions; do
     2549  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2550    ac_cv_prog_ac_ct_RANLIB="ranlib"
     2551    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2552    break 2
     2553  fi
     2554done
     2555done
     2556
     2557  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
     2558fi
     2559fi
     2560ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
     2561if test -n "$ac_ct_RANLIB"; then
     2562  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
     2563echo "${ECHO_T}$ac_ct_RANLIB" >&6
     2564else
     2565  echo "$as_me:$LINENO: result: no" >&5
     2566echo "${ECHO_T}no" >&6
     2567fi
     2568
     2569  RANLIB=$ac_ct_RANLIB
     2570else
     2571  RANLIB="$ac_cv_prog_RANLIB"
     2572fi
     2573
     2574if test -n "$ac_tool_prefix"; then
     2575  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
    19742576set dummy ${ac_tool_prefix}strip; ac_word=$2
    1975 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    1976 echo "configure:1977: checking for $ac_word" >&5
    1977 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
    1978   echo $ac_n "(cached) $ac_c" 1>&6
     2577echo "$as_me:$LINENO: checking for $ac_word" >&5
     2578echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2579if test "${ac_cv_prog_STRIP+set}" = set; then
     2580  echo $ECHO_N "(cached) $ECHO_C" >&6
    19792581else
    19802582  if test -n "$STRIP"; then
    19812583  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
    19822584else
    1983   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS"
    1984   ac_dummy="$PATH"
    1985   for ac_dir in $ac_dummy; do
    1986     test -z "$ac_dir" && ac_dir=.
    1987     if test -f $ac_dir/$ac_word -o \
    1988             -f $ac_dir/$ac_word$ac_exeext ; then
    1989       ac_cv_prog_STRIP="${ac_tool_prefix}strip"
    1990       break
    1991     fi
    1992   done
    1993   IFS="$ac_save_ifs"
    1994 fi
    1995 fi
    1996 STRIP="$ac_cv_prog_STRIP"
     2585as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     2586for as_dir in $PATH
     2587do
     2588  IFS=$as_save_IFS
     2589  test -z "$as_dir" && as_dir=.
     2590  for ac_exec_ext in '' $ac_executable_extensions; do
     2591  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2592    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
     2593    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2594    break 2
     2595  fi
     2596done
     2597done
     2598
     2599fi
     2600fi
     2601STRIP=$ac_cv_prog_STRIP
    19972602if test -n "$STRIP"; then
    1998   echo "$ac_t""$STRIP" 1>&6
    1999 else
    2000   echo "$ac_t""no" 1>&6
    2001 fi
    2002 
    2003 
     2603  echo "$as_me:$LINENO: result: $STRIP" >&5
     2604echo "${ECHO_T}$STRIP" >&6
     2605else
     2606  echo "$as_me:$LINENO: result: no" >&5
     2607echo "${ECHO_T}no" >&6
     2608fi
     2609
     2610fi
    20042611if test -z "$ac_cv_prog_STRIP"; then
    2005 if test -n "$ac_tool_prefix"; then
     2612  ac_ct_STRIP=$STRIP
    20062613  # Extract the first word of "strip", so it can be a program name with args.
    20072614set dummy strip; ac_word=$2
    2008 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
    2009 echo "configure:2010: checking for $ac_word" >&5
    2010 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
    2011   echo $ac_n "(cached) $ac_c" 1>&6
    2012 else
    2013   if test -n "$STRIP"; then
    2014   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
    2015 else
    2016   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="$PATH_IFS"
    2017   ac_dummy="$PATH"
    2018   for ac_dir in $ac_dummy; do
    2019     test -z "$ac_dir" && ac_dir=.
    2020     if test -f $ac_dir/$ac_word -o \
    2021             -f $ac_dir/$ac_word$ac_exeext ; then
    2022       ac_cv_prog_STRIP="strip"
    2023       break
    2024     fi
    2025   done
    2026   IFS="$ac_save_ifs"
    2027   test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
    2028 fi
    2029 fi
    2030 STRIP="$ac_cv_prog_STRIP"
    2031 if test -n "$STRIP"; then
    2032   echo "$ac_t""$STRIP" 1>&6
    2033 else
    2034   echo "$ac_t""no" 1>&6
    2035 fi
    2036 
    2037 else
    2038   STRIP=":"
    2039 fi
     2615echo "$as_me:$LINENO: checking for $ac_word" >&5
     2616echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
     2617if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
     2618  echo $ECHO_N "(cached) $ECHO_C" >&6
     2619else
     2620  if test -n "$ac_ct_STRIP"; then
     2621  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
     2622else
     2623as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     2624for as_dir in $PATH
     2625do
     2626  IFS=$as_save_IFS
     2627  test -z "$as_dir" && as_dir=.
     2628  for ac_exec_ext in '' $ac_executable_extensions; do
     2629  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     2630    ac_cv_prog_ac_ct_STRIP="strip"
     2631    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2632    break 2
     2633  fi
     2634done
     2635done
     2636
     2637  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
     2638fi
     2639fi
     2640ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
     2641if test -n "$ac_ct_STRIP"; then
     2642  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
     2643echo "${ECHO_T}$ac_ct_STRIP" >&6
     2644else
     2645  echo "$as_me:$LINENO: result: no" >&5
     2646echo "${ECHO_T}no" >&6
     2647fi
     2648
     2649  STRIP=$ac_ct_STRIP
     2650else
     2651  STRIP="$ac_cv_prog_STRIP"
    20402652fi
    20412653
     
    20532665if test "${enable_libtool_lock+set}" = set; then
    20542666  enableval="$enable_libtool_lock"
    2055   :
    2056 fi
    2057 
     2667
     2668fi;
    20582669test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
    20592670test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
     2671
    20602672
    20612673# Check whether --with-pic or --without-pic was given.
     
    20652677else
    20662678  pic_mode=default
    2067 fi
    2068 
     2679fi;
    20692680test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
    20702681test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
     
    20752686*-*-irix6*)
    20762687  # Find out which ABI we are using.
    2077   echo '#line 2078 "configure"' > conftest.$ac_ext
    2078   if { (eval echo configure:2079: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2688  echo '#line 2688 "configure"' > conftest.$ac_ext
     2689  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2690  (eval $ac_compile) 2>&5
     2691  ac_status=$?
     2692  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2693  (exit $ac_status); }; then
     2694   if test "$lt_cv_prog_gnu_ld" = yes; then
     2695    case `/usr/bin/file conftest.$ac_objext` in
     2696    *32-bit*)
     2697      LD="${LD-ld} -melf32bsmip"
     2698      ;;
     2699    *N32*)
     2700      LD="${LD-ld} -melf32bmipn32"
     2701      ;;
     2702    *64-bit*)
     2703      LD="${LD-ld} -melf64bmip"
     2704      ;;
     2705    esac
     2706   else
    20792707    case `/usr/bin/file conftest.$ac_objext` in
    20802708    *32-bit*)
     
    20882716      ;;
    20892717    esac
     2718   fi
     2719  fi
     2720  rm -rf conftest*
     2721  ;;
     2722
     2723ia64-*-hpux*)
     2724  # Find out which ABI we are using.
     2725  echo 'int i;' > conftest.$ac_ext
     2726  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     2727  (eval $ac_compile) 2>&5
     2728  ac_status=$?
     2729  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2730  (exit $ac_status); }; then
     2731    case "`/usr/bin/file conftest.o`" in
     2732    *ELF-32*)
     2733      HPUX_IA64_MODE="32"
     2734      ;;
     2735    *ELF-64*)
     2736      HPUX_IA64_MODE="64"
     2737      ;;
     2738    esac
    20902739  fi
    20912740  rm -rf conftest*
     
    20962745  SAVE_CFLAGS="$CFLAGS"
    20972746  CFLAGS="$CFLAGS -belf"
    2098   echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
    2099 echo "configure:2100: checking whether the C compiler needs -belf" >&5
    2100 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
    2101   echo $ac_n "(cached) $ac_c" 1>&6
    2102 else
    2103  
     2747  echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
     2748echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
     2749if test "${lt_cv_cc_needs_belf+set}" = set; then
     2750  echo $ECHO_N "(cached) $ECHO_C" >&6
     2751else
     2752
     2753
    21042754     ac_ext=c
    2105 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
    21062755ac_cpp='$CPP $CPPFLAGS'
    2107 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
    2108 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
    2109 cross_compiling=$ac_cv_prog_cc_cross
    2110 
    2111      cat > conftest.$ac_ext <<EOF
    2112 #line 2113 "configure"
    2113 #include "confdefs.h"
    2114 
    2115 int main() {
    2116 
    2117 ; return 0; }
    2118 EOF
    2119 if { (eval echo configure:2120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    2120   rm -rf conftest*
     2756ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     2757ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     2758ac_compiler_gnu=$ac_cv_c_compiler_gnu
     2759
     2760     cat >conftest.$ac_ext <<_ACEOF
     2761/* confdefs.h.  */
     2762_ACEOF
     2763cat confdefs.h >>conftest.$ac_ext
     2764cat >>conftest.$ac_ext <<_ACEOF
     2765/* end confdefs.h.  */
     2766
     2767int
     2768main ()
     2769{
     2770
     2771  ;
     2772  return 0;
     2773}
     2774_ACEOF
     2775rm -f conftest.$ac_objext conftest$ac_exeext
     2776if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     2777  (eval $ac_link) 2>conftest.er1
     2778  ac_status=$?
     2779  grep -v '^ *+' conftest.er1 >conftest.err
     2780  rm -f conftest.er1
     2781  cat conftest.err >&5
     2782  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2783  (exit $ac_status); } &&
     2784         { ac_try='test -z "$ac_c_werror_flag"
     2785                         || test ! -s conftest.err'
     2786  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2787  (eval $ac_try) 2>&5
     2788  ac_status=$?
     2789  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2790  (exit $ac_status); }; } &&
     2791         { ac_try='test -s conftest$ac_exeext'
     2792  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     2793  (eval $ac_try) 2>&5
     2794  ac_status=$?
     2795  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2796  (exit $ac_status); }; }; then
    21212797  lt_cv_cc_needs_belf=yes
    21222798else
    2123   echo "configure: failed program was:" >&5
    2124   cat conftest.$ac_ext >&5
    2125   rm -rf conftest*
    2126   lt_cv_cc_needs_belf=no
    2127 fi
    2128 rm -f conftest*
     2799  echo "$as_me: failed program was:" >&5
     2800sed 's/^/| /' conftest.$ac_ext >&5
     2801
     2802lt_cv_cc_needs_belf=no
     2803fi
     2804rm -f conftest.err conftest.$ac_objext \
     2805      conftest$ac_exeext conftest.$ac_ext
    21292806     ac_ext=c
    2130 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
    21312807ac_cpp='$CPP $CPPFLAGS'
    2132 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
    2133 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
    2134 cross_compiling=$ac_cv_prog_cc_cross
    2135 
    2136 fi
    2137 
    2138 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
     2808ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     2809ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     2810ac_compiler_gnu=$ac_cv_c_compiler_gnu
     2811
     2812fi
     2813echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
     2814echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
    21392815  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
    21402816    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
     
    21482824
    21492825# Save cache, so that ltconfig can load it
    2150 cat > confcache <<\EOF
     2826cat >confcache <<\_ACEOF
    21512827# This file is a shell script that caches the results of configure
    21522828# tests run on this system so they can be shared between configure
    2153 # scripts and configure runs.  It is not useful on other systems.
    2154 # If it contains results you don't want to keep, you may remove or edit it.
     2829# scripts and configure runs, see configure's option --config-cache.
     2830# It is not useful on other systems.  If it contains results you don't
     2831# want to keep, you may remove or edit it.
    21552832#
    2156 # By default, configure uses ./config.cache as the cache file,
    2157 # creating it if it does not exist already.  You can give configure
    2158 # the --cache-file=FILE option to use a different cache file; that is
    2159 # what configure does when it calls configure scripts in
    2160 # subdirectories, so they share the cache.
    2161 # Giving --cache-file=/dev/null disables caching, for debugging configure.
    2162 # config.status only pays attention to the cache file if you give it the
    2163 # --recheck option to rerun configure.
     2833# config.status only pays attention to the cache file if you give it
     2834# the --recheck option to rerun configure.
    21642835#
    2165 EOF
     2836# `ac_cv_env_foo' variables (set or unset) will be overridden when
     2837# loading this file, other *unset* `ac_cv_foo' will be assigned the
     2838# following values.
     2839
     2840_ACEOF
     2841
    21662842# The following way of writing the cache mishandles newlines in values,
    21672843# but we know of no workaround that is simple, portable, and efficient.
     
    21692845# Ultrix sh set writes to stderr and can't be redirected directly,
    21702846# and sets the high bit in the cache file unless we assign to the vars.
    2171 (set) 2>&1 |
    2172   case `(ac_space=' '; set | grep ac_space) 2>&1` in
    2173   *ac_space=\ *)
    2174     # `set' does not quote correctly, so add quotes (double-quote substitution
    2175     # turns \\\\ into \\, and sed turns \\ into \).
    2176     sed -n \
    2177       -e "s/'/'\\\\''/g" \
    2178       -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
    2179     ;;
    2180   *)
    2181     # `set' quotes correctly as required by POSIX, so do not add quotes.
    2182     sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
    2183     ;;
    2184   esac >> confcache
    2185 if cmp -s $cache_file confcache; then
    2186   :
    2187 else
     2847{
     2848  (set) 2>&1 |
     2849    case `(ac_space=' '; set | grep ac_space) 2>&1` in
     2850    *ac_space=\ *)
     2851      # `set' does not quote correctly, so add quotes (double-quote
     2852      # substitution turns \\\\ into \\, and sed turns \\ into \).
     2853      sed -n \
     2854        "s/'/'\\\\''/g;
     2855          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
     2856      ;;
     2857    *)
     2858      # `set' quotes correctly as required by POSIX, so do not add quotes.
     2859      sed -n \
     2860        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
     2861      ;;
     2862    esac;
     2863} |
     2864  sed '
     2865     t clear
     2866     : clear
     2867     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
     2868     t end
     2869     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
     2870     : end' >>confcache
     2871if diff $cache_file confcache >/dev/null 2>&1; then :; else
    21882872  if test -w $cache_file; then
    2189     echo "updating cache $cache_file"
    2190     cat confcache > $cache_file
     2873    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
     2874    cat confcache >$cache_file
    21912875  else
    21922876    echo "not updating unwritable cache $cache_file"
     
    21942878fi
    21952879rm -f confcache
    2196 
    21972880
    21982881# Actually configure libtool.  ac_aux_dir is where install-sh is found.
     
    22052888${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
    22062889$libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
    2207 || { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
     2890|| { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
     2891echo "$as_me: error: libtool configure failed" >&2;}
     2892   { (exit 1); exit 1; }; }
    22082893
    22092894# Reload cache, that may have been modified by ltconfig
    22102895if test -r "$cache_file"; then
    2211   echo "loading cache $cache_file"
    2212   . $cache_file
    2213 else
    2214   echo "creating cache $cache_file"
    2215   > $cache_file
     2896  # Some versions of bash will fail to source /dev/null (special
     2897  # files actually), so we avoid doing that.
     2898  if test -f "$cache_file"; then
     2899    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
     2900echo "$as_me: loading cache $cache_file" >&6;}
     2901    case $cache_file in
     2902      [\\/]* | ?:[\\/]* ) . $cache_file;;
     2903      *)                      . ./$cache_file;;
     2904    esac
     2905  fi
     2906else
     2907  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
     2908echo "$as_me: creating cache $cache_file" >&6;}
     2909  >$cache_file
    22162910fi
    22172911
     
    22272921exec 5>>./config.log
    22282922
    2229  
    2230 
    2231  
    2232          
    2233          
     2923
     2924
     2925
     2926
     2927
    22342928
    22352929if test -z "$with_target_subdir" || test "$with_target_subdir" = "."; then
     
    22422936# Find CPP now so that any conditional tests below won't do it and
    22432937# thereby make the resulting definitions conditional.
    2244 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
    2245 echo "configure:2246: checking how to run the C preprocessor" >&5
     2938ac_ext=c
     2939ac_cpp='$CPP $CPPFLAGS'
     2940ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     2941ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     2942ac_compiler_gnu=$ac_cv_c_compiler_gnu
     2943echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
     2944echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
    22462945# On Suns, sometimes $CPP names a directory.
    22472946if test -n "$CPP" && test -d "$CPP"; then
     
    22492948fi
    22502949if test -z "$CPP"; then
    2251 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
    2252   echo $ac_n "(cached) $ac_c" 1>&6
    2253 else
    2254     # This must be in double quotes, not single quotes, because CPP may get
    2255   # substituted into the Makefile and "${CC-cc}" will confuse make.
    2256   CPP="${CC-cc} -E"
     2950  if test "${ac_cv_prog_CPP+set}" = set; then
     2951  echo $ECHO_N "(cached) $ECHO_C" >&6
     2952else
     2953      # Double quotes because CPP needs to be expanded
     2954    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
     2955    do
     2956      ac_preproc_ok=false
     2957for ac_c_preproc_warn_flag in '' yes
     2958do
     2959  # Use a header file that comes with gcc, so configuring glibc
     2960  # with a fresh cross-compiler works.
     2961  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     2962  # <limits.h> exists even on freestanding compilers.
    22572963  # On the NeXT, cc -E runs the code through the compiler's parser,
    2258   # not just through cpp.
    2259   cat > conftest.$ac_ext <<EOF
    2260 #include <sys/types.h>
    2261 #line 2262 "configure"
    2262 #include "confdefs.h"
    2263 #include <assert.h>
    2264 Syntax Error
    2265 EOF
    2266 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2267 { (eval echo configure:2268: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    2268 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    2269 if test -z "$ac_err"; then
     2964  # not just through cpp. "Syntax error" is here to catch this case.
     2965  cat >conftest.$ac_ext <<_ACEOF
     2966/* confdefs.h.  */
     2967_ACEOF
     2968cat confdefs.h >>conftest.$ac_ext
     2969cat >>conftest.$ac_ext <<_ACEOF
     2970/* end confdefs.h.  */
     2971#ifdef __STDC__
     2972# include <limits.h>
     2973#else
     2974# include <assert.h>
     2975#endif
     2976                     Syntax error
     2977_ACEOF
     2978if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     2979  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     2980  ac_status=$?
     2981  grep -v '^ *+' conftest.er1 >conftest.err
     2982  rm -f conftest.er1
     2983  cat conftest.err >&5
     2984  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2985  (exit $ac_status); } >/dev/null; then
     2986  if test -s conftest.err; then
     2987    ac_cpp_err=$ac_c_preproc_warn_flag
     2988    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
     2989  else
     2990    ac_cpp_err=
     2991  fi
     2992else
     2993  ac_cpp_err=yes
     2994fi
     2995if test -z "$ac_cpp_err"; then
    22702996  :
    22712997else
    2272   echo "$ac_err" >&5
    2273   echo "configure: failed program was:" >&5
    2274   cat conftest.$ac_ext >&5
    2275   rm -rf conftest*
    2276   CPP="${CC-cc} -E -traditional-cpp"
    2277   cat > conftest.$ac_ext <<EOF
    2278 #include <sys/types.h>
    2279 #line 2280 "configure"
    2280 #include "confdefs.h"
    2281 #include <assert.h>
    2282 Syntax Error
    2283 EOF
    2284 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2285 { (eval echo configure:2286: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    2286 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    2287 if test -z "$ac_err"; then
     2998  echo "$as_me: failed program was:" >&5
     2999sed 's/^/| /' conftest.$ac_ext >&5
     3000
     3001  # Broken: fails on valid input.
     3002continue
     3003fi
     3004rm -f conftest.err conftest.$ac_ext
     3005
     3006  # OK, works on sane cases.  Now check whether non-existent headers
     3007  # can be detected and how.
     3008  cat >conftest.$ac_ext <<_ACEOF
     3009/* confdefs.h.  */
     3010_ACEOF
     3011cat confdefs.h >>conftest.$ac_ext
     3012cat >>conftest.$ac_ext <<_ACEOF
     3013/* end confdefs.h.  */
     3014#include <ac_nonexistent.h>
     3015_ACEOF
     3016if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     3017  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     3018  ac_status=$?
     3019  grep -v '^ *+' conftest.er1 >conftest.err
     3020  rm -f conftest.er1
     3021  cat conftest.err >&5
     3022  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3023  (exit $ac_status); } >/dev/null; then
     3024  if test -s conftest.err; then
     3025    ac_cpp_err=$ac_c_preproc_warn_flag
     3026    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
     3027  else
     3028    ac_cpp_err=
     3029  fi
     3030else
     3031  ac_cpp_err=yes
     3032fi
     3033if test -z "$ac_cpp_err"; then
     3034  # Broken: success on invalid input.
     3035continue
     3036else
     3037  echo "$as_me: failed program was:" >&5
     3038sed 's/^/| /' conftest.$ac_ext >&5
     3039
     3040  # Passes both tests.
     3041ac_preproc_ok=:
     3042break
     3043fi
     3044rm -f conftest.err conftest.$ac_ext
     3045
     3046done
     3047# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
     3048rm -f conftest.err conftest.$ac_ext
     3049if $ac_preproc_ok; then
     3050  break
     3051fi
     3052
     3053    done
     3054    ac_cv_prog_CPP=$CPP
     3055
     3056fi
     3057  CPP=$ac_cv_prog_CPP
     3058else
     3059  ac_cv_prog_CPP=$CPP
     3060fi
     3061echo "$as_me:$LINENO: result: $CPP" >&5
     3062echo "${ECHO_T}$CPP" >&6
     3063ac_preproc_ok=false
     3064for ac_c_preproc_warn_flag in '' yes
     3065do
     3066  # Use a header file that comes with gcc, so configuring glibc
     3067  # with a fresh cross-compiler works.
     3068  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     3069  # <limits.h> exists even on freestanding compilers.
     3070  # On the NeXT, cc -E runs the code through the compiler's parser,
     3071  # not just through cpp. "Syntax error" is here to catch this case.
     3072  cat >conftest.$ac_ext <<_ACEOF
     3073/* confdefs.h.  */
     3074_ACEOF
     3075cat confdefs.h >>conftest.$ac_ext
     3076cat >>conftest.$ac_ext <<_ACEOF
     3077/* end confdefs.h.  */
     3078#ifdef __STDC__
     3079# include <limits.h>
     3080#else
     3081# include <assert.h>
     3082#endif
     3083                     Syntax error
     3084_ACEOF
     3085if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     3086  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     3087  ac_status=$?
     3088  grep -v '^ *+' conftest.er1 >conftest.err
     3089  rm -f conftest.er1
     3090  cat conftest.err >&5
     3091  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3092  (exit $ac_status); } >/dev/null; then
     3093  if test -s conftest.err; then
     3094    ac_cpp_err=$ac_c_preproc_warn_flag
     3095    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
     3096  else
     3097    ac_cpp_err=
     3098  fi
     3099else
     3100  ac_cpp_err=yes
     3101fi
     3102if test -z "$ac_cpp_err"; then
    22883103  :
    22893104else
    2290   echo "$ac_err" >&5
    2291   echo "configure: failed program was:" >&5
    2292   cat conftest.$ac_ext >&5
    2293   rm -rf conftest*
    2294   CPP="${CC-cc} -nologo -E"
    2295   cat > conftest.$ac_ext <<EOF
    2296 #include <sys/types.h>
    2297 #line 2298 "configure"
    2298 #include "confdefs.h"
    2299 #include <assert.h>
    2300 Syntax Error
    2301 EOF
    2302 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2303 { (eval echo configure:2304: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    2304 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    2305 if test -z "$ac_err"; then
     3105  echo "$as_me: failed program was:" >&5
     3106sed 's/^/| /' conftest.$ac_ext >&5
     3107
     3108  # Broken: fails on valid input.
     3109continue
     3110fi
     3111rm -f conftest.err conftest.$ac_ext
     3112
     3113  # OK, works on sane cases.  Now check whether non-existent headers
     3114  # can be detected and how.
     3115  cat >conftest.$ac_ext <<_ACEOF
     3116/* confdefs.h.  */
     3117_ACEOF
     3118cat confdefs.h >>conftest.$ac_ext
     3119cat >>conftest.$ac_ext <<_ACEOF
     3120/* end confdefs.h.  */
     3121#include <ac_nonexistent.h>
     3122_ACEOF
     3123if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     3124  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     3125  ac_status=$?
     3126  grep -v '^ *+' conftest.er1 >conftest.err
     3127  rm -f conftest.er1
     3128  cat conftest.err >&5
     3129  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3130  (exit $ac_status); } >/dev/null; then
     3131  if test -s conftest.err; then
     3132    ac_cpp_err=$ac_c_preproc_warn_flag
     3133    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
     3134  else
     3135    ac_cpp_err=
     3136  fi
     3137else
     3138  ac_cpp_err=yes
     3139fi
     3140if test -z "$ac_cpp_err"; then
     3141  # Broken: success on invalid input.
     3142continue
     3143else
     3144  echo "$as_me: failed program was:" >&5
     3145sed 's/^/| /' conftest.$ac_ext >&5
     3146
     3147  # Passes both tests.
     3148ac_preproc_ok=:
     3149break
     3150fi
     3151rm -f conftest.err conftest.$ac_ext
     3152
     3153done
     3154# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
     3155rm -f conftest.err conftest.$ac_ext
     3156if $ac_preproc_ok; then
    23063157  :
    23073158else
    2308   echo "$ac_err" >&5
    2309   echo "configure: failed program was:" >&5
    2310   cat conftest.$ac_ext >&5
    2311   rm -rf conftest*
    2312   CPP=/lib/cpp
    2313 fi
    2314 rm -f conftest*
    2315 fi
    2316 rm -f conftest*
    2317 fi
    2318 rm -f conftest*
    2319   ac_cv_prog_CPP="$CPP"
    2320 fi
    2321   CPP="$ac_cv_prog_CPP"
    2322 else
    2323   ac_cv_prog_CPP="$CPP"
    2324 fi
    2325 echo "$ac_t""$CPP" 1>&6
     3159  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
     3160See \`config.log' for more details." >&5
     3161echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
     3162See \`config.log' for more details." >&2;}
     3163   { (exit 1); exit 1; }; }
     3164fi
     3165
     3166ac_ext=c
     3167ac_cpp='$CPP $CPPFLAGS'
     3168ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     3169ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     3170ac_compiler_gnu=$ac_cv_c_compiler_gnu
    23263171
    23273172
     
    23333178   # We assume newlib.  This lets us hard-code the functions we know
    23343179   # we'll have.
    2335    cat >> confdefs.h <<\EOF
     3180   cat >>confdefs.h <<\_ACEOF
    23363181#define HAVE_MEMCPY 1
    2337 EOF
    2338 
    2339    cat >> confdefs.h <<\EOF
     3182_ACEOF
     3183
     3184   cat >>confdefs.h <<\_ACEOF
    23403185#define HAVE_STRERROR 1
    2341 EOF
     3186_ACEOF
    23423187
    23433188
     
    23453190   target_all=libzgcj.la
    23463191else
    2347    for ac_hdr in unistd.h
     3192
     3193echo "$as_me:$LINENO: checking for egrep" >&5
     3194echo $ECHO_N "checking for egrep... $ECHO_C" >&6
     3195if test "${ac_cv_prog_egrep+set}" = set; then
     3196  echo $ECHO_N "(cached) $ECHO_C" >&6
     3197else
     3198  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
     3199    then ac_cv_prog_egrep='grep -E'
     3200    else ac_cv_prog_egrep='egrep'
     3201    fi
     3202fi
     3203echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
     3204echo "${ECHO_T}$ac_cv_prog_egrep" >&6
     3205 EGREP=$ac_cv_prog_egrep
     3206
     3207
     3208echo "$as_me:$LINENO: checking for ANSI C header files" >&5
     3209echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
     3210if test "${ac_cv_header_stdc+set}" = set; then
     3211  echo $ECHO_N "(cached) $ECHO_C" >&6
     3212else
     3213  cat >conftest.$ac_ext <<_ACEOF
     3214/* confdefs.h.  */
     3215_ACEOF
     3216cat confdefs.h >>conftest.$ac_ext
     3217cat >>conftest.$ac_ext <<_ACEOF
     3218/* end confdefs.h.  */
     3219#include <stdlib.h>
     3220#include <stdarg.h>
     3221#include <string.h>
     3222#include <float.h>
     3223
     3224int
     3225main ()
     3226{
     3227
     3228  ;
     3229  return 0;
     3230}
     3231_ACEOF
     3232rm -f conftest.$ac_objext
     3233if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     3234  (eval $ac_compile) 2>conftest.er1
     3235  ac_status=$?
     3236  grep -v '^ *+' conftest.er1 >conftest.err
     3237  rm -f conftest.er1
     3238  cat conftest.err >&5
     3239  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3240  (exit $ac_status); } &&
     3241         { ac_try='test -z "$ac_c_werror_flag"
     3242                         || test ! -s conftest.err'
     3243  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3244  (eval $ac_try) 2>&5
     3245  ac_status=$?
     3246  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3247  (exit $ac_status); }; } &&
     3248         { ac_try='test -s conftest.$ac_objext'
     3249  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3250  (eval $ac_try) 2>&5
     3251  ac_status=$?
     3252  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3253  (exit $ac_status); }; }; then
     3254  ac_cv_header_stdc=yes
     3255else
     3256  echo "$as_me: failed program was:" >&5
     3257sed 's/^/| /' conftest.$ac_ext >&5
     3258
     3259ac_cv_header_stdc=no
     3260fi
     3261rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     3262
     3263if test $ac_cv_header_stdc = yes; then
     3264  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
     3265  cat >conftest.$ac_ext <<_ACEOF
     3266/* confdefs.h.  */
     3267_ACEOF
     3268cat confdefs.h >>conftest.$ac_ext
     3269cat >>conftest.$ac_ext <<_ACEOF
     3270/* end confdefs.h.  */
     3271#include <string.h>
     3272
     3273_ACEOF
     3274if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     3275  $EGREP "memchr" >/dev/null 2>&1; then
     3276  :
     3277else
     3278  ac_cv_header_stdc=no
     3279fi
     3280rm -f conftest*
     3281
     3282fi
     3283
     3284if test $ac_cv_header_stdc = yes; then
     3285  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
     3286  cat >conftest.$ac_ext <<_ACEOF
     3287/* confdefs.h.  */
     3288_ACEOF
     3289cat confdefs.h >>conftest.$ac_ext
     3290cat >>conftest.$ac_ext <<_ACEOF
     3291/* end confdefs.h.  */
     3292#include <stdlib.h>
     3293
     3294_ACEOF
     3295if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     3296  $EGREP "free" >/dev/null 2>&1; then
     3297  :
     3298else
     3299  ac_cv_header_stdc=no
     3300fi
     3301rm -f conftest*
     3302
     3303fi
     3304
     3305if test $ac_cv_header_stdc = yes; then
     3306  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
     3307  if test "$cross_compiling" = yes; then
     3308  :
     3309else
     3310  cat >conftest.$ac_ext <<_ACEOF
     3311/* confdefs.h.  */
     3312_ACEOF
     3313cat confdefs.h >>conftest.$ac_ext
     3314cat >>conftest.$ac_ext <<_ACEOF
     3315/* end confdefs.h.  */
     3316#include <ctype.h>
     3317#if ((' ' & 0x0FF) == 0x020)
     3318# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
     3319# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
     3320#else
     3321# define ISLOWER(c) \
     3322                   (('a' <= (c) && (c) <= 'i') \
     3323                     || ('j' <= (c) && (c) <= 'r') \
     3324                     || ('s' <= (c) && (c) <= 'z'))
     3325# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
     3326#endif
     3327
     3328#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
     3329int
     3330main ()
     3331{
     3332  int i;
     3333  for (i = 0; i < 256; i++)
     3334    if (XOR (islower (i), ISLOWER (i))
     3335        || toupper (i) != TOUPPER (i))
     3336      exit(2);
     3337  exit (0);
     3338}
     3339_ACEOF
     3340rm -f conftest$ac_exeext
     3341if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     3342  (eval $ac_link) 2>&5
     3343  ac_status=$?
     3344  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3345  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
     3346  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3347  (eval $ac_try) 2>&5
     3348  ac_status=$?
     3349  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3350  (exit $ac_status); }; }; then
     3351  :
     3352else
     3353  echo "$as_me: program exited with status $ac_status" >&5
     3354echo "$as_me: failed program was:" >&5
     3355sed 's/^/| /' conftest.$ac_ext >&5
     3356
     3357( exit $ac_status )
     3358ac_cv_header_stdc=no
     3359fi
     3360rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     3361fi
     3362fi
     3363fi
     3364echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
     3365echo "${ECHO_T}$ac_cv_header_stdc" >&6
     3366if test $ac_cv_header_stdc = yes; then
     3367
     3368cat >>confdefs.h <<\_ACEOF
     3369#define STDC_HEADERS 1
     3370_ACEOF
     3371
     3372fi
     3373
     3374# On IRIX 5.3, sys/types and inttypes.h are conflicting.
     3375
     3376
     3377
     3378
     3379
     3380
     3381
     3382
     3383
     3384for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
     3385                  inttypes.h stdint.h unistd.h
    23483386do
    2349 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    2350 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    2351 echo "configure:2352: checking for $ac_hdr" >&5
    2352 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    2353   echo $ac_n "(cached) $ac_c" 1>&6
    2354 else
    2355   cat > conftest.$ac_ext <<EOF
    2356 #include <sys/types.h>
    2357 #line 2358 "configure"
    2358 #include "confdefs.h"
    2359 #include <$ac_hdr>
    2360 EOF
    2361 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2362 { (eval echo configure:2363: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    2363 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    2364 if test -z "$ac_err"; then
    2365   rm -rf conftest*
    2366   eval "ac_cv_header_$ac_safe=yes"
    2367 else
    2368   echo "$ac_err" >&5
    2369   echo "configure: failed program was:" >&5
    2370   cat conftest.$ac_ext >&5
    2371   rm -rf conftest*
    2372   eval "ac_cv_header_$ac_safe=no"
    2373 fi
    2374 rm -f conftest*
    2375 fi
    2376 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
    2377   echo "$ac_t""yes" 1>&6
    2378     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
    2379   cat >> confdefs.h <<EOF
    2380 #define $ac_tr_hdr 1
    2381 EOF
    2382  
    2383 else
    2384   echo "$ac_t""no" 1>&6
    2385 fi
     3387as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
     3388echo "$as_me:$LINENO: checking for $ac_header" >&5
     3389echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     3390if eval "test \"\${$as_ac_Header+set}\" = set"; then
     3391  echo $ECHO_N "(cached) $ECHO_C" >&6
     3392else
     3393  cat >conftest.$ac_ext <<_ACEOF
     3394/* confdefs.h.  */
     3395_ACEOF
     3396cat confdefs.h >>conftest.$ac_ext
     3397cat >>conftest.$ac_ext <<_ACEOF
     3398/* end confdefs.h.  */
     3399$ac_includes_default
     3400
     3401#include <$ac_header>
     3402_ACEOF
     3403rm -f conftest.$ac_objext
     3404if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     3405  (eval $ac_compile) 2>conftest.er1
     3406  ac_status=$?
     3407  grep -v '^ *+' conftest.er1 >conftest.err
     3408  rm -f conftest.er1
     3409  cat conftest.err >&5
     3410  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3411  (exit $ac_status); } &&
     3412         { ac_try='test -z "$ac_c_werror_flag"
     3413                         || test ! -s conftest.err'
     3414  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3415  (eval $ac_try) 2>&5
     3416  ac_status=$?
     3417  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3418  (exit $ac_status); }; } &&
     3419         { ac_try='test -s conftest.$ac_objext'
     3420  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3421  (eval $ac_try) 2>&5
     3422  ac_status=$?
     3423  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3424  (exit $ac_status); }; }; then
     3425  eval "$as_ac_Header=yes"
     3426else
     3427  echo "$as_me: failed program was:" >&5
     3428sed 's/^/| /' conftest.$ac_ext >&5
     3429
     3430eval "$as_ac_Header=no"
     3431fi
     3432rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     3433fi
     3434echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     3435echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     3436if test `eval echo '${'$as_ac_Header'}'` = yes; then
     3437  cat >>confdefs.h <<_ACEOF
     3438#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
     3439_ACEOF
     3440
     3441fi
     3442
    23863443done
     3444
     3445
     3446
     3447
     3448for ac_header in stdlib.h unistd.h
     3449do
     3450as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
     3451if eval "test \"\${$as_ac_Header+set}\" = set"; then
     3452  echo "$as_me:$LINENO: checking for $ac_header" >&5
     3453echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     3454if eval "test \"\${$as_ac_Header+set}\" = set"; then
     3455  echo $ECHO_N "(cached) $ECHO_C" >&6
     3456fi
     3457echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     3458echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     3459else
     3460  # Is the header compilable?
     3461echo "$as_me:$LINENO: checking $ac_header usability" >&5
     3462echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
     3463cat >conftest.$ac_ext <<_ACEOF
     3464/* confdefs.h.  */
     3465_ACEOF
     3466cat confdefs.h >>conftest.$ac_ext
     3467cat >>conftest.$ac_ext <<_ACEOF
     3468/* end confdefs.h.  */
     3469$ac_includes_default
     3470#include <$ac_header>
     3471_ACEOF
     3472rm -f conftest.$ac_objext
     3473if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     3474  (eval $ac_compile) 2>conftest.er1
     3475  ac_status=$?
     3476  grep -v '^ *+' conftest.er1 >conftest.err
     3477  rm -f conftest.er1
     3478  cat conftest.err >&5
     3479  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3480  (exit $ac_status); } &&
     3481         { ac_try='test -z "$ac_c_werror_flag"
     3482                         || test ! -s conftest.err'
     3483  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3484  (eval $ac_try) 2>&5
     3485  ac_status=$?
     3486  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3487  (exit $ac_status); }; } &&
     3488         { ac_try='test -s conftest.$ac_objext'
     3489  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3490  (eval $ac_try) 2>&5
     3491  ac_status=$?
     3492  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3493  (exit $ac_status); }; }; then
     3494  ac_header_compiler=yes
     3495else
     3496  echo "$as_me: failed program was:" >&5
     3497sed 's/^/| /' conftest.$ac_ext >&5
     3498
     3499ac_header_compiler=no
     3500fi
     3501rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     3502echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     3503echo "${ECHO_T}$ac_header_compiler" >&6
     3504
     3505# Is the header present?
     3506echo "$as_me:$LINENO: checking $ac_header presence" >&5
     3507echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
     3508cat >conftest.$ac_ext <<_ACEOF
     3509/* confdefs.h.  */
     3510_ACEOF
     3511cat confdefs.h >>conftest.$ac_ext
     3512cat >>conftest.$ac_ext <<_ACEOF
     3513/* end confdefs.h.  */
     3514#include <$ac_header>
     3515_ACEOF
     3516if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     3517  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     3518  ac_status=$?
     3519  grep -v '^ *+' conftest.er1 >conftest.err
     3520  rm -f conftest.er1
     3521  cat conftest.err >&5
     3522  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3523  (exit $ac_status); } >/dev/null; then
     3524  if test -s conftest.err; then
     3525    ac_cpp_err=$ac_c_preproc_warn_flag
     3526    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
     3527  else
     3528    ac_cpp_err=
     3529  fi
     3530else
     3531  ac_cpp_err=yes
     3532fi
     3533if test -z "$ac_cpp_err"; then
     3534  ac_header_preproc=yes
     3535else
     3536  echo "$as_me: failed program was:" >&5
     3537sed 's/^/| /' conftest.$ac_ext >&5
     3538
     3539  ac_header_preproc=no
     3540fi
     3541rm -f conftest.err conftest.$ac_ext
     3542echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     3543echo "${ECHO_T}$ac_header_preproc" >&6
     3544
     3545# So?  What about this header?
     3546case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
     3547  yes:no: )
     3548    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     3549echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     3550    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     3551echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     3552    ac_header_preproc=yes
     3553    ;;
     3554  no:yes:* )
     3555    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     3556echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     3557    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     3558echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     3559    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     3560echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     3561    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     3562echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     3563    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     3564echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     3565    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     3566echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     3567    (
     3568      cat <<\_ASBOX
     3569## ------------------------------------------ ##
     3570## Report this to the AC_PACKAGE_NAME lists.  ##
     3571## ------------------------------------------ ##
     3572_ASBOX
     3573    ) |
     3574      sed "s/^/$as_me: WARNING:     /" >&2
     3575    ;;
     3576esac
     3577echo "$as_me:$LINENO: checking for $ac_header" >&5
     3578echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     3579if eval "test \"\${$as_ac_Header+set}\" = set"; then
     3580  echo $ECHO_N "(cached) $ECHO_C" >&6
     3581else
     3582  eval "$as_ac_Header=\$ac_header_preproc"
     3583fi
     3584echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     3585echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     3586
     3587fi
     3588if test `eval echo '${'$as_ac_Header'}'` = yes; then
     3589  cat >>confdefs.h <<_ACEOF
     3590#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
     3591_ACEOF
     3592
     3593fi
     3594
     3595done
     3596
    23873597
    23883598for ac_func in getpagesize
    23893599do
    2390 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    2391 echo "configure:2392: checking for $ac_func" >&5
    2392 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    2393   echo $ac_n "(cached) $ac_c" 1>&6
    2394 else
    2395   cat > conftest.$ac_ext <<EOF
    2396 #line 2397 "configure"
    2397 #include "confdefs.h"
     3600as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
     3601echo "$as_me:$LINENO: checking for $ac_func" >&5
     3602echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
     3603if eval "test \"\${$as_ac_var+set}\" = set"; then
     3604  echo $ECHO_N "(cached) $ECHO_C" >&6
     3605else
     3606  cat >conftest.$ac_ext <<_ACEOF
     3607/* confdefs.h.  */
     3608_ACEOF
     3609cat confdefs.h >>conftest.$ac_ext
     3610cat >>conftest.$ac_ext <<_ACEOF
     3611/* end confdefs.h.  */
     3612/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
     3613   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     3614#define $ac_func innocuous_$ac_func
     3615
    23983616/* System header to define __stub macros and hopefully few prototypes,
    2399     which can conflict with char $ac_func(); below.  */
    2400 #include <assert.h>
     3617    which can conflict with char $ac_func (); below.
     3618    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     3619    <limits.h> exists even on freestanding compilers.  */
     3620
     3621#ifdef __STDC__
     3622# include <limits.h>
     3623#else
     3624# include <assert.h>
     3625#endif
     3626
     3627#undef $ac_func
     3628
    24013629/* Override any gcc2 internal prototype to avoid an error.  */
     3630#ifdef __cplusplus
     3631extern "C"
     3632{
     3633#endif
    24023634/* We use char because int might match the return type of a gcc2
    2403     builtin and then its argument prototype would still apply.  */
    2404 char $ac_func();
    2405 
    2406 int main() {
    2407 
     3635   builtin and then its argument prototype would still apply.  */
     3636char $ac_func ();
    24083637/* The GNU C library defines this for functions which it implements
    24093638    to always fail with ENOSYS.  Some functions are actually named
     
    24123641choke me
    24133642#else
    2414 $ac_func();
     3643char (*f) () = $ac_func;
    24153644#endif
    2416 
    2417 ; return 0; }
    2418 EOF
    2419 if { (eval echo configure:2420: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    2420   rm -rf conftest*
    2421   eval "ac_cv_func_$ac_func=yes"
    2422 else
    2423   echo "configure: failed program was:" >&5
    2424   cat conftest.$ac_ext >&5
    2425   rm -rf conftest*
    2426   eval "ac_cv_func_$ac_func=no"
    2427 fi
    2428 rm -f conftest*
    2429 fi
    2430 
    2431 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
    2432   echo "$ac_t""yes" 1>&6
    2433     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
    2434   cat >> confdefs.h <<EOF
    2435 #define $ac_tr_func 1
    2436 EOF
    2437  
    2438 else
    2439   echo "$ac_t""no" 1>&6
     3645#ifdef __cplusplus
     3646}
     3647#endif
     3648
     3649int
     3650main ()
     3651{
     3652return f != $ac_func;
     3653  ;
     3654  return 0;
     3655}
     3656_ACEOF
     3657rm -f conftest.$ac_objext conftest$ac_exeext
     3658if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     3659  (eval $ac_link) 2>conftest.er1
     3660  ac_status=$?
     3661  grep -v '^ *+' conftest.er1 >conftest.err
     3662  rm -f conftest.er1
     3663  cat conftest.err >&5
     3664  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3665  (exit $ac_status); } &&
     3666         { ac_try='test -z "$ac_c_werror_flag"
     3667                         || test ! -s conftest.err'
     3668  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3669  (eval $ac_try) 2>&5
     3670  ac_status=$?
     3671  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3672  (exit $ac_status); }; } &&
     3673         { ac_try='test -s conftest$ac_exeext'
     3674  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3675  (eval $ac_try) 2>&5
     3676  ac_status=$?
     3677  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3678  (exit $ac_status); }; }; then
     3679  eval "$as_ac_var=yes"
     3680else
     3681  echo "$as_me: failed program was:" >&5
     3682sed 's/^/| /' conftest.$ac_ext >&5
     3683
     3684eval "$as_ac_var=no"
     3685fi
     3686rm -f conftest.err conftest.$ac_objext \
     3687      conftest$ac_exeext conftest.$ac_ext
     3688fi
     3689echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
     3690echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
     3691if test `eval echo '${'$as_ac_var'}'` = yes; then
     3692  cat >>confdefs.h <<_ACEOF
     3693#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
     3694_ACEOF
     3695
    24403696fi
    24413697done
    24423698
    2443 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
    2444 echo "configure:2445: checking for working mmap" >&5
    2445 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
    2446   echo $ac_n "(cached) $ac_c" 1>&6
     3699echo "$as_me:$LINENO: checking for working mmap" >&5
     3700echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
     3701if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
     3702  echo $ECHO_N "(cached) $ECHO_C" >&6
    24473703else
    24483704  if test "$cross_compiling" = yes; then
    24493705  ac_cv_func_mmap_fixed_mapped=no
    24503706else
    2451   cat > conftest.$ac_ext <<EOF
    2452 #line 2453 "configure"
    2453 #include "confdefs.h"
     3707  cat >conftest.$ac_ext <<_ACEOF
     3708/* confdefs.h.  */
     3709_ACEOF
     3710cat confdefs.h >>conftest.$ac_ext
     3711cat >>conftest.$ac_ext <<_ACEOF
     3712/* end confdefs.h.  */
     3713$ac_includes_default
     3714/* malloc might have been renamed as rpl_malloc. */
     3715#undef malloc
    24543716
    24553717/* Thanks to Mike Haertel and Jim Avera for this test.
     
    24653727   address.  (There have been systems where private was not correctly
    24663728   implemented like the infamous i386 svr4.0, and systems where the
    2467    VM page cache was not coherent with the filesystem buffer cache
     3729   VM page cache was not coherent with the file system buffer cache
    24683730   like early versions of FreeBSD and possibly contemporary NetBSD.)
    24693731   For shared mappings, we should conversely verify that changes get
    2470    propogated back to all the places they're supposed to be.
     3732   propagated back to all the places they're supposed to be.
    24713733
    24723734   Grep wants private fixed already mapped.
     
    24743736   * does it exist and is it safe to write into the mmap'd area
    24753737   * how to use it (BSD variants)  */
    2476 #include <sys/types.h>
     3738
    24773739#include <fcntl.h>
    24783740#include <sys/mman.h>
    24793741
     3742#if !STDC_HEADERS && !HAVE_STDLIB_H
     3743char *malloc ();
     3744#endif
     3745
    24803746/* This mess was copied from the GNU getpagesize.h.  */
    2481 #ifndef HAVE_GETPAGESIZE
    2482 # ifdef HAVE_UNISTD_H
    2483 #  include <unistd.h>
    2484 # endif
    2485 
     3747#if !HAVE_GETPAGESIZE
    24863748/* Assume that all systems that can run configure have sys/param.h.  */
    2487 # ifndef HAVE_SYS_PARAM_H
     3749# if !HAVE_SYS_PARAM_H
    24883750#  define HAVE_SYS_PARAM_H 1
    24893751# endif
     
    24923754#  define getpagesize() sysconf(_SC_PAGESIZE)
    24933755# else /* no _SC_PAGESIZE */
    2494 #  ifdef HAVE_SYS_PARAM_H
     3756#  if HAVE_SYS_PARAM_H
    24953757#   include <sys/param.h>
    24963758#   ifdef EXEC_PAGESIZE
     
    25193781#endif /* no HAVE_GETPAGESIZE */
    25203782
     3783int
     3784main ()
     3785{
     3786  char *data, *data2, *data3;
     3787  int i, pagesize;
     3788  int fd;
     3789
     3790  pagesize = getpagesize ();
     3791
     3792  /* First, make a file with some known garbage in it. */
     3793  data = (char *) malloc (pagesize);
     3794  if (!data)
     3795    exit (1);
     3796  for (i = 0; i < pagesize; ++i)
     3797    *(data + i) = rand ();
     3798  umask (0);
     3799  fd = creat ("conftest.mmap", 0600);
     3800  if (fd < 0)
     3801    exit (1);
     3802  if (write (fd, data, pagesize) != pagesize)
     3803    exit (1);
     3804  close (fd);
     3805
     3806  /* Next, try to mmap the file at a fixed address which already has
     3807     something else allocated at it.  If we can, also make sure that
     3808     we see the same garbage.  */
     3809  fd = open ("conftest.mmap", O_RDWR);
     3810  if (fd < 0)
     3811    exit (1);
     3812  data2 = (char *) malloc (2 * pagesize);
     3813  if (!data2)
     3814    exit (1);
     3815  data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
     3816  if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
     3817                     MAP_PRIVATE | MAP_FIXED, fd, 0L))
     3818    exit (1);
     3819  for (i = 0; i < pagesize; ++i)
     3820    if (*(data + i) != *(data2 + i))
     3821      exit (1);
     3822
     3823  /* Finally, make sure that changes to the mapped area do not
     3824     percolate back to the file as seen by read().  (This is a bug on
     3825     some variants of i386 svr4.0.)  */
     3826  for (i = 0; i < pagesize; ++i)
     3827    *(data2 + i) = *(data2 + i) + 1;
     3828  data3 = (char *) malloc (pagesize);
     3829  if (!data3)
     3830    exit (1);
     3831  if (read (fd, data3, pagesize) != pagesize)
     3832    exit (1);
     3833  for (i = 0; i < pagesize; ++i)
     3834    if (*(data + i) != *(data3 + i))
     3835      exit (1);
     3836  close (fd);
     3837  exit (0);
     3838}
     3839_ACEOF
     3840rm -f conftest$ac_exeext
     3841if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     3842  (eval $ac_link) 2>&5
     3843  ac_status=$?
     3844  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3845  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
     3846  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3847  (eval $ac_try) 2>&5
     3848  ac_status=$?
     3849  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3850  (exit $ac_status); }; }; then
     3851  ac_cv_func_mmap_fixed_mapped=yes
     3852else
     3853  echo "$as_me: program exited with status $ac_status" >&5
     3854echo "$as_me: failed program was:" >&5
     3855sed 's/^/| /' conftest.$ac_ext >&5
     3856
     3857( exit $ac_status )
     3858ac_cv_func_mmap_fixed_mapped=no
     3859fi
     3860rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     3861fi
     3862fi
     3863echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
     3864echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
     3865if test $ac_cv_func_mmap_fixed_mapped = yes; then
     3866
     3867cat >>confdefs.h <<\_ACEOF
     3868#define HAVE_MMAP 1
     3869_ACEOF
     3870
     3871fi
     3872rm -f conftest.mmap
     3873
     3874
     3875
     3876for ac_func in memcpy strerror
     3877do
     3878as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
     3879echo "$as_me:$LINENO: checking for $ac_func" >&5
     3880echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
     3881if eval "test \"\${$as_ac_var+set}\" = set"; then
     3882  echo $ECHO_N "(cached) $ECHO_C" >&6
     3883else
     3884  cat >conftest.$ac_ext <<_ACEOF
     3885/* confdefs.h.  */
     3886_ACEOF
     3887cat confdefs.h >>conftest.$ac_ext
     3888cat >>conftest.$ac_ext <<_ACEOF
     3889/* end confdefs.h.  */
     3890/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
     3891   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     3892#define $ac_func innocuous_$ac_func
     3893
     3894/* System header to define __stub macros and hopefully few prototypes,
     3895    which can conflict with char $ac_func (); below.
     3896    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     3897    <limits.h> exists even on freestanding compilers.  */
     3898
     3899#ifdef __STDC__
     3900# include <limits.h>
     3901#else
     3902# include <assert.h>
     3903#endif
     3904
     3905#undef $ac_func
     3906
     3907/* Override any gcc2 internal prototype to avoid an error.  */
    25213908#ifdef __cplusplus
    2522 extern "C" { void *malloc(unsigned); }
    2523 #else
    2524 char *malloc();
     3909extern "C"
     3910{
    25253911#endif
    2526 
    2527 int
    2528 main()
    2529 {
    2530         char *data, *data2, *data3;
    2531         int i, pagesize;
    2532         int fd;
    2533 
    2534         pagesize = getpagesize();
    2535 
    2536         /*
    2537          * First, make a file with some known garbage in it.
    2538          */
    2539         data = malloc(pagesize);
    2540         if (!data)
    2541                 exit(1);
    2542         for (i = 0; i < pagesize; ++i)
    2543                 *(data + i) = rand();
    2544         umask(0);
    2545         fd = creat("conftestmmap", 0600);
    2546         if (fd < 0)
    2547                 exit(1);
    2548         if (write(fd, data, pagesize) != pagesize)
    2549                 exit(1);
    2550         close(fd);
    2551 
    2552         /*
    2553          * Next, try to mmap the file at a fixed address which
    2554          * already has something else allocated at it.  If we can,
    2555          * also make sure that we see the same garbage.
    2556          */
    2557         fd = open("conftestmmap", O_RDWR);
    2558         if (fd < 0)
    2559                 exit(1);
    2560         data2 = malloc(2 * pagesize);
    2561         if (!data2)
    2562                 exit(1);
    2563         data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
    2564         if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
    2565             MAP_PRIVATE | MAP_FIXED, fd, 0L))
    2566                 exit(1);
    2567         for (i = 0; i < pagesize; ++i)
    2568                 if (*(data + i) != *(data2 + i))
    2569                         exit(1);
    2570 
    2571         /*
    2572          * Finally, make sure that changes to the mapped area
    2573          * do not percolate back to the file as seen by read().
    2574          * (This is a bug on some variants of i386 svr4.0.)
    2575          */
    2576         for (i = 0; i < pagesize; ++i)
    2577                 *(data2 + i) = *(data2 + i) + 1;
    2578         data3 = malloc(pagesize);
    2579         if (!data3)
    2580                 exit(1);
    2581         if (read(fd, data3, pagesize) != pagesize)
    2582                 exit(1);
    2583         for (i = 0; i < pagesize; ++i)
    2584                 if (*(data + i) != *(data3 + i))
    2585                         exit(1);
    2586         close(fd);
    2587         unlink("conftestmmap");
    2588         exit(0);
    2589 }
    2590 
    2591 EOF
    2592 if { (eval echo configure:2593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    2593 then
    2594   ac_cv_func_mmap_fixed_mapped=yes
    2595 else
    2596   echo "configure: failed program was:" >&5
    2597   cat conftest.$ac_ext >&5
    2598   rm -fr conftest*
    2599   ac_cv_func_mmap_fixed_mapped=no
    2600 fi
    2601 rm -fr conftest*
    2602 fi
    2603 
    2604 fi
    2605 
    2606 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
    2607 if test $ac_cv_func_mmap_fixed_mapped = yes; then
    2608   cat >> confdefs.h <<\EOF
    2609 #define HAVE_MMAP 1
    2610 EOF
    2611 
    2612 fi
    2613 
    2614    for ac_func in memcpy strerror
    2615 do
    2616 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
    2617 echo "configure:2618: checking for $ac_func" >&5
    2618 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    2619   echo $ac_n "(cached) $ac_c" 1>&6
    2620 else
    2621   cat > conftest.$ac_ext <<EOF
    2622 #line 2623 "configure"
    2623 #include "confdefs.h"
    2624 /* System header to define __stub macros and hopefully few prototypes,
    2625     which can conflict with char $ac_func(); below.  */
    2626 #include <assert.h>
    2627 /* Override any gcc2 internal prototype to avoid an error.  */
    26283912/* We use char because int might match the return type of a gcc2
    2629     builtin and then its argument prototype would still apply.  */
    2630 char $ac_func();
    2631 
    2632 int main() {
    2633 
     3913   builtin and then its argument prototype would still apply.  */
     3914char $ac_func ();
    26343915/* The GNU C library defines this for functions which it implements
    26353916    to always fail with ENOSYS.  Some functions are actually named
     
    26383919choke me
    26393920#else
    2640 $ac_func();
     3921char (*f) () = $ac_func;
    26413922#endif
    2642 
    2643 ; return 0; }
    2644 EOF
    2645 if { (eval echo configure:2646: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    2646   rm -rf conftest*
    2647   eval "ac_cv_func_$ac_func=yes"
    2648 else
    2649   echo "configure: failed program was:" >&5
    2650   cat conftest.$ac_ext >&5
    2651   rm -rf conftest*
    2652   eval "ac_cv_func_$ac_func=no"
    2653 fi
    2654 rm -f conftest*
    2655 fi
    2656 
    2657 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
    2658   echo "$ac_t""yes" 1>&6
    2659     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
    2660   cat >> confdefs.h <<EOF
    2661 #define $ac_tr_func 1
    2662 EOF
    2663  
    2664 else
    2665   echo "$ac_t""no" 1>&6
     3923#ifdef __cplusplus
     3924}
     3925#endif
     3926
     3927int
     3928main ()
     3929{
     3930return f != $ac_func;
     3931  ;
     3932  return 0;
     3933}
     3934_ACEOF
     3935rm -f conftest.$ac_objext conftest$ac_exeext
     3936if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     3937  (eval $ac_link) 2>conftest.er1
     3938  ac_status=$?
     3939  grep -v '^ *+' conftest.er1 >conftest.err
     3940  rm -f conftest.er1
     3941  cat conftest.err >&5
     3942  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3943  (exit $ac_status); } &&
     3944         { ac_try='test -z "$ac_c_werror_flag"
     3945                         || test ! -s conftest.err'
     3946  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3947  (eval $ac_try) 2>&5
     3948  ac_status=$?
     3949  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3950  (exit $ac_status); }; } &&
     3951         { ac_try='test -s conftest$ac_exeext'
     3952  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     3953  (eval $ac_try) 2>&5
     3954  ac_status=$?
     3955  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3956  (exit $ac_status); }; }; then
     3957  eval "$as_ac_var=yes"
     3958else
     3959  echo "$as_me: failed program was:" >&5
     3960sed 's/^/| /' conftest.$ac_ext >&5
     3961
     3962eval "$as_ac_var=no"
     3963fi
     3964rm -f conftest.err conftest.$ac_objext \
     3965      conftest$ac_exeext conftest.$ac_ext
     3966fi
     3967echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
     3968echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
     3969if test `eval echo '${'$as_ac_var'}'` = yes; then
     3970  cat >>confdefs.h <<_ACEOF
     3971#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
     3972_ACEOF
     3973
    26663974fi
    26673975done
     
    26693977
    26703978   if test "$with_system_zlib" = yes; then
    2671       echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
    2672 echo "configure:2673: checking for deflate in -lz" >&5
    2673 ac_lib_var=`echo z'_'deflate | sed 'y%./+-%__p_%'`
    2674 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
    2675   echo $ac_n "(cached) $ac_c" 1>&6
    2676 else
    2677   ac_save_LIBS="$LIBS"
     3979      echo "$as_me:$LINENO: checking for deflate" >&5
     3980echo $ECHO_N "checking for deflate... $ECHO_C" >&6
     3981if test "${ac_cv_func_deflate+set}" = set; then
     3982  echo $ECHO_N "(cached) $ECHO_C" >&6
     3983else
     3984  cat >conftest.$ac_ext <<_ACEOF
     3985/* confdefs.h.  */
     3986_ACEOF
     3987cat confdefs.h >>conftest.$ac_ext
     3988cat >>conftest.$ac_ext <<_ACEOF
     3989/* end confdefs.h.  */
     3990/* Define deflate to an innocuous variant, in case <limits.h> declares deflate.
     3991   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     3992#define deflate innocuous_deflate
     3993
     3994/* System header to define __stub macros and hopefully few prototypes,
     3995    which can conflict with char deflate (); below.
     3996    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     3997    <limits.h> exists even on freestanding compilers.  */
     3998
     3999#ifdef __STDC__
     4000# include <limits.h>
     4001#else
     4002# include <assert.h>
     4003#endif
     4004
     4005#undef deflate
     4006
     4007/* Override any gcc2 internal prototype to avoid an error.  */
     4008#ifdef __cplusplus
     4009extern "C"
     4010{
     4011#endif
     4012/* We use char because int might match the return type of a gcc2
     4013   builtin and then its argument prototype would still apply.  */
     4014char deflate ();
     4015/* The GNU C library defines this for functions which it implements
     4016    to always fail with ENOSYS.  Some functions are actually named
     4017    something starting with __ and the normal name is an alias.  */
     4018#if defined (__stub_deflate) || defined (__stub___deflate)
     4019choke me
     4020#else
     4021char (*f) () = deflate;
     4022#endif
     4023#ifdef __cplusplus
     4024}
     4025#endif
     4026
     4027int
     4028main ()
     4029{
     4030return f != deflate;
     4031  ;
     4032  return 0;
     4033}
     4034_ACEOF
     4035rm -f conftest.$ac_objext conftest$ac_exeext
     4036if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     4037  (eval $ac_link) 2>conftest.er1
     4038  ac_status=$?
     4039  grep -v '^ *+' conftest.er1 >conftest.err
     4040  rm -f conftest.er1
     4041  cat conftest.err >&5
     4042  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4043  (exit $ac_status); } &&
     4044         { ac_try='test -z "$ac_c_werror_flag"
     4045                         || test ! -s conftest.err'
     4046  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4047  (eval $ac_try) 2>&5
     4048  ac_status=$?
     4049  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4050  (exit $ac_status); }; } &&
     4051         { ac_try='test -s conftest$ac_exeext'
     4052  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4053  (eval $ac_try) 2>&5
     4054  ac_status=$?
     4055  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4056  (exit $ac_status); }; }; then
     4057  ac_cv_func_deflate=yes
     4058else
     4059  echo "$as_me: failed program was:" >&5
     4060sed 's/^/| /' conftest.$ac_ext >&5
     4061
     4062ac_cv_func_deflate=no
     4063fi
     4064rm -f conftest.err conftest.$ac_objext \
     4065      conftest$ac_exeext conftest.$ac_ext
     4066fi
     4067echo "$as_me:$LINENO: result: $ac_cv_func_deflate" >&5
     4068echo "${ECHO_T}$ac_cv_func_deflate" >&6
     4069
     4070echo "$as_me:$LINENO: checking for deflate in -lz" >&5
     4071echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
     4072if test "${ac_cv_lib_z_deflate+set}" = set; then
     4073  echo $ECHO_N "(cached) $ECHO_C" >&6
     4074else
     4075  ac_check_lib_save_LIBS=$LIBS
    26784076LIBS="-lz  $LIBS"
    2679 cat > conftest.$ac_ext <<EOF
    2680 #line 2681 "configure"
    2681 #include "confdefs.h"
     4077if test "$ac_cv_func_deflate" = yes; then
     4078  ac_cv_lib_z_deflate=no
     4079else
     4080  cat >conftest.$ac_ext <<_ACEOF
     4081/* confdefs.h.  */
     4082_ACEOF
     4083cat confdefs.h >>conftest.$ac_ext
     4084cat >>conftest.$ac_ext <<_ACEOF
     4085/* end confdefs.h.  */
     4086
    26824087/* Override any gcc2 internal prototype to avoid an error.  */
     4088#ifdef __cplusplus
     4089extern "C"
     4090#endif
    26834091/* We use char because int might match the return type of a gcc2
    2684     builtin and then its argument prototype would still apply.  */
    2685 char deflate();
    2686 
    2687 int main() {
    2688 deflate()
    2689 ; return 0; }
    2690 EOF
    2691 if { (eval echo configure:2692: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    2692   rm -rf conftest*
    2693   eval "ac_cv_lib_$ac_lib_var=yes"
    2694 else
    2695   echo "configure: failed program was:" >&5
    2696   cat conftest.$ac_ext >&5
    2697   rm -rf conftest*
    2698   eval "ac_cv_lib_$ac_lib_var=no"
    2699 fi
    2700 rm -f conftest*
    2701 LIBS="$ac_save_LIBS"
    2702 
    2703 fi
    2704 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
    2705   echo "$ac_t""yes" 1>&6
     4092   builtin and then its argument prototype would still apply.  */
     4093char deflate ();
     4094int
     4095main ()
     4096{
     4097deflate ();
     4098  ;
     4099  return 0;
     4100}
     4101_ACEOF
     4102rm -f conftest.$ac_objext conftest$ac_exeext
     4103if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
     4104  (eval $ac_link) 2>conftest.er1
     4105  ac_status=$?
     4106  grep -v '^ *+' conftest.er1 >conftest.err
     4107  rm -f conftest.er1
     4108  cat conftest.err >&5
     4109  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4110  (exit $ac_status); } &&
     4111         { ac_try='test -z "$ac_c_werror_flag"
     4112                         || test ! -s conftest.err'
     4113  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4114  (eval $ac_try) 2>&5
     4115  ac_status=$?
     4116  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4117  (exit $ac_status); }; } &&
     4118         { ac_try='test -s conftest$ac_exeext'
     4119  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4120  (eval $ac_try) 2>&5
     4121  ac_status=$?
     4122  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4123  (exit $ac_status); }; }; then
     4124  ac_cv_lib_z_deflate=yes
     4125else
     4126  echo "$as_me: failed program was:" >&5
     4127sed 's/^/| /' conftest.$ac_ext >&5
     4128
     4129ac_cv_lib_z_deflate=no
     4130fi
     4131rm -f conftest.err conftest.$ac_objext \
     4132      conftest$ac_exeext conftest.$ac_ext
     4133fi
     4134LIBS=$ac_check_lib_save_LIBS
     4135fi
     4136echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
     4137echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
     4138if test $ac_cv_lib_z_deflate = yes; then
    27064139  target_all=
    27074140else
    2708   echo "$ac_t""no" 1>&6
    2709 target_all=libzgcj.la
     4141  target_all=libzgcj.la
    27104142fi
    27114143
     
    27174149
    27184150
    2719 for ac_hdr in unistd.h
     4151
     4152for ac_header in unistd.h
    27204153do
    2721 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    2722 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
    2723 echo "configure:2724: checking for $ac_hdr" >&5
    2724 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    2725   echo $ac_n "(cached) $ac_c" 1>&6
    2726 else
    2727   cat > conftest.$ac_ext <<EOF
    2728 #include <sys/types.h>
    2729 #line 2730 "configure"
    2730 #include "confdefs.h"
    2731 #include <$ac_hdr>
    2732 EOF
    2733 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2734 { (eval echo configure:2735: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    2735 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
    2736 if test -z "$ac_err"; then
    2737   rm -rf conftest*
    2738   eval "ac_cv_header_$ac_safe=yes"
    2739 else
    2740   echo "$ac_err" >&5
    2741   echo "configure: failed program was:" >&5
    2742   cat conftest.$ac_ext >&5
    2743   rm -rf conftest*
    2744   eval "ac_cv_header_$ac_safe=no"
    2745 fi
    2746 rm -f conftest*
    2747 fi
    2748 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
    2749   echo "$ac_t""yes" 1>&6
    2750     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
    2751   cat >> confdefs.h <<EOF
    2752 #define $ac_tr_hdr 1
    2753 EOF
    2754  
    2755 else
    2756   echo "$ac_t""no" 1>&6
    2757 fi
     4154as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
     4155if eval "test \"\${$as_ac_Header+set}\" = set"; then
     4156  echo "$as_me:$LINENO: checking for $ac_header" >&5
     4157echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     4158if eval "test \"\${$as_ac_Header+set}\" = set"; then
     4159  echo $ECHO_N "(cached) $ECHO_C" >&6
     4160fi
     4161echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     4162echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     4163else
     4164  # Is the header compilable?
     4165echo "$as_me:$LINENO: checking $ac_header usability" >&5
     4166echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
     4167cat >conftest.$ac_ext <<_ACEOF
     4168/* confdefs.h.  */
     4169_ACEOF
     4170cat confdefs.h >>conftest.$ac_ext
     4171cat >>conftest.$ac_ext <<_ACEOF
     4172/* end confdefs.h.  */
     4173$ac_includes_default
     4174#include <$ac_header>
     4175_ACEOF
     4176rm -f conftest.$ac_objext
     4177if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
     4178  (eval $ac_compile) 2>conftest.er1
     4179  ac_status=$?
     4180  grep -v '^ *+' conftest.er1 >conftest.err
     4181  rm -f conftest.er1
     4182  cat conftest.err >&5
     4183  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4184  (exit $ac_status); } &&
     4185         { ac_try='test -z "$ac_c_werror_flag"
     4186                         || test ! -s conftest.err'
     4187  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4188  (eval $ac_try) 2>&5
     4189  ac_status=$?
     4190  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4191  (exit $ac_status); }; } &&
     4192         { ac_try='test -s conftest.$ac_objext'
     4193  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
     4194  (eval $ac_try) 2>&5
     4195  ac_status=$?
     4196  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4197  (exit $ac_status); }; }; then
     4198  ac_header_compiler=yes
     4199else
     4200  echo "$as_me: failed program was:" >&5
     4201sed 's/^/| /' conftest.$ac_ext >&5
     4202
     4203ac_header_compiler=no
     4204fi
     4205rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     4206echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     4207echo "${ECHO_T}$ac_header_compiler" >&6
     4208
     4209# Is the header present?
     4210echo "$as_me:$LINENO: checking $ac_header presence" >&5
     4211echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
     4212cat >conftest.$ac_ext <<_ACEOF
     4213/* confdefs.h.  */
     4214_ACEOF
     4215cat confdefs.h >>conftest.$ac_ext
     4216cat >>conftest.$ac_ext <<_ACEOF
     4217/* end confdefs.h.  */
     4218#include <$ac_header>
     4219_ACEOF
     4220if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
     4221  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     4222  ac_status=$?
     4223  grep -v '^ *+' conftest.er1 >conftest.err
     4224  rm -f conftest.er1
     4225  cat conftest.err >&5
     4226  echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4227  (exit $ac_status); } >/dev/null; then
     4228  if test -s conftest.err; then
     4229    ac_cpp_err=$ac_c_preproc_warn_flag
     4230    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
     4231  else
     4232    ac_cpp_err=
     4233  fi
     4234else
     4235  ac_cpp_err=yes
     4236fi
     4237if test -z "$ac_cpp_err"; then
     4238  ac_header_preproc=yes
     4239else
     4240  echo "$as_me: failed program was:" >&5
     4241sed 's/^/| /' conftest.$ac_ext >&5
     4242
     4243  ac_header_preproc=no
     4244fi
     4245rm -f conftest.err conftest.$ac_ext
     4246echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     4247echo "${ECHO_T}$ac_header_preproc" >&6
     4248
     4249# So?  What about this header?
     4250case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
     4251  yes:no: )
     4252    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     4253echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     4254    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     4255echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     4256    ac_header_preproc=yes
     4257    ;;
     4258  no:yes:* )
     4259    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     4260echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     4261    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     4262echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     4263    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     4264echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     4265    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     4266echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     4267    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     4268echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     4269    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     4270echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     4271    (
     4272      cat <<\_ASBOX
     4273## ------------------------------------------ ##
     4274## Report this to the AC_PACKAGE_NAME lists.  ##
     4275## ------------------------------------------ ##
     4276_ASBOX
     4277    ) |
     4278      sed "s/^/$as_me: WARNING:     /" >&2
     4279    ;;
     4280esac
     4281echo "$as_me:$LINENO: checking for $ac_header" >&5
     4282echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
     4283if eval "test \"\${$as_ac_Header+set}\" = set"; then
     4284  echo $ECHO_N "(cached) $ECHO_C" >&6
     4285else
     4286  eval "$as_ac_Header=\$ac_header_preproc"
     4287fi
     4288echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
     4289echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
     4290
     4291fi
     4292if test `eval echo '${'$as_ac_Header'}'` = yes; then
     4293  cat >>confdefs.h <<_ACEOF
     4294#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
     4295_ACEOF
     4296
     4297fi
     4298
    27584299done
    27594300
     
    27874328fi
    27884329
    2789 trap '' 1 2 15
    2790 cat > confcache <<\EOF
     4330          ac_config_files="$ac_config_files Makefile"
     4331          ac_config_commands="$ac_config_commands default"
     4332cat >confcache <<\_ACEOF
    27914333# This file is a shell script that caches the results of configure
    27924334# tests run on this system so they can be shared between configure
    2793 # scripts and configure runs.  It is not useful on other systems.
    2794 # If it contains results you don't want to keep, you may remove or edit it.
     4335# scripts and configure runs, see configure's option --config-cache.
     4336# It is not useful on other systems.  If it contains results you don't
     4337# want to keep, you may remove or edit it.
    27954338#
    2796 # By default, configure uses ./config.cache as the cache file,
    2797 # creating it if it does not exist already.  You can give configure
    2798 # the --cache-file=FILE option to use a different cache file; that is
    2799 # what configure does when it calls configure scripts in
    2800 # subdirectories, so they share the cache.
    2801 # Giving --cache-file=/dev/null disables caching, for debugging configure.
    2802 # config.status only pays attention to the cache file if you give it the
    2803 # --recheck option to rerun configure.
     4339# config.status only pays attention to the cache file if you give it
     4340# the --recheck option to rerun configure.
    28044341#
    2805 EOF
     4342# `ac_cv_env_foo' variables (set or unset) will be overridden when
     4343# loading this file, other *unset* `ac_cv_foo' will be assigned the
     4344# following values.
     4345
     4346_ACEOF
     4347
    28064348# The following way of writing the cache mishandles newlines in values,
    28074349# but we know of no workaround that is simple, portable, and efficient.
     
    28094351# Ultrix sh set writes to stderr and can't be redirected directly,
    28104352# and sets the high bit in the cache file unless we assign to the vars.
    2811 (set) 2>&1 |
    2812   case `(ac_space=' '; set | grep ac_space) 2>&1` in
    2813   *ac_space=\ *)
    2814     # `set' does not quote correctly, so add quotes (double-quote substitution
    2815     # turns \\\\ into \\, and sed turns \\ into \).
    2816     sed -n \
    2817       -e "s/'/'\\\\''/g" \
    2818       -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
    2819     ;;
    2820   *)
    2821     # `set' quotes correctly as required by POSIX, so do not add quotes.
    2822     sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
    2823     ;;
    2824   esac >> confcache
    2825 if cmp -s $cache_file confcache; then
    2826   :
    2827 else
     4353{
     4354  (set) 2>&1 |
     4355    case `(ac_space=' '; set | grep ac_space) 2>&1` in
     4356    *ac_space=\ *)
     4357      # `set' does not quote correctly, so add quotes (double-quote
     4358      # substitution turns \\\\ into \\, and sed turns \\ into \).
     4359      sed -n \
     4360        "s/'/'\\\\''/g;
     4361          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
     4362      ;;
     4363    *)
     4364      # `set' quotes correctly as required by POSIX, so do not add quotes.
     4365      sed -n \
     4366        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
     4367      ;;
     4368    esac;
     4369} |
     4370  sed '
     4371     t clear
     4372     : clear
     4373     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
     4374     t end
     4375     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
     4376     : end' >>confcache
     4377if diff $cache_file confcache >/dev/null 2>&1; then :; else
    28284378  if test -w $cache_file; then
    2829     echo "updating cache $cache_file"
    2830     cat confcache > $cache_file
     4379    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
     4380    cat confcache >$cache_file
    28314381  else
    28324382    echo "not updating unwritable cache $cache_file"
     
    28354385rm -f confcache
    28364386
    2837 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
    2838 
    28394387test "x$prefix" = xNONE && prefix=$ac_default_prefix
    28404388# Let make expand exec_prefix.
    28414389test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
    28424390
    2843 # Any assignment to VPATH causes Sun make to only execute
    2844 # the first set of double-colon rules, so remove it if not needed.
    2845 # If there is a colon in the path, we need to keep it.
     4391# VPATH may cause trouble with some makes, so we remove $(srcdir),
     4392# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
     4393# trailing colons and then remove the whole line if VPATH becomes empty
     4394# (actually we leave an empty line to preserve line numbers).
    28464395if test "x$srcdir" = x.; then
    2847   ac_vpsub='/^[         ]*VPATH[        ]*=[^:]*$/d'
    2848 fi
    2849 
    2850 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
     4396  ac_vpsub='/^[  ]*VPATH[        ]*=/{
     4397s/:*\$(srcdir):*/:/;
     4398s/:*\${srcdir}:*/:/;
     4399s/:*@srcdir@:*/:/;
     4400s/^\([^=]*=[     ]*\):*/\1/;
     4401s/:*$//;
     4402s/^[^=]*=[       ]*$//;
     4403}'
     4404fi
    28514405
    28524406# Transform confdefs.h into DEFS.
    28534407# Protect against shell expansion while executing Makefile rules.
    28544408# Protect against Makefile macro expansion.
    2855 cat > conftest.defs <<\EOF
    2856 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
    2857 s%[     `~#$^&*(){}\\|;'"<>?]%\\&%g
    2858 s%\[%\\&%g
    2859 s%\]%\\&%g
    2860 s%\$%$$%g
    2861 EOF
    2862 DEFS=`sed -f conftest.defs confdefs.h | tr '\012\015' '  '`
    2863 rm -f conftest.defs
    2864 
    2865 
    2866 # Without the "./", some shells look in PATH for config.status.
     4409#
     4410# If the first sed substitution is executed (which looks for macros that
     4411# take arguments), then we branch to the quote section.  Otherwise,
     4412# look for a macro that doesn't take arguments.
     4413cat >confdef2opt.sed <<\_ACEOF
     4414t clear
     4415: clear
     4416s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
     4417t quote
     4418s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
     4419t quote
     4420d
     4421: quote
     4422s,[      `~#$^&*(){}\\|;'"<>?],\\&,g
     4423s,\[,\\&,g
     4424s,\],\\&,g
     4425s,\$,$$,g
     4426p
     4427_ACEOF
     4428# We use echo to avoid assuming a particular line-breaking character.
     4429# The extra dot is to prevent the shell from consuming trailing
     4430# line-breaks from the sub-command output.  A line-break within
     4431# single-quotes doesn't work because, if this script is created in a
     4432# platform that uses two characters for line-breaks (e.g., DOS), tr
     4433# would break.
     4434ac_LF_and_DOT=`echo; echo .`
     4435DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
     4436rm -f confdef2opt.sed
     4437
     4438
     4439ac_libobjs=
     4440ac_ltlibobjs=
     4441for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
     4442  # 1. Remove the extension, and $U if already installed.
     4443  ac_i=`echo "$ac_i" |
     4444         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
     4445  # 2. Add them.
     4446  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
     4447  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
     4448done
     4449LIBOBJS=$ac_libobjs
     4450
     4451LTLIBOBJS=$ac_ltlibobjs
     4452
     4453
     4454
    28674455: ${CONFIG_STATUS=./config.status}
    2868 
    2869 echo creating $CONFIG_STATUS
    2870 rm -f $CONFIG_STATUS
    2871 cat > $CONFIG_STATUS <<EOF
    2872 #! /bin/sh
    2873 # Generated automatically by configure.
     4456ac_clean_files_save=$ac_clean_files
     4457ac_clean_files="$ac_clean_files $CONFIG_STATUS"
     4458{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
     4459echo "$as_me: creating $CONFIG_STATUS" >&6;}
     4460cat >$CONFIG_STATUS <<_ACEOF
     4461#! $SHELL
     4462# Generated by $as_me.
    28744463# Run this file to recreate the current configuration.
    2875 # This directory was configured as follows,
    2876 EOF
    2877 echo ': ${CONFIG_SHELL='"${CONFIG_SHELL-/bin/sh}"'}' >> $CONFIG_STATUS
    2878 cat >> $CONFIG_STATUS <<EOF
    2879 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
    2880 #
    2881 # $0 $ac_configure_args
    2882 #
    28834464# Compiler output produced by configure, useful for debugging
    2884 # configure, is in ./config.log if it exists.
    2885 
    2886 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
    2887 for ac_option
     4465# configure, is in config.log if it exists.
     4466
     4467debug=false
     4468ac_cs_recheck=false
     4469ac_cs_silent=false
     4470SHELL=\${CONFIG_SHELL-$SHELL}
     4471_ACEOF
     4472
     4473cat >>$CONFIG_STATUS <<\_ACEOF
     4474## --------------------- ##
     4475## M4sh Initialization.  ##
     4476## --------------------- ##
     4477
     4478# Be Bourne compatible
     4479if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     4480  emulate sh
     4481  NULLCMD=:
     4482  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
     4483  # is contrary to our usage.  Disable this feature.
     4484  alias -g '${1+"$@"}'='"$@"'
     4485elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
     4486  set -o posix
     4487fi
     4488DUALCASE=1; export DUALCASE # for MKS sh
     4489
     4490# Support unset when possible.
     4491if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     4492  as_unset=unset
     4493else
     4494  as_unset=false
     4495fi
     4496
     4497
     4498# Work around bugs in pre-3.0 UWIN ksh.
     4499$as_unset ENV MAIL MAILPATH
     4500PS1='$ '
     4501PS2='> '
     4502PS4='+ '
     4503
     4504# NLS nuisances.
     4505for as_var in \
     4506  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
     4507  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
     4508  LC_TELEPHONE LC_TIME
    28884509do
    2889   case "\$ac_option" in
    2890   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
    2891     echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
    2892     exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
    2893   -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
    2894     echo "$CONFIG_STATUS generated by autoconf version 2.13"
    2895     exit 0 ;;
    2896   -help | --help | --hel | --he | --h)
    2897     echo "\$ac_cs_usage"; exit 0 ;;
    2898   *) echo "\$ac_cs_usage"; exit 1 ;;
    2899   esac
    2900 done
    2901 
    2902 ac_given_srcdir=$srcdir
    2903 ac_given_INSTALL="$INSTALL"
    2904 PATHIFS="$PATH_IFS"
    2905 
    2906 trap 'rm -fr `echo "Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
    2907 EOF
    2908 cat >> $CONFIG_STATUS <<EOF
    2909 
    2910 # Protect against being on the right side of a sed subst in config.status.
    2911 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
    2912  s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
    2913 $ac_vpsub
    2914 $extrasub
    2915 s,\([^a-zA-Z0-9:]\)/bin/sh\(.exe\),\1${CONFIG_SHELL-/bin/sh}\2,g
    2916 s%@SHELL@%$SHELL%g
    2917 s%@CFLAGS@%$CFLAGS%g
    2918 s%@CPPFLAGS@%$CPPFLAGS%g
    2919 s%@CXXFLAGS@%$CXXFLAGS%g
    2920 s%@FFLAGS@%$FFLAGS%g
    2921 s%@DEFS@%$DEFS%g
    2922 s%@LDFLAGS@%$LDFLAGS%g
    2923 s%@LIBS@%$LIBS%g
    2924 s%@exec_prefix@%$exec_prefix%g
    2925 s%@prefix@%$prefix%g
    2926 s%@program_transform_name@%$program_transform_name%g
    2927 s%@bindir@%$bindir%g
    2928 s%@sbindir@%$sbindir%g
    2929 s%@libexecdir@%$libexecdir%g
    2930 s%@datadir@%$datadir%g
    2931 s%@sysconfdir@%$sysconfdir%g
    2932 s%@sharedstatedir@%$sharedstatedir%g
    2933 s%@localstatedir@%$localstatedir%g
    2934 s%@libdir@%$libdir%g
    2935 s%@includedir@%$includedir%g
    2936 s%@oldincludedir@%$oldincludedir%g
    2937 s%@infodir@%$infodir%g
    2938 s%@mandir@%$mandir%g
    2939 s%@PATH_IFS@%$PATH_IFS%g
    2940 s%@EXEEXT@%$EXEEXT%g
    2941 s%@zlib_basedir@%$zlib_basedir%g
    2942 s%@host@%$host%g
    2943 s%@host_alias@%$host_alias%g
    2944 s%@host_cpu@%$host_cpu%g
    2945 s%@host_vendor@%$host_vendor%g
    2946 s%@host_os@%$host_os%g
    2947 s%@target@%$target%g
    2948 s%@target_alias@%$target_alias%g
    2949 s%@target_cpu@%$target_cpu%g
    2950 s%@target_vendor@%$target_vendor%g
    2951 s%@target_os@%$target_os%g
    2952 s%@build@%$build%g
    2953 s%@build_alias@%$build_alias%g
    2954 s%@build_cpu@%$build_cpu%g
    2955 s%@build_vendor@%$build_vendor%g
    2956 s%@build_os@%$build_os%g
    2957 s%@mkinstalldirs@%$mkinstalldirs%g
    2958 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
    2959 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
    2960 s%@INSTALL_DATA@%$INSTALL_DATA%g
    2961 s%@PACKAGE@%$PACKAGE%g
    2962 s%@VERSION@%$VERSION%g
    2963 s%@ACLOCAL@%$ACLOCAL%g
    2964 s%@AUTOCONF@%$AUTOCONF%g
    2965 s%@AUTOMAKE@%$AUTOMAKE%g
    2966 s%@AUTOHEADER@%$AUTOHEADER%g
    2967 s%@MAKEINFO@%$MAKEINFO%g
    2968 s%@SET_MAKE@%$SET_MAKE%g
    2969 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
    2970 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
    2971 s%@MAINT@%$MAINT%g
    2972 s%@CC@%$CC%g
    2973 s%@LN_S@%$LN_S%g
    2974 s%@OBJEXT@%$OBJEXT%g
    2975 s%@RANLIB@%$RANLIB%g
    2976 s%@STRIP@%$STRIP%g
    2977 s%@LIBTOOL@%$LIBTOOL%g
    2978 s%@COMPPATH@%$COMPPATH%g
    2979 s%@CPP@%$CPP%g
    2980 s%@target_all@%$target_all%g
    2981 s%@toolexecdir@%$toolexecdir%g
    2982 s%@toolexeclibdir@%$toolexeclibdir%g
    2983 s%@TARGET_LIBRARY_TRUE@%$TARGET_LIBRARY_TRUE%g
    2984 s%@TARGET_LIBRARY_FALSE@%$TARGET_LIBRARY_FALSE%g
    2985 
    2986 CEOF
    2987 EOF
    2988 
    2989 cat >> $CONFIG_STATUS <<\EOF
    2990 
    2991 # Split the substitutions into bite-sized pieces for seds with
    2992 # small command number limits, like on Digital OSF/1 and HP-UX.
    2993 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
    2994 ac_file=1 # Number of current file.
    2995 ac_beg=1 # First line for current file.
    2996 ac_end=$ac_max_sed_cmds # Line after last line for current file.
    2997 ac_more_lines=:
    2998 ac_sed_cmds=""
    2999 while $ac_more_lines; do
    3000   if test $ac_beg -gt 1; then
    3001     sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
     4510  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
     4511    eval $as_var=C; export $as_var
    30024512  else
    3003     sed "${ac_end}q" conftest.subs > conftest.s$ac_file
    3004   fi
    3005   if test ! -s conftest.s$ac_file; then
    3006     ac_more_lines=false
    3007     rm -f conftest.s$ac_file
    3008   else
    3009     if test -z "$ac_sed_cmds"; then
    3010       ac_sed_cmds="sed -f conftest.s$ac_file"
    3011     else
    3012       ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
    3013     fi
    3014     ac_file=`expr $ac_file + 1`
    3015     ac_beg=$ac_end
    3016     ac_end=`expr $ac_end + $ac_max_sed_cmds`
     4513    $as_unset $as_var
    30174514  fi
    30184515done
    3019 if test -z "$ac_sed_cmds"; then
    3020   ac_sed_cmds=cat
    3021 fi
    3022 EOF
    3023 
    3024 cat >> $CONFIG_STATUS <<EOF
    3025 
    3026 CONFIG_FILES=\${CONFIG_FILES-"Makefile"}
    3027 EOF
    3028 cat >> $CONFIG_STATUS <<\EOF
    3029 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
    3030   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
    3031   case "$ac_file" in
    3032   *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
    3033        ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
    3034   *) ac_file_in="${ac_file}.in" ;;
     4516
     4517# Required to use basename.
     4518if expr a : '\(a\)' >/dev/null 2>&1; then
     4519  as_expr=expr
     4520else
     4521  as_expr=false
     4522fi
     4523
     4524if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
     4525  as_basename=basename
     4526else
     4527  as_basename=false
     4528fi
     4529
     4530
     4531# Name of the executable.
     4532as_me=`$as_basename "$0" ||
     4533$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
     4534         X"$0" : 'X\(//\)$' \| \
     4535         X"$0" : 'X\(/\)$' \| \
     4536         .     : '\(.\)' 2>/dev/null ||
     4537echo X/"$0" |
     4538    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
     4539          /^X\/\(\/\/\)$/{ s//\1/; q; }
     4540          /^X\/\(\/\).*/{ s//\1/; q; }
     4541          s/.*/./; q'`
     4542
     4543
     4544# PATH needs CR, and LINENO needs CR and PATH.
     4545# Avoid depending upon Character Ranges.
     4546as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     4547as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     4548as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     4549as_cr_digits='0123456789'
     4550as_cr_alnum=$as_cr_Letters$as_cr_digits
     4551
     4552# The user is always right.
     4553if test "${PATH_SEPARATOR+set}" != set; then
     4554  echo "#! /bin/sh" >conf$$.sh
     4555  echo  "exit 0"   >>conf$$.sh
     4556  chmod +x conf$$.sh
     4557  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
     4558    PATH_SEPARATOR=';'
     4559  else
     4560    PATH_SEPARATOR=:
     4561  fi
     4562  rm -f conf$$.sh
     4563fi
     4564
     4565
     4566  as_lineno_1=$LINENO
     4567  as_lineno_2=$LINENO
     4568  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
     4569  test "x$as_lineno_1" != "x$as_lineno_2" &&
     4570  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
     4571  # Find who we are.  Look in the path if we contain no path at all
     4572  # relative or not.
     4573  case $0 in
     4574    *[\\/]* ) as_myself=$0 ;;
     4575    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4576for as_dir in $PATH
     4577do
     4578  IFS=$as_save_IFS
     4579  test -z "$as_dir" && as_dir=.
     4580  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     4581done
     4582
     4583       ;;
    30354584  esac
    3036 
    3037   # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
    3038 
    3039   # Remove last slash and all that follows it.  Not all systems have dirname.
    3040   ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
    3041   if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
    3042     # The file is in a subdirectory.
    3043     test ! -d "$ac_dir" && mkdir "$ac_dir"
    3044     ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
    3045     # A "../" for each directory in $ac_dir_suffix.
    3046     ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
     4585  # We did not find ourselves, most probably we were run as `sh COMMAND'
     4586  # in which case we are not to be found in the path.
     4587  if test "x$as_myself" = x; then
     4588    as_myself=$0
     4589  fi
     4590  if test ! -f "$as_myself"; then
     4591    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
     4592echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
     4593   { (exit 1); exit 1; }; }
     4594  fi
     4595  case $CONFIG_SHELL in
     4596  '')
     4597    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4598for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
     4599do
     4600  IFS=$as_save_IFS
     4601  test -z "$as_dir" && as_dir=.
     4602  for as_base in sh bash ksh sh5; do
     4603         case $as_dir in
     4604         /*)
     4605           if ("$as_dir/$as_base" -c '
     4606  as_lineno_1=$LINENO
     4607  as_lineno_2=$LINENO
     4608  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
     4609  test "x$as_lineno_1" != "x$as_lineno_2" &&
     4610  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
     4611             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
     4612             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
     4613             CONFIG_SHELL=$as_dir/$as_base
     4614             export CONFIG_SHELL
     4615             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
     4616           fi;;
     4617         esac
     4618       done
     4619done
     4620;;
     4621  esac
     4622
     4623  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
     4624  # uniformly replaced by the line number.  The first 'sed' inserts a
     4625  # line-number line before each line; the second 'sed' does the real
     4626  # work.  The second script uses 'N' to pair each line-number line
     4627  # with the numbered line, and appends trailing '-' during
     4628  # substitution so that $LINENO is not a special case at line end.
     4629  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
     4630  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
     4631  sed '=' <$as_myself |
     4632    sed '
     4633      N
     4634      s,$,-,
     4635      : loop
     4636      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
     4637      t loop
     4638      s,-$,,
     4639      s,^['$as_cr_digits']*\n,,
     4640    ' >$as_me.lineno &&
     4641  chmod +x $as_me.lineno ||
     4642    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
     4643echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
     4644   { (exit 1); exit 1; }; }
     4645
     4646  # Don't try to exec as it changes $[0], causing all sort of problems
     4647  # (the dirname of $[0] is not the place where we might find the
     4648  # original and so on.  Autoconf is especially sensible to this).
     4649  . ./$as_me.lineno
     4650  # Exit status is that of the last command.
     4651  exit
     4652}
     4653
     4654
     4655case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
     4656  *c*,-n*) ECHO_N= ECHO_C='
     4657' ECHO_T='      ' ;;
     4658  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
     4659  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
     4660esac
     4661
     4662if expr a : '\(a\)' >/dev/null 2>&1; then
     4663  as_expr=expr
     4664else
     4665  as_expr=false
     4666fi
     4667
     4668rm -f conf$$ conf$$.exe conf$$.file
     4669echo >conf$$.file
     4670if ln -s conf$$.file conf$$ 2>/dev/null; then
     4671  # We could just check for DJGPP; but this test a) works b) is more generic
     4672  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
     4673  if test -f conf$$.exe; then
     4674    # Don't use ln at all; we don't have any links
     4675    as_ln_s='cp -p'
    30474676  else
    3048     ac_dir_suffix= ac_dots=
     4677    as_ln_s='ln -s'
    30494678  fi
    3050 
    3051   case "$ac_given_srcdir" in
    3052   .)  srcdir=.
    3053       if test -z "$ac_dots"; then top_srcdir=.
    3054       else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
    3055   /* | [A-Za-z]:*)
    3056     srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
    3057   *) # Relative path.
    3058     srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
    3059     top_srcdir="$ac_dots$ac_given_srcdir" ;;
     4679elif ln conf$$.file conf$$ 2>/dev/null; then
     4680  as_ln_s=ln
     4681else
     4682  as_ln_s='cp -p'
     4683fi
     4684rm -f conf$$ conf$$.exe conf$$.file
     4685
     4686if mkdir -p . 2>/dev/null; then
     4687  as_mkdir_p=:
     4688else
     4689  test -d ./-p && rmdir ./-p
     4690  as_mkdir_p=false
     4691fi
     4692
     4693as_executable_p="test -f"
     4694
     4695# Sed expression to map a string onto a valid CPP name.
     4696as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
     4697
     4698# Sed expression to map a string onto a valid variable name.
     4699as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
     4700
     4701
     4702# IFS
     4703# We need space, tab and new line, in precisely that order.
     4704as_nl='
     4705'
     4706IFS="   $as_nl"
     4707
     4708# CDPATH.
     4709$as_unset CDPATH
     4710
     4711exec 6>&1
     4712
     4713# Open the log real soon, to keep \$[0] and so on meaningful, and to
     4714# report actual input values of CONFIG_FILES etc. instead of their
     4715# values after options handling.  Logging --version etc. is OK.
     4716exec 5>>config.log
     4717{
     4718  echo
     4719  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
     4720## Running $as_me. ##
     4721_ASBOX
     4722} >&5
     4723cat >&5 <<_CSEOF
     4724
     4725This file was extended by $as_me, which was
     4726generated by GNU Autoconf 2.59.  Invocation command line was
     4727
     4728  CONFIG_FILES    = $CONFIG_FILES
     4729  CONFIG_HEADERS  = $CONFIG_HEADERS
     4730  CONFIG_LINKS    = $CONFIG_LINKS
     4731  CONFIG_COMMANDS = $CONFIG_COMMANDS
     4732  $ $0 $@
     4733
     4734_CSEOF
     4735echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
     4736echo >&5
     4737_ACEOF
     4738
     4739# Files that config.status was made for.
     4740if test -n "$ac_config_files"; then
     4741  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
     4742fi
     4743
     4744if test -n "$ac_config_headers"; then
     4745  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
     4746fi
     4747
     4748if test -n "$ac_config_links"; then
     4749  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
     4750fi
     4751
     4752if test -n "$ac_config_commands"; then
     4753  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
     4754fi
     4755
     4756cat >>$CONFIG_STATUS <<\_ACEOF
     4757
     4758ac_cs_usage="\
     4759\`$as_me' instantiates files from templates according to the
     4760current configuration.
     4761
     4762Usage: $0 [OPTIONS] [FILE]...
     4763
     4764  -h, --help       print this help, then exit
     4765  -V, --version    print version number, then exit
     4766  -q, --quiet      do not print progress messages
     4767  -d, --debug      don't remove temporary files
     4768      --recheck    update $as_me by reconfiguring in the same conditions
     4769  --file=FILE[:TEMPLATE]
     4770                   instantiate the configuration file FILE
     4771
     4772Configuration files:
     4773$config_files
     4774
     4775Configuration commands:
     4776$config_commands
     4777
     4778Report bugs to <bug-autoconf@gnu.org>."
     4779_ACEOF
     4780
     4781cat >>$CONFIG_STATUS <<_ACEOF
     4782ac_cs_version="\\
     4783config.status
     4784configured by $0, generated by GNU Autoconf 2.59,
     4785  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
     4786
     4787Copyright (C) 2003 Free Software Foundation, Inc.
     4788This config.status script is free software; the Free Software Foundation
     4789gives unlimited permission to copy, distribute and modify it."
     4790srcdir=$srcdir
     4791INSTALL="$INSTALL"
     4792_ACEOF
     4793
     4794cat >>$CONFIG_STATUS <<\_ACEOF
     4795# If no file are specified by the user, then we need to provide default
     4796# value.  By we need to know if files were specified by the user.
     4797ac_need_defaults=:
     4798while test $# != 0
     4799do
     4800  case $1 in
     4801  --*=*)
     4802    ac_option=`expr "x$1" : 'x\([^=]*\)='`
     4803    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
     4804    ac_shift=:
     4805    ;;
     4806  -*)
     4807    ac_option=$1
     4808    ac_optarg=$2
     4809    ac_shift=shift
     4810    ;;
     4811  *) # This is not an option, so the user has probably given explicit
     4812     # arguments.
     4813     ac_option=$1
     4814     ac_need_defaults=false;;
    30604815  esac
    30614816
    3062   case "$ac_given_INSTALL" in
    3063   [/$]* | [A-Za-z]:*) INSTALL="$ac_given_INSTALL" ;;
    3064   *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
     4817  case $ac_option in
     4818  # Handling of the options.
     4819_ACEOF
     4820cat >>$CONFIG_STATUS <<\_ACEOF
     4821  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
     4822    ac_cs_recheck=: ;;
     4823  --version | --vers* | -V )
     4824    echo "$ac_cs_version"; exit 0 ;;
     4825  --he | --h)
     4826    # Conflict between --help and --header
     4827    { { echo "$as_me:$LINENO: error: ambiguous option: $1
     4828Try \`$0 --help' for more information." >&5
     4829echo "$as_me: error: ambiguous option: $1
     4830Try \`$0 --help' for more information." >&2;}
     4831   { (exit 1); exit 1; }; };;
     4832  --help | --hel | -h )
     4833    echo "$ac_cs_usage"; exit 0 ;;
     4834  --debug | --d* | -d )
     4835    debug=: ;;
     4836  --file | --fil | --fi | --f )
     4837    $ac_shift
     4838    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
     4839    ac_need_defaults=false;;
     4840  --header | --heade | --head | --hea )
     4841    $ac_shift
     4842    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
     4843    ac_need_defaults=false;;
     4844  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
     4845  | -silent | --silent | --silen | --sile | --sil | --si | --s)
     4846    ac_cs_silent=: ;;
     4847
     4848  # This is an error.
     4849  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
     4850Try \`$0 --help' for more information." >&5
     4851echo "$as_me: error: unrecognized option: $1
     4852Try \`$0 --help' for more information." >&2;}
     4853   { (exit 1); exit 1; }; } ;;
     4854
     4855  *) ac_config_targets="$ac_config_targets $1" ;;
     4856
    30654857  esac
    3066 
    3067   echo creating "$ac_file"
    3068   rm -f "$ac_file"
    3069   configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
    3070   case "$ac_file" in
    3071   *Makefile*) ac_comsub="1i\\
    3072 # $configure_input" ;;
    3073   *) ac_comsub= ;;
    3074   esac
    3075 
    3076   ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%$PATHIFS% $ac_given_srcdir/%g"`
    3077   sed -e "$ac_comsub
    3078 s%@configure_input@%$configure_input%g
    3079 s%@srcdir@%$srcdir%g
    3080 s%@top_srcdir@%$top_srcdir%g
    3081 s%@INSTALL@%$INSTALL%g
    3082 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
    3083 fi; done
    3084 rm -f conftest.s*
    3085 
    3086 EOF
    3087 cat >> $CONFIG_STATUS <<EOF
     4858  shift
     4859done
     4860
     4861ac_configure_extra_args=
     4862
     4863if $ac_cs_silent; then
     4864  exec 6>/dev/null
     4865  ac_configure_extra_args="$ac_configure_extra_args --silent"
     4866fi
     4867
     4868_ACEOF
     4869cat >>$CONFIG_STATUS <<_ACEOF
     4870if \$ac_cs_recheck; then
     4871  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
     4872  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
     4873fi
     4874
     4875_ACEOF
     4876
     4877cat >>$CONFIG_STATUS <<_ACEOF
     4878#
     4879# INIT-COMMANDS section.
     4880#
     4881
    30884882srcdir=${srcdir}
    30894883host=${host}
     
    30964890CXX="${CXX}"
    30974891
    3098 EOF
    3099 cat >> $CONFIG_STATUS <<\EOF
    3100 if test -n "$CONFIG_FILES"; then
     4892
     4893_ACEOF
     4894
     4895
     4896
     4897cat >>$CONFIG_STATUS <<\_ACEOF
     4898for ac_config_target in $ac_config_targets
     4899do
     4900  case "$ac_config_target" in
     4901  # Handling of arguments.
     4902  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
     4903  "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
     4904  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
     4905echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
     4906   { (exit 1); exit 1; }; };;
     4907  esac
     4908done
     4909
     4910# If the user did not use the arguments to specify the items to instantiate,
     4911# then the envvar interface is used.  Set only those that are not.
     4912# We use the long form for the default assignment because of an extremely
     4913# bizarre bug on SunOS 4.1.3.
     4914if $ac_need_defaults; then
     4915  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
     4916  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
     4917fi
     4918
     4919# Have a temporary directory for convenience.  Make it in the build tree
     4920# simply because there is no reason to put it here, and in addition,
     4921# creating and moving files from /tmp can sometimes cause problems.
     4922# Create a temporary directory, and hook for its removal unless debugging.
     4923$debug ||
     4924{
     4925  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
     4926  trap '{ (exit 1); exit 1; }' 1 2 13 15
     4927}
     4928
     4929# Create a (secure) tmp directory for tmp files.
     4930
     4931{
     4932  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
     4933  test -n "$tmp" && test -d "$tmp"
     4934}  ||
     4935{
     4936  tmp=./confstat$$-$RANDOM
     4937  (umask 077 && mkdir $tmp)
     4938} ||
     4939{
     4940   echo "$me: cannot create a temporary directory in ." >&2
     4941   { (exit 1); exit 1; }
     4942}
     4943
     4944_ACEOF
     4945
     4946cat >>$CONFIG_STATUS <<_ACEOF
     4947
     4948#
     4949# CONFIG_FILES section.
     4950#
     4951
     4952# No need to generate the scripts if there are no CONFIG_FILES.
     4953# This happens for instance when ./config.status config.h
     4954if test -n "\$CONFIG_FILES"; then
     4955  # Protect against being on the right side of a sed subst in config.status.
     4956  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
     4957   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
     4958s,@SHELL@,$SHELL,;t t
     4959s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
     4960s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
     4961s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
     4962s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
     4963s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
     4964s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
     4965s,@exec_prefix@,$exec_prefix,;t t
     4966s,@prefix@,$prefix,;t t
     4967s,@program_transform_name@,$program_transform_name,;t t
     4968s,@bindir@,$bindir,;t t
     4969s,@sbindir@,$sbindir,;t t
     4970s,@libexecdir@,$libexecdir,;t t
     4971s,@datadir@,$datadir,;t t
     4972s,@sysconfdir@,$sysconfdir,;t t
     4973s,@sharedstatedir@,$sharedstatedir,;t t
     4974s,@localstatedir@,$localstatedir,;t t
     4975s,@libdir@,$libdir,;t t
     4976s,@includedir@,$includedir,;t t
     4977s,@oldincludedir@,$oldincludedir,;t t
     4978s,@infodir@,$infodir,;t t
     4979s,@mandir@,$mandir,;t t
     4980s,@build_alias@,$build_alias,;t t
     4981s,@host_alias@,$host_alias,;t t
     4982s,@target_alias@,$target_alias,;t t
     4983s,@DEFS@,$DEFS,;t t
     4984s,@ECHO_C@,$ECHO_C,;t t
     4985s,@ECHO_N@,$ECHO_N,;t t
     4986s,@ECHO_T@,$ECHO_T,;t t
     4987s,@LIBS@,$LIBS,;t t
     4988s,@zlib_basedir@,$zlib_basedir,;t t
     4989s,@build@,$build,;t t
     4990s,@build_cpu@,$build_cpu,;t t
     4991s,@build_vendor@,$build_vendor,;t t
     4992s,@build_os@,$build_os,;t t
     4993s,@host@,$host,;t t
     4994s,@host_cpu@,$host_cpu,;t t
     4995s,@host_vendor@,$host_vendor,;t t
     4996s,@host_os@,$host_os,;t t
     4997s,@target@,$target,;t t
     4998s,@target_cpu@,$target_cpu,;t t
     4999s,@target_vendor@,$target_vendor,;t t
     5000s,@target_os@,$target_os,;t t
     5001s,@mkinstalldirs@,$mkinstalldirs,;t t
     5002s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
     5003s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
     5004s,@INSTALL_DATA@,$INSTALL_DATA,;t t
     5005s,@PACKAGE@,$PACKAGE,;t t
     5006s,@VERSION@,$VERSION,;t t
     5007s,@ACLOCAL@,$ACLOCAL,;t t
     5008s,@AUTOCONF@,$AUTOCONF,;t t
     5009s,@AUTOMAKE@,$AUTOMAKE,;t t
     5010s,@AUTOHEADER@,$AUTOHEADER,;t t
     5011s,@MAKEINFO@,$MAKEINFO,;t t
     5012s,@SET_MAKE@,$SET_MAKE,;t t
     5013s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
     5014s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
     5015s,@MAINT@,$MAINT,;t t
     5016s,@CC@,$CC,;t t
     5017s,@LN_S@,$LN_S,;t t
     5018s,@RANLIB@,$RANLIB,;t t
     5019s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
     5020s,@STRIP@,$STRIP,;t t
     5021s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
     5022s,@LIBTOOL@,$LIBTOOL,;t t
     5023s,@COMPPATH@,$COMPPATH,;t t
     5024s,@CPP@,$CPP,;t t
     5025s,@CPPFLAGS@,$CPPFLAGS,;t t
     5026s,@EGREP@,$EGREP,;t t
     5027s,@target_all@,$target_all,;t t
     5028s,@toolexecdir@,$toolexecdir,;t t
     5029s,@toolexeclibdir@,$toolexeclibdir,;t t
     5030s,@TARGET_LIBRARY_TRUE@,$TARGET_LIBRARY_TRUE,;t t
     5031s,@TARGET_LIBRARY_FALSE@,$TARGET_LIBRARY_FALSE,;t t
     5032s,@LIBOBJS@,$LIBOBJS,;t t
     5033s,@LTLIBOBJS@,$LTLIBOBJS,;t t
     5034CEOF
     5035
     5036_ACEOF
     5037
     5038  cat >>$CONFIG_STATUS <<\_ACEOF
     5039  # Split the substitutions into bite-sized pieces for seds with
     5040  # small command number limits, like on Digital OSF/1 and HP-UX.
     5041  ac_max_sed_lines=48
     5042  ac_sed_frag=1 # Number of current file.
     5043  ac_beg=1 # First line for current file.
     5044  ac_end=$ac_max_sed_lines # Line after last line for current file.
     5045  ac_more_lines=:
     5046  ac_sed_cmds=
     5047  while $ac_more_lines; do
     5048    if test $ac_beg -gt 1; then
     5049      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
     5050    else
     5051      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
     5052    fi
     5053    if test ! -s $tmp/subs.frag; then
     5054      ac_more_lines=false
     5055    else
     5056      # The purpose of the label and of the branching condition is to
     5057      # speed up the sed processing (if there are no `@' at all, there
     5058      # is no need to browse any of the substitutions).
     5059      # These are the two extra sed commands mentioned above.
     5060      (echo ':t
     5061  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
     5062      if test -z "$ac_sed_cmds"; then
     5063        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
     5064      else
     5065        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
     5066      fi
     5067      ac_sed_frag=`expr $ac_sed_frag + 1`
     5068      ac_beg=$ac_end
     5069      ac_end=`expr $ac_end + $ac_max_sed_lines`
     5070    fi
     5071  done
     5072  if test -z "$ac_sed_cmds"; then
     5073    ac_sed_cmds=cat
     5074  fi
     5075fi # test -n "$CONFIG_FILES"
     5076
     5077_ACEOF
     5078cat >>$CONFIG_STATUS <<\_ACEOF
     5079for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
     5080  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
     5081  case $ac_file in
     5082  - | *:- | *:-:* ) # input from stdin
     5083        cat >$tmp/stdin
     5084        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
     5085        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
     5086  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
     5087        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
     5088  * )   ac_file_in=$ac_file.in ;;
     5089  esac
     5090
     5091  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
     5092  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
     5093$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     5094         X"$ac_file" : 'X\(//\)[^/]' \| \
     5095         X"$ac_file" : 'X\(//\)$' \| \
     5096         X"$ac_file" : 'X\(/\)' \| \
     5097         .     : '\(.\)' 2>/dev/null ||
     5098echo X"$ac_file" |
     5099    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     5100          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
     5101          /^X\(\/\/\)$/{ s//\1/; q; }
     5102          /^X\(\/\).*/{ s//\1/; q; }
     5103          s/.*/./; q'`
     5104  { if $as_mkdir_p; then
     5105    mkdir -p "$ac_dir"
     5106  else
     5107    as_dir="$ac_dir"
     5108    as_dirs=
     5109    while test ! -d "$as_dir"; do
     5110      as_dirs="$as_dir $as_dirs"
     5111      as_dir=`(dirname "$as_dir") 2>/dev/null ||
     5112$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     5113         X"$as_dir" : 'X\(//\)[^/]' \| \
     5114         X"$as_dir" : 'X\(//\)$' \| \
     5115         X"$as_dir" : 'X\(/\)' \| \
     5116         .     : '\(.\)' 2>/dev/null ||
     5117echo X"$as_dir" |
     5118    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     5119          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
     5120          /^X\(\/\/\)$/{ s//\1/; q; }
     5121          /^X\(\/\).*/{ s//\1/; q; }
     5122          s/.*/./; q'`
     5123    done
     5124    test ! -n "$as_dirs" || mkdir $as_dirs
     5125  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
     5126echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
     5127   { (exit 1); exit 1; }; }; }
     5128
     5129  ac_builddir=.
     5130
     5131if test "$ac_dir" != .; then
     5132  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
     5133  # A "../" for each directory in $ac_dir_suffix.
     5134  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
     5135else
     5136  ac_dir_suffix= ac_top_builddir=
     5137fi
     5138
     5139case $srcdir in
     5140  .)  # No --srcdir option.  We are building in place.
     5141    ac_srcdir=.
     5142    if test -z "$ac_top_builddir"; then
     5143       ac_top_srcdir=.
     5144    else
     5145       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
     5146    fi ;;
     5147  [\\/]* | ?:[\\/]* )  # Absolute path.
     5148    ac_srcdir=$srcdir$ac_dir_suffix;
     5149    ac_top_srcdir=$srcdir ;;
     5150  *) # Relative path.
     5151    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
     5152    ac_top_srcdir=$ac_top_builddir$srcdir ;;
     5153esac
     5154
     5155# Do not use `cd foo && pwd` to compute absolute paths, because
     5156# the directories may not exist.
     5157case `pwd` in
     5158.) ac_abs_builddir="$ac_dir";;
     5159*)
     5160  case "$ac_dir" in
     5161  .) ac_abs_builddir=`pwd`;;
     5162  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
     5163  *) ac_abs_builddir=`pwd`/"$ac_dir";;
     5164  esac;;
     5165esac
     5166case $ac_abs_builddir in
     5167.) ac_abs_top_builddir=${ac_top_builddir}.;;
     5168*)
     5169  case ${ac_top_builddir}. in
     5170  .) ac_abs_top_builddir=$ac_abs_builddir;;
     5171  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
     5172  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
     5173  esac;;
     5174esac
     5175case $ac_abs_builddir in
     5176.) ac_abs_srcdir=$ac_srcdir;;
     5177*)
     5178  case $ac_srcdir in
     5179  .) ac_abs_srcdir=$ac_abs_builddir;;
     5180  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
     5181  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
     5182  esac;;
     5183esac
     5184case $ac_abs_builddir in
     5185.) ac_abs_top_srcdir=$ac_top_srcdir;;
     5186*)
     5187  case $ac_top_srcdir in
     5188  .) ac_abs_top_srcdir=$ac_abs_builddir;;
     5189  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
     5190  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
     5191  esac;;
     5192esac
     5193
     5194
     5195  case $INSTALL in
     5196  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
     5197  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
     5198  esac
     5199
     5200  if test x"$ac_file" != x-; then
     5201    { echo "$as_me:$LINENO: creating $ac_file" >&5
     5202echo "$as_me: creating $ac_file" >&6;}
     5203    rm -f "$ac_file"
     5204  fi
     5205  # Let's still pretend it is `configure' which instantiates (i.e., don't
     5206  # use $as_me), people would be surprised to read:
     5207  #    /* config.h.  Generated by config.status.  */
     5208  if test x"$ac_file" = x-; then
     5209    configure_input=
     5210  else
     5211    configure_input="$ac_file.  "
     5212  fi
     5213  configure_input=$configure_input"Generated from `echo $ac_file_in |
     5214                                     sed 's,.*/,,'` by configure."
     5215
     5216  # First look for the input files in the build tree, otherwise in the
     5217  # src tree.
     5218  ac_file_inputs=`IFS=:
     5219    for f in $ac_file_in; do
     5220      case $f in
     5221      -) echo $tmp/stdin ;;
     5222      [\\/$]*)
     5223         # Absolute (can't be DOS-style, as IFS=:)
     5224         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
     5225echo "$as_me: error: cannot find input file: $f" >&2;}
     5226   { (exit 1); exit 1; }; }
     5227         echo "$f";;
     5228      *) # Relative
     5229         if test -f "$f"; then
     5230           # Build tree
     5231           echo "$f"
     5232         elif test -f "$srcdir/$f"; then
     5233           # Source tree
     5234           echo "$srcdir/$f"
     5235         else
     5236           # /dev/null tree
     5237           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
     5238echo "$as_me: error: cannot find input file: $f" >&2;}
     5239   { (exit 1); exit 1; }; }
     5240         fi;;
     5241      esac
     5242    done` || { (exit 1); exit 1; }
     5243_ACEOF
     5244cat >>$CONFIG_STATUS <<_ACEOF
     5245  sed "$ac_vpsub
     5246$extrasub
     5247_ACEOF
     5248cat >>$CONFIG_STATUS <<\_ACEOF
     5249:t
     5250/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
     5251s,@configure_input@,$configure_input,;t t
     5252s,@srcdir@,$ac_srcdir,;t t
     5253s,@abs_srcdir@,$ac_abs_srcdir,;t t
     5254s,@top_srcdir@,$ac_top_srcdir,;t t
     5255s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
     5256s,@builddir@,$ac_builddir,;t t
     5257s,@abs_builddir@,$ac_abs_builddir,;t t
     5258s,@top_builddir@,$ac_top_builddir,;t t
     5259s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
     5260s,@INSTALL@,$ac_INSTALL,;t t
     5261" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
     5262  rm -f $tmp/stdin
     5263  if test x"$ac_file" != x-; then
     5264    mv $tmp/out $ac_file
     5265  else
     5266    cat $tmp/out
     5267    rm -f $tmp/out
     5268  fi
     5269
     5270done
     5271_ACEOF
     5272cat >>$CONFIG_STATUS <<\_ACEOF
     5273
     5274#
     5275# CONFIG_COMMANDS section.
     5276#
     5277for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
     5278  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
     5279  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
     5280  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
     5281$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     5282         X"$ac_dest" : 'X\(//\)[^/]' \| \
     5283         X"$ac_dest" : 'X\(//\)$' \| \
     5284         X"$ac_dest" : 'X\(/\)' \| \
     5285         .     : '\(.\)' 2>/dev/null ||
     5286echo X"$ac_dest" |
     5287    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     5288          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
     5289          /^X\(\/\/\)$/{ s//\1/; q; }
     5290          /^X\(\/\).*/{ s//\1/; q; }
     5291          s/.*/./; q'`
     5292  { if $as_mkdir_p; then
     5293    mkdir -p "$ac_dir"
     5294  else
     5295    as_dir="$ac_dir"
     5296    as_dirs=
     5297    while test ! -d "$as_dir"; do
     5298      as_dirs="$as_dir $as_dirs"
     5299      as_dir=`(dirname "$as_dir") 2>/dev/null ||
     5300$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     5301         X"$as_dir" : 'X\(//\)[^/]' \| \
     5302         X"$as_dir" : 'X\(//\)$' \| \
     5303         X"$as_dir" : 'X\(/\)' \| \
     5304         .     : '\(.\)' 2>/dev/null ||
     5305echo X"$as_dir" |
     5306    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
     5307          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
     5308          /^X\(\/\/\)$/{ s//\1/; q; }
     5309          /^X\(\/\).*/{ s//\1/; q; }
     5310          s/.*/./; q'`
     5311    done
     5312    test ! -n "$as_dirs" || mkdir $as_dirs
     5313  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
     5314echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
     5315   { (exit 1); exit 1; }; }; }
     5316
     5317  ac_builddir=.
     5318
     5319if test "$ac_dir" != .; then
     5320  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
     5321  # A "../" for each directory in $ac_dir_suffix.
     5322  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
     5323else
     5324  ac_dir_suffix= ac_top_builddir=
     5325fi
     5326
     5327case $srcdir in
     5328  .)  # No --srcdir option.  We are building in place.
     5329    ac_srcdir=.
     5330    if test -z "$ac_top_builddir"; then
     5331       ac_top_srcdir=.
     5332    else
     5333       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
     5334    fi ;;
     5335  [\\/]* | ?:[\\/]* )  # Absolute path.
     5336    ac_srcdir=$srcdir$ac_dir_suffix;
     5337    ac_top_srcdir=$srcdir ;;
     5338  *) # Relative path.
     5339    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
     5340    ac_top_srcdir=$ac_top_builddir$srcdir ;;
     5341esac
     5342
     5343# Do not use `cd foo && pwd` to compute absolute paths, because
     5344# the directories may not exist.
     5345case `pwd` in
     5346.) ac_abs_builddir="$ac_dir";;
     5347*)
     5348  case "$ac_dir" in
     5349  .) ac_abs_builddir=`pwd`;;
     5350  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
     5351  *) ac_abs_builddir=`pwd`/"$ac_dir";;
     5352  esac;;
     5353esac
     5354case $ac_abs_builddir in
     5355.) ac_abs_top_builddir=${ac_top_builddir}.;;
     5356*)
     5357  case ${ac_top_builddir}. in
     5358  .) ac_abs_top_builddir=$ac_abs_builddir;;
     5359  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
     5360  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
     5361  esac;;
     5362esac
     5363case $ac_abs_builddir in
     5364.) ac_abs_srcdir=$ac_srcdir;;
     5365*)
     5366  case $ac_srcdir in
     5367  .) ac_abs_srcdir=$ac_abs_builddir;;
     5368  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
     5369  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
     5370  esac;;
     5371esac
     5372case $ac_abs_builddir in
     5373.) ac_abs_top_srcdir=$ac_top_srcdir;;
     5374*)
     5375  case $ac_top_srcdir in
     5376  .) ac_abs_top_srcdir=$ac_abs_builddir;;
     5377  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
     5378  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
     5379  esac;;
     5380esac
     5381
     5382
     5383  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
     5384echo "$as_me: executing $ac_dest commands" >&6;}
     5385  case $ac_dest in
     5386    default ) if test -n "$CONFIG_FILES"; then
    31015387  LD="${ORIGINAL_LD_FOR_MULTILIBS}"
    31025388  ac_file=Makefile . ${zlib_basedir}/../config-ml.in
    3103 fi
    3104 exit 0
    3105 EOF
     5389fi ;;
     5390  esac
     5391done
     5392_ACEOF
     5393
     5394cat >>$CONFIG_STATUS <<\_ACEOF
     5395
     5396{ (exit 0); exit 0; }
     5397_ACEOF
    31065398chmod +x $CONFIG_STATUS
    3107 rm -fr confdefs* $ac_clean_files
    3108 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
    3109 
     5399ac_clean_files=$ac_clean_files_save
     5400
     5401
     5402# configure is writing to config.log, and then calls config.status.
     5403# config.status does its own redirection, appending to config.log.
     5404# Unfortunately, on DOS this fails, as config.log is still kept open
     5405# by configure, so config.status won't be able to write to it; its
     5406# output is simply discarded.  So we exec the FD to /dev/null,
     5407# effectively closing config.log, so it can be properly (re)opened and
     5408# appended to by config.status.  When coming back to configure, we
     5409# need to make the FD available again.
     5410if test "$no_create" != yes; then
     5411  ac_cs_success=:
     5412  ac_config_status_args=
     5413  test "$silent" = yes &&
     5414    ac_config_status_args="$ac_config_status_args --quiet"
     5415  exec 5>/dev/null
     5416  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
     5417  exec 5>>config.log
     5418  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
     5419  # would make configure fail if this is the last instruction.
     5420  $ac_cs_success || { (exit 1); exit 1; }
     5421fi
     5422
Note: See TracChangeset for help on using the changeset viewer.