configure revision 3ec6b563d7b6cb11a047f23faa2a0f206ccd93e7
39439c95488c2e66ea8b35c47f75e9ec2508d8fbslive# Copyright (C) 1996-2000 Internet Software Consortium.
acc36ab93565d2880447d535da6ca6e5feac7a70nd# Permission to use, copy, modify, and distribute this software for any
acc36ab93565d2880447d535da6ca6e5feac7a70nd# purpose with or without fee is hereby granted, provided that the above
6fbd2e53c97ea6976d93e0ac521adabc55e0fb73nd# copyright notice and this permission notice appear in all copies.
acc36ab93565d2880447d535da6ca6e5feac7a70nd# THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
acc36ab93565d2880447d535da6ca6e5feac7a70nd# DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
acc36ab93565d2880447d535da6ca6e5feac7a70nd# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
acc36ab93565d2880447d535da6ca6e5feac7a70nd# INTERNET SOFTWARE CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT,
acc36ab93565d2880447d535da6ca6e5feac7a70nd# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
acc36ab93565d2880447d535da6ca6e5feac7a70nd# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
acc36ab93565d2880447d535da6ca6e5feac7a70nd# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
acc36ab93565d2880447d535da6ca6e5feac7a70nd# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
acc36ab93565d2880447d535da6ca6e5feac7a70nd# From configure.in Revision: 1.175
acc36ab93565d2880447d535da6ca6e5feac7a70nd## libtool.m4 - Configure libtool for the target system. -*-Shell-script-*-
acc36ab93565d2880447d535da6ca6e5feac7a70nd## Copyright (C) 1996-1999 Free Software Foundation, Inc.
7db9f691a00ead175b03335457ca296a33ddf31bnd## Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
39439c95488c2e66ea8b35c47f75e9ec2508d8fbslive## This program is free software; you can redistribute it and/or modify
39439c95488c2e66ea8b35c47f75e9ec2508d8fbslive## it under the terms of the GNU General Public License as published by
39439c95488c2e66ea8b35c47f75e9ec2508d8fbslive## the Free Software Foundation; either version 2 of the License, or
39439c95488c2e66ea8b35c47f75e9ec2508d8fbslive## (at your option) any later version.
a01a25d738ef02bac5955f731e88bd05b0d59314erikabele## This program is distributed in the hope that it will be useful, but
a01a25d738ef02bac5955f731e88bd05b0d59314erikabele## WITHOUT ANY WARRANTY; without even the implied warranty of
f645060d8ff9eaae181d194203eb3a750c3ca451nd## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
a01a25d738ef02bac5955f731e88bd05b0d59314erikabele## General Public License for more details.
39439c95488c2e66ea8b35c47f75e9ec2508d8fbslive## You should have received a copy of the GNU General Public License
39439c95488c2e66ea8b35c47f75e9ec2508d8fbslive## along with this program; if not, write to the Free Software
39439c95488c2e66ea8b35c47f75e9ec2508d8fbslive## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
39439c95488c2e66ea8b35c47f75e9ec2508d8fbslive## As a special exception to the GNU General Public License, if you
39439c95488c2e66ea8b35c47f75e9ec2508d8fbslive## distribute this file as part of a program that contains a
cc73664233a489a51e53e6ded48ddab6c6668924kess## configuration script generated by Autoconf, you may include it under
7b02e31b0f0bbca080ed78d2ec5a1398a7388202slive## the same distribution terms that you use for the rest of that program.
7b02e31b0f0bbca080ed78d2ec5a1398a7388202slive# serial 40 AC_PROG_LIBTOOL
39439c95488c2e66ea8b35c47f75e9ec2508d8fbslive# AC_LIBTOOL_DLOPEN - enable checks for dlopen support
39439c95488c2e66ea8b35c47f75e9ec2508d8fbslive# AC_LIBTOOL_WIN32_DLL - declare package support for building win32 dll's
39439c95488c2e66ea8b35c47f75e9ec2508d8fbslive# AC_ENABLE_SHARED - implement the --enable-shared flag
39439c95488c2e66ea8b35c47f75e9ec2508d8fbslive# Usage: AC_ENABLE_SHARED[(DEFAULT)]
39439c95488c2e66ea8b35c47f75e9ec2508d8fbslive# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
7b02e31b0f0bbca080ed78d2ec5a1398a7388202slive# AC_DISABLE_SHARED - set the default shared flag to --disable-shared
7b02e31b0f0bbca080ed78d2ec5a1398a7388202slive# AC_ENABLE_STATIC - implement the --enable-static flag
7b02e31b0f0bbca080ed78d2ec5a1398a7388202slive# Usage: AC_ENABLE_STATIC[(DEFAULT)]
7b02e31b0f0bbca080ed78d2ec5a1398a7388202slive# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
7b02e31b0f0bbca080ed78d2ec5a1398a7388202slive# AC_DISABLE_STATIC - set the default static flag to --disable-static
39439c95488c2e66ea8b35c47f75e9ec2508d8fbslive# AC_ENABLE_FAST_INSTALL - implement the --enable-fast-install flag
39439c95488c2e66ea8b35c47f75e9ec2508d8fbslive# Usage: AC_ENABLE_FAST_INSTALL[(DEFAULT)]
39439c95488c2e66ea8b35c47f75e9ec2508d8fbslive# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
7b02e31b0f0bbca080ed78d2ec5a1398a7388202slive# AC_ENABLE_FAST_INSTALL - set the default to --disable-fast-install
39439c95488c2e66ea8b35c47f75e9ec2508d8fbslive# AC_PROG_LD - find the path to the GNU or non-GNU linker
39439c95488c2e66ea8b35c47f75e9ec2508d8fbslive# AC_PROG_NM - find the path to a BSD-compatible name lister
39439c95488c2e66ea8b35c47f75e9ec2508d8fbslive# AC_CHECK_LIBM - check for math library
39439c95488c2e66ea8b35c47f75e9ec2508d8fbslive# AC_LIBLTDL_CONVENIENCE[(dir)] - sets LIBLTDL to the link flags for
39439c95488c2e66ea8b35c47f75e9ec2508d8fbslive# the libltdl convenience library, adds --enable-ltdl-convenience to
39439c95488c2e66ea8b35c47f75e9ec2508d8fbslive# the configure arguments. Note that LIBLTDL is not AC_SUBSTed, nor
39439c95488c2e66ea8b35c47f75e9ec2508d8fbslive# is AC_CONFIG_SUBDIRS called. If DIR is not provided, it is assumed
39439c95488c2e66ea8b35c47f75e9ec2508d8fbslive# to be `${top_builddir}/libltdl'. Make sure you start DIR with
39439c95488c2e66ea8b35c47f75e9ec2508d8fbslive# '${top_builddir}/' (note the single quotes!) if your package is not
39439c95488c2e66ea8b35c47f75e9ec2508d8fbslive# flat, and, if you're not using automake, define top_builddir as
39439c95488c2e66ea8b35c47f75e9ec2508d8fbslive# appropriate in the Makefiles.
39439c95488c2e66ea8b35c47f75e9ec2508d8fbslive# AC_LIBLTDL_INSTALLABLE[(dir)] - sets LIBLTDL to the link flags for
39439c95488c2e66ea8b35c47f75e9ec2508d8fbslive# the libltdl installable library, and adds --enable-ltdl-install to
39439c95488c2e66ea8b35c47f75e9ec2508d8fbslive# the configure arguments. Note that LIBLTDL is not AC_SUBSTed, nor
39439c95488c2e66ea8b35c47f75e9ec2508d8fbslive# is AC_CONFIG_SUBDIRS called. If DIR is not provided, it is assumed
39439c95488c2e66ea8b35c47f75e9ec2508d8fbslive# to be `${top_builddir}/libltdl'. Make sure you start DIR with
39439c95488c2e66ea8b35c47f75e9ec2508d8fbslive# '${top_builddir}/' (note the single quotes!) if your package is not
39439c95488c2e66ea8b35c47f75e9ec2508d8fbslive# flat, and, if you're not using automake, define top_builddir as
39439c95488c2e66ea8b35c47f75e9ec2508d8fbslive# appropriate in the Makefiles.
39439c95488c2e66ea8b35c47f75e9ec2508d8fbslive# In the future, this macro may have to be called after AC_PROG_LIBTOOL.
39439c95488c2e66ea8b35c47f75e9ec2508d8fbslive# Guess values for system-dependent variables and create Makefiles.
7b02e31b0f0bbca080ed78d2ec5a1398a7388202slive# Generated automatically using autoconf version 2.13
7b02e31b0f0bbca080ed78d2ec5a1398a7388202slive# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
7b02e31b0f0bbca080ed78d2ec5a1398a7388202slive# This configure script is free software; the Free Software Foundation
7b02e31b0f0bbca080ed78d2ec5a1398a7388202slive# gives unlimited permission to copy, distribute and modify it.
7b02e31b0f0bbca080ed78d2ec5a1398a7388202slive# Any additions from configure.in:
7b02e31b0f0bbca080ed78d2ec5a1398a7388202slive --with-openssl=PATH Specify path for system-supplied openssl
7b02e31b0f0bbca080ed78d2ec5a1398a7388202slive (rather than using bind-9 internal openssl)"
39439c95488c2e66ea8b35c47f75e9ec2508d8fbslive --with-gssapi=PATH Specify path for system-supplied GSSAPI"
39439c95488c2e66ea8b35c47f75e9ec2508d8fbslive --with-ptl2 on NetBSD, use the ptl2 thread library (experimental)"
39439c95488c2e66ea8b35c47f75e9ec2508d8fbslive --with-libtool use GNU libtool (following indented options supported)"
39439c95488c2e66ea8b35c47f75e9ec2508d8fbslive --enable-shared[=PKGS] build shared libraries [default=yes]"
39439c95488c2e66ea8b35c47f75e9ec2508d8fbslive --enable-static[=PKGS] build static libraries [default=yes]"
39439c95488c2e66ea8b35c47f75e9ec2508d8fbslive --enable-fast-install[=PKGS] optimize for fast installation [default=yes]"
39439c95488c2e66ea8b35c47f75e9ec2508d8fbslive --with-gnu-ld assume the C compiler uses GNU ld [default=no]"
a01a25d738ef02bac5955f731e88bd05b0d59314erikabele --disable-libtool-lock avoid locking (might break parallel builds)"
program_transform_name=s,x,x,
site=
for ac_option
if test -n "$ac_prev"; then
eval "$ac_prev=\$ac_option"
*) ac_optarg= ;;
| --da=*)
eval "enable_${ac_feature}='$ac_optarg'" ;;
cat << EOF
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
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:1157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
no)
yes)
no)
yes)
*-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:1458: \"$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:1484: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1498: \"$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:1745: \"$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___%'`
*-netbsd*)
if { (eval echo configure:2018: \"$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:2063: \"$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:2110: \"$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:2165: \"$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:2206: \"$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:2247: \"$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:2304: \"$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:2385: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
*-UnixWare*)
if { (eval echo configure:2451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:2506: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:2563: \"$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:2610: \"$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*)
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:3016: \"$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:3294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
no)
if { (eval echo configure:3416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:3443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:3470: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:3827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:3876: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:3925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:4017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:4066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:4105: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
if { (eval echo configure:4153: \"$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
chmod a+x isc-config.sh