configure revision 2729fdfb8d646f70293750433d153505c784ad7d
28ed3013196c373745dbde87b75a490148dab840Bob Halley# Copyright (C) 1996-2001 Internet Software Consortium.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# Permission to use, copy, modify, and distribute this software for any
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# purpose with or without fee is hereby granted, provided that the above
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# copyright notice and this permission notice appear in all copies.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# INTERNET SOFTWARE CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT,
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# From configure.in Revision: 1.268
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# libtool.m4 - Configure libtool for the host system. -*-Shell-script-*-
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley## Copyright 1996, 1997, 1998, 1999, 2000, 2001
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley## Free Software Foundation, Inc.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley## Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley## This program is free software; you can redistribute it and/or modify
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley## it under the terms of the GNU General Public License as published by
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley## the Free Software Foundation; either version 2 of the License, or
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley## (at your option) any later version.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley## This program is distributed in the hope that it will be useful, but
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley## WITHOUT ANY WARRANTY; without even the implied warranty of
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley## General Public License for more details.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley## You should have received a copy of the GNU General Public License
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley## along with this program; if not, write to the Free Software
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley## As a special exception to the GNU General Public License, if you
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley## distribute this file as part of a program that contains a
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley## configuration script generated by Autoconf, you may include it under
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley## the same distribution terms that you use for the rest of that program.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# serial 46 AC_PROG_LIBTOOL
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# _LT_AC_CHECK_DLFCN
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# --------------------
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# _LT_AC_CHECK_DLFCN
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# ---------------------------------
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# _LT_AC_LIBTOOL_SYS_PATH_SEPARATOR
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# ---------------------------------
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# _LT_AC_LIBTOOL_SYS_PATH_SEPARATOR
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# _LT_AC_PROG_ECHO_BACKSLASH
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# --------------------------
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# Add some code to the start of the generated configure script which
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# will find an echo command which doesn;t interpret backslashes.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# _LT_AC_PROG_ECHO_BACKSLASH
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# ------------------------------------------------------------------
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# _LT_AC_TRY_DLOPEN_SELF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# AC_LIBTOOL_DLOPEN_SELF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# -------------------
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# AC_LIBTOOL_DLOPEN_SELF
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# _LT_AC_LTCONFIG_HACK
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# AC_LIBTOOL_DLOPEN - enable checks for dlopen support
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# AC_LIBTOOL_WIN32_DLL - declare package support for building win32 dll's
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# AC_ENABLE_SHARED - implement the --enable-shared flag
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# Usage: AC_ENABLE_SHARED[(DEFAULT)]
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# AC_DISABLE_SHARED - set the default shared flag to --disable-shared
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# AC_ENABLE_STATIC - implement the --enable-static flag
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# Usage: AC_ENABLE_STATIC[(DEFAULT)]
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# AC_DISABLE_STATIC - set the default static flag to --disable-static
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# AC_ENABLE_FAST_INSTALL - implement the --enable-fast-install flag
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# Usage: AC_ENABLE_FAST_INSTALL[(DEFAULT)]
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# AC_DISABLE_FAST_INSTALL - set the default to --disable-fast-install
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# AC_LIBTOOL_PICMODE - implement the --with-pic flag
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# Usage: AC_LIBTOOL_PICMODE[(MODE)]
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# Where MODE is either `yes' or `no'. If omitted, it defaults to
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# AC_PATH_TOOL_PREFIX - find a file program which can recognise shared library
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# AC_PATH_MAGIC - find a file program which can recognise a shared library
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# AC_PROG_LD - find the path to the GNU or non-GNU linker
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# AC_PROG_LD_GNU -
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# AC_PROG_LD_RELOAD_FLAG - find reload flag for linker
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# -- PORTME Some linkers may need a different reload flag.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# AC_DEPLIBS_CHECK_METHOD - how to check for library dependencies
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# -- PORTME fill in with the dynamic library characteristics
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# AC_PROG_NM - find the path to a BSD-compatible name lister
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# AC_CHECK_LIBM - check for math library
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# AC_LIBLTDL_CONVENIENCE[(dir)] - sets LIBLTDL to the link flags for
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# the libltdl convenience library and INCLTDL to the include flags for
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# the libltdl header and adds --enable-ltdl-convenience to the
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# configure arguments. Note that LIBLTDL and INCLTDL are not
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If DIR is not
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# provided, it is assumed to be `libltdl'. LIBLTDL will be prefixed
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# with '${top_builddir}/' and INCLTDL will be prefixed with
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# '${top_srcdir}/' (note the single quotes!). If your package is not
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# flat and you're not using automake, define top_builddir and
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# top_srcdir appropriately in the Makefiles.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# AC_LIBLTDL_INSTALLABLE[(dir)] - sets LIBLTDL to the link flags for
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# the libltdl installable library and INCLTDL to the include flags for
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# the libltdl header and adds --enable-ltdl-install to the configure
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# arguments. Note that LIBLTDL and INCLTDL are not AC_SUBSTed, nor is
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# AC_CONFIG_SUBDIRS called. If DIR is not provided and an installed
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# libltdl is not found, it is assumed to be `libltdl'. LIBLTDL will
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# be prefixed with '${top_builddir}/' and INCLTDL will be prefixed
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# with '${top_srcdir}/' (note the single quotes!). If your package is
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# not flat and you're not using automake, define top_builddir and
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# top_srcdir appropriately in the Makefiles.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# In the future, this macro may have to be called after AC_PROG_LIBTOOL.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# This is just to silence aclocal about the macro not being used
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# Guess values for system-dependent variables and create Makefiles.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# Generated automatically using autoconf version 2.13
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# This configure script is free software; the Free Software Foundation
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# gives unlimited permission to copy, distribute and modify it.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# Any additions from configure.in:
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --with-openssl=PATH Specify path for system-supplied openssl
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley (rather than using bind-9 internal openssl)"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --with-randomdev=PATH Specify path for random device"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --enable-threads enable multithreading"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --with-ptl2 on NetBSD, use the ptl2 thread library (experimental)"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --with-purify[=PATH] use Rational purify"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --with-libtool use GNU libtool (following indented options supported)"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --enable-shared[=PKGS] build shared libraries [default=yes]"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --enable-static[=PKGS] build static libraries [default=yes]"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --enable-fast-install[=PKGS] optimize for fast installation [default=yes]"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --with-gnu-ld assume the C compiler uses GNU ld [default=no]"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# Find the correct PATH separator. Usually this is `:', but
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# DJGPP uses `;' like DOS.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# Check that we are running under the correct shell.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley # Remove one level of quotation (which was required for Make).
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley # Discard the --no-reexec flag, and continue.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley # Avoid inline document here, it may be left over
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyelif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley # Yippee, $echo works!
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley # Restart under the correct shell.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley # used as fallback echo
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# The HP-UX ksh and POSIX shell print the target directory to stdout
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# if CDPATH is set.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif test -z "$ECHO"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# find a string as large as possible, as long as the shell can cope with it
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley if (echo_test_string="`eval $cmd`") 2>/dev/null &&
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley test "X$echo_testing_string" = "X$echo_test_string"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley # The Solaris, AIX, and Digital Unix default echo programs unquote
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley # backslashes. This makes it impossible to quote backslashes using
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley # echo "$something" | sed 's/\\/\\\\/g'
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley # So, first we look for a working echo in the user's PATH.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley IFS="${IFS= }"; save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR}"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley test "X$echo_testing_string" = "X$echo_test_string"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley # We didn't find a better echo, so look for alternatives.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley test "X$echo_testing_string" = "X$echo_test_string"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley # This shell has a builtin print -r that does the trick.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo='print -r'
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley # If we have ksh, try running configure again with it.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley # Try using printf.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo='printf %s\n'
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley test "X$echo_testing_string" = "X$echo_test_string"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley # Cool, printf works
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley test "X$echo_testing_string" = "X$echo_test_string"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo="$CONFIG_SHELL $0 --fallback-echo"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley test "X$echo_testing_string" = "X$echo_test_string"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo="$CONFIG_SHELL $0 --fallback-echo"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley # maybe with a smaller string...
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley # Oops. We lost completely, so just stick with echo.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# Copy echo and quote the copy suitably for passing to libtool from
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# the Makefile, instead of quoting the original, which is used later.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --disable-libtool-lock avoid locking (might break parallel builds)"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --with-pic try to use only PIC/non-PIC objects [default=use both]"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --enable-libbind build libbind [default=no]"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --enable-ipv6 use IPv6 [default=autodetect]"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --with-kame[=PATH] use Kame IPv6 [default path /usr/local/v6]"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# Initialize some variables set by options.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# The variables have the same names as the options, with
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# dashes changed to underlines.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# Initialize some other variables.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# Maximum number of lines to put in a shell here document.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley # If the previous option needs an argument, assign it.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley if test -n "$ac_prev"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley eval "$ac_prev=\$ac_option"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley # Accept the important Cygnus configure options, so we can diagnose typos.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -bindir | --bindir | --bindi | --bind | --bin | --bi)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -build=* | --build=* | --buil=* | --bui=* | --bu=*)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -cache-file | --cache-file | --cache-fil | --cache-fi \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley # Reject names that are not valid shell variable names.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley eval "enable_${ac_feature}=no" ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley # Reject names that are not valid shell variable names.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley eval "enable_${ac_feature}='$ac_optarg'" ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley # Obsolete; use --with-gas.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley # Omit some internal or obsolete options to make the list less imposing.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley # This message is too long to be a string in the A/UX 3.1 sh.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyUsage: configure [options] [host]
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyOptions: [defaults in brackets after descriptions]
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyConfiguration:
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --cache-file=FILE cache test results in FILE
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --help print this message
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --no-create do not create output files
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --quiet, --silent do not print \`checking...' messages
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --version print the version of autoconf that created configure
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyDirectory and file names:
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --prefix=PREFIX install architecture-independent files in PREFIX
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley [$ac_default_prefix]
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley [same as prefix]
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --bindir=DIR user executables in DIR [EPREFIX/bin]
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --datadir=DIR read-only architecture-independent data in DIR
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley [PREFIX/share]
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --sharedstatedir=DIR modifiable architecture-independent data in DIR
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley [PREFIX/com]
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --libdir=DIR object code libraries in DIR [EPREFIX/lib]
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --includedir=DIR C header files in DIR [PREFIX/include]
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --infodir=DIR info documentation in DIR [PREFIX/info]
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --mandir=DIR man documentation in DIR [PREFIX/man]
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --srcdir=DIR find the sources in DIR [configure dir or ..]
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --program-prefix=PREFIX prepend PREFIX to installed program names
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --program-suffix=SUFFIX append SUFFIX to installed program names
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --program-transform-name=PROGRAM
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley run sed PROGRAM on installed program names
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --build=BUILD configure for building on BUILD [BUILD=HOST]
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --host=HOST configure for HOST [guessed]
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --target=TARGET configure for TARGET [TARGET=HOST]
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyFeatures and packages:
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --x-includes=DIR X include files are in DIR
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley --x-libraries=DIR X library files are in DIR
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley if test -n "$ac_help"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo "--enable and --with options recognized:$ac_help"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -includedir | --includedir | --includedi | --included | --include \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -infodir | --infodir | --infodi | --infod | --info | --inf)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -localstatedir | --localstatedir | --localstatedi | --localstated \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --localstate | --localstat | --localsta | --localst \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --localstate=* | --localstat=* | --localsta=* | --localst=* \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley # Obsolete; use --without-fp.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -no-create | --no-create | --no-creat | --no-crea | --no-cre \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -no-recursion | --no-recursion | --no-recursio | --no-recursi \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -program-prefix | --program-prefix | --program-prefi | --program-pref \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -program-prefix=* | --program-prefix=* | --program-prefi=* \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -program-suffix | --program-suffix | --program-suffi | --program-suff \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -program-suffix=* | --program-suffix=* | --program-suffi=* \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -program-transform-name | --program-transform-name \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --program-transform-nam | --program-transform-na \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -program-transform-name=* | --program-transform-name=* \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --program-transform-nam=* | --program-transform-na=* \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --program-transform-n=* | --program-transform-=* \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --progr-tra=* | --program-tr=* | --program-t=*)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -q | -quiet | --quiet | --quie | --qui | --qu | --q \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -sharedstatedir | --sharedstatedir | --sharedstatedi \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --sharedst | --shareds | --shared | --share | --shar \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -target | --target | --targe | --targ | --tar | --ta | --t)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -v | -verbose | --verbose | --verbos | --verbo | --verb)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -version | --version | --versio | --versi | --vers)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo "configure generated by autoconf version 2.13"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley # Reject names that are not valid shell variable names.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley eval "with_${ac_package}='$ac_optarg'" ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_package=`echo $ac_option|sed -e 's/-*without-//'`
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley # Reject names that are not valid shell variable names.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley eval "with_${ac_package}=no" ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley # Obsolete; use --with-x.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -x-libraries | --x-libraries | --x-librarie | --x-librari \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo "configure: warning: $ac_option: invalid host type" 1>&2
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif test -n "$ac_prev"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleytrap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# File descriptor usage:
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# 0 standard input
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# 1 file creation
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# 2 errors and warnings
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# 3 some systems may open it to /dev/tty
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# 4 used on the Kubota Titan
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# 6 checking for... messages and results
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# 5 compiler messages saved in config.log
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob HalleyThis file contains any messages produced by compilers while
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyrunning configure, to aid debugging if configure makes a mistake.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# Strip out --no-create and --no-recursion so they do not pile up.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# Also quote any args containing shell metacharacters.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -no-create | --no-create | --no-creat | --no-crea | --no-cre \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley -no-recursion | --no-recursion | --no-recursio | --no-recursi \
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_configure_args="$ac_configure_args '$ac_arg'" ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley *) ac_configure_args="$ac_configure_args $ac_arg" ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# NLS nuisances.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# Only set these to C if already set. These must not be set unconditionally
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# because not all systems understand e.g. LANG=C (notably SCO).
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# Non-C LC_CTYPE values break the ctype check.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif test "${LANG+set}" = set; then LANG=C; export LANG; fi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# confdefs.h avoids OS command line length limits that DEFS can exceed.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# AIX cpp loses on an empty file, so make sure it contains at least a newline.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# A filename unique to this package, relative to the directory that
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# configure is in, which we can look for to find out if srcdir is correct.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# Find the source files, if location was not specified.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif test -z "$srcdir"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley # Try the directory containing this script, then its parent.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleysrcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# Prefer explicitly selected file to automatically selected ones.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif test -z "$CONFIG_SITE"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley if test -r "$ac_site_file"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo "loading site script $ac_site_file"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif test -r "$cache_file"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo "loading cache $cache_file"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley echo "creating cache $cache_file"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfor ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif test -z "$ac_aux_dir"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# Make sure we can run config.sub.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyelse { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyecho $ac_n "checking host system type""... $ac_c" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyecho "configure:928: checking host system type" >&5
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyhost=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyhost_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyhost_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyhost_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyecho $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyecho "configure:950: checking whether ${MAKE-make} sets \${MAKE}" >&5
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyset dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley @echo 'ac_maketemp="${MAKE}"'
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyeval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif test -n "$ac_maketemp"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# Extract the first word of "ranlib", so it can be a program name with args.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyecho $ac_n "checking for $ac_word""... $ac_c" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley if test -n "$RANLIB"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif test -n "$RANLIB"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# Find a good install program. We prefer a C program (faster),
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# so one script is as good as another. But avoid the broken or
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# incompatible versions:
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# AFS /usr/afsws/bin/install, which mishandles nonexistent args
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# ./install, which can be erroneously created by make from ./install.sh.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyecho $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyecho "configure:1018: checking for a BSD compatible install" >&5
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif test -z "$INSTALL"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley # Account for people who put trailing slashes in PATH elements.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley # OSF1 and SCO ODT 3.0 have their own names for install.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley # Don't use installbsd from OSF since it installs stuff as root
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley # by default.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley # AIX install. It has an incompatible calling convention.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley if test "${ac_cv_path_install+set}" = set; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley # As a last resort, use the slow shell script. We don't cache a
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley # path for INSTALL within a source directory, because that will
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley # break other packages using the cache if that directory is
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley # removed, or if the path is relative.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# It thinks the first close brace ends the variable substitution.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleytest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleytest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleytest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# Extract the first word of "ar", so it can be a program name with args.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyecho $ac_n "checking for $ac_word""... $ac_c" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif eval "test \"`echo '$''{'ac_cv_path_AR'+set}'`\" = set"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_cv_path_AR="$AR" # Let the user override the test with a path.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_cv_path_AR="$AR" # Let the user override the test with a dos path.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif test -n "$AR"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# The POSIX ln(1) program. Non-POSIX systems may substitute
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# "copy" or something.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyar program not found. Please fix your PATH to include the directory in
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleywhich ar resides, or set AR in the environment with the full path to ar.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# Extract the first word of "$ac_prog", so it can be a program name with args.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyecho $ac_n "checking for $ac_word""... $ac_c" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif eval "test \"`echo '$''{'ac_cv_path_ETAGS'+set}'`\" = set"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_cv_path_ETAGS="$ETAGS" # Let the user override the test with a path.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_cv_path_ETAGS="$ETAGS" # Let the user override the test with a dos path.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif test -n "$ETAGS"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleytest -n "$ETAGS" && break
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# Some systems, e.g. RH7, have the Exuberant Ctags etags instead of
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# GNU emacs etags, and it requires the -L flag.
a2171e092382f8f8a72b1f73436ddf93918c7719Bob Halley echo $ac_n "checking for Exuberant Ctags etags""... $ac_c" 1>&6
a2171e092382f8f8a72b1f73436ddf93918c7719Bob Halleyecho "configure:1180: checking for Exuberant Ctags etags" >&5
a2171e092382f8f8a72b1f73436ddf93918c7719Bob Halley if $ETAGS --version 2>&1 | grep 'Exuberant Ctags' >/dev/null 2>&1; then
a2171e092382f8f8a72b1f73436ddf93918c7719Bob Halley# Perl is optional; it is used only by some of the system test scripts.
a2171e092382f8f8a72b1f73436ddf93918c7719Bob Halley# Extract the first word of "$ac_prog", so it can be a program name with args.
a2171e092382f8f8a72b1f73436ddf93918c7719Bob Halleyecho $ac_n "checking for $ac_word""... $ac_c" 1>&6
a2171e092382f8f8a72b1f73436ddf93918c7719Bob Halleyif eval "test \"`echo '$''{'ac_cv_path_PERL'+set}'`\" = set"; then
a2171e092382f8f8a72b1f73436ddf93918c7719Bob Halley ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
a2171e092382f8f8a72b1f73436ddf93918c7719Bob Halley ac_cv_path_PERL="$PERL" # Let the user override the test with a dos path.
a2171e092382f8f8a72b1f73436ddf93918c7719Bob Halleyif test -n "$PERL"; then
a2171e092382f8f8a72b1f73436ddf93918c7719Bob Halleytest -n "$PERL" && break
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley# Special processing of paths depending on whether --prefix,
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley# --sysconfdir or --localstatedir arguments were given. What's
a2171e092382f8f8a72b1f73436ddf93918c7719Bob Halley# desired is some compatability with the way previous versions
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley# of BIND built; they defaulted to /usr/local for most parts of
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley# the installation, but named.boot/named.conf was in /etc
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley# and named.pid was in /var/run.
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley# So ... if none of --prefix, --sysconfdir or --localstatedir are
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley# specified, set things up that way. If --prefix is given, use
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley# it for sysconfdir and localstatedir the way configure normally
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley# would. To change the prefix for everything but leave named.conf
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley# in /etc or named.pid in /var/run, then do this the usual configure way:
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley# ./configure --prefix=/somewhere --sysconfdir=/etc
a2171e092382f8f8a72b1f73436ddf93918c7719Bob Halley# ./configure --prefix=/somewhere --localstatedir=/var
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley# To put named.conf and named.pid in /usr/local with everything else,
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley# set the prefix explicitly to /usr/local even though that's the default:
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley# ./configure --prefix=/usr/local
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley '${prefix}/etc')
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley '${prefix}/var')
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley# Make sure INSTALL uses an absolute path, else it will be wrong in all
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley# Makefiles, since they use make/rules.in and INSTALL will be adjusted by
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley# configure based on the location of the file where it is substituted.
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley# Since in BIND9 INSTALL is only substituted into make/rules.in, an immediate
a2171e092382f8f8a72b1f73436ddf93918c7719Bob Halley# subdirectory of install-sh, This relative path will be wrong for all
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley# directories more than one level down from install-sh.
a2171e092382f8f8a72b1f73436ddf93918c7719Bob Halley # Not all systems have dirname.
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley test -d "$ac_dir" && ac_dir="`(cd \"$ac_dir\" && pwd)`"
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley# On these hosts, we really want to use cc, not gcc, even if it is
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley# found. The gcc that these systems have will not correctly handle
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley# However, if the user sets $CC to be something, let that override
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley# our change.
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley # Use Sun's cc if it is available, but watch
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley # out for /usr/ucb/cc; it will never be the right
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley # compiler to use.
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley # If setting CC here fails, the AC_PROG_CC done
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley # below might still find gcc.
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley if test -f "$ac_dir/cc"; then
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley# Extract the first word of "gcc", so it can be a program name with args.
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halleyecho $ac_n "checking for $ac_word""... $ac_c" 1>&6
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halleyif eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley if test -n "$CC"; then
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley ac_cv_prog_CC="$CC" # Let the user override the test.
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halleyif test -n "$CC"; then
64ba6e4cc3a0ccf8c8c6349fa75b937ca9bad9a6Michael Graffif test -z "$CC"; then
64ba6e4cc3a0ccf8c8c6349fa75b937ca9bad9a6Michael Graff # Extract the first word of "cc", so it can be a program name with args.
64ba6e4cc3a0ccf8c8c6349fa75b937ca9bad9a6Michael Graffecho $ac_n "checking for $ac_word""... $ac_c" 1>&6
64ba6e4cc3a0ccf8c8c6349fa75b937ca9bad9a6Michael Graffecho "configure:1375: checking for $ac_word" >&5
64ba6e4cc3a0ccf8c8c6349fa75b937ca9bad9a6Michael Graffif eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
64ba6e4cc3a0ccf8c8c6349fa75b937ca9bad9a6Michael Graff if test -n "$CC"; then
64ba6e4cc3a0ccf8c8c6349fa75b937ca9bad9a6Michael Graff ac_cv_prog_CC="$CC" # Let the user override the test.
64ba6e4cc3a0ccf8c8c6349fa75b937ca9bad9a6Michael Graff if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
64ba6e4cc3a0ccf8c8c6349fa75b937ca9bad9a6Michael Graff # We found a bogon in the path, so make sure we never use it.
64ba6e4cc3a0ccf8c8c6349fa75b937ca9bad9a6Michael Graff # We chose a different compiler from the bogus one.
64ba6e4cc3a0ccf8c8c6349fa75b937ca9bad9a6Michael Graff # However, it has the same basename, so the bogon will be chosen
64ba6e4cc3a0ccf8c8c6349fa75b937ca9bad9a6Michael Graff # first if we set CC to just the basename; use the full file name.
64ba6e4cc3a0ccf8c8c6349fa75b937ca9bad9a6Michael Graffif test -n "$CC"; then
64ba6e4cc3a0ccf8c8c6349fa75b937ca9bad9a6Michael Graff if test -z "$CC"; then
64ba6e4cc3a0ccf8c8c6349fa75b937ca9bad9a6Michael Graff # Extract the first word of "cl", so it can be a program name with args.
28ed3013196c373745dbde87b75a490148dab840Bob Halleyecho $ac_n "checking for $ac_word""... $ac_c" 1>&6
28ed3013196c373745dbde87b75a490148dab840Bob Halleyif eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
28ed3013196c373745dbde87b75a490148dab840Bob Halley if test -n "$CC"; then
28ed3013196c373745dbde87b75a490148dab840Bob Halley ac_cv_prog_CC="$CC" # Let the user override the test.
28ed3013196c373745dbde87b75a490148dab840Bob Halleyif test -n "$CC"; then
28ed3013196c373745dbde87b75a490148dab840Bob Halley test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
28ed3013196c373745dbde87b75a490148dab840Bob Halleyecho $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
28ed3013196c373745dbde87b75a490148dab840Bob Halleyecho "configure:1458: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
28ed3013196c373745dbde87b75a490148dab840Bob Halley# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
28ed3013196c373745dbde87b75a490148dab840Bob Halleyac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
28ed3013196c373745dbde87b75a490148dab840Bob Halleyac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
28ed3013196c373745dbde87b75a490148dab840Bob Halley#line 1469 "configure"
28ed3013196c373745dbde87b75a490148dab840Bob Halley#include "confdefs.h"
28ed3013196c373745dbde87b75a490148dab840Bob Halleymain(){return(0);}
28ed3013196c373745dbde87b75a490148dab840Bob Halleyif { (eval echo configure:1474: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
28ed3013196c373745dbde87b75a490148dab840Bob Halley # If we can't run a trivial program, we are probably using a cross compiler.
c810fcbf6c7d628e71aaaefafeccc74a3a443ca2Michael Graff# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
c810fcbf6c7d628e71aaaefafeccc74a3a443ca2Michael Graffac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
c810fcbf6c7d628e71aaaefafeccc74a3a443ca2Michael Graffac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
c810fcbf6c7d628e71aaaefafeccc74a3a443ca2Michael Graff { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
c810fcbf6c7d628e71aaaefafeccc74a3a443ca2Michael Graffecho $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
c810fcbf6c7d628e71aaaefafeccc74a3a443ca2Michael Graffecho "configure:1500: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
c810fcbf6c7d628e71aaaefafeccc74a3a443ca2Michael Graffecho $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
c810fcbf6c7d628e71aaaefafeccc74a3a443ca2Michael Graffecho "configure:1505: checking whether we are using GNU C" >&5
c810fcbf6c7d628e71aaaefafeccc74a3a443ca2Michael Graffif eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
c810fcbf6c7d628e71aaaefafeccc74a3a443ca2Michael Graff#ifdef __GNUC__
c810fcbf6c7d628e71aaaefafeccc74a3a443ca2Michael Graffif { 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
c810fcbf6c7d628e71aaaefafeccc74a3a443ca2Michael Graffecho $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
c810fcbf6c7d628e71aaaefafeccc74a3a443ca2Michael Graffecho "configure:1533: checking whether ${CC-cc} accepts -g" >&5
c810fcbf6c7d628e71aaaefafeccc74a3a443ca2Michael Graffif eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif test "$ac_test_CFLAGS" = set; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyecho $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyecho "configure:1566: checking how to run the C preprocessor" >&5
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# On Suns, sometimes $CPP names a directory.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif test -z "$CPP"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley # This must be in double quotes, not single quotes, because CPP may get
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley # substituted into the Makefile and "${CC-cc}" will confuse make.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley # On the NeXT, cc -E runs the code through the compiler's parser,
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley # not just through cpp.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#line 1581 "configure"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#include "confdefs.h"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#include <assert.h>
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley{ (eval echo configure:1587: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif test -z "$ac_err"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#line 1598 "configure"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#include "confdefs.h"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#include <assert.h>
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley{ (eval echo configure:1604: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
28ed3013196c373745dbde87b75a490148dab840Bob Halleyac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif test -z "$ac_err"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#line 1615 "configure"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#include "confdefs.h"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#include <assert.h>
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley{ (eval echo configure:1621: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif test -z "$ac_err"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyecho $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyecho "configure:1646: checking for ANSI C header files" >&5
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#line 1651 "configure"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#include "confdefs.h"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#include <stdlib.h>
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#include <stdarg.h>
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#include <string.h>
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#include <float.h>
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley{ (eval echo configure:1659: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
72421b0e45007761f0602fd312965bc23e31e9ebBob Halleyif test -z "$ac_err"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley#line 1676 "configure"
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley#include "confdefs.h"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#include <string.h>
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#line 1694 "configure"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#include "confdefs.h"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#include <stdlib.h>
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#line 1715 "configure"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#include "confdefs.h"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#include <ctype.h>
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyint main () { int i; for (i = 0; i < 256; i++)
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif { (eval echo configure:1726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#define STDC_HEADERS 1
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfor ac_hdr in fcntl.h sys/time.h unistd.h sys/sockio.h sys/select.h
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#line 1759 "configure"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#include "confdefs.h"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#include <$ac_hdr>
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley{ (eval echo configure:1764: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif test -z "$ac_err"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley eval "ac_cv_header_$ac_safe=yes"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley eval "ac_cv_header_$ac_safe=no"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#define $ac_tr_hdr 1
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyecho $ac_n "checking for working const""... $ac_c" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyecho "configure:1792: checking for working const" >&5
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley#line 1797 "configure"
eb4c09176b07133532861dd9d5a38fe6ab68e48bBob Halley#include "confdefs.h"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley/* Ultrix mips cc rejects this. */
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleytypedef int charset[2]; const charset x;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley/* SunOS 4.1.1 cc rejects this. */
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleychar const *const *ccp;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley/* NEC SVR4.0.2 mips cc rejects this. */
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleystruct point {int x, y;};
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleystatic struct point const zero = {0,0};
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley/* AIX XL C 1.02.0.0 rejects this.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley It does not let you subtract one const X* pointer from another in an arm
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley of an if-expression whose if-part is not a constant expression */
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyconst char *g = "string";
690a68b8112039e633e26f9216c0d463751e011aMichael Graffccp = &g + (g ? g-g : 0);
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley/* HPUX 7.0 cc rejects these. */
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyp = (char**) ccp;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyccp = (char const *const *) p;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley{ /* SCO 3.2v4 cc rejects this. */
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley char const *s = 0 ? (char *) 0 : (char const *) 0;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley int x[] = {25, 17};
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley const int *foo = &x[0];
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley typedef const int *iptr;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley{ /* AIX XL C 1.02.0.0 rejects this saying
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley struct s { int j; const int *ap[3]; };
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley struct s *b; b->j = 5;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley const int foo = 10;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley; return 0; }
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif { (eval echo configure:1846: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#define const
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#line 1874 "configure"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#include "confdefs.h"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley} $ac_kw foo() {
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley; return 0; }
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif { (eval echo configure:1881: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#define inline
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#define inline $ac_cv_c_inline
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# UnixWare 7.1.1 with the feature supplement to the UDK compiler
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# is reported to not support "static inline" (RT #1212).
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyecho $ac_n "checking for static inline breakage""... $ac_c" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyecho "configure:1912: checking for static inline breakage" >&5
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#line 1914 "configure"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#include "confdefs.h"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley static inline int foo1() {
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley static inline int foo2() {
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley return foo1();
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley; return 0; }
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif { (eval echo configure:1931: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#define inline
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#line 1952 "configure"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#include "confdefs.h"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#include <sys/types.h>
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#if STDC_HEADERS
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#include <stdlib.h>
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#include <stddef.h>
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#define size_t unsigned
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyecho $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyecho "configure:1980: checking whether time.h and sys/time.h may both be included" >&5
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#line 1985 "configure"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#include "confdefs.h"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#include <sys/types.h>
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#include <sys/time.h>
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#include <time.h>
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleystruct tm *tp;
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley; return 0; }
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif { (eval echo configure:1994: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#define TIME_WITH_SYS_TIME 1
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyecho $ac_n "checking for long long""... $ac_c" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#line 2017 "configure"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#include "confdefs.h"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleylong long i = 0; return (0);
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley; return 0; }
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif { (eval echo configure:2024: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ISC_PLATFORM_HAVELONGLONG="#define ISC_PLATFORM_HAVELONGLONG 1"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ISC_PLATFORM_HAVELONGLONG="#undef ISC_PLATFORM_HAVELONGLONG"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# check if we need to #include sys/select.h explicitly
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyecho $ac_n "checking if unistd.h defines fd_set""... $ac_c" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyecho "configure:2044: checking if unistd.h defines fd_set" >&5
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#line 2046 "configure"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#include "confdefs.h"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley#include <unistd.h>
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyfd_set read_set; return (0);
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley; return 0; }
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif { (eval echo configure:2054: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ISC_PLATFORM_NEEDSYSSELECTH="#undef ISC_PLATFORM_NEEDSYSSELECTH"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley LWRES_PLATFORM_NEEDSYSSELECTH="#undef LWRES_PLATFORM_NEEDSYSSELECTH"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ISC_PLATFORM_NEEDSYSSELECTH="#define ISC_PLATFORM_NEEDSYSSELECTH 1"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley LWRES_PLATFORM_NEEDSYSSELECTH="#define LWRES_PLATFORM_NEEDSYSSELECTH 1"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley { echo "configure: error: need either working unistd.h or sys/select.h" 1>&2; exit 1; }
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley ISC_PLATFORM_NEEDSYSSELECTH="#define ISC_PLATFORM_NEEDSYSSELECTH 1"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley LWRES_PLATFORM_NEEDSYSSELECTH="#define LWRES_PLATFORM_NEEDSYSSELECTH 1"
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley { echo "configure: error: need either unistd.h or sys/select.h" 1>&2; exit 1; }
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# Find the machine's endian flavor.
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyecho $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyecho "configure:2096: checking whether byte ordering is bigendian" >&5
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleyif eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# See if sys/param.h defines the BYTE_ORDER macro.
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)
yes)
# DST_GSSAPI_INC="-I$use_gssapi/include"
# DNS_GSSAPI_LIBS="-L$use_gssapi/lib -lgssapi_krb5"
# AC_MSG_RESULT(using gssapi from $use_gssapi/lib and $use_gssapi/include)
*-openbsd*)
if test -r $devrandom; then
eval "ac_cv_file_$ac_safe=yes"
eval "ac_cv_file_$ac_safe=no"
yes)
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:2505: \"$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:2550: \"$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:2595: \"$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:2640: \"$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:2685: \"$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:2750: \"$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:2791: \"$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:2832: \"$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:2890: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
*-freebsd*)
if { (eval echo configure:2941: \"$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:3024: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:3090: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
*-freebsd*)
*-openbsd*)
*-solaris*)
*-solaris*)
if { (eval echo configure:3199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:3250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if $use_threads; then
*-solaris*)
if { (eval echo configure:3381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:3438: \"$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:3485: \"$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:4248: \"$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:4299: \"$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:4713: \"$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:5096: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
cd conftest
chmod -w .
if { (eval echo configure:5146: \"$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:6412: \"$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:6459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:6505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:6542: \"$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:6580: \"$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:6704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} 2>/dev/null; then
lt_status=$?
if { (eval echo configure:6798: \"$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:6869: \"$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:7696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
no)
if { (eval echo configure:7822: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:7856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
if { (eval echo configure:7886: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:8243: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:8292: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:8341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:8394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:8484: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:8533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:8579: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
if { (eval echo configure:8627: \"$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:8774: \"$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} && (./conftest; exit) 2>/dev/null
if { (eval echo configure:8816: \"$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