configure revision b8ad303b6a0de6b72d53b5ed634790daead6cc62
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# Copyright (C) 1996-2001 Internet Software Consortium.
ec5347e2c775f027573ce5648b910361aa926c01Automatic Updater# Permission to use, copy, modify, and distribute this software for any
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister# purpose with or without fee is hereby granted, provided that the above
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister# copyright notice and this permission notice appear in all copies.
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# INTERNET SOFTWARE CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT,
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
d7201de09b85929a86b157f4b2d91667c68c6b52Automatic Updater# $Id: configure,v 1.307 2002/05/03 02:01:49 marka Exp $
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein# Portions Copyright (C) 1996-2001 Nominum, Inc.
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister# Permission to use, copy, modify, and distribute this software for any
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister# purpose with or without fee is hereby granted, provided that the above
1a69a1a78cfaa86f3b68bbc965232b7876d4da2aDavid Lawrence# copyright notice and this permission notice appear in all copies.
364a82f7c25b62967678027043425201a5e5171aBob Halley# THE SOFTWARE IS PROVIDED "AS IS" AND NOMINUM DISCLAIMS ALL WARRANTIES
600cbd1fcea3c9cc9706dc1ff8fc0d0034ebdeacTatuya JINMEI 神明達哉# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL NOMINUM BE LIABLE FOR
b3e77535185043f089b346166440402d092030c3David Lawrence# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
590f840d3484114576d9f8a7f7d73fbe31228888Brian Wellington# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister# OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein# From configure.in Revision: 1.322
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister# libtool.m4 - Configure libtool for the host system. -*-Shell-script-*-
a920fb9dc2ff16f32dd73e53469d0febcdcc6c11Mark Andrews## Copyright 1996, 1997, 1998, 1999, 2000, 2001
a920fb9dc2ff16f32dd73e53469d0febcdcc6c11Mark Andrews## Free Software Foundation, Inc.
a920fb9dc2ff16f32dd73e53469d0febcdcc6c11Mark Andrews## Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
a920fb9dc2ff16f32dd73e53469d0febcdcc6c11Mark Andrews## This program is free software; you can redistribute it and/or modify
a920fb9dc2ff16f32dd73e53469d0febcdcc6c11Mark Andrews## it under the terms of the GNU General Public License as published by
a920fb9dc2ff16f32dd73e53469d0febcdcc6c11Mark Andrews## the Free Software Foundation; either version 2 of the License, or
a920fb9dc2ff16f32dd73e53469d0febcdcc6c11Mark Andrews## (at your option) any later version.
a920fb9dc2ff16f32dd73e53469d0febcdcc6c11Mark Andrews## This program is distributed in the hope that it will be useful, but
a920fb9dc2ff16f32dd73e53469d0febcdcc6c11Mark Andrews## WITHOUT ANY WARRANTY; without even the implied warranty of
a920fb9dc2ff16f32dd73e53469d0febcdcc6c11Mark Andrews## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
a920fb9dc2ff16f32dd73e53469d0febcdcc6c11Mark Andrews## General Public License for more details.
1f1d36a87b65186d9f89aac7f456ab1fd2a39ef6Andreas Gustafsson## You should have received a copy of the GNU General Public License
1f1d36a87b65186d9f89aac7f456ab1fd2a39ef6Andreas Gustafsson## along with this program; if not, write to the Free Software
b3e77535185043f089b346166440402d092030c3David Lawrence## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
1f1d36a87b65186d9f89aac7f456ab1fd2a39ef6Andreas Gustafsson## As a special exception to the GNU General Public License, if you
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister## distribute this file as part of a program that contains a
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister## configuration script generated by Autoconf, you may include it under
b3e77535185043f089b346166440402d092030c3David Lawrence## the same distribution terms that you use for the rest of that program.
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence# serial 46 AC_PROG_LIBTOOL
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence# AC_LIBTOOL_HEADER_ASSERT
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister# ------------------------
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister# AC_LIBTOOL_HEADER_ASSERT
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister# _LT_AC_CHECK_DLFCN
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence# --------------------
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister# _LT_AC_CHECK_DLFCN
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister# AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister# ---------------------------------
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
b3e77535185043f089b346166440402d092030c3David Lawrence# _LT_AC_LIBTOOL_SYS_PATH_SEPARATOR
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister# ---------------------------------
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister# _LT_AC_LIBTOOL_SYS_PATH_SEPARATOR
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister# _LT_AC_PROG_ECHO_BACKSLASH
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister# --------------------------
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence# Add some code to the start of the generated configure script which
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister# will find an echo command which doesn't interpret backslashes.
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister# _LT_AC_PROG_ECHO_BACKSLASH
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister# _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister# ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister# ------------------------------------------------------------------
b3e77535185043f089b346166440402d092030c3David Lawrence# _LT_AC_TRY_DLOPEN_SELF
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence# AC_LIBTOOL_DLOPEN_SELF
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister# -------------------
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister# AC_LIBTOOL_DLOPEN_SELF
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister# _LT_AC_LTCONFIG_HACK
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister# AC_LIBTOOL_DLOPEN - enable checks for dlopen support
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister# AC_LIBTOOL_WIN32_DLL - declare package support for building win32 dll's
1f1d36a87b65186d9f89aac7f456ab1fd2a39ef6Andreas Gustafsson# AC_ENABLE_SHARED - implement the --enable-shared flag
1f1d36a87b65186d9f89aac7f456ab1fd2a39ef6Andreas Gustafsson# Usage: AC_ENABLE_SHARED[(DEFAULT)]
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister# AC_DISABLE_SHARED - set the default shared flag to --disable-shared
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister# AC_ENABLE_STATIC - implement the --enable-static flag
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister# Usage: AC_ENABLE_STATIC[(DEFAULT)]
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence# AC_DISABLE_STATIC - set the default static flag to --disable-static
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister# AC_ENABLE_FAST_INSTALL - implement the --enable-fast-install flag
1f1d36a87b65186d9f89aac7f456ab1fd2a39ef6Andreas Gustafsson# Usage: AC_ENABLE_FAST_INSTALL[(DEFAULT)]
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
f3ca27e9fe307b55e35ea8d7b37351650630e5a3Andreas Gustafsson# AC_DISABLE_FAST_INSTALL - set the default to --disable-fast-install
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister# AC_LIBTOOL_PICMODE - implement the --with-pic flag
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister# Usage: AC_LIBTOOL_PICMODE[(MODE)]
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister# Where MODE is either `yes' or `no'. If omitted, it defaults to
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence# AC_PATH_TOOL_PREFIX - find a file program which can recognise shared library
4844ed026a9b5a91044e76399cee80a6514cbf0dMark Andrews# AC_PATH_MAGIC - find a file program which can recognise a shared library
4844ed026a9b5a91044e76399cee80a6514cbf0dMark Andrews# AC_PROG_LD - find the path to the GNU or non-GNU linker
4844ed026a9b5a91044e76399cee80a6514cbf0dMark Andrews# AC_PROG_LD_GNU -
db30f4bdcb66afb7eb1ab0c6882cc70be9a53d79Mark Andrews# AC_PROG_LD_RELOAD_FLAG - find reload flag for linker
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister# -- PORTME Some linkers may need a different reload flag.
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister# AC_DEPLIBS_CHECK_METHOD - how to check for library dependencies
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister# -- PORTME fill in with the dynamic library characteristics
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence# AC_PROG_NM - find the path to a BSD-compatible name lister
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence# AC_CHECK_LIBM - check for math library
4844ed026a9b5a91044e76399cee80a6514cbf0dMark Andrews# AC_LIBLTDL_CONVENIENCE[(dir)] - sets LIBLTDL to the link flags for
4844ed026a9b5a91044e76399cee80a6514cbf0dMark Andrews# the libltdl convenience library and INCLTDL to the include flags for
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister# the libltdl header and adds --enable-ltdl-convenience to the
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence# configure arguments. Note that LIBLTDL and INCLTDL are not
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister# AC_SUBSTed, nor is AC_CONFIG_SUBDIRS called. If DIR is not
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister# provided, it is assumed to be `libltdl'. LIBLTDL will be prefixed
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence# with '${top_builddir}/' and INCLTDL will be prefixed with
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister# '${top_srcdir}/' (note the single quotes!). If your package is not
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister# flat and you're not using automake, define top_builddir and
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister# top_srcdir appropriately in the Makefiles.
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister# AC_LIBLTDL_INSTALLABLE[(dir)] - sets LIBLTDL to the link flags for
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence# the libltdl installable library and INCLTDL to the include flags for
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister# the libltdl header and adds --enable-ltdl-install to the configure
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister# arguments. Note that LIBLTDL and INCLTDL are not AC_SUBSTed, nor is
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister# AC_CONFIG_SUBDIRS called. If DIR is not provided and an installed
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister# libltdl is not found, it is assumed to be `libltdl'. LIBLTDL will
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister# be prefixed with '${top_builddir}/' and INCLTDL will be prefixed
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister# with '${top_srcdir}/' (note the single quotes!). If your package is
b3e77535185043f089b346166440402d092030c3David Lawrence# not flat and you're not using automake, define top_builddir and
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister# top_srcdir appropriately in the Makefiles.
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister# In the future, this macro may have to be called after AC_PROG_LIBTOOL.
4844ed026a9b5a91044e76399cee80a6514cbf0dMark Andrews# This is just to silence aclocal about the macro not being used
4844ed026a9b5a91044e76399cee80a6514cbf0dMark Andrews# Guess values for system-dependent variables and create Makefiles.
4844ed026a9b5a91044e76399cee80a6514cbf0dMark Andrews# Generated automatically using autoconf version 2.13
4844ed026a9b5a91044e76399cee80a6514cbf0dMark Andrews# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
4844ed026a9b5a91044e76399cee80a6514cbf0dMark Andrews# This configure script is free software; the Free Software Foundation
4844ed026a9b5a91044e76399cee80a6514cbf0dMark Andrews# gives unlimited permission to copy, distribute and modify it.
4844ed026a9b5a91044e76399cee80a6514cbf0dMark Andrews# Any additions from configure.in:
4844ed026a9b5a91044e76399cee80a6514cbf0dMark Andrews --with-openssl[=PATH] Build with OpenSSL [yes|no|path].
4844ed026a9b5a91044e76399cee80a6514cbf0dMark Andrews (Required for DNSSEC)"
db30f4bdcb66afb7eb1ab0c6882cc70be9a53d79Mark Andrews --with-randomdev=PATH Specify path for random device"
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence --enable-threads enable multithreading"
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence --with-ptl2 on NetBSD, use the ptl2 thread library (experimental)"
1f1d36a87b65186d9f89aac7f456ab1fd2a39ef6Andreas Gustafsson --enable-largefile 64-bit file support"
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence --with-purify[=PATH] use Rational purify"
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister --with-libtool use GNU libtool (following indented options supported)"
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister --enable-shared[=PKGS] build shared libraries [default=yes]"
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister --enable-static[=PKGS] build static libraries [default=yes]"
5475a2d296215b7a93bd89804dc33c36a6de7cb5James Brister --enable-fast-install[=PKGS] optimize for fast installation [default=yes]"
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister --with-gnu-ld assume the C compiler uses GNU ld [default=no]"
600cbd1fcea3c9cc9706dc1ff8fc0d0034ebdeacTatuya JINMEI 神明達哉# Find the correct PATH separator. Usually this is `:', but
7d4a465de03b26bf9f5ef131d03253b8f6afc169Mark Andrews# DJGPP uses `;' like DOS.
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister# Check that we are running under the correct shell.
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister # Remove one level of quotation (which was required for Make).
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister # Discard the --no-reexec flag, and continue.
b3e77535185043f089b346166440402d092030c3David Lawrence # Avoid inline document here, it may be left over
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrenceelif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister # Yippee, $echo works!
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister # Restart under the correct shell.
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister # used as fallback echo
1f1d36a87b65186d9f89aac7f456ab1fd2a39ef6Andreas Gustafsson# The HP-UX ksh and POSIX shell print the target directory to stdout
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister# if CDPATH is set.
2cde028c51055c9fd4837337116cd4fdfe8ff623James Bristerif test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
2cde028c51055c9fd4837337116cd4fdfe8ff623James Bristerif test -z "$ECHO"; then
2cde028c51055c9fd4837337116cd4fdfe8ff623James Bristerif test "X${echo_test_string+set}" != Xset; then
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence# find a string as large as possible, as long as the shell can cope with it
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister if (echo_test_string="`eval $cmd`") 2>/dev/null &&
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
2cde028c51055c9fd4837337116cd4fdfe8ff623James Bristerif test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
75d747e1c5a30d6ef6c6238c6e27baa11d6f3bf6Mark Andrews test "X$echo_testing_string" = "X$echo_test_string"; then
75d747e1c5a30d6ef6c6238c6e27baa11d6f3bf6Mark Andrews # The Solaris, AIX, and Digital Unix default echo programs unquote
75d747e1c5a30d6ef6c6238c6e27baa11d6f3bf6Mark Andrews # backslashes. This makes it impossible to quote backslashes using
75d747e1c5a30d6ef6c6238c6e27baa11d6f3bf6Mark Andrews # echo "$something" | sed 's/\\/\\\\/g'
600cbd1fcea3c9cc9706dc1ff8fc0d0034ebdeacTatuya JINMEI 神明達哉 # So, first we look for a working echo in the user's PATH.
600cbd1fcea3c9cc9706dc1ff8fc0d0034ebdeacTatuya JINMEI 神明達哉 IFS="${IFS= }"; save_ifs="$IFS"; IFS=$PATH_SEPARATOR
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister test "X$echo_testing_string" = "X$echo_test_string"; then
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence # We didn't find a better echo, so look for alternatives.
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
b3e77535185043f089b346166440402d092030c3David Lawrence echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence test "X$echo_testing_string" = "X$echo_test_string"; then
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister # This shell has a builtin print -r that does the trick.
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister echo='print -r'
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
b3e77535185043f089b346166440402d092030c3David Lawrence # If we have ksh, try running configure again with it.
b3e77535185043f089b346166440402d092030c3David Lawrence # Try using printf.
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister echo='printf %s\n'
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister test "X$echo_testing_string" = "X$echo_test_string"; then
5475a2d296215b7a93bd89804dc33c36a6de7cb5James Brister # Cool, printf works
5475a2d296215b7a93bd89804dc33c36a6de7cb5James Brister elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
5475a2d296215b7a93bd89804dc33c36a6de7cb5James Brister echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence test "X$echo_testing_string" = "X$echo_test_string"; then
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence echo="$CONFIG_SHELL $0 --fallback-echo"
5475a2d296215b7a93bd89804dc33c36a6de7cb5James Brister elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
5475a2d296215b7a93bd89804dc33c36a6de7cb5James Brister echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
5475a2d296215b7a93bd89804dc33c36a6de7cb5James Brister test "X$echo_testing_string" = "X$echo_test_string"; then
b3e77535185043f089b346166440402d092030c3David Lawrence echo="$CONFIG_SHELL $0 --fallback-echo"
5475a2d296215b7a93bd89804dc33c36a6de7cb5James Brister # maybe with a smaller string...
5475a2d296215b7a93bd89804dc33c36a6de7cb5James Brister for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
5475a2d296215b7a93bd89804dc33c36a6de7cb5James Brister if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
5475a2d296215b7a93bd89804dc33c36a6de7cb5James Brister exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
b3e77535185043f089b346166440402d092030c3David Lawrence # Oops. We lost completely, so just stick with echo.
b3e77535185043f089b346166440402d092030c3David Lawrence# Copy echo and quote the copy suitably for passing to libtool from
5475a2d296215b7a93bd89804dc33c36a6de7cb5James Brister# the Makefile, instead of quoting the original, which is used later.
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrenceif test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
5475a2d296215b7a93bd89804dc33c36a6de7cb5James Brister --disable-libtool-lock avoid locking (might break parallel builds)"
d25dd5b0567f67ecf40b7ed1cb20e0dce7b41c49Brian Wellington --with-pic try to use only PIC/non-PIC objects [default=use both]"
d25dd5b0567f67ecf40b7ed1cb20e0dce7b41c49Brian Wellington --enable-libbind build libbind [default=no]"
d25dd5b0567f67ecf40b7ed1cb20e0dce7b41c49Brian Wellington --enable-ipv6 use IPv6 [default=autodetect]"
d25dd5b0567f67ecf40b7ed1cb20e0dce7b41c49Brian Wellington --with-kame[=PATH] use Kame IPv6 [default path /usr/local/v6]"
d25dd5b0567f67ecf40b7ed1cb20e0dce7b41c49Brian Wellington --disable-linux-caps disable linux capabilities"
d25dd5b0567f67ecf40b7ed1cb20e0dce7b41c49Brian Wellington# Initialize some variables set by options.
d25dd5b0567f67ecf40b7ed1cb20e0dce7b41c49Brian Wellington# The variables have the same names as the options, with
d25dd5b0567f67ecf40b7ed1cb20e0dce7b41c49Brian Wellington# dashes changed to underlines.
db30f4bdcb66afb7eb1ab0c6882cc70be9a53d79Mark Andrews# Initialize some other variables.
db30f4bdcb66afb7eb1ab0c6882cc70be9a53d79Mark Andrews# Maximum number of lines to put in a shell here document.
b5f6271f4daf1e54501af2cb7dd278d7e8003d65Mark Andrews # If the previous option needs an argument, assign it.
b5f6271f4daf1e54501af2cb7dd278d7e8003d65Mark Andrews if test -n "$ac_prev"; then
b5f6271f4daf1e54501af2cb7dd278d7e8003d65Mark Andrews eval "$ac_prev=\$ac_option"
b5f6271f4daf1e54501af2cb7dd278d7e8003d65Mark Andrews -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
b5f6271f4daf1e54501af2cb7dd278d7e8003d65Mark Andrews # Accept the important Cygnus configure options, so we can diagnose typos.
b5f6271f4daf1e54501af2cb7dd278d7e8003d65Mark Andrews -bindir | --bindir | --bindi | --bind | --bin | --bi)
b5f6271f4daf1e54501af2cb7dd278d7e8003d65Mark Andrews -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister -build=* | --build=* | --buil=* | --bui=* | --bu=*)
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence -cache-file | --cache-file | --cache-fil | --cache-fi \
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
b3e77535185043f089b346166440402d092030c3David Lawrence -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence # Reject names that are not valid shell variable names.
b3e77535185043f089b346166440402d092030c3David Lawrence if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister eval "enable_${ac_feature}=no" ;;
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister # Reject names that are not valid shell variable names.
b3e77535185043f089b346166440402d092030c3David Lawrence if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister eval "enable_${ac_feature}='$ac_optarg'" ;;
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
b3e77535185043f089b346166440402d092030c3David Lawrence | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister # Obsolete; use --with-gas.
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister # Omit some internal or obsolete options to make the list less imposing.
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister # This message is too long to be a string in the A/UX 3.1 sh.
2cde028c51055c9fd4837337116cd4fdfe8ff623James BristerUsage: configure [options] [host]
b3e77535185043f089b346166440402d092030c3David LawrenceOptions: [defaults in brackets after descriptions]
2cde028c51055c9fd4837337116cd4fdfe8ff623James BristerConfiguration:
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister --cache-file=FILE cache test results in FILE
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister --help print this message
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister --no-create do not create output files
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister --quiet, --silent do not print \`checking...' messages
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister --version print the version of autoconf that created configure
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David LawrenceDirectory and file names:
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister --prefix=PREFIX install architecture-independent files in PREFIX
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister [$ac_default_prefix]
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister [same as prefix]
b3e77535185043f089b346166440402d092030c3David Lawrence --bindir=DIR user executables in DIR [EPREFIX/bin]
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister --datadir=DIR read-only architecture-independent data in DIR
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister [PREFIX/share]
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister --sharedstatedir=DIR modifiable architecture-independent data in DIR
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister --libdir=DIR object code libraries in DIR [EPREFIX/lib]
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister --includedir=DIR C header files in DIR [PREFIX/include]
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister --infodir=DIR info documentation in DIR [PREFIX/info]
2cde028c51055c9fd4837337116cd4fdfe8ff623James Brister --mandir=DIR man documentation in DIR [PREFIX/man]
590f840d3484114576d9f8a7f7d73fbe31228888Brian Wellington --srcdir=DIR find the sources in DIR [configure dir or ..]
590f840d3484114576d9f8a7f7d73fbe31228888Brian Wellington --program-prefix=PREFIX prepend PREFIX to installed program names
590f840d3484114576d9f8a7f7d73fbe31228888Brian Wellington --program-suffix=SUFFIX append SUFFIX to installed program names
590f840d3484114576d9f8a7f7d73fbe31228888Brian Wellington --program-transform-name=PROGRAM
590f840d3484114576d9f8a7f7d73fbe31228888Brian Wellington run sed PROGRAM on installed program names
15c5b240a6122795212c1aff03634e7156951e91Brian Wellington --build=BUILD configure for building on BUILD [BUILD=HOST]
6f7abb89ec22aef5eda40ed60fcf605a42b78d4dMark Andrews --host=HOST configure for HOST [guessed]
590f840d3484114576d9f8a7f7d73fbe31228888Brian Wellington --target=TARGET configure for TARGET [TARGET=HOST]
590f840d3484114576d9f8a7f7d73fbe31228888Brian WellingtonFeatures and packages:
307d2084502eddc7ce921e5ce439aec3531d90e0Tatuya JINMEI 神明達哉 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
590f840d3484114576d9f8a7f7d73fbe31228888Brian Wellington --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
590f840d3484114576d9f8a7f7d73fbe31228888Brian Wellington --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
590f840d3484114576d9f8a7f7d73fbe31228888Brian Wellington --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
590f840d3484114576d9f8a7f7d73fbe31228888Brian Wellington --x-includes=DIR X include files are in DIR
590f840d3484114576d9f8a7f7d73fbe31228888Brian Wellington --x-libraries=DIR X library files are in DIR
590f840d3484114576d9f8a7f7d73fbe31228888Brian Wellington if test -n "$ac_help"; then
590f840d3484114576d9f8a7f7d73fbe31228888Brian Wellington echo "--enable and --with options recognized:$ac_help"
590f840d3484114576d9f8a7f7d73fbe31228888Brian Wellington -includedir | --includedir | --includedi | --included | --include \
590f840d3484114576d9f8a7f7d73fbe31228888Brian Wellington -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
600cbd1fcea3c9cc9706dc1ff8fc0d0034ebdeacTatuya JINMEI 神明達哉 | --includ=* | --inclu=* | --incl=* | --inc=*)
45e1bd63587102c3bb361eaca42ee7b714fb3542Mark Andrews -infodir | --infodir | --infodi | --infod | --info | --inf)
600cbd1fcea3c9cc9706dc1ff8fc0d0034ebdeacTatuya JINMEI 神明達哉 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
600cbd1fcea3c9cc9706dc1ff8fc0d0034ebdeacTatuya JINMEI 神明達哉 -libdir=* | --libdir=* | --libdi=* | --libd=*)
600cbd1fcea3c9cc9706dc1ff8fc0d0034ebdeacTatuya JINMEI 神明達哉 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
600cbd1fcea3c9cc9706dc1ff8fc0d0034ebdeacTatuya JINMEI 神明達哉 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
600cbd1fcea3c9cc9706dc1ff8fc0d0034ebdeacTatuya JINMEI 神明達哉 -localstatedir | --localstatedir | --localstatedi | --localstated \
600cbd1fcea3c9cc9706dc1ff8fc0d0034ebdeacTatuya JINMEI 神明達哉 | --localstate | --localstat | --localsta | --localst \
600cbd1fcea3c9cc9706dc1ff8fc0d0034ebdeacTatuya JINMEI 神明達哉 | --locals | --local | --loca | --loc | --lo)
600cbd1fcea3c9cc9706dc1ff8fc0d0034ebdeacTatuya JINMEI 神明達哉 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
600cbd1fcea3c9cc9706dc1ff8fc0d0034ebdeacTatuya JINMEI 神明達哉 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
600cbd1fcea3c9cc9706dc1ff8fc0d0034ebdeacTatuya JINMEI 神明達哉 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
600cbd1fcea3c9cc9706dc1ff8fc0d0034ebdeacTatuya JINMEI 神明達哉 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
600cbd1fcea3c9cc9706dc1ff8fc0d0034ebdeacTatuya JINMEI 神明達哉 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
45e1bd63587102c3bb361eaca42ee7b714fb3542Mark Andrews # Obsolete; use --without-fp.
7d4a465de03b26bf9f5ef131d03253b8f6afc169Mark Andrews -no-create | --no-create | --no-creat | --no-crea | --no-cre \
7d4a465de03b26bf9f5ef131d03253b8f6afc169Mark Andrews -no-recursion | --no-recursion | --no-recursio | --no-recursi \
7d4a465de03b26bf9f5ef131d03253b8f6afc169Mark Andrews | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
7d4a465de03b26bf9f5ef131d03253b8f6afc169Mark Andrews -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
db30f4bdcb66afb7eb1ab0c6882cc70be9a53d79Mark Andrews | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
7d4a465de03b26bf9f5ef131d03253b8f6afc169Mark Andrews -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
7d4a465de03b26bf9f5ef131d03253b8f6afc169Mark Andrews | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
7d4a465de03b26bf9f5ef131d03253b8f6afc169Mark Andrews | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
7d4a465de03b26bf9f5ef131d03253b8f6afc169Mark Andrews -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
7d4a465de03b26bf9f5ef131d03253b8f6afc169Mark Andrews -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
7d4a465de03b26bf9f5ef131d03253b8f6afc169Mark Andrews -program-prefix | --program-prefix | --program-prefi | --program-pref \
7d4a465de03b26bf9f5ef131d03253b8f6afc169Mark Andrews -program-prefix=* | --program-prefix=* | --program-prefi=* \
7d4a465de03b26bf9f5ef131d03253b8f6afc169Mark Andrews | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
7d4a465de03b26bf9f5ef131d03253b8f6afc169Mark Andrews -program-suffix | --program-suffix | --program-suffi | --program-suff \
7d4a465de03b26bf9f5ef131d03253b8f6afc169Mark Andrews -program-suffix=* | --program-suffix=* | --program-suffi=* \
7d4a465de03b26bf9f5ef131d03253b8f6afc169Mark Andrews | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
7d4a465de03b26bf9f5ef131d03253b8f6afc169Mark Andrews -program-transform-name | --program-transform-name \
7d4a465de03b26bf9f5ef131d03253b8f6afc169Mark Andrews | --program-transform-nam | --program-transform-na \
7d4a465de03b26bf9f5ef131d03253b8f6afc169Mark Andrews | --program-transform-n | --program-transform- \
7d4a465de03b26bf9f5ef131d03253b8f6afc169Mark Andrews -program-transform-name=* | --program-transform-name=* \
7d4a465de03b26bf9f5ef131d03253b8f6afc169Mark Andrews | --program-transform-nam=* | --program-transform-na=* \
7d4a465de03b26bf9f5ef131d03253b8f6afc169Mark Andrews | --program-transform-n=* | --program-transform-=* \
7d4a465de03b26bf9f5ef131d03253b8f6afc169Mark Andrews | --program-transform=* | --program-transfor=* \
7d4a465de03b26bf9f5ef131d03253b8f6afc169Mark Andrews | --progr-tra=* | --program-tr=* | --program-t=*)
7d4a465de03b26bf9f5ef131d03253b8f6afc169Mark Andrews -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7d4a465de03b26bf9f5ef131d03253b8f6afc169Mark Andrews | -silent | --silent | --silen | --sile | --sil)
7d4a465de03b26bf9f5ef131d03253b8f6afc169Mark Andrews -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
7d4a465de03b26bf9f5ef131d03253b8f6afc169Mark Andrews -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1c153afce556ff3c687986fb7c4a0b0a7f5e7cd8Mark Andrews -sharedstatedir | --sharedstatedir | --sharedstatedi \
1c153afce556ff3c687986fb7c4a0b0a7f5e7cd8Mark Andrews | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1c153afce556ff3c687986fb7c4a0b0a7f5e7cd8Mark Andrews | --sharedst | --shareds | --shared | --share | --shar \
1c153afce556ff3c687986fb7c4a0b0a7f5e7cd8Mark Andrews -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1c153afce556ff3c687986fb7c4a0b0a7f5e7cd8Mark Andrews | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1c153afce556ff3c687986fb7c4a0b0a7f5e7cd8Mark Andrews | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1c153afce556ff3c687986fb7c4a0b0a7f5e7cd8Mark Andrews -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
db30f4bdcb66afb7eb1ab0c6882cc70be9a53d79Mark Andrews -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
db30f4bdcb66afb7eb1ab0c6882cc70be9a53d79Mark Andrews -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
08c90261660649ca7d92065f6f13a61ec5a9a86dMark Andrews -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
08c90261660649ca7d92065f6f13a61ec5a9a86dMark Andrews | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
08c90261660649ca7d92065f6f13a61ec5a9a86dMark Andrews -target | --target | --targe | --targ | --tar | --ta | --t)
08c90261660649ca7d92065f6f13a61ec5a9a86dMark Andrews -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
08c90261660649ca7d92065f6f13a61ec5a9a86dMark Andrews -v | -verbose | --verbose | --verbos | --verbo | --verb)
08c90261660649ca7d92065f6f13a61ec5a9a86dMark Andrews -version | --version | --versio | --versi | --vers)
08c90261660649ca7d92065f6f13a61ec5a9a86dMark Andrews echo "configure generated by autoconf version 2.13"
08c90261660649ca7d92065f6f13a61ec5a9a86dMark Andrews ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
08c90261660649ca7d92065f6f13a61ec5a9a86dMark Andrews # Reject names that are not valid shell variable names.
08c90261660649ca7d92065f6f13a61ec5a9a86dMark Andrews if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
08c90261660649ca7d92065f6f13a61ec5a9a86dMark Andrews { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
08c90261660649ca7d92065f6f13a61ec5a9a86dMark Andrews eval "with_${ac_package}='$ac_optarg'" ;;
67adc03ef81fb610f8df093b17f55275ee816754Evan Hunt ac_package=`echo $ac_option|sed -e 's/-*without-//'`
67adc03ef81fb610f8df093b17f55275ee816754Evan Hunt # Reject names that are not valid shell variable names.
67adc03ef81fb610f8df093b17f55275ee816754Evan Hunt if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
67adc03ef81fb610f8df093b17f55275ee816754Evan Hunt { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
67adc03ef81fb610f8df093b17f55275ee816754Evan Hunt eval "with_${ac_package}=no" ;;
67adc03ef81fb610f8df093b17f55275ee816754Evan Hunt # Obsolete; use --with-x.
67adc03ef81fb610f8df093b17f55275ee816754Evan Hunt -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
a920fb9dc2ff16f32dd73e53469d0febcdcc6c11Mark Andrews -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
67adc03ef81fb610f8df093b17f55275ee816754Evan Hunt -x-libraries | --x-libraries | --x-librarie | --x-librari \
67adc03ef81fb610f8df093b17f55275ee816754Evan Hunt | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
67adc03ef81fb610f8df093b17f55275ee816754Evan Hunt -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
67adc03ef81fb610f8df093b17f55275ee816754Evan Hunt | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
67adc03ef81fb610f8df093b17f55275ee816754Evan Hunt -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
67adc03ef81fb610f8df093b17f55275ee816754Evan Hunt if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
67adc03ef81fb610f8df093b17f55275ee816754Evan Hunt echo "configure: warning: $ac_option: invalid host type" 1>&2
67adc03ef81fb610f8df093b17f55275ee816754Evan Hunt { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
67adc03ef81fb610f8df093b17f55275ee816754Evan Huntif test -n "$ac_prev"; then
67adc03ef81fb610f8df093b17f55275ee816754Evan Hunt { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
67adc03ef81fb610f8df093b17f55275ee816754Evan Hunttrap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
67adc03ef81fb610f8df093b17f55275ee816754Evan Hunt# File descriptor usage:
a920fb9dc2ff16f32dd73e53469d0febcdcc6c11Mark Andrews# 0 standard input
67adc03ef81fb610f8df093b17f55275ee816754Evan Hunt# 1 file creation
67adc03ef81fb610f8df093b17f55275ee816754Evan Hunt# 2 errors and warnings
67adc03ef81fb610f8df093b17f55275ee816754Evan Hunt# 3 some systems may open it to /dev/tty
67adc03ef81fb610f8df093b17f55275ee816754Evan Hunt# 4 used on the Kubota Titan
67adc03ef81fb610f8df093b17f55275ee816754Evan Hunt# 6 checking for... messages and results
67adc03ef81fb610f8df093b17f55275ee816754Evan Hunt# 5 compiler messages saved in config.log
for ac_arg
# because not all systems understand e.g. LANG=C (notably SCO).
# confdefs.h avoids OS command line length limits that DEFS can exceed.
echo > confdefs.h
if test -z "$srcdir"; then
srcdir=..
if test -z "$CONFIG_SITE"; then
if test -r "$ac_site_file"; then
echo "loading site script $ac_site_file"
. "$ac_site_file"
if test -r "$cache_file"; then
echo "loading cache $cache_file"
echo "creating cache $cache_file"
ac_ext=c
if test -z "$ac_aux_dir"; then
{ echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
# Make sure we can run config.sub.
NONE)
NONE)
all:
if test -n "$ac_maketemp"; then
if test -n "$RANLIB"; then
if test -n "$RANLIB"; then
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
# ./install, which can be erroneously created by make from ./install.sh.
if test -z "$INSTALL"; then
if test -n "$AR"; then
if test -n "$ETAGS"; then
test -n "$ETAGS" && break
# Some systems, e.g. RH7, have the Exuberant Ctags etags instead of
if test -n "$PERL"; then
test -n "$PERL" && break
# the installation, but named.boot/named.conf was in /etc
# would. To change the prefix for everything but leave named.conf
# To put named.conf and named.pid in /usr/local with everything else,
NONE)
*-solaris*)
if test -f "$ac_dir/cc"; then
if test -n "$CC"; then
if test -n "$CC"; then
if test -z "$CC"; then
if test -n "$CC"; then
if test -n "$CC"; then
if test -z "$CC"; then
if test -n "$CC"; then
if test -n "$CC"; then
ac_ext=c
if { (eval echo configure:1500: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
ac_ext=c
{ echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
echo "configure:1526: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1540: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
GCC=
if test "$ac_test_CFLAGS" = set; then
CPP=
if test -z "$CPP"; then
if test -z "$ac_err"; then
if test -z "$ac_err"; then
if test -z "$ac_err"; then
if test -z "$ac_err"; then
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
if { (eval echo configure:1752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
if test -z "$ac_err"; then
eval "ac_cv_header_$ac_safe=yes"
eval "ac_cv_header_$ac_safe=no"
ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
if { (eval echo configure:1961: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
yes)
yes)
no)
no)
yes)
no)
if { (eval echo configure:2309: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
no)
use_openssl=$d
{ echo "configure: error: OpenSSL was not found in any of $openssldirs; use --with-openssl=/path" 1>&2; exit 1; }
if { (eval echo configure:2397: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
$use_openssl/lib and $use_openssl/include.
if { (eval echo configure:2434: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
# DST_GSSAPI_INC="-I$use_gssapi/include"
# DNS_GSSAPI_LIBS="-L$use_gssapi/lib -lgssapi_krb5"
# AC_MSG_RESULT(using gssapi from $use_gssapi/lib and $use_gssapi/include)
*-openbsd*)
if test -r $devrandom; then
eval "ac_cv_file_$ac_safe=yes"
eval "ac_cv_file_$ac_safe=no"
yes)
no)
use_threads=true ;;
use_threads=false ;;
*-solaris*)
use_threads=true ;;
use_threads=true ;;
use_threads=false ;;
use_threads=true ;;
use_threads=true ;;
use_threads=false ;;
use_threads=true ;;
*-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:2730: \"$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:2775: \"$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:2820: \"$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:2865: \"$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:2910: \"$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:2975: \"$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:3016: \"$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:3057: \"$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:3115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
*-freebsd*)
if { (eval echo configure:3166: \"$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:3249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:3315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
*-freebsd*)
*-openbsd*)
*-solaris*)
*-solaris*)
if { (eval echo configure:3428: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:3479: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if $use_threads; then
yes)
*-solaris*)
if { (eval echo configure:3629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:3686: \"$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:3733: \"$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*)
openbsd*)
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
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; }
lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
aix*)
lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/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:4521: \"$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
if { (eval echo configure:4572: \"$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 "$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:4989: \"$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
openbsd*)
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:5379: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
cd conftest
chmod -w .
if { (eval echo configure:5429: \"$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
openbsd*)
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"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
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='$nonopt $(test "x$module" = xyes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linker_flags -install_name $rpath/$soname $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*)
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
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*)
# shared libraries reliably, requiring libgcc.a to resolve some of
# assert need libgcc.a to resolve __eprintf, for example. Linking
# a copy of libgcc.a into every shared library to guarantee resolving
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*)
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
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*)
aix3*)
if test -n "$RANLIB"; then
aix4*)
beos*)
if { (eval echo configure:6823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:6860: \"$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:6907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:6944: \"$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:6982: \"$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:7020: \"$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:7147: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} 2>/dev/null; then
lt_status=$?
if { (eval echo configure:7241: \"$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:7312: \"$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:8143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:8175: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
no)
if { (eval echo configure:8296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:8323: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:8357: \"$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} && (./conftest; exit) 2>/dev/null
if { (eval echo configure:8424: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:8809: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:8858: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:8907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:8960: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
# because AIX 4.3.3 with patches for bos.adt.include to version 4.3.3.77
# reportedly defines strsep() without declaring it in <string.h> when
if { (eval echo configure:9038: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:9078: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:9131: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:9175: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
if { (eval echo configure:9223: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if test -z "$ac_err"; then
eval "ac_cv_header_$ac_safe=yes"
eval "ac_cv_header_$ac_safe=no"
ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
no)
if test -z "$ac_err"; then
eval "ac_cv_header_$ac_safe=yes"
eval "ac_cv_header_$ac_safe=no"
ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
{ echo "configure: error: cannot determine type of rlim_cur when cross compiling - define rlim_t" 1>&2; exit 1; }
if { (eval echo configure:9378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
if { (eval echo configure:9399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
if { (eval echo configure:9420: \"$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