configure revision 16fc7f145f9f242deb039848e8f67e9381d5a8fc
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt# Copyright (C) 1996-2001 Internet Software Consortium.
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt# Permission to use, copy, modify, and distribute this software for any
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt# purpose with or without fee is hereby granted, provided that the above
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt# copyright notice and this permission notice appear in all copies.
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt# THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt# DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt# INTERNET SOFTWARE CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT,
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt# From configure.in Revision: 1.275
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt# libtool.m4 - Configure libtool for the host system. -*-Shell-script-*-
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt## Copyright 1996, 1997, 1998, 1999, 2000, 2001
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt## Free Software Foundation, Inc.
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt## Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt## This program is free software; you can redistribute it and/or modify
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt## it under the terms of the GNU General Public License as published by
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt## the Free Software Foundation; either version 2 of the License, or
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt## (at your option) any later version.
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt## This program is distributed in the hope that it will be useful, but
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt## WITHOUT ANY WARRANTY; without even the implied warranty of
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt## General Public License for more details.
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt## You should have received a copy of the GNU General Public License
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt## along with this program; if not, write to the Free Software
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt## As a special exception to the GNU General Public License, if you
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt## distribute this file as part of a program that contains a
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt## configuration script generated by Autoconf, you may include it under
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt## the same distribution terms that you use for the rest of that program.
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt# serial 46 AC_PROG_LIBTOOL
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt# _LT_AC_CHECK_DLFCN
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt# --------------------
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt# _LT_AC_CHECK_DLFCN
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt# AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt# ---------------------------------
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt# _LT_AC_LIBTOOL_SYS_PATH_SEPARATOR
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt# ---------------------------------
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt# _LT_AC_LIBTOOL_SYS_PATH_SEPARATOR
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt# _LT_AC_PROG_ECHO_BACKSLASH
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt# --------------------------
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt# Add some code to the start of the generated configure script which
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt# will find an echo command which doesn;t interpret backslashes.
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt# _LT_AC_PROG_ECHO_BACKSLASH
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt# _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt# ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt# ------------------------------------------------------------------
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt# _LT_AC_TRY_DLOPEN_SELF
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt# AC_LIBTOOL_DLOPEN_SELF
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt# -------------------
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt# AC_LIBTOOL_DLOPEN_SELF
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt# _LT_AC_LTCONFIG_HACK
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt# AC_LIBTOOL_DLOPEN - enable checks for dlopen support
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt# AC_LIBTOOL_WIN32_DLL - declare package support for building win32 dll's
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt# AC_ENABLE_SHARED - implement the --enable-shared flag
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt# Usage: AC_ENABLE_SHARED[(DEFAULT)]
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt# AC_DISABLE_SHARED - set the default shared flag to --disable-shared
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt# AC_ENABLE_STATIC - implement the --enable-static flag
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt# Usage: AC_ENABLE_STATIC[(DEFAULT)]
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt# AC_DISABLE_STATIC - set the default static flag to --disable-static
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt# AC_ENABLE_FAST_INSTALL - implement the --enable-fast-install flag
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt# Usage: AC_ENABLE_FAST_INSTALL[(DEFAULT)]
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt# AC_DISABLE_FAST_INSTALL - set the default to --disable-fast-install
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt# AC_LIBTOOL_PICMODE - implement the --with-pic flag
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt# Usage: AC_LIBTOOL_PICMODE[(MODE)]
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt# Where MODE is either `yes' or `no'. If omitted, it defaults to
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt# AC_PATH_TOOL_PREFIX - find a file program which can recognise shared library
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt# AC_PATH_MAGIC - find a file program which can recognise a shared library
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt# AC_PROG_LD - find the path to the GNU or non-GNU linker
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt# AC_PROG_LD_GNU -
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt# AC_PROG_LD_RELOAD_FLAG - find reload flag for linker
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt# -- PORTME Some linkers may need a different reload flag.
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt# AC_DEPLIBS_CHECK_METHOD - how to check for library dependencies
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt# -- PORTME fill in with the dynamic library characteristics
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt# AC_PROG_NM - find the path to a BSD-compatible name lister
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt# AC_CHECK_LIBM - check for math library
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt# AC_LIBLTDL_CONVENIENCE[(dir)] - sets LIBLTDL to the link flags for
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt# the libltdl convenience library and INCLTDL to the include flags for
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt# the libltdl header and adds --enable-ltdl-convenience to the
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt# configure arguments. Note that LIBLTDL and INCLTDL are not
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt# AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If DIR is not
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt# provided, it is assumed to be `libltdl'. LIBLTDL will be prefixed
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt# with '${top_builddir}/' and INCLTDL will be prefixed with
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt# '${top_srcdir}/' (note the single quotes!). If your package is not
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt# flat and you're not using automake, define top_builddir and
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt# top_srcdir appropriately in the Makefiles.
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt# AC_LIBLTDL_INSTALLABLE[(dir)] - sets LIBLTDL to the link flags for
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt# the libltdl installable library and INCLTDL to the include flags for
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt# the libltdl header and adds --enable-ltdl-install to the configure
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt# arguments. Note that LIBLTDL and INCLTDL are not AC_SUBSTed, nor is
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt# AC_CONFIG_SUBDIRS called. If DIR is not provided and an installed
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt# libltdl is not found, it is assumed to be `libltdl'. LIBLTDL will
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt# be prefixed with '${top_builddir}/' and INCLTDL will be prefixed
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt# with '${top_srcdir}/' (note the single quotes!). If your package is
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt# not flat and you're not using automake, define top_builddir and
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt# top_srcdir appropriately in the Makefiles.
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt# In the future, this macro may have to be called after AC_PROG_LIBTOOL.
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt# This is just to silence aclocal about the macro not being used
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt# Guess values for system-dependent variables and create Makefiles.
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt# Generated automatically using autoconf version 2.13
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt# This configure script is free software; the Free Software Foundation
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt# gives unlimited permission to copy, distribute and modify it.
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt# Any additions from configure.in:
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt --with-openssl=PATH Specify path for system-supplied openssl
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt (required for DNSSEC)"
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt --with-randomdev=PATH Specify path for random device"
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt --enable-threads enable multithreading"
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt --with-ptl2 on NetBSD, use the ptl2 thread library (experimental)"
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt --with-purify[=PATH] use Rational purify"
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt --with-libtool use GNU libtool (following indented options supported)"
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt --enable-shared[=PKGS] build shared libraries [default=yes]"
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt --enable-static[=PKGS] build static libraries [default=yes]"
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt --enable-fast-install[=PKGS] optimize for fast installation [default=yes]"
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt --with-gnu-ld assume the C compiler uses GNU ld [default=no]"
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt# Find the correct PATH separator. Usually this is `:', but
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt# DJGPP uses `;' like DOS.
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt# Check that we are running under the correct shell.
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt # Remove one level of quotation (which was required for Make).
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt # Discard the --no-reexec flag, and continue.
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt # Avoid inline document here, it may be left over
72c86c105a7cf315036d7131a4ef408bc6227639Evan Huntelif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt # Yippee, $echo works!
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt # Restart under the correct shell.
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt # used as fallback echo
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt# The HP-UX ksh and POSIX shell print the target directory to stdout
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt# if CDPATH is set.
72c86c105a7cf315036d7131a4ef408bc6227639Evan Huntif test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
72c86c105a7cf315036d7131a4ef408bc6227639Evan Huntif test -z "$ECHO"; then
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt# find a string as large as possible, as long as the shell can cope with it
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt if (echo_test_string="`eval $cmd`") 2>/dev/null &&
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt test "X$echo_testing_string" = "X$echo_test_string"; then
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt # The Solaris, AIX, and Digital Unix default echo programs unquote
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt # backslashes. This makes it impossible to quote backslashes using
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt # echo "$something" | sed 's/\\/\\\\/g'
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt # So, first we look for a working echo in the user's PATH.
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt IFS="${IFS= }"; save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR}"
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt test "X$echo_testing_string" = "X$echo_test_string"; then
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt # We didn't find a better echo, so look for alternatives.
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt test "X$echo_testing_string" = "X$echo_test_string"; then
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt # This shell has a builtin print -r that does the trick.
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt echo='print -r'
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt # If we have ksh, try running configure again with it.
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt # Try using printf.
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt echo='printf %s\n'
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt test "X$echo_testing_string" = "X$echo_test_string"; then
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt # Cool, printf works
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt test "X$echo_testing_string" = "X$echo_test_string"; then
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt echo="$CONFIG_SHELL $0 --fallback-echo"
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt test "X$echo_testing_string" = "X$echo_test_string"; then
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt echo="$CONFIG_SHELL $0 --fallback-echo"
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt # maybe with a smaller string...
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt # Oops. We lost completely, so just stick with echo.
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt# Copy echo and quote the copy suitably for passing to libtool from
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt# the Makefile, instead of quoting the original, which is used later.
72c86c105a7cf315036d7131a4ef408bc6227639Evan Huntif test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt --disable-libtool-lock avoid locking (might break parallel builds)"
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt --with-pic try to use only PIC/non-PIC objects [default=use both]"
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt --enable-libbind build libbind [default=no]"
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt --enable-ipv6 use IPv6 [default=autodetect]"
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt --with-kame[=PATH] use Kame IPv6 [default path /usr/local/v6]"
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt# Initialize some variables set by options.
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt# The variables have the same names as the options, with
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt# dashes changed to underlines.
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt# Initialize some other variables.
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt# Maximum number of lines to put in a shell here document.
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt # If the previous option needs an argument, assign it.
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt if test -n "$ac_prev"; then
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt eval "$ac_prev=\$ac_option"
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt # Accept the important Cygnus configure options, so we can diagnose typos.
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt -bindir | --bindir | --bindi | --bind | --bin | --bi)
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt -build=* | --build=* | --buil=* | --bui=* | --bu=*)
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt -cache-file | --cache-file | --cache-fil | --cache-fi \
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt # Reject names that are not valid shell variable names.
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt eval "enable_${ac_feature}=no" ;;
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt # Reject names that are not valid shell variable names.
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt eval "enable_${ac_feature}='$ac_optarg'" ;;
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt # Obsolete; use --with-gas.
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt # Omit some internal or obsolete options to make the list less imposing.
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt # This message is too long to be a string in the A/UX 3.1 sh.
72c86c105a7cf315036d7131a4ef408bc6227639Evan HuntUsage: configure [options] [host]
72c86c105a7cf315036d7131a4ef408bc6227639Evan HuntOptions: [defaults in brackets after descriptions]
72c86c105a7cf315036d7131a4ef408bc6227639Evan HuntConfiguration:
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt --cache-file=FILE cache test results in FILE
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt --help print this message
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt --no-create do not create output files
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt --quiet, --silent do not print \`checking...' messages
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt --version print the version of autoconf that created configure
72c86c105a7cf315036d7131a4ef408bc6227639Evan HuntDirectory and file names:
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt --prefix=PREFIX install architecture-independent files in PREFIX
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt [$ac_default_prefix]
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt [same as prefix]
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt --bindir=DIR user executables in DIR [EPREFIX/bin]
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt --datadir=DIR read-only architecture-independent data in DIR
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt [PREFIX/share]
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt --sharedstatedir=DIR modifiable architecture-independent data in DIR
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt [PREFIX/com]
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt --libdir=DIR object code libraries in DIR [EPREFIX/lib]
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt --includedir=DIR C header files in DIR [PREFIX/include]
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt --infodir=DIR info documentation in DIR [PREFIX/info]
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt --mandir=DIR man documentation in DIR [PREFIX/man]
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt --srcdir=DIR find the sources in DIR [configure dir or ..]
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt --program-prefix=PREFIX prepend PREFIX to installed program names
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt --program-suffix=SUFFIX append SUFFIX to installed program names
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt --program-transform-name=PROGRAM
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt run sed PROGRAM on installed program names
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt --build=BUILD configure for building on BUILD [BUILD=HOST]
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt --host=HOST configure for HOST [guessed]
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt --target=TARGET configure for TARGET [TARGET=HOST]
72c86c105a7cf315036d7131a4ef408bc6227639Evan HuntFeatures and packages:
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt --x-includes=DIR X include files are in DIR
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt --x-libraries=DIR X library files are in DIR
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt if test -n "$ac_help"; then
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt echo "--enable and --with options recognized:$ac_help"
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt -includedir | --includedir | --includedi | --included | --include \
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt -infodir | --infodir | --infodi | --infod | --info | --inf)
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt -localstatedir | --localstatedir | --localstatedi | --localstated \
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt | --localstate | --localstat | --localsta | --localst \
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt | --localstate=* | --localstat=* | --localsta=* | --localst=* \
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt # Obsolete; use --without-fp.
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt -no-create | --no-create | --no-creat | --no-crea | --no-cre \
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt -no-recursion | --no-recursion | --no-recursio | --no-recursi \
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt -program-prefix | --program-prefix | --program-prefi | --program-pref \
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt -program-prefix=* | --program-prefix=* | --program-prefi=* \
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt -program-suffix | --program-suffix | --program-suffi | --program-suff \
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt -program-suffix=* | --program-suffix=* | --program-suffi=* \
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt -program-transform-name | --program-transform-name \
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt | --program-transform-nam | --program-transform-na \
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt -program-transform-name=* | --program-transform-name=* \
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt | --program-transform-nam=* | --program-transform-na=* \
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Hunt | --program-transform-n=* | --program-transform-=* \
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt -q | -quiet | --quiet | --quie | --qui | --qu | --q \
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt -sharedstatedir | --sharedstatedir | --sharedstatedi \
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt | --sharedst | --shareds | --shared | --share | --shar \
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt -target | --target | --targe | --targ | --tar | --ta | --t)
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt -v | -verbose | --verbose | --verbos | --verbo | --verb)
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt -version | --version | --versio | --versi | --vers)
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt echo "configure generated by autoconf version 2.13"
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt # Reject names that are not valid shell variable names.
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt eval "with_${ac_package}='$ac_optarg'" ;;
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt ac_package=`echo $ac_option|sed -e 's/-*without-//'`
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt # Reject names that are not valid shell variable names.
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt eval "with_${ac_package}=no" ;;
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt # Obsolete; use --with-x.
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt -x-libraries | --x-libraries | --x-librarie | --x-librari \
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt echo "configure: warning: $ac_option: invalid host type" 1>&2
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
72c86c105a7cf315036d7131a4ef408bc6227639Evan Huntif test -n "$ac_prev"; then
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunttrap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt# File descriptor usage:
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt# 0 standard input
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt# 1 file creation
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt# 2 errors and warnings
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt# 3 some systems may open it to /dev/tty
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt# 4 used on the Kubota Titan
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt# 6 checking for... messages and results
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt# 5 compiler messages saved in config.log
72c86c105a7cf315036d7131a4ef408bc6227639Evan HuntThis file contains any messages produced by compilers while
72c86c105a7cf315036d7131a4ef408bc6227639Evan Huntrunning configure, to aid debugging if configure makes a mistake.
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt# Strip out --no-create and --no-recursion so they do not pile up.
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt# Also quote any args containing shell metacharacters.
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt -no-create | --no-create | --no-creat | --no-crea | --no-cre \
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt -no-recursion | --no-recursion | --no-recursio | --no-recursi \
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt ac_configure_args="$ac_configure_args '$ac_arg'" ;;
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt *) ac_configure_args="$ac_configure_args $ac_arg" ;;
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt# NLS nuisances.
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt# Only set these to C if already set. These must not be set unconditionally
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt# because not all systems understand e.g. LANG=C (notably SCO).
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt# Non-C LC_CTYPE values break the ctype check.
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Huntif test "${LANG+set}" = set; then LANG=C; export LANG; fi
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Huntif test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Huntif test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
72c86c105a7cf315036d7131a4ef408bc6227639Evan Huntif test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt# confdefs.h avoids OS command line length limits that DEFS can exceed.
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt# AIX cpp loses on an empty file, so make sure it contains at least a newline.
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt# A filename unique to this package, relative to the directory that
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt# configure is in, which we can look for to find out if srcdir is correct.
72c86c105a7cf315036d7131a4ef408bc6227639Evan Hunt# Find the source files, if location was not specified.
62d63e5f02a5e7fcda59cf361149e3d7c78477beEvan Huntif 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:1474: \"$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:1500: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1514: \"$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:1726: \"$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:2162: \"$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:2251: \"$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=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:2535: \"$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:2580: \"$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:2625: \"$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:2670: \"$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:2715: \"$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:2780: \"$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:2821: \"$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:2862: \"$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:2920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
*-freebsd*)
if { (eval echo configure:2971: \"$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:3054: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:3120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
*-freebsd*)
*-openbsd*)
*-solaris*)
*-solaris*)
if { (eval echo configure:3229: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:3280: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if $use_threads; then
*-solaris*)
if { (eval echo configure:3411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:3468: \"$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:3515: \"$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:4278: \"$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:4329: \"$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:4743: \"$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:5126: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
cd conftest
chmod -w .
if { (eval echo configure:5176: \"$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:6442: \"$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:6489: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:6535: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:6572: \"$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:6610: \"$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:6734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} 2>/dev/null; then
lt_status=$?
if { (eval echo configure:6828: \"$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:6899: \"$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:7726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
no)
if { (eval echo configure:7852: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:7886: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
if { (eval echo configure:7916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:8273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:8322: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:8371: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:8424: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:8514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:8563: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:8609: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
if { (eval echo configure:8657: \"$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:8804: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
if { (eval echo configure:8825: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
if { (eval echo configure:8846: \"$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