configure revision 489b3eb09a8941f42a3983a39f7b3a10b4b4bc99
816e576f77e2c46df3e3d97d65822aa8aded7c4bDavid Lawrence# From configure.in Revision: 1.43
2d54cf04fc02db7c369592b6f91bbd1330df3387Andreas Gustafsson## libtool.m4 - Configure libtool for the target system. -*-Shell-script-*-
2d54cf04fc02db7c369592b6f91bbd1330df3387Andreas Gustafsson## Copyright (C) 1996-1999 Free Software Foundation, Inc.
2d54cf04fc02db7c369592b6f91bbd1330df3387Andreas Gustafsson## Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
2d54cf04fc02db7c369592b6f91bbd1330df3387Andreas Gustafsson## This program is free software; you can redistribute it and/or modify
2d54cf04fc02db7c369592b6f91bbd1330df3387Andreas Gustafsson## it under the terms of the GNU General Public License as published by
2d54cf04fc02db7c369592b6f91bbd1330df3387Andreas Gustafsson## the Free Software Foundation; either version 2 of the License, or
36bc6a0a8312de762caf1e984efe15c8e7170d9dAndreas Gustafsson## (at your option) any later version.
361a4334ec8ef9d678dcd6c94f96547efedb02bdAndreas Gustafsson## This program is distributed in the hope that it will be useful, but
361a4334ec8ef9d678dcd6c94f96547efedb02bdAndreas Gustafsson## WITHOUT ANY WARRANTY; without even the implied warranty of
361a4334ec8ef9d678dcd6c94f96547efedb02bdAndreas Gustafsson## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
76458ec215a57c6806afdd831b9c9a30b93344b0Andreas Gustafsson## General Public License for more details.
aff4e48c82c1de198a627fe7a57fb6f400d6d3c1Andreas Gustafsson## You should have received a copy of the GNU General Public License
76458ec215a57c6806afdd831b9c9a30b93344b0Andreas Gustafsson## along with this program; if not, write to the Free Software
2d54cf04fc02db7c369592b6f91bbd1330df3387Andreas Gustafsson## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
2d54cf04fc02db7c369592b6f91bbd1330df3387Andreas Gustafsson## As a special exception to the GNU General Public License, if you
b3651a8e87c12ea0428eeb5cf4b304be5bcd9db0Brian Wellington## distribute this file as part of a program that contains a
65dfcdc392b93f9d67684adce8b33a1d8168e67cAndreas Gustafsson## configuration script generated by Autoconf, you may include it under
65dfcdc392b93f9d67684adce8b33a1d8168e67cAndreas Gustafsson## the same distribution terms that you use for the rest of that program.
65dfcdc392b93f9d67684adce8b33a1d8168e67cAndreas Gustafsson# serial 40 AC_PROG_LIBTOOL
c5b14e2676e8832de77bf63b8f58890d13a6c1e2Andreas Gustafsson# AC_LIBTOOL_DLOPEN - enable checks for dlopen support
f11c81f4fe26ae9f1ef990257b3b2cac6ab5be12Mark Andrews# AC_LIBTOOL_WIN32_DLL - declare package support for building win32 dll's
0e873a120279dbae16ec3773d7c67d473602b7c6Andreas Gustafsson# AC_ENABLE_SHARED - implement the --enable-shared flag
0e873a120279dbae16ec3773d7c67d473602b7c6Andreas Gustafsson# Usage: AC_ENABLE_SHARED[(DEFAULT)]
0e873a120279dbae16ec3773d7c67d473602b7c6Andreas Gustafsson# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
72e278abc7c73059de68017eceae7d5138ee98c1Andreas Gustafsson# AC_DISABLE_SHARED - set the default shared flag to --disable-shared
c5b14e2676e8832de77bf63b8f58890d13a6c1e2Andreas Gustafsson# AC_ENABLE_STATIC - implement the --enable-static flag
d075bd326e34600c036c905eea6c80f565ea951fAndreas Gustafsson# Usage: AC_ENABLE_STATIC[(DEFAULT)]
d075bd326e34600c036c905eea6c80f565ea951fAndreas Gustafsson# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
b976f9c60a09f4a098852d0653ad5df6842557a7Andreas Gustafsson# AC_DISABLE_STATIC - set the default static flag to --disable-static
63404af69b0b99b8fa551e92702921f01c3bbfd7Andreas Gustafsson# AC_ENABLE_FAST_INSTALL - implement the --enable-fast-install flag
63404af69b0b99b8fa551e92702921f01c3bbfd7Andreas Gustafsson# Usage: AC_ENABLE_FAST_INSTALL[(DEFAULT)]
63404af69b0b99b8fa551e92702921f01c3bbfd7Andreas Gustafsson# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
f7aa8ce0b3cf7f5df618a42beecf8d5517c000acAndreas Gustafsson# AC_ENABLE_FAST_INSTALL - set the default to --disable-fast-install
63404af69b0b99b8fa551e92702921f01c3bbfd7Andreas Gustafsson# AC_PROG_LD - find the path to the GNU or non-GNU linker
63404af69b0b99b8fa551e92702921f01c3bbfd7Andreas Gustafsson# AC_PROG_NM - find the path to a BSD-compatible name lister
63404af69b0b99b8fa551e92702921f01c3bbfd7Andreas Gustafsson# AC_CHECK_LIBM - check for math library
6af37648dd5e0cb407cbef1fed5255dd874e61efAndreas Gustafsson# AC_LIBLTDL_CONVENIENCE[(dir)] - sets LIBLTDL to the link flags for
2d54cf04fc02db7c369592b6f91bbd1330df3387Andreas Gustafsson# the libltdl convenience library, adds --enable-ltdl-convenience to
2357f291c53de433c39ce844d2f0abc0bccfa9fcAndreas Gustafsson# the configure arguments. Note that LIBLTDL is not AC_SUBSTed, nor
3d4a70fe38769e42b943717256208b63fec05f32Andreas Gustafsson# is AC_CONFIG_SUBDIRS called. If DIR is not provided, it is assumed
36bc6a0a8312de762caf1e984efe15c8e7170d9dAndreas Gustafsson# to be `${top_builddir}/libltdl'. Make sure you start DIR with
36bc6a0a8312de762caf1e984efe15c8e7170d9dAndreas Gustafsson# '${top_builddir}/' (note the single quotes!) if your package is not
3d4a70fe38769e42b943717256208b63fec05f32Andreas Gustafsson# flat, and, if you're not using automake, define top_builddir as
3d4a70fe38769e42b943717256208b63fec05f32Andreas Gustafsson# appropriate in the Makefiles.
2d54cf04fc02db7c369592b6f91bbd1330df3387Andreas Gustafsson# AC_LIBLTDL_INSTALLABLE[(dir)] - sets LIBLTDL to the link flags for
2357f291c53de433c39ce844d2f0abc0bccfa9fcAndreas Gustafsson# the libltdl installable library, and adds --enable-ltdl-install to
2357f291c53de433c39ce844d2f0abc0bccfa9fcAndreas Gustafsson# the configure arguments. Note that LIBLTDL is not AC_SUBSTed, nor
2357f291c53de433c39ce844d2f0abc0bccfa9fcAndreas Gustafsson# is AC_CONFIG_SUBDIRS called. If DIR is not provided, it is assumed
6f6fbed6eb4d755198a452e557eead49f215d54bAndreas Gustafsson# to be `${top_builddir}/libltdl'. Make sure you start DIR with
2357f291c53de433c39ce844d2f0abc0bccfa9fcAndreas Gustafsson# '${top_builddir}/' (note the single quotes!) if your package is not
6af37648dd5e0cb407cbef1fed5255dd874e61efAndreas Gustafsson# flat, and, if you're not using automake, define top_builddir as
6af37648dd5e0cb407cbef1fed5255dd874e61efAndreas Gustafsson# appropriate in the Makefiles.
6af37648dd5e0cb407cbef1fed5255dd874e61efAndreas Gustafsson# In the future, this macro may have to be called after AC_PROG_LIBTOOL.
04bdb234571448ed6194e1d4048e6512f2446f1cDavid Lawrence# Guess values for system-dependent variables and create Makefiles.
04bdb234571448ed6194e1d4048e6512f2446f1cDavid Lawrence# Generated automatically using autoconf version 2.13
f7aa8ce0b3cf7f5df618a42beecf8d5517c000acAndreas Gustafsson# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
f7aa8ce0b3cf7f5df618a42beecf8d5517c000acAndreas Gustafsson# This configure script is free software; the Free Software Foundation
f8b11dc88787139b40c12f4cd797fef7d27e6809Mark Andrews# gives unlimited permission to copy, distribute and modify it.
3494f301f7d3897a56350010005a5758aad32711Rob Austein# Any additions from configure.in:
818bb50f16abdb79ada224cd910d500d5fd71278Rob Austein --with-mit-pthreads use the mit-pthreads thread library"
818bb50f16abdb79ada224cd910d500d5fd71278Rob Austein --with-ptl2 use the ptl2 thread library"
818bb50f16abdb79ada224cd910d500d5fd71278Rob Austein --with-libtool use GNU libtool"
04bdb234571448ed6194e1d4048e6512f2446f1cDavid Lawrence --enable-shared[=PKGS] build shared libraries [default=yes]"
04bdb234571448ed6194e1d4048e6512f2446f1cDavid Lawrence --enable-static[=PKGS] build static libraries [default=yes]"
1ae59f0202d4dd5f41f978804b092115c6e053eaDavid Lawrence --enable-fast-install[=PKGS] optimize for fast installation [default=yes]"
818bb50f16abdb79ada224cd910d500d5fd71278Rob Austein --with-gnu-ld assume the C compiler uses GNU ld [default=no]"
818bb50f16abdb79ada224cd910d500d5fd71278Rob Austein --disable-libtool-lock avoid locking (might break parallel builds)"
818bb50f16abdb79ada224cd910d500d5fd71278Rob Austein# Initialize some variables set by options.
818bb50f16abdb79ada224cd910d500d5fd71278Rob Austein# The variables have the same names as the options, with
818bb50f16abdb79ada224cd910d500d5fd71278Rob Austein# dashes changed to underlines.
1e730144b4cbb0767510f5f6adef6666bf861bbbMark Andrews# Initialize some other variables.
5d2568aa9d3218e32bcbe795473e6d2d710a4ab6Mark Andrews# Maximum number of lines to put in a shell here document.
818bb50f16abdb79ada224cd910d500d5fd71278Rob Austein # If the previous option needs an argument, assign it.
2984f8f7bf213642e47affe710851ff0d6580083Mark Andrews if test -n "$ac_prev"; then
2984f8f7bf213642e47affe710851ff0d6580083Mark Andrews eval "$ac_prev=\$ac_option"
f5eb48652c7ec98514256b5b6e6fd7cbc22b1916Andreas Gustafsson -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
2d54cf04fc02db7c369592b6f91bbd1330df3387Andreas Gustafsson # Accept the important Cygnus configure options, so we can diagnose typos.
f7aa8ce0b3cf7f5df618a42beecf8d5517c000acAndreas Gustafsson -bindir | --bindir | --bindi | --bind | --bin | --bi)
fdf2eaf21bf4530114049f3c77421a56d585aabcAndreas Gustafsson -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
f7aa8ce0b3cf7f5df618a42beecf8d5517c000acAndreas Gustafsson -build | --build | --buil | --bui | --bu)
c5b14e2676e8832de77bf63b8f58890d13a6c1e2Andreas Gustafsson -build=* | --build=* | --buil=* | --bui=* | --bu=*)
d5a0b9c15c0a81a982fd7375a195f368c30a47b9Andreas Gustafsson -cache-file | --cache-file | --cache-fil | --cache-fi \
d5a0b9c15c0a81a982fd7375a195f368c30a47b9Andreas Gustafsson | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
d5a0b9c15c0a81a982fd7375a195f368c30a47b9Andreas Gustafsson -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
b1e7bb6aef7f9c559a2b42d8fcc82001d8c83b21Andreas Gustafsson | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
b1e7bb6aef7f9c559a2b42d8fcc82001d8c83b21Andreas Gustafsson -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
b1e7bb6aef7f9c559a2b42d8fcc82001d8c83b21Andreas Gustafsson -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
b1e7bb6aef7f9c559a2b42d8fcc82001d8c83b21Andreas Gustafsson ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
b1e7bb6aef7f9c559a2b42d8fcc82001d8c83b21Andreas Gustafsson # Reject names that are not valid shell variable names.
b1e7bb6aef7f9c559a2b42d8fcc82001d8c83b21Andreas Gustafsson if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
b1e7bb6aef7f9c559a2b42d8fcc82001d8c83b21Andreas Gustafsson { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
b1e7bb6aef7f9c559a2b42d8fcc82001d8c83b21Andreas Gustafsson ac_feature=`echo $ac_feature| sed 's/-/_/g'`
b1e7bb6aef7f9c559a2b42d8fcc82001d8c83b21Andreas Gustafsson eval "enable_${ac_feature}=no" ;;
b1e7bb6aef7f9c559a2b42d8fcc82001d8c83b21Andreas Gustafsson ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
b1e7bb6aef7f9c559a2b42d8fcc82001d8c83b21Andreas Gustafsson # Reject names that are not valid shell variable names.
b1e7bb6aef7f9c559a2b42d8fcc82001d8c83b21Andreas Gustafsson if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
b1e7bb6aef7f9c559a2b42d8fcc82001d8c83b21Andreas Gustafsson { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
b1e7bb6aef7f9c559a2b42d8fcc82001d8c83b21Andreas Gustafsson ac_feature=`echo $ac_feature| sed 's/-/_/g'`
f7aa8ce0b3cf7f5df618a42beecf8d5517c000acAndreas Gustafsson eval "enable_${ac_feature}='$ac_optarg'" ;;
f7aa8ce0b3cf7f5df618a42beecf8d5517c000acAndreas Gustafsson -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2d54cf04fc02db7c369592b6f91bbd1330df3387Andreas Gustafsson | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
fdf2eaf21bf4530114049f3c77421a56d585aabcAndreas Gustafsson -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
b1e7bb6aef7f9c559a2b42d8fcc82001d8c83b21Andreas Gustafsson | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
c7d445ce7f4db5262ba3412eac7b1ee9d053b93dAndreas Gustafsson # Obsolete; use --with-gas.
2d54cf04fc02db7c369592b6f91bbd1330df3387Andreas Gustafsson # Omit some internal or obsolete options to make the list less imposing.
fdf2eaf21bf4530114049f3c77421a56d585aabcAndreas Gustafsson # This message is too long to be a string in the A/UX 3.1 sh.
fdf2eaf21bf4530114049f3c77421a56d585aabcAndreas GustafssonUsage: configure [options] [host]
fdf2eaf21bf4530114049f3c77421a56d585aabcAndreas GustafssonOptions: [defaults in brackets after descriptions]
fdf2eaf21bf4530114049f3c77421a56d585aabcAndreas Gustafsson --cache-file=FILE cache test results in FILE
fdf2eaf21bf4530114049f3c77421a56d585aabcAndreas Gustafsson --help print this message
fdf2eaf21bf4530114049f3c77421a56d585aabcAndreas Gustafsson --no-create do not create output files
36bc6a0a8312de762caf1e984efe15c8e7170d9dAndreas Gustafsson --quiet, --silent do not print \`checking...' messages
2d54cf04fc02db7c369592b6f91bbd1330df3387Andreas Gustafsson --version print the version of autoconf that created configure
b976f9c60a09f4a098852d0653ad5df6842557a7Andreas GustafssonDirectory and file names:
2d54cf04fc02db7c369592b6f91bbd1330df3387Andreas Gustafsson --prefix=PREFIX install architecture-independent files in PREFIX
36bc6a0a8312de762caf1e984efe15c8e7170d9dAndreas Gustafsson [$ac_default_prefix]
20df5357b17d31a3adc4d6f7cfdd9d4f1c5addf2Andreas Gustafsson --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
20df5357b17d31a3adc4d6f7cfdd9d4f1c5addf2Andreas Gustafsson [same as prefix]
2d54cf04fc02db7c369592b6f91bbd1330df3387Andreas Gustafsson --bindir=DIR user executables in DIR [EPREFIX/bin]
fdf2eaf21bf4530114049f3c77421a56d585aabcAndreas Gustafsson --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
c33679b400a69afeeb719addc390a3134f61ecfcAndreas Gustafsson --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
c33679b400a69afeeb719addc390a3134f61ecfcAndreas Gustafsson --datadir=DIR read-only architecture-independent data in DIR
c33679b400a69afeeb719addc390a3134f61ecfcAndreas Gustafsson [PREFIX/share]
c33679b400a69afeeb719addc390a3134f61ecfcAndreas Gustafsson --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
c33679b400a69afeeb719addc390a3134f61ecfcAndreas Gustafsson --sharedstatedir=DIR modifiable architecture-independent data in DIR
36bc6a0a8312de762caf1e984efe15c8e7170d9dAndreas Gustafsson --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
2d54cf04fc02db7c369592b6f91bbd1330df3387Andreas Gustafsson --libdir=DIR object code libraries in DIR [EPREFIX/lib]
fdf2eaf21bf4530114049f3c77421a56d585aabcAndreas Gustafsson --includedir=DIR C header files in DIR [PREFIX/include]
fdf2eaf21bf4530114049f3c77421a56d585aabcAndreas Gustafsson --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
fdf2eaf21bf4530114049f3c77421a56d585aabcAndreas Gustafsson --infodir=DIR info documentation in DIR [PREFIX/info]
fdf2eaf21bf4530114049f3c77421a56d585aabcAndreas Gustafsson --mandir=DIR man documentation in DIR [PREFIX/man]
fdf2eaf21bf4530114049f3c77421a56d585aabcAndreas Gustafsson --srcdir=DIR find the sources in DIR [configure dir or ..]
76458ec215a57c6806afdd831b9c9a30b93344b0Andreas Gustafsson --program-prefix=PREFIX prepend PREFIX to installed program names
2d54cf04fc02db7c369592b6f91bbd1330df3387Andreas Gustafsson --program-suffix=SUFFIX append SUFFIX to installed program names
36bc6a0a8312de762caf1e984efe15c8e7170d9dAndreas Gustafsson --program-transform-name=PROGRAM
36bc6a0a8312de762caf1e984efe15c8e7170d9dAndreas Gustafsson run sed PROGRAM on installed program names
cat << EOF
if test -n "$ac_help"; then
echo "--enable and --with options recognized:$ac_help"
eval "with_${ac_package}='$ac_optarg'" ;;
if test -n "$ac_prev"; then
# 5 compiler messages saved in config.log
for ac_arg
# because not all systems understand e.g. LANG=C (notably SCO).
# confdefs.h avoids OS command line length limits that DEFS can exceed.
echo > confdefs.h
if test -z "$srcdir"; then
srcdir=..
if test -z "$CONFIG_SITE"; then
if test -r "$ac_site_file"; then
echo "loading site script $ac_site_file"
. "$ac_site_file"
if test -r "$cache_file"; then
echo "loading cache $cache_file"
echo "creating cache $cache_file"
ac_ext=c
if test -z "$ac_aux_dir"; then
{ echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
# Make sure we can run config.sub.
NONE)
NONE)
all:
if test -n "$ac_maketemp"; then
if test -n "$RANLIB"; then
if test -n "$RANLIB"; then
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
# ./install, which can be erroneously created by make from ./install.sh.
if test -z "$INSTALL"; then
*-netbsd*)
if test -n "$CC"; then
if test -n "$CC"; then
if test -z "$CC"; then
if test -n "$CC"; then
if test -n "$CC"; then
if test -z "$CC"; then
if test -n "$CC"; then
if test -n "$CC"; then
ac_ext=c
if { (eval echo configure:1032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
ac_ext=c
{ echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
echo "configure:1058: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1072: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
GCC=
if test "$ac_test_CFLAGS" = set; then
if test -n "$YACC"; then
if test -n "$YACC"; then
test -n "$YACC" && break
CPP=
if test -z "$CPP"; then
if test -z "$ac_err"; then
if test -z "$ac_err"; then
if test -z "$ac_err"; then
if test -z "$ac_err"; then
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
if { (eval echo configure:1319: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
if test -z "$ac_err"; then
eval "ac_cv_header_$ac_safe=yes"
eval "ac_cv_header_$ac_safe=no"
ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
if { (eval echo configure:1587: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
eval "ac_cv_lib_$ac_lib_var=yes"
eval "ac_cv_lib_$ac_lib_var=no"
if { (eval echo configure:1632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
eval "ac_cv_lib_$ac_lib_var=yes"
eval "ac_cv_lib_$ac_lib_var=no"
if { (eval echo configure:1679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
eval "ac_cv_lib_$ac_lib_var=yes"
eval "ac_cv_lib_$ac_lib_var=no"
if { (eval echo configure:1732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
eval "ac_cv_lib_$ac_lib_var=yes"
eval "ac_cv_lib_$ac_lib_var=no"
if { (eval echo configure:1782: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
eval "ac_cv_lib_$ac_lib_var=yes"
eval "ac_cv_lib_$ac_lib_var=no"
if { (eval echo configure:1823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
eval "ac_cv_lib_$ac_lib_var=yes"
eval "ac_cv_lib_$ac_lib_var=no"
if { (eval echo configure:1888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
*-linux*)
if { (eval echo configure:1951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
eval "ac_cv_lib_$ac_lib_var=yes"
eval "ac_cv_lib_$ac_lib_var=no"
if { (eval echo configure:1998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
eval "ac_cv_lib_$ac_lib_var=yes"
eval "ac_cv_lib_$ac_lib_var=no"
yes)
NONE)
[\\/]* | [A-Za-z]:[\\/]*)
if test -z "$LD"; then
if test -n "$LD"; then
if test -n "$NM"; then
*-*-irix6*)
*N32*)
if { (eval echo configure:2479: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
# By default, configure uses ./config.cache as the cache file,
# config.status only pays attention to the cache file if you give it the
*ac_space=\ *)
sed -n \
esac >> confcache
if test -w $cache_file; then
echo "updating cache $cache_file"
echo "not updating unwritable cache $cache_file"
if test -r "$cache_file"; then
echo "loading cache $cache_file"
echo "creating cache $cache_file"
# Redirect the config.log output again, so that the ltconfig log is not
O=lo
A=la
if { (eval echo configure:2622: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:2674: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:2726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
# By default, configure uses ./config.cache as the cache file,
# config.status only pays attention to the cache file if you give it the
*ac_space=\ *)
sed -n \
esac >> confcache
if test -w $cache_file; then
echo "updating cache $cache_file"
echo "not updating unwritable cache $cache_file"
if test "x$srcdir" = x.; then
# Without the "./", some shells look in PATH for config.status.
while $ac_more_lines; do
ac_more_lines=false
if test -z "$ac_sed_cmds"; then
if test -z "$ac_sed_cmds"; then
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
.) srcdir=.
# $configure_input" ;;
*) ac_comsub= ;;
s%@configure_input@%$configure_input%g
s%@srcdir@%$srcdir%g
s%@top_srcdir@%$top_srcdir%g
s%@INSTALL@%$INSTALL%g
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
# Transform confdefs.h into a sed script conftest.vals that substitutes
# the proper values into config.h.in to produce config.h. And first:
# Protect against being on the right side of a sed subst in config.status.
# Protect against being in an unquoted here document in config.status.
sed -n -f conftest.hdr confdefs.h > conftest.vals
rm -f conftest.hdr
cat >> conftest.vals <<\EOF
# Break up conftest.vals because some shells have a limit on
rm -f conftest.tail
sed -f conftest.frag conftest.in > conftest.out
rm -f conftest.in
rm -f conftest.vals
rm -f conftest.vals
cat >> $CONFIG_STATUS <<\EOF
rm -f conftest.in
if cmp -s $ac_file conftest.h 2>/dev/null; then
rm -f conftest.h
cat >> $CONFIG_STATUS <<EOF
cat >> $CONFIG_STATUS <<\EOF