configure revision 0dd8c65bfaa92f544b656e54beb6325908542add
02bc88821c5c853027b20199d178b321093ad2ceMichael Sawyer# Copyright (C) 1996-2001 Internet Software Consortium.
02bc88821c5c853027b20199d178b321093ad2ceMichael Sawyer# Permission to use, copy, modify, and distribute this software for any
02bc88821c5c853027b20199d178b321093ad2ceMichael Sawyer# purpose with or without fee is hereby granted, provided that the above
02bc88821c5c853027b20199d178b321093ad2ceMichael Sawyer# copyright notice and this permission notice appear in all copies.
02bc88821c5c853027b20199d178b321093ad2ceMichael Sawyer# THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
02bc88821c5c853027b20199d178b321093ad2ceMichael Sawyer# DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
02bc88821c5c853027b20199d178b321093ad2ceMichael Sawyer# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
02bc88821c5c853027b20199d178b321093ad2ceMichael Sawyer# INTERNET SOFTWARE CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT,
02bc88821c5c853027b20199d178b321093ad2ceMichael Sawyer# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
02bc88821c5c853027b20199d178b321093ad2ceMichael Sawyer# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
02bc88821c5c853027b20199d178b321093ad2ceMichael Sawyer# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
02bc88821c5c853027b20199d178b321093ad2ceMichael Sawyer# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
813d6c9781d1fb48bb5c1d6d3415e65f7be5eeb0Andreas Gustafsson# From configure.in Revision: 1.237
813d6c9781d1fb48bb5c1d6d3415e65f7be5eeb0Andreas Gustafsson## libtool.m4 - Configure libtool for the target system. -*-Shell-script-*-
02bc88821c5c853027b20199d178b321093ad2ceMichael Sawyer## Copyright (C) 1996-1999, 2000 Free Software Foundation, Inc.
02bc88821c5c853027b20199d178b321093ad2ceMichael Sawyer## Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
02bc88821c5c853027b20199d178b321093ad2ceMichael Sawyer## This program is free software; you can redistribute it and/or modify
02bc88821c5c853027b20199d178b321093ad2ceMichael Sawyer## it under the terms of the GNU General Public License as published by
02bc88821c5c853027b20199d178b321093ad2ceMichael Sawyer## the Free Software Foundation; either version 2 of the License, or
02bc88821c5c853027b20199d178b321093ad2ceMichael Sawyer## (at your option) any later version.
02bc88821c5c853027b20199d178b321093ad2ceMichael Sawyer## This program is distributed in the hope that it will be useful, but
02bc88821c5c853027b20199d178b321093ad2ceMichael Sawyer## WITHOUT ANY WARRANTY; without even the implied warranty of
a2b565626ba9a98eecc7b82cb86c6d68c38d3d94Michael Sawyer## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
a2b565626ba9a98eecc7b82cb86c6d68c38d3d94Michael Sawyer## General Public License for more details.
a2b565626ba9a98eecc7b82cb86c6d68c38d3d94Michael Sawyer## You should have received a copy of the GNU General Public License
a2b565626ba9a98eecc7b82cb86c6d68c38d3d94Michael Sawyer## along with this program; if not, write to the Free Software
a2b565626ba9a98eecc7b82cb86c6d68c38d3d94Michael Sawyer## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
02bc88821c5c853027b20199d178b321093ad2ceMichael Sawyer## As a special exception to the GNU General Public License, if you
a2b565626ba9a98eecc7b82cb86c6d68c38d3d94Michael Sawyer## distribute this file as part of a program that contains a
02bc88821c5c853027b20199d178b321093ad2ceMichael Sawyer## configuration script generated by Autoconf, you may include it under
9e411a82b2c5ff3b9b36f1f44ea35a70ab7a6760Andreas Gustafsson## the same distribution terms that you use for the rest of that program.
02bc88821c5c853027b20199d178b321093ad2ceMichael Sawyer# serial 40 AC_PROG_LIBTOOL
02bc88821c5c853027b20199d178b321093ad2ceMichael Sawyer# AC_LIBTOOL_DLOPEN - enable checks for dlopen support
02bc88821c5c853027b20199d178b321093ad2ceMichael Sawyer# AC_LIBTOOL_WIN32_DLL - declare package support for building win32 dll's
813d6c9781d1fb48bb5c1d6d3415e65f7be5eeb0Andreas Gustafsson# AC_ENABLE_SHARED - implement the --enable-shared flag
9d7c5c2c316f33099e5be337c4802fd6608798b6Andreas Gustafsson# Usage: AC_ENABLE_SHARED[(DEFAULT)]
02bc88821c5c853027b20199d178b321093ad2ceMichael Sawyer# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
02bc88821c5c853027b20199d178b321093ad2ceMichael Sawyer# AC_DISABLE_SHARED - set the default shared flag to --disable-shared
a2b565626ba9a98eecc7b82cb86c6d68c38d3d94Michael Sawyer# AC_ENABLE_STATIC - implement the --enable-static flag
813d6c9781d1fb48bb5c1d6d3415e65f7be5eeb0Andreas Gustafsson# Usage: AC_ENABLE_STATIC[(DEFAULT)]
a2b565626ba9a98eecc7b82cb86c6d68c38d3d94Michael Sawyer# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
813d6c9781d1fb48bb5c1d6d3415e65f7be5eeb0Andreas Gustafsson# AC_DISABLE_STATIC - set the default static flag to --disable-static
a2b565626ba9a98eecc7b82cb86c6d68c38d3d94Michael Sawyer# AC_ENABLE_FAST_INSTALL - implement the --enable-fast-install flag
a2b565626ba9a98eecc7b82cb86c6d68c38d3d94Michael Sawyer# Usage: AC_ENABLE_FAST_INSTALL[(DEFAULT)]
a2b565626ba9a98eecc7b82cb86c6d68c38d3d94Michael Sawyer# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
02bc88821c5c853027b20199d178b321093ad2ceMichael Sawyer# AC_ENABLE_FAST_INSTALL - set the default to --disable-fast-install
# Any additions from configure.in:
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
# Some systems, e.g. RH7, have the Exuberant Ctags etags instead of
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 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:1245: \"$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:1271: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1285: \"$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:1532: \"$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___%'`
yes)
yes)
no)
no)
yes)
no)
if { (eval echo configure:1928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
no)
yes)
# DST_GSSAPI_INC="-I$use_gssapi/include"
# DNS_GSSAPI_LIBS="-L$use_gssapi/lib -lgssapi_krb5"
# AC_MSG_RESULT(using gssapi from $use_gssapi/lib and $use_gssapi/include)
*-openbsd*)
if test -r $devrandom; then
eval "ac_cv_file_$ac_safe=yes"
eval "ac_cv_file_$ac_safe=no"
yes)
use_threads=true
no)
use_threads=false
if $use_threads
*-netbsd*)
use_threads=false
if $use_threads
if { (eval echo configure:2214: \"$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:2259: \"$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: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"
if { (eval echo configure:2349: \"$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:2394: \"$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"
use_threads=false
if $use_threads
if { (eval echo configure:2459: \"$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:2500: \"$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:2541: \"$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:2599: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
*-freebsd*)
if { (eval echo configure:2650: \"$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:2733: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
*-UnixWare*)
if { (eval echo configure:2799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
*-freebsd*)
*-openbsd*)
*-solaris*)
*-solaris*)
*-UnixWare*)
if { (eval echo configure:2907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if $use_threads; then
*-solaris*)
*-UnixWare*)
if { (eval echo configure:3038: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:3095: \"$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:3142: \"$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"
no)
yes)
if test -n "$purify_path"; then
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:3565: \"$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:3887: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
no)
if { (eval echo configure:4012: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:4039: \"$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:4423: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:4472: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:4521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:4574: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:4664: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:4713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:4759: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
if { (eval echo configure:4807: \"$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___%'`
if { (eval echo configure:4954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
if { (eval echo configure:4975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
if { (eval echo configure:4996: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
yes)
yes)
yes)
# Shut up a -Wmissing-prototypes warning from <stdio.h>.
yes)
if test -n "$JADE"; then
test -n "$JADE" && break
if test -n "$TEX"; then
test -n "$TEX" && break
if test -n "$PDFTEX"; then
test -n "$PDFTEX" && break
SGMLDIR=$d
XMLDIR=$d
# 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