configure revision de476e9bd35b6be1759d5680eb89a394eb67bc39
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley#! /bin/sh
4269c3690697323b4c258ea279fbbe406dc356b3Tinderbox User
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence# From configure.in Revision: 1.90
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley## libtool.m4 - Configure libtool for the target system. -*-Shell-script-*-
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley## Copyright (C) 1996-1999 Free Software Foundation, Inc.
28a8f5b0de57d269cf2845c69cb6abe18cbd3b3aMark Andrews## Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein##
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein## This program is free software; you can redistribute it and/or modify
9c3531d72aeaad6c5f01efe6a1c82023e1379e4dDavid Lawrence## it under the terms of the GNU General Public License as published by
110d1702731f42dd620879c1d765ebe91f3920ceMichael Graff## the Free Software Foundation; either version 2 of the License, or
110d1702731f42dd620879c1d765ebe91f3920ceMichael Graff## (at your option) any later version.
c3b708aaf1bb0a118e0e11befa1b732acfb1d079Bob Halley##
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley## This program is distributed in the hope that it will be useful, but
1a69a1a78cfaa86f3b68bbc965232b7876d4da2aDavid Lawrence## WITHOUT ANY WARRANTY; without even the implied warranty of
c569a0e4d518bf30be1b2ba9cc3592fe470e9822Mark Andrews## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
def8e47c688e2480a4539d69c3d1a0a28a7c0550Mark Andrews## General Public License for more details.
e7857b5ee05414961bb11f9e57f654163fae6acbckb##
364a82f7c25b62967678027043425201a5e5171aBob Halley## You should have received a copy of the GNU General Public License
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley## along with this program; if not, write to the Free Software
a8da00ef95ba37b9d071c2b8db1a0c967e060106Mark Andrews## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
a8da00ef95ba37b9d071c2b8db1a0c967e060106Mark Andrews##
1a69a1a78cfaa86f3b68bbc965232b7876d4da2aDavid Lawrence## As a special exception to the GNU General Public License, if you
8dfa9caeec8e68db0c937e347a3d6629e7627d54Bob Halley## distribute this file as part of a program that contains a
54f959d12b5a1f9315fbf6a776c6d349316e9686Bob Halley## configuration script generated by Autoconf, you may include it under
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley## the same distribution terms that you use for the rest of that program.
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley
4100ae5109c69d8269a8fa626f217a15a633cd7fMark Andrews# serial 40 AC_PROG_LIBTOOL
4100ae5109c69d8269a8fa626f217a15a633cd7fMark Andrews
4100ae5109c69d8269a8fa626f217a15a633cd7fMark Andrews
4100ae5109c69d8269a8fa626f217a15a633cd7fMark Andrews
4100ae5109c69d8269a8fa626f217a15a633cd7fMark Andrews
4100ae5109c69d8269a8fa626f217a15a633cd7fMark Andrews# AC_LIBTOOL_DLOPEN - enable checks for dlopen support
4100ae5109c69d8269a8fa626f217a15a633cd7fMark Andrews
4100ae5109c69d8269a8fa626f217a15a633cd7fMark Andrews
4100ae5109c69d8269a8fa626f217a15a633cd7fMark Andrews# AC_LIBTOOL_WIN32_DLL - declare package support for building win32 dll's
4100ae5109c69d8269a8fa626f217a15a633cd7fMark Andrews
4100ae5109c69d8269a8fa626f217a15a633cd7fMark Andrews
4100ae5109c69d8269a8fa626f217a15a633cd7fMark Andrews# AC_ENABLE_SHARED - implement the --enable-shared flag
4100ae5109c69d8269a8fa626f217a15a633cd7fMark Andrews# Usage: AC_ENABLE_SHARED[(DEFAULT)]
4100ae5109c69d8269a8fa626f217a15a633cd7fMark Andrews# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
4100ae5109c69d8269a8fa626f217a15a633cd7fMark Andrews# `yes'.
4100ae5109c69d8269a8fa626f217a15a633cd7fMark Andrews
4100ae5109c69d8269a8fa626f217a15a633cd7fMark Andrews
4100ae5109c69d8269a8fa626f217a15a633cd7fMark Andrews# AC_DISABLE_SHARED - set the default shared flag to --disable-shared
4100ae5109c69d8269a8fa626f217a15a633cd7fMark Andrews
4100ae5109c69d8269a8fa626f217a15a633cd7fMark Andrews
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley# AC_ENABLE_STATIC - implement the --enable-static flag
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley# Usage: AC_ENABLE_STATIC[(DEFAULT)]
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley# `yes'.
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley# AC_DISABLE_STATIC - set the default static flag to --disable-static
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley
078d49b63324f01d98301ee21671abee0c41fcdeBob Halley
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley# AC_ENABLE_FAST_INSTALL - implement the --enable-fast-install flag
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley# Usage: AC_ENABLE_FAST_INSTALL[(DEFAULT)]
904a5734375869ffb504ed8cde6b68cafadb6d64Bob Halley# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley# `yes'.
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley
ca67883a666bdf314d3da958d5195e7215b1f797Bob Halley
732e0731dec1922747bb3b3147cf2c3d16b22eaaBob Halley# AC_ENABLE_FAST_INSTALL - set the default to --disable-fast-install
b12f0228b32775ee688ed21ddbf3a116c1adfb43Michael Graff
61fb42c4ef45d88e115bd769c30c4f36b461870bMark Andrews
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley# AC_PROG_LD - find the path to the GNU or non-GNU linker
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley
80b782f356f0692c11b4e52e8dd46ec41704e5a2Mark Andrews
e496615043400500492fa7b891c515c8e7cb7d08Bob Halley
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews# AC_PROG_NM - find the path to a BSD-compatible name lister
ca77632f65c939d844f54b9bd48c17b77b817681Mark Andrews
a76b380643a22f23a67a9df284e86cd7ef7608c1Mark Andrews
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley# AC_CHECK_LIBM - check for math library
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley# AC_LIBLTDL_CONVENIENCE[(dir)] - sets LIBLTDL to the link flags for
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley# the libltdl convenience library, adds --enable-ltdl-convenience to
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley# the configure arguments. Note that LIBLTDL is not AC_SUBSTed, nor
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley# is AC_CONFIG_SUBDIRS called. If DIR is not provided, it is assumed
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley# to be `${top_builddir}/libltdl'. Make sure you start DIR with
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley# '${top_builddir}/' (note the single quotes!) if your package is not
078d49b63324f01d98301ee21671abee0c41fcdeBob Halley# flat, and, if you're not using automake, define top_builddir as
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley# appropriate in the Makefiles.
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley# AC_LIBLTDL_INSTALLABLE[(dir)] - sets LIBLTDL to the link flags for
904a5734375869ffb504ed8cde6b68cafadb6d64Bob Halley# the libltdl installable library, and adds --enable-ltdl-install to
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley# the configure arguments. Note that LIBLTDL is not AC_SUBSTed, nor
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley# is AC_CONFIG_SUBDIRS called. If DIR is not provided, it is assumed
ca67883a666bdf314d3da958d5195e7215b1f797Bob Halley# to be `${top_builddir}/libltdl'. Make sure you start DIR with
732e0731dec1922747bb3b3147cf2c3d16b22eaaBob Halley# '${top_builddir}/' (note the single quotes!) if your package is not
b12f0228b32775ee688ed21ddbf3a116c1adfb43Michael Graff# flat, and, if you're not using automake, define top_builddir as
61fb42c4ef45d88e115bd769c30c4f36b461870bMark Andrews# appropriate in the Makefiles.
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley# In the future, this macro may have to be called after AC_PROG_LIBTOOL.
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley
80b782f356f0692c11b4e52e8dd46ec41704e5a2Mark Andrews
e496615043400500492fa7b891c515c8e7cb7d08Bob Halley# Guess values for system-dependent variables and create Makefiles.
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley# Generated automatically using autoconf version 2.13
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley#
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley# This configure script is free software; the Free Software Foundation
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley# gives unlimited permission to copy, distribute and modify it.
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley
2cd0c38115b1efb043ed3104c0d08e51ceade0d7Bob Halley# Defaults:
5619558151f1aa4249b3ead979e76876e29278b6Bob Halleyac_help=
5619558151f1aa4249b3ead979e76876e29278b6Bob Halleyac_default_prefix=/usr/local
078d49b63324f01d98301ee21671abee0c41fcdeBob Halley# Any additions from configure.in:
0180ccf72c79b98eb8ee5abbb7331aec6951dd9fBob Halleyac_help="$ac_help
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley --with-mit-pthreads use the mit-pthreads thread library"
5619558151f1aa4249b3ead979e76876e29278b6Bob Halleyac_help="$ac_help
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley --with-ptl2 use the ptl2 thread library"
5619558151f1aa4249b3ead979e76876e29278b6Bob Halleyac_help="$ac_help
904a5734375869ffb504ed8cde6b68cafadb6d64Bob Halley --with-libtool use GNU libtool"
5619558151f1aa4249b3ead979e76876e29278b6Bob Halleyac_help="$ac_help
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley --enable-shared[=PKGS] build shared libraries [default=yes]"
ca67883a666bdf314d3da958d5195e7215b1f797Bob Halleyac_help="$ac_help
732e0731dec1922747bb3b3147cf2c3d16b22eaaBob Halley --enable-static[=PKGS] build static libraries [default=yes]"
b12f0228b32775ee688ed21ddbf3a116c1adfb43Michael Graffac_help="$ac_help
61fb42c4ef45d88e115bd769c30c4f36b461870bMark Andrews --enable-fast-install[=PKGS] optimize for fast installation [default=yes]"
5619558151f1aa4249b3ead979e76876e29278b6Bob Halleyac_help="$ac_help
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley --with-gnu-ld assume the C compiler uses GNU ld [default=no]"
5619558151f1aa4249b3ead979e76876e29278b6Bob Halleyac_help="$ac_help
80b782f356f0692c11b4e52e8dd46ec41704e5a2Mark Andrews --disable-libtool-lock avoid locking (might break parallel builds)"
e496615043400500492fa7b891c515c8e7cb7d08Bob Halleyac_help="$ac_help
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews --enable-ipv6 use IPv6 [default=autodetect]"
5619558151f1aa4249b3ead979e76876e29278b6Bob Halleyac_help="$ac_help
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley --with-kame[=PATH] use Kame IPv6 [default path /usr/local/v6]"
28640d1da26d561f4137122fe64e9e8cc08bf11eBob Halley
28640d1da26d561f4137122fe64e9e8cc08bf11eBob Halley# Initialize some variables set by options.
28640d1da26d561f4137122fe64e9e8cc08bf11eBob Halley# The variables have the same names as the options, with
28640d1da26d561f4137122fe64e9e8cc08bf11eBob Halley# dashes changed to underlines.
28640d1da26d561f4137122fe64e9e8cc08bf11eBob Halleybuild=NONE
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrencecache_file=./config.cache
28640d1da26d561f4137122fe64e9e8cc08bf11eBob Halleyexec_prefix=NONE
28640d1da26d561f4137122fe64e9e8cc08bf11eBob Halleyhost=NONE
28640d1da26d561f4137122fe64e9e8cc08bf11eBob Halleyno_create=
28640d1da26d561f4137122fe64e9e8cc08bf11eBob Halleynonopt=NONE
28640d1da26d561f4137122fe64e9e8cc08bf11eBob Halleyno_recursion=
28640d1da26d561f4137122fe64e9e8cc08bf11eBob Halleyprefix=NONE
28640d1da26d561f4137122fe64e9e8cc08bf11eBob Halleyprogram_prefix=NONE
28640d1da26d561f4137122fe64e9e8cc08bf11eBob Halleyprogram_suffix=NONE
bf345589ce0b0b64533d4566e4992a0e63aac6f5Bob Halleyprogram_transform_name=s,x,x,
bf345589ce0b0b64533d4566e4992a0e63aac6f5Bob Halleysilent=
e02884167b7c969b56413f76c48c3802c4dca14dAndreas Gustafssonsite=
bf345589ce0b0b64533d4566e4992a0e63aac6f5Bob Halleysrcdir=
bf345589ce0b0b64533d4566e4992a0e63aac6f5Bob Halleytarget=NONE
3ddd814a97de1d152ba0913c592d6e6dc83d38a6Michael Graffverbose=
bf345589ce0b0b64533d4566e4992a0e63aac6f5Bob Halleyx_includes=NONE
e02884167b7c969b56413f76c48c3802c4dca14dAndreas Gustafssonx_libraries=NONE
e672951ed28b2e9cc7a19c3d7fa4a258382f981cAutomatic Updaterbindir='${exec_prefix}/bin'
419590499823ce15b5d2ad4fe71eaf04bd5a86c0Michael Graffsbindir='${exec_prefix}/sbin'
bf345589ce0b0b64533d4566e4992a0e63aac6f5Bob Halleylibexecdir='${exec_prefix}/libexec'
bf345589ce0b0b64533d4566e4992a0e63aac6f5Bob Halleydatadir='${prefix}/share'
bf345589ce0b0b64533d4566e4992a0e63aac6f5Bob Halleysysconfdir='${prefix}/etc'
bf345589ce0b0b64533d4566e4992a0e63aac6f5Bob Halleysharedstatedir='${prefix}/com'
bf345589ce0b0b64533d4566e4992a0e63aac6f5Bob Halleylocalstatedir='${prefix}/var'
bf345589ce0b0b64533d4566e4992a0e63aac6f5Bob Halleylibdir='${exec_prefix}/lib'
bf345589ce0b0b64533d4566e4992a0e63aac6f5Bob Halleyincludedir='${prefix}/include'
e02884167b7c969b56413f76c48c3802c4dca14dAndreas Gustafssonoldincludedir='/usr/include'
e02884167b7c969b56413f76c48c3802c4dca14dAndreas Gustafssoninfodir='${prefix}/info'
e672951ed28b2e9cc7a19c3d7fa4a258382f981cAutomatic Updatermandir='${prefix}/man'
bf345589ce0b0b64533d4566e4992a0e63aac6f5Bob Halley
bf345589ce0b0b64533d4566e4992a0e63aac6f5Bob Halley# Initialize some other variables.
bf345589ce0b0b64533d4566e4992a0e63aac6f5Bob Halleysubdirs=
1c724c986de1449e3b2f1eeae4c724dc0d97603cBob HalleyMFLAGS= MAKEFLAGS=
1c724c986de1449e3b2f1eeae4c724dc0d97603cBob HalleySHELL=${CONFIG_SHELL-/bin/sh}
1c724c986de1449e3b2f1eeae4c724dc0d97603cBob Halley# Maximum number of lines to put in a shell here document.
1c724c986de1449e3b2f1eeae4c724dc0d97603cBob Halleyac_max_here_lines=12
1c724c986de1449e3b2f1eeae4c724dc0d97603cBob Halley
7837d146219db7a85a4b444a9cdf6602254a4f75Bob Halleyac_prev=
7837d146219db7a85a4b444a9cdf6602254a4f75Bob Halleyfor ac_option
7837d146219db7a85a4b444a9cdf6602254a4f75Bob Halleydo
7837d146219db7a85a4b444a9cdf6602254a4f75Bob Halley
7837d146219db7a85a4b444a9cdf6602254a4f75Bob Halley # If the previous option needs an argument, assign it.
e02884167b7c969b56413f76c48c3802c4dca14dAndreas Gustafsson if test -n "$ac_prev"; then
7837d146219db7a85a4b444a9cdf6602254a4f75Bob Halley eval "$ac_prev=\$ac_option"
7837d146219db7a85a4b444a9cdf6602254a4f75Bob Halley ac_prev=
7837d146219db7a85a4b444a9cdf6602254a4f75Bob Halley continue
7837d146219db7a85a4b444a9cdf6602254a4f75Bob Halley fi
7837d146219db7a85a4b444a9cdf6602254a4f75Bob Halley
bf345589ce0b0b64533d4566e4992a0e63aac6f5Bob Halley case "$ac_option" in
bf345589ce0b0b64533d4566e4992a0e63aac6f5Bob Halley -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
bf345589ce0b0b64533d4566e4992a0e63aac6f5Bob Halley *) ac_optarg= ;;
bf345589ce0b0b64533d4566e4992a0e63aac6f5Bob Halley esac
1c724c986de1449e3b2f1eeae4c724dc0d97603cBob Halley
732e0731dec1922747bb3b3147cf2c3d16b22eaaBob Halley # Accept the important Cygnus configure options, so we can diagnose typos.
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews case "$ac_option" in
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉 -bindir | --bindir | --bindi | --bind | --bin | --bi)
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉 ac_prev=bindir ;;
6098d364b690cb9dabf96e9664c4689c8559bd2eMark Andrews -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
6098d364b690cb9dabf96e9664c4689c8559bd2eMark Andrews bindir="$ac_optarg" ;;
0cae66577c69c89086cd065bb297690072b471b4Mark Andrews
0cae66577c69c89086cd065bb297690072b471b4Mark Andrews -build | --build | --buil | --bui | --bu)
092d3b76db6b93b8029bd7d083e74fc80fb41858Mark Andrews ac_prev=build ;;
a8da00ef95ba37b9d071c2b8db1a0c967e060106Mark Andrews -build=* | --build=* | --buil=* | --bui=* | --bu=*)
a8da00ef95ba37b9d071c2b8db1a0c967e060106Mark Andrews build="$ac_optarg" ;;
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews
bf345589ce0b0b64533d4566e4992a0e63aac6f5Bob Halley -cache-file | --cache-file | --cache-fil | --cache-fi \
bf345589ce0b0b64533d4566e4992a0e63aac6f5Bob Halley | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
bf345589ce0b0b64533d4566e4992a0e63aac6f5Bob Halley ac_prev=cache_file ;;
bf345589ce0b0b64533d4566e4992a0e63aac6f5Bob Halley -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
bf345589ce0b0b64533d4566e4992a0e63aac6f5Bob Halley | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
bf345589ce0b0b64533d4566e4992a0e63aac6f5Bob Halley cache_file="$ac_optarg" ;;
bf345589ce0b0b64533d4566e4992a0e63aac6f5Bob Halley
bf345589ce0b0b64533d4566e4992a0e63aac6f5Bob Halley -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
bf345589ce0b0b64533d4566e4992a0e63aac6f5Bob Halley ac_prev=datadir ;;
bf345589ce0b0b64533d4566e4992a0e63aac6f5Bob Halley -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
bf345589ce0b0b64533d4566e4992a0e63aac6f5Bob Halley | --da=*)
bf345589ce0b0b64533d4566e4992a0e63aac6f5Bob Halley datadir="$ac_optarg" ;;
bf345589ce0b0b64533d4566e4992a0e63aac6f5Bob Halley
bf345589ce0b0b64533d4566e4992a0e63aac6f5Bob Halley -disable-* | --disable-*)
bf345589ce0b0b64533d4566e4992a0e63aac6f5Bob Halley ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
bf345589ce0b0b64533d4566e4992a0e63aac6f5Bob Halley # Reject names that are not valid shell variable names.
bf345589ce0b0b64533d4566e4992a0e63aac6f5Bob Halley if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
bf345589ce0b0b64533d4566e4992a0e63aac6f5Bob Halley { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
bf345589ce0b0b64533d4566e4992a0e63aac6f5Bob Halley fi
bf345589ce0b0b64533d4566e4992a0e63aac6f5Bob Halley ac_feature=`echo $ac_feature| sed 's/-/_/g'`
bf345589ce0b0b64533d4566e4992a0e63aac6f5Bob Halley eval "enable_${ac_feature}=no" ;;
7837d146219db7a85a4b444a9cdf6602254a4f75Bob Halley
7837d146219db7a85a4b444a9cdf6602254a4f75Bob Halley -enable-* | --enable-*)
7837d146219db7a85a4b444a9cdf6602254a4f75Bob Halley ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
7837d146219db7a85a4b444a9cdf6602254a4f75Bob Halley # Reject names that are not valid shell variable names.
7837d146219db7a85a4b444a9cdf6602254a4f75Bob Halley if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
7837d146219db7a85a4b444a9cdf6602254a4f75Bob Halley { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
7837d146219db7a85a4b444a9cdf6602254a4f75Bob Halley fi
7837d146219db7a85a4b444a9cdf6602254a4f75Bob Halley ac_feature=`echo $ac_feature| sed 's/-/_/g'`
7837d146219db7a85a4b444a9cdf6602254a4f75Bob Halley case "$ac_option" in
7837d146219db7a85a4b444a9cdf6602254a4f75Bob Halley *=*) ;;
7837d146219db7a85a4b444a9cdf6602254a4f75Bob Halley *) ac_optarg=yes ;;
7837d146219db7a85a4b444a9cdf6602254a4f75Bob Halley esac
7837d146219db7a85a4b444a9cdf6602254a4f75Bob Halley eval "enable_${ac_feature}='$ac_optarg'" ;;
1c724c986de1449e3b2f1eeae4c724dc0d97603cBob Halley
1c724c986de1449e3b2f1eeae4c724dc0d97603cBob Halley -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1c724c986de1449e3b2f1eeae4c724dc0d97603cBob Halley | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1c724c986de1449e3b2f1eeae4c724dc0d97603cBob Halley | --exec | --exe | --ex)
1c724c986de1449e3b2f1eeae4c724dc0d97603cBob Halley ac_prev=exec_prefix ;;
1c724c986de1449e3b2f1eeae4c724dc0d97603cBob Halley -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1c724c986de1449e3b2f1eeae4c724dc0d97603cBob Halley | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1c724c986de1449e3b2f1eeae4c724dc0d97603cBob Halley | --exec=* | --exe=* | --ex=*)
1c724c986de1449e3b2f1eeae4c724dc0d97603cBob Halley exec_prefix="$ac_optarg" ;;
1c724c986de1449e3b2f1eeae4c724dc0d97603cBob Halley
1c724c986de1449e3b2f1eeae4c724dc0d97603cBob Halley -gas | --gas | --ga | --g)
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence # Obsolete; use --with-gas.
1c724c986de1449e3b2f1eeae4c724dc0d97603cBob Halley with_gas=yes ;;
1c724c986de1449e3b2f1eeae4c724dc0d97603cBob Halley
1c724c986de1449e3b2f1eeae4c724dc0d97603cBob Halley -help | --help | --hel | --he)
3ddd814a97de1d152ba0913c592d6e6dc83d38a6Michael Graff # Omit some internal or obsolete options to make the list less imposing.
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley # This message is too long to be a string in the A/UX 3.1 sh.
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley cat << EOF
5619558151f1aa4249b3ead979e76876e29278b6Bob HalleyUsage: configure [options] [host]
5619558151f1aa4249b3ead979e76876e29278b6Bob HalleyOptions: [defaults in brackets after descriptions]
5619558151f1aa4249b3ead979e76876e29278b6Bob HalleyConfiguration:
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley --cache-file=FILE cache test results in FILE
078d49b63324f01d98301ee21671abee0c41fcdeBob Halley --help print this message
0180ccf72c79b98eb8ee5abbb7331aec6951dd9fBob Halley --no-create do not create output files
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley --quiet, --silent do not print \`checking...' messages
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley --version print the version of autoconf that created configure
5619558151f1aa4249b3ead979e76876e29278b6Bob HalleyDirectory and file names:
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley --prefix=PREFIX install architecture-independent files in PREFIX
3ddd814a97de1d152ba0913c592d6e6dc83d38a6Michael Graff [$ac_default_prefix]
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley [same as prefix]
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley --bindir=DIR user executables in DIR [EPREFIX/bin]
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley --datadir=DIR read-only architecture-independent data in DIR
078d49b63324f01d98301ee21671abee0c41fcdeBob Halley [PREFIX/share]
0180ccf72c79b98eb8ee5abbb7331aec6951dd9fBob Halley --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley --sharedstatedir=DIR modifiable architecture-independent data in DIR
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley [PREFIX/com]
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley --libdir=DIR object code libraries in DIR [EPREFIX/lib]
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley --includedir=DIR C header files in DIR [PREFIX/include]
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley --infodir=DIR info documentation in DIR [PREFIX/info]
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley --mandir=DIR man documentation in DIR [PREFIX/man]
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley --srcdir=DIR find the sources in DIR [configure dir or ..]
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley --program-prefix=PREFIX prepend PREFIX to installed program names
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley --program-suffix=SUFFIX append SUFFIX to installed program names
078d49b63324f01d98301ee21671abee0c41fcdeBob Halley --program-transform-name=PROGRAM
0180ccf72c79b98eb8ee5abbb7331aec6951dd9fBob Halley run sed PROGRAM on installed program names
5619558151f1aa4249b3ead979e76876e29278b6Bob HalleyEOF
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley cat << EOF
5619558151f1aa4249b3ead979e76876e29278b6Bob HalleyHost type:
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley --build=BUILD configure for building on BUILD [BUILD=HOST]
c3b708aaf1bb0a118e0e11befa1b732acfb1d079Bob Halley --host=HOST configure for HOST [guessed]
c3b708aaf1bb0a118e0e11befa1b732acfb1d079Bob Halley --target=TARGET configure for TARGET [TARGET=HOST]
2dd99c098ca162f985b7ef3c8142a964ad8281aeMark AndrewsFeatures and packages:
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
febaa091847ab004f40500cc475a819f2c73fcddAndreas Gustafsson --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
febaa091847ab004f40500cc475a819f2c73fcddAndreas Gustafsson --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
febaa091847ab004f40500cc475a819f2c73fcddAndreas Gustafsson --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
febaa091847ab004f40500cc475a819f2c73fcddAndreas Gustafsson --x-includes=DIR X include files are in DIR
febaa091847ab004f40500cc475a819f2c73fcddAndreas Gustafsson --x-libraries=DIR X library files are in DIR
febaa091847ab004f40500cc475a819f2c73fcddAndreas GustafssonEOF
febaa091847ab004f40500cc475a819f2c73fcddAndreas Gustafsson if test -n "$ac_help"; then
febaa091847ab004f40500cc475a819f2c73fcddAndreas Gustafsson echo "--enable and --with options recognized:$ac_help"
febaa091847ab004f40500cc475a819f2c73fcddAndreas Gustafsson fi
febaa091847ab004f40500cc475a819f2c73fcddAndreas Gustafsson exit 0 ;;
febaa091847ab004f40500cc475a819f2c73fcddAndreas Gustafsson
c3b708aaf1bb0a118e0e11befa1b732acfb1d079Bob Halley -host | --host | --hos | --ho)
03f91269f5453bcbd924910ef85a8f8496cf2661Mark Andrews ac_prev=host ;;
45e1bd63587102c3bb361eaca42ee7b714fb3542Mark Andrews -host=* | --host=* | --hos=* | --ho=*)
03f91269f5453bcbd924910ef85a8f8496cf2661Mark Andrews host="$ac_optarg" ;;
45e1bd63587102c3bb361eaca42ee7b714fb3542Mark Andrews
84185d19c7a9ef1ac23cc6236c8773697d4efeb1Brian Wellington -includedir | --includedir | --includedi | --included | --include \
84185d19c7a9ef1ac23cc6236c8773697d4efeb1Brian Wellington | --includ | --inclu | --incl | --inc)
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley ac_prev=includedir ;;
88a6fef4944a00d8350ffd8b64ef58c694b8335eMark Andrews -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
76883e8cee593f45c65b0936e5d6e8f778d6e3efMichael Graff | --includ=* | --inclu=* | --incl=* | --inc=*)
3ddd814a97de1d152ba0913c592d6e6dc83d38a6Michael Graff includedir="$ac_optarg" ;;
0874abad14e3e9ecfc3dc1a1a2b9969f2f027724Mark Andrews
8af4b7042d84e0699f7c1de306526098030b74a9Mark Andrews -infodir | --infodir | --infodi | --infod | --info | --inf)
69be7837c920fac5c71a73e8fad586f9a2711e96Michael Graff ac_prev=infodir ;;
bf345589ce0b0b64533d4566e4992a0e63aac6f5Bob Halley -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
c3b708aaf1bb0a118e0e11befa1b732acfb1d079Bob Halley infodir="$ac_optarg" ;;
c569a0e4d518bf30be1b2ba9cc3592fe470e9822Mark Andrews
c569a0e4d518bf30be1b2ba9cc3592fe470e9822Mark Andrews -libdir | --libdir | --libdi | --libd)
a8da00ef95ba37b9d071c2b8db1a0c967e060106Mark Andrews ac_prev=libdir ;;
a8da00ef95ba37b9d071c2b8db1a0c967e060106Mark Andrews -libdir=* | --libdir=* | --libdi=* | --libd=*)
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley libdir="$ac_optarg" ;;
03f91269f5453bcbd924910ef85a8f8496cf2661Mark Andrews
03f91269f5453bcbd924910ef85a8f8496cf2661Mark Andrews -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley | --libexe | --libex | --libe)
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley ac_prev=libexecdir ;;
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley | --libexe=* | --libex=* | --libe=*)
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley libexecdir="$ac_optarg" ;;
54f959d12b5a1f9315fbf6a776c6d349316e9686Bob Halley
c2c386119e2cfe0831c3804d3691324ddcf5561cMark Andrews -localstatedir | --localstatedir | --localstatedi | --localstated \
ccbfddc70ef38263daca312d29bb8c5077e24785Bob Halley | --localstate | --localstat | --localsta | --localst \
febaa091847ab004f40500cc475a819f2c73fcddAndreas Gustafsson | --locals | --local | --loca | --loc | --lo)
c569a0e4d518bf30be1b2ba9cc3592fe470e9822Mark Andrews ac_prev=localstatedir ;;
54f959d12b5a1f9315fbf6a776c6d349316e9686Bob Halley -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
89d8adb6663b13435ff9ae1eb53e45da7fa79275Bob Halley | --localstate=* | --localstat=* | --localsta=* | --localst=* \
bf345589ce0b0b64533d4566e4992a0e63aac6f5Bob Halley | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
c3b708aaf1bb0a118e0e11befa1b732acfb1d079Bob Halley localstatedir="$ac_optarg" ;;
89d8adb6663b13435ff9ae1eb53e45da7fa79275Bob Halley
419590499823ce15b5d2ad4fe71eaf04bd5a86c0Michael Graff -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
6de9744cf9c64be2145f663e4051196a4eaa9d45Evan Hunt ac_prev=mandir ;;
8dfa9caeec8e68db0c937e347a3d6629e7627d54Bob Halley -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
8dfa9caeec8e68db0c937e347a3d6629e7627d54Bob Halley mandir="$ac_optarg" ;;
8dfa9caeec8e68db0c937e347a3d6629e7627d54Bob Halley
b2ca6fd3a8293440b4d263723525396059cf2400Brian Wellington -nfp | --nfp | --nf)
b2ca6fd3a8293440b4d263723525396059cf2400Brian Wellington # Obsolete; use --without-fp.
b2ca6fd3a8293440b4d263723525396059cf2400Brian Wellington with_fp=no ;;
b2ca6fd3a8293440b4d263723525396059cf2400Brian Wellington
84185d19c7a9ef1ac23cc6236c8773697d4efeb1Brian Wellington -no-create | --no-create | --no-creat | --no-crea | --no-cre \
89d8adb6663b13435ff9ae1eb53e45da7fa79275Bob Halley | --no-cr | --no-c)
c3b708aaf1bb0a118e0e11befa1b732acfb1d079Bob Halley no_create=yes ;;
bf345589ce0b0b64533d4566e4992a0e63aac6f5Bob Halley
419590499823ce15b5d2ad4fe71eaf04bd5a86c0Michael Graff -no-recursion | --no-recursion | --no-recursio | --no-recursi \
419590499823ce15b5d2ad4fe71eaf04bd5a86c0Michael Graff | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
419590499823ce15b5d2ad4fe71eaf04bd5a86c0Michael Graff no_recursion=yes ;;
bf345589ce0b0b64533d4566e4992a0e63aac6f5Bob Halley
bf345589ce0b0b64533d4566e4992a0e63aac6f5Bob Halley -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
bf345589ce0b0b64533d4566e4992a0e63aac6f5Bob Halley | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
febaa091847ab004f40500cc475a819f2c73fcddAndreas Gustafsson | --oldin | --oldi | --old | --ol | --o)
bdfaef63f576f810fab27f64395faccf2fcd9434Francis Dupont ac_prev=oldincludedir ;;
febaa091847ab004f40500cc475a819f2c73fcddAndreas Gustafsson -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
c569a0e4d518bf30be1b2ba9cc3592fe470e9822Mark Andrews | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2dd99c098ca162f985b7ef3c8142a964ad8281aeMark Andrews | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
93d6dfaf66258337985427c86181f01fc51f0bb4Mark Andrews oldincludedir="$ac_optarg" ;;
febaa091847ab004f40500cc475a819f2c73fcddAndreas Gustafsson
c569a0e4d518bf30be1b2ba9cc3592fe470e9822Mark Andrews -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
c569a0e4d518bf30be1b2ba9cc3592fe470e9822Mark Andrews ac_prev=prefix ;;
c569a0e4d518bf30be1b2ba9cc3592fe470e9822Mark Andrews -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
c569a0e4d518bf30be1b2ba9cc3592fe470e9822Mark Andrews prefix="$ac_optarg" ;;
c569a0e4d518bf30be1b2ba9cc3592fe470e9822Mark Andrews
c569a0e4d518bf30be1b2ba9cc3592fe470e9822Mark Andrews -program-prefix | --program-prefix | --program-prefi | --program-pref \
c569a0e4d518bf30be1b2ba9cc3592fe470e9822Mark Andrews | --program-pre | --program-pr | --program-p)
c569a0e4d518bf30be1b2ba9cc3592fe470e9822Mark Andrews ac_prev=program_prefix ;;
c569a0e4d518bf30be1b2ba9cc3592fe470e9822Mark Andrews -program-prefix=* | --program-prefix=* | --program-prefi=* \
c569a0e4d518bf30be1b2ba9cc3592fe470e9822Mark Andrews | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
c569a0e4d518bf30be1b2ba9cc3592fe470e9822Mark Andrews program_prefix="$ac_optarg" ;;
c569a0e4d518bf30be1b2ba9cc3592fe470e9822Mark Andrews
febaa091847ab004f40500cc475a819f2c73fcddAndreas Gustafsson -program-suffix | --program-suffix | --program-suffi | --program-suff \
febaa091847ab004f40500cc475a819f2c73fcddAndreas Gustafsson | --program-suf | --program-su | --program-s)
febaa091847ab004f40500cc475a819f2c73fcddAndreas Gustafsson ac_prev=program_suffix ;;
febaa091847ab004f40500cc475a819f2c73fcddAndreas Gustafsson -program-suffix=* | --program-suffix=* | --program-suffi=* \
febaa091847ab004f40500cc475a819f2c73fcddAndreas Gustafsson | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
febaa091847ab004f40500cc475a819f2c73fcddAndreas Gustafsson program_suffix="$ac_optarg" ;;
febaa091847ab004f40500cc475a819f2c73fcddAndreas Gustafsson
febaa091847ab004f40500cc475a819f2c73fcddAndreas Gustafsson -program-transform-name | --program-transform-name \
febaa091847ab004f40500cc475a819f2c73fcddAndreas Gustafsson | --program-transform-nam | --program-transform-na \
febaa091847ab004f40500cc475a819f2c73fcddAndreas Gustafsson | --program-transform-n | --program-transform- \
febaa091847ab004f40500cc475a819f2c73fcddAndreas Gustafsson | --program-transform | --program-transfor \
febaa091847ab004f40500cc475a819f2c73fcddAndreas Gustafsson | --program-transfo | --program-transf \
c569a0e4d518bf30be1b2ba9cc3592fe470e9822Mark Andrews | --program-trans | --program-tran \
febaa091847ab004f40500cc475a819f2c73fcddAndreas Gustafsson | --progr-tra | --program-tr | --program-t)
2dd99c098ca162f985b7ef3c8142a964ad8281aeMark Andrews ac_prev=program_transform_name ;;
c3b708aaf1bb0a118e0e11befa1b732acfb1d079Bob Halley -program-transform-name=* | --program-transform-name=* \
febaa091847ab004f40500cc475a819f2c73fcddAndreas Gustafsson | --program-transform-nam=* | --program-transform-na=* \
c3b708aaf1bb0a118e0e11befa1b732acfb1d079Bob Halley | --program-transform-n=* | --program-transform-=* \
2dd99c098ca162f985b7ef3c8142a964ad8281aeMark Andrews | --program-transform=* | --program-transfor=* \
c3b708aaf1bb0a118e0e11befa1b732acfb1d079Bob Halley | --program-transfo=* | --program-transf=* \
2dd99c098ca162f985b7ef3c8142a964ad8281aeMark Andrews | --program-trans=* | --program-tran=* \
c3b708aaf1bb0a118e0e11befa1b732acfb1d079Bob Halley | --progr-tra=* | --program-tr=* | --program-t=*)
2dd99c098ca162f985b7ef3c8142a964ad8281aeMark Andrews program_transform_name="$ac_optarg" ;;
febaa091847ab004f40500cc475a819f2c73fcddAndreas Gustafsson
febaa091847ab004f40500cc475a819f2c73fcddAndreas Gustafsson -q | -quiet | --quiet | --quie | --qui | --qu | --q \
febaa091847ab004f40500cc475a819f2c73fcddAndreas Gustafsson | -silent | --silent | --silen | --sile | --sil)
febaa091847ab004f40500cc475a819f2c73fcddAndreas Gustafsson silent=yes ;;
febaa091847ab004f40500cc475a819f2c73fcddAndreas Gustafsson
2dd99c098ca162f985b7ef3c8142a964ad8281aeMark Andrews -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2dd99c098ca162f985b7ef3c8142a964ad8281aeMark Andrews ac_prev=sbindir ;;
2dd99c098ca162f985b7ef3c8142a964ad8281aeMark Andrews -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2dd99c098ca162f985b7ef3c8142a964ad8281aeMark Andrews | --sbi=* | --sb=*)
2dd99c098ca162f985b7ef3c8142a964ad8281aeMark Andrews sbindir="$ac_optarg" ;;
def8e47c688e2480a4539d69c3d1a0a28a7c0550Mark Andrews
def8e47c688e2480a4539d69c3d1a0a28a7c0550Mark Andrews -sharedstatedir | --sharedstatedir | --sharedstatedi \
def8e47c688e2480a4539d69c3d1a0a28a7c0550Mark Andrews | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
def8e47c688e2480a4539d69c3d1a0a28a7c0550Mark Andrews | --sharedst | --shareds | --shared | --share | --shar \
2dd99c098ca162f985b7ef3c8142a964ad8281aeMark Andrews | --sha | --sh)
2dd99c098ca162f985b7ef3c8142a964ad8281aeMark Andrews ac_prev=sharedstatedir ;;
2dd99c098ca162f985b7ef3c8142a964ad8281aeMark Andrews -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2dd99c098ca162f985b7ef3c8142a964ad8281aeMark Andrews | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2dd99c098ca162f985b7ef3c8142a964ad8281aeMark Andrews | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2dd99c098ca162f985b7ef3c8142a964ad8281aeMark Andrews | --sha=* | --sh=*)
2dd99c098ca162f985b7ef3c8142a964ad8281aeMark Andrews sharedstatedir="$ac_optarg" ;;
2dd99c098ca162f985b7ef3c8142a964ad8281aeMark Andrews
2dd99c098ca162f985b7ef3c8142a964ad8281aeMark Andrews -site | --site | --sit)
2dd99c098ca162f985b7ef3c8142a964ad8281aeMark Andrews ac_prev=site ;;
febaa091847ab004f40500cc475a819f2c73fcddAndreas Gustafsson -site=* | --site=* | --sit=*)
c3b708aaf1bb0a118e0e11befa1b732acfb1d079Bob Halley site="$ac_optarg" ;;
febaa091847ab004f40500cc475a819f2c73fcddAndreas Gustafsson
c3b708aaf1bb0a118e0e11befa1b732acfb1d079Bob Halley -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
def8e47c688e2480a4539d69c3d1a0a28a7c0550Mark Andrews ac_prev=srcdir ;;
def8e47c688e2480a4539d69c3d1a0a28a7c0550Mark Andrews -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
def8e47c688e2480a4539d69c3d1a0a28a7c0550Mark Andrews srcdir="$ac_optarg" ;;
61fb42c4ef45d88e115bd769c30c4f36b461870bMark Andrews
61fb42c4ef45d88e115bd769c30c4f36b461870bMark Andrews -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
61fb42c4ef45d88e115bd769c30c4f36b461870bMark Andrews | --syscon | --sysco | --sysc | --sys | --sy)
def8e47c688e2480a4539d69c3d1a0a28a7c0550Mark Andrews ac_prev=sysconfdir ;;
febaa091847ab004f40500cc475a819f2c73fcddAndreas Gustafsson -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2dd99c098ca162f985b7ef3c8142a964ad8281aeMark Andrews | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
f4a4f6945ecd565c1e86b599b8a353a2921803d4Mark Andrews sysconfdir="$ac_optarg" ;;
2dd99c098ca162f985b7ef3c8142a964ad8281aeMark Andrews
2dd99c098ca162f985b7ef3c8142a964ad8281aeMark Andrews -target | --target | --targe | --targ | --tar | --ta | --t)
f4a4f6945ecd565c1e86b599b8a353a2921803d4Mark Andrews ac_prev=target ;;
f4a4f6945ecd565c1e86b599b8a353a2921803d4Mark Andrews -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
febaa091847ab004f40500cc475a819f2c73fcddAndreas Gustafsson target="$ac_optarg" ;;
febaa091847ab004f40500cc475a819f2c73fcddAndreas Gustafsson
febaa091847ab004f40500cc475a819f2c73fcddAndreas Gustafsson -v | -verbose | --verbose | --verbos | --verbo | --verb)
c3b708aaf1bb0a118e0e11befa1b732acfb1d079Bob Halley verbose=yes ;;
c3b708aaf1bb0a118e0e11befa1b732acfb1d079Bob Halley
2dd99c098ca162f985b7ef3c8142a964ad8281aeMark Andrews -version | --version | --versio | --versi | --vers)
2dd99c098ca162f985b7ef3c8142a964ad8281aeMark Andrews echo "configure generated by autoconf version 2.13"
2dd99c098ca162f985b7ef3c8142a964ad8281aeMark Andrews exit 0 ;;
2dd99c098ca162f985b7ef3c8142a964ad8281aeMark Andrews
2dd99c098ca162f985b7ef3c8142a964ad8281aeMark Andrews -with-* | --with-*)
2dd99c098ca162f985b7ef3c8142a964ad8281aeMark Andrews ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
2dd99c098ca162f985b7ef3c8142a964ad8281aeMark Andrews # Reject names that are not valid shell variable names.
c3b708aaf1bb0a118e0e11befa1b732acfb1d079Bob Halley if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
c3b708aaf1bb0a118e0e11befa1b732acfb1d079Bob Halley { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
8dfa9caeec8e68db0c937e347a3d6629e7627d54Bob Halley fi
febaa091847ab004f40500cc475a819f2c73fcddAndreas Gustafsson ac_package=`echo $ac_package| sed 's/-/_/g'`
03f91269f5453bcbd924910ef85a8f8496cf2661Mark Andrews case "$ac_option" in
8dfa9caeec8e68db0c937e347a3d6629e7627d54Bob Halley *=*) ;;
a8da00ef95ba37b9d071c2b8db1a0c967e060106Mark Andrews *) ac_optarg=yes ;;
a8da00ef95ba37b9d071c2b8db1a0c967e060106Mark Andrews esac
a8da00ef95ba37b9d071c2b8db1a0c967e060106Mark Andrews eval "with_${ac_package}='$ac_optarg'" ;;
a8da00ef95ba37b9d071c2b8db1a0c967e060106Mark Andrews
a8da00ef95ba37b9d071c2b8db1a0c967e060106Mark Andrews -without-* | --without-*)
76883e8cee593f45c65b0936e5d6e8f778d6e3efMichael Graff ac_package=`echo $ac_option|sed -e 's/-*without-//'`
76883e8cee593f45c65b0936e5d6e8f778d6e3efMichael Graff # Reject names that are not valid shell variable names.
1a69a1a78cfaa86f3b68bbc965232b7876d4da2aDavid Lawrence if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
76883e8cee593f45c65b0936e5d6e8f778d6e3efMichael Graff { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
e672951ed28b2e9cc7a19c3d7fa4a258382f981cAutomatic Updater fi
8af4b7042d84e0699f7c1de306526098030b74a9Mark Andrews ac_package=`echo $ac_package| sed 's/-/_/g'`
94a08e09db3dc844b6ee4841c368a2d7074a9c3fAndreas Gustafsson eval "with_${ac_package}=no" ;;
a8da00ef95ba37b9d071c2b8db1a0c967e060106Mark Andrews
419590499823ce15b5d2ad4fe71eaf04bd5a86c0Michael Graff --x)
8dfa9caeec8e68db0c937e347a3d6629e7627d54Bob Halley # Obsolete; use --with-x.
69be7837c920fac5c71a73e8fad586f9a2711e96Michael Graff with_x=yes ;;
bf345589ce0b0b64533d4566e4992a0e63aac6f5Bob Halley
69be7837c920fac5c71a73e8fad586f9a2711e96Michael Graff -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
69be7837c920fac5c71a73e8fad586f9a2711e96Michael Graff | --x-incl | --x-inc | --x-in | --x-i)
6e49e91bd08778d7eae45a2229dcf41ed97cc636David Lawrence ac_prev=x_includes ;;
69be7837c920fac5c71a73e8fad586f9a2711e96Michael Graff -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
8dfa9caeec8e68db0c937e347a3d6629e7627d54Bob Halley | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
8dfa9caeec8e68db0c937e347a3d6629e7627d54Bob Halley x_includes="$ac_optarg" ;;
52637f592f705ca93fadc218e403fd55e8ce4aeaMark Andrews
22f735acbce7ffe95af20bb58bb8929b6f1d674fMichael Graff -x-libraries | --x-libraries | --x-librarie | --x-librari \
904a5734375869ffb504ed8cde6b68cafadb6d64Bob Halley | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
bf345589ce0b0b64533d4566e4992a0e63aac6f5Bob Halley ac_prev=x_libraries ;;
69be7837c920fac5c71a73e8fad586f9a2711e96Michael Graff -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
69be7837c920fac5c71a73e8fad586f9a2711e96Michael Graff | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
69be7837c920fac5c71a73e8fad586f9a2711e96Michael Graff x_libraries="$ac_optarg" ;;
69be7837c920fac5c71a73e8fad586f9a2711e96Michael Graff
69be7837c920fac5c71a73e8fad586f9a2711e96Michael Graff -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
69be7837c920fac5c71a73e8fad586f9a2711e96Michael Graff ;;
69be7837c920fac5c71a73e8fad586f9a2711e96Michael Graff
69be7837c920fac5c71a73e8fad586f9a2711e96Michael Graff *)
69be7837c920fac5c71a73e8fad586f9a2711e96Michael Graff if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
1a69a1a78cfaa86f3b68bbc965232b7876d4da2aDavid Lawrence echo "configure: warning: $ac_option: invalid host type" 1>&2
69be7837c920fac5c71a73e8fad586f9a2711e96Michael Graff fi
c3b708aaf1bb0a118e0e11befa1b732acfb1d079Bob Halley if test "x$nonopt" != xNONE; then
febaa091847ab004f40500cc475a819f2c73fcddAndreas Gustafsson { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
c03bb27f0675a6e60ceea66b451548e8481bc05cMark Andrews fi
43b8fb75704f290a48fc96461140b42b2488348dMark Andrews nonopt="$ac_option"
c3b708aaf1bb0a118e0e11befa1b732acfb1d079Bob Halley ;;
c03bb27f0675a6e60ceea66b451548e8481bc05cMark Andrews
69be7837c920fac5c71a73e8fad586f9a2711e96Michael Graff esac
419590499823ce15b5d2ad4fe71eaf04bd5a86c0Michael Graffdone
8dfa9caeec8e68db0c937e347a3d6629e7627d54Bob Halley
13eaef2df27683658868c3828c18880d7419a16aDavid Lawrenceif test -n "$ac_prev"; then
13eaef2df27683658868c3828c18880d7419a16aDavid Lawrence { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
69be7837c920fac5c71a73e8fad586f9a2711e96Michael Grafffi
13eaef2df27683658868c3828c18880d7419a16aDavid Lawrence
13eaef2df27683658868c3828c18880d7419a16aDavid Lawrencetrap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
03f91269f5453bcbd924910ef85a8f8496cf2661Mark Andrews
52637f592f705ca93fadc218e403fd55e8ce4aeaMark Andrews# File descriptor usage:
76883e8cee593f45c65b0936e5d6e8f778d6e3efMichael Graff# 0 standard input
c3b708aaf1bb0a118e0e11befa1b732acfb1d079Bob Halley# 1 file creation
c3b708aaf1bb0a118e0e11befa1b732acfb1d079Bob Halley# 2 errors and warnings
c3b708aaf1bb0a118e0e11befa1b732acfb1d079Bob Halley# 3 some systems may open it to /dev/tty
419590499823ce15b5d2ad4fe71eaf04bd5a86c0Michael Graff# 4 used on the Kubota Titan
c3b708aaf1bb0a118e0e11befa1b732acfb1d079Bob Halley# 6 checking for... messages and results
c3b708aaf1bb0a118e0e11befa1b732acfb1d079Bob Halley# 5 compiler messages saved in config.log
febaa091847ab004f40500cc475a819f2c73fcddAndreas Gustafssonif test "$silent" = yes; then
c3b708aaf1bb0a118e0e11befa1b732acfb1d079Bob Halley exec 6>/dev/null
febaa091847ab004f40500cc475a819f2c73fcddAndreas Gustafssonelse
419590499823ce15b5d2ad4fe71eaf04bd5a86c0Michael Graff exec 6>&1
76883e8cee593f45c65b0936e5d6e8f778d6e3efMichael Grafffi
419590499823ce15b5d2ad4fe71eaf04bd5a86c0Michael Graffexec 5>./config.log
c3b708aaf1bb0a118e0e11befa1b732acfb1d079Bob Halley
76883e8cee593f45c65b0936e5d6e8f778d6e3efMichael Graffecho "\
ccbfddc70ef38263daca312d29bb8c5077e24785Bob HalleyThis file contains any messages produced by compilers while
ccbfddc70ef38263daca312d29bb8c5077e24785Bob Halleyrunning configure, to aid debugging if configure makes a mistake.
c569a0e4d518bf30be1b2ba9cc3592fe470e9822Mark Andrews" 1>&5
c569a0e4d518bf30be1b2ba9cc3592fe470e9822Mark Andrews
8dfa9caeec8e68db0c937e347a3d6629e7627d54Bob Halley# Strip out --no-create and --no-recursion so they do not pile up.
8dfa9caeec8e68db0c937e347a3d6629e7627d54Bob Halley# Also quote any args containing shell metacharacters.
03f91269f5453bcbd924910ef85a8f8496cf2661Mark Andrewsac_configure_args=
8af4b7042d84e0699f7c1de306526098030b74a9Mark Andrewsfor ac_arg
8af4b7042d84e0699f7c1de306526098030b74a9Mark Andrewsdo
03f91269f5453bcbd924910ef85a8f8496cf2661Mark Andrews case "$ac_arg" in
92296c744ef9ef36de499eb10b3e27800d8b24a5Mark Andrews -no-create | --no-create | --no-creat | --no-crea | --no-cre \
c569a0e4d518bf30be1b2ba9cc3592fe470e9822Mark Andrews | --no-cr | --no-c) ;;
03f91269f5453bcbd924910ef85a8f8496cf2661Mark Andrews -no-recursion | --no-recursion | --no-recursio | --no-recursi \
13eaef2df27683658868c3828c18880d7419a16aDavid Lawrence | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
13eaef2df27683658868c3828c18880d7419a16aDavid Lawrence *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
8dfa9caeec8e68db0c937e347a3d6629e7627d54Bob Halley ac_configure_args="$ac_configure_args '$ac_arg'" ;;
8dfa9caeec8e68db0c937e347a3d6629e7627d54Bob Halley *) ac_configure_args="$ac_configure_args $ac_arg" ;;
8dfa9caeec8e68db0c937e347a3d6629e7627d54Bob Halley esac
c569a0e4d518bf30be1b2ba9cc3592fe470e9822Mark Andrewsdone
c569a0e4d518bf30be1b2ba9cc3592fe470e9822Mark Andrews
c569a0e4d518bf30be1b2ba9cc3592fe470e9822Mark Andrews# NLS nuisances.
c569a0e4d518bf30be1b2ba9cc3592fe470e9822Mark Andrews# Only set these to C if already set. These must not be set unconditionally
c569a0e4d518bf30be1b2ba9cc3592fe470e9822Mark Andrews# because not all systems understand e.g. LANG=C (notably SCO).
8dfa9caeec8e68db0c937e347a3d6629e7627d54Bob Halley# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
5619558151f1aa4249b3ead979e76876e29278b6Bob Halley# Non-C LC_CTYPE values break the ctype check.
d981ca645597116d227a48bf37cc5edc061c854dBob Halleyif test "${LANG+set}" = set; then LANG=C; export LANG; fi
03f91269f5453bcbd924910ef85a8f8496cf2661Mark Andrewsif test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
03f91269f5453bcbd924910ef85a8f8496cf2661Mark Andrewsif test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
45e1bd63587102c3bb361eaca42ee7b714fb3542Mark Andrewsif test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
03f91269f5453bcbd924910ef85a8f8496cf2661Mark Andrews
03f91269f5453bcbd924910ef85a8f8496cf2661Mark Andrews# confdefs.h avoids OS command line length limits that DEFS can exceed.
03f91269f5453bcbd924910ef85a8f8496cf2661Mark Andrewsrm -rf conftest* confdefs.h
45e1bd63587102c3bb361eaca42ee7b714fb3542Mark Andrews# AIX cpp loses on an empty file, so make sure it contains at least a newline.
84185d19c7a9ef1ac23cc6236c8773697d4efeb1Brian Wellingtonecho > confdefs.h
03f91269f5453bcbd924910ef85a8f8496cf2661Mark Andrews
03f91269f5453bcbd924910ef85a8f8496cf2661Mark Andrews# A filename unique to this package, relative to the directory that
03f91269f5453bcbd924910ef85a8f8496cf2661Mark Andrews# configure is in, which we can look for to find out if srcdir is correct.
84185d19c7a9ef1ac23cc6236c8773697d4efeb1Brian Wellingtonac_unique_file=lib/dns/name.c
84185d19c7a9ef1ac23cc6236c8773697d4efeb1Brian Wellington
03f91269f5453bcbd924910ef85a8f8496cf2661Mark Andrews# Find the source files, if location was not specified.
03f91269f5453bcbd924910ef85a8f8496cf2661Mark Andrewsif test -z "$srcdir"; then
03f91269f5453bcbd924910ef85a8f8496cf2661Mark Andrews ac_srcdir_defaulted=yes
03f91269f5453bcbd924910ef85a8f8496cf2661Mark Andrews # Try the directory containing this script, then its parent.
45e1bd63587102c3bb361eaca42ee7b714fb3542Mark Andrews ac_prog=$0
03f91269f5453bcbd924910ef85a8f8496cf2661Mark Andrews ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
03f91269f5453bcbd924910ef85a8f8496cf2661Mark Andrews test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
03f91269f5453bcbd924910ef85a8f8496cf2661Mark Andrews srcdir=$ac_confdir
45e1bd63587102c3bb361eaca42ee7b714fb3542Mark Andrews if test ! -r $srcdir/$ac_unique_file; then
84185d19c7a9ef1ac23cc6236c8773697d4efeb1Brian Wellington srcdir=..
03f91269f5453bcbd924910ef85a8f8496cf2661Mark Andrews fi
03f91269f5453bcbd924910ef85a8f8496cf2661Mark Andrewselse
03f91269f5453bcbd924910ef85a8f8496cf2661Mark Andrews ac_srcdir_defaulted=no
03f91269f5453bcbd924910ef85a8f8496cf2661Mark Andrewsfi
03f91269f5453bcbd924910ef85a8f8496cf2661Mark Andrewsif test ! -r $srcdir/$ac_unique_file; then
84185d19c7a9ef1ac23cc6236c8773697d4efeb1Brian Wellington if test "$ac_srcdir_defaulted" = yes; then
84185d19c7a9ef1ac23cc6236c8773697d4efeb1Brian Wellington { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
03f91269f5453bcbd924910ef85a8f8496cf2661Mark Andrews else
03f91269f5453bcbd924910ef85a8f8496cf2661Mark Andrews { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
febaa091847ab004f40500cc475a819f2c73fcddAndreas Gustafsson fi
febaa091847ab004f40500cc475a819f2c73fcddAndreas Gustafssonfi
febaa091847ab004f40500cc475a819f2c73fcddAndreas Gustafssonsrcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
febaa091847ab004f40500cc475a819f2c73fcddAndreas Gustafsson
febaa091847ab004f40500cc475a819f2c73fcddAndreas Gustafsson# Prefer explicitly selected file to automatically selected ones.
84185d19c7a9ef1ac23cc6236c8773697d4efeb1Brian Wellingtonif test -z "$CONFIG_SITE"; then
febaa091847ab004f40500cc475a819f2c73fcddAndreas Gustafsson if test "x$prefix" != xNONE; then
febaa091847ab004f40500cc475a819f2c73fcddAndreas Gustafsson CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
03f91269f5453bcbd924910ef85a8f8496cf2661Mark Andrews else
84185d19c7a9ef1ac23cc6236c8773697d4efeb1Brian Wellington CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
febaa091847ab004f40500cc475a819f2c73fcddAndreas Gustafsson fi
febaa091847ab004f40500cc475a819f2c73fcddAndreas Gustafssonfi
3ddd814a97de1d152ba0913c592d6e6dc83d38a6Michael Grafffor ac_site_file in $CONFIG_SITE; do
d981ca645597116d227a48bf37cc5edc061c854dBob Halley if test -r "$ac_site_file"; then
d981ca645597116d227a48bf37cc5edc061c854dBob Halley echo "loading site script $ac_site_file"
d981ca645597116d227a48bf37cc5edc061c854dBob Halley . "$ac_site_file"
88a6fef4944a00d8350ffd8b64ef58c694b8335eMark Andrews fi
3ddd814a97de1d152ba0913c592d6e6dc83d38a6Michael Graffdone
d981ca645597116d227a48bf37cc5edc061c854dBob Halley
d981ca645597116d227a48bf37cc5edc061c854dBob Halleyif test -r "$cache_file"; then
d981ca645597116d227a48bf37cc5edc061c854dBob Halley echo "loading cache $cache_file"
d981ca645597116d227a48bf37cc5edc061c854dBob Halley . $cache_file
d981ca645597116d227a48bf37cc5edc061c854dBob Halleyelse
d981ca645597116d227a48bf37cc5edc061c854dBob Halley echo "creating cache $cache_file"
d981ca645597116d227a48bf37cc5edc061c854dBob Halley > $cache_file
d981ca645597116d227a48bf37cc5edc061c854dBob Halleyfi
d981ca645597116d227a48bf37cc5edc061c854dBob Halley
d981ca645597116d227a48bf37cc5edc061c854dBob Halleyac_ext=c
419590499823ce15b5d2ad4fe71eaf04bd5a86c0Michael Graff# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
d981ca645597116d227a48bf37cc5edc061c854dBob Halleyac_cpp='$CPP $CPPFLAGS'
d981ca645597116d227a48bf37cc5edc061c854dBob Halleyac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
d981ca645597116d227a48bf37cc5edc061c854dBob Halleyac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
d981ca645597116d227a48bf37cc5edc061c854dBob Halleycross_compiling=$ac_cv_prog_cc_cross
d981ca645597116d227a48bf37cc5edc061c854dBob Halley
419590499823ce15b5d2ad4fe71eaf04bd5a86c0Michael Graffac_exeext=
d981ca645597116d227a48bf37cc5edc061c854dBob Halleyac_objext=o
43b8fb75704f290a48fc96461140b42b2488348dMark Andrewsif (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
419590499823ce15b5d2ad4fe71eaf04bd5a86c0Michael Graff # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
d981ca645597116d227a48bf37cc5edc061c854dBob Halley if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
419590499823ce15b5d2ad4fe71eaf04bd5a86c0Michael Graff ac_n= ac_c='
d981ca645597116d227a48bf37cc5edc061c854dBob Halley' ac_t=' '
d981ca645597116d227a48bf37cc5edc061c854dBob Halley else
419590499823ce15b5d2ad4fe71eaf04bd5a86c0Michael Graff ac_n=-n ac_c= ac_t=
d981ca645597116d227a48bf37cc5edc061c854dBob Halley fi
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrewselse
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews ac_n= ac_c='\c' ac_t=
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrewsfi
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrewsac_aux_dir=
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrewsfor ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews if test -f $ac_dir/install-sh; then
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews ac_aux_dir=$ac_dir
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews ac_install_sh="$ac_aux_dir/install-sh -c"
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews break
6098d364b690cb9dabf96e9664c4689c8559bd2eMark Andrews elif test -f $ac_dir/install.sh; then
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews ac_aux_dir=$ac_dir
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews ac_install_sh="$ac_aux_dir/install.sh -c"
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews break
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews fi
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrewsdone
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrewsif test -z "$ac_aux_dir"; then
6098d364b690cb9dabf96e9664c4689c8559bd2eMark Andrews { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
6098d364b690cb9dabf96e9664c4689c8559bd2eMark Andrewsfi
6098d364b690cb9dabf96e9664c4689c8559bd2eMark Andrewsac_config_guess=$ac_aux_dir/config.guess
6098d364b690cb9dabf96e9664c4689c8559bd2eMark Andrewsac_config_sub=$ac_aux_dir/config.sub
6098d364b690cb9dabf96e9664c4689c8559bd2eMark Andrewsac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
6098d364b690cb9dabf96e9664c4689c8559bd2eMark Andrews
6098d364b690cb9dabf96e9664c4689c8559bd2eMark Andrews
6098d364b690cb9dabf96e9664c4689c8559bd2eMark Andrews# Make sure we can run config.sub.
6098d364b690cb9dabf96e9664c4689c8559bd2eMark Andrewsif ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
6098d364b690cb9dabf96e9664c4689c8559bd2eMark Andrewselse { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
6098d364b690cb9dabf96e9664c4689c8559bd2eMark Andrewsfi
6098d364b690cb9dabf96e9664c4689c8559bd2eMark Andrews
6098d364b690cb9dabf96e9664c4689c8559bd2eMark Andrewsecho $ac_n "checking host system type""... $ac_c" 1>&6
6098d364b690cb9dabf96e9664c4689c8559bd2eMark Andrewsecho "configure:672: checking host system type" >&5
6098d364b690cb9dabf96e9664c4689c8559bd2eMark Andrews
6098d364b690cb9dabf96e9664c4689c8559bd2eMark Andrewshost_alias=$host
6098d364b690cb9dabf96e9664c4689c8559bd2eMark Andrewscase "$host_alias" in
6098d364b690cb9dabf96e9664c4689c8559bd2eMark AndrewsNONE)
6098d364b690cb9dabf96e9664c4689c8559bd2eMark Andrews case $nonopt in
6098d364b690cb9dabf96e9664c4689c8559bd2eMark Andrews NONE)
6098d364b690cb9dabf96e9664c4689c8559bd2eMark Andrews if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
6098d364b690cb9dabf96e9664c4689c8559bd2eMark Andrews else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
6098d364b690cb9dabf96e9664c4689c8559bd2eMark Andrews fi ;;
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews *) host_alias=$nonopt ;;
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉 esac ;;
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉esac
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉echo "$ac_t""$host" 1>&6
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉echo "configure:694: checking whether ${MAKE-make} sets \${MAKE}" >&5
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉 echo $ac_n "(cached) $ac_c" 1>&6
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉else
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉 cat > conftestmake <<\EOF
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉all:
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉 @echo 'ac_maketemp="${MAKE}"'
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉EOF
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉if test -n "$ac_maketemp"; then
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉 eval ac_cv_prog_make_${ac_make}_set=yes
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉else
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉 eval ac_cv_prog_make_${ac_make}_set=no
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉fi
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉rm -f conftestmake
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉fi
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉 echo "$ac_t""yes" 1>&6
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉 SET_MAKE=
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉else
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉 echo "$ac_t""no" 1>&6
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉 SET_MAKE="MAKE=${MAKE-make}"
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉fi
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉# Extract the first word of "ranlib", so it can be a program name with args.
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉set dummy ranlib; ac_word=$2
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉echo "configure:723: checking for $ac_word" >&5
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉 echo $ac_n "(cached) $ac_c" 1>&6
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉else
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉 if test -n "$RANLIB"; then
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉else
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉 ac_dummy="$PATH"
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉 for ac_dir in $ac_dummy; do
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉 test -z "$ac_dir" && ac_dir=.
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉 if test -f $ac_dir/$ac_word; then
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉 ac_cv_prog_RANLIB="ranlib"
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉 break
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉 fi
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉 done
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉 IFS="$ac_save_ifs"
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉fi
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉fi
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉RANLIB="$ac_cv_prog_RANLIB"
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉if test -n "$RANLIB"; then
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉 echo "$ac_t""$RANLIB" 1>&6
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉else
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉 echo "$ac_t""no" 1>&6
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉fi
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉# Find a good install program. We prefer a C program (faster),
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉# so one script is as good as another. But avoid the broken or
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉# incompatible versions:
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉# SysV /etc/install, /usr/sbin/install
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉# SunOS /usr/etc/install
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉# IRIX /sbin/install
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉# AIX /bin/install
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉# AFS /usr/afsws/bin/install, which mishandles nonexistent args
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
d0eb2cc33c5db3366a16b1cb0abcca6ec7c8ee3cTatuya JINMEI 神明達哉# ./install, which can be erroneously created by make from ./install.sh.
0cae66577c69c89086cd065bb297690072b471b4Mark Andrewsecho $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
0cae66577c69c89086cd065bb297690072b471b4Mark Andrewsecho "configure:762: checking for a BSD compatible install" >&5
0cae66577c69c89086cd065bb297690072b471b4Mark Andrewsif test -z "$INSTALL"; then
0cae66577c69c89086cd065bb297690072b471b4Mark Andrewsif eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
0cae66577c69c89086cd065bb297690072b471b4Mark Andrews echo $ac_n "(cached) $ac_c" 1>&6
0cae66577c69c89086cd065bb297690072b471b4Mark Andrewselse
0cae66577c69c89086cd065bb297690072b471b4Mark Andrews IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
0cae66577c69c89086cd065bb297690072b471b4Mark Andrews for ac_dir in $PATH; do
0cae66577c69c89086cd065bb297690072b471b4Mark Andrews # Account for people who put trailing slashes in PATH elements.
0cae66577c69c89086cd065bb297690072b471b4Mark Andrews case "$ac_dir/" in
0cae66577c69c89086cd065bb297690072b471b4Mark Andrews /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
0cae66577c69c89086cd065bb297690072b471b4Mark Andrews *)
0cae66577c69c89086cd065bb297690072b471b4Mark Andrews # OSF1 and SCO ODT 3.0 have their own names for install.
0cae66577c69c89086cd065bb297690072b471b4Mark Andrews # Don't use installbsd from OSF since it installs stuff as root
0cae66577c69c89086cd065bb297690072b471b4Mark Andrews # by default.
0cae66577c69c89086cd065bb297690072b471b4Mark Andrews for ac_prog in ginstall scoinst install; do
0cae66577c69c89086cd065bb297690072b471b4Mark Andrews if test -f $ac_dir/$ac_prog; then
0cae66577c69c89086cd065bb297690072b471b4Mark Andrews if test $ac_prog = install &&
0cae66577c69c89086cd065bb297690072b471b4Mark Andrews grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
e7857b5ee05414961bb11f9e57f654163fae6acbckb # AIX install. It has an incompatible calling convention.
092d3b76db6b93b8029bd7d083e74fc80fb41858Mark Andrews :
092d3b76db6b93b8029bd7d083e74fc80fb41858Mark Andrews else
092d3b76db6b93b8029bd7d083e74fc80fb41858Mark Andrews ac_cv_path_install="$ac_dir/$ac_prog -c"
092d3b76db6b93b8029bd7d083e74fc80fb41858Mark Andrews break 2
092d3b76db6b93b8029bd7d083e74fc80fb41858Mark Andrews fi
092d3b76db6b93b8029bd7d083e74fc80fb41858Mark Andrews fi
092d3b76db6b93b8029bd7d083e74fc80fb41858Mark Andrews done
092d3b76db6b93b8029bd7d083e74fc80fb41858Mark Andrews ;;
092d3b76db6b93b8029bd7d083e74fc80fb41858Mark Andrews esac
a8da00ef95ba37b9d071c2b8db1a0c967e060106Mark Andrews done
a8da00ef95ba37b9d071c2b8db1a0c967e060106Mark Andrews IFS="$ac_save_IFS"
a8da00ef95ba37b9d071c2b8db1a0c967e060106Mark Andrews
a8da00ef95ba37b9d071c2b8db1a0c967e060106Mark Andrewsfi
a8da00ef95ba37b9d071c2b8db1a0c967e060106Mark Andrews if test "${ac_cv_path_install+set}" = set; then
a8da00ef95ba37b9d071c2b8db1a0c967e060106Mark Andrews INSTALL="$ac_cv_path_install"
a8da00ef95ba37b9d071c2b8db1a0c967e060106Mark Andrews else
a8da00ef95ba37b9d071c2b8db1a0c967e060106Mark Andrews # As a last resort, use the slow shell script. We don't cache a
a8da00ef95ba37b9d071c2b8db1a0c967e060106Mark Andrews # path for INSTALL within a source directory, because that will
a8da00ef95ba37b9d071c2b8db1a0c967e060106Mark Andrews # break other packages using the cache if that directory is
a8da00ef95ba37b9d071c2b8db1a0c967e060106Mark Andrews # removed, or if the path is relative.
a8da00ef95ba37b9d071c2b8db1a0c967e060106Mark Andrews INSTALL="$ac_install_sh"
a8da00ef95ba37b9d071c2b8db1a0c967e060106Mark Andrews fi
a8da00ef95ba37b9d071c2b8db1a0c967e060106Mark Andrewsfi
a8da00ef95ba37b9d071c2b8db1a0c967e060106Mark Andrewsecho "$ac_t""$INSTALL" 1>&6
a8da00ef95ba37b9d071c2b8db1a0c967e060106Mark Andrews
a8da00ef95ba37b9d071c2b8db1a0c967e060106Mark Andrews# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
a8da00ef95ba37b9d071c2b8db1a0c967e060106Mark Andrews# It thinks the first close brace ends the variable substitution.
e7857b5ee05414961bb11f9e57f654163fae6acbckbtest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
e7857b5ee05414961bb11f9e57f654163fae6acbckb
e7857b5ee05414961bb11f9e57f654163fae6acbckbtest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
e7857b5ee05414961bb11f9e57f654163fae6acbckb
e7857b5ee05414961bb11f9e57f654163fae6acbckbtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
e7857b5ee05414961bb11f9e57f654163fae6acbckb
e7857b5ee05414961bb11f9e57f654163fae6acbckb
e7857b5ee05414961bb11f9e57f654163fae6acbckbSTD_CINCLUDES=""
e7857b5ee05414961bb11f9e57f654163fae6acbckbSTD_CDEFINES=""
e7857b5ee05414961bb11f9e57f654163fae6acbckbSTD_CWARNINGS=""
e7857b5ee05414961bb11f9e57f654163fae6acbckb
e7857b5ee05414961bb11f9e57f654163fae6acbckb
e7857b5ee05414961bb11f9e57f654163fae6acbckb
e7857b5ee05414961bb11f9e57f654163fae6acbckb
953692fa1e307b7325e383302d82b711d164a9d5Tinderbox User# Extract the first word of "ar", so it can be a program name with args.
953692fa1e307b7325e383302d82b711d164a9d5Tinderbox Userset dummy ar; ac_word=$2
953692fa1e307b7325e383302d82b711d164a9d5Tinderbox Userecho $ac_n "checking for $ac_word""... $ac_c" 1>&6
953692fa1e307b7325e383302d82b711d164a9d5Tinderbox Userecho "configure:825: checking for $ac_word" >&5
953692fa1e307b7325e383302d82b711d164a9d5Tinderbox Userif eval "test \"`echo '$''{'ac_cv_path_AR'+set}'`\" = set"; then
953692fa1e307b7325e383302d82b711d164a9d5Tinderbox User echo $ac_n "(cached) $ac_c" 1>&6
953692fa1e307b7325e383302d82b711d164a9d5Tinderbox Userelse
953692fa1e307b7325e383302d82b711d164a9d5Tinderbox User case "$AR" in
953692fa1e307b7325e383302d82b711d164a9d5Tinderbox User /*)
953692fa1e307b7325e383302d82b711d164a9d5Tinderbox User ac_cv_path_AR="$AR" # Let the user override the test with a path.
953692fa1e307b7325e383302d82b711d164a9d5Tinderbox User ;;
e7857b5ee05414961bb11f9e57f654163fae6acbckb ?:/*)
ac_cv_path_AR="$AR" # Let the user override the test with a dos path.
;;
*)
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
ac_dummy="$PATH"
for ac_dir in $ac_dummy; do
test -z "$ac_dir" && ac_dir=.
if test -f $ac_dir/$ac_word; then
ac_cv_path_AR="$ac_dir/$ac_word"
break
fi
done
IFS="$ac_save_ifs"
;;
esac
fi
AR="$ac_cv_path_AR"
if test -n "$AR"; then
echo "$ac_t""$AR" 1>&6
else
echo "$ac_t""no" 1>&6
fi
ARFLAGS="cruv"
if test "X$CC" = "X" ; then
case "$host" in
*-dec-osf*)
CC="cc"
;;
*-sun-solaris*)
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
for ac_dir in $PATH; do
test -z "$ac_dir" && ac_dir=.
case "$ac_dir" in
/usr/ucb)
# exclude
;;
*)
if test -f "$ac_dir/cc"; then
CC="$ac_dir/cc"
break
fi
;;
esac
done
IFS="$ac_save_ifs"
;;
*-hp-hpux*)
CC="cc"
;;
mips-sgi-irix*)
CC="cc"
;;
esac
fi
case "$host" in
*-netbsd*)
CC="gcc"
echo $ac_n "checking which thread library to use""... $ac_c" 1>&6
echo "configure:898: checking which thread library to use" >&5
# Check whether --with-mit-pthreads or --without-mit-pthreads was given.
if test "${with_mit_pthreads+set}" = set; then
withval="$with_mit_pthreads"
use_mit_pthreads="$withval"
else
use_mit_pthreads="no"
fi
# Check whether --with-ptl2 or --without-ptl2 was given.
if test "${with_ptl2+set}" = set; then
withval="$with_ptl2"
use_ptl2="$withval"
else
use_ptl2="no"
fi
case "$use_mit_pthreads+$use_ptl2" in
no+no)
if test -d /usr/pkg/pthreads
then
use_mit_pthreads="yes"
fi
if test -d /usr/pkg/PTL
then
use_ptl2="yes"
fi
;;
esac
case "$use_mit_pthreads+$use_ptl2" in
yes+no)
echo "$ac_t""mit-pthreads" 1>&6
pkg="/usr/pkg/pthreads"
lib1="-L$pkg/lib -Wl,-R$pkg/lib"
lib2="-lpthread -lm -lgcc -lpthread"
LIBS="$lib1 $lib2 $LIBS"
CPPFLAGS="-I$pkg/include $CPPFLAGS"
STD_CINCLUDES="-I$pkg/include"
;;
no+yes)
echo "$ac_t""PTL2" 1>&6
CC=ptlgcc
;;
*)
{ echo "configure: error: no thread library.
Please choose a thread library using one of
configure --with-mit-pthreads
configure --with-ptl2
" 1>&2; exit 1; }
;;
esac
;;
esac
# Extract the first word of "gcc", so it can be a program name with args.
set dummy gcc; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:962: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
if test -n "$CC"; then
ac_cv_prog_CC="$CC" # Let the user override the test.
else
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
ac_dummy="$PATH"
for ac_dir in $ac_dummy; do
test -z "$ac_dir" && ac_dir=.
if test -f $ac_dir/$ac_word; then
ac_cv_prog_CC="gcc"
break
fi
done
IFS="$ac_save_ifs"
fi
fi
CC="$ac_cv_prog_CC"
if test -n "$CC"; then
echo "$ac_t""$CC" 1>&6
else
echo "$ac_t""no" 1>&6
fi
if test -z "$CC"; then
# Extract the first word of "cc", so it can be a program name with args.
set dummy cc; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:992: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
if test -n "$CC"; then
ac_cv_prog_CC="$CC" # Let the user override the test.
else
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
ac_prog_rejected=no
ac_dummy="$PATH"
for ac_dir in $ac_dummy; do
test -z "$ac_dir" && ac_dir=.
if test -f $ac_dir/$ac_word; then
if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
ac_prog_rejected=yes
continue
fi
ac_cv_prog_CC="cc"
break
fi
done
IFS="$ac_save_ifs"
if test $ac_prog_rejected = yes; then
# We found a bogon in the path, so make sure we never use it.
set dummy $ac_cv_prog_CC
shift
if test $# -gt 0; then
# We chose a different compiler from the bogus one.
# However, it has the same basename, so the bogon will be chosen
# first if we set CC to just the basename; use the full file name.
shift
set dummy "$ac_dir/$ac_word" "$@"
shift
ac_cv_prog_CC="$@"
fi
fi
fi
fi
CC="$ac_cv_prog_CC"
if test -n "$CC"; then
echo "$ac_t""$CC" 1>&6
else
echo "$ac_t""no" 1>&6
fi
if test -z "$CC"; then
case "`uname -s`" in
*win32* | *WIN32*)
# Extract the first word of "cl", so it can be a program name with args.
set dummy cl; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:1043: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
if test -n "$CC"; then
ac_cv_prog_CC="$CC" # Let the user override the test.
else
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
ac_dummy="$PATH"
for ac_dir in $ac_dummy; do
test -z "$ac_dir" && ac_dir=.
if test -f $ac_dir/$ac_word; then
ac_cv_prog_CC="cl"
break
fi
done
IFS="$ac_save_ifs"
fi
fi
CC="$ac_cv_prog_CC"
if test -n "$CC"; then
echo "$ac_t""$CC" 1>&6
else
echo "$ac_t""no" 1>&6
fi
;;
esac
fi
test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
fi
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
echo "configure:1075: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross
cat > conftest.$ac_ext << EOF
#line 1086 "configure"
#include "confdefs.h"
main(){return(0);}
EOF
if { (eval echo configure:1091: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
ac_cv_prog_cc_works=yes
# If we can't run a trivial program, we are probably using a cross compiler.
if (./conftest; exit) 2>/dev/null; then
ac_cv_prog_cc_cross=no
else
ac_cv_prog_cc_cross=yes
fi
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
ac_cv_prog_cc_works=no
fi
rm -fr conftest*
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross
echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
if test $ac_cv_prog_cc_works = no; then
{ echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
fi
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
echo "configure:1117: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
cross_compiling=$ac_cv_prog_cc_cross
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
echo "configure:1122: checking whether we are using GNU C" >&5
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.c <<EOF
#ifdef __GNUC__
yes;
#endif
EOF
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1131: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
ac_cv_prog_gcc=yes
else
ac_cv_prog_gcc=no
fi
fi
echo "$ac_t""$ac_cv_prog_gcc" 1>&6
if test $ac_cv_prog_gcc = yes; then
GCC=yes
else
GCC=
fi
ac_test_CFLAGS="${CFLAGS+set}"
ac_save_CFLAGS="$CFLAGS"
CFLAGS=
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
echo "configure:1150: checking whether ${CC-cc} accepts -g" >&5
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
echo 'void f(){}' > conftest.c
if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
ac_cv_prog_cc_g=yes
else
ac_cv_prog_cc_g=no
fi
rm -f conftest*
fi
echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
if test "$ac_test_CFLAGS" = set; then
CFLAGS="$ac_save_CFLAGS"
elif test $ac_cv_prog_cc_g = yes; then
if test "$GCC" = yes; then
CFLAGS="-g -O2"
else
CFLAGS="-g"
fi
else
if test "$GCC" = yes; then
CFLAGS="-O2"
else
CFLAGS=
fi
fi
for ac_prog in 'bison -y' byacc
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:1186: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
if test -n "$YACC"; then
ac_cv_prog_YACC="$YACC" # Let the user override the test.
else
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
ac_dummy="$PATH"
for ac_dir in $ac_dummy; do
test -z "$ac_dir" && ac_dir=.
if test -f $ac_dir/$ac_word; then
ac_cv_prog_YACC="$ac_prog"
break
fi
done
IFS="$ac_save_ifs"
fi
fi
YACC="$ac_cv_prog_YACC"
if test -n "$YACC"; then
echo "$ac_t""$YACC" 1>&6
else
echo "$ac_t""no" 1>&6
fi
test -n "$YACC" && break
done
test -n "$YACC" || YACC="yacc"
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
echo "configure:1218: checking how to run the C preprocessor" >&5
# On Suns, sometimes $CPP names a directory.
if test -n "$CPP" && test -d "$CPP"; then
CPP=
fi
if test -z "$CPP"; then
if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
# This must be in double quotes, not single quotes, because CPP may get
# substituted into the Makefile and "${CC-cc}" will confuse make.
CPP="${CC-cc} -E"
# On the NeXT, cc -E runs the code through the compiler's parser,
# not just through cpp.
cat > conftest.$ac_ext <<EOF
#line 1233 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:1239: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
:
else
echo "$ac_err" >&5
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
CPP="${CC-cc} -E -traditional-cpp"
cat > conftest.$ac_ext <<EOF
#line 1250 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:1256: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
:
else
echo "$ac_err" >&5
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
CPP="${CC-cc} -nologo -E"
cat > conftest.$ac_ext <<EOF
#line 1267 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:1273: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
:
else
echo "$ac_err" >&5
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
CPP=/lib/cpp
fi
rm -f conftest*
fi
rm -f conftest*
fi
rm -f conftest*
ac_cv_prog_CPP="$CPP"
fi
CPP="$ac_cv_prog_CPP"
else
ac_cv_prog_CPP="$CPP"
fi
echo "$ac_t""$CPP" 1>&6
echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
echo "configure:1298: checking for ANSI C header files" >&5
if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 1303 "configure"
#include "confdefs.h"
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
#include <float.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:1311: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
ac_cv_header_stdc=yes
else
echo "$ac_err" >&5
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
ac_cv_header_stdc=no
fi
rm -f conftest*
if test $ac_cv_header_stdc = yes; then
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
cat > conftest.$ac_ext <<EOF
#line 1328 "configure"
#include "confdefs.h"
#include <string.h>
EOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
egrep "memchr" >/dev/null 2>&1; then
:
else
rm -rf conftest*
ac_cv_header_stdc=no
fi
rm -f conftest*
fi
if test $ac_cv_header_stdc = yes; then
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
cat > conftest.$ac_ext <<EOF
#line 1346 "configure"
#include "confdefs.h"
#include <stdlib.h>
EOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
egrep "free" >/dev/null 2>&1; then
:
else
rm -rf conftest*
ac_cv_header_stdc=no
fi
rm -f conftest*
fi
if test $ac_cv_header_stdc = yes; then
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
if test "$cross_compiling" = yes; then
:
else
cat > conftest.$ac_ext <<EOF
#line 1367 "configure"
#include "confdefs.h"
#include <ctype.h>
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
int main () { int i; for (i = 0; i < 256; i++)
if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
exit (0); }
EOF
if { (eval echo configure:1378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
:
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -fr conftest*
ac_cv_header_stdc=no
fi
rm -fr conftest*
fi
fi
fi
echo "$ac_t""$ac_cv_header_stdc" 1>&6
if test $ac_cv_header_stdc = yes; then
cat >> confdefs.h <<\EOF
#define STDC_HEADERS 1
EOF
fi
for ac_hdr in fcntl.h sys/time.h unistd.h sys/sockio.h netinet6/in6.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
echo "configure:1405: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 1410 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:1415: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
eval "ac_cv_header_$ac_safe=yes"
else
echo "$ac_err" >&5
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
eval "ac_cv_header_$ac_safe=no"
fi
rm -f conftest*
fi
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
echo "$ac_t""yes" 1>&6
ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
cat >> confdefs.h <<EOF
#define $ac_tr_hdr 1
EOF
else
echo "$ac_t""no" 1>&6
fi
done
case "$ac_cv_header_netinet6_in6_h" in
yes)
ISC_PLATFORM_HAVENETINET6IN6H="#define ISC_PLATFORM_HAVENETINET6IN6H 1"
LWRES_PLATFORM_HAVENETINET6IN6H="#define LWRES_PLATFORM_HAVENETINET6IN6H 1"
;;
no)
ISC_PLATFORM_HAVENETINET6IN6H="#undef ISC_PLATFORM_HAVENETINET6IN6H"
LWRES_PLATFORM_HAVENETINET6IN6H="#undef LWRES_PLATFORM_HAVENETINET6IN6H"
;;
esac
echo $ac_n "checking for working const""... $ac_c" 1>&6
echo "configure:1456: checking for working const" >&5
if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 1461 "configure"
#include "confdefs.h"
int main() {
/* Ultrix mips cc rejects this. */
typedef int charset[2]; const charset x;
/* SunOS 4.1.1 cc rejects this. */
char const *const *ccp;
char **p;
/* NEC SVR4.0.2 mips cc rejects this. */
struct point {int x, y;};
static struct point const zero = {0,0};
/* AIX XL C 1.02.0.0 rejects this.
It does not let you subtract one const X* pointer from another in an arm
of an if-expression whose if-part is not a constant expression */
const char *g = "string";
ccp = &g + (g ? g-g : 0);
/* HPUX 7.0 cc rejects these. */
++ccp;
p = (char**) ccp;
ccp = (char const *const *) p;
{ /* SCO 3.2v4 cc rejects this. */
char *t;
char const *s = 0 ? (char *) 0 : (char const *) 0;
*t++ = 0;
}
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
int x[] = {25, 17};
const int *foo = &x[0];
++foo;
}
{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
typedef const int *iptr;
iptr p = 0;
++p;
}
{ /* AIX XL C 1.02.0.0 rejects this saying
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
struct s { int j; const int *ap[3]; };
struct s *b; b->j = 5;
}
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
const int foo = 10;
}
; return 0; }
EOF
if { (eval echo configure:1510: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_c_const=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
ac_cv_c_const=no
fi
rm -f conftest*
fi
echo "$ac_t""$ac_cv_c_const" 1>&6
if test $ac_cv_c_const = no; then
cat >> confdefs.h <<\EOF
#define const
EOF
fi
echo $ac_n "checking for inline""... $ac_c" 1>&6
echo "configure:1531: checking for inline" >&5
if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_cv_c_inline=no
for ac_kw in inline __inline__ __inline; do
cat > conftest.$ac_ext <<EOF
#line 1538 "configure"
#include "confdefs.h"
int main() {
} $ac_kw foo() {
; return 0; }
EOF
if { (eval echo configure:1545: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_c_inline=$ac_kw; break
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
fi
rm -f conftest*
done
fi
echo "$ac_t""$ac_cv_c_inline" 1>&6
case "$ac_cv_c_inline" in
inline | yes) ;;
no) cat >> confdefs.h <<\EOF
#define inline
EOF
;;
*) cat >> confdefs.h <<EOF
#define inline $ac_cv_c_inline
EOF
;;
esac
echo $ac_n "checking for size_t""... $ac_c" 1>&6
echo "configure:1571: checking for size_t" >&5
if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 1576 "configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
#include <stdlib.h>
#include <stddef.h>
#endif
EOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
rm -rf conftest*
ac_cv_type_size_t=yes
else
rm -rf conftest*
ac_cv_type_size_t=no
fi
rm -f conftest*
fi
echo "$ac_t""$ac_cv_type_size_t" 1>&6
if test $ac_cv_type_size_t = no; then
cat >> confdefs.h <<\EOF
#define size_t unsigned
EOF
fi
echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
echo "configure:1604: checking whether time.h and sys/time.h may both be included" >&5
if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 1609 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/time.h>
#include <time.h>
int main() {
struct tm *tp;
; return 0; }
EOF
if { (eval echo configure:1618: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_header_time=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
ac_cv_header_time=no
fi
rm -f conftest*
fi
echo "$ac_t""$ac_cv_header_time" 1>&6
if test $ac_cv_header_time = yes; then
cat >> confdefs.h <<\EOF
#define TIME_WITH_SYS_TIME 1
EOF
fi
echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
echo "configure:1640: checking for pthread_create in -lpthread" >&5
ac_lib_var=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_save_LIBS="$LIBS"
LIBS="-lpthread $LIBS"
cat > conftest.$ac_ext <<EOF
#line 1648 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char pthread_create();
int main() {
pthread_create()
; return 0; }
EOF
if { (eval echo configure:1659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=no"
fi
rm -f conftest*
LIBS="$ac_save_LIBS"
fi
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
echo "$ac_t""yes" 1>&6
ac_tr_lib=HAVE_LIB`echo pthread | sed -e 's/[^a-zA-Z0-9_]/_/g' \
-e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
cat >> confdefs.h <<EOF
#define $ac_tr_lib 1
EOF
LIBS="-lpthread $LIBS"
else
echo "$ac_t""no" 1>&6
echo $ac_n "checking for __pthread_create in -lpthread""... $ac_c" 1>&6
echo "configure:1685: checking for __pthread_create in -lpthread" >&5
ac_lib_var=`echo pthread'_'__pthread_create | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_save_LIBS="$LIBS"
LIBS="-lpthread $LIBS"
cat > conftest.$ac_ext <<EOF
#line 1693 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char __pthread_create();
int main() {
__pthread_create()
; return 0; }
EOF
if { (eval echo configure:1704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=no"
fi
rm -f conftest*
LIBS="$ac_save_LIBS"
fi
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
echo "$ac_t""yes" 1>&6
ac_tr_lib=HAVE_LIB`echo pthread | sed -e 's/^a-zA-Z0-9_/_/g' \
-e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
cat >> confdefs.h <<EOF
#define $ac_tr_lib 1
EOF
LIBS="-lpthread $LIBS"
else
echo "$ac_t""no" 1>&6
fi
echo $ac_n "checking for __pthread_create_system in -lpthread""... $ac_c" 1>&6
echo "configure:1732: checking for __pthread_create_system in -lpthread" >&5
ac_lib_var=`echo pthread'_'__pthread_create_system | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_save_LIBS="$LIBS"
LIBS="-lpthread $LIBS"
cat > conftest.$ac_ext <<EOF
#line 1740 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char __pthread_create_system();
int main() {
__pthread_create_system()
; return 0; }
EOF
if { (eval echo configure:1751: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=no"
fi
rm -f conftest*
LIBS="$ac_save_LIBS"
fi
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
echo "$ac_t""yes" 1>&6
ac_tr_lib=HAVE_LIB`echo pthread | sed -e 's/^a-zA-Z0-9_/_/g' \
-e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
cat >> confdefs.h <<EOF
#define $ac_tr_lib 1
EOF
LIBS="-lpthread $LIBS"
else
echo "$ac_t""no" 1>&6
fi
fi
if test "$ac_cv_lib_pthread" != "yes"; then
echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
echo "configure:1785: checking for pthread_create in -lc_r" >&5
ac_lib_var=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_save_LIBS="$LIBS"
LIBS="-lc_r $LIBS"
cat > conftest.$ac_ext <<EOF
#line 1793 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char pthread_create();
int main() {
pthread_create()
; return 0; }
EOF
if { (eval echo configure:1804: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=no"
fi
rm -f conftest*
LIBS="$ac_save_LIBS"
fi
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
echo "$ac_t""yes" 1>&6
ac_tr_lib=HAVE_LIB`echo c_r | sed -e 's/[^a-zA-Z0-9_]/_/g' \
-e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
cat >> confdefs.h <<EOF
#define $ac_tr_lib 1
EOF
LIBS="-lc_r $LIBS"
else
echo "$ac_t""no" 1>&6
fi
fi
echo $ac_n "checking for sigwait in -lc""... $ac_c" 1>&6
echo "configure:1835: checking for sigwait in -lc" >&5
ac_lib_var=`echo c'_'sigwait | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_save_LIBS="$LIBS"
LIBS="-lc $LIBS"
cat > conftest.$ac_ext <<EOF
#line 1843 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char sigwait();
int main() {
sigwait()
; return 0; }
EOF
if { (eval echo configure:1854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=no"
fi
rm -f conftest*
LIBS="$ac_save_LIBS"
fi
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
echo "$ac_t""yes" 1>&6
cat >> confdefs.h <<\EOF
#define HAVE_SIGWAIT 1
EOF
else
echo "$ac_t""no" 1>&6
echo $ac_n "checking for sigwait in -lpthread""... $ac_c" 1>&6
echo "configure:1876: checking for sigwait in -lpthread" >&5
ac_lib_var=`echo pthread'_'sigwait | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_save_LIBS="$LIBS"
LIBS="-lpthread $LIBS"
cat > conftest.$ac_ext <<EOF
#line 1884 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char sigwait();
int main() {
sigwait()
; return 0; }
EOF
if { (eval echo configure:1895: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=no"
fi
rm -f conftest*
LIBS="$ac_save_LIBS"
fi
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
echo "$ac_t""yes" 1>&6
cat >> confdefs.h <<\EOF
#define HAVE_SIGWAIT 1
EOF
else
echo "$ac_t""no" 1>&6
echo $ac_n "checking for _Psigwait in -lpthread""... $ac_c" 1>&6
echo "configure:1917: checking for _Psigwait in -lpthread" >&5
ac_lib_var=`echo pthread'_'_Psigwait | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_save_LIBS="$LIBS"
LIBS="-lpthread $LIBS"
cat > conftest.$ac_ext <<EOF
#line 1925 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char _Psigwait();
int main() {
_Psigwait()
; return 0; }
EOF
if { (eval echo configure:1936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=no"
fi
rm -f conftest*
LIBS="$ac_save_LIBS"
fi
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
echo "$ac_t""yes" 1>&6
cat >> confdefs.h <<\EOF
#define HAVE_SIGWAIT 1
EOF
else
echo "$ac_t""no" 1>&6
fi
fi
fi
case "$host" in
*-sun-solaris*)
cat >> confdefs.h <<\EOF
#define _POSIX_PTHREAD_SEMANTICS 1
EOF
;;
esac
echo $ac_n "checking for catgets""... $ac_c" 1>&6
echo "configure:1975: checking for catgets" >&5
if eval "test \"`echo '$''{'ac_cv_func_catgets'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 1980 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char catgets(); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char catgets();
int main() {
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_catgets) || defined (__stub___catgets)
choke me
#else
catgets();
#endif
; return 0; }
EOF
if { (eval echo configure:2003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_catgets=yes"
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
eval "ac_cv_func_catgets=no"
fi
rm -f conftest*
fi
if eval "test \"`echo '$ac_cv_func_'catgets`\" = yes"; then
echo "$ac_t""yes" 1>&6
cat >> confdefs.h <<\EOF
#define HAVE_CATGETS 1
EOF
else
echo "$ac_t""no" 1>&6
fi
case "$host" in
*-bsdi3.1*|*-bsdi4.0*)
cat >> confdefs.h <<\EOF
#define NEED_PTHREAD_INIT 1
EOF
;;
*-linux*)
cat >> confdefs.h <<\EOF
#define HAVE_LINUXTHREADS 1
EOF
;;
esac
case "$host" in
mips-sgi-irix*)
;;
*)
echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
echo "configure:2047: checking for socket in -lsocket" >&5
ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_save_LIBS="$LIBS"
LIBS="-lsocket $LIBS"
cat > conftest.$ac_ext <<EOF
#line 2055 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char socket();
int main() {
socket()
; return 0; }
EOF
if { (eval echo configure:2066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=no"
fi
rm -f conftest*
LIBS="$ac_save_LIBS"
fi
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
echo "$ac_t""yes" 1>&6
ac_tr_lib=HAVE_LIB`echo socket | sed -e 's/[^a-zA-Z0-9_]/_/g' \
-e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
cat >> confdefs.h <<EOF
#define $ac_tr_lib 1
EOF
LIBS="-lsocket $LIBS"
else
echo "$ac_t""no" 1>&6
fi
echo $ac_n "checking for inet_ntoa in -lnsl""... $ac_c" 1>&6
echo "configure:2094: checking for inet_ntoa in -lnsl" >&5
ac_lib_var=`echo nsl'_'inet_ntoa | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_save_LIBS="$LIBS"
LIBS="-lnsl $LIBS"
cat > conftest.$ac_ext <<EOF
#line 2102 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char inet_ntoa();
int main() {
inet_ntoa()
; return 0; }
EOF
if { (eval echo configure:2113: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=no"
fi
rm -f conftest*
LIBS="$ac_save_LIBS"
fi
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
echo "$ac_t""yes" 1>&6
ac_tr_lib=HAVE_LIB`echo nsl | sed -e 's/[^a-zA-Z0-9_]/_/g' \
-e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
cat >> confdefs.h <<EOF
#define $ac_tr_lib 1
EOF
LIBS="-lnsl $LIBS"
else
echo "$ac_t""no" 1>&6
fi
;;
esac
MKDEPCC="$CC"
MKDEPCFLAGS="-M"
if test "X$GCC" = "Xyes"; then
STD_CWARNINGS="$STD_CWARNINGS -W -Wall -Wmissing-prototypes"
case "$host" in
*-sun-solaris*)
LIBS="$LIBS -lthread"
;;
esac
else
case "$host" in
*-dec-osf*)
CC="$CC -pthread"
MKDEPCC="$CC"
;;
*-sun-solaris*)
CC="$CC -mt"
MKDEPCC="$CC"
MKDEPCFLAGS="-xM"
;;
*-hp-hpux*)
CC="$CC -Ae -z +w1"
MKDEPPROG='cc -Ae -E -Wp,-M >/dev/null 2>>$TMP'
;;
esac
fi
case "$host" in
*-dec-osf*)
cat >> confdefs.h <<\EOF
#define _SOCKADDR_LEN 1
EOF
;;
esac
echo $ac_n "checking for sa_len in struct sockaddr""... $ac_c" 1>&6
echo "configure:2184: checking for sa_len in struct sockaddr" >&5
cat > conftest.$ac_ext <<EOF
#line 2186 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/socket.h>
int main() {
struct sockaddr sa; sa.sa_len = 0; return (0);
; return 0; }
EOF
if { (eval echo configure:2195: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
echo "$ac_t""yes" 1>&6
ISC_PLATFORM_HAVESALEN="#define ISC_PLATFORM_HAVESALEN 1"
LWRES_PLATFORM_HAVESALEN="#define LWRES_PLATFORM_HAVESALEN 1"
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
echo "$ac_t""no" 1>&6
ISC_PLATFORM_HAVESALEN="#undef ISC_PLATFORM_HAVESALEN"
LWRES_PLATFORM_HAVESALEN="#undef LWRES_PLATFORM_HAVESALEN"
fi
rm -f conftest*
echo $ac_n "checking for struct msghdr flavor""... $ac_c" 1>&6
echo "configure:2214: checking for struct msghdr flavor" >&5
cat > conftest.$ac_ext <<EOF
#line 2216 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/socket.h>
int main() {
struct msghdr msg; msg.msg_flags = 0; return (0);
; return 0; }
EOF
if { (eval echo configure:2225: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
echo "$ac_t""4.4BSD" 1>&6
ISC_PLATFORM_MSGHDRFLAVOR="#define ISC_NET_BSD44MSGHDR 1"
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
echo "$ac_t""4.3BSD" 1>&6
ISC_PLATFORM_MSGHDRFLAVOR="#define ISC_NET_BSD43MSGHDR 1"
fi
rm -f conftest*
echo $ac_n "checking for type in_port_t""... $ac_c" 1>&6
echo "configure:2240: checking for type in_port_t" >&5
cat > conftest.$ac_ext <<EOF
#line 2242 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <netinet/in.h>
int main() {
in_port_t port = 25; return (0);
; return 0; }
EOF
if { (eval echo configure:2251: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
echo "$ac_t""yes" 1>&6
ISC_PLATFORM_NEEDPORTT="#undef ISC_PLATFORM_NEEDPORTT"
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
echo "$ac_t""no" 1>&6
ISC_PLATFORM_NEEDPORTT="#define ISC_PLATFORM_NEEDPORTT 1"
fi
rm -f conftest*
echo $ac_n "checking for struct addrinfo""... $ac_c" 1>&6
echo "configure:2266: checking for struct addrinfo" >&5
cat > conftest.$ac_ext <<EOF
#line 2268 "configure"
#include "confdefs.h"
#include <netdb.h>
int main() {
struct addrinfo a; return (0);
; return 0; }
EOF
if { (eval echo configure:2276: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
echo "$ac_t""yes" 1>&6
ISC_LWRES_NEEDADDRINFO="#undef ISC_LWRES_NEEDADDRINFO"
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
echo "$ac_t""no" 1>&6
ISC_LWRES_NEEDADDRINFO="#define ISC_LWRES_NEEDADDRINFO 1"
fi
rm -f conftest*
echo $ac_n "checking for int sethostent""... $ac_c" 1>&6
echo "configure:2291: checking for int sethostent" >&5
cat > conftest.$ac_ext <<EOF
#line 2293 "configure"
#include "confdefs.h"
#include <netdb.h>
int main() {
int i = sethostent(0); return(0);
; return 0; }
EOF
if { (eval echo configure:2301: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
echo "$ac_t""yes" 1>&6
ISC_LWRES_SETHOSTENTINT="#define ISC_LWRES_SETHOSTENTINT 1"
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
echo "$ac_t""no" 1>&6
ISC_LWRES_SETHOSTENTINT="#undef ISC_LWRES_SETHOSTENTINT"
fi
rm -f conftest*
echo $ac_n "checking for int endhostent""... $ac_c" 1>&6
echo "configure:2316: checking for int endhostent" >&5
cat > conftest.$ac_ext <<EOF
#line 2318 "configure"
#include "confdefs.h"
#include <netdb.h>
int main() {
int i = endhostent(); return(0);
; return 0; }
EOF
if { (eval echo configure:2326: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
echo "$ac_t""yes" 1>&6
ISC_LWRES_ENDHOSTENTINT="#define ISC_LWRES_ENDHOSTENTINT 1"
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
echo "$ac_t""no" 1>&6
ISC_LWRES_ENDHOSTENTINT="#undef ISC_LWRES_ENDHOSTENTINT"
fi
rm -f conftest*
echo $ac_n "checking for getnetbyaddr(in_addr_t, ...)""... $ac_c" 1>&6
echo "configure:2341: checking for getnetbyaddr(in_addr_t, ...)" >&5
cat > conftest.$ac_ext <<EOF
#line 2343 "configure"
#include "confdefs.h"
#include <netdb.h>
struct netent *getnetbyaddr(in_addr_t, int);
int main() {
; return 0; }
EOF
if { (eval echo configure:2352: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
echo "$ac_t""yes" 1>&6
ISC_LWRES_GETNETBYADDRINADDR="#define ISC_LWRES_GETNETBYADDRINADDR 1"
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
echo "$ac_t""no" 1>&6
ISC_LWRES_GETNETBYADDRINADDR="#undef ISC_LWRES_GETNETBYADDRINADDR"
fi
rm -f conftest*
echo $ac_n "checking for int setnetent""... $ac_c" 1>&6
echo "configure:2367: checking for int setnetent" >&5
cat > conftest.$ac_ext <<EOF
#line 2369 "configure"
#include "confdefs.h"
#include <netdb.h>
int main() {
int i = setnetent(0); return(0);
; return 0; }
EOF
if { (eval echo configure:2377: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
echo "$ac_t""yes" 1>&6
ISC_LWRES_SETNETENTINT="#define ISC_LWRES_SETNETENTINT 1"
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
echo "$ac_t""no" 1>&6
ISC_LWRES_SETNETENTINT="#undef ISC_LWRES_SETNETENTINT"
fi
rm -f conftest*
echo $ac_n "checking for int endnetent""... $ac_c" 1>&6
echo "configure:2392: checking for int endnetent" >&5
cat > conftest.$ac_ext <<EOF
#line 2394 "configure"
#include "confdefs.h"
#include <netdb.h>
int main() {
int i = endnetent(); return(0);
; return 0; }
EOF
if { (eval echo configure:2402: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
echo "$ac_t""yes" 1>&6
ISC_LWRES_ENDNETENTINT="#define ISC_LWRES_ENDNETENTINT 1"
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
echo "$ac_t""no" 1>&6
ISC_LWRES_ENDNETENTINT="#undef ISC_LWRES_ENDNETENTINT"
fi
rm -f conftest*
echo $ac_n "checking for gethostbyadd(const void *, size_t, ...)""... $ac_c" 1>&6
echo "configure:2417: checking for gethostbyadd(const void *, size_t, ...)" >&5
cat > conftest.$ac_ext <<EOF
#line 2419 "configure"
#include "confdefs.h"
#include <netdb.h>
struct hostent *gethostbyaddr(const void *, size_t, int);
int main() {
return(0);
; return 0; }
EOF
if { (eval echo configure:2428: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
echo "$ac_t""yes" 1>&6
ISC_LWRES_GETHOSTBYADDRVOID="#define ISC_LWRES_GETHOSTBYADDRVOID 1"
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
echo "$ac_t""no" 1>&6
ISC_LWRES_GETHOSTBYADDRVOID="#undef ISC_LWRES_GETHOSTBYADDRVOID"
fi
rm -f conftest*
echo $ac_n "checking for h_errno in netdb.h""... $ac_c" 1>&6
echo "configure:2443: checking for h_errno in netdb.h" >&5
cat > conftest.$ac_ext <<EOF
#line 2445 "configure"
#include "confdefs.h"
#include <netdb.h>
int main() {
h_errno = 1; return(0);
; return 0; }
EOF
if { (eval echo configure:2453: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
echo "$ac_t""yes" 1>&6
ISC_LWRES_NEEDHERRNO="#undef ISC_LWRES_NEEDHERRNO"
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
echo "$ac_t""no" 1>&6
ISC_LWRES_NEEDHERRNO="#define ISC_LWRES_NEEDHERRNO 1"
fi
rm -f conftest*
echo $ac_n "checking for getipnodebyname""... $ac_c" 1>&6
echo "configure:2468: checking for getipnodebyname" >&5
if eval "test \"`echo '$''{'ac_cv_func_getipnodebyname'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 2473 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char getipnodebyname(); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char getipnodebyname();
int main() {
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_getipnodebyname) || defined (__stub___getipnodebyname)
choke me
#else
getipnodebyname();
#endif
; return 0; }
EOF
if { (eval echo configure:2496: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_getipnodebyname=yes"
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
eval "ac_cv_func_getipnodebyname=no"
fi
rm -f conftest*
fi
if eval "test \"`echo '$ac_cv_func_'getipnodebyname`\" = yes"; then
echo "$ac_t""yes" 1>&6
ISC_LWRES_GETIPNODEPROTO="#undef ISC_LWRES_GETIPNODEPROTO"
else
echo "$ac_t""no" 1>&6
ISC_LWRES_GETIPNODEPROTO="#define ISC_LWRES_GETIPNODEPROTO 1"
fi
echo $ac_n "checking for getnameinfo""... $ac_c" 1>&6
echo "configure:2517: checking for getnameinfo" >&5
if eval "test \"`echo '$''{'ac_cv_func_getnameinfo'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 2522 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char getnameinfo(); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char getnameinfo();
int main() {
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_getnameinfo) || defined (__stub___getnameinfo)
choke me
#else
getnameinfo();
#endif
; return 0; }
EOF
if { (eval echo configure:2545: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_getnameinfo=yes"
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
eval "ac_cv_func_getnameinfo=no"
fi
rm -f conftest*
fi
if eval "test \"`echo '$ac_cv_func_'getnameinfo`\" = yes"; then
echo "$ac_t""yes" 1>&6
ISC_LWRES_GETNAMEINFOPROTO="#undef ISC_LWRES_GETNAMEINFOPROTO"
else
echo "$ac_t""no" 1>&6
ISC_LWRES_GETNAMEINFOPROTO="#define ISC_LWRES_GETNAMEINFOPROTO 1"
fi
echo $ac_n "checking for getaddrinfo""... $ac_c" 1>&6
echo "configure:2566: checking for getaddrinfo" >&5
if eval "test \"`echo '$''{'ac_cv_func_getaddrinfo'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 2571 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char getaddrinfo(); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char getaddrinfo();
int main() {
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_getaddrinfo) || defined (__stub___getaddrinfo)
choke me
#else
getaddrinfo();
#endif
; return 0; }
EOF
if { (eval echo configure:2594: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_getaddrinfo=yes"
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
eval "ac_cv_func_getaddrinfo=no"
fi
rm -f conftest*
fi
if eval "test \"`echo '$ac_cv_func_'getaddrinfo`\" = yes"; then
echo "$ac_t""yes" 1>&6
ISC_LWRES_GETADDRINFOPROTO="#undef ISC_LWRES_GETADDRINFOPROTO"
else
echo "$ac_t""no" 1>&6
ISC_LWRES_GETADDRINFOPROTO="#define ISC_LWRES_GETADDRINFOPROTO 1"
fi
echo $ac_n "checking for interface list sysctl""... $ac_c" 1>&6
echo "configure:2620: checking for interface list sysctl" >&5
cat > conftest.$ac_ext <<EOF
#line 2622 "configure"
#include "confdefs.h"
#include <sys/param.h>
#include <sys/sysctl.h>
#include <sys/socket.h>
#ifdef NET_RT_IFLIST
found_rt_iflist
#endif
EOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
egrep "found_rt_iflist" >/dev/null 2>&1; then
rm -rf conftest*
echo "$ac_t""yes" 1>&6
cat >> confdefs.h <<\EOF
#define HAVE_IFLIST_SYSCTL 1
EOF
else
rm -rf conftest*
echo "$ac_t""no" 1>&6
fi
rm -f conftest*
# Check whether --with-libtool or --without-libtool was given.
if test "${with_libtool+set}" = set; then
withval="$with_libtool"
use_libtool="$withval"
else
use_libtool="no"
fi
case $use_libtool in
yes)
# Check whether --enable-shared or --disable-shared was given.
if test "${enable_shared+set}" = set; then
enableval="$enable_shared"
p=${PACKAGE-default}
case "$enableval" in
yes) enable_shared=yes ;;
no) enable_shared=no ;;
*)
enable_shared=no
# Look at the argument we got. We use all the common list separators.
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
for pkg in $enableval; do
if test "X$pkg" = "X$p"; then
enable_shared=yes
fi
done
IFS="$ac_save_ifs"
;;
esac
else
enable_shared=yes
fi
# Check whether --enable-static or --disable-static was given.
if test "${enable_static+set}" = set; then
enableval="$enable_static"
p=${PACKAGE-default}
case "$enableval" in
yes) enable_static=yes ;;
no) enable_static=no ;;
*)
enable_static=no
# Look at the argument we got. We use all the common list separators.
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
for pkg in $enableval; do
if test "X$pkg" = "X$p"; then
enable_static=yes
fi
done
IFS="$ac_save_ifs"
;;
esac
else
enable_static=yes
fi
# Check whether --enable-fast-install or --disable-fast-install was given.
if test "${enable_fast_install+set}" = set; then
enableval="$enable_fast_install"
p=${PACKAGE-default}
case "$enableval" in
yes) enable_fast_install=yes ;;
no) enable_fast_install=no ;;
*)
enable_fast_install=no
# Look at the argument we got. We use all the common list separators.
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
for pkg in $enableval; do
if test "X$pkg" = "X$p"; then
enable_fast_install=yes
fi
done
IFS="$ac_save_ifs"
;;
esac
else
enable_fast_install=yes
fi
echo $ac_n "checking build system type""... $ac_c" 1>&6
echo "configure:2729: checking build system type" >&5
build_alias=$build
case "$build_alias" in
NONE)
case $nonopt in
NONE) build_alias=$host_alias ;;
*) build_alias=$nonopt ;;
esac ;;
esac
build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
echo "$ac_t""$build" 1>&6
# Check whether --with-gnu-ld or --without-gnu-ld was given.
if test "${with_gnu_ld+set}" = set; then
withval="$with_gnu_ld"
test "$withval" = no || with_gnu_ld=yes
else
with_gnu_ld=no
fi
ac_prog=ld
if test "$ac_cv_prog_gcc" = yes; then
# Check if gcc -print-prog-name=ld gives a path.
echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
echo "configure:2758: checking for ld used by GCC" >&5
ac_prog=`($CC -print-prog-name=ld) 2>&5`
case "$ac_prog" in
# Accept absolute paths.
[\\/]* | [A-Za-z]:[\\/]*)
re_direlt='/[^/][^/]*/\.\./'
# Canonicalize the path of ld
ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
done
test -z "$LD" && LD="$ac_prog"
;;
"")
# If it fails, then pretend we aren't using GCC.
ac_prog=ld
;;
*)
# If it is relative, then search for the first ld in PATH.
with_gnu_ld=unknown
;;
esac
elif test "$with_gnu_ld" = yes; then
echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
echo "configure:2782: checking for GNU ld" >&5
else
echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
echo "configure:2785: checking for non-GNU ld" >&5
fi
if eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
if test -z "$LD"; then
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
for ac_dir in $PATH; do
test -z "$ac_dir" && ac_dir=.
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
ac_cv_path_LD="$ac_dir/$ac_prog"
# Check to see if the program is GNU ld. I'd rather use --version,
# but apparently some GNU ld's only accept -v.
# Break only if it was the GNU/non-GNU ld that we prefer.
if "$ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
test "$with_gnu_ld" != no && break
else
test "$with_gnu_ld" != yes && break
fi
fi
done
IFS="$ac_save_ifs"
else
ac_cv_path_LD="$LD" # Let the user override the test with a path.
fi
fi
LD="$ac_cv_path_LD"
if test -n "$LD"; then
echo "$ac_t""$LD" 1>&6
else
echo "$ac_t""no" 1>&6
fi
test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
echo "configure:2821: checking if the linker ($LD) is GNU ld" >&5
if eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
# I'd rather use --version here, but apparently some GNU ld's only accept -v.
if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
ac_cv_prog_gnu_ld=yes
else
ac_cv_prog_gnu_ld=no
fi
fi
echo "$ac_t""$ac_cv_prog_gnu_ld" 1>&6
echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
echo "configure:2837: checking for BSD-compatible nm" >&5
if eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
if test -n "$NM"; then
# Let the user override the test.
ac_cv_path_NM="$NM"
else
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
test -z "$ac_dir" && ac_dir=.
if test -f $ac_dir/nm || test -f $ac_dir/nm$ac_exeext ; then
# Check to see if the nm accepts a BSD-compat flag.
# Adding the `sed 1q' prevents false positives on HP-UX, which says:
# nm: unknown option "B" ignored
if ($ac_dir/nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
ac_cv_path_NM="$ac_dir/nm -B"
break
elif ($ac_dir/nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
ac_cv_path_NM="$ac_dir/nm -p"
break
else
ac_cv_path_NM=${ac_cv_path_NM="$ac_dir/nm"} # keep the first match, but
continue # so that we can try to find one that supports BSD flags
fi
fi
done
IFS="$ac_save_ifs"
test -z "$ac_cv_path_NM" && ac_cv_path_NM=nm
fi
fi
NM="$ac_cv_path_NM"
echo "$ac_t""$NM" 1>&6
echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
echo "configure:2874: checking whether ln -s works" >&5
if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
rm -f conftestdata
if ln -s X conftestdata 2>/dev/null
then
rm -f conftestdata
ac_cv_prog_LN_S="ln -s"
else
ac_cv_prog_LN_S=ln
fi
fi
LN_S="$ac_cv_prog_LN_S"
if test "$ac_cv_prog_LN_S" = "ln -s"; then
echo "$ac_t""yes" 1>&6
else
echo "$ac_t""no" 1>&6
fi
# Check for any special flags to pass to ltconfig.
libtool_flags="--cache-file=$cache_file"
test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
test "$ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc"
test "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
if test "${enable_libtool_lock+set}" = set; then
enableval="$enable_libtool_lock"
:
fi
test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
# Some flags need to be propagated to the compiler or linker for good
# libtool support.
case "$host" in
*-*-irix6*)
# Find out which ABI we are using.
echo '#line 2918 "configure"' > conftest.$ac_ext
if { (eval echo configure:2919: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
case "`/usr/bin/file conftest.o`" in
*32-bit*)
LD="${LD-ld} -32"
;;
*N32*)
LD="${LD-ld} -n32"
;;
*64-bit*)
LD="${LD-ld} -64"
;;
esac
fi
rm -rf conftest*
;;
*-*-sco3.2v5*)
# On SCO OpenServer 5, we need -belf to get full-featured binaries.
SAVE_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -belf"
echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
echo "configure:2940: checking whether the C compiler needs -belf" >&5
if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 2945 "configure"
#include "confdefs.h"
int main() {
; return 0; }
EOF
if { (eval echo configure:2952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
lt_cv_cc_needs_belf=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
lt_cv_cc_needs_belf=no
fi
rm -f conftest*
fi
echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
if test x"$lt_cv_cc_needs_belf" != x"yes"; then
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
CFLAGS="$SAVE_CFLAGS"
fi
;;
esac
# Save cache, so that ltconfig can load it
cat > confcache <<\EOF
# This file is a shell script that caches the results of configure
# tests run on this system so they can be shared between configure
# scripts and configure runs. It is not useful on other systems.
# If it contains results you don't want to keep, you may remove or edit it.
#
# By default, configure uses ./config.cache as the cache file,
# creating it if it does not exist already. You can give configure
# the --cache-file=FILE option to use a different cache file; that is
# what configure does when it calls configure scripts in
# subdirectories, so they share the cache.
# Giving --cache-file=/dev/null disables caching, for debugging configure.
# config.status only pays attention to the cache file if you give it the
# --recheck option to rerun configure.
#
EOF
# The following way of writing the cache mishandles newlines in values,
# but we know of no workaround that is simple, portable, and efficient.
# So, don't put newlines in cache variables' values.
# Ultrix sh set writes to stderr and can't be redirected directly,
# and sets the high bit in the cache file unless we assign to the vars.
(set) 2>&1 |
case `(ac_space=' '; set | grep ac_space) 2>&1` in
*ac_space=\ *)
# `set' does not quote correctly, so add quotes (double-quote substitution
# turns \\\\ into \\, and sed turns \\ into \).
sed -n \
-e "s/'/'\\\\''/g" \
-e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
;;
*)
# `set' quotes correctly as required by POSIX, so do not add quotes.
sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
;;
esac >> confcache
if cmp -s $cache_file confcache; then
:
else
if test -w $cache_file; then
echo "updating cache $cache_file"
cat confcache > $cache_file
else
echo "not updating unwritable cache $cache_file"
fi
fi
rm -f confcache
# Actually configure libtool. ac_aux_dir is where install-sh is found.
CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" \
DLLTOOL="$DLLTOOL" AS="$AS" OBJDUMP="$OBJDUMP" \
${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
$libtool_flags --no-verify $ac_aux_dir/ltmain.sh $host \
|| { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
# Reload cache, that may have been modified by ltconfig
if test -r "$cache_file"; then
echo "loading cache $cache_file"
. $cache_file
else
echo "creating cache $cache_file"
> $cache_file
fi
# This can be used to rebuild libtool when needed
LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh"
# Always use our own libtool.
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
# Redirect the config.log output again, so that the ltconfig log is not
# clobbered by the next message.
exec 5>>./config.log
O=lo
A=la
;;
*)
O=o
A=a
LIBTOOL=
;;
esac
# Check whether --enable-ipv6 or --disable-ipv6 was given.
if test "${enable_ipv6+set}" = set; then
enableval="$enable_ipv6"
:
fi
case "$enable_ipv6" in
yes|''|autodetect)
echo $ac_n "checking for IPv6 structures""... $ac_c" 1>&6
echo "configure:3076: checking for IPv6 structures" >&5
cat > conftest.$ac_ext <<EOF
#line 3078 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
int main() {
struct sockaddr_in6 sin6; return (0);
; return 0; }
EOF
if { (eval echo configure:3088: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
echo "$ac_t""yes" 1>&6
found_ipv6=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
echo "$ac_t""no" 1>&6
found_ipv6=no
fi
rm -f conftest*
;;
no)
found_ipv6=no
;;
esac
case "$found_ipv6" in
yes)
ISC_PLATFORM_HAVEIPV6="#define ISC_PLATFORM_HAVEIPV6 1"
LWRES_PLATFORM_HAVEIPV6="#define LWRES_PLATFORM_HAVEIPV6 1"
;;
no)
ISC_PLATFORM_HAVEIPV6="#undef ISC_PLATFORM_HAVEIPV6"
LWRES_PLATFORM_HAVEIPV6="#undef LWRES_PLATFORM_HAVEIPV6"
ISC_IPV6_H="ipv6.h"
ISC_IPV6_O="ipv6.$O"
ISC_ISCIPV6_O="unix/ipv6.$O"
ISC_IPV6_C="ipv6.c"
;;
esac
echo $ac_n "checking for Kame IPv6 support""... $ac_c" 1>&6
echo "configure:3129: checking for Kame IPv6 support" >&5
# Check whether --with-kame or --without-kame was given.
if test "${with_kame+set}" = set; then
withval="$with_kame"
use_kame="$withval"
else
use_kame="no"
fi
case "$use_kame" in
no)
;;
yes)
kame_path=/usr/local/v6
;;
*)
kame_path="$use_kame"
;;
esac
case "$use_kame" in
no)
echo "$ac_t""no" 1>&6
;;
*)
if test -f $kame_path/lib/libinet6.a; then
echo "$ac_t""$kame_path/lib/libinet6.a" 1>&6
LIBS="$kame_path/lib -linet6 $LIBS"
else
{ echo "configure: error: $kame_path/lib/libinet6.a not found.
Please choose the proper path with the following command:
configure --with-kame=PATH
" 1>&2; exit 1; }
fi
;;
esac
echo $ac_n "checking for inet_ntop""... $ac_c" 1>&6
echo "configure:3171: checking for inet_ntop" >&5
if eval "test \"`echo '$''{'ac_cv_func_inet_ntop'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 3176 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char inet_ntop(); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char inet_ntop();
int main() {
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_inet_ntop) || defined (__stub___inet_ntop)
choke me
#else
inet_ntop();
#endif
; return 0; }
EOF
if { (eval echo configure:3199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_inet_ntop=yes"
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
eval "ac_cv_func_inet_ntop=no"
fi
rm -f conftest*
fi
if eval "test \"`echo '$ac_cv_func_'inet_ntop`\" = yes"; then
echo "$ac_t""yes" 1>&6
ISC_PLATFORM_NEEDNTOP="#undef ISC_PLATFORM_NEEDNTOP"
else
echo "$ac_t""no" 1>&6
ISC_EXTRA_OBJS="$ISC_EXTRA_OBJS inet_ntop.$O"
ISC_EXTRA_SRCS="$ISC_EXTRA_SRCS inet_ntop.c"
ISC_PLATFORM_NEEDNTOP="#define ISC_PLATFORM_NEEDNTOP 1"
fi
echo $ac_n "checking for inet_pton""... $ac_c" 1>&6
echo "configure:3223: checking for inet_pton" >&5
if eval "test \"`echo '$''{'ac_cv_func_inet_pton'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 3228 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char inet_pton(); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char inet_pton();
int main() {
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_inet_pton) || defined (__stub___inet_pton)
choke me
#else
inet_pton();
#endif
; return 0; }
EOF
if { (eval echo configure:3251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_inet_pton=yes"
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
eval "ac_cv_func_inet_pton=no"
fi
rm -f conftest*
fi
if eval "test \"`echo '$ac_cv_func_'inet_pton`\" = yes"; then
echo "$ac_t""yes" 1>&6
ISC_PLATFORM_NEEDPTON="#undef ISC_PLATFORM_NEEDPTON"
else
echo "$ac_t""no" 1>&6
ISC_EXTRA_OBJS="$ISC_EXTRA_OBJS inet_pton.$O"
ISC_EXTRA_SRCS="$ISC_EXTRA_SRCS inet_pton.c"
ISC_PLATFORM_NEEDPTON="#define ISC_PLATFORM_NEEDPTON 1"
fi
echo $ac_n "checking for inet_aton""... $ac_c" 1>&6
echo "configure:3275: checking for inet_aton" >&5
if eval "test \"`echo '$''{'ac_cv_func_inet_aton'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 3280 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char inet_aton(); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char inet_aton();
int main() {
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_inet_aton) || defined (__stub___inet_aton)
choke me
#else
inet_aton();
#endif
; return 0; }
EOF
if { (eval echo configure:3303: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_inet_aton=yes"
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
eval "ac_cv_func_inet_aton=no"
fi
rm -f conftest*
fi
if eval "test \"`echo '$ac_cv_func_'inet_aton`\" = yes"; then
echo "$ac_t""yes" 1>&6
ISC_PLATFORM_NEEDATON="#undef ISC_PLATFORM_NEEDATON"
else
echo "$ac_t""no" 1>&6
ISC_EXTRA_OBJS="$ISC_EXTRA_OBJS inet_aton.$O"
ISC_EXTRA_SRCS="$ISC_EXTRA_SRCS inet_aton.c"
ISC_PLATFORM_NEEDATON="#define ISC_PLATFORM_NEEDATON 1"
fi
echo $ac_n "checking for strsep""... $ac_c" 1>&6
echo "configure:3327: checking for strsep" >&5
if eval "test \"`echo '$''{'ac_cv_func_strsep'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 3332 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char strsep(); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char strsep();
int main() {
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_strsep) || defined (__stub___strsep)
choke me
#else
strsep();
#endif
; return 0; }
EOF
if { (eval echo configure:3355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_strsep=yes"
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
eval "ac_cv_func_strsep=no"
fi
rm -f conftest*
fi
if eval "test \"`echo '$ac_cv_func_'strsep`\" = yes"; then
echo "$ac_t""yes" 1>&6
ISC_PLATFORM_NEEDSTRSEP="#undef ISC_PLATFORM_NEEDSTRSEP"
else
echo "$ac_t""no" 1>&6
ISC_EXTRA_OBJS="$ISC_EXTRA_OBJS strsep.$O"
ISC_EXTRA_SRCS="$ISC_EXTRA_SRCS strsep.c"
ISC_PLATFORM_NEEDSTRSEP="#define ISC_PLATFORM_NEEDSTRSEP 1"
fi
echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
echo "configure:3378: checking for vsnprintf" >&5
if eval "test \"`echo '$''{'ac_cv_func_vsnprintf'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 3383 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char vsnprintf(); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char vsnprintf();
int main() {
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_vsnprintf) || defined (__stub___vsnprintf)
choke me
#else
vsnprintf();
#endif
; return 0; }
EOF
if { (eval echo configure:3406: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_vsnprintf=yes"
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
eval "ac_cv_func_vsnprintf=no"
fi
rm -f conftest*
fi
if eval "test \"`echo '$ac_cv_func_'vsnprintf`\" = yes"; then
echo "$ac_t""yes" 1>&6
ISC_PLATFORM_NEEDVSNPRINTF="#undef ISC_PLATFORM_NEEDVSNPRINTF"
else
echo "$ac_t""no" 1>&6
ISC_EXTRA_OBJS="$ISC_EXTRA_OBJS print.$O"
ISC_EXTRA_SRCS="$ISC_EXTRA_SRCS print.c"
ISC_PLATFORM_NEEDVSNPRINTF="#define ISC_PLATFORM_NEEDVSNPRINTF 1"
fi
echo $ac_n "checking for sizeof(long long int) == sizeof(long int)""... $ac_c" 1>&6
echo "configure:3436: checking for sizeof(long long int) == sizeof(long int)" >&5
if test "$cross_compiling" = yes; then
echo "$ac_t""default yes" 1>&6
ISC_PLATFORM_LONGLONGEQUALLONG="#define ISC_PLATFORM_LONGLONGEQUALLONG 1"
else
cat > conftest.$ac_ext <<EOF
#line 3442 "configure"
#include "confdefs.h"
main() { exit(!(sizeof(long long int) == sizeof(long int))); }
EOF
if { (eval echo configure:3446: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
echo "$ac_t""yes" 1>&6
ISC_PLATFORM_LONGLONGEQUALLONG="#define ISC_PLATFORM_LONGLONGEQUALLONG 1"
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -fr conftest*
echo "$ac_t""no" 1>&6
ISC_PLATFORM_LONGLONGEQUALLONG="#undef ISC_PLATFORM_LONGLONGEQUALLONG"
fi
rm -fr conftest*
fi
echo $ac_n "checking for chroot""... $ac_c" 1>&6
echo "configure:3464: checking for chroot" >&5
if eval "test \"`echo '$''{'ac_cv_func_chroot'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 3469 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char chroot(); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char chroot();
int main() {
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_chroot) || defined (__stub___chroot)
choke me
#else
chroot();
#endif
; return 0; }
EOF
if { (eval echo configure:3492: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_chroot=yes"
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
eval "ac_cv_func_chroot=no"
fi
rm -f conftest*
fi
if eval "test \"`echo '$ac_cv_func_'chroot`\" = yes"; then
echo "$ac_t""yes" 1>&6
cat >> confdefs.h <<\EOF
#define HAVE_CHROOT 1
EOF
else
echo "$ac_t""no" 1>&6
fi
for ac_hdr in linux/capability.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
echo "configure:3518: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 3523 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:3528: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
eval "ac_cv_header_$ac_safe=yes"
else
echo "$ac_err" >&5
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
eval "ac_cv_header_$ac_safe=no"
fi
rm -f conftest*
fi
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
echo "$ac_t""yes" 1>&6
ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
cat >> confdefs.h <<EOF
#define $ac_tr_hdr 1
EOF
else
echo "$ac_t""no" 1>&6
fi
done
BIND9_TOP_BUILDDIR=`pwd`
if test "X$srcdir" != "X"; then
BIND9_ISC_BUILDINCLUDE="-I${BIND9_TOP_BUILDDIR}/lib/isc/include"
BIND9_DNS_BUILDINCLUDE="-I${BIND9_TOP_BUILDDIR}/lib/dns/include"
BIND9_OMAPI_BUILDINCLUDE="-I${BIND9_TOP_BUILDDIR}/lib/omapi/include"
BIND9_LWRES_BUILDINCLUDE="-I${BIND9_TOP_BUILDDIR}/lib/lwres/include"
else
BIND9_ISC_BUILDINCLUDE=""
BIND9_DNS_BUILDINCLUDE=""
BIND9_OMAPI_BUILDINCLUDE=""
BIND9_LWRES_BUILDINCLUDE=""
fi
BIND9_INCLUDES=$BIND9_TOP_BUILDDIR/make/includes
BIND9_MAKE_RULES=$BIND9_TOP_BUILDDIR/make/rules
BIND9_VERSION=$srcdir/version
LIBISC_API=$srcdir/lib/isc/api
LIBDNS_API=$srcdir/lib/dns/api
LIBOMAPI_API=$srcdir/lib/omapi/api
trap '' 1 2 15
cat > confcache <<\EOF
# This file is a shell script that caches the results of configure
# tests run on this system so they can be shared between configure
# scripts and configure runs. It is not useful on other systems.
# If it contains results you don't want to keep, you may remove or edit it.
#
# By default, configure uses ./config.cache as the cache file,
# creating it if it does not exist already. You can give configure
# the --cache-file=FILE option to use a different cache file; that is
# what configure does when it calls configure scripts in
# subdirectories, so they share the cache.
# Giving --cache-file=/dev/null disables caching, for debugging configure.
# config.status only pays attention to the cache file if you give it the
# --recheck option to rerun configure.
#
EOF
# The following way of writing the cache mishandles newlines in values,
# but we know of no workaround that is simple, portable, and efficient.
# So, don't put newlines in cache variables' values.
# Ultrix sh set writes to stderr and can't be redirected directly,
# and sets the high bit in the cache file unless we assign to the vars.
(set) 2>&1 |
case `(ac_space=' '; set | grep ac_space) 2>&1` in
*ac_space=\ *)
# `set' does not quote correctly, so add quotes (double-quote substitution
# turns \\\\ into \\, and sed turns \\ into \).
sed -n \
-e "s/'/'\\\\''/g" \
-e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
;;
*)
# `set' quotes correctly as required by POSIX, so do not add quotes.
sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
;;
esac >> confcache
if cmp -s $cache_file confcache; then
:
else
if test -w $cache_file; then
echo "updating cache $cache_file"
cat confcache > $cache_file
else
echo "not updating unwritable cache $cache_file"
fi
fi
rm -f confcache
trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
test "x$prefix" = xNONE && prefix=$ac_default_prefix
# Let make expand exec_prefix.
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
# Any assignment to VPATH causes Sun make to only execute
# the first set of double-colon rules, so remove it if not needed.
# If there is a colon in the path, we need to keep it.
if test "x$srcdir" = x.; then
ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
fi
trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
DEFS=-DHAVE_CONFIG_H
# Without the "./", some shells look in PATH for config.status.
: ${CONFIG_STATUS=./config.status}
echo creating $CONFIG_STATUS
rm -f $CONFIG_STATUS
cat > $CONFIG_STATUS <<EOF
#! /bin/sh
# Generated automatically by configure.
# Run this file to recreate the current configuration.
# This directory was configured as follows,
# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
#
# $0 $ac_configure_args
#
# Compiler output produced by configure, useful for debugging
# configure, is in ./config.log if it exists.
ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
for ac_option
do
case "\$ac_option" in
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
-version | --version | --versio | --versi | --vers | --ver | --ve | --v)
echo "$CONFIG_STATUS generated by autoconf version 2.13"
exit 0 ;;
-help | --help | --hel | --he | --h)
echo "\$ac_cs_usage"; exit 0 ;;
*) echo "\$ac_cs_usage"; exit 1 ;;
esac
done
ac_given_srcdir=$srcdir
ac_given_INSTALL="$INSTALL"
trap 'rm -fr `echo "make/rules
make/includes
Makefile
make/Makefile
make/mkdep
lib/Makefile
lib/isc/Makefile
lib/isc/include/Makefile
lib/isc/include/isc/Makefile
lib/isc/include/isc/platform.h
lib/isc/unix/Makefile
lib/isc/unix/include/Makefile
lib/isc/unix/include/isc/Makefile
lib/isc/nls/Makefile
lib/isc/pthreads/Makefile
lib/isc/pthreads/include/Makefile
lib/isc/pthreads/include/isc/Makefile
lib/dns/Makefile
lib/dns/include/Makefile
lib/dns/include/dns/Makefile
lib/dns/sec/Makefile
lib/dns/sec/openssl/Makefile
lib/dns/sec/openssl/include/Makefile
lib/dns/sec/openssl/include/openssl/Makefile
lib/dns/sec/dnssafe/Makefile
lib/dns/sec/dst/Makefile
lib/dns/sec/dst/include/Makefile
lib/dns/sec/dst/include/dst/Makefile
lib/dns/config/Makefile
lib/lwres/Makefile
lib/lwres/include/Makefile
lib/lwres/include/lwres/Makefile
lib/lwres/include/lwres/netdb.h
lib/lwres/include/lwres/platform.h
lib/omapi/Makefile
lib/omapi/include/Makefile
lib/omapi/include/omapi/Makefile
lib/tests/Makefile
lib/tests/include/Makefile
lib/tests/include/tests/Makefile
bin/Makefile
bin/named/Makefile
bin/named/unix/Makefile
bin/lwresd/Makefile
bin/rndc/Makefile
bin/tests/Makefile
bin/tests/names/Makefile
bin/tests/master/Makefile
bin/tests/rbt/Makefile
bin/tests/db/Makefile
bin/tests/tasks/Makefile
bin/tests/timers/Makefile
bin/tests/dst/Makefile
bin/tests/mem/Makefile
bin/tests/sockaddr/Makefile
config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
EOF
cat >> $CONFIG_STATUS <<EOF
# Protect against being on the right side of a sed subst in config.status.
sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
$ac_vpsub
$extrasub
s%@SHELL@%$SHELL%g
s%@CFLAGS@%$CFLAGS%g
s%@CPPFLAGS@%$CPPFLAGS%g
s%@CXXFLAGS@%$CXXFLAGS%g
s%@FFLAGS@%$FFLAGS%g
s%@DEFS@%$DEFS%g
s%@LDFLAGS@%$LDFLAGS%g
s%@LIBS@%$LIBS%g
s%@exec_prefix@%$exec_prefix%g
s%@prefix@%$prefix%g
s%@program_transform_name@%$program_transform_name%g
s%@bindir@%$bindir%g
s%@sbindir@%$sbindir%g
s%@libexecdir@%$libexecdir%g
s%@datadir@%$datadir%g
s%@sysconfdir@%$sysconfdir%g
s%@sharedstatedir@%$sharedstatedir%g
s%@localstatedir@%$localstatedir%g
s%@libdir@%$libdir%g
s%@includedir@%$includedir%g
s%@oldincludedir@%$oldincludedir%g
s%@infodir@%$infodir%g
s%@mandir@%$mandir%g
s%@host@%$host%g
s%@host_alias@%$host_alias%g
s%@host_cpu@%$host_cpu%g
s%@host_vendor@%$host_vendor%g
s%@host_os@%$host_os%g
s%@SET_MAKE@%$SET_MAKE%g
s%@RANLIB@%$RANLIB%g
s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
s%@INSTALL_DATA@%$INSTALL_DATA%g
s%@STD_CINCLUDES@%$STD_CINCLUDES%g
s%@STD_CDEFINES@%$STD_CDEFINES%g
s%@STD_CWARNINGS@%$STD_CWARNINGS%g
s%@AR@%$AR%g
s%@ARFLAGS@%$ARFLAGS%g
s%@CC@%$CC%g
s%@YACC@%$YACC%g
s%@CPP@%$CPP%g
s%@ISC_PLATFORM_HAVENETINET6IN6H@%$ISC_PLATFORM_HAVENETINET6IN6H%g
s%@LWRES_PLATFORM_HAVENETINET6IN6H@%$LWRES_PLATFORM_HAVENETINET6IN6H%g
s%@MKDEPCC@%$MKDEPCC%g
s%@MKDEPCFLAGS@%$MKDEPCFLAGS%g
s%@MKDEPPROG@%$MKDEPPROG%g
s%@ISC_PLATFORM_HAVESALEN@%$ISC_PLATFORM_HAVESALEN%g
s%@LWRES_PLATFORM_HAVESALEN@%$LWRES_PLATFORM_HAVESALEN%g
s%@ISC_PLATFORM_MSGHDRFLAVOR@%$ISC_PLATFORM_MSGHDRFLAVOR%g
s%@ISC_PLATFORM_NEEDPORTT@%$ISC_PLATFORM_NEEDPORTT%g
s%@ISC_LWRES_NEEDADDRINFO@%$ISC_LWRES_NEEDADDRINFO%g
s%@ISC_LWRES_SETHOSTENTINT@%$ISC_LWRES_SETHOSTENTINT%g
s%@ISC_LWRES_ENDHOSTENTINT@%$ISC_LWRES_ENDHOSTENTINT%g
s%@ISC_LWRES_GETNETBYADDRINADDR@%$ISC_LWRES_GETNETBYADDRINADDR%g
s%@ISC_LWRES_SETNETENTINT@%$ISC_LWRES_SETNETENTINT%g
s%@ISC_LWRES_ENDNETENTINT@%$ISC_LWRES_ENDNETENTINT%g
s%@ISC_LWRES_GETHOSTBYADDRVOID@%$ISC_LWRES_GETHOSTBYADDRVOID%g
s%@ISC_LWRES_NEEDHERRNO@%$ISC_LWRES_NEEDHERRNO%g
s%@ISC_LWRES_GETIPNODEPROTO@%$ISC_LWRES_GETIPNODEPROTO%g
s%@ISC_LWRES_GETADDRINFOPROTO@%$ISC_LWRES_GETADDRINFOPROTO%g
s%@ISC_LWRES_GETNAMEINFOPROTO@%$ISC_LWRES_GETNAMEINFOPROTO%g
s%@build@%$build%g
s%@build_alias@%$build_alias%g
s%@build_cpu@%$build_cpu%g
s%@build_vendor@%$build_vendor%g
s%@build_os@%$build_os%g
s%@LD@%$LD%g
s%@NM@%$NM%g
s%@LN_S@%$LN_S%g
s%@LIBTOOL@%$LIBTOOL%g
s%@O@%$O%g
s%@A@%$A%g
s%@ISC_PLATFORM_HAVEIPV6@%$ISC_PLATFORM_HAVEIPV6%g
s%@LWRES_PLATFORM_HAVEIPV6@%$LWRES_PLATFORM_HAVEIPV6%g
s%@ISC_IPV6_H@%$ISC_IPV6_H%g
s%@ISC_IPV6_O@%$ISC_IPV6_O%g
s%@ISC_ISCIPV6_O@%$ISC_ISCIPV6_O%g
s%@ISC_IPV6_C@%$ISC_IPV6_C%g
s%@ISC_PLATFORM_NEEDNTOP@%$ISC_PLATFORM_NEEDNTOP%g
s%@ISC_PLATFORM_NEEDPTON@%$ISC_PLATFORM_NEEDPTON%g
s%@ISC_PLATFORM_NEEDATON@%$ISC_PLATFORM_NEEDATON%g
s%@ISC_PLATFORM_NEEDSTRSEP@%$ISC_PLATFORM_NEEDSTRSEP%g
s%@ISC_PLATFORM_NEEDVSNPRINTF@%$ISC_PLATFORM_NEEDVSNPRINTF%g
s%@ISC_EXTRA_OBJS@%$ISC_EXTRA_OBJS%g
s%@ISC_EXTRA_SRCS@%$ISC_EXTRA_SRCS%g
s%@ISC_PLATFORM_LONGLONGEQUALLONG@%$ISC_PLATFORM_LONGLONGEQUALLONG%g
s%@BIND9_TOP_BUILDDIR@%$BIND9_TOP_BUILDDIR%g
s%@BIND9_ISC_BUILDINCLUDE@%$BIND9_ISC_BUILDINCLUDE%g
s%@BIND9_DNS_BUILDINCLUDE@%$BIND9_DNS_BUILDINCLUDE%g
s%@BIND9_OMAPI_BUILDINCLUDE@%$BIND9_OMAPI_BUILDINCLUDE%g
s%@BIND9_LWRES_BUILDINCLUDE@%$BIND9_LWRES_BUILDINCLUDE%g
/@BIND9_INCLUDES@/r $BIND9_INCLUDES
s%@BIND9_INCLUDES@%%g
/@BIND9_MAKE_RULES@/r $BIND9_MAKE_RULES
s%@BIND9_MAKE_RULES@%%g
/@BIND9_VERSION@/r $BIND9_VERSION
s%@BIND9_VERSION@%%g
/@LIBISC_API@/r $LIBISC_API
s%@LIBISC_API@%%g
/@LIBDNS_API@/r $LIBDNS_API
s%@LIBDNS_API@%%g
/@LIBOMAPI_API@/r $LIBOMAPI_API
s%@LIBOMAPI_API@%%g
CEOF
EOF
cat >> $CONFIG_STATUS <<\EOF
# Split the substitutions into bite-sized pieces for seds with
# small command number limits, like on Digital OSF/1 and HP-UX.
ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
ac_file=1 # Number of current file.
ac_beg=1 # First line for current file.
ac_end=$ac_max_sed_cmds # Line after last line for current file.
ac_more_lines=:
ac_sed_cmds=""
while $ac_more_lines; do
if test $ac_beg -gt 1; then
sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
else
sed "${ac_end}q" conftest.subs > conftest.s$ac_file
fi
if test ! -s conftest.s$ac_file; then
ac_more_lines=false
rm -f conftest.s$ac_file
else
if test -z "$ac_sed_cmds"; then
ac_sed_cmds="sed -f conftest.s$ac_file"
else
ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
fi
ac_file=`expr $ac_file + 1`
ac_beg=$ac_end
ac_end=`expr $ac_end + $ac_max_sed_cmds`
fi
done
if test -z "$ac_sed_cmds"; then
ac_sed_cmds=cat
fi
EOF
cat >> $CONFIG_STATUS <<EOF
CONFIG_FILES=\${CONFIG_FILES-"make/rules
make/includes
Makefile
make/Makefile
make/mkdep
lib/Makefile
lib/isc/Makefile
lib/isc/include/Makefile
lib/isc/include/isc/Makefile
lib/isc/include/isc/platform.h
lib/isc/unix/Makefile
lib/isc/unix/include/Makefile
lib/isc/unix/include/isc/Makefile
lib/isc/nls/Makefile
lib/isc/pthreads/Makefile
lib/isc/pthreads/include/Makefile
lib/isc/pthreads/include/isc/Makefile
lib/dns/Makefile
lib/dns/include/Makefile
lib/dns/include/dns/Makefile
lib/dns/sec/Makefile
lib/dns/sec/openssl/Makefile
lib/dns/sec/openssl/include/Makefile
lib/dns/sec/openssl/include/openssl/Makefile
lib/dns/sec/dnssafe/Makefile
lib/dns/sec/dst/Makefile
lib/dns/sec/dst/include/Makefile
lib/dns/sec/dst/include/dst/Makefile
lib/dns/config/Makefile
lib/lwres/Makefile
lib/lwres/include/Makefile
lib/lwres/include/lwres/Makefile
lib/lwres/include/lwres/netdb.h
lib/lwres/include/lwres/platform.h
lib/omapi/Makefile
lib/omapi/include/Makefile
lib/omapi/include/omapi/Makefile
lib/tests/Makefile
lib/tests/include/Makefile
lib/tests/include/tests/Makefile
bin/Makefile
bin/named/Makefile
bin/named/unix/Makefile
bin/lwresd/Makefile
bin/rndc/Makefile
bin/tests/Makefile
bin/tests/names/Makefile
bin/tests/master/Makefile
bin/tests/rbt/Makefile
bin/tests/db/Makefile
bin/tests/tasks/Makefile
bin/tests/timers/Makefile
bin/tests/dst/Makefile
bin/tests/mem/Makefile
bin/tests/sockaddr/Makefile
"}
EOF
cat >> $CONFIG_STATUS <<\EOF
for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
case "$ac_file" in
*:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
*) ac_file_in="${ac_file}.in" ;;
esac
# Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
# Remove last slash and all that follows it. Not all systems have dirname.
ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
# The file is in a subdirectory.
test ! -d "$ac_dir" && mkdir "$ac_dir"
ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
# A "../" for each directory in $ac_dir_suffix.
ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
else
ac_dir_suffix= ac_dots=
fi
case "$ac_given_srcdir" in
.) srcdir=.
if test -z "$ac_dots"; then top_srcdir=.
else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
/*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
*) # Relative path.
srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
top_srcdir="$ac_dots$ac_given_srcdir" ;;
esac
case "$ac_given_INSTALL" in
[/$]*) INSTALL="$ac_given_INSTALL" ;;
*) INSTALL="$ac_dots$ac_given_INSTALL" ;;
esac
echo creating "$ac_file"
rm -f "$ac_file"
configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
case "$ac_file" in
*Makefile*) ac_comsub="1i\\
# $configure_input" ;;
*) ac_comsub= ;;
esac
ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
sed -e "$ac_comsub
s%@configure_input@%$configure_input%g
s%@srcdir@%$srcdir%g
s%@top_srcdir@%$top_srcdir%g
s%@INSTALL@%$INSTALL%g
" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
fi; done
rm -f conftest.s*
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
# NAME is the cpp macro being defined and VALUE is the value it is being given.
#
# ac_d sets the value in "#define NAME VALUE" lines.
ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
ac_dC='\3'
ac_dD='%g'
# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
ac_uB='\([ ]\)%\1#\2define\3'
ac_uC=' '
ac_uD='\4%g'
# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
ac_eB='$%\1#\2define\3'
ac_eC=' '
ac_eD='%g'
if test "${CONFIG_HEADERS+set}" != set; then
EOF
cat >> $CONFIG_STATUS <<EOF
CONFIG_HEADERS="config.h"
EOF
cat >> $CONFIG_STATUS <<\EOF
fi
for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
case "$ac_file" in
*:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
*) ac_file_in="${ac_file}.in" ;;
esac
echo creating $ac_file
rm -f conftest.frag conftest.in conftest.out
ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
cat $ac_file_inputs > conftest.in
EOF
# 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.
rm -f conftest.vals
cat > conftest.hdr <<\EOF
s/[\\&%]/\\&/g
s%[\\$`]%\\&%g
s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
s%ac_d%ac_u%gp
s%ac_u%ac_e%gp
EOF
sed -n -f conftest.hdr confdefs.h > conftest.vals
rm -f conftest.hdr
# This sed command replaces #undef with comments. This is necessary, for
# example, in the case of _POSIX_SOURCE, which is predefined and required
# on some systems where configure will not decide to define it.
cat >> conftest.vals <<\EOF
s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
EOF
# Break up conftest.vals because some shells have a limit on
# the size of here documents, and old seds have small limits too.
rm -f conftest.tail
while :
do
ac_lines=`grep -c . conftest.vals`
# grep -c gives empty output for an empty file on some AIX systems.
if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
# Write a limited-size here document to conftest.frag.
echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
echo 'CEOF
sed -f conftest.frag conftest.in > conftest.out
rm -f conftest.in
mv conftest.out conftest.in
' >> $CONFIG_STATUS
sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
rm -f conftest.vals
mv conftest.tail conftest.vals
done
rm -f conftest.vals
cat >> $CONFIG_STATUS <<\EOF
rm -f conftest.frag conftest.h
echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
cat conftest.in >> conftest.h
rm -f conftest.in
if cmp -s $ac_file conftest.h 2>/dev/null; then
echo "$ac_file is unchanged"
rm -f conftest.h
else
# Remove last slash and all that follows it. Not all systems have dirname.
ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
# The file is in a subdirectory.
test ! -d "$ac_dir" && mkdir "$ac_dir"
fi
rm -f $ac_file
mv conftest.h $ac_file
fi
fi; done
EOF
cat >> $CONFIG_STATUS <<EOF
EOF
cat >> $CONFIG_STATUS <<\EOF
exit 0
EOF
chmod +x $CONFIG_STATUS
rm -fr confdefs* $ac_clean_files
test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1