configure revision 7b2db4b8d13e3d8bc81419ffcc8b39de8193ef63
842ae4bd224140319ae7feec1872b93dfd491143fielding# From configure.in Revision: 1.112
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## 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## 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## 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## 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# serial 40 AC_PROG_LIBTOOL
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding# AC_LIBTOOL_DLOPEN - enable checks for dlopen support
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding# AC_LIBTOOL_WIN32_DLL - declare package support for building win32 dll's
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# AC_DISABLE_SHARED - set the default shared flag to --disable-shared
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
383a9c6af58f5a670e8ef8b7f222ce71dbb7bee5dirkx# AC_DISABLE_STATIC - set the default static flag to --disable-static
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
1fbf6ba0f5207e6637b49f9a9dfcc779bbe952a9trawick# AC_ENABLE_FAST_INSTALL - set the default to --disable-fast-install
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding# AC_PROG_LD - find the path to the GNU or non-GNU linker
860d483ae528603f7e1f962903e71ac28358bef6wrowe# AC_PROG_NM - find the path to a BSD-compatible name lister
860d483ae528603f7e1f962903e71ac28358bef6wrowe# AC_CHECK_LIBM - check for math library
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.
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.
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# This configure script is free software; the Free Software Foundation
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding# gives unlimited permission to copy, distribute and modify it.
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding# Any additions from configure.in:
f4a8b04b47f09a21b65646b66b19c9649ff7f03arbb --with-mit-pthreads use the mit-pthreads thread library"
f4a8b04b47f09a21b65646b66b19c9649ff7f03arbb --with-ptl2 use the ptl2 thread library"
f4a8b04b47f09a21b65646b66b19c9649ff7f03arbb --with-libtool use GNU libtool"
f4a8b04b47f09a21b65646b66b19c9649ff7f03arbb --enable-shared[=PKGS] build shared libraries [default=yes]"
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding --enable-static[=PKGS] build static libraries [default=yes]"
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding --enable-fast-install[=PKGS] optimize for fast installation [default=yes]"
33cc48e1677642f4027deb6421ab6d7f3787ee0ffielding --with-gnu-ld assume the C compiler uses GNU ld [default=no]"
f4a8b04b47f09a21b65646b66b19c9649ff7f03arbb --disable-libtool-lock avoid locking (might break parallel builds)"
f4a8b04b47f09a21b65646b66b19c9649ff7f03arbb --enable-ipv6 use IPv6 [default=autodetect]"
cccd31fa4a72fe23cc3249c06db181b274a55a69gstein --with-kame[=PATH] use Kame IPv6 [default path /usr/local/v6]"
3d5ab266a622a2c6e1907819a6891a0a61f32632wrowe# Initialize some variables set by options.
54c358157ff30a1c4f4f8b27f3a687f254afa493wrowe# The variables have the same names as the options, with
f706ad4ddbeb3b9814f52e83006e505cbb2cf662rbb# dashes changed to underlines.
2a1011ba69b24f3224bcb358d542017d5f389f78wrowe# Initialize some other variables.
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton# Maximum number of lines to put in a shell here document.
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx # If the previous option needs an argument, assign it.
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx if test -n "$ac_prev"; then
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx eval "$ac_prev=\$ac_option"
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx # Accept the important Cygnus configure options, so we can diagnose typos.
ee6367f61ca2ece7c95a923780bbb3dc312bb812fuankg -bindir | --bindir | --bindi | --bind | --bin | --bi)
ee6367f61ca2ece7c95a923780bbb3dc312bb812fuankg -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx -cache-file | --cache-file | --cache-fil | --cache-fi \
bb65aeae7af1d33b64252bbc1b966942d757ac60wrowe | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
48d7c43629323c8d5ee9f7bd0d194de0a376b391rbb -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
eacd93a9763f18f9cfd5f61ad1526f7ef32dd8d1rpluem | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
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; }
873c287c391b0bbc4719b68bb84946515811e1batrawick eval "enable_${ac_feature}=no" ;;
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; }
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding eval "enable_${ac_feature}='$ac_optarg'" ;;
30309f86bfd564437654aa822a19cd0cb29ca6f8wrowe -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1ccd992d37d62c8cb2056126f2234f64ec189bfddougm | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
7a0780c774fcd7823d2e3a79f55b2f3522602992clar -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
7a0780c774fcd7823d2e3a79f55b2f3522602992clar | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
7a0780c774fcd7823d2e3a79f55b2f3522602992clar # Obsolete; use --with-gas.
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.
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
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
c2989417297fc5ad287068f41a7972349c44ca2etakashi if test -n "$ac_help"; then
c2989417297fc5ad287068f41a7972349c44ca2etakashi echo "--enable and --with options recognized:$ac_help"
c2989417297fc5ad287068f41a7972349c44ca2etakashi -includedir | --includedir | --includedi | --included | --include \
7a0780c774fcd7823d2e3a79f55b2f3522602992clar -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
b8ee7946aa85a6b2eefd7f9fcf2ed5dc69a7103asctemme -infodir | --infodir | --infodi | --infod | --info | --inf)
62ba6bde073be4d332ffc9c89768757d3f646da5dirkx -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding -localstatedir | --localstatedir | --localstatedi | --localstated \
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding | --localstate | --localstat | --localsta | --localst \
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding | --localstate=* | --localstat=* | --localsta=* | --localst=* \
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx # Obsolete; use --without-fp.
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding -no-create | --no-create | --no-creat | --no-crea | --no-cre \
446b877d2ab69d9bbcd9152a2d54814f05f1c00brbb -no-recursion | --no-recursion | --no-recursio | --no-recursi \
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
7a0780c774fcd7823d2e3a79f55b2f3522602992clar -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
06e2d72d72d35442e1ba8cfe9f343ac0fb2b8cffdreid -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
30309f86bfd564437654aa822a19cd0cb29ca6f8wrowe -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
bbe866808ba50d71809ab58bbee377cadf60d3b7dreid -program-prefix | --program-prefix | --program-prefi | --program-pref \
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx -program-prefix=* | --program-prefix=* | --program-prefi=* \
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
be2ca76a08c2fc1695f5b3178d5893f0e92240bftrawick -program-suffix | --program-suffix | --program-suffi | --program-suff \
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding -program-suffix=* | --program-suffix=* | --program-suffi=* \
dcde46ca353d5d66bbac2b8e1135ac828992b808dreid | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
be2ca76a08c2fc1695f5b3178d5893f0e92240bftrawick -program-transform-name | --program-transform-name \
be2ca76a08c2fc1695f5b3178d5893f0e92240bftrawick | --program-transform-nam | --program-transform-na \
be2ca76a08c2fc1695f5b3178d5893f0e92240bftrawick -program-transform-name=* | --program-transform-name=* \
be2ca76a08c2fc1695f5b3178d5893f0e92240bftrawick | --program-transform-nam=* | --program-transform-na=* \
873c287c391b0bbc4719b68bb84946515811e1batrawick -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6707208ba4e9a5841ca1ab830830fd286ea5b7c5trawick -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
6707208ba4e9a5841ca1ab830830fd286ea5b7c5trawick -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
873c287c391b0bbc4719b68bb84946515811e1batrawick -sharedstatedir | --sharedstatedir | --sharedstatedi \
873c287c391b0bbc4719b68bb84946515811e1batrawick | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
873c287c391b0bbc4719b68bb84946515811e1batrawick | --sharedst | --shareds | --shared | --share | --shar \
873c287c391b0bbc4719b68bb84946515811e1batrawick -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
873c287c391b0bbc4719b68bb84946515811e1batrawick | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
873c287c391b0bbc4719b68bb84946515811e1batrawick | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
873c287c391b0bbc4719b68bb84946515811e1batrawick -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
873c287c391b0bbc4719b68bb84946515811e1batrawick -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
873c287c391b0bbc4719b68bb84946515811e1batrawick -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
873c287c391b0bbc4719b68bb84946515811e1batrawick -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
873c287c391b0bbc4719b68bb84946515811e1batrawick | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
873c287c391b0bbc4719b68bb84946515811e1batrawick -target | --target | --targe | --targ | --tar | --ta | --t)
62ba6bde073be4d332ffc9c89768757d3f646da5dirkx -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
62ba6bde073be4d332ffc9c89768757d3f646da5dirkx -v | -verbose | --verbose | --verbos | --verbo | --verb)
860d483ae528603f7e1f962903e71ac28358bef6wrowe echo "configure generated by autoconf version 2.13"
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 eval "with_${ac_package}='$ac_optarg'" ;;
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 eval "with_${ac_package}=no" ;;
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton # Obsolete; use --with-x.
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
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=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
860d483ae528603f7e1f962903e71ac28358bef6wrowe | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
860d483ae528603f7e1f962903e71ac28358bef6wrowe -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
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 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
860d483ae528603f7e1f962903e71ac28358bef6wroweif test -n "$ac_prev"; then
860d483ae528603f7e1f962903e71ac28358bef6wrowe { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
860d483ae528603f7e1f962903e71ac28358bef6wrowetrap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
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
860d483ae528603f7e1f962903e71ac28358bef6wroweThis file contains any messages produced by compilers while
860d483ae528603f7e1f962903e71ac28358bef6wrowerunning configure, to aid debugging if configure makes a mistake.
860d483ae528603f7e1f962903e71ac28358bef6wrowe# Strip out --no-create and --no-recursion so they do not pile up.
860d483ae528603f7e1f962903e71ac28358bef6wrowe# Also quote any args containing shell metacharacters.
e8f95a682820a599fe41b22977010636be5c2717jim -no-create | --no-create | --no-creat | --no-crea | --no-cre \
7a0780c774fcd7823d2e3a79f55b2f3522602992clar -no-recursion | --no-recursion | --no-recursio | --no-recursi \
7a0780c774fcd7823d2e3a79f55b2f3522602992clar | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
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
860d483ae528603f7e1f962903e71ac28358bef6wrowe# confdefs.h avoids OS command line length limits that DEFS can exceed.
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton# AIX cpp loses on an empty file, so make sure it contains at least a newline.
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.
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton# Find the source files, if location was not specified.
7a0780c774fcd7823d2e3a79f55b2f3522602992clarif test -z "$srcdir"; then
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton # Try the directory containing this script, then its parent.
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton# Prefer explicitly selected file to automatically selected ones.
860d483ae528603f7e1f962903e71ac28358bef6wroweif test -z "$CONFIG_SITE"; then
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton if test -r "$ac_site_file"; then
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton echo "loading site script $ac_site_file"
e23b77006a8b079c0ad52e42ba2029e759455b8fjortonif test -r "$cache_file"; then
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton echo "loading cache $cache_file"
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton echo "creating cache $cache_file"
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
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'
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
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; }
e23b77006a8b079c0ad52e42ba2029e759455b8fjortonac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
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; }
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; }
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/'`
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
860d483ae528603f7e1f962903e71ac28358bef6wrowe @echo 'ac_maketemp="${MAKE}"'
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
860d483ae528603f7e1f962903e71ac28358bef6wroweif eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
7a0780c774fcd7823d2e3a79f55b2f3522602992clar# Extract the first word of "ranlib", so it can be a program name with args.
7a0780c774fcd7823d2e3a79f55b2f3522602992clarif eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding if test -n "$RANLIB"; then
873c287c391b0bbc4719b68bb84946515811e1batrawick ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3a36c0105198c15925b69c40ff0fc8f83dc34af2rbbif test -n "$RANLIB"; then
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:
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
7a0780c774fcd7823d2e3a79f55b2f3522602992clar # Account for people who put trailing slashes in PATH elements.
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
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.
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding # AIX install. It has an incompatible calling convention.
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding if test "${ac_cv_path_install+set}" = set; then
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.
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}'
9667009c60cf53ad7f1bfe9b73efecf403956d9dtrawicktest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fieldingtest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
7a0780c774fcd7823d2e3a79f55b2f3522602992clar# Extract the first word of "ar", so it can be a program name with args.
d321fe00a917cfbe45929d741d74e2c89960b0b8trawickif eval "test \"`echo '$''{'ac_cv_path_AR'+set}'`\" = set"; then
7a0780c774fcd7823d2e3a79f55b2f3522602992clar ac_cv_path_AR="$AR" # Let the user override the test with a path.
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding ac_cv_path_AR="$AR" # Let the user override the test with a dos path.
cbe23d0a0ff097b3d544d714657452abc80e3c87fieldingif test -n "$AR"; then
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding# Extract the first word of "$ac_prog", so it can be a program name with args.
7a0780c774fcd7823d2e3a79f55b2f3522602992clarif eval "test \"`echo '$''{'ac_cv_path_ETAGS'+set}'`\" = set"; then
d37377982fe3219083902f67dd667f1808f5547dwrowe ac_cv_path_ETAGS="$ETAGS" # Let the user override the test with a path.
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding ac_cv_path_ETAGS="$ETAGS" # Let the user override the test with a dos path.
7a0780c774fcd7823d2e3a79f55b2f3522602992clarif test -n "$ETAGS"; then
cbe23d0a0ff097b3d544d714657452abc80e3c87fieldingtest -n "$ETAGS" && break
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.
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
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 '${prefix}/etc')
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding '${prefix}/var')
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.
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding # Not all systems have dirname.
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx test -d "$ac_dir" && ac_dir="`(cd \"$ac_dir\" && pwd)`"
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
7a0780c774fcd7823d2e3a79f55b2f3522602992clar# However, if the user sets $CC to be something, let that override
7a0780c774fcd7823d2e3a79f55b2f3522602992clar# our change.
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.
20fb0ba160cf0ca91b3f0f0d552cbe60d92b0449fielding # If setting CC here fails, the AC_PROG_CC done
7a0780c774fcd7823d2e3a79f55b2f3522602992clar # below might still find gcc.
d80638b1d2cf4b956aff22733d29f6eff05be2e7wrowe if test -f "$ac_dir/cc"; then
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 echo $ac_n "checking which thread library to use""... $ac_c" 1>&6
cbe23d0a0ff097b3d544d714657452abc80e3c87fieldingecho "configure:1016: checking which thread library to use" >&5
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding # Check whether --with-mit-pthreads or --without-mit-pthreads was given.
cbe23d0a0ff097b3d544d714657452abc80e3c87fieldingif test "${with_mit_pthreads+set}" = set; then
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding # Check whether --with-ptl2 or --without-ptl2 was given.
cbe23d0a0ff097b3d544d714657452abc80e3c87fieldingif test "${with_ptl2+set}" = set; then
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.
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding# LIBS="-L$LOCALBASE/lib -lPTL $LIBS"
7a0780c774fcd7823d2e3a79f55b2f3522602992clar# STD_CINCLUDES="-nostdinc -idirafter $pkg/include"
cbe23d0a0ff097b3d544d714657452abc80e3c87fieldingPlease choose a thread library using one of
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding configure --with-mit-pthreads
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding configure --with-ptl2
7a0780c774fcd7823d2e3a79f55b2f3522602992clar# Extract the first word of "gcc", so it can be a program name with args.
cbe23d0a0ff097b3d544d714657452abc80e3c87fieldingif eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding if test -n "$CC"; then
7a0780c774fcd7823d2e3a79f55b2f3522602992clarif test -n "$CC"; then
7a0780c774fcd7823d2e3a79f55b2f3522602992clarif test -z "$CC"; then
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding # Extract the first word of "cc", so it can be a program name with args.
cbe23d0a0ff097b3d544d714657452abc80e3c87fieldingif eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7a0780c774fcd7823d2e3a79f55b2f3522602992clar if test -n "$CC"; then
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding # We found a bogon in the path, so make sure we never use it.
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.
cbe23d0a0ff097b3d544d714657452abc80e3c87fieldingif test -n "$CC"; then
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding if test -z "$CC"; then
7a0780c774fcd7823d2e3a79f55b2f3522602992clar # Extract the first word of "cl", so it can be a program name with args.
7a0780c774fcd7823d2e3a79f55b2f3522602992clarif eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding if test -n "$CC"; then
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding ac_cv_prog_CC="$CC" # Let the user override the test.
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fieldingif test -n "$CC"; then
7a0780c774fcd7823d2e3a79f55b2f3522602992clar test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
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# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
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'
b8fbac7d9e095a4cf4679d0a4b7a678baf9e319ecolm#line 1212 "configure"
b8fbac7d9e095a4cf4679d0a4b7a678baf9e319ecolm#include "confdefs.h"
b8fbac7d9e095a4cf4679d0a4b7a678baf9e319ecolmmain(){return(0);}
b8fbac7d9e095a4cf4679d0a4b7a678baf9e319ecolmif { (eval echo configure:1217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
b8fbac7d9e095a4cf4679d0a4b7a678baf9e319ecolm # If we can't run a trivial program, we are probably using a cross compiler.
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
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'
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
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_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
7a0780c774fcd7823d2e3a79f55b2f3522602992clar#ifdef __GNUC__
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
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
7a0780c774fcd7823d2e3a79f55b2f3522602992clarif test "$ac_test_CFLAGS" = set; then
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding# Extract the first word of "$ac_prog", so it can be a program name with args.
cbe23d0a0ff097b3d544d714657452abc80e3c87fieldingif eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
7a0780c774fcd7823d2e3a79f55b2f3522602992clar if test -n "$YACC"; then
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding ac_cv_prog_YACC="$YACC" # Let the user override the test.
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fieldingif test -n "$YACC"; then
23b4e2f556ce39696c4e31c6e72893f7489ff8d9dirkxtest -n "$YACC" && break
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 -z "$CPP"; then
e23b77006a8b079c0ad52e42ba2029e759455b8fjortonif eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
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.
e8f95a682820a599fe41b22977010636be5c2717jim # On the NeXT, cc -E runs the code through the compiler's parser,
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton # not just through cpp.
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton#line 1359 "configure"
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton#include "confdefs.h"
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton#include <assert.h>
e23b77006a8b079c0ad52e42ba2029e759455b8fjortonSyntax Error
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
7a0780c774fcd7823d2e3a79f55b2f3522602992clar#line 1376 "configure"
7a0780c774fcd7823d2e3a79f55b2f3522602992clar#include "confdefs.h"
7a0780c774fcd7823d2e3a79f55b2f3522602992clar#include <assert.h>
7a0780c774fcd7823d2e3a79f55b2f3522602992clarSyntax Error
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#line 1393 "configure"
7a0780c774fcd7823d2e3a79f55b2f3522602992clar#include "confdefs.h"
860d483ae528603f7e1f962903e71ac28358bef6wrowe#include <assert.h>
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fieldingSyntax Error
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
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#line 1429 "configure"
7a0780c774fcd7823d2e3a79f55b2f3522602992clar#include "confdefs.h"
7a0780c774fcd7823d2e3a79f55b2f3522602992clar#include <stdlib.h>
7a0780c774fcd7823d2e3a79f55b2f3522602992clar#include <stdarg.h>
7a0780c774fcd7823d2e3a79f55b2f3522602992clar#include <string.h>
7a0780c774fcd7823d2e3a79f55b2f3522602992clar#include <float.h>
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 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7a0780c774fcd7823d2e3a79f55b2f3522602992clar#line 1454 "configure"
7a0780c774fcd7823d2e3a79f55b2f3522602992clar#include "confdefs.h"
7a0780c774fcd7823d2e3a79f55b2f3522602992clar#include <string.h>
7a0780c774fcd7823d2e3a79f55b2f3522602992clar # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7a0780c774fcd7823d2e3a79f55b2f3522602992clar#line 1472 "configure"
7a0780c774fcd7823d2e3a79f55b2f3522602992clar#include "confdefs.h"
7a0780c774fcd7823d2e3a79f55b2f3522602992clar#include <stdlib.h>
7a0780c774fcd7823d2e3a79f55b2f3522602992clar # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
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); }
7a0780c774fcd7823d2e3a79f55b2f3522602992clarif { (eval echo configure:1504: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
7a0780c774fcd7823d2e3a79f55b2f3522602992clar#define STDC_HEADERS 1
7a0780c774fcd7823d2e3a79f55b2f3522602992clarfor ac_hdr in fcntl.h sys/time.h unistd.h sys/sockio.h netinet6/in6.h
7a0780c774fcd7823d2e3a79f55b2f3522602992clarif eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7a0780c774fcd7823d2e3a79f55b2f3522602992clar#line 1536 "configure"
7a0780c774fcd7823d2e3a79f55b2f3522602992clar#include "confdefs.h"
7a0780c774fcd7823d2e3a79f55b2f3522602992clar#include <$ac_hdr>
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 eval "ac_cv_header_$ac_safe=yes"
7a0780c774fcd7823d2e3a79f55b2f3522602992clar eval "ac_cv_header_$ac_safe=no"
7a0780c774fcd7823d2e3a79f55b2f3522602992clarif eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding#define $ac_tr_hdr 1
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.
f4a8b04b47f09a21b65646b66b19c9649ff7f03arbb ISC_PLATFORM_HAVENETINET6IN6H="#define ISC_PLATFORM_HAVENETINET6IN6H 1"
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding LWRES_PLATFORM_HAVENETINET6IN6H="#define LWRES_PLATFORM_HAVENETINET6IN6H 1"
7a0780c774fcd7823d2e3a79f55b2f3522602992clar ISC_PLATFORM_HAVENETINET6IN6H="#undef ISC_PLATFORM_HAVENETINET6IN6H"
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx LWRES_PLATFORM_HAVENETINET6IN6H="#undef LWRES_PLATFORM_HAVENETINET6IN6H"
7a0780c774fcd7823d2e3a79f55b2f3522602992clarif eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding#line 1594 "configure"
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding#include "confdefs.h"
e8f95a682820a599fe41b22977010636be5c2717jimint main() {
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;
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. */
b8ee7946aa85a6b2eefd7f9fcf2ed5dc69a7103asctemmep = (char**) ccp;
b8ee7946aa85a6b2eefd7f9fcf2ed5dc69a7103asctemmeccp = (char const *const *) p;
b8ee7946aa85a6b2eefd7f9fcf2ed5dc69a7103asctemme{ /* SCO 3.2v4 cc rejects this. */
b8ee7946aa85a6b2eefd7f9fcf2ed5dc69a7103asctemme char const *s = 0 ? (char *) 0 : (char const *) 0;
b8ee7946aa85a6b2eefd7f9fcf2ed5dc69a7103asctemme{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
b8ee7946aa85a6b2eefd7f9fcf2ed5dc69a7103asctemme int x[] = {25, 17};
b8ee7946aa85a6b2eefd7f9fcf2ed5dc69a7103asctemme const int *foo = &x[0];
b8ee7946aa85a6b2eefd7f9fcf2ed5dc69a7103asctemme{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
b8ee7946aa85a6b2eefd7f9fcf2ed5dc69a7103asctemme typedef const int *iptr;
b8ee7946aa85a6b2eefd7f9fcf2ed5dc69a7103asctemme iptr p = 0;
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;
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
d321fe00a917cfbe45929d741d74e2c89960b0b8trawick const int foo = 10;
7a0780c774fcd7823d2e3a79f55b2f3522602992clar; return 0; }
d321fe00a917cfbe45929d741d74e2c89960b0b8trawickif { (eval echo configure:1643: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7a0780c774fcd7823d2e3a79f55b2f3522602992clar#define const
87a528a7622973988232079ba02763748c9c7071pquernaif eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding#line 1671 "configure"
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding#include "confdefs.h"
9667009c60cf53ad7f1bfe9b73efecf403956d9dtrawickint main() {
0906f649b3d720299e47ed1148e79051e8941b2adirkx} $ac_kw foo() {
d321fe00a917cfbe45929d741d74e2c89960b0b8trawick; return 0; }
e93352b33118d4b4304bc5572ab0c9519a11158cndif { (eval echo configure:1678: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
cbe23d0a0ff097b3d544d714657452abc80e3c87fielding#define inline
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding#define inline $ac_cv_c_inline
7a0780c774fcd7823d2e3a79f55b2f3522602992clarif eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
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>
f4a8b04b47f09a21b65646b66b19c9649ff7f03arbb egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
7a0780c774fcd7823d2e3a79f55b2f3522602992clar#define size_t unsigned
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
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; }
e23b77006a8b079c0ad52e42ba2029e759455b8fjortonif { (eval echo configure:1751: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7a0780c774fcd7823d2e3a79f55b2f3522602992clar#define TIME_WITH_SYS_TIME 1
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#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();
42530a2f3c65ed623376b86644e1b0e02f1393c0trawickint main() {
a11e2095659d05a53e58e8f4ebf92acf8de1d5abtrawickpthread_create()
42530a2f3c65ed623376b86644e1b0e02f1393c0trawick; return 0; }
42530a2f3c65ed623376b86644e1b0e02f1393c0trawickif { (eval echo configure:1792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
42530a2f3c65ed623376b86644e1b0e02f1393c0trawick eval "ac_cv_lib_$ac_lib_var=yes"
42530a2f3c65ed623376b86644e1b0e02f1393c0trawick eval "ac_cv_lib_$ac_lib_var=no"
e23b77006a8b079c0ad52e42ba2029e759455b8fjortonif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton ac_tr_lib=HAVE_LIB`echo pthread | sed -e 's/[^a-zA-Z0-9_]/_/g' \
42530a2f3c65ed623376b86644e1b0e02f1393c0trawick -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
42530a2f3c65ed623376b86644e1b0e02f1393c0trawick#define $ac_tr_lib 1
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
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();
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fieldingint main() {
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding__pthread_create()
10a20aaa2426eff21e054473bbcab8cd2f104e59colm; return 0; }
842ae4bd224140319ae7feec1872b93dfd491143fieldingif { (eval echo configure:1837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding eval "ac_cv_lib_$ac_lib_var=yes"
842ae4bd224140319ae7feec1872b93dfd491143fielding eval "ac_cv_lib_$ac_lib_var=no"
f184f3f28a789690e4074010a1ec23152278ae27trawickif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx ac_tr_lib=HAVE_LIB`echo pthread | sed -e 's/^a-zA-Z0-9_/_/g' \
860d483ae528603f7e1f962903e71ac28358bef6wrowe -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx#define $ac_tr_lib 1
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
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();
51469a0d2057aa24107b6f5a04e145824e10da1fdirkxint main() {
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding__pthread_create_system()
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx; return 0; }
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fieldingif { (eval echo configure:1884: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx eval "ac_cv_lib_$ac_lib_var=yes"
860d483ae528603f7e1f962903e71ac28358bef6wrowe eval "ac_cv_lib_$ac_lib_var=no"
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fieldingif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding ac_tr_lib=HAVE_LIB`echo pthread | sed -e 's/^a-zA-Z0-9_/_/g' \
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
c2989417297fc5ad287068f41a7972349c44ca2etakashi#define $ac_tr_lib 1
5f78437b5cfcb2da3856ba9fb17ddc58adf04e44wrowe# We'd like to use sigwait() too
51469a0d2057aa24107b6f5a04e145824e10da1fdirkxecho $ac_n "checking for sigwait in -lc""... $ac_c" 1>&6
7a0780c774fcd7823d2e3a79f55b2f3522602992clarif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
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();
b7faa60a6790e84452c16e5dfb3bde2c52a1030dtrawickint main() {
7a0780c774fcd7823d2e3a79f55b2f3522602992clar; return 0; }
c2cc37797238c6f97818d701fbb075b6107507cabrianpif { (eval echo configure:1938: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7a0780c774fcd7823d2e3a79f55b2f3522602992clar eval "ac_cv_lib_$ac_lib_var=yes"
c330df4777ee0ff23f104003559a5c4c9e0e5070trawick eval "ac_cv_lib_$ac_lib_var=no"
5f78437b5cfcb2da3856ba9fb17ddc58adf04e44wroweif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5f78437b5cfcb2da3856ba9fb17ddc58adf04e44wrowe#define HAVE_SIGWAIT 1
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
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();
1ccd992d37d62c8cb2056126f2234f64ec189bfddougmint main() {
6848ee075aecccf3d422a6a72d358b087cf7a4a6trawick; return 0; }
070b7b27d5091386c10b5db112fb4127b542f9b9jortonif { (eval echo configure:1979: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
070b7b27d5091386c10b5db112fb4127b542f9b9jorton eval "ac_cv_lib_$ac_lib_var=yes"
2d5be8d0085e1afb09881a5617ce443565e98b33rpluem eval "ac_cv_lib_$ac_lib_var=no"
d37377982fe3219083902f67dd667f1808f5547dwroweif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
070b7b27d5091386c10b5db112fb4127b542f9b9jorton#define HAVE_SIGWAIT 1
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
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();
a0b0ab24196a69d18cc410363e8d85e28fd01dbewroweint main() {
a0b0ab24196a69d18cc410363e8d85e28fd01dbewrowe; return 0; }
ee6367f61ca2ece7c95a923780bbb3dc312bb812fuankgif { (eval echo configure:2020: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding eval "ac_cv_lib_$ac_lib_var=yes"
c2cc37797238c6f97818d701fbb075b6107507cabrianp eval "ac_cv_lib_$ac_lib_var=no"
e14ec68ef48bbf6c3dc567900f9e087eaf0bc931trawickif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
f4a8b04b47f09a21b65646b66b19c9649ff7f03arbb#define HAVE_SIGWAIT 1
7a0780c774fcd7823d2e3a79f55b2f3522602992clar# Additional OS-specific issues related to pthreads.
066877f1a045103acfdd376d48cdd473c33f409bdougm # One more place to look for sigwait.
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton echo $ac_n "checking for sigwait in -lc_r""... $ac_c" 1>&6
51469a0d2057aa24107b6f5a04e145824e10da1fdirkxecho "configure:2058: checking for sigwait in -lc_r" >&5
7a0780c774fcd7823d2e3a79f55b2f3522602992clarif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
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();
7a0780c774fcd7823d2e3a79f55b2f3522602992clarint main() {
7a0780c774fcd7823d2e3a79f55b2f3522602992clar; return 0; }
b8fbac7d9e095a4cf4679d0a4b7a678baf9e319ecolmif { (eval echo configure:2077: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7a0780c774fcd7823d2e3a79f55b2f3522602992clar eval "ac_cv_lib_$ac_lib_var=yes"
7a0780c774fcd7823d2e3a79f55b2f3522602992clar eval "ac_cv_lib_$ac_lib_var=no"
7a0780c774fcd7823d2e3a79f55b2f3522602992clarif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7a0780c774fcd7823d2e3a79f55b2f3522602992clar#define HAVE_SIGWAIT 1
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.
d321fe00a917cfbe45929d741d74e2c89960b0b8trawick#define NEED_PTHREAD_INIT 1
d321fe00a917cfbe45929d741d74e2c89960b0b8trawick # LinuxThreads requires some changes to the way we deal with signals.
81bd9331da3bd0f53255d52b1475480ff3a4b395trawick#define HAVE_LINUXTHREADS 1
7a0780c774fcd7823d2e3a79f55b2f3522602992clar # Ensure the right sigwait() semantics on Solaris.
7a0780c774fcd7823d2e3a79f55b2f3522602992clar#define _POSIX_PTHREAD_SEMANTICS 1
7a0780c774fcd7823d2e3a79f55b2f3522602992clarif eval "test \"`echo '$''{'ac_cv_func_catgets'+set}'`\" = set"; then
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();
51469a0d2057aa24107b6f5a04e145824e10da1fdirkxint main() {
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)
7a0780c774fcd7823d2e3a79f55b2f3522602992clar; return 0; }
7a0780c774fcd7823d2e3a79f55b2f3522602992clarif { (eval echo configure:2163: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
b8ee7946aa85a6b2eefd7f9fcf2ed5dc69a7103asctemme eval "ac_cv_func_catgets=yes"
b8ee7946aa85a6b2eefd7f9fcf2ed5dc69a7103asctemme eval "ac_cv_func_catgets=no"
7a0780c774fcd7823d2e3a79f55b2f3522602992clarif eval "test \"`echo '$ac_cv_func_'catgets`\" = yes"; then
7a0780c774fcd7823d2e3a79f55b2f3522602992clar#define HAVE_CATGETS 1
7a0780c774fcd7823d2e3a79f55b2f3522602992clar# -lxnet buys us one big porting headache... standards, gotta love 'em.
7a0780c774fcd7823d2e3a79f55b2f3522602992clar# AC_CHECK_LIB(xnet, socket, ,
7a0780c774fcd7823d2e3a79f55b2f3522602992clar# AC_CHECK_LIB(socket, socket)
7a0780c774fcd7823d2e3a79f55b2f3522602992clar# AC_CHECK_LIB(nsl, inet_ntoa)
7a0780c774fcd7823d2e3a79f55b2f3522602992clar# Use this for now, instead:
7a0780c774fcd7823d2e3a79f55b2f3522602992clar echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
7a0780c774fcd7823d2e3a79f55b2f3522602992clarecho "configure:2201: checking for socket in -lsocket" >&5
7a0780c774fcd7823d2e3a79f55b2f3522602992clarif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
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();
e23b77006a8b079c0ad52e42ba2029e759455b8fjortonint main() {
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton; return 0; }
e23b77006a8b079c0ad52e42ba2029e759455b8fjortonif { (eval echo configure:2220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton eval "ac_cv_lib_$ac_lib_var=yes"
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton eval "ac_cv_lib_$ac_lib_var=no"
f4a8b04b47f09a21b65646b66b19c9649ff7f03arbbif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7a0780c774fcd7823d2e3a79f55b2f3522602992clar ac_tr_lib=HAVE_LIB`echo socket | sed -e 's/[^a-zA-Z0-9_]/_/g' \
7a0780c774fcd7823d2e3a79f55b2f3522602992clar -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding#define $ac_tr_lib 1
09fe0b69d3d1e8c8041c9ce99ee77b8b44b5e3b1fielding echo $ac_n "checking for inet_ntoa in -lnsl""... $ac_c" 1>&6
e5d4e153edb152c76a3aa67904ae8cf30cb0fe5fmadhumecho "configure:2248: checking for inet_ntoa in -lnsl" >&5
e5d4e153edb152c76a3aa67904ae8cf30cb0fe5fmadhumif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
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();
7a0780c774fcd7823d2e3a79f55b2f3522602992clarint main() {
7a0780c774fcd7823d2e3a79f55b2f3522602992clarinet_ntoa()
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx; return 0; }
7a0780c774fcd7823d2e3a79f55b2f3522602992clarif { (eval echo configure:2267: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx eval "ac_cv_lib_$ac_lib_var=yes"
c7760b87a01538ca7cc6a9a7aa3d9d910cfc3fe9wrowe eval "ac_cv_lib_$ac_lib_var=no"
e23b77006a8b079c0ad52e42ba2029e759455b8fjortonif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton ac_tr_lib=HAVE_LIB`echo nsl | sed -e 's/[^a-zA-Z0-9_]/_/g' \
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
e23b77006a8b079c0ad52e42ba2029e759455b8fjorton#define $ac_tr_lib 1
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx STD_CWARNINGS="$STD_CWARNINGS -W -Wall -Wmissing-prototypes"
*-solaris*)
*-solaris*)
if { (eval echo configure:2671: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:2720: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:2769: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
yes)
NONE)
[\\/]* | [A-Za-z]:[\\/]*)
if test -z "$LD"; then
if test -n "$LD"; then
if test -n "$NM"; then
*-*-irix6*)
*N32*)
if { (eval echo configure:3132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
# By default, configure uses ./config.cache as the cache file,
# config.status only pays attention to the cache file if you give it the
*ac_space=\ *)
sed -n \
esac >> confcache
if test -w $cache_file; then
echo "updating cache $cache_file"
echo "not updating unwritable cache $cache_file"
if test -r "$cache_file"; then
echo "loading cache $cache_file"
echo "creating cache $cache_file"
# Redirect the config.log output again, so that the ltconfig log is not
O=lo
A=la
SA=a
no)
yes)
if { (eval echo configure:3316: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
no)
no)
yes)
no)
if { (eval echo configure:3427: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:3479: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:3531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:3583: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:3634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:3674: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
if { (eval echo configure:3722: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if test -z "$ac_err"; then
eval "ac_cv_header_$ac_safe=yes"
eval "ac_cv_header_$ac_safe=no"
ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
# By default, configure uses ./config.cache as the cache file,
# config.status only pays attention to the cache file if you give it the
*ac_space=\ *)
sed -n \
esac >> confcache
if test -w $cache_file; then
echo "updating cache $cache_file"
echo "not updating unwritable cache $cache_file"
if test "x$srcdir" = x.; then
# Without the "./", some shells look in PATH for config.status.
while $ac_more_lines; do
ac_more_lines=false
if test -z "$ac_sed_cmds"; then
if test -z "$ac_sed_cmds"; then
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
.) srcdir=.
# $configure_input" ;;
*) ac_comsub= ;;
s%@configure_input@%$configure_input%g
s%@srcdir@%$srcdir%g
s%@top_srcdir@%$top_srcdir%g
s%@INSTALL@%$INSTALL%g
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
# Transform confdefs.h into a sed script conftest.vals that substitutes
# the proper values into config.h.in to produce config.h. And first:
# Protect against being on the right side of a sed subst in config.status.
# Protect against being in an unquoted here document in config.status.
sed -n -f conftest.hdr confdefs.h > conftest.vals
rm -f conftest.hdr
cat >> conftest.vals <<\EOF
# Break up conftest.vals because some shells have a limit on
rm -f conftest.tail
sed -f conftest.frag conftest.in > conftest.out
rm -f conftest.in
rm -f conftest.vals
rm -f conftest.vals
cat >> $CONFIG_STATUS <<\EOF
rm -f conftest.in
if cmp -s $ac_file conftest.h 2>/dev/null; then
rm -f conftest.h
cat >> $CONFIG_STATUS <<EOF
cat >> $CONFIG_STATUS <<\EOF