configure revision 7b2db4b8d13e3d8bc81419ffcc8b39de8193ef63
842ae4bd224140319ae7feec1872b93dfd491143fielding#! /bin/sh
842ae4bd224140319ae7feec1872b93dfd491143fielding
842ae4bd224140319ae7feec1872b93dfd491143fielding# From configure.in Revision: 1.112
842ae4bd224140319ae7feec1872b93dfd491143fielding
842ae4bd224140319ae7feec1872b93dfd491143fielding
842ae4bd224140319ae7feec1872b93dfd491143fielding
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding## libtool.m4 - Configure libtool for the target system. -*-Shell-script-*-
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd## Copyright (C) 1996-1999 Free Software Foundation, Inc.
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding## Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd##
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd## This program is free software; you can redistribute it and/or modify
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd## it under the terms of the GNU General Public License as published by
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd## the Free Software Foundation; either version 2 of the License, or
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dcnd## (at your option) any later version.
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding##
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding## This program is distributed in the hope that it will be useful, but
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding## WITHOUT ANY WARRANTY; without even the implied warranty of
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding## General Public License for more details.
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding##
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding## You should have received a copy of the GNU General Public License
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding## along with this program; if not, write to the Free Software
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding##
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding## As a special exception to the GNU General Public License, if you
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding## distribute this file as part of a program that contains a
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding## configuration script generated by Autoconf, you may include it under
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding## the same distribution terms that you use for the rest of that program.
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding# serial 40 AC_PROG_LIBTOOL
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding# AC_LIBTOOL_DLOPEN - enable checks for dlopen support
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding# AC_LIBTOOL_WIN32_DLL - declare package support for building win32 dll's
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding# AC_ENABLE_SHARED - implement the --enable-shared flag
d0a46853bff16e9598a3298f262b0d3fd58d6c53martin# Usage: AC_ENABLE_SHARED[(DEFAULT)]
c53a68af52e2428d833746388b412fb4793759b2trawick# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx# `yes'.
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx# AC_DISABLE_SHARED - set the default shared flag to --disable-shared
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx# AC_ENABLE_STATIC - implement the --enable-static flag
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx# Usage: AC_ENABLE_STATIC[(DEFAULT)]
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx# `yes'.
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx
383a9c6af58f5a670e8ef8b7f222ce71dbb7bee5dirkx# AC_DISABLE_STATIC - set the default static flag to --disable-static
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx# AC_ENABLE_FAST_INSTALL - implement the --enable-fast-install flag
bb036ec40eb03d669a5838214bf5ac211da0340baaron# Usage: AC_ENABLE_FAST_INSTALL[(DEFAULT)]
bb036ec40eb03d669a5838214bf5ac211da0340baaron# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
bb036ec40eb03d669a5838214bf5ac211da0340baaron# `yes'.
1fbf6ba0f5207e6637b49f9a9dfcc779bbe952a9trawick
bb036ec40eb03d669a5838214bf5ac211da0340baaron
1fbf6ba0f5207e6637b49f9a9dfcc779bbe952a9trawick# AC_ENABLE_FAST_INSTALL - set the default to --disable-fast-install
bb036ec40eb03d669a5838214bf5ac211da0340baaron
bb036ec40eb03d669a5838214bf5ac211da0340baaron
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding# AC_PROG_LD - find the path to the GNU or non-GNU linker
78657729e2a01d274ab2894015cd384e175f17d7jwoolley
7a0780c774fcd7823d2e3a79f55b2f3522602992clar
af9be3a217c70b689b7275ed0690fc74483e7c4fdirkx
af9be3a217c70b689b7275ed0690fc74483e7c4fdirkx
860d483ae528603f7e1f962903e71ac28358bef6wrowe# AC_PROG_NM - find the path to a BSD-compatible name lister
860d483ae528603f7e1f962903e71ac28358bef6wrowe
860d483ae528603f7e1f962903e71ac28358bef6wrowe
860d483ae528603f7e1f962903e71ac28358bef6wrowe# AC_CHECK_LIBM - check for math library
56b4c2f79f228da54b5815060ec3eb809dd9dcf9aaron
56b4c2f79f228da54b5815060ec3eb809dd9dcf9aaron
56b4c2f79f228da54b5815060ec3eb809dd9dcf9aaron# AC_LIBLTDL_CONVENIENCE[(dir)] - sets LIBLTDL to the link flags for
56b4c2f79f228da54b5815060ec3eb809dd9dcf9aaron# the libltdl convenience library, adds --enable-ltdl-convenience to
56b4c2f79f228da54b5815060ec3eb809dd9dcf9aaron# the configure arguments. Note that LIBLTDL is not AC_SUBSTed, nor
10a20aaa2426eff21e054473bbcab8cd2f104e59colm# is AC_CONFIG_SUBDIRS called. If DIR is not provided, it is assumed
10a20aaa2426eff21e054473bbcab8cd2f104e59colm# to be `${top_builddir}/libltdl'. Make sure you start DIR with
10a20aaa2426eff21e054473bbcab8cd2f104e59colm# '${top_builddir}/' (note the single quotes!) if your package is not
fb192621397afdd92da43370bf0d0cc8565e2264colm# flat, and, if you're not using automake, define top_builddir as
af9be3a217c70b689b7275ed0690fc74483e7c4fdirkx# appropriate in the Makefiles.
860d483ae528603f7e1f962903e71ac28358bef6wrowe
860d483ae528603f7e1f962903e71ac28358bef6wrowe
e8f95a682820a599fe41b22977010636be5c2717jim# AC_LIBLTDL_INSTALLABLE[(dir)] - sets LIBLTDL to the link flags for
e8f95a682820a599fe41b22977010636be5c2717jim# the libltdl installable library, and adds --enable-ltdl-install to
e8f95a682820a599fe41b22977010636be5c2717jim# the configure arguments. Note that LIBLTDL is not AC_SUBSTed, nor
e8f95a682820a599fe41b22977010636be5c2717jim# is AC_CONFIG_SUBDIRS called. If DIR is not provided, it is assumed
860d483ae528603f7e1f962903e71ac28358bef6wrowe# to be `${top_builddir}/libltdl'. Make sure you start DIR with
e8f95a682820a599fe41b22977010636be5c2717jim# '${top_builddir}/' (note the single quotes!) if your package is not
860d483ae528603f7e1f962903e71ac28358bef6wrowe# flat, and, if you're not using automake, define top_builddir as
860d483ae528603f7e1f962903e71ac28358bef6wrowe# appropriate in the Makefiles.
10a20aaa2426eff21e054473bbcab8cd2f104e59colm# In the future, this macro may have to be called after AC_PROG_LIBTOOL.
860d483ae528603f7e1f962903e71ac28358bef6wrowe
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding# Guess values for system-dependent variables and create Makefiles.
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding# Generated automatically using autoconf version 2.13
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding#
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding# This configure script is free software; the Free Software Foundation
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding# gives unlimited permission to copy, distribute and modify it.
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding# Defaults:
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fieldingac_help=
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fieldingac_default_prefix=/usr/local
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding# Any additions from configure.in:
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fieldingac_help="$ac_help
f4a8b04b47f09a21b65646b66b19c9649ff7f03arbb --with-mit-pthreads use the mit-pthreads thread library"
f4a8b04b47f09a21b65646b66b19c9649ff7f03arbbac_help="$ac_help
f4a8b04b47f09a21b65646b66b19c9649ff7f03arbb --with-ptl2 use the ptl2 thread library"
f4a8b04b47f09a21b65646b66b19c9649ff7f03arbbac_help="$ac_help
f4a8b04b47f09a21b65646b66b19c9649ff7f03arbb --with-libtool use GNU libtool"
f4a8b04b47f09a21b65646b66b19c9649ff7f03arbbac_help="$ac_help
f4a8b04b47f09a21b65646b66b19c9649ff7f03arbb --enable-shared[=PKGS] build shared libraries [default=yes]"
f4a8b04b47f09a21b65646b66b19c9649ff7f03arbbac_help="$ac_help
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding --enable-static[=PKGS] build static libraries [default=yes]"
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fieldingac_help="$ac_help
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding --enable-fast-install[=PKGS] optimize for fast installation [default=yes]"
cccd31fa4a72fe23cc3249c06db181b274a55a69gsteinac_help="$ac_help
33cc48e1677642f4027deb6421ab6d7f3787ee0ffielding --with-gnu-ld assume the C compiler uses GNU ld [default=no]"
cccd31fa4a72fe23cc3249c06db181b274a55a69gsteinac_help="$ac_help
f4a8b04b47f09a21b65646b66b19c9649ff7f03arbb --disable-libtool-lock avoid locking (might break parallel builds)"
f4a8b04b47f09a21b65646b66b19c9649ff7f03arbbac_help="$ac_help
f4a8b04b47f09a21b65646b66b19c9649ff7f03arbb --enable-ipv6 use IPv6 [default=autodetect]"
f4a8b04b47f09a21b65646b66b19c9649ff7f03arbbac_help="$ac_help
cccd31fa4a72fe23cc3249c06db181b274a55a69gstein --with-kame[=PATH] use Kame IPv6 [default path /usr/local/v6]"
314ad8e9005a0266a2e7f61a44834c58893293b4rbb
3d5ab266a622a2c6e1907819a6891a0a61f32632wrowe# Initialize some variables set by options.
54c358157ff30a1c4f4f8b27f3a687f254afa493wrowe# The variables have the same names as the options, with
f706ad4ddbeb3b9814f52e83006e505cbb2cf662rbb# dashes changed to underlines.
cccd31fa4a72fe23cc3249c06db181b274a55a69gsteinbuild=NONE
480e6d6e3fbf8fc23af721f430a97afb0012be6ftrawickcache_file=./config.cache
480e6d6e3fbf8fc23af721f430a97afb0012be6ftrawickexec_prefix=NONE
cccd31fa4a72fe23cc3249c06db181b274a55a69gsteinhost=NONE
b980ad7fdc218b4855cde9f75a747527f50c554dwroweno_create=
f4a8b04b47f09a21b65646b66b19c9649ff7f03arbbnonopt=NONE
f4a8b04b47f09a21b65646b66b19c9649ff7f03arbbno_recursion=
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fieldingprefix=NONE
bb65aeae7af1d33b64252bbc1b966942d757ac60wroweprogram_prefix=NONE
f4a8b04b47f09a21b65646b66b19c9649ff7f03arbbprogram_suffix=NONE
48d7c43629323c8d5ee9f7bd0d194de0a376b391rbbprogram_transform_name=s,x,x,
bb65aeae7af1d33b64252bbc1b966942d757ac60wrowesilent=
f4a8b04b47f09a21b65646b66b19c9649ff7f03arbbsite=
2a1011ba69b24f3224bcb358d542017d5f389f78wrowesrcdir=
608d821d7b7d5b856cccef7e9a14582087acd20bjortontarget=NONE
608d821d7b7d5b856cccef7e9a14582087acd20bjortonverbose=
608d821d7b7d5b856cccef7e9a14582087acd20bjortonx_includes=NONE
2a1011ba69b24f3224bcb358d542017d5f389f78wrowex_libraries=NONE
2a1011ba69b24f3224bcb358d542017d5f389f78wrowebindir='${exec_prefix}/bin'
2a1011ba69b24f3224bcb358d542017d5f389f78wrowesbindir='${exec_prefix}/sbin'
2a1011ba69b24f3224bcb358d542017d5f389f78wrowelibexecdir='${exec_prefix}/libexec'
2a1011ba69b24f3224bcb358d542017d5f389f78wrowedatadir='${prefix}/share'
2a1011ba69b24f3224bcb358d542017d5f389f78wrowesysconfdir='${prefix}/etc'
2a1011ba69b24f3224bcb358d542017d5f389f78wrowesharedstatedir='${prefix}/com'
2a1011ba69b24f3224bcb358d542017d5f389f78wrowelocalstatedir='${prefix}/var'
2a1011ba69b24f3224bcb358d542017d5f389f78wrowelibdir='${exec_prefix}/lib'
2a1011ba69b24f3224bcb358d542017d5f389f78wroweincludedir='${prefix}/include'
2a1011ba69b24f3224bcb358d542017d5f389f78wroweoldincludedir='/usr/include'
2a1011ba69b24f3224bcb358d542017d5f389f78wroweinfodir='${prefix}/info'
2a1011ba69b24f3224bcb358d542017d5f389f78wrowemandir='${prefix}/man'
2a1011ba69b24f3224bcb358d542017d5f389f78wrowe
2a1011ba69b24f3224bcb358d542017d5f389f78wrowe# Initialize some other variables.
2a1011ba69b24f3224bcb358d542017d5f389f78wrowesubdirs=
2a1011ba69b24f3224bcb358d542017d5f389f78wroweMFLAGS= MAKEFLAGS=
e23b77006a8b079c0ad52e42ba2029e759455b8fjortonSHELL=${CONFIG_SHELL-/bin/sh}
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton# Maximum number of lines to put in a shell here document.
e23b77006a8b079c0ad52e42ba2029e759455b8fjortonac_max_here_lines=12
2a1011ba69b24f3224bcb358d542017d5f389f78wrowe
2a1011ba69b24f3224bcb358d542017d5f389f78wroweac_prev=
51469a0d2057aa24107b6f5a04e145824e10da1fdirkxfor ac_option
51469a0d2057aa24107b6f5a04e145824e10da1fdirkxdo
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx # If the previous option needs an argument, assign it.
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx if test -n "$ac_prev"; then
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx eval "$ac_prev=\$ac_option"
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx ac_prev=
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx continue
860d483ae528603f7e1f962903e71ac28358bef6wrowe fi
2a1011ba69b24f3224bcb358d542017d5f389f78wrowe
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton case "$ac_option" in
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton *) ac_optarg= ;;
2a1011ba69b24f3224bcb358d542017d5f389f78wrowe esac
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx # Accept the important Cygnus configure options, so we can diagnose typos.
ee6367f61ca2ece7c95a923780bbb3dc312bb812fuankg
ee6367f61ca2ece7c95a923780bbb3dc312bb812fuankg case "$ac_option" in
ee6367f61ca2ece7c95a923780bbb3dc312bb812fuankg
ee6367f61ca2ece7c95a923780bbb3dc312bb812fuankg -bindir | --bindir | --bindi | --bind | --bin | --bi)
ee6367f61ca2ece7c95a923780bbb3dc312bb812fuankg ac_prev=bindir ;;
ee6367f61ca2ece7c95a923780bbb3dc312bb812fuankg -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
ee6367f61ca2ece7c95a923780bbb3dc312bb812fuankg bindir="$ac_optarg" ;;
ee6367f61ca2ece7c95a923780bbb3dc312bb812fuankg
ee6367f61ca2ece7c95a923780bbb3dc312bb812fuankg -build | --build | --buil | --bui | --bu)
ee6367f61ca2ece7c95a923780bbb3dc312bb812fuankg ac_prev=build ;;
ee6367f61ca2ece7c95a923780bbb3dc312bb812fuankg -build=* | --build=* | --buil=* | --bui=* | --bu=*)
ee6367f61ca2ece7c95a923780bbb3dc312bb812fuankg build="$ac_optarg" ;;
ee6367f61ca2ece7c95a923780bbb3dc312bb812fuankg
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx -cache-file | --cache-file | --cache-fil | --cache-fi \
bb65aeae7af1d33b64252bbc1b966942d757ac60wrowe | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
cf721750997514b9cbed94bf3672ff6b3e2c2132trawick ac_prev=cache_file ;;
48d7c43629323c8d5ee9f7bd0d194de0a376b391rbb -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
eacd93a9763f18f9cfd5f61ad1526f7ef32dd8d1rpluem | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
eacd93a9763f18f9cfd5f61ad1526f7ef32dd8d1rpluem cache_file="$ac_optarg" ;;
eacd93a9763f18f9cfd5f61ad1526f7ef32dd8d1rpluem
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding ac_prev=datadir ;;
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
20fb0ba160cf0ca91b3f0f0d552cbe60d92b0449fielding | --da=*)
20fb0ba160cf0ca91b3f0f0d552cbe60d92b0449fielding datadir="$ac_optarg" ;;
20fb0ba160cf0ca91b3f0f0d552cbe60d92b0449fielding
20fb0ba160cf0ca91b3f0f0d552cbe60d92b0449fielding -disable-* | --disable-*)
20fb0ba160cf0ca91b3f0f0d552cbe60d92b0449fielding ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
20fb0ba160cf0ca91b3f0f0d552cbe60d92b0449fielding # Reject names that are not valid shell variable names.
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding fi
873c287c391b0bbc4719b68bb84946515811e1batrawick ac_feature=`echo $ac_feature| sed 's/-/_/g'`
873c287c391b0bbc4719b68bb84946515811e1batrawick eval "enable_${ac_feature}=no" ;;
873c287c391b0bbc4719b68bb84946515811e1batrawick
873c287c391b0bbc4719b68bb84946515811e1batrawick -enable-* | --enable-*)
873c287c391b0bbc4719b68bb84946515811e1batrawick ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
873c287c391b0bbc4719b68bb84946515811e1batrawick # Reject names that are not valid shell variable names.
873c287c391b0bbc4719b68bb84946515811e1batrawick if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
42530a2f3c65ed623376b86644e1b0e02f1393c0trawick { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
42530a2f3c65ed623376b86644e1b0e02f1393c0trawick fi
873c287c391b0bbc4719b68bb84946515811e1batrawick ac_feature=`echo $ac_feature| sed 's/-/_/g'`
873c287c391b0bbc4719b68bb84946515811e1batrawick case "$ac_option" in
873c287c391b0bbc4719b68bb84946515811e1batrawick *=*) ;;
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding *) ac_optarg=yes ;;
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx esac
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding eval "enable_${ac_feature}='$ac_optarg'" ;;
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding
30309f86bfd564437654aa822a19cd0cb29ca6f8wrowe -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1ccd992d37d62c8cb2056126f2234f64ec189bfddougm | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
6707208ba4e9a5841ca1ab830830fd286ea5b7c5trawick | --exec | --exe | --ex)
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding ac_prev=exec_prefix ;;
7a0780c774fcd7823d2e3a79f55b2f3522602992clar -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
7a0780c774fcd7823d2e3a79f55b2f3522602992clar | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
7a0780c774fcd7823d2e3a79f55b2f3522602992clar | --exec=* | --exe=* | --ex=*)
7a0780c774fcd7823d2e3a79f55b2f3522602992clar exec_prefix="$ac_optarg" ;;
7a0780c774fcd7823d2e3a79f55b2f3522602992clar
7a0780c774fcd7823d2e3a79f55b2f3522602992clar -gas | --gas | --ga | --g)
7a0780c774fcd7823d2e3a79f55b2f3522602992clar # Obsolete; use --with-gas.
7a0780c774fcd7823d2e3a79f55b2f3522602992clar with_gas=yes ;;
7a0780c774fcd7823d2e3a79f55b2f3522602992clar
7a0780c774fcd7823d2e3a79f55b2f3522602992clar -help | --help | --hel | --he)
7a0780c774fcd7823d2e3a79f55b2f3522602992clar # Omit some internal or obsolete options to make the list less imposing.
7a0780c774fcd7823d2e3a79f55b2f3522602992clar # This message is too long to be a string in the A/UX 3.1 sh.
7a0780c774fcd7823d2e3a79f55b2f3522602992clar cat << EOF
7a0780c774fcd7823d2e3a79f55b2f3522602992clarUsage: configure [options] [host]
7a0780c774fcd7823d2e3a79f55b2f3522602992clarOptions: [defaults in brackets after descriptions]
51469a0d2057aa24107b6f5a04e145824e10da1fdirkxConfiguration:
f4a8b04b47f09a21b65646b66b19c9649ff7f03arbb --cache-file=FILE cache test results in FILE
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx --help print this message
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx --no-create do not create output files
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx --quiet, --silent do not print \`checking...' messages
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding --version print the version of autoconf that created configure
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fieldingDirectory and file names:
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding --prefix=PREFIX install architecture-independent files in PREFIX
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding [$ac_default_prefix]
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding [same as prefix]
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding --bindir=DIR user executables in DIR [EPREFIX/bin]
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
98a01f71dcbda3cde96eaae23fadf2d4a145bacdtakashi --datadir=DIR read-only architecture-independent data in DIR
98a01f71dcbda3cde96eaae23fadf2d4a145bacdtakashi [PREFIX/share]
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding --sharedstatedir=DIR modifiable architecture-independent data in DIR
e5d4e153edb152c76a3aa67904ae8cf30cb0fe5fmadhum [PREFIX/com]
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding --libdir=DIR object code libraries in DIR [EPREFIX/lib]
f4a8b04b47f09a21b65646b66b19c9649ff7f03arbb --includedir=DIR C header files in DIR [PREFIX/include]
7a0780c774fcd7823d2e3a79f55b2f3522602992clar --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
81bd9331da3bd0f53255d52b1475480ff3a4b395trawick --infodir=DIR info documentation in DIR [PREFIX/info]
d321fe00a917cfbe45929d741d74e2c89960b0b8trawick --mandir=DIR man documentation in DIR [PREFIX/man]
d321fe00a917cfbe45929d741d74e2c89960b0b8trawick --srcdir=DIR find the sources in DIR [configure dir or ..]
d321fe00a917cfbe45929d741d74e2c89960b0b8trawick --program-prefix=PREFIX prepend PREFIX to installed program names
7a0780c774fcd7823d2e3a79f55b2f3522602992clar --program-suffix=SUFFIX append SUFFIX to installed program names
7a0780c774fcd7823d2e3a79f55b2f3522602992clar --program-transform-name=PROGRAM
7a0780c774fcd7823d2e3a79f55b2f3522602992clar run sed PROGRAM on installed program names
7a0780c774fcd7823d2e3a79f55b2f3522602992clarEOF
7a0780c774fcd7823d2e3a79f55b2f3522602992clar cat << EOF
7a0780c774fcd7823d2e3a79f55b2f3522602992clarHost type:
7a0780c774fcd7823d2e3a79f55b2f3522602992clar --build=BUILD configure for building on BUILD [BUILD=HOST]
b8fbac7d9e095a4cf4679d0a4b7a678baf9e319ecolm --host=HOST configure for HOST [guessed]
7a0780c774fcd7823d2e3a79f55b2f3522602992clar --target=TARGET configure for TARGET [TARGET=HOST]
7a0780c774fcd7823d2e3a79f55b2f3522602992clarFeatures and packages:
c2989417297fc5ad287068f41a7972349c44ca2etakashi --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
c2989417297fc5ad287068f41a7972349c44ca2etakashi --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
7a0780c774fcd7823d2e3a79f55b2f3522602992clar --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
7a0780c774fcd7823d2e3a79f55b2f3522602992clar --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
7a0780c774fcd7823d2e3a79f55b2f3522602992clar --x-includes=DIR X include files are in DIR
7a0780c774fcd7823d2e3a79f55b2f3522602992clar --x-libraries=DIR X library files are in DIR
c2989417297fc5ad287068f41a7972349c44ca2etakashiEOF
c2989417297fc5ad287068f41a7972349c44ca2etakashi if test -n "$ac_help"; then
c2989417297fc5ad287068f41a7972349c44ca2etakashi echo "--enable and --with options recognized:$ac_help"
7a0780c774fcd7823d2e3a79f55b2f3522602992clar fi
7a0780c774fcd7823d2e3a79f55b2f3522602992clar exit 0 ;;
7a0780c774fcd7823d2e3a79f55b2f3522602992clar
c2989417297fc5ad287068f41a7972349c44ca2etakashi -host | --host | --hos | --ho)
30309f86bfd564437654aa822a19cd0cb29ca6f8wrowe ac_prev=host ;;
c2989417297fc5ad287068f41a7972349c44ca2etakashi -host=* | --host=* | --hos=* | --ho=*)
c2989417297fc5ad287068f41a7972349c44ca2etakashi host="$ac_optarg" ;;
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx
c2989417297fc5ad287068f41a7972349c44ca2etakashi -includedir | --includedir | --includedi | --included | --include \
c2989417297fc5ad287068f41a7972349c44ca2etakashi | --includ | --inclu | --incl | --inc)
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx ac_prev=includedir ;;
7a0780c774fcd7823d2e3a79f55b2f3522602992clar -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
b8ee7946aa85a6b2eefd7f9fcf2ed5dc69a7103asctemme | --includ=* | --inclu=* | --incl=* | --inc=*)
b8ee7946aa85a6b2eefd7f9fcf2ed5dc69a7103asctemme includedir="$ac_optarg" ;;
b8ee7946aa85a6b2eefd7f9fcf2ed5dc69a7103asctemme
b8ee7946aa85a6b2eefd7f9fcf2ed5dc69a7103asctemme -infodir | --infodir | --infodi | --infod | --info | --inf)
b8ee7946aa85a6b2eefd7f9fcf2ed5dc69a7103asctemme ac_prev=infodir ;;
62ba6bde073be4d332ffc9c89768757d3f646da5dirkx -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
62ba6bde073be4d332ffc9c89768757d3f646da5dirkx infodir="$ac_optarg" ;;
62ba6bde073be4d332ffc9c89768757d3f646da5dirkx
23b4e2f556ce39696c4e31c6e72893f7489ff8d9dirkx -libdir | --libdir | --libdi | --libd)
7a0780c774fcd7823d2e3a79f55b2f3522602992clar ac_prev=libdir ;;
0bcc11df5f030cf62289599a25f5831913a4b438trawick -libdir=* | --libdir=* | --libdi=* | --libd=*)
0bcc11df5f030cf62289599a25f5831913a4b438trawick libdir="$ac_optarg" ;;
0bcc11df5f030cf62289599a25f5831913a4b438trawick
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding | --libexe | --libex | --libe)
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding ac_prev=libexecdir ;;
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding | --libexe=* | --libex=* | --libe=*)
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding libexecdir="$ac_optarg" ;;
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding -localstatedir | --localstatedir | --localstatedi | --localstated \
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding | --localstate | --localstat | --localsta | --localst \
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding | --locals | --local | --loca | --loc | --lo)
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding ac_prev=localstatedir ;;
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding | --localstate=* | --localstat=* | --localsta=* | --localst=* \
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding localstatedir="$ac_optarg" ;;
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton ac_prev=mandir ;;
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton mandir="$ac_optarg" ;;
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton
860d483ae528603f7e1f962903e71ac28358bef6wrowe -nfp | --nfp | --nf)
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx # Obsolete; use --without-fp.
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding with_fp=no ;;
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding -no-create | --no-create | --no-creat | --no-crea | --no-cre \
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding | --no-cr | --no-c)
87a528a7622973988232079ba02763748c9c7071pquerna no_create=yes ;;
0906f649b3d720299e47ed1148e79051e8941b2adirkx
446b877d2ab69d9bbcd9152a2d54814f05f1c00brbb -no-recursion | --no-recursion | --no-recursio | --no-recursi \
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding no_recursion=yes ;;
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx | --oldin | --oldi | --old | --ol | --o)
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx ac_prev=oldincludedir ;;
7a0780c774fcd7823d2e3a79f55b2f3522602992clar -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1ccd992d37d62c8cb2056126f2234f64ec189bfddougm | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding oldincludedir="$ac_optarg" ;;
ae491e926e412a749fc27c0d79f8d953a8d9a153brianp
06e2d72d72d35442e1ba8cfe9f343ac0fb2b8cffdreid -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
30309f86bfd564437654aa822a19cd0cb29ca6f8wrowe ac_prev=prefix ;;
30309f86bfd564437654aa822a19cd0cb29ca6f8wrowe -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
f4a8b04b47f09a21b65646b66b19c9649ff7f03arbb prefix="$ac_optarg" ;;
1ccd992d37d62c8cb2056126f2234f64ec189bfddougm
bbe866808ba50d71809ab58bbee377cadf60d3b7dreid -program-prefix | --program-prefix | --program-prefi | --program-pref \
bbe866808ba50d71809ab58bbee377cadf60d3b7dreid | --program-pre | --program-pr | --program-p)
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton ac_prev=program_prefix ;;
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx -program-prefix=* | --program-prefix=* | --program-prefi=* \
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding program_prefix="$ac_optarg" ;;
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding
be2ca76a08c2fc1695f5b3178d5893f0e92240bftrawick -program-suffix | --program-suffix | --program-suffi | --program-suff \
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding | --program-suf | --program-su | --program-s)
c2989417297fc5ad287068f41a7972349c44ca2etakashi ac_prev=program_suffix ;;
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding -program-suffix=* | --program-suffix=* | --program-suffi=* \
dcde46ca353d5d66bbac2b8e1135ac828992b808dreid | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
dcde46ca353d5d66bbac2b8e1135ac828992b808dreid program_suffix="$ac_optarg" ;;
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding
be2ca76a08c2fc1695f5b3178d5893f0e92240bftrawick -program-transform-name | --program-transform-name \
be2ca76a08c2fc1695f5b3178d5893f0e92240bftrawick | --program-transform-nam | --program-transform-na \
be2ca76a08c2fc1695f5b3178d5893f0e92240bftrawick | --program-transform-n | --program-transform- \
be2ca76a08c2fc1695f5b3178d5893f0e92240bftrawick | --program-transform | --program-transfor \
be2ca76a08c2fc1695f5b3178d5893f0e92240bftrawick | --program-transfo | --program-transf \
c2989417297fc5ad287068f41a7972349c44ca2etakashi | --program-trans | --program-tran \
be2ca76a08c2fc1695f5b3178d5893f0e92240bftrawick | --progr-tra | --program-tr | --program-t)
be2ca76a08c2fc1695f5b3178d5893f0e92240bftrawick ac_prev=program_transform_name ;;
be2ca76a08c2fc1695f5b3178d5893f0e92240bftrawick -program-transform-name=* | --program-transform-name=* \
be2ca76a08c2fc1695f5b3178d5893f0e92240bftrawick | --program-transform-nam=* | --program-transform-na=* \
7a0780c774fcd7823d2e3a79f55b2f3522602992clar | --program-transform-n=* | --program-transform-=* \
7a0780c774fcd7823d2e3a79f55b2f3522602992clar | --program-transform=* | --program-transfor=* \
dcde46ca353d5d66bbac2b8e1135ac828992b808dreid | --program-transfo=* | --program-transf=* \
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding | --program-trans=* | --program-tran=* \
be2ca76a08c2fc1695f5b3178d5893f0e92240bftrawick | --progr-tra=* | --program-tr=* | --program-t=*)
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding program_transform_name="$ac_optarg" ;;
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding
873c287c391b0bbc4719b68bb84946515811e1batrawick -q | -quiet | --quiet | --quie | --qui | --qu | --q \
873c287c391b0bbc4719b68bb84946515811e1batrawick | -silent | --silent | --silen | --sile | --sil)
873c287c391b0bbc4719b68bb84946515811e1batrawick silent=yes ;;
873c287c391b0bbc4719b68bb84946515811e1batrawick
6707208ba4e9a5841ca1ab830830fd286ea5b7c5trawick -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
6707208ba4e9a5841ca1ab830830fd286ea5b7c5trawick ac_prev=sbindir ;;
6707208ba4e9a5841ca1ab830830fd286ea5b7c5trawick -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
873c287c391b0bbc4719b68bb84946515811e1batrawick | --sbi=* | --sb=*)
873c287c391b0bbc4719b68bb84946515811e1batrawick sbindir="$ac_optarg" ;;
873c287c391b0bbc4719b68bb84946515811e1batrawick
873c287c391b0bbc4719b68bb84946515811e1batrawick -sharedstatedir | --sharedstatedir | --sharedstatedi \
873c287c391b0bbc4719b68bb84946515811e1batrawick | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
873c287c391b0bbc4719b68bb84946515811e1batrawick | --sharedst | --shareds | --shared | --share | --shar \
6707208ba4e9a5841ca1ab830830fd286ea5b7c5trawick | --sha | --sh)
6707208ba4e9a5841ca1ab830830fd286ea5b7c5trawick ac_prev=sharedstatedir ;;
873c287c391b0bbc4719b68bb84946515811e1batrawick -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
873c287c391b0bbc4719b68bb84946515811e1batrawick | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
873c287c391b0bbc4719b68bb84946515811e1batrawick | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
873c287c391b0bbc4719b68bb84946515811e1batrawick | --sha=* | --sh=*)
873c287c391b0bbc4719b68bb84946515811e1batrawick sharedstatedir="$ac_optarg" ;;
873c287c391b0bbc4719b68bb84946515811e1batrawick
873c287c391b0bbc4719b68bb84946515811e1batrawick -site | --site | --sit)
873c287c391b0bbc4719b68bb84946515811e1batrawick ac_prev=site ;;
873c287c391b0bbc4719b68bb84946515811e1batrawick -site=* | --site=* | --sit=*)
873c287c391b0bbc4719b68bb84946515811e1batrawick site="$ac_optarg" ;;
873c287c391b0bbc4719b68bb84946515811e1batrawick
873c287c391b0bbc4719b68bb84946515811e1batrawick -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
873c287c391b0bbc4719b68bb84946515811e1batrawick ac_prev=srcdir ;;
873c287c391b0bbc4719b68bb84946515811e1batrawick -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
873c287c391b0bbc4719b68bb84946515811e1batrawick srcdir="$ac_optarg" ;;
873c287c391b0bbc4719b68bb84946515811e1batrawick
873c287c391b0bbc4719b68bb84946515811e1batrawick -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
873c287c391b0bbc4719b68bb84946515811e1batrawick | --syscon | --sysco | --sysc | --sys | --sy)
873c287c391b0bbc4719b68bb84946515811e1batrawick ac_prev=sysconfdir ;;
873c287c391b0bbc4719b68bb84946515811e1batrawick -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
873c287c391b0bbc4719b68bb84946515811e1batrawick | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
873c287c391b0bbc4719b68bb84946515811e1batrawick sysconfdir="$ac_optarg" ;;
873c287c391b0bbc4719b68bb84946515811e1batrawick
873c287c391b0bbc4719b68bb84946515811e1batrawick -target | --target | --targe | --targ | --tar | --ta | --t)
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding ac_prev=target ;;
62ba6bde073be4d332ffc9c89768757d3f646da5dirkx -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
62ba6bde073be4d332ffc9c89768757d3f646da5dirkx target="$ac_optarg" ;;
62ba6bde073be4d332ffc9c89768757d3f646da5dirkx
62ba6bde073be4d332ffc9c89768757d3f646da5dirkx -v | -verbose | --verbose | --verbos | --verbo | --verb)
860d483ae528603f7e1f962903e71ac28358bef6wrowe verbose=yes ;;
4729a2e31b3afeaf2423fc8334f18628efb8fab7jorton
860d483ae528603f7e1f962903e71ac28358bef6wrowe -version | --version | --versio | --versi | --vers)
860d483ae528603f7e1f962903e71ac28358bef6wrowe echo "configure generated by autoconf version 2.13"
860d483ae528603f7e1f962903e71ac28358bef6wrowe exit 0 ;;
860d483ae528603f7e1f962903e71ac28358bef6wrowe
860d483ae528603f7e1f962903e71ac28358bef6wrowe -with-* | --with-*)
860d483ae528603f7e1f962903e71ac28358bef6wrowe ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton # Reject names that are not valid shell variable names.
cf9ada3713548ca11de76ff801839b79c879d380jorton if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
cf9ada3713548ca11de76ff801839b79c879d380jorton { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
c7760b87a01538ca7cc6a9a7aa3d9d910cfc3fe9wrowe fi
860d483ae528603f7e1f962903e71ac28358bef6wrowe ac_package=`echo $ac_package| sed 's/-/_/g'`
860d483ae528603f7e1f962903e71ac28358bef6wrowe case "$ac_option" in
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton *=*) ;;
cf9ada3713548ca11de76ff801839b79c879d380jorton *) ac_optarg=yes ;;
cf9ada3713548ca11de76ff801839b79c879d380jorton esac
c7760b87a01538ca7cc6a9a7aa3d9d910cfc3fe9wrowe eval "with_${ac_package}='$ac_optarg'" ;;
860d483ae528603f7e1f962903e71ac28358bef6wrowe
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton -without-* | --without-*)
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton ac_package=`echo $ac_option|sed -e 's/-*without-//'`
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton # Reject names that are not valid shell variable names.
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton fi
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton ac_package=`echo $ac_package| sed 's/-/_/g'`
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton eval "with_${ac_package}=no" ;;
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton --x)
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton # Obsolete; use --with-x.
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton with_x=yes ;;
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton | --x-incl | --x-inc | --x-in | --x-i)
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton ac_prev=x_includes ;;
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton x_includes="$ac_optarg" ;;
860d483ae528603f7e1f962903e71ac28358bef6wrowe
860d483ae528603f7e1f962903e71ac28358bef6wrowe -x-libraries | --x-libraries | --x-librarie | --x-librari \
860d483ae528603f7e1f962903e71ac28358bef6wrowe | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
860d483ae528603f7e1f962903e71ac28358bef6wrowe ac_prev=x_libraries ;;
860d483ae528603f7e1f962903e71ac28358bef6wrowe -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
860d483ae528603f7e1f962903e71ac28358bef6wrowe | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
860d483ae528603f7e1f962903e71ac28358bef6wrowe x_libraries="$ac_optarg" ;;
860d483ae528603f7e1f962903e71ac28358bef6wrowe
860d483ae528603f7e1f962903e71ac28358bef6wrowe -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
860d483ae528603f7e1f962903e71ac28358bef6wrowe ;;
860d483ae528603f7e1f962903e71ac28358bef6wrowe
860d483ae528603f7e1f962903e71ac28358bef6wrowe *)
860d483ae528603f7e1f962903e71ac28358bef6wrowe if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
860d483ae528603f7e1f962903e71ac28358bef6wrowe echo "configure: warning: $ac_option: invalid host type" 1>&2
860d483ae528603f7e1f962903e71ac28358bef6wrowe fi
860d483ae528603f7e1f962903e71ac28358bef6wrowe if test "x$nonopt" != xNONE; then
860d483ae528603f7e1f962903e71ac28358bef6wrowe { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
860d483ae528603f7e1f962903e71ac28358bef6wrowe fi
860d483ae528603f7e1f962903e71ac28358bef6wrowe nonopt="$ac_option"
860d483ae528603f7e1f962903e71ac28358bef6wrowe ;;
4729a2e31b3afeaf2423fc8334f18628efb8fab7jorton
860d483ae528603f7e1f962903e71ac28358bef6wrowe esac
4a1e6a5295d474b31e38e90cc4048666b2b1b10fwrowedone
860d483ae528603f7e1f962903e71ac28358bef6wrowe
860d483ae528603f7e1f962903e71ac28358bef6wroweif test -n "$ac_prev"; then
860d483ae528603f7e1f962903e71ac28358bef6wrowe { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
860d483ae528603f7e1f962903e71ac28358bef6wrowefi
860d483ae528603f7e1f962903e71ac28358bef6wrowe
860d483ae528603f7e1f962903e71ac28358bef6wrowetrap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
860d483ae528603f7e1f962903e71ac28358bef6wrowe
860d483ae528603f7e1f962903e71ac28358bef6wrowe# File descriptor usage:
860d483ae528603f7e1f962903e71ac28358bef6wrowe# 0 standard input
860d483ae528603f7e1f962903e71ac28358bef6wrowe# 1 file creation
860d483ae528603f7e1f962903e71ac28358bef6wrowe# 2 errors and warnings
860d483ae528603f7e1f962903e71ac28358bef6wrowe# 3 some systems may open it to /dev/tty
860d483ae528603f7e1f962903e71ac28358bef6wrowe# 4 used on the Kubota Titan
860d483ae528603f7e1f962903e71ac28358bef6wrowe# 6 checking for... messages and results
860d483ae528603f7e1f962903e71ac28358bef6wrowe# 5 compiler messages saved in config.log
860d483ae528603f7e1f962903e71ac28358bef6wroweif test "$silent" = yes; then
860d483ae528603f7e1f962903e71ac28358bef6wrowe exec 6>/dev/null
860d483ae528603f7e1f962903e71ac28358bef6wroweelse
860d483ae528603f7e1f962903e71ac28358bef6wrowe exec 6>&1
860d483ae528603f7e1f962903e71ac28358bef6wrowefi
860d483ae528603f7e1f962903e71ac28358bef6wroweexec 5>./config.log
860d483ae528603f7e1f962903e71ac28358bef6wrowe
860d483ae528603f7e1f962903e71ac28358bef6wroweecho "\
860d483ae528603f7e1f962903e71ac28358bef6wroweThis file contains any messages produced by compilers while
860d483ae528603f7e1f962903e71ac28358bef6wrowerunning configure, to aid debugging if configure makes a mistake.
860d483ae528603f7e1f962903e71ac28358bef6wrowe" 1>&5
860d483ae528603f7e1f962903e71ac28358bef6wrowe
860d483ae528603f7e1f962903e71ac28358bef6wrowe# Strip out --no-create and --no-recursion so they do not pile up.
860d483ae528603f7e1f962903e71ac28358bef6wrowe# Also quote any args containing shell metacharacters.
4729a2e31b3afeaf2423fc8334f18628efb8fab7jortonac_configure_args=
860d483ae528603f7e1f962903e71ac28358bef6wrowefor ac_arg
ee6367f61ca2ece7c95a923780bbb3dc312bb812fuankgdo
7a0780c774fcd7823d2e3a79f55b2f3522602992clar case "$ac_arg" in
e8f95a682820a599fe41b22977010636be5c2717jim -no-create | --no-create | --no-creat | --no-crea | --no-cre \
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton | --no-cr | --no-c) ;;
7a0780c774fcd7823d2e3a79f55b2f3522602992clar -no-recursion | --no-recursion | --no-recursio | --no-recursi \
7a0780c774fcd7823d2e3a79f55b2f3522602992clar | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
e8f95a682820a599fe41b22977010636be5c2717jim *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton ac_configure_args="$ac_configure_args '$ac_arg'" ;;
7a0780c774fcd7823d2e3a79f55b2f3522602992clar *) ac_configure_args="$ac_configure_args $ac_arg" ;;
e8f95a682820a599fe41b22977010636be5c2717jim esac
7a0780c774fcd7823d2e3a79f55b2f3522602992clardone
860d483ae528603f7e1f962903e71ac28358bef6wrowe
860d483ae528603f7e1f962903e71ac28358bef6wrowe# NLS nuisances.
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton# Only set these to C if already set. These must not be set unconditionally
860d483ae528603f7e1f962903e71ac28358bef6wrowe# because not all systems understand e.g. LANG=C (notably SCO).
7a0780c774fcd7823d2e3a79f55b2f3522602992clar# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton# Non-C LC_CTYPE values break the ctype check.
860d483ae528603f7e1f962903e71ac28358bef6wroweif test "${LANG+set}" = set; then LANG=C; export LANG; fi
cf9ada3713548ca11de76ff801839b79c879d380jortonif test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
7a0780c774fcd7823d2e3a79f55b2f3522602992clarif test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
e23b77006a8b079c0ad52e42ba2029e759455b8fjortonif test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
7a0780c774fcd7823d2e3a79f55b2f3522602992clar
860d483ae528603f7e1f962903e71ac28358bef6wrowe# confdefs.h avoids OS command line length limits that DEFS can exceed.
7a0780c774fcd7823d2e3a79f55b2f3522602992clarrm -rf conftest* confdefs.h
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton# AIX cpp loses on an empty file, so make sure it contains at least a newline.
7a0780c774fcd7823d2e3a79f55b2f3522602992clarecho > confdefs.h
860d483ae528603f7e1f962903e71ac28358bef6wrowe
7a0780c774fcd7823d2e3a79f55b2f3522602992clar# A filename unique to this package, relative to the directory that
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton# configure is in, which we can look for to find out if srcdir is correct.
860d483ae528603f7e1f962903e71ac28358bef6wroweac_unique_file=lib/dns/name.c
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton# Find the source files, if location was not specified.
7a0780c774fcd7823d2e3a79f55b2f3522602992clarif test -z "$srcdir"; then
860d483ae528603f7e1f962903e71ac28358bef6wrowe ac_srcdir_defaulted=yes
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton # Try the directory containing this script, then its parent.
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton ac_prog=$0
7a0780c774fcd7823d2e3a79f55b2f3522602992clar ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
860d483ae528603f7e1f962903e71ac28358bef6wrowe test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
7a0780c774fcd7823d2e3a79f55b2f3522602992clar srcdir=$ac_confdir
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton if test ! -r $srcdir/$ac_unique_file; then
860d483ae528603f7e1f962903e71ac28358bef6wrowe srcdir=..
860d483ae528603f7e1f962903e71ac28358bef6wrowe fi
e23b77006a8b079c0ad52e42ba2029e759455b8fjortonelse
860d483ae528603f7e1f962903e71ac28358bef6wrowe ac_srcdir_defaulted=no
e23b77006a8b079c0ad52e42ba2029e759455b8fjortonfi
e23b77006a8b079c0ad52e42ba2029e759455b8fjortonif test ! -r $srcdir/$ac_unique_file; then
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton if test "$ac_srcdir_defaulted" = yes; then
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton else
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton fi
e23b77006a8b079c0ad52e42ba2029e759455b8fjortonfi
e23b77006a8b079c0ad52e42ba2029e759455b8fjortonsrcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton# Prefer explicitly selected file to automatically selected ones.
860d483ae528603f7e1f962903e71ac28358bef6wroweif test -z "$CONFIG_SITE"; then
860d483ae528603f7e1f962903e71ac28358bef6wrowe if test "x$prefix" != xNONE; then
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton else
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton fi
e23b77006a8b079c0ad52e42ba2029e759455b8fjortonfi
e23b77006a8b079c0ad52e42ba2029e759455b8fjortonfor ac_site_file in $CONFIG_SITE; do
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton if test -r "$ac_site_file"; then
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton echo "loading site script $ac_site_file"
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton . "$ac_site_file"
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton fi
860d483ae528603f7e1f962903e71ac28358bef6wrowedone
860d483ae528603f7e1f962903e71ac28358bef6wrowe
e23b77006a8b079c0ad52e42ba2029e759455b8fjortonif test -r "$cache_file"; then
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton echo "loading cache $cache_file"
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton . $cache_file
860d483ae528603f7e1f962903e71ac28358bef6wroweelse
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton echo "creating cache $cache_file"
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton > $cache_file
860d483ae528603f7e1f962903e71ac28358bef6wrowefi
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton
e23b77006a8b079c0ad52e42ba2029e759455b8fjortonac_ext=c
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
e23b77006a8b079c0ad52e42ba2029e759455b8fjortonac_cpp='$CPP $CPPFLAGS'
e23b77006a8b079c0ad52e42ba2029e759455b8fjortonac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
e23b77006a8b079c0ad52e42ba2029e759455b8fjortonac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
e23b77006a8b079c0ad52e42ba2029e759455b8fjortoncross_compiling=$ac_cv_prog_cc_cross
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton
ee6367f61ca2ece7c95a923780bbb3dc312bb812fuankgac_exeext=
e23b77006a8b079c0ad52e42ba2029e759455b8fjortonac_objext=o
e23b77006a8b079c0ad52e42ba2029e759455b8fjortonif (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
e8f95a682820a599fe41b22977010636be5c2717jim # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton ac_n= ac_c='
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton' ac_t=' '
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton else
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton ac_n=-n ac_c= ac_t=
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton fi
e23b77006a8b079c0ad52e42ba2029e759455b8fjortonelse
e8f95a682820a599fe41b22977010636be5c2717jim ac_n= ac_c='\c' ac_t=
e23b77006a8b079c0ad52e42ba2029e759455b8fjortonfi
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton
e23b77006a8b079c0ad52e42ba2029e759455b8fjortonac_aux_dir=
e23b77006a8b079c0ad52e42ba2029e759455b8fjortonfor ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton if test -f $ac_dir/install-sh; then
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton ac_aux_dir=$ac_dir
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton ac_install_sh="$ac_aux_dir/install-sh -c"
873c287c391b0bbc4719b68bb84946515811e1batrawick break
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton elif test -f $ac_dir/install.sh; then
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton ac_aux_dir=$ac_dir
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton ac_install_sh="$ac_aux_dir/install.sh -c"
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton break
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton fi
e23b77006a8b079c0ad52e42ba2029e759455b8fjortondone
e23b77006a8b079c0ad52e42ba2029e759455b8fjortonif test -z "$ac_aux_dir"; then
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
e23b77006a8b079c0ad52e42ba2029e759455b8fjortonfi
e23b77006a8b079c0ad52e42ba2029e759455b8fjortonac_config_guess=$ac_aux_dir/config.guess
e23b77006a8b079c0ad52e42ba2029e759455b8fjortonac_config_sub=$ac_aux_dir/config.sub
e23b77006a8b079c0ad52e42ba2029e759455b8fjortonac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton# Make sure we can run config.sub.
860d483ae528603f7e1f962903e71ac28358bef6wroweif ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
860d483ae528603f7e1f962903e71ac28358bef6wroweelse { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
860d483ae528603f7e1f962903e71ac28358bef6wrowefi
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton
860d483ae528603f7e1f962903e71ac28358bef6wroweecho $ac_n "checking host system type""... $ac_c" 1>&6
860d483ae528603f7e1f962903e71ac28358bef6wroweecho "configure:672: checking host system type" >&5
23b4e2f556ce39696c4e31c6e72893f7489ff8d9dirkx
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fieldinghost_alias=$host
0906f649b3d720299e47ed1148e79051e8941b2adirkxcase "$host_alias" in
cbe23d0a0ff097b3d544d714657452abc80e3c87fieldingNONE)
7a0780c774fcd7823d2e3a79f55b2f3522602992clar case $nonopt in
7a0780c774fcd7823d2e3a79f55b2f3522602992clar NONE)
e8f95a682820a599fe41b22977010636be5c2717jim if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding fi ;;
7a0780c774fcd7823d2e3a79f55b2f3522602992clar *) host_alias=$nonopt ;;
7a0780c774fcd7823d2e3a79f55b2f3522602992clar esac ;;
7a0780c774fcd7823d2e3a79f55b2f3522602992claresac
7a0780c774fcd7823d2e3a79f55b2f3522602992clar
7a0780c774fcd7823d2e3a79f55b2f3522602992clarhost=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
7a0780c774fcd7823d2e3a79f55b2f3522602992clarhost_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
7a0780c774fcd7823d2e3a79f55b2f3522602992clarhost_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
b24a6ceb8011a209f3c6d4523f04d27120cbd97afieldinghost_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
d321fe00a917cfbe45929d741d74e2c89960b0b8trawickecho "$ac_t""$host" 1>&6
7a0780c774fcd7823d2e3a79f55b2f3522602992clar
7a0780c774fcd7823d2e3a79f55b2f3522602992clar
7a0780c774fcd7823d2e3a79f55b2f3522602992clarecho $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
7a0780c774fcd7823d2e3a79f55b2f3522602992clarecho "configure:694: checking whether ${MAKE-make} sets \${MAKE}" >&5
7a0780c774fcd7823d2e3a79f55b2f3522602992clarset dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
7a0780c774fcd7823d2e3a79f55b2f3522602992clarif eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
7a0780c774fcd7823d2e3a79f55b2f3522602992clar echo $ac_n "(cached) $ac_c" 1>&6
e8f95a682820a599fe41b22977010636be5c2717jimelse
860d483ae528603f7e1f962903e71ac28358bef6wrowe cat > conftestmake <<\EOF
e23b77006a8b079c0ad52e42ba2029e759455b8fjortonall:
860d483ae528603f7e1f962903e71ac28358bef6wrowe @echo 'ac_maketemp="${MAKE}"'
860d483ae528603f7e1f962903e71ac28358bef6wroweEOF
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
e23b77006a8b079c0ad52e42ba2029e759455b8fjortoneval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
e23b77006a8b079c0ad52e42ba2029e759455b8fjortonif test -n "$ac_maketemp"; then
860d483ae528603f7e1f962903e71ac28358bef6wrowe eval ac_cv_prog_make_${ac_make}_set=yes
860d483ae528603f7e1f962903e71ac28358bef6wroweelse
860d483ae528603f7e1f962903e71ac28358bef6wrowe eval ac_cv_prog_make_${ac_make}_set=no
860d483ae528603f7e1f962903e71ac28358bef6wrowefi
e23b77006a8b079c0ad52e42ba2029e759455b8fjortonrm -f conftestmake
860d483ae528603f7e1f962903e71ac28358bef6wrowefi
860d483ae528603f7e1f962903e71ac28358bef6wroweif eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
860d483ae528603f7e1f962903e71ac28358bef6wrowe echo "$ac_t""yes" 1>&6
7a0780c774fcd7823d2e3a79f55b2f3522602992clar SET_MAKE=
62ba6bde073be4d332ffc9c89768757d3f646da5dirkxelse
b24a6ceb8011a209f3c6d4523f04d27120cbd97afielding echo "$ac_t""no" 1>&6
b24a6ceb8011a209f3c6d4523f04d27120cbd97afielding SET_MAKE="MAKE=${MAKE-make}"
b24a6ceb8011a209f3c6d4523f04d27120cbd97afieldingfi
b24a6ceb8011a209f3c6d4523f04d27120cbd97afielding
7a0780c774fcd7823d2e3a79f55b2f3522602992clar# Extract the first word of "ranlib", so it can be a program name with args.
7a0780c774fcd7823d2e3a79f55b2f3522602992clarset dummy ranlib; ac_word=$2
b24a6ceb8011a209f3c6d4523f04d27120cbd97afieldingecho $ac_n "checking for $ac_word""... $ac_c" 1>&6
7a0780c774fcd7823d2e3a79f55b2f3522602992clarecho "configure:723: checking for $ac_word" >&5
7a0780c774fcd7823d2e3a79f55b2f3522602992clarif eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
b24a6ceb8011a209f3c6d4523f04d27120cbd97afielding echo $ac_n "(cached) $ac_c" 1>&6
0906f649b3d720299e47ed1148e79051e8941b2adirkxelse
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding if test -n "$RANLIB"; then
873c287c391b0bbc4719b68bb84946515811e1batrawick ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fieldingelse
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding ac_dummy="$PATH"
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding for ac_dir in $ac_dummy; do
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding test -z "$ac_dir" && ac_dir=.
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding if test -f $ac_dir/$ac_word; then
3a36c0105198c15925b69c40ff0fc8f83dc34af2rbb ac_cv_prog_RANLIB="ranlib"
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx break
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx fi
7a0780c774fcd7823d2e3a79f55b2f3522602992clar done
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx IFS="$ac_save_ifs"
7a0780c774fcd7823d2e3a79f55b2f3522602992clar test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
51469a0d2057aa24107b6f5a04e145824e10da1fdirkxfi
51469a0d2057aa24107b6f5a04e145824e10da1fdirkxfi
51469a0d2057aa24107b6f5a04e145824e10da1fdirkxRANLIB="$ac_cv_prog_RANLIB"
3a36c0105198c15925b69c40ff0fc8f83dc34af2rbbif test -n "$RANLIB"; then
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx echo "$ac_t""$RANLIB" 1>&6
51469a0d2057aa24107b6f5a04e145824e10da1fdirkxelse
7a0780c774fcd7823d2e3a79f55b2f3522602992clar echo "$ac_t""no" 1>&6
51469a0d2057aa24107b6f5a04e145824e10da1fdirkxfi
7a0780c774fcd7823d2e3a79f55b2f3522602992clar
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx# Find a good install program. We prefer a C program (faster),
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx# so one script is as good as another. But avoid the broken or
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx# incompatible versions:
3a36c0105198c15925b69c40ff0fc8f83dc34af2rbb# SysV /etc/install, /usr/sbin/install
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx# SunOS /usr/etc/install
20fb0ba160cf0ca91b3f0f0d552cbe60d92b0449fielding# IRIX /sbin/install
20fb0ba160cf0ca91b3f0f0d552cbe60d92b0449fielding# AIX /bin/install
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
7a0780c774fcd7823d2e3a79f55b2f3522602992clar# AFS /usr/afsws/bin/install, which mishandles nonexistent args
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
7a0780c774fcd7823d2e3a79f55b2f3522602992clar# ./install, which can be erroneously created by make from ./install.sh.
51469a0d2057aa24107b6f5a04e145824e10da1fdirkxecho $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
51469a0d2057aa24107b6f5a04e145824e10da1fdirkxecho "configure:762: checking for a BSD compatible install" >&5
51469a0d2057aa24107b6f5a04e145824e10da1fdirkxif test -z "$INSTALL"; then
3a36c0105198c15925b69c40ff0fc8f83dc34af2rbbif eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx echo $ac_n "(cached) $ac_c" 1>&6
51469a0d2057aa24107b6f5a04e145824e10da1fdirkxelse
7a0780c774fcd7823d2e3a79f55b2f3522602992clar IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx for ac_dir in $PATH; do
7a0780c774fcd7823d2e3a79f55b2f3522602992clar # Account for people who put trailing slashes in PATH elements.
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx case "$ac_dir/" in
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx *)
10a20aaa2426eff21e054473bbcab8cd2f104e59colm # OSF1 and SCO ODT 3.0 have their own names for install.
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding # Don't use installbsd from OSF since it installs stuff as root
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding # by default.
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding for ac_prog in ginstall scoinst install; do
e7984a3685a36d71c6fb55c59484a2967bcca8fccolm if test -f $ac_dir/$ac_prog; then
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding if test $ac_prog = install &&
e7984a3685a36d71c6fb55c59484a2967bcca8fccolm grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding # AIX install. It has an incompatible calling convention.
e8f95a682820a599fe41b22977010636be5c2717jim :
e5d11e25c54c1bd138a5fc1114ea44debdf67844jwoolley else
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding ac_cv_path_install="$ac_dir/$ac_prog -c"
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding break 2
ee044568b891a057768282bccd2498832108d32dsctemme fi
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton fi
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton done
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton ;;
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton esac
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton done
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding IFS="$ac_save_IFS"
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding
64ca179591dffeedccc851ea1f2f2c519c58d999trawickfi
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding if test "${ac_cv_path_install+set}" = set; then
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding INSTALL="$ac_cv_path_install"
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding else
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding # As a last resort, use the slow shell script. We don't cache a
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding # path for INSTALL within a source directory, because that will
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding # break other packages using the cache if that directory is
81bd9331da3bd0f53255d52b1475480ff3a4b395trawick # removed, or if the path is relative.
81bd9331da3bd0f53255d52b1475480ff3a4b395trawick INSTALL="$ac_install_sh"
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding fi
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fieldingfi
7a0780c774fcd7823d2e3a79f55b2f3522602992clarecho "$ac_t""$INSTALL" 1>&6
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding# It thinks the first close brace ends the variable substitution.
d321fe00a917cfbe45929d741d74e2c89960b0b8trawicktest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
d3dbafe0347b788a86bbe18ee6111750af41cec9trawick
9667009c60cf53ad7f1bfe9b73efecf403956d9dtrawicktest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fieldingtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding
e8f95a682820a599fe41b22977010636be5c2717jim
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding
e8f95a682820a599fe41b22977010636be5c2717jim
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding
7a0780c774fcd7823d2e3a79f55b2f3522602992clar# Extract the first word of "ar", so it can be a program name with args.
cbe23d0a0ff097b3d544d714657452abc80e3c87fieldingset dummy ar; ac_word=$2
7a0780c774fcd7823d2e3a79f55b2f3522602992clarecho $ac_n "checking for $ac_word""... $ac_c" 1>&6
cbe23d0a0ff097b3d544d714657452abc80e3c87fieldingecho "configure:822: checking for $ac_word" >&5
d321fe00a917cfbe45929d741d74e2c89960b0b8trawickif eval "test \"`echo '$''{'ac_cv_path_AR'+set}'`\" = set"; then
7a0780c774fcd7823d2e3a79f55b2f3522602992clar echo $ac_n "(cached) $ac_c" 1>&6
cbe23d0a0ff097b3d544d714657452abc80e3c87fieldingelse
7a0780c774fcd7823d2e3a79f55b2f3522602992clar case "$AR" in
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding /*)
7a0780c774fcd7823d2e3a79f55b2f3522602992clar ac_cv_path_AR="$AR" # Let the user override the test with a path.
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding ;;
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding ?:/*)
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding ac_cv_path_AR="$AR" # Let the user override the test with a dos path.
7a0780c774fcd7823d2e3a79f55b2f3522602992clar ;;
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding *)
7a0780c774fcd7823d2e3a79f55b2f3522602992clar IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
f5d423af3d9e3f161aaea17b4ef3851608d43878clar ac_dummy="$PATH"
e8f95a682820a599fe41b22977010636be5c2717jim for ac_dir in $ac_dummy; do
d80638b1d2cf4b956aff22733d29f6eff05be2e7wrowe test -z "$ac_dir" && ac_dir=.
d80638b1d2cf4b956aff22733d29f6eff05be2e7wrowe if test -f $ac_dir/$ac_word; then
f5d423af3d9e3f161aaea17b4ef3851608d43878clar ac_cv_path_AR="$ac_dir/$ac_word"
d80638b1d2cf4b956aff22733d29f6eff05be2e7wrowe break
23b4e2f556ce39696c4e31c6e72893f7489ff8d9dirkx fi
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding done
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding IFS="$ac_save_ifs"
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding ;;
cbe23d0a0ff097b3d544d714657452abc80e3c87fieldingesac
cbe23d0a0ff097b3d544d714657452abc80e3c87fieldingfi
cbe23d0a0ff097b3d544d714657452abc80e3c87fieldingAR="$ac_cv_path_AR"
cbe23d0a0ff097b3d544d714657452abc80e3c87fieldingif test -n "$AR"; then
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding echo "$ac_t""$AR" 1>&6
cbe23d0a0ff097b3d544d714657452abc80e3c87fieldingelse
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding echo "$ac_t""no" 1>&6
cbe23d0a0ff097b3d544d714657452abc80e3c87fieldingfi
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding
cbe23d0a0ff097b3d544d714657452abc80e3c87fieldingARFLAGS="cruv"
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding
7a0780c774fcd7823d2e3a79f55b2f3522602992clarfor ac_prog in etags emacs-etags
cbe23d0a0ff097b3d544d714657452abc80e3c87fieldingdo
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding# Extract the first word of "$ac_prog", so it can be a program name with args.
cbe23d0a0ff097b3d544d714657452abc80e3c87fieldingset dummy $ac_prog; ac_word=$2
cbe23d0a0ff097b3d544d714657452abc80e3c87fieldingecho $ac_n "checking for $ac_word""... $ac_c" 1>&6
7a0780c774fcd7823d2e3a79f55b2f3522602992clarecho "configure:863: checking for $ac_word" >&5
7a0780c774fcd7823d2e3a79f55b2f3522602992clarif eval "test \"`echo '$''{'ac_cv_path_ETAGS'+set}'`\" = set"; then
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding echo $ac_n "(cached) $ac_c" 1>&6
cbe23d0a0ff097b3d544d714657452abc80e3c87fieldingelse
7a0780c774fcd7823d2e3a79f55b2f3522602992clar case "$ETAGS" in
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding /*)
d37377982fe3219083902f67dd667f1808f5547dwrowe ac_cv_path_ETAGS="$ETAGS" # Let the user override the test with a path.
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding ;;
7a0780c774fcd7823d2e3a79f55b2f3522602992clar ?:/*)
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding ac_cv_path_ETAGS="$ETAGS" # Let the user override the test with a dos path.
7a0780c774fcd7823d2e3a79f55b2f3522602992clar ;;
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding *)
7a0780c774fcd7823d2e3a79f55b2f3522602992clar IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
7a0780c774fcd7823d2e3a79f55b2f3522602992clar ac_dummy="$PATH"
7a0780c774fcd7823d2e3a79f55b2f3522602992clar for ac_dir in $ac_dummy; do
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding test -z "$ac_dir" && ac_dir=.
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding if test -f $ac_dir/$ac_word; then
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding ac_cv_path_ETAGS="$ac_dir/$ac_word"
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding break
e8f95a682820a599fe41b22977010636be5c2717jim fi
7a0780c774fcd7823d2e3a79f55b2f3522602992clar done
7a0780c774fcd7823d2e3a79f55b2f3522602992clar IFS="$ac_save_ifs"
7a0780c774fcd7823d2e3a79f55b2f3522602992clar ;;
7a0780c774fcd7823d2e3a79f55b2f3522602992claresac
7a0780c774fcd7823d2e3a79f55b2f3522602992clarfi
cbe23d0a0ff097b3d544d714657452abc80e3c87fieldingETAGS="$ac_cv_path_ETAGS"
7a0780c774fcd7823d2e3a79f55b2f3522602992clarif test -n "$ETAGS"; then
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding echo "$ac_t""$ETAGS" 1>&6
cbe23d0a0ff097b3d544d714657452abc80e3c87fieldingelse
7a0780c774fcd7823d2e3a79f55b2f3522602992clar echo "$ac_t""no" 1>&6
cbe23d0a0ff097b3d544d714657452abc80e3c87fieldingfi
e8f95a682820a599fe41b22977010636be5c2717jim
cbe23d0a0ff097b3d544d714657452abc80e3c87fieldingtest -n "$ETAGS" && break
7a0780c774fcd7823d2e3a79f55b2f3522602992clardone
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding
7a0780c774fcd7823d2e3a79f55b2f3522602992clar#
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding# Special processing of paths depending on whether --prefix,
e8f95a682820a599fe41b22977010636be5c2717jim# --sysconfdir or --localstatedir arguments were given. What's
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding# desired is some compatability with the way previous versions
7a0780c774fcd7823d2e3a79f55b2f3522602992clar# of BIND built; they defaulted to /usr/local for most parts of
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding# the installation, but named.boot/named.conf was in /etc
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding# and named.pid was in /var/run.
7a0780c774fcd7823d2e3a79f55b2f3522602992clar#
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding# So ... if none of --prefix, --sysconfdir or --localstatedir are
e8f95a682820a599fe41b22977010636be5c2717jim# specified, set things up that way. If --prefix is given, use
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding# it for sysconfdir and localstatedir the way configure normally
7a0780c774fcd7823d2e3a79f55b2f3522602992clar# would. To change the prefix for everything but leave named.conf
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding# in /etc or named.pid in /var/run, then do this the usual configure way:
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding# ./configure --prefix=/somewhere --sysconfdir=/etc
7a0780c774fcd7823d2e3a79f55b2f3522602992clar# ./configure --prefix=/somewhere --localstatedir=/var
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding#
e8f95a682820a599fe41b22977010636be5c2717jim# To put named.conf and named.pid in /usr/local with everything else,
7a0780c774fcd7823d2e3a79f55b2f3522602992clar# set the prefix explicitly to /usr/local even though that's the default:
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding# ./configure --prefix=/usr/local
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding#
cbe23d0a0ff097b3d544d714657452abc80e3c87fieldingcase "$prefix" in
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding NONE)
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding case "$sysconfdir" in
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding '${prefix}/etc')
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding sysconfdir=/etc
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding ;;
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding esac
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding case "$localstatedir" in
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding '${prefix}/var')
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding localstatedir=/var
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding ;;
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding esac
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding ;;
cbe23d0a0ff097b3d544d714657452abc80e3c87fieldingesac
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding#
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding# Make sure INSTALL uses an absolute path, else it will be wrong in all
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding# Makefiles, since they use make/rules.in and INSTALL will be adjusted by
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding# configure based on the location of the file where it is substituted.
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding# Since in BIND9 INSTALL is only substituted into make/rules.in, an immediate
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding# subdirectory of install-sh, This relative path will be wrong for all
7a0780c774fcd7823d2e3a79f55b2f3522602992clar# directories more than one level down from install-sh.
7a0780c774fcd7823d2e3a79f55b2f3522602992clar#
cbe23d0a0ff097b3d544d714657452abc80e3c87fieldingcase "$INSTALL" in
7a0780c774fcd7823d2e3a79f55b2f3522602992clar /*)
e8f95a682820a599fe41b22977010636be5c2717jim ;;
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding *)
7a0780c774fcd7823d2e3a79f55b2f3522602992clar #
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding # Not all systems have dirname.
7a0780c774fcd7823d2e3a79f55b2f3522602992clar #
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding
7a0780c774fcd7823d2e3a79f55b2f3522602992clar ac_dir="`echo $INSTALL | sed 's%/[^/]*$%%'`"
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding
20fb0ba160cf0ca91b3f0f0d552cbe60d92b0449fielding
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx ac_prog="`echo $INSTALL | sed 's%.*/%%'`"
f5d423af3d9e3f161aaea17b4ef3851608d43878clar test "$ac_dir" = "$ac_prog" && ac_dir=.
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx test -d "$ac_dir" && ac_dir="`(cd \"$ac_dir\" && pwd)`"
f5d423af3d9e3f161aaea17b4ef3851608d43878clar INSTALL="$ac_dir/$ac_prog"
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx ;;
51469a0d2057aa24107b6f5a04e145824e10da1fdirkxesac
d80638b1d2cf4b956aff22733d29f6eff05be2e7wrowe
d80638b1d2cf4b956aff22733d29f6eff05be2e7wrowe#
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx# On these hosts, we really want to use cc, not gcc, even if it is
79c880354e58e1d239306791f3d6c367a193c862trawick# found. The gcc that these systems have will not correctly handle
52d46d469b9d75f316bd73cb05e15ae404d7f2c0brianp# pthreads.
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx#
7a0780c774fcd7823d2e3a79f55b2f3522602992clar# However, if the user sets $CC to be something, let that override
7a0780c774fcd7823d2e3a79f55b2f3522602992clar# our change.
7a0780c774fcd7823d2e3a79f55b2f3522602992clar#
7a0780c774fcd7823d2e3a79f55b2f3522602992clarif test "X$CC" = "X" ; then
7a0780c774fcd7823d2e3a79f55b2f3522602992clar case "$host" in
7a0780c774fcd7823d2e3a79f55b2f3522602992clar *-dec-osf*)
7a0780c774fcd7823d2e3a79f55b2f3522602992clar CC="cc"
8eba5e2e323a9c28df8824675547f28743ca92d6trawick ;;
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding *-solaris*)
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding # Use Sun's cc if it is available, but watch
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding # out for /usr/ucb/cc; it will never be the right
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding # compiler to use.
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding #
20fb0ba160cf0ca91b3f0f0d552cbe60d92b0449fielding # If setting CC here fails, the AC_PROG_CC done
7a0780c774fcd7823d2e3a79f55b2f3522602992clar # below might still find gcc.
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx for ac_dir in $PATH; do
7a0780c774fcd7823d2e3a79f55b2f3522602992clar test -z "$ac_dir" && ac_dir=.
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding case "$ac_dir" in
7a0780c774fcd7823d2e3a79f55b2f3522602992clar /usr/ucb)
7a0780c774fcd7823d2e3a79f55b2f3522602992clar # exclude
7a0780c774fcd7823d2e3a79f55b2f3522602992clar ;;
7a0780c774fcd7823d2e3a79f55b2f3522602992clar *)
d80638b1d2cf4b956aff22733d29f6eff05be2e7wrowe if test -f "$ac_dir/cc"; then
7a0780c774fcd7823d2e3a79f55b2f3522602992clar CC="$ac_dir/cc"
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding break
d80638b1d2cf4b956aff22733d29f6eff05be2e7wrowe fi
e8f95a682820a599fe41b22977010636be5c2717jim ;;
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding esac
7a0780c774fcd7823d2e3a79f55b2f3522602992clar done
7a0780c774fcd7823d2e3a79f55b2f3522602992clar IFS="$ac_save_ifs"
7a0780c774fcd7823d2e3a79f55b2f3522602992clar ;;
7a0780c774fcd7823d2e3a79f55b2f3522602992clar *-hp-hpux*)
7a0780c774fcd7823d2e3a79f55b2f3522602992clar CC="cc"
7a0780c774fcd7823d2e3a79f55b2f3522602992clar ;;
7a0780c774fcd7823d2e3a79f55b2f3522602992clar mips-sgi-irix*)
7a0780c774fcd7823d2e3a79f55b2f3522602992clar CC="cc"
7a0780c774fcd7823d2e3a79f55b2f3522602992clar ;;
7a0780c774fcd7823d2e3a79f55b2f3522602992clar esac
cbe23d0a0ff097b3d544d714657452abc80e3c87fieldingfi
7a0780c774fcd7823d2e3a79f55b2f3522602992clar
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding#
7a0780c774fcd7823d2e3a79f55b2f3522602992clar# NetBSD has two alternative pthreads implementations. Make the
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding# user choose one by saying --with-mit-pthreads or --with-ptl2
7a0780c774fcd7823d2e3a79f55b2f3522602992clar# if necessary.
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding#
cbe23d0a0ff097b3d544d714657452abc80e3c87fieldingcase "$host" in
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding *-netbsd*)
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding CC="gcc"
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding echo $ac_n "checking which thread library to use""... $ac_c" 1>&6
cbe23d0a0ff097b3d544d714657452abc80e3c87fieldingecho "configure:1016: checking which thread library to use" >&5
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding # Check whether --with-mit-pthreads or --without-mit-pthreads was given.
cbe23d0a0ff097b3d544d714657452abc80e3c87fieldingif test "${with_mit_pthreads+set}" = set; then
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding withval="$with_mit_pthreads"
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding use_mit_pthreads="$withval"
cbe23d0a0ff097b3d544d714657452abc80e3c87fieldingelse
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding use_mit_pthreads="no"
cbe23d0a0ff097b3d544d714657452abc80e3c87fieldingfi
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding # Check whether --with-ptl2 or --without-ptl2 was given.
cbe23d0a0ff097b3d544d714657452abc80e3c87fieldingif test "${with_ptl2+set}" = set; then
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding withval="$with_ptl2"
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding use_ptl2="$withval"
cbe23d0a0ff097b3d544d714657452abc80e3c87fieldingelse
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding use_ptl2="no"
cbe23d0a0ff097b3d544d714657452abc80e3c87fieldingfi
7a0780c774fcd7823d2e3a79f55b2f3522602992clar
7a0780c774fcd7823d2e3a79f55b2f3522602992clar
d80638b1d2cf4b956aff22733d29f6eff05be2e7wrowe : ${LOCALBASE:=/usr/pkg}
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding
10a20aaa2426eff21e054473bbcab8cd2f104e59colm # If user did not choose a thread library explicitly,
10a20aaa2426eff21e054473bbcab8cd2f104e59colm # try to choose one automatically. This will work when
10a20aaa2426eff21e054473bbcab8cd2f104e59colm # exactly one library is installed.
10a20aaa2426eff21e054473bbcab8cd2f104e59colm
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding case "$use_mit_pthreads+$use_ptl2" in
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding no+no)
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding if test -d $LOCALBASE/pthreads
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding then
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding use_mit_pthreads="yes"
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding fi
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding if test -d $LOCALBASE/PTL
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding then
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding use_ptl2="yes"
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding fi
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding ;;
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding esac
7a0780c774fcd7823d2e3a79f55b2f3522602992clar
7a0780c774fcd7823d2e3a79f55b2f3522602992clar case "$use_mit_pthreads+$use_ptl2" in
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding yes+no)
7a0780c774fcd7823d2e3a79f55b2f3522602992clar echo "$ac_t""mit-pthreads" 1>&6
7a0780c774fcd7823d2e3a79f55b2f3522602992clar pkg="$LOCALBASE/pthreads"
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding lib1="-L$pkg/lib -Wl,-R$pkg/lib"
ee044568b891a057768282bccd2498832108d32dsctemme lib2="-lpthread -lm -lgcc -lpthread"
7a0780c774fcd7823d2e3a79f55b2f3522602992clar LIBS="$lib1 $lib2 $LIBS"
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding CPPFLAGS="$CPPFLAGS -I$pkg/include"
7a0780c774fcd7823d2e3a79f55b2f3522602992clar STD_CINCLUDES="$STD_CINCLUDES -I$pkg/include"
7a0780c774fcd7823d2e3a79f55b2f3522602992clar ;;
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding no+yes)
7a0780c774fcd7823d2e3a79f55b2f3522602992clar echo "$ac_t""PTL2" 1>&6
7a0780c774fcd7823d2e3a79f55b2f3522602992clar# pkg="$LOCALBASE/PTL"
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding# LIBS="-L$LOCALBASE/lib -lPTL $LIBS"
7a0780c774fcd7823d2e3a79f55b2f3522602992clar# STD_CINCLUDES="-nostdinc -idirafter $pkg/include"
7a0780c774fcd7823d2e3a79f55b2f3522602992clar CC=ptlgcc
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding ;;
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding *)
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding { echo "configure: error: no thread library.
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding
cbe23d0a0ff097b3d544d714657452abc80e3c87fieldingPlease choose a thread library using one of
7a0780c774fcd7823d2e3a79f55b2f3522602992clar
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding configure --with-mit-pthreads
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding configure --with-ptl2
7a0780c774fcd7823d2e3a79f55b2f3522602992clar" 1>&2; exit 1; }
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding ;;
7a0780c774fcd7823d2e3a79f55b2f3522602992clar esac
7a0780c774fcd7823d2e3a79f55b2f3522602992clar ;;
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fieldingesac
7a0780c774fcd7823d2e3a79f55b2f3522602992clar
7a0780c774fcd7823d2e3a79f55b2f3522602992clar# Extract the first word of "gcc", so it can be a program name with args.
7a0780c774fcd7823d2e3a79f55b2f3522602992clarset dummy gcc; ac_word=$2
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fieldingecho $ac_n "checking for $ac_word""... $ac_c" 1>&6
7a0780c774fcd7823d2e3a79f55b2f3522602992clarecho "configure:1088: checking for $ac_word" >&5
cbe23d0a0ff097b3d544d714657452abc80e3c87fieldingif eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7a0780c774fcd7823d2e3a79f55b2f3522602992clar echo $ac_n "(cached) $ac_c" 1>&6
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fieldingelse
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding if test -n "$CC"; then
7a0780c774fcd7823d2e3a79f55b2f3522602992clar ac_cv_prog_CC="$CC" # Let the user override the test.
d321fe00a917cfbe45929d741d74e2c89960b0b8trawickelse
d3dbafe0347b788a86bbe18ee6111750af41cec9trawick IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding ac_dummy="$PATH"
9667009c60cf53ad7f1bfe9b73efecf403956d9dtrawick for ac_dir in $ac_dummy; do
9667009c60cf53ad7f1bfe9b73efecf403956d9dtrawick test -z "$ac_dir" && ac_dir=.
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding if test -f $ac_dir/$ac_word; then
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding ac_cv_prog_CC="gcc"
7a0780c774fcd7823d2e3a79f55b2f3522602992clar break
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding fi
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding done
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding IFS="$ac_save_ifs"
7a0780c774fcd7823d2e3a79f55b2f3522602992clarfi
7a0780c774fcd7823d2e3a79f55b2f3522602992clarfi
cbe23d0a0ff097b3d544d714657452abc80e3c87fieldingCC="$ac_cv_prog_CC"
7a0780c774fcd7823d2e3a79f55b2f3522602992clarif test -n "$CC"; then
7a0780c774fcd7823d2e3a79f55b2f3522602992clar echo "$ac_t""$CC" 1>&6
cbe23d0a0ff097b3d544d714657452abc80e3c87fieldingelse
d321fe00a917cfbe45929d741d74e2c89960b0b8trawick echo "$ac_t""no" 1>&6
7a0780c774fcd7823d2e3a79f55b2f3522602992clarfi
7a0780c774fcd7823d2e3a79f55b2f3522602992clar
7a0780c774fcd7823d2e3a79f55b2f3522602992clarif test -z "$CC"; then
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding # Extract the first word of "cc", so it can be a program name with args.
7a0780c774fcd7823d2e3a79f55b2f3522602992clarset dummy cc; ac_word=$2
7a0780c774fcd7823d2e3a79f55b2f3522602992clarecho $ac_n "checking for $ac_word""... $ac_c" 1>&6
7a0780c774fcd7823d2e3a79f55b2f3522602992clarecho "configure:1118: checking for $ac_word" >&5
cbe23d0a0ff097b3d544d714657452abc80e3c87fieldingif eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7a0780c774fcd7823d2e3a79f55b2f3522602992clar echo $ac_n "(cached) $ac_c" 1>&6
e8f95a682820a599fe41b22977010636be5c2717jimelse
7a0780c774fcd7823d2e3a79f55b2f3522602992clar if test -n "$CC"; then
7a0780c774fcd7823d2e3a79f55b2f3522602992clar ac_cv_prog_CC="$CC" # Let the user override the test.
cbe23d0a0ff097b3d544d714657452abc80e3c87fieldingelse
7a0780c774fcd7823d2e3a79f55b2f3522602992clar IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
7a0780c774fcd7823d2e3a79f55b2f3522602992clar ac_prog_rejected=no
7a0780c774fcd7823d2e3a79f55b2f3522602992clar ac_dummy="$PATH"
e8f95a682820a599fe41b22977010636be5c2717jim for ac_dir in $ac_dummy; do
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding test -z "$ac_dir" && ac_dir=.
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding if test -f $ac_dir/$ac_word; then
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding ac_prog_rejected=yes
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding continue
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding fi
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding ac_cv_prog_CC="cc"
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding break
7a0780c774fcd7823d2e3a79f55b2f3522602992clar fi
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding done
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding IFS="$ac_save_ifs"
cbe23d0a0ff097b3d544d714657452abc80e3c87fieldingif test $ac_prog_rejected = yes; then
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding # We found a bogon in the path, so make sure we never use it.
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding set dummy $ac_cv_prog_CC
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding shift
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding if test $# -gt 0; then
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding # We chose a different compiler from the bogus one.
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding # However, it has the same basename, so the bogon will be chosen
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding # first if we set CC to just the basename; use the full file name.
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding shift
7a0780c774fcd7823d2e3a79f55b2f3522602992clar set dummy "$ac_dir/$ac_word" "$@"
7a0780c774fcd7823d2e3a79f55b2f3522602992clar shift
7a0780c774fcd7823d2e3a79f55b2f3522602992clar ac_cv_prog_CC="$@"
7a0780c774fcd7823d2e3a79f55b2f3522602992clar fi
7a0780c774fcd7823d2e3a79f55b2f3522602992clarfi
7a0780c774fcd7823d2e3a79f55b2f3522602992clarfi
7a0780c774fcd7823d2e3a79f55b2f3522602992clarfi
7a0780c774fcd7823d2e3a79f55b2f3522602992clarCC="$ac_cv_prog_CC"
cbe23d0a0ff097b3d544d714657452abc80e3c87fieldingif test -n "$CC"; then
7a0780c774fcd7823d2e3a79f55b2f3522602992clar echo "$ac_t""$CC" 1>&6
7a0780c774fcd7823d2e3a79f55b2f3522602992clarelse
7a0780c774fcd7823d2e3a79f55b2f3522602992clar echo "$ac_t""no" 1>&6
7a0780c774fcd7823d2e3a79f55b2f3522602992clarfi
7a0780c774fcd7823d2e3a79f55b2f3522602992clar
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding if test -z "$CC"; then
7a0780c774fcd7823d2e3a79f55b2f3522602992clar case "`uname -s`" in
7a0780c774fcd7823d2e3a79f55b2f3522602992clar *win32* | *WIN32*)
7a0780c774fcd7823d2e3a79f55b2f3522602992clar # Extract the first word of "cl", so it can be a program name with args.
7a0780c774fcd7823d2e3a79f55b2f3522602992clarset dummy cl; ac_word=$2
cbe23d0a0ff097b3d544d714657452abc80e3c87fieldingecho $ac_n "checking for $ac_word""... $ac_c" 1>&6
7a0780c774fcd7823d2e3a79f55b2f3522602992clarecho "configure:1169: checking for $ac_word" >&5
7a0780c774fcd7823d2e3a79f55b2f3522602992clarif eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding echo $ac_n "(cached) $ac_c" 1>&6
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fieldingelse
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding if test -n "$CC"; then
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding ac_cv_prog_CC="$CC" # Let the user override the test.
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fieldingelse
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding ac_dummy="$PATH"
23b4e2f556ce39696c4e31c6e72893f7489ff8d9dirkx for ac_dir in $ac_dummy; do
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding test -z "$ac_dir" && ac_dir=.
1ccd992d37d62c8cb2056126f2234f64ec189bfddougm if test -f $ac_dir/$ac_word; then
860d483ae528603f7e1f962903e71ac28358bef6wrowe ac_cv_prog_CC="cl"
23b4e2f556ce39696c4e31c6e72893f7489ff8d9dirkx break
7a0780c774fcd7823d2e3a79f55b2f3522602992clar fi
52d9e6442afa54065774d6c36bdb61f495953bf2fielding done
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding IFS="$ac_save_ifs"
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fieldingfi
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fieldingfi
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fieldingCC="$ac_cv_prog_CC"
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fieldingif test -n "$CC"; then
0906f649b3d720299e47ed1148e79051e8941b2adirkx echo "$ac_t""$CC" 1>&6
30309f86bfd564437654aa822a19cd0cb29ca6f8wroweelse
1104271514ab6eee6391f8a0e670d9cc98184d9bfielding echo "$ac_t""no" 1>&6
1104271514ab6eee6391f8a0e670d9cc98184d9bfieldingfi
1104271514ab6eee6391f8a0e670d9cc98184d9bfielding ;;
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding esac
57b7c64eaa9d7934d51d23c8e23f0b6cf6ce6a8atrawick fi
7a0780c774fcd7823d2e3a79f55b2f3522602992clar test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
7a0780c774fcd7823d2e3a79f55b2f3522602992clarfi
f4a8b04b47f09a21b65646b66b19c9649ff7f03arbb
6707208ba4e9a5841ca1ab830830fd286ea5b7c5trawickecho $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
6707208ba4e9a5841ca1ab830830fd286ea5b7c5trawickecho "configure:1201: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
6707208ba4e9a5841ca1ab830830fd286ea5b7c5trawick
6707208ba4e9a5841ca1ab830830fd286ea5b7c5trawickac_ext=c
6707208ba4e9a5841ca1ab830830fd286ea5b7c5trawick# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6707208ba4e9a5841ca1ab830830fd286ea5b7c5trawickac_cpp='$CPP $CPPFLAGS'
9179fa90e821c964d10f28b97fc6acee776af7cfwroweac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
daa3fa016bd51cdb39762a4510be99ba55c0b290aaronac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
daa3fa016bd51cdb39762a4510be99ba55c0b290aaroncross_compiling=$ac_cv_prog_cc_cross
daa3fa016bd51cdb39762a4510be99ba55c0b290aaron
b8fbac7d9e095a4cf4679d0a4b7a678baf9e319ecolmcat > conftest.$ac_ext << EOF
b8fbac7d9e095a4cf4679d0a4b7a678baf9e319ecolm
b8fbac7d9e095a4cf4679d0a4b7a678baf9e319ecolm#line 1212 "configure"
b8fbac7d9e095a4cf4679d0a4b7a678baf9e319ecolm#include "confdefs.h"
b8fbac7d9e095a4cf4679d0a4b7a678baf9e319ecolm
b8fbac7d9e095a4cf4679d0a4b7a678baf9e319ecolmmain(){return(0);}
b8fbac7d9e095a4cf4679d0a4b7a678baf9e319ecolmEOF
b8fbac7d9e095a4cf4679d0a4b7a678baf9e319ecolmif { (eval echo configure:1217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
b8fbac7d9e095a4cf4679d0a4b7a678baf9e319ecolm ac_cv_prog_cc_works=yes
b8fbac7d9e095a4cf4679d0a4b7a678baf9e319ecolm # If we can't run a trivial program, we are probably using a cross compiler.
b8fbac7d9e095a4cf4679d0a4b7a678baf9e319ecolm if (./conftest; exit) 2>/dev/null; then
b8fbac7d9e095a4cf4679d0a4b7a678baf9e319ecolm ac_cv_prog_cc_cross=no
b8fbac7d9e095a4cf4679d0a4b7a678baf9e319ecolm else
b8fbac7d9e095a4cf4679d0a4b7a678baf9e319ecolm ac_cv_prog_cc_cross=yes
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding fi
e23b77006a8b079c0ad52e42ba2029e759455b8fjortonelse
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton echo "configure: failed program was:" >&5
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton cat conftest.$ac_ext >&5
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton ac_cv_prog_cc_works=no
e23b77006a8b079c0ad52e42ba2029e759455b8fjortonfi
e23b77006a8b079c0ad52e42ba2029e759455b8fjortonrm -fr conftest*
e23b77006a8b079c0ad52e42ba2029e759455b8fjortonac_ext=c
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
e23b77006a8b079c0ad52e42ba2029e759455b8fjortonac_cpp='$CPP $CPPFLAGS'
e23b77006a8b079c0ad52e42ba2029e759455b8fjortonac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
e23b77006a8b079c0ad52e42ba2029e759455b8fjortonac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
e23b77006a8b079c0ad52e42ba2029e759455b8fjortoncross_compiling=$ac_cv_prog_cc_cross
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton
e23b77006a8b079c0ad52e42ba2029e759455b8fjortonecho "$ac_t""$ac_cv_prog_cc_works" 1>&6
e23b77006a8b079c0ad52e42ba2029e759455b8fjortonif test $ac_cv_prog_cc_works = no; then
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
e23b77006a8b079c0ad52e42ba2029e759455b8fjortonfi
9e897f011a21e8d982f1b5c6548f9882a8ca85d3wroweecho $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
e23b77006a8b079c0ad52e42ba2029e759455b8fjortonecho "configure:1243: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
e23b77006a8b079c0ad52e42ba2029e759455b8fjortonecho "$ac_t""$ac_cv_prog_cc_cross" 1>&6
e23b77006a8b079c0ad52e42ba2029e759455b8fjortoncross_compiling=$ac_cv_prog_cc_cross
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton
e23b77006a8b079c0ad52e42ba2029e759455b8fjortonecho $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1fbf6ba0f5207e6637b49f9a9dfcc779bbe952a9trawickecho "configure:1248: checking whether we are using GNU C" >&5
7a0780c774fcd7823d2e3a79f55b2f3522602992clarif eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
873c287c391b0bbc4719b68bb84946515811e1batrawick echo $ac_n "(cached) $ac_c" 1>&6
7a0780c774fcd7823d2e3a79f55b2f3522602992clarelse
7a0780c774fcd7823d2e3a79f55b2f3522602992clar cat > conftest.c <<EOF
7a0780c774fcd7823d2e3a79f55b2f3522602992clar#ifdef __GNUC__
7a0780c774fcd7823d2e3a79f55b2f3522602992clar yes;
873c287c391b0bbc4719b68bb84946515811e1batrawick#endif
7a0780c774fcd7823d2e3a79f55b2f3522602992clarEOF
7a0780c774fcd7823d2e3a79f55b2f3522602992clarif { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1257: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
7a0780c774fcd7823d2e3a79f55b2f3522602992clar ac_cv_prog_gcc=yes
7a0780c774fcd7823d2e3a79f55b2f3522602992clarelse
7a0780c774fcd7823d2e3a79f55b2f3522602992clar ac_cv_prog_gcc=no
7a0780c774fcd7823d2e3a79f55b2f3522602992clarfi
7a0780c774fcd7823d2e3a79f55b2f3522602992clarfi
873c287c391b0bbc4719b68bb84946515811e1batrawick
7a0780c774fcd7823d2e3a79f55b2f3522602992clarecho "$ac_t""$ac_cv_prog_gcc" 1>&6
7a0780c774fcd7823d2e3a79f55b2f3522602992clar
7a0780c774fcd7823d2e3a79f55b2f3522602992clarif test $ac_cv_prog_gcc = yes; then
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding GCC=yes
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fieldingelse
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding GCC=
694479b59aaa89e78fd4612bc060abddf7c8b6f1trawickfi
52d9e6442afa54065774d6c36bdb61f495953bf2fielding
e23b77006a8b079c0ad52e42ba2029e759455b8fjortonac_test_CFLAGS="${CFLAGS+set}"
e23b77006a8b079c0ad52e42ba2029e759455b8fjortonac_save_CFLAGS="$CFLAGS"
e23b77006a8b079c0ad52e42ba2029e759455b8fjortonCFLAGS=
e23b77006a8b079c0ad52e42ba2029e759455b8fjortonecho $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
e23b77006a8b079c0ad52e42ba2029e759455b8fjortonecho "configure:1276: checking whether ${CC-cc} accepts -g" >&5
e23b77006a8b079c0ad52e42ba2029e759455b8fjortonif eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton echo $ac_n "(cached) $ac_c" 1>&6
e23b77006a8b079c0ad52e42ba2029e759455b8fjortonelse
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding echo 'void f(){}' > conftest.c
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fieldingif test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding ac_cv_prog_cc_g=yes
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fieldingelse
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding ac_cv_prog_cc_g=no
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fieldingfi
23b4e2f556ce39696c4e31c6e72893f7489ff8d9dirkxrm -f conftest*
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fieldingfi
7a0780c774fcd7823d2e3a79f55b2f3522602992clar
7a0780c774fcd7823d2e3a79f55b2f3522602992clarecho "$ac_t""$ac_cv_prog_cc_g" 1>&6
7a0780c774fcd7823d2e3a79f55b2f3522602992clarif test "$ac_test_CFLAGS" = set; then
7a0780c774fcd7823d2e3a79f55b2f3522602992clar CFLAGS="$ac_save_CFLAGS"
7a0780c774fcd7823d2e3a79f55b2f3522602992clarelif test $ac_cv_prog_cc_g = yes; then
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding if test "$GCC" = yes; then
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding CFLAGS="-g -O2"
7a0780c774fcd7823d2e3a79f55b2f3522602992clar else
7a0780c774fcd7823d2e3a79f55b2f3522602992clar CFLAGS="-g"
7a0780c774fcd7823d2e3a79f55b2f3522602992clar fi
7a0780c774fcd7823d2e3a79f55b2f3522602992clarelse
7a0780c774fcd7823d2e3a79f55b2f3522602992clar if test "$GCC" = yes; then
7a0780c774fcd7823d2e3a79f55b2f3522602992clar CFLAGS="-O2"
7a0780c774fcd7823d2e3a79f55b2f3522602992clar else
7a0780c774fcd7823d2e3a79f55b2f3522602992clar CFLAGS=
7a0780c774fcd7823d2e3a79f55b2f3522602992clar fi
7a0780c774fcd7823d2e3a79f55b2f3522602992clarfi
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding
cbe23d0a0ff097b3d544d714657452abc80e3c87fieldingfor ac_prog in 'bison -y' byacc
cbe23d0a0ff097b3d544d714657452abc80e3c87fieldingdo
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding# Extract the first word of "$ac_prog", so it can be a program name with args.
cbe23d0a0ff097b3d544d714657452abc80e3c87fieldingset dummy $ac_prog; ac_word=$2
cbe23d0a0ff097b3d544d714657452abc80e3c87fieldingecho $ac_n "checking for $ac_word""... $ac_c" 1>&6
cbe23d0a0ff097b3d544d714657452abc80e3c87fieldingecho "configure:1312: checking for $ac_word" >&5
cbe23d0a0ff097b3d544d714657452abc80e3c87fieldingif eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
7a0780c774fcd7823d2e3a79f55b2f3522602992clar echo $ac_n "(cached) $ac_c" 1>&6
7a0780c774fcd7823d2e3a79f55b2f3522602992clarelse
7a0780c774fcd7823d2e3a79f55b2f3522602992clar if test -n "$YACC"; then
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding ac_cv_prog_YACC="$YACC" # Let the user override the test.
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fieldingelse
873c287c391b0bbc4719b68bb84946515811e1batrawick IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton ac_dummy="$PATH"
873c287c391b0bbc4719b68bb84946515811e1batrawick for ac_dir in $ac_dummy; do
873c287c391b0bbc4719b68bb84946515811e1batrawick test -z "$ac_dir" && ac_dir=.
873c287c391b0bbc4719b68bb84946515811e1batrawick if test -f $ac_dir/$ac_word; then
873c287c391b0bbc4719b68bb84946515811e1batrawick ac_cv_prog_YACC="$ac_prog"
860d483ae528603f7e1f962903e71ac28358bef6wrowe break
873c287c391b0bbc4719b68bb84946515811e1batrawick fi
873c287c391b0bbc4719b68bb84946515811e1batrawick done
23b4e2f556ce39696c4e31c6e72893f7489ff8d9dirkx IFS="$ac_save_ifs"
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fieldingfi
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fieldingfi
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fieldingYACC="$ac_cv_prog_YACC"
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fieldingif test -n "$YACC"; then
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding echo "$ac_t""$YACC" 1>&6
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fieldingelse
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding echo "$ac_t""no" 1>&6
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fieldingfi
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding
23b4e2f556ce39696c4e31c6e72893f7489ff8d9dirkxtest -n "$YACC" && break
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fieldingdone
f5c43b553ca92a2adc39be43155b26c2b07ac40ctrawicktest -n "$YACC" || YACC="yacc"
1ccd992d37d62c8cb2056126f2234f64ec189bfddougm
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding
7a0780c774fcd7823d2e3a79f55b2f3522602992clarecho $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
f4a8b04b47f09a21b65646b66b19c9649ff7f03arbbecho "configure:1344: checking how to run the C preprocessor" >&5
f4a8b04b47f09a21b65646b66b19c9649ff7f03arbb# On Suns, sometimes $CPP names a directory.
860d483ae528603f7e1f962903e71ac28358bef6wroweif test -n "$CPP" && test -d "$CPP"; then
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton CPP=
e23b77006a8b079c0ad52e42ba2029e759455b8fjortonfi
860d483ae528603f7e1f962903e71ac28358bef6wroweif test -z "$CPP"; then
e23b77006a8b079c0ad52e42ba2029e759455b8fjortonif eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
e8f95a682820a599fe41b22977010636be5c2717jim echo $ac_n "(cached) $ac_c" 1>&6
e23b77006a8b079c0ad52e42ba2029e759455b8fjortonelse
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton # This must be in double quotes, not single quotes, because CPP may get
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton # substituted into the Makefile and "${CC-cc}" will confuse make.
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton CPP="${CC-cc} -E"
e8f95a682820a599fe41b22977010636be5c2717jim # On the NeXT, cc -E runs the code through the compiler's parser,
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton # not just through cpp.
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton cat > conftest.$ac_ext <<EOF
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton#line 1359 "configure"
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton#include "confdefs.h"
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton#include <assert.h>
e23b77006a8b079c0ad52e42ba2029e759455b8fjortonSyntax Error
e23b77006a8b079c0ad52e42ba2029e759455b8fjortonEOF
e23b77006a8b079c0ad52e42ba2029e759455b8fjortonac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
860d483ae528603f7e1f962903e71ac28358bef6wrowe{ (eval echo configure:1365: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
860d483ae528603f7e1f962903e71ac28358bef6wroweac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7a0780c774fcd7823d2e3a79f55b2f3522602992clarif test -z "$ac_err"; then
860d483ae528603f7e1f962903e71ac28358bef6wrowe :
e8f95a682820a599fe41b22977010636be5c2717jimelse
860d483ae528603f7e1f962903e71ac28358bef6wrowe echo "$ac_err" >&5
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton echo "configure: failed program was:" >&5
7a0780c774fcd7823d2e3a79f55b2f3522602992clar cat conftest.$ac_ext >&5
7a0780c774fcd7823d2e3a79f55b2f3522602992clar rm -rf conftest*
7a0780c774fcd7823d2e3a79f55b2f3522602992clar CPP="${CC-cc} -E -traditional-cpp"
7a0780c774fcd7823d2e3a79f55b2f3522602992clar cat > conftest.$ac_ext <<EOF
7a0780c774fcd7823d2e3a79f55b2f3522602992clar#line 1376 "configure"
7a0780c774fcd7823d2e3a79f55b2f3522602992clar#include "confdefs.h"
7a0780c774fcd7823d2e3a79f55b2f3522602992clar#include <assert.h>
7a0780c774fcd7823d2e3a79f55b2f3522602992clarSyntax Error
7a0780c774fcd7823d2e3a79f55b2f3522602992clarEOF
7a0780c774fcd7823d2e3a79f55b2f3522602992clarac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
81bd9331da3bd0f53255d52b1475480ff3a4b395trawick{ (eval echo configure:1382: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
81bd9331da3bd0f53255d52b1475480ff3a4b395trawickac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
81bd9331da3bd0f53255d52b1475480ff3a4b395trawickif test -z "$ac_err"; then
81bd9331da3bd0f53255d52b1475480ff3a4b395trawick :
81bd9331da3bd0f53255d52b1475480ff3a4b395trawickelse
81bd9331da3bd0f53255d52b1475480ff3a4b395trawick echo "$ac_err" >&5
81bd9331da3bd0f53255d52b1475480ff3a4b395trawick echo "configure: failed program was:" >&5
81bd9331da3bd0f53255d52b1475480ff3a4b395trawick cat conftest.$ac_ext >&5
81bd9331da3bd0f53255d52b1475480ff3a4b395trawick rm -rf conftest*
81bd9331da3bd0f53255d52b1475480ff3a4b395trawick CPP="${CC-cc} -nologo -E"
81bd9331da3bd0f53255d52b1475480ff3a4b395trawick cat > conftest.$ac_ext <<EOF
81bd9331da3bd0f53255d52b1475480ff3a4b395trawick#line 1393 "configure"
7a0780c774fcd7823d2e3a79f55b2f3522602992clar#include "confdefs.h"
860d483ae528603f7e1f962903e71ac28358bef6wrowe#include <assert.h>
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fieldingSyntax Error
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fieldingEOF
51469a0d2057aa24107b6f5a04e145824e10da1fdirkxac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7a0780c774fcd7823d2e3a79f55b2f3522602992clar{ (eval echo configure:1399: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
d80638b1d2cf4b956aff22733d29f6eff05be2e7wroweac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
51469a0d2057aa24107b6f5a04e145824e10da1fdirkxif test -z "$ac_err"; then
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx :
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fieldingelse
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding echo "$ac_err" >&5
7a0780c774fcd7823d2e3a79f55b2f3522602992clar echo "configure: failed program was:" >&5
7a0780c774fcd7823d2e3a79f55b2f3522602992clar cat conftest.$ac_ext >&5
7a0780c774fcd7823d2e3a79f55b2f3522602992clar rm -rf conftest*
7a0780c774fcd7823d2e3a79f55b2f3522602992clar CPP=/lib/cpp
f4a8b04b47f09a21b65646b66b19c9649ff7f03arbbfi
7a0780c774fcd7823d2e3a79f55b2f3522602992clarrm -f conftest*
e8f95a682820a599fe41b22977010636be5c2717jimfi
7a0780c774fcd7823d2e3a79f55b2f3522602992clarrm -f conftest*
7a0780c774fcd7823d2e3a79f55b2f3522602992clarfi
7a0780c774fcd7823d2e3a79f55b2f3522602992clarrm -f conftest*
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding ac_cv_prog_CPP="$CPP"
cbe23d0a0ff097b3d544d714657452abc80e3c87fieldingfi
7a0780c774fcd7823d2e3a79f55b2f3522602992clar CPP="$ac_cv_prog_CPP"
7a0780c774fcd7823d2e3a79f55b2f3522602992clarelse
f4a8b04b47f09a21b65646b66b19c9649ff7f03arbb ac_cv_prog_CPP="$CPP"
7a0780c774fcd7823d2e3a79f55b2f3522602992clarfi
7a0780c774fcd7823d2e3a79f55b2f3522602992clarecho "$ac_t""$CPP" 1>&6
7a0780c774fcd7823d2e3a79f55b2f3522602992clar
7a0780c774fcd7823d2e3a79f55b2f3522602992clarecho $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
7a0780c774fcd7823d2e3a79f55b2f3522602992clarecho "configure:1424: checking for ANSI C header files" >&5
860d483ae528603f7e1f962903e71ac28358bef6wroweif eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
7a0780c774fcd7823d2e3a79f55b2f3522602992clar echo $ac_n "(cached) $ac_c" 1>&6
7a0780c774fcd7823d2e3a79f55b2f3522602992clarelse
7a0780c774fcd7823d2e3a79f55b2f3522602992clar cat > conftest.$ac_ext <<EOF
7a0780c774fcd7823d2e3a79f55b2f3522602992clar#line 1429 "configure"
7a0780c774fcd7823d2e3a79f55b2f3522602992clar#include "confdefs.h"
7a0780c774fcd7823d2e3a79f55b2f3522602992clar#include <stdlib.h>
7a0780c774fcd7823d2e3a79f55b2f3522602992clar#include <stdarg.h>
7a0780c774fcd7823d2e3a79f55b2f3522602992clar#include <string.h>
7a0780c774fcd7823d2e3a79f55b2f3522602992clar#include <float.h>
7a0780c774fcd7823d2e3a79f55b2f3522602992clarEOF
7a0780c774fcd7823d2e3a79f55b2f3522602992clarac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7a0780c774fcd7823d2e3a79f55b2f3522602992clar{ (eval echo configure:1437: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7a0780c774fcd7823d2e3a79f55b2f3522602992clarac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7a0780c774fcd7823d2e3a79f55b2f3522602992clarif test -z "$ac_err"; then
7a0780c774fcd7823d2e3a79f55b2f3522602992clar rm -rf conftest*
7a0780c774fcd7823d2e3a79f55b2f3522602992clar ac_cv_header_stdc=yes
7a0780c774fcd7823d2e3a79f55b2f3522602992clarelse
7a0780c774fcd7823d2e3a79f55b2f3522602992clar echo "$ac_err" >&5
7a0780c774fcd7823d2e3a79f55b2f3522602992clar echo "configure: failed program was:" >&5
873c287c391b0bbc4719b68bb84946515811e1batrawick cat conftest.$ac_ext >&5
7a0780c774fcd7823d2e3a79f55b2f3522602992clar rm -rf conftest*
7a0780c774fcd7823d2e3a79f55b2f3522602992clar ac_cv_header_stdc=no
7a0780c774fcd7823d2e3a79f55b2f3522602992clarfi
7a0780c774fcd7823d2e3a79f55b2f3522602992clarrm -f conftest*
7a0780c774fcd7823d2e3a79f55b2f3522602992clar
7a0780c774fcd7823d2e3a79f55b2f3522602992clarif test $ac_cv_header_stdc = yes; then
7a0780c774fcd7823d2e3a79f55b2f3522602992clar # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7a0780c774fcd7823d2e3a79f55b2f3522602992clarcat > conftest.$ac_ext <<EOF
7a0780c774fcd7823d2e3a79f55b2f3522602992clar#line 1454 "configure"
7a0780c774fcd7823d2e3a79f55b2f3522602992clar#include "confdefs.h"
7a0780c774fcd7823d2e3a79f55b2f3522602992clar#include <string.h>
7a0780c774fcd7823d2e3a79f55b2f3522602992clarEOF
7a0780c774fcd7823d2e3a79f55b2f3522602992clarif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7a0780c774fcd7823d2e3a79f55b2f3522602992clar egrep "memchr" >/dev/null 2>&1; then
7a0780c774fcd7823d2e3a79f55b2f3522602992clar :
7a0780c774fcd7823d2e3a79f55b2f3522602992clarelse
7a0780c774fcd7823d2e3a79f55b2f3522602992clar rm -rf conftest*
7a0780c774fcd7823d2e3a79f55b2f3522602992clar ac_cv_header_stdc=no
7a0780c774fcd7823d2e3a79f55b2f3522602992clarfi
7a0780c774fcd7823d2e3a79f55b2f3522602992clarrm -f conftest*
7a0780c774fcd7823d2e3a79f55b2f3522602992clar
7a0780c774fcd7823d2e3a79f55b2f3522602992clarfi
7a0780c774fcd7823d2e3a79f55b2f3522602992clar
7a0780c774fcd7823d2e3a79f55b2f3522602992clarif test $ac_cv_header_stdc = yes; then
7a0780c774fcd7823d2e3a79f55b2f3522602992clar # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7a0780c774fcd7823d2e3a79f55b2f3522602992clarcat > conftest.$ac_ext <<EOF
7a0780c774fcd7823d2e3a79f55b2f3522602992clar#line 1472 "configure"
7a0780c774fcd7823d2e3a79f55b2f3522602992clar#include "confdefs.h"
7a0780c774fcd7823d2e3a79f55b2f3522602992clar#include <stdlib.h>
7a0780c774fcd7823d2e3a79f55b2f3522602992clarEOF
e8f95a682820a599fe41b22977010636be5c2717jimif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7a0780c774fcd7823d2e3a79f55b2f3522602992clar egrep "free" >/dev/null 2>&1; then
7a0780c774fcd7823d2e3a79f55b2f3522602992clar :
b4c56dbdfb4923d59f0b33f6118719abc8672ce0ndelse
b4c56dbdfb4923d59f0b33f6118719abc8672ce0nd rm -rf conftest*
b4c56dbdfb4923d59f0b33f6118719abc8672ce0nd ac_cv_header_stdc=no
b4c56dbdfb4923d59f0b33f6118719abc8672ce0ndfi
b4c56dbdfb4923d59f0b33f6118719abc8672ce0ndrm -f conftest*
b4c56dbdfb4923d59f0b33f6118719abc8672ce0nd
b4c56dbdfb4923d59f0b33f6118719abc8672ce0ndfi
e8f95a682820a599fe41b22977010636be5c2717jim
7a0780c774fcd7823d2e3a79f55b2f3522602992clarif test $ac_cv_header_stdc = yes; then
7a0780c774fcd7823d2e3a79f55b2f3522602992clar # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7a0780c774fcd7823d2e3a79f55b2f3522602992clarif test "$cross_compiling" = yes; then
7a0780c774fcd7823d2e3a79f55b2f3522602992clar :
7a0780c774fcd7823d2e3a79f55b2f3522602992clarelse
7a0780c774fcd7823d2e3a79f55b2f3522602992clar cat > conftest.$ac_ext <<EOF
7a0780c774fcd7823d2e3a79f55b2f3522602992clar#line 1493 "configure"
7a0780c774fcd7823d2e3a79f55b2f3522602992clar#include "confdefs.h"
7a0780c774fcd7823d2e3a79f55b2f3522602992clar#include <ctype.h>
7a0780c774fcd7823d2e3a79f55b2f3522602992clar#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7a0780c774fcd7823d2e3a79f55b2f3522602992clar#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7a0780c774fcd7823d2e3a79f55b2f3522602992clar#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7a0780c774fcd7823d2e3a79f55b2f3522602992clarint main () { int i; for (i = 0; i < 256; i++)
7a0780c774fcd7823d2e3a79f55b2f3522602992clarif (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
7a0780c774fcd7823d2e3a79f55b2f3522602992clarexit (0); }
7a0780c774fcd7823d2e3a79f55b2f3522602992clar
7a0780c774fcd7823d2e3a79f55b2f3522602992clarEOF
7a0780c774fcd7823d2e3a79f55b2f3522602992clarif { (eval echo configure:1504: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
7a0780c774fcd7823d2e3a79f55b2f3522602992clarthen
7a0780c774fcd7823d2e3a79f55b2f3522602992clar :
5e48e0ef81c0736649fd7d2884837b32ed678750rpluemelse
d321fe00a917cfbe45929d741d74e2c89960b0b8trawick echo "configure: failed program was:" >&5
7a0780c774fcd7823d2e3a79f55b2f3522602992clar cat conftest.$ac_ext >&5
bd685a7a27da8536c5da7b4b8b4cb9c3010bc876colm rm -fr conftest*
bd685a7a27da8536c5da7b4b8b4cb9c3010bc876colm ac_cv_header_stdc=no
bd685a7a27da8536c5da7b4b8b4cb9c3010bc876colmfi
bd685a7a27da8536c5da7b4b8b4cb9c3010bc876colmrm -fr conftest*
1b31748a7595f958eb213bcfb01c07ce1c5030c6jimfi
7a0780c774fcd7823d2e3a79f55b2f3522602992clar
7a0780c774fcd7823d2e3a79f55b2f3522602992clarfi
7a0780c774fcd7823d2e3a79f55b2f3522602992clarfi
7a0780c774fcd7823d2e3a79f55b2f3522602992clar
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fieldingecho "$ac_t""$ac_cv_header_stdc" 1>&6
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fieldingif test $ac_cv_header_stdc = yes; then
7a0780c774fcd7823d2e3a79f55b2f3522602992clar cat >> confdefs.h <<\EOF
7a0780c774fcd7823d2e3a79f55b2f3522602992clar#define STDC_HEADERS 1
7a0780c774fcd7823d2e3a79f55b2f3522602992clarEOF
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fieldingfi
f4a8b04b47f09a21b65646b66b19c9649ff7f03arbb
7a0780c774fcd7823d2e3a79f55b2f3522602992clarfor ac_hdr in fcntl.h sys/time.h unistd.h sys/sockio.h netinet6/in6.h
7a0780c774fcd7823d2e3a79f55b2f3522602992clardo
7a0780c774fcd7823d2e3a79f55b2f3522602992clarac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7a0780c774fcd7823d2e3a79f55b2f3522602992clarecho $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7a0780c774fcd7823d2e3a79f55b2f3522602992clarecho "configure:1531: checking for $ac_hdr" >&5
7a0780c774fcd7823d2e3a79f55b2f3522602992clarif eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7a0780c774fcd7823d2e3a79f55b2f3522602992clar echo $ac_n "(cached) $ac_c" 1>&6
7a0780c774fcd7823d2e3a79f55b2f3522602992clarelse
7a0780c774fcd7823d2e3a79f55b2f3522602992clar cat > conftest.$ac_ext <<EOF
7a0780c774fcd7823d2e3a79f55b2f3522602992clar#line 1536 "configure"
7a0780c774fcd7823d2e3a79f55b2f3522602992clar#include "confdefs.h"
7a0780c774fcd7823d2e3a79f55b2f3522602992clar#include <$ac_hdr>
cbe23d0a0ff097b3d544d714657452abc80e3c87fieldingEOF
7a0780c774fcd7823d2e3a79f55b2f3522602992clarac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding{ (eval echo configure:1541: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
cbe23d0a0ff097b3d544d714657452abc80e3c87fieldingac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
cbe23d0a0ff097b3d544d714657452abc80e3c87fieldingif test -z "$ac_err"; then
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding rm -rf conftest*
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding eval "ac_cv_header_$ac_safe=yes"
cbe23d0a0ff097b3d544d714657452abc80e3c87fieldingelse
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding echo "$ac_err" >&5
7a0780c774fcd7823d2e3a79f55b2f3522602992clar echo "configure: failed program was:" >&5
7a0780c774fcd7823d2e3a79f55b2f3522602992clar cat conftest.$ac_ext >&5
7a0780c774fcd7823d2e3a79f55b2f3522602992clar rm -rf conftest*
7a0780c774fcd7823d2e3a79f55b2f3522602992clar eval "ac_cv_header_$ac_safe=no"
7a0780c774fcd7823d2e3a79f55b2f3522602992clarfi
7a0780c774fcd7823d2e3a79f55b2f3522602992clarrm -f conftest*
7a0780c774fcd7823d2e3a79f55b2f3522602992clarfi
7a0780c774fcd7823d2e3a79f55b2f3522602992clarif eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding echo "$ac_t""yes" 1>&6
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7a0780c774fcd7823d2e3a79f55b2f3522602992clar cat >> confdefs.h <<EOF
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding#define $ac_tr_hdr 1
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fieldingEOF
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fieldingelse
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding echo "$ac_t""no" 1>&6
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fieldingfi
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fieldingdone
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding#
0938450cadc9a083d112a86bc7dd7ae34f791364trawick# HAVE_NETINET6_IN6_H needs to go in platform.h.
0938450cadc9a083d112a86bc7dd7ae34f791364trawick# Including it on Kame-using platforms is very bad, though, because
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding# Kame has an #error against direct inclusion. So include it on only
1ccd992d37d62c8cb2056126f2234f64ec189bfddougm# the platform that is otherwise broken without it -- BSD/OS 4.0 through 4.1.
87a528a7622973988232079ba02763748c9c7071pquerna#
be2ca76a08c2fc1695f5b3178d5893f0e92240bftrawickcase "$ac_cv_header_netinet6_in6_h+$host" in
1ccd992d37d62c8cb2056126f2234f64ec189bfddougmyes+*-bsdi4.01*)
f4a8b04b47f09a21b65646b66b19c9649ff7f03arbb ISC_PLATFORM_HAVENETINET6IN6H="#define ISC_PLATFORM_HAVENETINET6IN6H 1"
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding LWRES_PLATFORM_HAVENETINET6IN6H="#define LWRES_PLATFORM_HAVENETINET6IN6H 1"
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx ;;
7a0780c774fcd7823d2e3a79f55b2f3522602992clar*)
7a0780c774fcd7823d2e3a79f55b2f3522602992clar ISC_PLATFORM_HAVENETINET6IN6H="#undef ISC_PLATFORM_HAVENETINET6IN6H"
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx LWRES_PLATFORM_HAVENETINET6IN6H="#undef LWRES_PLATFORM_HAVENETINET6IN6H"
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx ;;
7a0780c774fcd7823d2e3a79f55b2f3522602992claresac
7a0780c774fcd7823d2e3a79f55b2f3522602992clar
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding
7a0780c774fcd7823d2e3a79f55b2f3522602992clarecho $ac_n "checking for working const""... $ac_c" 1>&6
7a0780c774fcd7823d2e3a79f55b2f3522602992clarecho "configure:1589: checking for working const" >&5
7a0780c774fcd7823d2e3a79f55b2f3522602992clarif eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
7a0780c774fcd7823d2e3a79f55b2f3522602992clar echo $ac_n "(cached) $ac_c" 1>&6
7a0780c774fcd7823d2e3a79f55b2f3522602992clarelse
7a0780c774fcd7823d2e3a79f55b2f3522602992clar cat > conftest.$ac_ext <<EOF
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding#line 1594 "configure"
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding#include "confdefs.h"
2c8b669a7d58384b7e8e97a5af2cccda77c45ed7jorton
e8f95a682820a599fe41b22977010636be5c2717jimint main() {
195edf54eccd8c5a436c7dd17f5f604e7074d5d1sf
195edf54eccd8c5a436c7dd17f5f604e7074d5d1sf/* Ultrix mips cc rejects this. */
195edf54eccd8c5a436c7dd17f5f604e7074d5d1sftypedef int charset[2]; const charset x;
195edf54eccd8c5a436c7dd17f5f604e7074d5d1sf/* SunOS 4.1.1 cc rejects this. */
2c8b669a7d58384b7e8e97a5af2cccda77c45ed7jortonchar const *const *ccp;
195edf54eccd8c5a436c7dd17f5f604e7074d5d1sfchar **p;
195edf54eccd8c5a436c7dd17f5f604e7074d5d1sf/* NEC SVR4.0.2 mips cc rejects this. */
195edf54eccd8c5a436c7dd17f5f604e7074d5d1sfstruct point {int x, y;};
f80f962ba7015be7c3e5df0f69f509b32eed6a38clarstatic struct point const zero = {0,0};
6707208ba4e9a5841ca1ab830830fd286ea5b7c5trawick/* AIX XL C 1.02.0.0 rejects this.
6707208ba4e9a5841ca1ab830830fd286ea5b7c5trawick It does not let you subtract one const X* pointer from another in an arm
8e51f305b81011c418eae9c15320a06b6df037daclar of an if-expression whose if-part is not a constant expression */
f80f962ba7015be7c3e5df0f69f509b32eed6a38clarconst char *g = "string";
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fieldingccp = &g + (g ? g-g : 0);
b8ee7946aa85a6b2eefd7f9fcf2ed5dc69a7103asctemme/* HPUX 7.0 cc rejects these. */
b8ee7946aa85a6b2eefd7f9fcf2ed5dc69a7103asctemme++ccp;
b8ee7946aa85a6b2eefd7f9fcf2ed5dc69a7103asctemmep = (char**) ccp;
b8ee7946aa85a6b2eefd7f9fcf2ed5dc69a7103asctemmeccp = (char const *const *) p;
b8ee7946aa85a6b2eefd7f9fcf2ed5dc69a7103asctemme{ /* SCO 3.2v4 cc rejects this. */
b8ee7946aa85a6b2eefd7f9fcf2ed5dc69a7103asctemme char *t;
b8ee7946aa85a6b2eefd7f9fcf2ed5dc69a7103asctemme char const *s = 0 ? (char *) 0 : (char const *) 0;
b8ee7946aa85a6b2eefd7f9fcf2ed5dc69a7103asctemme
b8ee7946aa85a6b2eefd7f9fcf2ed5dc69a7103asctemme *t++ = 0;
b8ee7946aa85a6b2eefd7f9fcf2ed5dc69a7103asctemme}
b8ee7946aa85a6b2eefd7f9fcf2ed5dc69a7103asctemme{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
b8ee7946aa85a6b2eefd7f9fcf2ed5dc69a7103asctemme int x[] = {25, 17};
b8ee7946aa85a6b2eefd7f9fcf2ed5dc69a7103asctemme const int *foo = &x[0];
b8ee7946aa85a6b2eefd7f9fcf2ed5dc69a7103asctemme ++foo;
b8ee7946aa85a6b2eefd7f9fcf2ed5dc69a7103asctemme}
b8ee7946aa85a6b2eefd7f9fcf2ed5dc69a7103asctemme{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
b8ee7946aa85a6b2eefd7f9fcf2ed5dc69a7103asctemme typedef const int *iptr;
b8ee7946aa85a6b2eefd7f9fcf2ed5dc69a7103asctemme iptr p = 0;
b8ee7946aa85a6b2eefd7f9fcf2ed5dc69a7103asctemme ++p;
b8ee7946aa85a6b2eefd7f9fcf2ed5dc69a7103asctemme}
b8ee7946aa85a6b2eefd7f9fcf2ed5dc69a7103asctemme{ /* AIX XL C 1.02.0.0 rejects this saying
b8ee7946aa85a6b2eefd7f9fcf2ed5dc69a7103asctemme "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
b8ee7946aa85a6b2eefd7f9fcf2ed5dc69a7103asctemme struct s { int j; const int *ap[3]; };
b8ee7946aa85a6b2eefd7f9fcf2ed5dc69a7103asctemme struct s *b; b->j = 5;
b8ee7946aa85a6b2eefd7f9fcf2ed5dc69a7103asctemme}
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
d321fe00a917cfbe45929d741d74e2c89960b0b8trawick const int foo = 10;
e8f95a682820a599fe41b22977010636be5c2717jim}
87a528a7622973988232079ba02763748c9c7071pquerna
7a0780c774fcd7823d2e3a79f55b2f3522602992clar; return 0; }
7a0780c774fcd7823d2e3a79f55b2f3522602992clarEOF
d321fe00a917cfbe45929d741d74e2c89960b0b8trawickif { (eval echo configure:1643: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7a0780c774fcd7823d2e3a79f55b2f3522602992clar rm -rf conftest*
7a0780c774fcd7823d2e3a79f55b2f3522602992clar ac_cv_c_const=yes
b8ee7946aa85a6b2eefd7f9fcf2ed5dc69a7103asctemmeelse
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding echo "configure: failed program was:" >&5
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding cat conftest.$ac_ext >&5
87a528a7622973988232079ba02763748c9c7071pquerna rm -rf conftest*
10abdcbd7b30d957d15c61ea8100ba97a627ac95minfrin ac_cv_c_const=no
7a0780c774fcd7823d2e3a79f55b2f3522602992clarfi
7a0780c774fcd7823d2e3a79f55b2f3522602992clarrm -f conftest*
7a0780c774fcd7823d2e3a79f55b2f3522602992clarfi
7a0780c774fcd7823d2e3a79f55b2f3522602992clar
7a0780c774fcd7823d2e3a79f55b2f3522602992clarecho "$ac_t""$ac_cv_c_const" 1>&6
d321fe00a917cfbe45929d741d74e2c89960b0b8trawickif test $ac_cv_c_const = no; then
7a0780c774fcd7823d2e3a79f55b2f3522602992clar cat >> confdefs.h <<\EOF
7a0780c774fcd7823d2e3a79f55b2f3522602992clar#define const
7a0780c774fcd7823d2e3a79f55b2f3522602992clarEOF
b8ee7946aa85a6b2eefd7f9fcf2ed5dc69a7103asctemme
7a0780c774fcd7823d2e3a79f55b2f3522602992clarfi
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding
87a528a7622973988232079ba02763748c9c7071pquernaecho $ac_n "checking for inline""... $ac_c" 1>&6
87a528a7622973988232079ba02763748c9c7071pquernaecho "configure:1664: checking for inline" >&5
87a528a7622973988232079ba02763748c9c7071pquernaif eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding echo $ac_n "(cached) $ac_c" 1>&6
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fieldingelse
10abdcbd7b30d957d15c61ea8100ba97a627ac95minfrin ac_cv_c_inline=no
d321fe00a917cfbe45929d741d74e2c89960b0b8trawickfor ac_kw in inline __inline__ __inline; do
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding cat > conftest.$ac_ext <<EOF
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding#line 1671 "configure"
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding#include "confdefs.h"
0906f649b3d720299e47ed1148e79051e8941b2adirkx
9667009c60cf53ad7f1bfe9b73efecf403956d9dtrawickint main() {
0906f649b3d720299e47ed1148e79051e8941b2adirkx} $ac_kw foo() {
d321fe00a917cfbe45929d741d74e2c89960b0b8trawick; return 0; }
7a0780c774fcd7823d2e3a79f55b2f3522602992clarEOF
e93352b33118d4b4304bc5572ab0c9519a11158cndif { (eval echo configure:1678: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
e93352b33118d4b4304bc5572ab0c9519a11158cnd rm -rf conftest*
e93352b33118d4b4304bc5572ab0c9519a11158cnd ac_cv_c_inline=$ac_kw; break
e93352b33118d4b4304bc5572ab0c9519a11158cndelse
7a0780c774fcd7823d2e3a79f55b2f3522602992clar echo "configure: failed program was:" >&5
c5acdaf17080deb4a09d32e5240e80e50e0fa32ajorton cat conftest.$ac_ext >&5
7a0780c774fcd7823d2e3a79f55b2f3522602992clarfi
0906f649b3d720299e47ed1148e79051e8941b2adirkxrm -f conftest*
0906f649b3d720299e47ed1148e79051e8941b2adirkxdone
f4a8b04b47f09a21b65646b66b19c9649ff7f03arbb
f4a8b04b47f09a21b65646b66b19c9649ff7f03arbbfi
71ae70b321b6e872938934bbf569c5787962aca3trawick
7a0780c774fcd7823d2e3a79f55b2f3522602992clarecho "$ac_t""$ac_cv_c_inline" 1>&6
f4a8b04b47f09a21b65646b66b19c9649ff7f03arbbcase "$ac_cv_c_inline" in
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding inline | yes) ;;
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding no) cat >> confdefs.h <<\EOF
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding#define inline
7a0780c774fcd7823d2e3a79f55b2f3522602992clarEOF
f4a8b04b47f09a21b65646b66b19c9649ff7f03arbb ;;
7a0780c774fcd7823d2e3a79f55b2f3522602992clar *) cat >> confdefs.h <<EOF
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding#define inline $ac_cv_c_inline
30309f86bfd564437654aa822a19cd0cb29ca6f8wroweEOF
30309f86bfd564437654aa822a19cd0cb29ca6f8wrowe ;;
7a0780c774fcd7823d2e3a79f55b2f3522602992claresac
7a0780c774fcd7823d2e3a79f55b2f3522602992clar
7a0780c774fcd7823d2e3a79f55b2f3522602992clarecho $ac_n "checking for size_t""... $ac_c" 1>&6
7a0780c774fcd7823d2e3a79f55b2f3522602992clarecho "configure:1704: checking for size_t" >&5
7a0780c774fcd7823d2e3a79f55b2f3522602992clarif eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
30309f86bfd564437654aa822a19cd0cb29ca6f8wrowe echo $ac_n "(cached) $ac_c" 1>&6
30309f86bfd564437654aa822a19cd0cb29ca6f8wroweelse
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding cat > conftest.$ac_ext <<EOF
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding#line 1709 "configure"
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding#include "confdefs.h"
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding#include <sys/types.h>
10a20aaa2426eff21e054473bbcab8cd2f104e59colm#if STDC_HEADERS
10a20aaa2426eff21e054473bbcab8cd2f104e59colm#include <stdlib.h>
10a20aaa2426eff21e054473bbcab8cd2f104e59colm#include <stddef.h>
10a20aaa2426eff21e054473bbcab8cd2f104e59colm#endif
10a20aaa2426eff21e054473bbcab8cd2f104e59colmEOF
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fieldingif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
f4a8b04b47f09a21b65646b66b19c9649ff7f03arbb egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
7a0780c774fcd7823d2e3a79f55b2f3522602992clar rm -rf conftest*
7a0780c774fcd7823d2e3a79f55b2f3522602992clar ac_cv_type_size_t=yes
f4a8b04b47f09a21b65646b66b19c9649ff7f03arbbelse
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding rm -rf conftest*
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding ac_cv_type_size_t=no
7a0780c774fcd7823d2e3a79f55b2f3522602992clarfi
cbe23d0a0ff097b3d544d714657452abc80e3c87fieldingrm -f conftest*
e8f95a682820a599fe41b22977010636be5c2717jim
7a0780c774fcd7823d2e3a79f55b2f3522602992clarfi
6c89821fd5574fe8f2d97f4b44aa2ca2604c0d19trawickecho "$ac_t""$ac_cv_type_size_t" 1>&6
6c89821fd5574fe8f2d97f4b44aa2ca2604c0d19trawickif test $ac_cv_type_size_t = no; then
6c89821fd5574fe8f2d97f4b44aa2ca2604c0d19trawick cat >> confdefs.h <<\EOF
7a0780c774fcd7823d2e3a79f55b2f3522602992clar#define size_t unsigned
7a0780c774fcd7823d2e3a79f55b2f3522602992clarEOF
e8f95a682820a599fe41b22977010636be5c2717jim
7a0780c774fcd7823d2e3a79f55b2f3522602992clarfi
7a0780c774fcd7823d2e3a79f55b2f3522602992clar
7a0780c774fcd7823d2e3a79f55b2f3522602992clarecho $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
e8f95a682820a599fe41b22977010636be5c2717jimecho "configure:1737: checking whether time.h and sys/time.h may both be included" >&5
7a0780c774fcd7823d2e3a79f55b2f3522602992clarif eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
ae491e926e412a749fc27c0d79f8d953a8d9a153brianp echo $ac_n "(cached) $ac_c" 1>&6
4729a2e31b3afeaf2423fc8334f18628efb8fab7jortonelse
e8f95a682820a599fe41b22977010636be5c2717jim cat > conftest.$ac_ext <<EOF
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding#line 1742 "configure"
ae491e926e412a749fc27c0d79f8d953a8d9a153brianp#include "confdefs.h"
7a0780c774fcd7823d2e3a79f55b2f3522602992clar#include <sys/types.h>
7a0780c774fcd7823d2e3a79f55b2f3522602992clar#include <sys/time.h>
7a0780c774fcd7823d2e3a79f55b2f3522602992clar#include <time.h>
7a0780c774fcd7823d2e3a79f55b2f3522602992clarint main() {
7a0780c774fcd7823d2e3a79f55b2f3522602992clarstruct tm *tp;
e8f95a682820a599fe41b22977010636be5c2717jim; return 0; }
0938450cadc9a083d112a86bc7dd7ae34f791364trawickEOF
e23b77006a8b079c0ad52e42ba2029e759455b8fjortonif { (eval echo configure:1751: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
860d483ae528603f7e1f962903e71ac28358bef6wrowe rm -rf conftest*
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton ac_cv_header_time=yes
e23b77006a8b079c0ad52e42ba2029e759455b8fjortonelse
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton echo "configure: failed program was:" >&5
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton cat conftest.$ac_ext >&5
860d483ae528603f7e1f962903e71ac28358bef6wrowe rm -rf conftest*
7a0780c774fcd7823d2e3a79f55b2f3522602992clar ac_cv_header_time=no
7a0780c774fcd7823d2e3a79f55b2f3522602992clarfi
7a0780c774fcd7823d2e3a79f55b2f3522602992clarrm -f conftest*
7a0780c774fcd7823d2e3a79f55b2f3522602992clarfi
7a0780c774fcd7823d2e3a79f55b2f3522602992clar
7a0780c774fcd7823d2e3a79f55b2f3522602992clarecho "$ac_t""$ac_cv_header_time" 1>&6
7a0780c774fcd7823d2e3a79f55b2f3522602992clarif test $ac_cv_header_time = yes; then
7a0780c774fcd7823d2e3a79f55b2f3522602992clar cat >> confdefs.h <<\EOF
7a0780c774fcd7823d2e3a79f55b2f3522602992clar#define TIME_WITH_SYS_TIME 1
7a0780c774fcd7823d2e3a79f55b2f3522602992clarEOF
7a0780c774fcd7823d2e3a79f55b2f3522602992clar
7a0780c774fcd7823d2e3a79f55b2f3522602992clarfi
7a0780c774fcd7823d2e3a79f55b2f3522602992clar
0938450cadc9a083d112a86bc7dd7ae34f791364trawick
7a0780c774fcd7823d2e3a79f55b2f3522602992clarecho $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
0938450cadc9a083d112a86bc7dd7ae34f791364trawickecho "configure:1773: checking for pthread_create in -lpthread" >&5
7a0780c774fcd7823d2e3a79f55b2f3522602992clarac_lib_var=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
7a0780c774fcd7823d2e3a79f55b2f3522602992clarif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
e7983ce746b0df56a1b74b42da6d82f5ecb99349covener echo $ac_n "(cached) $ac_c" 1>&6
e7983ce746b0df56a1b74b42da6d82f5ecb99349covenerelse
e7983ce746b0df56a1b74b42da6d82f5ecb99349covener ac_save_LIBS="$LIBS"
e7983ce746b0df56a1b74b42da6d82f5ecb99349covenerLIBS="-lpthread $LIBS"
e7983ce746b0df56a1b74b42da6d82f5ecb99349covenercat > conftest.$ac_ext <<EOF
e7983ce746b0df56a1b74b42da6d82f5ecb99349covener#line 1781 "configure"
e7983ce746b0df56a1b74b42da6d82f5ecb99349covener#include "confdefs.h"
7a0780c774fcd7823d2e3a79f55b2f3522602992clar/* Override any gcc2 internal prototype to avoid an error. */
7a0780c774fcd7823d2e3a79f55b2f3522602992clar/* We use char because int might match the return type of a gcc2
0938450cadc9a083d112a86bc7dd7ae34f791364trawick builtin and then its argument prototype would still apply. */
42530a2f3c65ed623376b86644e1b0e02f1393c0trawickchar pthread_create();
1fbf6ba0f5207e6637b49f9a9dfcc779bbe952a9trawick
42530a2f3c65ed623376b86644e1b0e02f1393c0trawickint main() {
a11e2095659d05a53e58e8f4ebf92acf8de1d5abtrawickpthread_create()
42530a2f3c65ed623376b86644e1b0e02f1393c0trawick; return 0; }
42530a2f3c65ed623376b86644e1b0e02f1393c0trawickEOF
42530a2f3c65ed623376b86644e1b0e02f1393c0trawickif { (eval echo configure:1792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
42530a2f3c65ed623376b86644e1b0e02f1393c0trawick rm -rf conftest*
42530a2f3c65ed623376b86644e1b0e02f1393c0trawick eval "ac_cv_lib_$ac_lib_var=yes"
1fbf6ba0f5207e6637b49f9a9dfcc779bbe952a9trawickelse
42530a2f3c65ed623376b86644e1b0e02f1393c0trawick echo "configure: failed program was:" >&5
42530a2f3c65ed623376b86644e1b0e02f1393c0trawick cat conftest.$ac_ext >&5
42530a2f3c65ed623376b86644e1b0e02f1393c0trawick rm -rf conftest*
42530a2f3c65ed623376b86644e1b0e02f1393c0trawick eval "ac_cv_lib_$ac_lib_var=no"
42530a2f3c65ed623376b86644e1b0e02f1393c0trawickfi
873c287c391b0bbc4719b68bb84946515811e1batrawickrm -f conftest*
b687b9ffafd5ef30eba98ab64b64b2ec8d192970jortonLIBS="$ac_save_LIBS"
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton
e23b77006a8b079c0ad52e42ba2029e759455b8fjortonfi
e23b77006a8b079c0ad52e42ba2029e759455b8fjortonif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton echo "$ac_t""yes" 1>&6
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton ac_tr_lib=HAVE_LIB`echo pthread | sed -e 's/[^a-zA-Z0-9_]/_/g' \
42530a2f3c65ed623376b86644e1b0e02f1393c0trawick -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
42530a2f3c65ed623376b86644e1b0e02f1393c0trawick cat >> confdefs.h <<EOF
42530a2f3c65ed623376b86644e1b0e02f1393c0trawick#define $ac_tr_lib 1
42530a2f3c65ed623376b86644e1b0e02f1393c0trawickEOF
42530a2f3c65ed623376b86644e1b0e02f1393c0trawick
42530a2f3c65ed623376b86644e1b0e02f1393c0trawick LIBS="-lpthread $LIBS"
42530a2f3c65ed623376b86644e1b0e02f1393c0trawick
7a0780c774fcd7823d2e3a79f55b2f3522602992clarelse
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding echo "$ac_t""no" 1>&6
cbe23d0a0ff097b3d544d714657452abc80e3c87fieldingecho $ac_n "checking for __pthread_create in -lpthread""... $ac_c" 1>&6
51469a0d2057aa24107b6f5a04e145824e10da1fdirkxecho "configure:1818: checking for __pthread_create in -lpthread" >&5
cbe23d0a0ff097b3d544d714657452abc80e3c87fieldingac_lib_var=`echo pthread'_'__pthread_create | sed 'y%./+-%__p_%'`
51469a0d2057aa24107b6f5a04e145824e10da1fdirkxif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7a0780c774fcd7823d2e3a79f55b2f3522602992clar echo $ac_n "(cached) $ac_c" 1>&6
51469a0d2057aa24107b6f5a04e145824e10da1fdirkxelse
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding ac_save_LIBS="$LIBS"
7a0780c774fcd7823d2e3a79f55b2f3522602992clarLIBS="-lpthread $LIBS"
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fieldingcat > conftest.$ac_ext <<EOF
10a20aaa2426eff21e054473bbcab8cd2f104e59colm#line 1826 "configure"
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding#include "confdefs.h"
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding/* Override any gcc2 internal prototype to avoid an error. */
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding/* We use char because int might match the return type of a gcc2
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding builtin and then its argument prototype would still apply. */
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fieldingchar __pthread_create();
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fieldingint main() {
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding__pthread_create()
10a20aaa2426eff21e054473bbcab8cd2f104e59colm; return 0; }
b1e4d2a8c034f153bbccb7db463e46efe7f1e6eafieldingEOF
842ae4bd224140319ae7feec1872b93dfd491143fieldingif { (eval echo configure:1837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7a0780c774fcd7823d2e3a79f55b2f3522602992clar rm -rf conftest*
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding eval "ac_cv_lib_$ac_lib_var=yes"
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fieldingelse
7a0780c774fcd7823d2e3a79f55b2f3522602992clar echo "configure: failed program was:" >&5
10a20aaa2426eff21e054473bbcab8cd2f104e59colm cat conftest.$ac_ext >&5
b1e4d2a8c034f153bbccb7db463e46efe7f1e6eafielding rm -rf conftest*
842ae4bd224140319ae7feec1872b93dfd491143fielding eval "ac_cv_lib_$ac_lib_var=no"
7a0780c774fcd7823d2e3a79f55b2f3522602992clarfi
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fieldingrm -f conftest*
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fieldingLIBS="$ac_save_LIBS"
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fieldingfi
f184f3f28a789690e4074010a1ec23152278ae27trawickif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding echo "$ac_t""yes" 1>&6
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx ac_tr_lib=HAVE_LIB`echo pthread | sed -e 's/^a-zA-Z0-9_/_/g' \
860d483ae528603f7e1f962903e71ac28358bef6wrowe -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
7a0780c774fcd7823d2e3a79f55b2f3522602992clar cat >> confdefs.h <<EOF
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx#define $ac_tr_lib 1
7a0780c774fcd7823d2e3a79f55b2f3522602992clarEOF
0dc6646c45fa62f694e216fcf0323560e358c9d7sctemme
0dc6646c45fa62f694e216fcf0323560e358c9d7sctemme LIBS="-lpthread $LIBS"
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fieldingelse
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding echo "$ac_t""no" 1>&6
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fieldingfi
b8fbac7d9e095a4cf4679d0a4b7a678baf9e319ecolm
0dc6646c45fa62f694e216fcf0323560e358c9d7sctemme echo $ac_n "checking for __pthread_create_system in -lpthread""... $ac_c" 1>&6
10abdcbd7b30d957d15c61ea8100ba97a627ac95minfrinecho "configure:1865: checking for __pthread_create_system in -lpthread" >&5
0dc6646c45fa62f694e216fcf0323560e358c9d7sctemmeac_lib_var=`echo pthread'_'__pthread_create_system | sed 'y%./+-%__p_%'`
0dc6646c45fa62f694e216fcf0323560e358c9d7sctemmeif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
0dc6646c45fa62f694e216fcf0323560e358c9d7sctemme echo $ac_n "(cached) $ac_c" 1>&6
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fieldingelse
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding ac_save_LIBS="$LIBS"
d0a46853bff16e9598a3298f262b0d3fd58d6c53martinLIBS="-lpthread $LIBS"
d0a46853bff16e9598a3298f262b0d3fd58d6c53martincat > conftest.$ac_ext <<EOF
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding#line 1873 "configure"
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding#include "confdefs.h"
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding/* Override any gcc2 internal prototype to avoid an error. */
0c91eb357c3be87cd0c794070252bcce31b4ab36jwoolley/* We use char because int might match the return type of a gcc2
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding builtin and then its argument prototype would still apply. */
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fieldingchar __pthread_create_system();
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding
51469a0d2057aa24107b6f5a04e145824e10da1fdirkxint main() {
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding__pthread_create_system()
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx; return 0; }
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fieldingEOF
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fieldingif { (eval echo configure:1884: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx rm -rf conftest*
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx eval "ac_cv_lib_$ac_lib_var=yes"
51469a0d2057aa24107b6f5a04e145824e10da1fdirkxelse
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx echo "configure: failed program was:" >&5
81bd9331da3bd0f53255d52b1475480ff3a4b395trawick cat conftest.$ac_ext >&5
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton rm -rf conftest*
860d483ae528603f7e1f962903e71ac28358bef6wrowe eval "ac_cv_lib_$ac_lib_var=no"
e23b77006a8b079c0ad52e42ba2029e759455b8fjortonfi
e23b77006a8b079c0ad52e42ba2029e759455b8fjortonrm -f conftest*
51469a0d2057aa24107b6f5a04e145824e10da1fdirkxLIBS="$ac_save_LIBS"
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fieldingfi
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fieldingif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding echo "$ac_t""yes" 1>&6
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding ac_tr_lib=HAVE_LIB`echo pthread | sed -e 's/^a-zA-Z0-9_/_/g' \
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding cat >> confdefs.h <<EOF
c2989417297fc5ad287068f41a7972349c44ca2etakashi#define $ac_tr_lib 1
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fieldingEOF
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding LIBS="-lpthread $LIBS"
b7faa60a6790e84452c16e5dfb3bde2c52a1030dtrawick
b7faa60a6790e84452c16e5dfb3bde2c52a1030dtrawickelse
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding echo "$ac_t""no" 1>&6
f33c2c86b419be97248c5289b71738b5f0c7ab0adirkxfi
f33c2c86b419be97248c5289b71738b5f0c7ab0adirkx
f33c2c86b419be97248c5289b71738b5f0c7ab0adirkx
5f78437b5cfcb2da3856ba9fb17ddc58adf04e44wrowefi
7a0780c774fcd7823d2e3a79f55b2f3522602992clar
7d830dad21898cfebcb6c7c8b81a835ecae7665adirkx
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton#
5f78437b5cfcb2da3856ba9fb17ddc58adf04e44wrowe# We'd like to use sigwait() too
5f78437b5cfcb2da3856ba9fb17ddc58adf04e44wrowe#
51469a0d2057aa24107b6f5a04e145824e10da1fdirkxecho $ac_n "checking for sigwait in -lc""... $ac_c" 1>&6
860d483ae528603f7e1f962903e71ac28358bef6wroweecho "configure:1919: checking for sigwait in -lc" >&5
51469a0d2057aa24107b6f5a04e145824e10da1fdirkxac_lib_var=`echo c'_'sigwait | sed 'y%./+-%__p_%'`
7a0780c774fcd7823d2e3a79f55b2f3522602992clarif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton echo $ac_n "(cached) $ac_c" 1>&6
51469a0d2057aa24107b6f5a04e145824e10da1fdirkxelse
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx ac_save_LIBS="$LIBS"
51469a0d2057aa24107b6f5a04e145824e10da1fdirkxLIBS="-lc $LIBS"
7a0780c774fcd7823d2e3a79f55b2f3522602992clarcat > conftest.$ac_ext <<EOF
7a0780c774fcd7823d2e3a79f55b2f3522602992clar#line 1927 "configure"
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx#include "confdefs.h"
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx/* Override any gcc2 internal prototype to avoid an error. */
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx/* We use char because int might match the return type of a gcc2
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding builtin and then its argument prototype would still apply. */
7a0780c774fcd7823d2e3a79f55b2f3522602992clarchar sigwait();
6eac5bfce4c68cf5f1d0615586090af2ae688bc1takashi
b7faa60a6790e84452c16e5dfb3bde2c52a1030dtrawickint main() {
b7faa60a6790e84452c16e5dfb3bde2c52a1030dtrawicksigwait()
7a0780c774fcd7823d2e3a79f55b2f3522602992clar; return 0; }
b7faa60a6790e84452c16e5dfb3bde2c52a1030dtrawickEOF
c2cc37797238c6f97818d701fbb075b6107507cabrianpif { (eval echo configure:1938: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding rm -rf conftest*
7a0780c774fcd7823d2e3a79f55b2f3522602992clar eval "ac_cv_lib_$ac_lib_var=yes"
7a0780c774fcd7823d2e3a79f55b2f3522602992clarelse
c330df4777ee0ff23f104003559a5c4c9e0e5070trawick echo "configure: failed program was:" >&5
b7faa60a6790e84452c16e5dfb3bde2c52a1030dtrawick cat conftest.$ac_ext >&5
7a0780c774fcd7823d2e3a79f55b2f3522602992clar rm -rf conftest*
c330df4777ee0ff23f104003559a5c4c9e0e5070trawick eval "ac_cv_lib_$ac_lib_var=no"
f33c2c86b419be97248c5289b71738b5f0c7ab0adirkxfi
7a0780c774fcd7823d2e3a79f55b2f3522602992clarrm -f conftest*
7d830dad21898cfebcb6c7c8b81a835ecae7665adirkxLIBS="$ac_save_LIBS"
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton
5f78437b5cfcb2da3856ba9fb17ddc58adf04e44wrowefi
5f78437b5cfcb2da3856ba9fb17ddc58adf04e44wroweif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5f78437b5cfcb2da3856ba9fb17ddc58adf04e44wrowe echo "$ac_t""yes" 1>&6
7a0780c774fcd7823d2e3a79f55b2f3522602992clar cat >> confdefs.h <<\EOF
5f78437b5cfcb2da3856ba9fb17ddc58adf04e44wrowe#define HAVE_SIGWAIT 1
5f78437b5cfcb2da3856ba9fb17ddc58adf04e44wroweEOF
f33c2c86b419be97248c5289b71738b5f0c7ab0adirkx
7d830dad21898cfebcb6c7c8b81a835ecae7665adirkxelse
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton echo "$ac_t""no" 1>&6
f33c2c86b419be97248c5289b71738b5f0c7ab0adirkxecho $ac_n "checking for sigwait in -lpthread""... $ac_c" 1>&6
f33c2c86b419be97248c5289b71738b5f0c7ab0adirkxecho "configure:1960: checking for sigwait in -lpthread" >&5
f33c2c86b419be97248c5289b71738b5f0c7ab0adirkxac_lib_var=`echo pthread'_'sigwait | sed 'y%./+-%__p_%'`
7a0780c774fcd7823d2e3a79f55b2f3522602992clarif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
f33c2c86b419be97248c5289b71738b5f0c7ab0adirkx echo $ac_n "(cached) $ac_c" 1>&6
7a0780c774fcd7823d2e3a79f55b2f3522602992clarelse
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding ac_save_LIBS="$LIBS"
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fieldingLIBS="-lpthread $LIBS"
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fieldingcat > conftest.$ac_ext <<EOF
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding#line 1968 "configure"
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding#include "confdefs.h"
9667009c60cf53ad7f1bfe9b73efecf403956d9dtrawick/* Override any gcc2 internal prototype to avoid an error. */
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding/* We use char because int might match the return type of a gcc2
9667009c60cf53ad7f1bfe9b73efecf403956d9dtrawick builtin and then its argument prototype would still apply. */
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fieldingchar sigwait();
070b7b27d5091386c10b5db112fb4127b542f9b9jorton
1ccd992d37d62c8cb2056126f2234f64ec189bfddougmint main() {
6848ee075aecccf3d422a6a72d358b087cf7a4a6trawicksigwait()
6848ee075aecccf3d422a6a72d358b087cf7a4a6trawick; return 0; }
f4a8b04b47f09a21b65646b66b19c9649ff7f03arbbEOF
070b7b27d5091386c10b5db112fb4127b542f9b9jortonif { (eval echo configure:1979: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6848ee075aecccf3d422a6a72d358b087cf7a4a6trawick rm -rf conftest*
070b7b27d5091386c10b5db112fb4127b542f9b9jorton eval "ac_cv_lib_$ac_lib_var=yes"
070b7b27d5091386c10b5db112fb4127b542f9b9jortonelse
7a0780c774fcd7823d2e3a79f55b2f3522602992clar echo "configure: failed program was:" >&5
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding cat conftest.$ac_ext >&5
f4a8b04b47f09a21b65646b66b19c9649ff7f03arbb rm -rf conftest*
2d5be8d0085e1afb09881a5617ce443565e98b33rpluem eval "ac_cv_lib_$ac_lib_var=no"
2d5be8d0085e1afb09881a5617ce443565e98b33rpluemfi
2d5be8d0085e1afb09881a5617ce443565e98b33rpluemrm -f conftest*
2d5be8d0085e1afb09881a5617ce443565e98b33rpluemLIBS="$ac_save_LIBS"
2d5be8d0085e1afb09881a5617ce443565e98b33rpluem
2d5be8d0085e1afb09881a5617ce443565e98b33rpluemfi
d37377982fe3219083902f67dd667f1808f5547dwroweif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
070b7b27d5091386c10b5db112fb4127b542f9b9jorton echo "$ac_t""yes" 1>&6
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding cat >> confdefs.h <<\EOF
070b7b27d5091386c10b5db112fb4127b542f9b9jorton#define HAVE_SIGWAIT 1
7a0780c774fcd7823d2e3a79f55b2f3522602992clarEOF
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding
070b7b27d5091386c10b5db112fb4127b542f9b9jortonelse
6848ee075aecccf3d422a6a72d358b087cf7a4a6trawick echo "$ac_t""no" 1>&6
070b7b27d5091386c10b5db112fb4127b542f9b9jortonecho $ac_n "checking for _Psigwait in -lpthread""... $ac_c" 1>&6
070b7b27d5091386c10b5db112fb4127b542f9b9jortonecho "configure:2001: checking for _Psigwait in -lpthread" >&5
7a0780c774fcd7823d2e3a79f55b2f3522602992clarac_lib_var=`echo pthread'_'_Psigwait | sed 'y%./+-%__p_%'`
6848ee075aecccf3d422a6a72d358b087cf7a4a6trawickif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
066877f1a045103acfdd376d48cdd473c33f409bdougm echo $ac_n "(cached) $ac_c" 1>&6
9667009c60cf53ad7f1bfe9b73efecf403956d9dtrawickelse
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding ac_save_LIBS="$LIBS"
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fieldingLIBS="-lpthread $LIBS"
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fieldingcat > conftest.$ac_ext <<EOF
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding#line 2009 "configure"
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding#include "confdefs.h"
563fa6715f6ad5703d30354644d61968a8460804wrowe/* Override any gcc2 internal prototype to avoid an error. */
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding/* We use char because int might match the return type of a gcc2
9667009c60cf53ad7f1bfe9b73efecf403956d9dtrawick builtin and then its argument prototype would still apply. */
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fieldingchar _Psigwait();
1ccd992d37d62c8cb2056126f2234f64ec189bfddougm
a0b0ab24196a69d18cc410363e8d85e28fd01dbewroweint main() {
0bcc11df5f030cf62289599a25f5831913a4b438trawick_Psigwait()
a0b0ab24196a69d18cc410363e8d85e28fd01dbewrowe; return 0; }
e23b77006a8b079c0ad52e42ba2029e759455b8fjortonEOF
ee6367f61ca2ece7c95a923780bbb3dc312bb812fuankgif { (eval echo configure:2020: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton rm -rf conftest*
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding eval "ac_cv_lib_$ac_lib_var=yes"
d0a46853bff16e9598a3298f262b0d3fd58d6c53martinelse
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding echo "configure: failed program was:" >&5
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding cat conftest.$ac_ext >&5
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding rm -rf conftest*
c2cc37797238c6f97818d701fbb075b6107507cabrianp eval "ac_cv_lib_$ac_lib_var=no"
c2cc37797238c6f97818d701fbb075b6107507cabrianpfi
51469a0d2057aa24107b6f5a04e145824e10da1fdirkxrm -f conftest*
c2cc37797238c6f97818d701fbb075b6107507cabrianpLIBS="$ac_save_LIBS"
f4a8b04b47f09a21b65646b66b19c9649ff7f03arbb
563fa6715f6ad5703d30354644d61968a8460804wrowefi
e14ec68ef48bbf6c3dc567900f9e087eaf0bc931trawickif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
066877f1a045103acfdd376d48cdd473c33f409bdougm echo "$ac_t""yes" 1>&6
f4a8b04b47f09a21b65646b66b19c9649ff7f03arbb cat >> confdefs.h <<\EOF
f4a8b04b47f09a21b65646b66b19c9649ff7f03arbb#define HAVE_SIGWAIT 1
b7a97b0024575459fe2534c51867411358834501martinEOF
f4a8b04b47f09a21b65646b66b19c9649ff7f03arbb
7a0780c774fcd7823d2e3a79f55b2f3522602992clarelse
7a0780c774fcd7823d2e3a79f55b2f3522602992clar echo "$ac_t""no" 1>&6
f4a8b04b47f09a21b65646b66b19c9649ff7f03arbbfi
b7a97b0024575459fe2534c51867411358834501martin
f4a8b04b47f09a21b65646b66b19c9649ff7f03arbbfi
7a0780c774fcd7823d2e3a79f55b2f3522602992clar
7a0780c774fcd7823d2e3a79f55b2f3522602992clar
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fieldingfi
b980ad7fdc218b4855cde9f75a747527f50c554dwrowe
0ac82bcfac2634ae7f5feeb7040989bebaadc48btrawick
7a0780c774fcd7823d2e3a79f55b2f3522602992clar#
7a0780c774fcd7823d2e3a79f55b2f3522602992clar# Additional OS-specific issues related to pthreads.
0ac82bcfac2634ae7f5feeb7040989bebaadc48btrawick#
f4a8b04b47f09a21b65646b66b19c9649ff7f03arbbcase "$host" in
f4a8b04b47f09a21b65646b66b19c9649ff7f03arbb #
066877f1a045103acfdd376d48cdd473c33f409bdougm # One more place to look for sigwait.
10abdcbd7b30d957d15c61ea8100ba97a627ac95minfrin #
860d483ae528603f7e1f962903e71ac28358bef6wrowe *-freebsd*)
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton echo $ac_n "checking for sigwait in -lc_r""... $ac_c" 1>&6
51469a0d2057aa24107b6f5a04e145824e10da1fdirkxecho "configure:2058: checking for sigwait in -lc_r" >&5
7a0780c774fcd7823d2e3a79f55b2f3522602992clarac_lib_var=`echo c_r'_'sigwait | sed 'y%./+-%__p_%'`
7a0780c774fcd7823d2e3a79f55b2f3522602992clarif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7a0780c774fcd7823d2e3a79f55b2f3522602992clar echo $ac_n "(cached) $ac_c" 1>&6
7a0780c774fcd7823d2e3a79f55b2f3522602992clarelse
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding ac_save_LIBS="$LIBS"
7a0780c774fcd7823d2e3a79f55b2f3522602992clarLIBS="-lc_r $LIBS"
7a0780c774fcd7823d2e3a79f55b2f3522602992clarcat > conftest.$ac_ext <<EOF
7a0780c774fcd7823d2e3a79f55b2f3522602992clar#line 2066 "configure"
7a0780c774fcd7823d2e3a79f55b2f3522602992clar#include "confdefs.h"
7a0780c774fcd7823d2e3a79f55b2f3522602992clar/* Override any gcc2 internal prototype to avoid an error. */
7a0780c774fcd7823d2e3a79f55b2f3522602992clar/* We use char because int might match the return type of a gcc2
7a0780c774fcd7823d2e3a79f55b2f3522602992clar builtin and then its argument prototype would still apply. */
7a0780c774fcd7823d2e3a79f55b2f3522602992clarchar sigwait();
7a0780c774fcd7823d2e3a79f55b2f3522602992clar
7a0780c774fcd7823d2e3a79f55b2f3522602992clarint main() {
7a0780c774fcd7823d2e3a79f55b2f3522602992clarsigwait()
7a0780c774fcd7823d2e3a79f55b2f3522602992clar; return 0; }
b8fbac7d9e095a4cf4679d0a4b7a678baf9e319ecolmEOF
b8fbac7d9e095a4cf4679d0a4b7a678baf9e319ecolmif { (eval echo configure:2077: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
b8fbac7d9e095a4cf4679d0a4b7a678baf9e319ecolm rm -rf conftest*
7a0780c774fcd7823d2e3a79f55b2f3522602992clar eval "ac_cv_lib_$ac_lib_var=yes"
d321fe00a917cfbe45929d741d74e2c89960b0b8trawickelse
d321fe00a917cfbe45929d741d74e2c89960b0b8trawick echo "configure: failed program was:" >&5
d321fe00a917cfbe45929d741d74e2c89960b0b8trawick cat conftest.$ac_ext >&5
7a0780c774fcd7823d2e3a79f55b2f3522602992clar rm -rf conftest*
7a0780c774fcd7823d2e3a79f55b2f3522602992clar eval "ac_cv_lib_$ac_lib_var=no"
7a0780c774fcd7823d2e3a79f55b2f3522602992clarfi
7a0780c774fcd7823d2e3a79f55b2f3522602992clarrm -f conftest*
7a0780c774fcd7823d2e3a79f55b2f3522602992clarLIBS="$ac_save_LIBS"
7a0780c774fcd7823d2e3a79f55b2f3522602992clar
7a0780c774fcd7823d2e3a79f55b2f3522602992clarfi
7a0780c774fcd7823d2e3a79f55b2f3522602992clarif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7a0780c774fcd7823d2e3a79f55b2f3522602992clar echo "$ac_t""yes" 1>&6
7a0780c774fcd7823d2e3a79f55b2f3522602992clar cat >> confdefs.h <<\EOF
7a0780c774fcd7823d2e3a79f55b2f3522602992clar#define HAVE_SIGWAIT 1
7a0780c774fcd7823d2e3a79f55b2f3522602992clarEOF
7a0780c774fcd7823d2e3a79f55b2f3522602992clar
7a0780c774fcd7823d2e3a79f55b2f3522602992clarelse
d321fe00a917cfbe45929d741d74e2c89960b0b8trawick echo "$ac_t""no" 1>&6
d321fe00a917cfbe45929d741d74e2c89960b0b8trawickfi
9667009c60cf53ad7f1bfe9b73efecf403956d9dtrawick
9667009c60cf53ad7f1bfe9b73efecf403956d9dtrawick ;;
7a0780c774fcd7823d2e3a79f55b2f3522602992clar #
d321fe00a917cfbe45929d741d74e2c89960b0b8trawick # BSDI 3.1 through 4.0.1 needs pthread_init() to be called before
d321fe00a917cfbe45929d741d74e2c89960b0b8trawick # certain pthreads calls. This is deprecated in BSD/OS 4.1.
7a0780c774fcd7823d2e3a79f55b2f3522602992clar #
10abdcbd7b30d957d15c61ea8100ba97a627ac95minfrin *-bsdi3.1*|*-bsdi4.0*)
d321fe00a917cfbe45929d741d74e2c89960b0b8trawick cat >> confdefs.h <<\EOF
d321fe00a917cfbe45929d741d74e2c89960b0b8trawick#define NEED_PTHREAD_INIT 1
9667009c60cf53ad7f1bfe9b73efecf403956d9dtrawickEOF
9667009c60cf53ad7f1bfe9b73efecf403956d9dtrawick
10abdcbd7b30d957d15c61ea8100ba97a627ac95minfrin ;;
d321fe00a917cfbe45929d741d74e2c89960b0b8trawick #
d321fe00a917cfbe45929d741d74e2c89960b0b8trawick # LinuxThreads requires some changes to the way we deal with signals.
10abdcbd7b30d957d15c61ea8100ba97a627ac95minfrin #
81bd9331da3bd0f53255d52b1475480ff3a4b395trawick *-linux*)
81bd9331da3bd0f53255d52b1475480ff3a4b395trawick cat >> confdefs.h <<\EOF
81bd9331da3bd0f53255d52b1475480ff3a4b395trawick#define HAVE_LINUXTHREADS 1
7a0780c774fcd7823d2e3a79f55b2f3522602992clarEOF
7a0780c774fcd7823d2e3a79f55b2f3522602992clar
7a0780c774fcd7823d2e3a79f55b2f3522602992clar ;;
7a0780c774fcd7823d2e3a79f55b2f3522602992clar #
7a0780c774fcd7823d2e3a79f55b2f3522602992clar # Ensure the right sigwait() semantics on Solaris.
7a0780c774fcd7823d2e3a79f55b2f3522602992clar #
7a0780c774fcd7823d2e3a79f55b2f3522602992clar *-solaris*)
7a0780c774fcd7823d2e3a79f55b2f3522602992clar cat >> confdefs.h <<\EOF
7a0780c774fcd7823d2e3a79f55b2f3522602992clar#define _POSIX_PTHREAD_SEMANTICS 1
7a0780c774fcd7823d2e3a79f55b2f3522602992clarEOF
7a0780c774fcd7823d2e3a79f55b2f3522602992clar
7a0780c774fcd7823d2e3a79f55b2f3522602992clar ;;
7a0780c774fcd7823d2e3a79f55b2f3522602992claresac
7a0780c774fcd7823d2e3a79f55b2f3522602992clar
7a0780c774fcd7823d2e3a79f55b2f3522602992clar#
7a0780c774fcd7823d2e3a79f55b2f3522602992clar# NLS
7a0780c774fcd7823d2e3a79f55b2f3522602992clar#
7a0780c774fcd7823d2e3a79f55b2f3522602992clarecho $ac_n "checking for catgets""... $ac_c" 1>&6
7a0780c774fcd7823d2e3a79f55b2f3522602992clarecho "configure:2135: checking for catgets" >&5
7a0780c774fcd7823d2e3a79f55b2f3522602992clarif eval "test \"`echo '$''{'ac_cv_func_catgets'+set}'`\" = set"; then
7a0780c774fcd7823d2e3a79f55b2f3522602992clar echo $ac_n "(cached) $ac_c" 1>&6
7a0780c774fcd7823d2e3a79f55b2f3522602992clarelse
7a0780c774fcd7823d2e3a79f55b2f3522602992clar cat > conftest.$ac_ext <<EOF
7a0780c774fcd7823d2e3a79f55b2f3522602992clar#line 2140 "configure"
7a0780c774fcd7823d2e3a79f55b2f3522602992clar#include "confdefs.h"
7a0780c774fcd7823d2e3a79f55b2f3522602992clar/* System header to define __stub macros and hopefully few prototypes,
e8f95a682820a599fe41b22977010636be5c2717jim which can conflict with char catgets(); below. */
7a0780c774fcd7823d2e3a79f55b2f3522602992clar#include <assert.h>
7a0780c774fcd7823d2e3a79f55b2f3522602992clar/* Override any gcc2 internal prototype to avoid an error. */
7a0780c774fcd7823d2e3a79f55b2f3522602992clar/* We use char because int might match the return type of a gcc2
7a0780c774fcd7823d2e3a79f55b2f3522602992clar builtin and then its argument prototype would still apply. */
7a0780c774fcd7823d2e3a79f55b2f3522602992clarchar catgets();
7a0780c774fcd7823d2e3a79f55b2f3522602992clar
51469a0d2057aa24107b6f5a04e145824e10da1fdirkxint main() {
7a0780c774fcd7823d2e3a79f55b2f3522602992clar
7a0780c774fcd7823d2e3a79f55b2f3522602992clar/* The GNU C library defines this for functions which it implements
7a0780c774fcd7823d2e3a79f55b2f3522602992clar to always fail with ENOSYS. Some functions are actually named
7a0780c774fcd7823d2e3a79f55b2f3522602992clar something starting with __ and the normal name is an alias. */
7a0780c774fcd7823d2e3a79f55b2f3522602992clar#if defined (__stub_catgets) || defined (__stub___catgets)
7a0780c774fcd7823d2e3a79f55b2f3522602992clarchoke me
7a0780c774fcd7823d2e3a79f55b2f3522602992clar#else
e8f95a682820a599fe41b22977010636be5c2717jimcatgets();
7a0780c774fcd7823d2e3a79f55b2f3522602992clar#endif
7a0780c774fcd7823d2e3a79f55b2f3522602992clar
7a0780c774fcd7823d2e3a79f55b2f3522602992clar; return 0; }
7a0780c774fcd7823d2e3a79f55b2f3522602992clarEOF
7a0780c774fcd7823d2e3a79f55b2f3522602992clarif { (eval echo configure:2163: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
b8ee7946aa85a6b2eefd7f9fcf2ed5dc69a7103asctemme rm -rf conftest*
b8ee7946aa85a6b2eefd7f9fcf2ed5dc69a7103asctemme eval "ac_cv_func_catgets=yes"
b8ee7946aa85a6b2eefd7f9fcf2ed5dc69a7103asctemmeelse
b8ee7946aa85a6b2eefd7f9fcf2ed5dc69a7103asctemme echo "configure: failed program was:" >&5
b8ee7946aa85a6b2eefd7f9fcf2ed5dc69a7103asctemme cat conftest.$ac_ext >&5
b8ee7946aa85a6b2eefd7f9fcf2ed5dc69a7103asctemme rm -rf conftest*
b8ee7946aa85a6b2eefd7f9fcf2ed5dc69a7103asctemme eval "ac_cv_func_catgets=no"
b8ee7946aa85a6b2eefd7f9fcf2ed5dc69a7103asctemmefi
b8ee7946aa85a6b2eefd7f9fcf2ed5dc69a7103asctemmerm -f conftest*
b8ee7946aa85a6b2eefd7f9fcf2ed5dc69a7103asctemmefi
7a0780c774fcd7823d2e3a79f55b2f3522602992clar
7a0780c774fcd7823d2e3a79f55b2f3522602992clarif eval "test \"`echo '$ac_cv_func_'catgets`\" = yes"; then
7a0780c774fcd7823d2e3a79f55b2f3522602992clar echo "$ac_t""yes" 1>&6
7a0780c774fcd7823d2e3a79f55b2f3522602992clar cat >> confdefs.h <<\EOF
7a0780c774fcd7823d2e3a79f55b2f3522602992clar#define HAVE_CATGETS 1
7a0780c774fcd7823d2e3a79f55b2f3522602992clarEOF
7a0780c774fcd7823d2e3a79f55b2f3522602992clar
7a0780c774fcd7823d2e3a79f55b2f3522602992clarelse
7a0780c774fcd7823d2e3a79f55b2f3522602992clar echo "$ac_t""no" 1>&6
7a0780c774fcd7823d2e3a79f55b2f3522602992clarfi
7a0780c774fcd7823d2e3a79f55b2f3522602992clar
7a0780c774fcd7823d2e3a79f55b2f3522602992clar
7a0780c774fcd7823d2e3a79f55b2f3522602992clar#
7a0780c774fcd7823d2e3a79f55b2f3522602992clar# -lxnet buys us one big porting headache... standards, gotta love 'em.
7a0780c774fcd7823d2e3a79f55b2f3522602992clar#
7a0780c774fcd7823d2e3a79f55b2f3522602992clar# AC_CHECK_LIB(xnet, socket, ,
7a0780c774fcd7823d2e3a79f55b2f3522602992clar# AC_CHECK_LIB(socket, socket)
7a0780c774fcd7823d2e3a79f55b2f3522602992clar# AC_CHECK_LIB(nsl, inet_ntoa)
7a0780c774fcd7823d2e3a79f55b2f3522602992clar# )
7a0780c774fcd7823d2e3a79f55b2f3522602992clar#
7a0780c774fcd7823d2e3a79f55b2f3522602992clar# Use this for now, instead:
7a0780c774fcd7823d2e3a79f55b2f3522602992clar#
7a0780c774fcd7823d2e3a79f55b2f3522602992clarcase "$host" in
7a0780c774fcd7823d2e3a79f55b2f3522602992clar mips-sgi-irix*)
7a0780c774fcd7823d2e3a79f55b2f3522602992clar ;;
7a0780c774fcd7823d2e3a79f55b2f3522602992clar *)
7a0780c774fcd7823d2e3a79f55b2f3522602992clar echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
7a0780c774fcd7823d2e3a79f55b2f3522602992clarecho "configure:2201: checking for socket in -lsocket" >&5
7a0780c774fcd7823d2e3a79f55b2f3522602992clarac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'`
7a0780c774fcd7823d2e3a79f55b2f3522602992clarif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7a0780c774fcd7823d2e3a79f55b2f3522602992clar echo $ac_n "(cached) $ac_c" 1>&6
7a0780c774fcd7823d2e3a79f55b2f3522602992clarelse
7a0780c774fcd7823d2e3a79f55b2f3522602992clar ac_save_LIBS="$LIBS"
7a0780c774fcd7823d2e3a79f55b2f3522602992clarLIBS="-lsocket $LIBS"
7a0780c774fcd7823d2e3a79f55b2f3522602992clarcat > conftest.$ac_ext <<EOF
7a0780c774fcd7823d2e3a79f55b2f3522602992clar#line 2209 "configure"
7a0780c774fcd7823d2e3a79f55b2f3522602992clar#include "confdefs.h"
7a0780c774fcd7823d2e3a79f55b2f3522602992clar/* Override any gcc2 internal prototype to avoid an error. */
7a0780c774fcd7823d2e3a79f55b2f3522602992clar/* We use char because int might match the return type of a gcc2
7a0780c774fcd7823d2e3a79f55b2f3522602992clar builtin and then its argument prototype would still apply. */
7a0780c774fcd7823d2e3a79f55b2f3522602992clarchar socket();
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton
e23b77006a8b079c0ad52e42ba2029e759455b8fjortonint main() {
e23b77006a8b079c0ad52e42ba2029e759455b8fjortonsocket()
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton; return 0; }
e23b77006a8b079c0ad52e42ba2029e759455b8fjortonEOF
e23b77006a8b079c0ad52e42ba2029e759455b8fjortonif { (eval echo configure:2220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton rm -rf conftest*
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton eval "ac_cv_lib_$ac_lib_var=yes"
e23b77006a8b079c0ad52e42ba2029e759455b8fjortonelse
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton echo "configure: failed program was:" >&5
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton cat conftest.$ac_ext >&5
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton rm -rf conftest*
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton eval "ac_cv_lib_$ac_lib_var=no"
e23b77006a8b079c0ad52e42ba2029e759455b8fjortonfi
e23b77006a8b079c0ad52e42ba2029e759455b8fjortonrm -f conftest*
e23b77006a8b079c0ad52e42ba2029e759455b8fjortonLIBS="$ac_save_LIBS"
7a0780c774fcd7823d2e3a79f55b2f3522602992clar
f4a8b04b47f09a21b65646b66b19c9649ff7f03arbbfi
f4a8b04b47f09a21b65646b66b19c9649ff7f03arbbif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
a0b0ab24196a69d18cc410363e8d85e28fd01dbewrowe echo "$ac_t""yes" 1>&6
7a0780c774fcd7823d2e3a79f55b2f3522602992clar ac_tr_lib=HAVE_LIB`echo socket | sed -e 's/[^a-zA-Z0-9_]/_/g' \
7a0780c774fcd7823d2e3a79f55b2f3522602992clar -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding cat >> confdefs.h <<EOF
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding#define $ac_tr_lib 1
d321fe00a917cfbe45929d741d74e2c89960b0b8trawickEOF
d321fe00a917cfbe45929d741d74e2c89960b0b8trawick
d321fe00a917cfbe45929d741d74e2c89960b0b8trawick LIBS="-lsocket $LIBS"
d321fe00a917cfbe45929d741d74e2c89960b0b8trawick
50cf9b8da68bea71ce5a49b4cb4be3be516486bdgsteinelse
7a0780c774fcd7823d2e3a79f55b2f3522602992clar echo "$ac_t""no" 1>&6
7a0780c774fcd7823d2e3a79f55b2f3522602992clarfi
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding echo $ac_n "checking for inet_ntoa in -lnsl""... $ac_c" 1>&6
e5d4e153edb152c76a3aa67904ae8cf30cb0fe5fmadhumecho "configure:2248: checking for inet_ntoa in -lnsl" >&5
7a0780c774fcd7823d2e3a79f55b2f3522602992clarac_lib_var=`echo nsl'_'inet_ntoa | sed 'y%./+-%__p_%'`
e5d4e153edb152c76a3aa67904ae8cf30cb0fe5fmadhumif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1497c28bcca8805a461a57b0036b7fbc11b637b3madhum echo $ac_n "(cached) $ac_c" 1>&6
e5d4e153edb152c76a3aa67904ae8cf30cb0fe5fmadhumelse
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx ac_save_LIBS="$LIBS"
2c8b669a7d58384b7e8e97a5af2cccda77c45ed7jortonLIBS="-lnsl $LIBS"
2c8b669a7d58384b7e8e97a5af2cccda77c45ed7jortoncat > conftest.$ac_ext <<EOF
2c8b669a7d58384b7e8e97a5af2cccda77c45ed7jorton#line 2256 "configure"
2c8b669a7d58384b7e8e97a5af2cccda77c45ed7jorton#include "confdefs.h"
2c8b669a7d58384b7e8e97a5af2cccda77c45ed7jorton/* Override any gcc2 internal prototype to avoid an error. */
2c8b669a7d58384b7e8e97a5af2cccda77c45ed7jorton/* We use char because int might match the return type of a gcc2
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx builtin and then its argument prototype would still apply. */
7a0780c774fcd7823d2e3a79f55b2f3522602992clarchar inet_ntoa();
7a0780c774fcd7823d2e3a79f55b2f3522602992clar
7a0780c774fcd7823d2e3a79f55b2f3522602992clarint main() {
7a0780c774fcd7823d2e3a79f55b2f3522602992clarinet_ntoa()
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx; return 0; }
51469a0d2057aa24107b6f5a04e145824e10da1fdirkxEOF
7a0780c774fcd7823d2e3a79f55b2f3522602992clarif { (eval echo configure:2267: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx rm -rf conftest*
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx eval "ac_cv_lib_$ac_lib_var=yes"
c7760b87a01538ca7cc6a9a7aa3d9d910cfc3fe9wroweelse
c7760b87a01538ca7cc6a9a7aa3d9d910cfc3fe9wrowe echo "configure: failed program was:" >&5
c7760b87a01538ca7cc6a9a7aa3d9d910cfc3fe9wrowe cat conftest.$ac_ext >&5
24b38375e40d3c5ce08f927b7be90b15db900794wrowe rm -rf conftest*
c7760b87a01538ca7cc6a9a7aa3d9d910cfc3fe9wrowe eval "ac_cv_lib_$ac_lib_var=no"
3d5ab266a622a2c6e1907819a6891a0a61f32632wrowefi
51469a0d2057aa24107b6f5a04e145824e10da1fdirkxrm -f conftest*
860d483ae528603f7e1f962903e71ac28358bef6wroweLIBS="$ac_save_LIBS"
860d483ae528603f7e1f962903e71ac28358bef6wrowe
860d483ae528603f7e1f962903e71ac28358bef6wrowefi
e23b77006a8b079c0ad52e42ba2029e759455b8fjortonif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton echo "$ac_t""yes" 1>&6
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton ac_tr_lib=HAVE_LIB`echo nsl | sed -e 's/[^a-zA-Z0-9_]/_/g' \
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton cat >> confdefs.h <<EOF
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton#define $ac_tr_lib 1
e23b77006a8b079c0ad52e42ba2029e759455b8fjortonEOF
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton LIBS="-lnsl $LIBS"
7a0780c774fcd7823d2e3a79f55b2f3522602992clar
7a0780c774fcd7823d2e3a79f55b2f3522602992clarelse
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx echo "$ac_t""no" 1>&6
e23b77006a8b079c0ad52e42ba2029e759455b8fjortonfi
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton ;;
e23b77006a8b079c0ad52e42ba2029e759455b8fjortonesac
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx
33cc48e1677642f4027deb6421ab6d7f3787ee0ffieldingMKDEPCC="$CC"
33cc48e1677642f4027deb6421ab6d7f3787ee0ffieldingMKDEPCFLAGS="-M"
7a0780c774fcd7823d2e3a79f55b2f3522602992clarif test "X$GCC" = "Xyes"; then
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx STD_CWARNINGS="$STD_CWARNINGS -W -Wall -Wmissing-prototypes"
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding case "$host" in
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding *-freebsd*)
30309f86bfd564437654aa822a19cd0cb29ca6f8wrowe CC="$CC -pthread"
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding STD_CDEFINES="$STD_CDEFINES -D_THREAD_SAFE"
5f6e75bc39f8d95c7495ed17e585597cd6bd7fbatrawick ;;
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding *-openbsd*)
CC="$CC -pthread"
;;
*-solaris*)
LIBS="$LIBS -lthread"
;;
esac
else
case "$host" in
*-dec-osf*)
CC="$CC -std -pthread"
MKDEPCC="$CC"
;;
*-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
#
# Networking specifics.
#
case "$host" in
*-dec-osf*)
# Turn on 4.4BSD style sa_len support.
cat >> confdefs.h <<\EOF
#define _SOCKADDR_LEN 1
EOF
;;
esac
#
# Look for a 4.4BSD-style sa_len member in struct sockaddr.
#
echo $ac_n "checking for sa_len in struct sockaddr""... $ac_c" 1>&6
echo "configure:2351: checking for sa_len in struct sockaddr" >&5
cat > conftest.$ac_ext <<EOF
#line 2353 "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:2362: \"$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*
#
# Look for a 4.4BSD or 4.3BSD struct msghdr
#
echo $ac_n "checking for struct msghdr flavor""... $ac_c" 1>&6
echo "configure:2383: checking for struct msghdr flavor" >&5
cat > conftest.$ac_ext <<EOF
#line 2385 "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:2394: \"$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*
#
# Look for in_port_t.
#
echo $ac_n "checking for type in_port_t""... $ac_c" 1>&6
echo "configure:2412: checking for type in_port_t" >&5
cat > conftest.$ac_ext <<EOF
#line 2414 "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:2423: \"$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*
#
# Check for addrinfo
#
echo $ac_n "checking for struct addrinfo""... $ac_c" 1>&6
echo "configure:2441: checking for struct addrinfo" >&5
cat > conftest.$ac_ext <<EOF
#line 2443 "configure"
#include "confdefs.h"
#include <netdb.h>
int main() {
struct addrinfo a; return (0);
; return 0; }
EOF
if { (eval echo configure:2451: \"$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:2466: checking for int sethostent" >&5
cat > conftest.$ac_ext <<EOF
#line 2468 "configure"
#include "confdefs.h"
#include <netdb.h>
int main() {
int i = sethostent(0); return(0);
; return 0; }
EOF
if { (eval echo configure:2476: \"$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:2491: checking for int endhostent" >&5
cat > conftest.$ac_ext <<EOF
#line 2493 "configure"
#include "confdefs.h"
#include <netdb.h>
int main() {
int i = endhostent(); return(0);
; return 0; }
EOF
if { (eval echo configure:2501: \"$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:2516: checking for getnetbyaddr(in_addr_t, ...)" >&5
cat > conftest.$ac_ext <<EOF
#line 2518 "configure"
#include "confdefs.h"
#include <netdb.h>
struct netent *getnetbyaddr(in_addr_t, int);
int main() {
; return 0; }
EOF
if { (eval echo configure:2527: \"$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:2542: checking for int setnetent" >&5
cat > conftest.$ac_ext <<EOF
#line 2544 "configure"
#include "confdefs.h"
#include <netdb.h>
int main() {
int i = setnetent(0); return(0);
; return 0; }
EOF
if { (eval echo configure:2552: \"$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:2567: checking for int endnetent" >&5
cat > conftest.$ac_ext <<EOF
#line 2569 "configure"
#include "confdefs.h"
#include <netdb.h>
int main() {
int i = endnetent(); return(0);
; return 0; }
EOF
if { (eval echo configure:2577: \"$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:2592: checking for gethostbyadd(const void *, size_t, ...)" >&5
cat > conftest.$ac_ext <<EOF
#line 2594 "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:2603: \"$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:2618: checking for h_errno in netdb.h" >&5
cat > conftest.$ac_ext <<EOF
#line 2620 "configure"
#include "confdefs.h"
#include <netdb.h>
int main() {
h_errno = 1; return(0);
; return 0; }
EOF
if { (eval echo configure:2628: \"$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:2643: 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 2648 "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:2671: \"$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:2692: 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 2697 "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:2720: \"$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:2741: 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 2746 "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:2769: \"$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
#
# Look for a sysctl call to get the list of network interfaces.
#
echo $ac_n "checking for interface list sysctl""... $ac_c" 1>&6
echo "configure:2797: checking for interface list sysctl" >&5
cat > conftest.$ac_ext <<EOF
#line 2799 "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*
#
# GNU libtool support
#
# 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:2909: 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:2938: 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:2962: checking for GNU ld" >&5
else
echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
echo "configure:2965: 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:3001: 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:3017: 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:3054: 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 3098 "configure"' > conftest.$ac_ext
if { (eval echo configure:3099: \"$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:3120: 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 3125 "configure"
#include "confdefs.h"
int main() {
; return 0; }
EOF
if { (eval echo configure:3132: \"$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
# File name extension for static archive files, for those few places
# where they are treated differently from dynamic ones.
SA=a
#
# IPv6
#
# Check whether --enable-ipv6 or --disable-ipv6 was given.
if test "${enable_ipv6+set}" = set; then
enableval="$enable_ipv6"
:
fi
#
# We do the IPv6 compilation checking after libtool so that we can put
# the right suffix on the files.
#
case "$enable_ipv6" in
yes|''|autodetect)
echo $ac_n "checking for IPv6 structures""... $ac_c" 1>&6
echo "configure:3269: checking for IPv6 structures" >&5
cat > conftest.$ac_ext <<EOF
#line 3271 "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:3281: \"$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"
echo $ac_n "checking for in6addr_any""... $ac_c" 1>&6
echo "configure:3304: checking for in6addr_any" >&5
cat > conftest.$ac_ext <<EOF
#line 3306 "configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
int main() {
struct in6_addr in6; in6 = in6addr_any; return (0);
; return 0; }
EOF
if { (eval echo configure:3316: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
echo "$ac_t""yes" 1>&6
ISC_PLATFORM_NEEDIN6ADDRANY="#undef ISC_PLATFORM_NEEDIN6ADDRANY"
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
echo "$ac_t""no" 1>&6
ISC_PLATFORM_NEEDIN6ADDRANY="#define ISC_PLATFORM_NEEDIN6ADDRANY 1"
fi
rm -f conftest*
;;
no)
ISC_PLATFORM_HAVEIPV6="#undef ISC_PLATFORM_HAVEIPV6"
LWRES_PLATFORM_HAVEIPV6="#undef LWRES_PLATFORM_HAVEIPV6"
ISC_PLATFORM_NEEDIN6ADDRANY="#undef ISC_PLATFORM_NEEDIN6ADDRANY"
ISC_IPV6_H="ipv6.h"
ISC_IPV6_O="ipv6.$O"
ISC_ISCIPV6_O="unix/ipv6.$O"
ISC_IPV6_C="ipv6.c"
;;
esac
#
# IPv6 support provided via Kame
#
echo $ac_n "checking for Kame IPv6 support""... $ac_c" 1>&6
echo "configure:3352: 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="-L$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
#
# Check for network functions that are often missing. We do this
# after the libtool checking, so we can put the right suffix on
# the files.
#
echo $ac_n "checking for inet_ntop""... $ac_c" 1>&6
echo "configure:3399: 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 3404 "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:3427: \"$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:3451: 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 3456 "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:3479: \"$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:3503: 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 3508 "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:3531: \"$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:3555: 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 3560 "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:3583: \"$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:3606: 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 3611 "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:3634: \"$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:3664: 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 3670 "configure"
#include "confdefs.h"
main() { exit(!(sizeof(long long int) == sizeof(long int))); }
EOF
if { (eval echo configure:3674: \"$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
#
# Security Stuff
#
echo $ac_n "checking for chroot""... $ac_c" 1>&6
echo "configure:3694: 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 3699 "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:3722: \"$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:3748: 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 3753 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:3758: \"$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
#
# Substitutions
#
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
LIBLWRES_API=$srcdir/lib/lwres/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
bin/tests/headerdep_test.sh
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%@ETAGS@%$ETAGS%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%@SA@%$SA%g
s%@ISC_PLATFORM_HAVEIPV6@%$ISC_PLATFORM_HAVEIPV6%g
s%@LWRES_PLATFORM_HAVEIPV6@%$LWRES_PLATFORM_HAVEIPV6%g
s%@ISC_PLATFORM_NEEDIN6ADDRANY@%$ISC_PLATFORM_NEEDIN6ADDRANY%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
/@LIBLWRES_API@/r $LIBLWRES_API
s%@LIBLWRES_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
bin/tests/headerdep_test.sh
"}
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