configure revision 495c00c1c995c96587b38d2d5fa41f127869d5b8
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# From configure.in Revision: 1.123
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews## libtool.m4 - Configure libtool for the target system. -*-Shell-script-*-
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews## Copyright (C) 1996-1999 Free Software Foundation, Inc.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews## Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews## This program is free software; you can redistribute it and/or modify
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews## it under the terms of the GNU General Public License as published by
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews## the Free Software Foundation; either version 2 of the License, or
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews## (at your option) any later version.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews## This program is distributed in the hope that it will be useful, but
731cc132f22dbc9e0ecd7035dce314a61076d31bAutomatic Updater## WITHOUT ANY WARRANTY; without even the implied warranty of
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews## General Public License for more details.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews## You should have received a copy of the GNU General Public License
e21a2904f02a03fa06b6db04d348f65fe9c67b2bMark Andrews## along with this program; if not, write to the Free Software
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews## As a special exception to the GNU General Public License, if you
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews## distribute this file as part of a program that contains a
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews## configuration script generated by Autoconf, you may include it under
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews## the same distribution terms that you use for the rest of that program.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# serial 40 AC_PROG_LIBTOOL
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# AC_LIBTOOL_DLOPEN - enable checks for dlopen support
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# AC_LIBTOOL_WIN32_DLL - declare package support for building win32 dll's
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# AC_ENABLE_SHARED - implement the --enable-shared flag
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# Usage: AC_ENABLE_SHARED[(DEFAULT)]
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# AC_DISABLE_SHARED - set the default shared flag to --disable-shared
731cc132f22dbc9e0ecd7035dce314a61076d31bAutomatic Updater# AC_ENABLE_STATIC - implement the --enable-static flag
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# Usage: AC_ENABLE_STATIC[(DEFAULT)]
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# AC_DISABLE_STATIC - set the default static flag to --disable-static
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# AC_ENABLE_FAST_INSTALL - implement the --enable-fast-install flag
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# Usage: AC_ENABLE_FAST_INSTALL[(DEFAULT)]
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# AC_ENABLE_FAST_INSTALL - set the default to --disable-fast-install
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# AC_PROG_LD - find the path to the GNU or non-GNU linker
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# AC_PROG_NM - find the path to a BSD-compatible name lister
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# AC_CHECK_LIBM - check for math library
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# AC_LIBLTDL_CONVENIENCE[(dir)] - sets LIBLTDL to the link flags for
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# the libltdl convenience library, adds --enable-ltdl-convenience to
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# the configure arguments. Note that LIBLTDL is not AC_SUBSTed, nor
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# is AC_CONFIG_SUBDIRS called. If DIR is not provided, it is assumed
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# to be `${top_builddir}/libltdl'. Make sure you start DIR with
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# '${top_builddir}/' (note the single quotes!) if your package is not
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# flat, and, if you're not using automake, define top_builddir as
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# appropriate in the Makefiles.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# AC_LIBLTDL_INSTALLABLE[(dir)] - sets LIBLTDL to the link flags for
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# the libltdl installable library, and adds --enable-ltdl-install to
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# the configure arguments. Note that LIBLTDL is not AC_SUBSTed, nor
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# is AC_CONFIG_SUBDIRS called. If DIR is not provided, it is assumed
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# to be `${top_builddir}/libltdl'. Make sure you start DIR with
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# '${top_builddir}/' (note the single quotes!) if your package is not
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# flat, and, if you're not using automake, define top_builddir as
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# appropriate in the Makefiles.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# In the future, this macro may have to be called after AC_PROG_LIBTOOL.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# Guess values for system-dependent variables and create Makefiles.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# Generated automatically using autoconf version 2.13
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# This configure script is free software; the Free Software Foundation
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# gives unlimited permission to copy, distribute and modify it.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# Any additions from configure.in:
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews --with-mit-pthreads use the mit-pthreads thread library"
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews --with-ptl2 use the ptl2 thread library"
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews --with-libtool use GNU libtool"
d71e2e0c61df16ff37c9934c371a4a60c08974f7Mark Andrews --enable-shared[=PKGS] build shared libraries [default=yes]"
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews --enable-static[=PKGS] build static libraries [default=yes]"
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews --enable-fast-install[=PKGS] optimize for fast installation [default=yes]"
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews --with-gnu-ld assume the C compiler uses GNU ld [default=no]"
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews --disable-libtool-lock avoid locking (might break parallel builds)"
d71e2e0c61df16ff37c9934c371a4a60c08974f7Mark Andrews --enable-ipv6 use IPv6 [default=autodetect]"
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews --with-kame[=PATH] use Kame IPv6 [default path /usr/local/v6]"
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# Initialize some variables set by options.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# The variables have the same names as the options, with
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# dashes changed to underlines.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# Initialize some other variables.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# Maximum number of lines to put in a shell here document.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews # If the previous option needs an argument, assign it.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews if test -n "$ac_prev"; then
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews eval "$ac_prev=\$ac_option"
52ece689e0265f9a3e518de5b2539e749f6d35acMark Andrews -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
52ece689e0265f9a3e518de5b2539e749f6d35acMark Andrews # Accept the important Cygnus configure options, so we can diagnose typos.
52ece689e0265f9a3e518de5b2539e749f6d35acMark Andrews -bindir | --bindir | --bindi | --bind | --bin | --bi)
52ece689e0265f9a3e518de5b2539e749f6d35acMark Andrews -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
52ece689e0265f9a3e518de5b2539e749f6d35acMark Andrews -build=* | --build=* | --buil=* | --bui=* | --bu=*)
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews -cache-file | --cache-file | --cache-fil | --cache-fi \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews # Reject names that are not valid shell variable names.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews eval "enable_${ac_feature}=no" ;;
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews # Reject names that are not valid shell variable names.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews eval "enable_${ac_feature}='$ac_optarg'" ;;
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
731cc132f22dbc9e0ecd7035dce314a61076d31bAutomatic Updater # Obsolete; use --with-gas.
731cc132f22dbc9e0ecd7035dce314a61076d31bAutomatic Updater # Omit some internal or obsolete options to make the list less imposing.
731cc132f22dbc9e0ecd7035dce314a61076d31bAutomatic Updater # This message is too long to be a string in the A/UX 3.1 sh.
731cc132f22dbc9e0ecd7035dce314a61076d31bAutomatic UpdaterUsage: configure [options] [host]
731cc132f22dbc9e0ecd7035dce314a61076d31bAutomatic UpdaterOptions: [defaults in brackets after descriptions]
731cc132f22dbc9e0ecd7035dce314a61076d31bAutomatic Updater --cache-file=FILE cache test results in FILE
731cc132f22dbc9e0ecd7035dce314a61076d31bAutomatic Updater --help print this message
731cc132f22dbc9e0ecd7035dce314a61076d31bAutomatic Updater --no-create do not create output files
731cc132f22dbc9e0ecd7035dce314a61076d31bAutomatic Updater --quiet, --silent do not print \`checking...' messages
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews --version print the version of autoconf that created configure
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsDirectory and file names:
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews --prefix=PREFIX install architecture-independent files in PREFIX
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews [$ac_default_prefix]
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews [same as prefix]
d71e2e0c61df16ff37c9934c371a4a60c08974f7Mark Andrews --bindir=DIR user executables in DIR [EPREFIX/bin]
d71e2e0c61df16ff37c9934c371a4a60c08974f7Mark Andrews --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
d71e2e0c61df16ff37c9934c371a4a60c08974f7Mark Andrews --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
d71e2e0c61df16ff37c9934c371a4a60c08974f7Mark Andrews --datadir=DIR read-only architecture-independent data in DIR
d71e2e0c61df16ff37c9934c371a4a60c08974f7Mark Andrews [PREFIX/share]
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews --sharedstatedir=DIR modifiable architecture-independent data in DIR
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews [PREFIX/com]
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
731cc132f22dbc9e0ecd7035dce314a61076d31bAutomatic Updater --libdir=DIR object code libraries in DIR [EPREFIX/lib]
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews --includedir=DIR C header files in DIR [PREFIX/include]
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
d71e2e0c61df16ff37c9934c371a4a60c08974f7Mark Andrews --infodir=DIR info documentation in DIR [PREFIX/info]
d71e2e0c61df16ff37c9934c371a4a60c08974f7Mark Andrews --mandir=DIR man documentation in DIR [PREFIX/man]
d71e2e0c61df16ff37c9934c371a4a60c08974f7Mark Andrews --srcdir=DIR find the sources in DIR [configure dir or ..]
d71e2e0c61df16ff37c9934c371a4a60c08974f7Mark Andrews --program-prefix=PREFIX prepend PREFIX to installed program names
d71e2e0c61df16ff37c9934c371a4a60c08974f7Mark Andrews --program-suffix=SUFFIX append SUFFIX to installed program names
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews --program-transform-name=PROGRAM
d71e2e0c61df16ff37c9934c371a4a60c08974f7Mark Andrews run sed PROGRAM on installed program names
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews --build=BUILD configure for building on BUILD [BUILD=HOST]
d71e2e0c61df16ff37c9934c371a4a60c08974f7Mark Andrews --host=HOST configure for HOST [guessed]
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews --target=TARGET configure for TARGET [TARGET=HOST]
d71e2e0c61df16ff37c9934c371a4a60c08974f7Mark AndrewsFeatures and packages:
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
d71e2e0c61df16ff37c9934c371a4a60c08974f7Mark Andrews --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
d71e2e0c61df16ff37c9934c371a4a60c08974f7Mark Andrews --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
d71e2e0c61df16ff37c9934c371a4a60c08974f7Mark Andrews --x-includes=DIR X include files are in DIR
d71e2e0c61df16ff37c9934c371a4a60c08974f7Mark Andrews --x-libraries=DIR X library files are in DIR
d71e2e0c61df16ff37c9934c371a4a60c08974f7Mark Andrews if test -n "$ac_help"; then
d71e2e0c61df16ff37c9934c371a4a60c08974f7Mark Andrews echo "--enable and --with options recognized:$ac_help"
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews -includedir | --includedir | --includedi | --included | --include \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews -infodir | --infodir | --infodi | --infod | --info | --inf)
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews -localstatedir | --localstatedir | --localstatedi | --localstated \
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews | --localstate | --localstat | --localsta | --localst \
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
if test -n "$AR"; then
if test -n "$ETAGS"; then
test -n "$ETAGS" && break
# the installation, but named.boot/named.conf was in /etc
# would. To change the prefix for everything but leave named.conf
# To put named.conf and named.pid in /usr/local with everything else,
NONE)
*-solaris*)
if test -f "$ac_dir/cc"; 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:1255: \"$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:1281: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1295: \"$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:1542: \"$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___%'`
# HAVE_NETINET6_IN6_H needs to go in platform.h.
if { (eval echo configure:1832: \"$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:1877: \"$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:1924: \"$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:1978: \"$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:2019: \"$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:2060: \"$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"
*-freebsd*)
if { (eval echo configure:2117: \"$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"
*-linux*)
*-solaris*)
if { (eval echo configure:2203: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:2260: \"$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:2307: \"$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"
*-freebsd*)
*-openbsd*)
*-solaris*)
*-solaris*)
if { (eval echo configure:2711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:2760: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:2809: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
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:3172: \"$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
SA=a
no)
yes)
if { (eval echo configure:3356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
no)
no)
yes)
no)
if { (eval echo configure:3451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:3478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:3505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:3554: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:3605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:3644: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
if { (eval echo configure:3692: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
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 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___%'`
# 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