configure revision 8313838954d67250d0ed7edf67fba5da0790d1a7
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# From configure.in Revision: 1.148
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
ea94d370123a5892f6c47a97f21d1b28d44bb168Tinderbox User## 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
d8620c7234281056fdfd2ee40cf16636b8281092Tinderbox User# AC_ENABLE_STATIC - implement the --enable-static flag
d8620c7234281056fdfd2ee40cf16636b8281092Tinderbox User# 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
43b94483957d3168796a816ed86cf097518817dcTinderbox User# AC_PROG_NM - find the path to a BSD-compatible name lister
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# AC_CHECK_LIBM - check for math library
f7b41fd9291b8f4dba27e2b57e1d93f0913a4f1dMark Andrews# AC_LIBLTDL_CONVENIENCE[(dir)] - sets LIBLTDL to the link flags for
f7b41fd9291b8f4dba27e2b57e1d93f0913a4f1dMark Andrews# the libltdl convenience library, adds --enable-ltdl-convenience to
f7b41fd9291b8f4dba27e2b57e1d93f0913a4f1dMark Andrews# the configure arguments. Note that LIBLTDL is not AC_SUBSTed, nor
f7b41fd9291b8f4dba27e2b57e1d93f0913a4f1dMark 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
d8620c7234281056fdfd2ee40cf16636b8281092Tinderbox User# '${top_builddir}/' (note the single quotes!) if your package is not
d8620c7234281056fdfd2ee40cf16636b8281092Tinderbox User# flat, and, if you're not using automake, define top_builddir as
d8620c7234281056fdfd2ee40cf16636b8281092Tinderbox User# appropriate in the Makefiles.
d8620c7234281056fdfd2ee40cf16636b8281092Tinderbox User# 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.
a057e8e33baa5fa369be28a9680585200ce3ff73Mark Andrews# Any additions from configure.in:
a057e8e33baa5fa369be28a9680585200ce3ff73Mark Andrews --with-ptl2 on NetBSD, use the ptl2 thread library (experimental)"
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews --with-libtool use GNU libtool (following indented options supported)"
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark 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)"
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews --enable-ipv6 use IPv6 [default=autodetect]"
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews --with-kame[=PATH] use Kame IPv6 [default path /usr/local/v6]"
d71e2e0c61df16ff37c9934c371a4a60c08974f7Mark 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.
dba3c818ae00b10388d31703e86a28415db398acTinderbox User# Initialize some other variables.
dba3c818ae00b10388d31703e86a28415db398acTinderbox User# 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"
97e74139b19368e385a3564746d42db70879195eAutomatic Updater -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
dba3c818ae00b10388d31703e86a28415db398acTinderbox User # Accept the important Cygnus configure options, so we can diagnose typos.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews -bindir | --bindir | --bindi | --bind | --bin | --bi)
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews -build=* | --build=* | --buil=* | --bui=* | --bu=*)
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews -cache-file | --cache-file | --cache-fil | --cache-fi \
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark 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-//'`
f7b41fd9291b8f4dba27e2b57e1d93f0913a4f1dMark Andrews # Reject names that are not valid shell variable names.
f7b41fd9291b8f4dba27e2b57e1d93f0913a4f1dMark 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; }
e2e4d321999340802f77adaacd19c797d04b4b95Automatic Updater ac_feature=`echo $ac_feature| sed 's/-/_/g'`
e2e4d321999340802f77adaacd19c797d04b4b95Automatic Updater eval "enable_${ac_feature}=no" ;;
e2e4d321999340802f77adaacd19c797d04b4b95Automatic Updater ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
e2e4d321999340802f77adaacd19c797d04b4b95Automatic Updater # Reject names that are not valid shell variable names.
e2e4d321999340802f77adaacd19c797d04b4b95Automatic Updater if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
e2e4d321999340802f77adaacd19c797d04b4b95Automatic Updater { 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-=* \
3b4098640dd85040270f39b9a5ee5e22de99d3d6Mark Andrews # Obsolete; use --with-gas.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews # Omit some internal or obsolete options to make the list less imposing.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews # This message is too long to be a string in the A/UX 3.1 sh.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsUsage: configure [options] [host]
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsOptions: [defaults in brackets after descriptions]
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsConfiguration:
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews --cache-file=FILE cache test results in FILE
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews --help print this message
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews --no-create do not create output files
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews --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]
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews --bindir=DIR user executables in DIR [EPREFIX/bin]
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews --datadir=DIR read-only architecture-independent data in DIR
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark 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]
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews --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]
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews --infodir=DIR info documentation in DIR [PREFIX/info]
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews --mandir=DIR man documentation in DIR [PREFIX/man]
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews --srcdir=DIR find the sources in DIR [configure dir or ..]
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews --program-prefix=PREFIX prepend PREFIX to installed program names
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews --program-suffix=SUFFIX append SUFFIX to installed program names
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews --program-transform-name=PROGRAM
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews run sed PROGRAM on installed program names
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews --build=BUILD configure for building on BUILD [BUILD=HOST]
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews --host=HOST configure for HOST [guessed]
43b94483957d3168796a816ed86cf097518817dcTinderbox User --target=TARGET configure for TARGET [TARGET=HOST]
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark 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]
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews --x-includes=DIR X include files are in DIR
43b94483957d3168796a816ed86cf097518817dcTinderbox User --x-libraries=DIR X library files are in DIR
1224c3b69b3d18f7127aa042644936af25a2d679Mark Andrews if test -n "$ac_help"; then
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark 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=* \
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
if test -n "$PERL"; then
test -n "$PERL" && 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
if { (eval echo configure:1131: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
*-netbsd*)
Please install the devel/unproven-pthreads package and rerun configure.
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:1378: \"$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:1404: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1418: \"$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:1665: \"$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:1934: \"$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:1979: \"$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:2026: \"$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:2080: \"$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:2121: \"$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:2162: \"$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:2219: \"$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*)
*-UnixWare*)
if { (eval echo configure:2314: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:2371: \"$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:2418: \"$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*)
*-UnixWare*)
if { (eval echo configure:2851: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:2900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:2949: \"$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:3316: \"$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)
no)
yes)
no)
# Whether netinet6/in6.h is needed has to be defined in isc/platform.h.
*-UnixWare*)
yes)
if { (eval echo configure:3589: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
no)
if { (eval echo configure:3709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:3736: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:3763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:3812: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:3861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:3900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
if { (eval echo configure:3948: \"$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___%'`
yes)
yes)
yes)
# Shut up a -Wmissing-prototypes warning from <stdio.h>.
yes)
# 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