configure revision a32e981584086e46b603f9b97c8b9f827353fa83
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont# Copyright (C) 1996-2001 Internet Software Consortium.
6ea2385360e9e2167e65f9286447da9eea189457Tinderbox User# Permission to use, copy, modify, and distribute this software for any
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont# purpose with or without fee is hereby granted, provided that the above
db0008c4486414b81e90dca9938e1fc2320e5133Automatic Updater# copyright notice and this permission notice appear in all copies.
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont# THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont# DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont# INTERNET SOFTWARE CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT,
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont# Portions Copyright (C) 1996-2001 Nominum, Inc.
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont# Permission to use, copy, modify, and distribute this software for any
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont# purpose with or without fee is hereby granted, provided that the above
cf58feee56bf1afb8c2909f399a6f1e28d0dbf68Jeremy Reed# copyright notice and this permission notice appear in all copies.
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont# THE SOFTWARE IS PROVIDED "AS IS" AND NOMINUM DISCLAIMS ALL WARRANTIES
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL NOMINUM BE LIABLE FOR
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont# OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont# From configure.in Revision: 1.291
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont# libtool.m4 - Configure libtool for the host system. -*-Shell-script-*-
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont## Copyright 1996, 1997, 1998, 1999, 2000, 2001
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont## Free Software Foundation, Inc.
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont## Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
26d8ffe715e74d1e67d268551449b780fec1b95fAutomatic Updater## This program is free software; you can redistribute it and/or modify
ca4e44ebe8f3b29a426fe047c4192262ca660c6fAutomatic Updater## it under the terms of the GNU General Public License as published by
784a904bd06c7492361ed09a882d10c636b1291bAutomatic Updater## the Free Software Foundation; either version 2 of the License, or
99d8f5a70440ee8b63ab1745d713b96dde890546Tinderbox User## (at your option) any later version.
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont## This program is distributed in the hope that it will be useful, but
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont## WITHOUT ANY WARRANTY; without even the implied warranty of
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont## General Public License for more details.
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont## You should have received a copy of the GNU General Public License
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont## along with this program; if not, write to the Free Software
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
d1f39121a69b6afa6c0c9e44eceb60910d1d7f81Evan Hunt## As a special exception to the GNU General Public License, if you
1f821c10583d9cddbaf3626a96ff8cf10cdb645bFrancis Dupont## distribute this file as part of a program that contains a
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont## configuration script generated by Autoconf, you may include it under
1f821c10583d9cddbaf3626a96ff8cf10cdb645bFrancis Dupont## the same distribution terms that you use for the rest of that program.
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont# serial 46 AC_PROG_LIBTOOL
61bcc232038f0a2cb77ed6269675fdc288f5ec98Evan Hunt# _LT_AC_CHECK_DLFCN
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont# --------------------
1f821c10583d9cddbaf3626a96ff8cf10cdb645bFrancis Dupont# _LT_AC_CHECK_DLFCN
1f821c10583d9cddbaf3626a96ff8cf10cdb645bFrancis Dupont# AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont# ---------------------------------
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont# _LT_AC_LIBTOOL_SYS_PATH_SEPARATOR
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont# ---------------------------------
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont# _LT_AC_LIBTOOL_SYS_PATH_SEPARATOR
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont# _LT_AC_PROG_ECHO_BACKSLASH
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont# --------------------------
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont# Add some code to the start of the generated configure script which
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont# will find an echo command which doesn;t interpret backslashes.
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont# _LT_AC_PROG_ECHO_BACKSLASH
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont# _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
1f821c10583d9cddbaf3626a96ff8cf10cdb645bFrancis Dupont# ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
1f821c10583d9cddbaf3626a96ff8cf10cdb645bFrancis Dupont# ------------------------------------------------------------------
1f821c10583d9cddbaf3626a96ff8cf10cdb645bFrancis Dupont# _LT_AC_TRY_DLOPEN_SELF
1f821c10583d9cddbaf3626a96ff8cf10cdb645bFrancis Dupont# AC_LIBTOOL_DLOPEN_SELF
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont# -------------------
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont# AC_LIBTOOL_DLOPEN_SELF
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont# _LT_AC_LTCONFIG_HACK
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont# AC_LIBTOOL_DLOPEN - enable checks for dlopen support
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont# AC_LIBTOOL_WIN32_DLL - declare package support for building win32 dll's
cc6cddfd94e8f0c58c290317b0853dac30b1b895Evan Hunt# AC_ENABLE_SHARED - implement the --enable-shared flag
aaaf8d4f4873d21e55c3ffb4f656203d08339865Mark Andrews# Usage: AC_ENABLE_SHARED[(DEFAULT)]
aaaf8d4f4873d21e55c3ffb4f656203d08339865Mark Andrews# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
d1f39121a69b6afa6c0c9e44eceb60910d1d7f81Evan Hunt# AC_DISABLE_SHARED - set the default shared flag to --disable-shared
cc6cddfd94e8f0c58c290317b0853dac30b1b895Evan Hunt# AC_ENABLE_STATIC - implement the --enable-static flag
cc6cddfd94e8f0c58c290317b0853dac30b1b895Evan Hunt# Usage: AC_ENABLE_STATIC[(DEFAULT)]
d1f39121a69b6afa6c0c9e44eceb60910d1d7f81Evan Hunt# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont# AC_DISABLE_STATIC - set the default static flag to --disable-static
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont# AC_ENABLE_FAST_INSTALL - implement the --enable-fast-install flag
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont# Usage: AC_ENABLE_FAST_INSTALL[(DEFAULT)]
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
d1f39121a69b6afa6c0c9e44eceb60910d1d7f81Evan Hunt# AC_DISABLE_FAST_INSTALL - set the default to --disable-fast-install
d1f39121a69b6afa6c0c9e44eceb60910d1d7f81Evan Hunt# AC_LIBTOOL_PICMODE - implement the --with-pic flag
d1f39121a69b6afa6c0c9e44eceb60910d1d7f81Evan Hunt# Usage: AC_LIBTOOL_PICMODE[(MODE)]
d1f39121a69b6afa6c0c9e44eceb60910d1d7f81Evan Hunt# Where MODE is either `yes' or `no'. If omitted, it defaults to
8b78c993cb475cc94e88560941b28c37684789d9Francis Dupont# AC_PATH_TOOL_PREFIX - find a file program which can recognise shared library
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunt# AC_PATH_MAGIC - find a file program which can recognise a shared library
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunt# AC_PROG_LD - find the path to the GNU or non-GNU linker
ba751492fcc4f161a18b983d4f018a1a52938cb9Evan Hunt# AC_PROG_LD_GNU -
8b78c993cb475cc94e88560941b28c37684789d9Francis Dupont# AC_PROG_LD_RELOAD_FLAG - find reload flag for linker
8b78c993cb475cc94e88560941b28c37684789d9Francis Dupont# -- PORTME Some linkers may need a different reload flag.
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont# AC_DEPLIBS_CHECK_METHOD - how to check for library dependencies
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont# -- PORTME fill in with the dynamic library characteristics
08c67b5b7a54047fbfed423a59b48c86177b9859Evan Hunt# AC_PROG_NM - find the path to a BSD-compatible name lister
08c67b5b7a54047fbfed423a59b48c86177b9859Evan Hunt# AC_CHECK_LIBM - check for math library
08c67b5b7a54047fbfed423a59b48c86177b9859Evan Hunt# AC_LIBLTDL_CONVENIENCE[(dir)] - sets LIBLTDL to the link flags for
08c67b5b7a54047fbfed423a59b48c86177b9859Evan Hunt# the libltdl convenience library and INCLTDL to the include flags for
08c67b5b7a54047fbfed423a59b48c86177b9859Evan Hunt# the libltdl header and adds --enable-ltdl-convenience to the
08c67b5b7a54047fbfed423a59b48c86177b9859Evan Hunt# configure arguments. Note that LIBLTDL and INCLTDL are not
08c67b5b7a54047fbfed423a59b48c86177b9859Evan Hunt# AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If DIR is not
08c67b5b7a54047fbfed423a59b48c86177b9859Evan Hunt# provided, it is assumed to be `libltdl'. LIBLTDL will be prefixed
08c67b5b7a54047fbfed423a59b48c86177b9859Evan Hunt# with '${top_builddir}/' and INCLTDL will be prefixed with
08c67b5b7a54047fbfed423a59b48c86177b9859Evan Hunt# '${top_srcdir}/' (note the single quotes!). If your package is not
08c67b5b7a54047fbfed423a59b48c86177b9859Evan Hunt# flat and you're not using automake, define top_builddir and
08c67b5b7a54047fbfed423a59b48c86177b9859Evan Hunt# top_srcdir appropriately in the Makefiles.
08c67b5b7a54047fbfed423a59b48c86177b9859Evan Hunt# AC_LIBLTDL_INSTALLABLE[(dir)] - sets LIBLTDL to the link flags for
08c67b5b7a54047fbfed423a59b48c86177b9859Evan Hunt# the libltdl installable library and INCLTDL to the include flags for
08c67b5b7a54047fbfed423a59b48c86177b9859Evan Hunt# the libltdl header and adds --enable-ltdl-install to the configure
08c67b5b7a54047fbfed423a59b48c86177b9859Evan Hunt# arguments. Note that LIBLTDL and INCLTDL are not AC_SUBSTed, nor is
08c67b5b7a54047fbfed423a59b48c86177b9859Evan Hunt# AC_CONFIG_SUBDIRS called. If DIR is not provided and an installed
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont# libltdl is not found, it is assumed to be `libltdl'. LIBLTDL will
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont# be prefixed with '${top_builddir}/' and INCLTDL will be prefixed
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont# with '${top_srcdir}/' (note the single quotes!). If your package is
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont# not flat and you're not using automake, define top_builddir and
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont# top_srcdir appropriately in the Makefiles.
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont# In the future, this macro may have to be called after AC_PROG_LIBTOOL.
1f821c10583d9cddbaf3626a96ff8cf10cdb645bFrancis Dupont# This is just to silence aclocal about the macro not being used
1f821c10583d9cddbaf3626a96ff8cf10cdb645bFrancis Dupont# Guess values for system-dependent variables and create Makefiles.
1f821c10583d9cddbaf3626a96ff8cf10cdb645bFrancis Dupont# Generated automatically using autoconf version 2.13
1f821c10583d9cddbaf3626a96ff8cf10cdb645bFrancis Dupont# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
1f821c10583d9cddbaf3626a96ff8cf10cdb645bFrancis Dupont# This configure script is free software; the Free Software Foundation
1f821c10583d9cddbaf3626a96ff8cf10cdb645bFrancis Dupont# gives unlimited permission to copy, distribute and modify it.
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont# Any additions from configure.in:
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont --with-openssl=PATH Specify path for system-supplied openssl
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont (required for DNSSEC)"
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont --with-randomdev=PATH Specify path for random device"
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont --enable-threads enable multithreading"
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont --with-ptl2 on NetBSD, use the ptl2 thread library (experimental)"
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont --with-purify[=PATH] use Rational purify"
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont --with-libtool use GNU libtool (following indented options supported)"
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont --enable-shared[=PKGS] build shared libraries [default=yes]"
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont --enable-static[=PKGS] build static libraries [default=yes]"
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont --enable-fast-install[=PKGS] optimize for fast installation [default=yes]"
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont --with-gnu-ld assume the C compiler uses GNU ld [default=no]"
b843f577bbcd6660fbaa506d9e55b156c689a5a8Evan Hunt# Find the correct PATH separator. Usually this is `:', but
b843f577bbcd6660fbaa506d9e55b156c689a5a8Evan Hunt# DJGPP uses `;' like DOS.
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont# Check that we are running under the correct shell.
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont # Remove one level of quotation (which was required for Make).
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
553ead32ff5b00284e574dcabc39115d4d74ec66Evan Hunt # Discard the --no-reexec flag, and continue.
553ead32ff5b00284e574dcabc39115d4d74ec66Evan Hunt # Avoid inline document here, it may be left over
553ead32ff5b00284e574dcabc39115d4d74ec66Evan Huntelif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont # Yippee, $echo works!
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont # Restart under the correct shell.
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont # used as fallback echo
61bcc232038f0a2cb77ed6269675fdc288f5ec98Evan Hunt# The HP-UX ksh and POSIX shell print the target directory to stdout
61bcc232038f0a2cb77ed6269675fdc288f5ec98Evan Hunt# if CDPATH is set.
61bcc232038f0a2cb77ed6269675fdc288f5ec98Evan Huntif test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
61bcc232038f0a2cb77ed6269675fdc288f5ec98Evan Huntif test -z "$ECHO"; then
61bcc232038f0a2cb77ed6269675fdc288f5ec98Evan Hunt# find a string as large as possible, as long as the shell can cope with it
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont if (echo_test_string="`eval $cmd`") 2>/dev/null &&
1f821c10583d9cddbaf3626a96ff8cf10cdb645bFrancis Dupont (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
2a31bd531072824ef252c18303859d6af7451b00Francis Dupontif test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont test "X$echo_testing_string" = "X$echo_test_string"; then
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont # The Solaris, AIX, and Digital Unix default echo programs unquote
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont # backslashes. This makes it impossible to quote backslashes using
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont # echo "$something" | sed 's/\\/\\\\/g'
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont # So, first we look for a working echo in the user's PATH.
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont IFS="${IFS= }"; save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR}"
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont test "X$echo_testing_string" = "X$echo_test_string"; then
8a198fa776a09beb4dabf40b73a54d9c7bd70ac9Evan Hunt # We didn't find a better echo, so look for alternatives.
8a198fa776a09beb4dabf40b73a54d9c7bd70ac9Evan Hunt if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
8a198fa776a09beb4dabf40b73a54d9c7bd70ac9Evan Hunt echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
8a198fa776a09beb4dabf40b73a54d9c7bd70ac9Evan Hunt test "X$echo_testing_string" = "X$echo_test_string"; then
8a198fa776a09beb4dabf40b73a54d9c7bd70ac9Evan Hunt # This shell has a builtin print -r that does the trick.
8a198fa776a09beb4dabf40b73a54d9c7bd70ac9Evan Hunt echo='print -r'
8a198fa776a09beb4dabf40b73a54d9c7bd70ac9Evan Hunt elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
8a198fa776a09beb4dabf40b73a54d9c7bd70ac9Evan Hunt # If we have ksh, try running configure again with it.
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
1f821c10583d9cddbaf3626a96ff8cf10cdb645bFrancis Dupont # Try using printf.
1f821c10583d9cddbaf3626a96ff8cf10cdb645bFrancis Dupont echo='printf %s\n'
1f821c10583d9cddbaf3626a96ff8cf10cdb645bFrancis Dupont if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
1f821c10583d9cddbaf3626a96ff8cf10cdb645bFrancis Dupont echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
1f821c10583d9cddbaf3626a96ff8cf10cdb645bFrancis Dupont test "X$echo_testing_string" = "X$echo_test_string"; then
1f821c10583d9cddbaf3626a96ff8cf10cdb645bFrancis Dupont # Cool, printf works
1f821c10583d9cddbaf3626a96ff8cf10cdb645bFrancis Dupont elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
1f821c10583d9cddbaf3626a96ff8cf10cdb645bFrancis Dupont echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
a165a17a81ff3285f4f4d79785fafb465e626183Evan Hunt test "X$echo_testing_string" = "X$echo_test_string"; then
1f821c10583d9cddbaf3626a96ff8cf10cdb645bFrancis Dupont echo="$CONFIG_SHELL $0 --fallback-echo"
1f821c10583d9cddbaf3626a96ff8cf10cdb645bFrancis Dupont elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
1f821c10583d9cddbaf3626a96ff8cf10cdb645bFrancis Dupont echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
1f821c10583d9cddbaf3626a96ff8cf10cdb645bFrancis Dupont test "X$echo_testing_string" = "X$echo_test_string"; then
1f821c10583d9cddbaf3626a96ff8cf10cdb645bFrancis Dupont echo="$CONFIG_SHELL $0 --fallback-echo"
b843f577bbcd6660fbaa506d9e55b156c689a5a8Evan Hunt # maybe with a smaller string...
1f821c10583d9cddbaf3626a96ff8cf10cdb645bFrancis Dupont for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
1f821c10583d9cddbaf3626a96ff8cf10cdb645bFrancis Dupont if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
1f821c10583d9cddbaf3626a96ff8cf10cdb645bFrancis Dupont exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
1f821c10583d9cddbaf3626a96ff8cf10cdb645bFrancis Dupont # Oops. We lost completely, so just stick with echo.
1f821c10583d9cddbaf3626a96ff8cf10cdb645bFrancis Dupont# Copy echo and quote the copy suitably for passing to libtool from
1f821c10583d9cddbaf3626a96ff8cf10cdb645bFrancis Dupont# the Makefile, instead of quoting the original, which is used later.
1f821c10583d9cddbaf3626a96ff8cf10cdb645bFrancis Dupontif test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
b843f577bbcd6660fbaa506d9e55b156c689a5a8Evan Hunt --disable-libtool-lock avoid locking (might break parallel builds)"
1f821c10583d9cddbaf3626a96ff8cf10cdb645bFrancis Dupont --with-pic try to use only PIC/non-PIC objects [default=use both]"
1f821c10583d9cddbaf3626a96ff8cf10cdb645bFrancis Dupont --enable-libbind build libbind [default=no]"
1f821c10583d9cddbaf3626a96ff8cf10cdb645bFrancis Dupont --enable-ipv6 use IPv6 [default=autodetect]"
1f821c10583d9cddbaf3626a96ff8cf10cdb645bFrancis Dupont --with-kame[=PATH] use Kame IPv6 [default path /usr/local/v6]"
b843f577bbcd6660fbaa506d9e55b156c689a5a8Evan Hunt --disable-linux-caps disable linux capabilities"
1f821c10583d9cddbaf3626a96ff8cf10cdb645bFrancis Dupont# Initialize some variables set by options.
1f821c10583d9cddbaf3626a96ff8cf10cdb645bFrancis Dupont# The variables have the same names as the options, with
1f821c10583d9cddbaf3626a96ff8cf10cdb645bFrancis Dupont# dashes changed to underlines.
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont# Initialize some other variables.
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont# Maximum number of lines to put in a shell here document.
1f821c10583d9cddbaf3626a96ff8cf10cdb645bFrancis Dupont # If the previous option needs an argument, assign it.
1f821c10583d9cddbaf3626a96ff8cf10cdb645bFrancis Dupont if test -n "$ac_prev"; then
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont eval "$ac_prev=\$ac_option"
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont # Accept the important Cygnus configure options, so we can diagnose typos.
08c67b5b7a54047fbfed423a59b48c86177b9859Evan Hunt -bindir | --bindir | --bindi | --bind | --bin | --bi)
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont -build=* | --build=* | --buil=* | --bui=* | --bu=*)
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont -cache-file | --cache-file | --cache-fil | --cache-fi \
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
| --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:1491: \"$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:1517: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1531: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
GCC=
if test "$ac_test_CFLAGS" = set; then
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:1743: \"$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:1952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
yes)
yes)
no)
no)
yes)
no)
if { (eval echo configure:2263: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
no)
use_openssl=$d
{ echo "configure: error: OpenSSL was not found in any of $openssldirs; use --with-openssl=/path" 1>&2; exit 1; }
if { (eval echo configure:2352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
# 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)
no)
use_threads=true ;;
use_threads=false ;;
use_threads=true ;;
use_threads=true ;;
use_threads=false ;;
use_threads=true ;;
use_threads=true ;;
use_threads=false ;;
*-netbsd*)
use_threads=false ;;
*-openbsd*)
use_threads=false ;;
*-freebsd*)
use_threads=false ;;
*-bsdi*)
use_threads=false ;;
*-linux*)
use_threads=false ;;
use_threads=false ;;
yes)
use_threads=true
no)
use_threads=false
if $use_threads
if $use_threads
*-netbsd*)
if $use_threads
if { (eval echo configure:2638: \"$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:2683: \"$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:2728: \"$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:2773: \"$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:2818: \"$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 $use_threads
if { (eval echo configure:2883: \"$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:2924: \"$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:2965: \"$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:3023: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
*-freebsd*)
if { (eval echo configure:3074: \"$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:3157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:3223: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
*-freebsd*)
*-openbsd*)
*-solaris*)
*-solaris*)
if { (eval echo configure:3332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:3383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if $use_threads; then
*-solaris*)
if { (eval echo configure:3514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:3571: \"$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:3618: \"$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)
*-*-mingw*)
[\\/]* | [A-Za-z]:[\\/]*)
if test -z "$LD"; then
if test -n "$LD"; then
if test -n "$NM"; then
if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
beos*)
bsdi4*)
lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1`
freebsd*)
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
gnu*)
irix5*)
lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
netbsd*)
newos6*)
solaris*)
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
ncr)
sni)
{ echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }
*.c | *.o | *.obj) ;;
{ echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
aix*)
lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
irix*)
mingw*)
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
if { (eval echo configure:4381: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\") 1>&5; (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5; } && test -s "$nlist"; then
sed "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" >> conftest.$ac_ext
if { (eval echo configure:4432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
if test -z "$lt_cv_sys_global_symbol_pipe"; then
if test -z "$global_symbol_pipe$global_symbol_to_cdecl"; 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 -n "$file_magic_test_file"; then
if test -n "$MAGIC_CMD"; then
if test -z "$lt_cv_path_MAGIC_CMD"; then
if test -n "$ac_tool_prefix"; then
if test -n "$file_magic_test_file"; then
if test -n "$MAGIC_CMD"; then
if test -n "$RANLIB"; then
if test -n "$RANLIB"; then
if test -z "$ac_cv_prog_RANLIB"; then
if test -n "$ac_tool_prefix"; then
if test -n "$RANLIB"; then
if test -n "$RANLIB"; then
if test -n "$STRIP"; then
if test -n "$STRIP"; then
if test -z "$ac_cv_prog_STRIP"; then
if test -n "$ac_tool_prefix"; then
if test -n "$STRIP"; then
if test -n "$STRIP"; then
*-*-irix6*)
*N32*)
ac_ext=c
if { (eval echo configure:4846: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
ac_ext=c
libext=a
aix3*)
export COLLECT_NAMES
if test -n "$RANLIB"; then
if test -d .libs; then
aix*)
amigaos*)
solaris*)
sunos4*)
uts4*)
if test -z "$lt_cv_prog_cc_pic"; then
if test -s conftest.err; then
if test -n "$lt_cv_prog_cc_shlib"; then
echo "configure: warning: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" 1>&2
if { (eval echo configure:5229: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
cd conftest
chmod -w .
if { (eval echo configure:5279: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
# Append any errors to the config.log.
chmod u+w .
if test -s conftest.err; then
if test -s conftest.err; then
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols'
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
amigaos*)
archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
beos*)
sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //;s/^# *$//; p; }" -e d < $''0 > $output_objdir/impgen.c~
test -f $output_objdir/impgen.exe || (cd $output_objdir && \
if test "x$HOST_CC" != "x" ; then $HOST_CC -o impgen impgen.c ; \
else $CC -o impgen impgen.c ; fi)~
$output_objdir/impgen $dir/$soroot > $output_objdir/$soname-def'
old_archive_from_expsyms_cmds='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib'
mingw*)
dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12,DllMainCRTStartup@12,DllEntryPoint@12
# can override, but on older systems we have to supply one (in ltdll.c)
ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < [$]0 > $output_objdir/$soname-ltdll.c~
test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~'
$DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~
sed -e "1,/EXPORTS/d" -e "s/ @ [0-9]*//" -e "s/ *;.*$//" < $output_objdir/$soname-def > $export_symbols'
$CC -Wl,--base-file,$output_objdir/$soname-base '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
$DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp~
$CC -Wl,--base-file,$output_objdir/$soname-base $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
$DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp --output-lib $output_objdir/$libname.dll.a~
$CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags'
netbsd*)
archive_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
archive_expsym_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
sunos4*)
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
aix3*)
archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
if test -f "$collect2name" && \
archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname ${wl}-h$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $objdir/$libname$release.a $objdir/$soname'
amigaos*)
archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | sed -e '\''s/ -lc$//'\''` -link -dll~linknames='
archive_cmds='$CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linkopts -install_name $rpath/$soname $(test -n "$verstring" -a x$verstring != x0.0 && echo $verstring)'
freebsd1*)
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
# support. Future versions do this automatically, but an explicit c++rt0.o
freebsd2*)
freebsd*)
hpux9*) archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' ;;
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
netbsd*)
openbsd*)
os2*)
archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
osf3*)
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
archive_expsym_cmds='for i in `cat $export_symbols`; do printf "-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
$LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
solaris*)
archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
sunos4*)
sysv5*)
archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
uts4*)
dgux*)
if test -n "$hardcode_libdir_flag_spec" || \
test -n "$runpath_var"; then
# PORTME Fill in your ld.so characteristics
aix3*)
# With GCC up to 2.95.x, collect2 would create an import file
amigaos*)
# Create ${libname}_ixlibrary.a entries in /sys/libs.
finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done'
beos*)
bsdi4*)
# the default ld.so.conf also contains /usr/contrib/lib and
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g"`
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/./-/g'`${versuffix}.dll'
library_names_spec='${libname}${release}${versuffix}.$(test .$module = .yes && echo so || echo dylib) ${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib) ${libname}.$(test .$module = .yes && echo so || echo dylib)'
freebsd1*)
freebsd*)
freebsd-*)
freebsd2*)
gnu*)
library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so${major} ${libname}.so'
# Give a soname corresponding to the major version so that dld.sl refuses to
library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so'
irix5*)
netbsd*)
library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so'
openbsd*)
os2*)
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
solaris*)
sunos4*)
sni)
uts4*)
dgux*)
beos*)
if { (eval echo configure:6545: \"$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:6592: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:6638: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:6675: \"$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:6713: \"$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:6837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} 2>/dev/null; then
lt_status=$?
if { (eval echo configure:6931: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} 2>/dev/null; then
lt_status=$?
linker_flags=-v
if { (eval echo configure:7002: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\") 1>&5; (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5; }
# libtool distribution, otherwise you forgot to ship ltmain.sh
# no rules to generate ltmain.sh.
if test -f "$ltmain"; then
# `config.status --recheck' to rerun these tests and create the
if test -f "$ltmain"; then
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
aix3*)
export COLLECT_NAMES
# /* ltdll.c starts here */
# #include <windows.h>
# #include <stdio.h>
# #include <cygwin/cygwin_dll.h>
# /* ltdll.c ends here */
# /* impgen.c starts here */
# #include <stdio.h> /* for printf() */
# #include <unistd.h> /* for open(), lseek(), read() */
# #include <fcntl.h> /* for O_RDONLY, O_BINARY */
# #include <string.h> /* for strdup() */
# /* impgen.c ends here */
O=lo
A=la
SA=a
yes)
no)
no)
yes)
no)
# Whether netinet6/in6.h is needed has to be defined in isc/platform.h.
yes)
if { (eval echo configure:7829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
no)
if { (eval echo configure:7955: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:7992: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
if { (eval echo configure:8022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:8411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:8460: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:8509: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:8562: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:8652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:8701: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:8747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
if { (eval echo configure:8795: \"$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___%'`
no)
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___%'`
{ echo "configure: error: cannot determine type of rlim_cur when cross compiling - define rlim_t" 1>&2; exit 1; }
if { (eval echo configure:8950: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
if { (eval echo configure:8971: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
if { (eval echo configure:8992: \"$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 "$OPENJADE"; then
test -n "$OPENJADE" && break
if test -n "$JADETEX"; then
test -n "$JADETEX" && break
if test -n "$PDFJADETEX"; then
test -n "$PDFJADETEX" && break
# Subroutine for searching for an ordinary file (e.g., a stylesheet)
SGMLCATALOG=$f
# Look for the HTML stylesheet html/docbook.dsl, used for
# Ditto for the print stylesheet print/docbook.dsl.
HTMLSTYLE=$f
PRINTSTYLE=$f
XMLDCL=$f
# Look for docbook2man-spec.pl
# 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
for ac_arg in $ac_configure_args; do
for ac_config_dir in lib/bind; do
if test ! -d $srcdir/$ac_config_dir; then
echo configuring in $ac_config_dir
if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
if test -f $ac_sub_srcdir/configure; then
elif test -f $ac_sub_srcdir/configure.in; then
/*) ac_sub_cache_file=$cache_file ;;
echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
cd $ac_popdir
chmod a+x isc-config.sh