configure revision 9ac79ef3f89b23d80f9649abf71fdc65bb7a8b62
bdd4aa13a97de79596cd19708f1516e8fa92700ewrowe# From configure.in Revision: 1.108
bdd4aa13a97de79596cd19708f1516e8fa92700ewrowe## libtool.m4 - Configure libtool for the target system. -*-Shell-script-*-
1d50c90ddb7e3d144ec8a2bd848ca1e7bbf8e534bnicholes## Copyright (C) 1996-1999 Free Software Foundation, Inc.
bdd4aa13a97de79596cd19708f1516e8fa92700ewrowe## Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
1d50c90ddb7e3d144ec8a2bd848ca1e7bbf8e534bnicholes## This program is free software; you can redistribute it and/or modify
1d50c90ddb7e3d144ec8a2bd848ca1e7bbf8e534bnicholes## it under the terms of the GNU General Public License as published by
24e361af20a3107dc934b4895911ce6bcce0603ejwoolley## the Free Software Foundation; either version 2 of the License, or
24e361af20a3107dc934b4895911ce6bcce0603ejwoolley## (at your option) any later version.
4657f9b12af4b123b80e15c73fa03c190e47a8bftrawick## This program is distributed in the hope that it will be useful, but
4657f9b12af4b123b80e15c73fa03c190e47a8bftrawick## WITHOUT ANY WARRANTY; without even the implied warranty of
4657f9b12af4b123b80e15c73fa03c190e47a8bftrawick## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
4657f9b12af4b123b80e15c73fa03c190e47a8bftrawick## General Public License for more details.
c36bac9a918f59b2dbf5dcd7d67b50c1da04c89drbb## You should have received a copy of the GNU General Public License
c36bac9a918f59b2dbf5dcd7d67b50c1da04c89drbb## along with this program; if not, write to the Free Software
c36bac9a918f59b2dbf5dcd7d67b50c1da04c89drbb## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
c36bac9a918f59b2dbf5dcd7d67b50c1da04c89drbb## As a special exception to the GNU General Public License, if you
ad668861e40da485f2eea24dc4c1f9940e470698rbb## distribute this file as part of a program that contains a
ad668861e40da485f2eea24dc4c1f9940e470698rbb## configuration script generated by Autoconf, you may include it under
ad668861e40da485f2eea24dc4c1f9940e470698rbb## the same distribution terms that you use for the rest of that program.
89211a5d592cdf0170d2b541946661b1a2a279c5trawick# serial 40 AC_PROG_LIBTOOL
5caa0a5c428439b566a4fcc711747e2053bcfd1ajerenkrantz# AC_LIBTOOL_DLOPEN - enable checks for dlopen support
34d672a81f3e72f30568462135ddf6d71dcfa8d8bnicholes# AC_LIBTOOL_WIN32_DLL - declare package support for building win32 dll's
b1d2d2797866636f792717f96401292481697145wrowe# AC_ENABLE_SHARED - implement the --enable-shared flag
b1d2d2797866636f792717f96401292481697145wrowe# Usage: AC_ENABLE_SHARED[(DEFAULT)]
b1d2d2797866636f792717f96401292481697145wrowe# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
b1d2d2797866636f792717f96401292481697145wrowe# AC_DISABLE_SHARED - set the default shared flag to --disable-shared
4a98c07ecf4f27a9b18963bbe85260857664d03bjerenkrantz# AC_ENABLE_STATIC - implement the --enable-static flag
8abcc73436888a98721b10f0c09206f6fea68c55jerenkrantz# Usage: AC_ENABLE_STATIC[(DEFAULT)]
b24d065530fdf97376f390522396be5a4469fcf4jerenkrantz# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
a981bcb9c3b780184e75ff069d67fe84da6c3d3dbnicholes# AC_DISABLE_STATIC - set the default static flag to --disable-static
b2cff333bc23b8e74c6aad9ee97973df02cca180aaron# AC_ENABLE_FAST_INSTALL - implement the --enable-fast-install flag
b2cff333bc23b8e74c6aad9ee97973df02cca180aaron# Usage: AC_ENABLE_FAST_INSTALL[(DEFAULT)]
b2cff333bc23b8e74c6aad9ee97973df02cca180aaron# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
d31e50dddb975275ef388ab64e380b6d4e5d9710jerenkrantz# AC_ENABLE_FAST_INSTALL - set the default to --disable-fast-install
d31e50dddb975275ef388ab64e380b6d4e5d9710jerenkrantz# AC_PROG_LD - find the path to the GNU or non-GNU linker
c88a70518d7d0b5bccb22a68d446c2d6589790dcjwoolley# AC_PROG_NM - find the path to a BSD-compatible name lister
c88a70518d7d0b5bccb22a68d446c2d6589790dcjwoolley# AC_CHECK_LIBM - check for math library
c64c364bf863ad985309ef10d68caaa93e8d09ccstoddard# AC_LIBLTDL_CONVENIENCE[(dir)] - sets LIBLTDL to the link flags for
d8d240df2f2b23455be6b01343daedebaa6c4f96trawick# the libltdl convenience library, adds --enable-ltdl-convenience to
d8d240df2f2b23455be6b01343daedebaa6c4f96trawick# the configure arguments. Note that LIBLTDL is not AC_SUBSTed, nor
d8d240df2f2b23455be6b01343daedebaa6c4f96trawick# is AC_CONFIG_SUBDIRS called. If DIR is not provided, it is assumed
d8d240df2f2b23455be6b01343daedebaa6c4f96trawick# to be `${top_builddir}/libltdl'. Make sure you start DIR with
d8d240df2f2b23455be6b01343daedebaa6c4f96trawick# '${top_builddir}/' (note the single quotes!) if your package is not
d8d240df2f2b23455be6b01343daedebaa6c4f96trawick# flat, and, if you're not using automake, define top_builddir as
b5b5e8cc4668ab29d8f08f590d829dcfaeda9d33brianp# appropriate in the Makefiles.
e2653756d0d14a9a620b24bd04a6ab1182178462brianp# AC_LIBLTDL_INSTALLABLE[(dir)] - sets LIBLTDL to the link flags for
e2653756d0d14a9a620b24bd04a6ab1182178462brianp# the libltdl installable library, and adds --enable-ltdl-install to
e2653756d0d14a9a620b24bd04a6ab1182178462brianp# the configure arguments. Note that LIBLTDL is not AC_SUBSTed, nor
d980a97cfc68de0ef35432ce03f1c1e468a19877jwoolley# is AC_CONFIG_SUBDIRS called. If DIR is not provided, it is assumed
d980a97cfc68de0ef35432ce03f1c1e468a19877jwoolley# to be `${top_builddir}/libltdl'. Make sure you start DIR with
d980a97cfc68de0ef35432ce03f1c1e468a19877jwoolley# '${top_builddir}/' (note the single quotes!) if your package is not
d980a97cfc68de0ef35432ce03f1c1e468a19877jwoolley# flat, and, if you're not using automake, define top_builddir as
d980a97cfc68de0ef35432ce03f1c1e468a19877jwoolley# appropriate in the Makefiles.
d980a97cfc68de0ef35432ce03f1c1e468a19877jwoolley# In the future, this macro may have to be called after AC_PROG_LIBTOOL.
51b1d7f8eaa74807ab14479edde4421e77f5d1d7brianp# Guess values for system-dependent variables and create Makefiles.
51b1d7f8eaa74807ab14479edde4421e77f5d1d7brianp# Generated automatically using autoconf version 2.13
08aff55373b2ae69182a58055a5c1b3a12d927b0slive# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
08aff55373b2ae69182a58055a5c1b3a12d927b0slive# This configure script is free software; the Free Software Foundation
4f50bfb0367b91396c0fe85b80536b760080d39etrawick# gives unlimited permission to copy, distribute and modify it.
5a63340978acb9dd7e87724be57d2bde1cf1f629trawick# Any additions from configure.in:
8565f742f1ee3d514b2d48a1f2a5af5d7437c3b9trawick --with-mit-pthreads use the mit-pthreads thread library"
8565f742f1ee3d514b2d48a1f2a5af5d7437c3b9trawick --with-ptl2 use the ptl2 thread library"
8843b75d1c70af3da9a7306c4aede3b3e9346deajwoolley --with-libtool use GNU libtool"
8843b75d1c70af3da9a7306c4aede3b3e9346deajwoolley --enable-shared[=PKGS] build shared libraries [default=yes]"
dcecfbe7e63603d0fb95e4811e015039e9401990stoddard --enable-static[=PKGS] build static libraries [default=yes]"
dcecfbe7e63603d0fb95e4811e015039e9401990stoddard --enable-fast-install[=PKGS] optimize for fast installation [default=yes]"
4844d314b0b6e55a309621b84c1786446c5fb418ianh --with-gnu-ld assume the C compiler uses GNU ld [default=no]"
4844d314b0b6e55a309621b84c1786446c5fb418ianh --disable-libtool-lock avoid locking (might break parallel builds)"
127c81d6b2c9ba8932273c2e1b13e3ea3d673b07trawick --enable-ipv6 use IPv6 [default=autodetect]"
127c81d6b2c9ba8932273c2e1b13e3ea3d673b07trawick --with-kame[=PATH] use Kame IPv6 [default path /usr/local/v6]"
59d01b9ed1de043745262e49bb44bde7095c4723jwoolley# Initialize some variables set by options.
59d01b9ed1de043745262e49bb44bde7095c4723jwoolley# The variables have the same names as the options, with
59d01b9ed1de043745262e49bb44bde7095c4723jwoolley# dashes changed to underlines.
f53367106769f90696d9c1f0ffcf9fbb4db883c2jerenkrantz# Initialize some other variables.
9a940e8e90f9b163737e23bbf72a3f2c67a39220brianp# Maximum number of lines to put in a shell here document.
98f81eac9530d487f05013cda9df99755bb59689trawick # If the previous option needs an argument, assign it.
98f81eac9530d487f05013cda9df99755bb59689trawick if test -n "$ac_prev"; then
0b493ad526b8bbc2ff21ce19510fc32238abb816jwoolley eval "$ac_prev=\$ac_option"
1376737cb6afa24d3e12f3a223318fe1bd71bb1fslive -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
ec1719a5748717f67dcd279bb64bd0da424ae450jerenkrantz # Accept the important Cygnus configure options, so we can diagnose typos.
3f0220bf6e864d982a10348c9cc269bfe798d65eaaron -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
2ae7ad6f58b7e3188ed4bd375a8930808529ba71jwoolley -build=* | --build=* | --buil=* | --bui=* | --bu=*)
5b30f835d627766b024500189c35bb55e686e890brianp -cache-file | --cache-file | --cache-fil | --cache-fi \
5b30f835d627766b024500189c35bb55e686e890brianp | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
d45481dadf7f1f0ffd95b38b1c5b0ea6b2d57888jerenkrantz -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
d45481dadf7f1f0ffd95b38b1c5b0ea6b2d57888jerenkrantz | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
0c7592379b55b7736dd70d2d87f53af9a2347614jerenkrantz -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
6d62bc22f8f22a43e66e2e4d8860a5a144316b1astoddard -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
71eda8b1c14e4d0adb2f294f22299587cd3d74a9striker ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
922c0ad0014590bb10d13674012683eef44c0bbarederpj # Reject names that are not valid shell variable names.
922c0ad0014590bb10d13674012683eef44c0bbarederpj if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
922c0ad0014590bb10d13674012683eef44c0bbarederpj { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
aec964227053fab7e59deb26709b94726ce67224rederpj eval "enable_${ac_feature}=no" ;;
1e27f530f81c6058d1a11944ae1e2da45977fc7bjerenkrantz ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
1e27f530f81c6058d1a11944ae1e2da45977fc7bjerenkrantz # Reject names that are not valid shell variable names.
1e27f530f81c6058d1a11944ae1e2da45977fc7bjerenkrantz if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
469549ac22c6f7b9ecdd9df2565925563e4df84djwoolley { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
7a9f3bef545b0bbc93c2ed758119b0d2e2647c31trawick eval "enable_${ac_feature}='$ac_optarg'" ;;
0be05c658c7e6e5a05fd2d4068d8ac0f030d4752jwoolley -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
223b367115aefc20f1c32fe2d4e2bfcc4bfe108fjwoolley | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
223b367115aefc20f1c32fe2d4e2bfcc4bfe108fjwoolley -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
223b367115aefc20f1c32fe2d4e2bfcc4bfe108fjwoolley | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
f3f0c2a5f6009d06350341219d1f38a1644708bcbrianp # Obsolete; use --with-gas.
33b095d35c5dac22358ce63c32635ab59ce7cb25aaron # Omit some internal or obsolete options to make the list less imposing.
33b095d35c5dac22358ce63c32635ab59ce7cb25aaron # This message is too long to be a string in the A/UX 3.1 sh.
33b095d35c5dac22358ce63c32635ab59ce7cb25aaronUsage: configure [options] [host]
100e6f5dec61d108494565f8f3bfa894afadc33ajerenkrantzOptions: [defaults in brackets after descriptions]
100e6f5dec61d108494565f8f3bfa894afadc33ajerenkrantzConfiguration:
100e6f5dec61d108494565f8f3bfa894afadc33ajerenkrantz --cache-file=FILE cache test results in FILE
100e6f5dec61d108494565f8f3bfa894afadc33ajerenkrantz --help print this message
5d5d5ca04c57c7ab865924f4648e8f80de27adfebrianp --no-create do not create output files
5d5d5ca04c57c7ab865924f4648e8f80de27adfebrianp --quiet, --silent do not print \`checking...' messages
4f3ec2ec53c7ca5ca308d85e2e0beb933a2fd0f9aaron --version print the version of autoconf that created configure
4f3ec2ec53c7ca5ca308d85e2e0beb933a2fd0f9aaronDirectory and file names:
4f3ec2ec53c7ca5ca308d85e2e0beb933a2fd0f9aaron --prefix=PREFIX install architecture-independent files in PREFIX
4f3ec2ec53c7ca5ca308d85e2e0beb933a2fd0f9aaron [$ac_default_prefix]
4f3ec2ec53c7ca5ca308d85e2e0beb933a2fd0f9aaron --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
3c0c3ae288166a8736593093c636768702abf263aaron [same as prefix]
3c0c3ae288166a8736593093c636768702abf263aaron --bindir=DIR user executables in DIR [EPREFIX/bin]
3c0c3ae288166a8736593093c636768702abf263aaron --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
b8a843847aae3d9a1838fb8f1de84cd66212f48atrawick --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
b8a843847aae3d9a1838fb8f1de84cd66212f48atrawick --datadir=DIR read-only architecture-independent data in DIR
c8411888a54dd5dbfd8a5d337ebf0e911a789063trawick [PREFIX/share]
c8411888a54dd5dbfd8a5d337ebf0e911a789063trawick --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
c8411888a54dd5dbfd8a5d337ebf0e911a789063trawick --sharedstatedir=DIR modifiable architecture-independent data in DIR
28caffb98f18c0b9562ac20870f7ab91f3d9a01fjerenkrantz [PREFIX/com]
28caffb98f18c0b9562ac20870f7ab91f3d9a01fjerenkrantz --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
28caffb98f18c0b9562ac20870f7ab91f3d9a01fjerenkrantz --libdir=DIR object code libraries in DIR [EPREFIX/lib]
d757628a07145aa711ba75b4e7c7c01a33133ca1jerenkrantz --includedir=DIR C header files in DIR [PREFIX/include]
d757628a07145aa711ba75b4e7c7c01a33133ca1jerenkrantz --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
d757628a07145aa711ba75b4e7c7c01a33133ca1jerenkrantz --infodir=DIR info documentation in DIR [PREFIX/info]
1585c2979d749ee71edb6a1d57bc9ff6db12a426jerenkrantz --mandir=DIR man documentation in DIR [PREFIX/man]
1585c2979d749ee71edb6a1d57bc9ff6db12a426jerenkrantz --srcdir=DIR find the sources in DIR [configure dir or ..]
1585c2979d749ee71edb6a1d57bc9ff6db12a426jerenkrantz --program-prefix=PREFIX prepend PREFIX to installed program names
6bdb2c094666367615890147775bb18761216c8dminfrin --program-suffix=SUFFIX append SUFFIX to installed program names
6bdb2c094666367615890147775bb18761216c8dminfrin --program-transform-name=PROGRAM
6bdb2c094666367615890147775bb18761216c8dminfrin run sed PROGRAM on installed program names
c069757188a3cd9ab19b05169b005a824b60b6fcaaron --build=BUILD configure for building on BUILD [BUILD=HOST]
c069757188a3cd9ab19b05169b005a824b60b6fcaaron --host=HOST configure for HOST [guessed]
11ce97701b22d795fd1a5ec3769a3367bc220921wrowe --target=TARGET configure for TARGET [TARGET=HOST]
11ce97701b22d795fd1a5ec3769a3367bc220921wroweFeatures and packages:
11ce97701b22d795fd1a5ec3769a3367bc220921wrowe --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
11ce97701b22d795fd1a5ec3769a3367bc220921wrowe --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
11ce97701b22d795fd1a5ec3769a3367bc220921wrowe --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
6cdd5cd95d8323de5cfb912d8fc0df8c5e3d02cejerenkrantz --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
e45d7d4ca98387c2898f8302bafb31e3b4f5a5d8jwoolley --x-includes=DIR X include files are in DIR
6cdd5cd95d8323de5cfb912d8fc0df8c5e3d02cejerenkrantz --x-libraries=DIR X library files are in DIR
239ab9d14d3851c2efc1312b3b42c838073533f4jerenkrantz if test -n "$ac_help"; then
239ab9d14d3851c2efc1312b3b42c838073533f4jerenkrantz echo "--enable and --with options recognized:$ac_help"
b9cf7102006ac2ccfebcb78174585986ff127ba9jwoolley -includedir | --includedir | --includedi | --included | --include \
2b13bc45632d72cdf50ac42149e4fc8bc0d05bf2stoddard -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2b13bc45632d72cdf50ac42149e4fc8bc0d05bf2stoddard -infodir | --infodir | --infodi | --infod | --info | --inf)
52617e76a53b1d90da027a5311790e1ccef8f60ftrawick -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
52617e76a53b1d90da027a5311790e1ccef8f60ftrawick -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
d157b208942316e96c34fa8b2222ed4cc2e56783trawick -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
dc903d97a896d4e414efb1cb49f22ce00a49f070trawick -localstatedir | --localstatedir | --localstatedi | --localstated \
dc903d97a896d4e414efb1cb49f22ce00a49f070trawick | --localstate | --localstat | --localsta | --localst \
dc903d97a896d4e414efb1cb49f22ce00a49f070trawick -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
dc903d97a896d4e414efb1cb49f22ce00a49f070trawick | --localstate=* | --localstat=* | --localsta=* | --localst=* \
dc903d97a896d4e414efb1cb49f22ce00a49f070trawick | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
68f803c489cf61918fb4e61745fcd1e0cc980541jerenkrantz -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
15405e91bb3fad5a80f7abe828a00b44a3a65bf8jerenkrantz -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
f905b21d99b264dbf26acc30b430ebe92838cdcejerenkrantz # Obsolete; use --without-fp.
431d6106eaf796cc8dfa8cb0db2b180dd93ed6dftrawick -no-create | --no-create | --no-creat | --no-crea | --no-cre \
b3edf21d591bfd0e64bbec0dda73c0e41d7ecdb6wrowe -no-recursion | --no-recursion | --no-recursio | --no-recursi \
b3edf21d591bfd0e64bbec0dda73c0e41d7ecdb6wrowe | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
5d238058bc748dfa13ff21890ae4a58481e3be89jerenkrantz -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
5d238058bc748dfa13ff21890ae4a58481e3be89jerenkrantz | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
9282327b0ffe8981d39835130dfb334af192b508jerenkrantz -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
8fcaadcb287f361bb304d53a69d508500840fafcjerenkrantz | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
8fcaadcb287f361bb304d53a69d508500840fafcjerenkrantz | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
8af88bd6958b80c224e964892b8237720b13ab1ajerenkrantz -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
8af88bd6958b80c224e964892b8237720b13ab1ajerenkrantz -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
25b812bcab8b61981e288996b991e0ab4d224b92jerenkrantz -program-prefix | --program-prefix | --program-prefi | --program-pref \
87f0329e30de94828e08d53a99ea23cda86a9fccjerenkrantz -program-prefix=* | --program-prefix=* | --program-prefi=* \
87f0329e30de94828e08d53a99ea23cda86a9fccjerenkrantz | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
0396e75f271f51be57be778655e32ba8d64d240bwrowe -program-suffix | --program-suffix | --program-suffi | --program-suff \
dc10f7a2f87d4cd7cdd16dc248b165122b4ac62btrawick -program-suffix=* | --program-suffix=* | --program-suffi=* \
dc10f7a2f87d4cd7cdd16dc248b165122b4ac62btrawick | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
431d6106eaf796cc8dfa8cb0db2b180dd93ed6dftrawick -program-transform-name | --program-transform-name \
431d6106eaf796cc8dfa8cb0db2b180dd93ed6dftrawick | --program-transform-nam | --program-transform-na \
390489eb69fe15943ddf67adcc832ca8de125cd9jerenkrantz | --program-transform-n | --program-transform- \
a1e8b54f269a8f2388590174174509546e886e60stoddard -program-transform-name=* | --program-transform-name=* \
3eb95d6629bb326ae90e5eec693b7e628951751brbb | --program-transform-nam=* | --program-transform-na=* \
61d2cd001754548e90364aa3a7e76863616544b0minfrin -q | -quiet | --quiet | --quie | --qui | --qu | --q \
9a3bbca61e24c13d8b496116ac759117136c6bf4aaron -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
64c351fd973428b5bb4c28e983fa86875ea4e60fdougm -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
0506359f47150991eaaae37ca07f94117a9aa63dtrawick -sharedstatedir | --sharedstatedir | --sharedstatedi \
0506359f47150991eaaae37ca07f94117a9aa63dtrawick | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
0506359f47150991eaaae37ca07f94117a9aa63dtrawick | --sharedst | --shareds | --shared | --share | --shar \
67f62b7a48ff9eb8d9f31898dceaf9f89280a723dougm -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
9d3fdc3bb8077a46851080e17ef9f16c83720c8ftrawick | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
9d3fdc3bb8077a46851080e17ef9f16c83720c8ftrawick | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
0ea12b5dcb3d1d399f9bff6f56fb445d80205f9dstriker -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
e93624301705e3dc68992e3b488a764389eb8b98trawick -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
cba0728e3535ee87e89cdb3cb54ce91eda18f6ccaaron -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
cba0728e3535ee87e89cdb3cb54ce91eda18f6ccaaron | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
a45de374fb215f294eb1369d4406ac79d6596ee1brianp -target | --target | --targe | --targ | --tar | --ta | --t)
7f14bcf6b594703df385ce84ba2ee3cdf3ccbae4trawick -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
7f14bcf6b594703df385ce84ba2ee3cdf3ccbae4trawick -v | -verbose | --verbose | --verbos | --verbo | --verb)
a1be7357e2c08b9dfe52c277063d212d65b15feejim echo "configure generated by autoconf version 2.13"
6682df9b639663c50f447e5690dd62cce7b1c086trawick ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
6682df9b639663c50f447e5690dd62cce7b1c086trawick # Reject names that are not valid shell variable names.
51c0f0fe0a49a180389009442a83f74b1916f96atrawick if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
51c0f0fe0a49a180389009442a83f74b1916f96atrawick { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
ecb511c254d5affe7cc018482d53c19aaf145878jerenkrantz eval "with_${ac_package}='$ac_optarg'" ;;
ecb511c254d5affe7cc018482d53c19aaf145878jerenkrantz ac_package=`echo $ac_option|sed -e 's/-*without-//'`
60b83cd8f9427809082340cfd7581091990962f5jwoolley # Reject names that are not valid shell variable names.
60b83cd8f9427809082340cfd7581091990962f5jwoolley if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
60b83cd8f9427809082340cfd7581091990962f5jwoolley { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
e93624301705e3dc68992e3b488a764389eb8b98trawick eval "with_${ac_package}=no" ;;
d56d6753a75f5b915120c797aedbfcf13bb14c8brbb # Obsolete; use --with-x.
d56d6753a75f5b915120c797aedbfcf13bb14c8brbb -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
4aaf7088758ca56823e585969320f2405a7cc5fcdougm -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
e0596968fe84a2bdaebe0192d8d64d2e9856d4d6brianp -x-libraries | --x-libraries | --x-librarie | --x-librari \
f33c2c86b419be97248c5289b71738b5f0c7ab0adirkx | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
f33c2c86b419be97248c5289b71738b5f0c7ab0adirkx -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
c5fdaba2e790a0a351d796b5fe3dcfb585be1ba2jim | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
c5fdaba2e790a0a351d796b5fe3dcfb585be1ba2jim -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
2fc50921b88defeb7127985dfe4b4130175e069ejwoolley if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
2fc50921b88defeb7127985dfe4b4130175e069ejwoolley echo "configure: warning: $ac_option: invalid host type" 1>&2
47638f4a67ce38e5a83e7a303d6f2d5c9ff47b4ebrianp { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
a2d4f1da4e19836b2d6a673f80f33381a926a8bddougmif test -n "$ac_prev"; then
a2d4f1da4e19836b2d6a673f80f33381a926a8bddougm { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
30b4a330a5f651eb5198fa93dbb9f3d3594564c9stoddardtrap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
30b4a330a5f651eb5198fa93dbb9f3d3594564c9stoddard# File descriptor usage:
17895aa4b66b8af02d8788b15cb92e1f6a8ecafcwrowe# 0 standard input
983988ac7b8faaf037f4df0ab29729cd047a3ffdtrawick# 1 file creation
983988ac7b8faaf037f4df0ab29729cd047a3ffdtrawick# 2 errors and warnings
7a64b871b8b5e5a427b570e90f0e38e88266c783jim# 3 some systems may open it to /dev/tty
7a64b871b8b5e5a427b570e90f0e38e88266c783jim# 4 used on the Kubota Titan
7a64b871b8b5e5a427b570e90f0e38e88266c783jim# 6 checking for... messages and results
7a64b871b8b5e5a427b570e90f0e38e88266c783jim# 5 compiler messages saved in config.log
5842e6b336b1cc0252b6cc2944dd81c7d3a19a1bbrianpThis file contains any messages produced by compilers while
2532433e80d73506f7bcc18bd0dab686f1c39397minfrinrunning configure, to aid debugging if configure makes a mistake.
2532433e80d73506f7bcc18bd0dab686f1c39397minfrin# Strip out --no-create and --no-recursion so they do not pile up.
c148bc6b4eea544af816783400362f741c5f5fc2trawick# Also quote any args containing shell metacharacters.
9d432e23f6025b78322cbee43e8e89262a108e5eaaron -no-create | --no-create | --no-creat | --no-crea | --no-cre \
9d432e23f6025b78322cbee43e8e89262a108e5eaaron -no-recursion | --no-recursion | --no-recursio | --no-recursi \
9d432e23f6025b78322cbee43e8e89262a108e5eaaron | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
6a5bdbbacf4a62adecde52b8f23ebcc4fa2a08b8trawick *) ac_configure_args="$ac_configure_args $ac_arg" ;;
10306ac2c175f420e6989568f4c8535a5dbc1349minfrin# NLS nuisances.
10306ac2c175f420e6989568f4c8535a5dbc1349minfrin# Only set these to C if already set. These must not be set unconditionally
b4e4d76bf454e1b603b410110356dbcf12f3bc42jim# because not all systems understand e.g. LANG=C (notably SCO).
b4e4d76bf454e1b603b410110356dbcf12f3bc42jim# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
b4e4d76bf454e1b603b410110356dbcf12f3bc42jim# Non-C LC_CTYPE values break the ctype check.
adb1e17ae7e1cf5cf4f8f2b07d3389cb55f4becetrawickif test "${LANG+set}" = set; then LANG=C; export LANG; fi
adb1e17ae7e1cf5cf4f8f2b07d3389cb55f4becetrawickif test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
adb1e17ae7e1cf5cf4f8f2b07d3389cb55f4becetrawickif test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
71f891073f6fa0209870791f64cbbf28d77ffdc1brianpif test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
2864362ca8266097928e84f101010bdf814ffa08stoddard# confdefs.h avoids OS command line length limits that DEFS can exceed.
2864362ca8266097928e84f101010bdf814ffa08stoddard# AIX cpp loses on an empty file, so make sure it contains at least a newline.
f51dbb1f5b66d94b5c190bfcd444aa73bdc2b176trawick# A filename unique to this package, relative to the directory that
893c106ae59d8e96d921524b123ae26dea8ad37fgstein# configure is in, which we can look for to find out if srcdir is correct.
893c106ae59d8e96d921524b123ae26dea8ad37fgstein# Find the source files, if location was not specified.
3aa6444bcee4e9fc32ec8860d832ff83a15784efianhif test -z "$srcdir"; then
e2bdfd25d9d0461e0a3ab18ceff2113215e3e115brianp # Try the directory containing this script, then its parent.
81b8d0f83e9d0bc2bf6900fc680737e0cac439a2brianp { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
b5033962c73a470b6f36a3ac796c542a6ab4ddf6brianp { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
d7856f850b9b51165f23ae381a891bda894e1373ianh# Prefer explicitly selected file to automatically selected ones.
d75626f0952c6152a99acd013a4f127d46f0f9edtrawickif test -z "$CONFIG_SITE"; then
d75626f0952c6152a99acd013a4f127d46f0f9edtrawick CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
d75626f0952c6152a99acd013a4f127d46f0f9edtrawick CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
88ecd979f1112454432371f55a1420240fae3743trawick if test -r "$ac_site_file"; then
88ecd979f1112454432371f55a1420240fae3743trawick echo "loading site script $ac_site_file"
c02a689f2274966ed5d1c16207f74b5128c35c86trawickif test -r "$cache_file"; then
c02a689f2274966ed5d1c16207f74b5128c35c86trawick echo "loading cache $cache_file"
f51dbb1f5b66d94b5c190bfcd444aa73bdc2b176trawick echo "creating cache $cache_file"
aa202cda00837ed5381d5f67254e08c565a5c3a8stoddard# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
aa202cda00837ed5381d5f67254e08c565a5c3a8stoddardac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
aa202cda00837ed5381d5f67254e08c565a5c3a8stoddardac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
94f4821a5444a4fe782f772aef5db4d8b839675djerenkrantzif (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
94f4821a5444a4fe782f772aef5db4d8b839675djerenkrantz # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
94f4821a5444a4fe782f772aef5db4d8b839675djerenkrantz if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
92d311b27a6182c2eed67317990c8c168584ee75trawickif test -z "$ac_aux_dir"; then
92d311b27a6182c2eed67317990c8c168584ee75trawick { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
6f0dd808a674b7c09a625b36f320030f4e339f8faaronac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
59511de77b389ced52253d055fc470ecfedfcd99aaron# Make sure we can run config.sub.
59511de77b389ced52253d055fc470ecfedfcd99aaronif ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
59511de77b389ced52253d055fc470ecfedfcd99aaronelse { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
b5cdec7910a44654cb254b99c5a39d7c180c4bcajerenkrantzecho $ac_n "checking host system type""... $ac_c" 1>&6
b5cdec7910a44654cb254b99c5a39d7c180c4bcajerenkrantzecho "configure:672: checking host system type" >&5
6c2dc61d4760fa5e356f95c4b1685eec7f1d75dcaaron if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
6c2dc61d4760fa5e356f95c4b1685eec7f1d75dcaaron else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
01e8aca9299a0b872414c24c8b7724d6f88ae665ianhhost=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
f783dff0c8b69344a6b67e97f16b91f8b0790799dougmhost_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
f783dff0c8b69344a6b67e97f16b91f8b0790799dougmhost_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
f783dff0c8b69344a6b67e97f16b91f8b0790799dougmhost_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
6362515725d2b6d66ac3b26531f8c53ac75f8c20wroweecho $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
f783dff0c8b69344a6b67e97f16b91f8b0790799dougmecho "configure:694: checking whether ${MAKE-make} sets \${MAKE}" >&5
6362515725d2b6d66ac3b26531f8c53ac75f8c20wroweset dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
6362515725d2b6d66ac3b26531f8c53ac75f8c20wroweif eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
98ae9b96926a3dd99b195d7628c7e527e720f6acaaron @echo 'ac_maketemp="${MAKE}"'
98ae9b96926a3dd99b195d7628c7e527e720f6acaaron# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
98ae9b96926a3dd99b195d7628c7e527e720f6acaaroneval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
98ae9b96926a3dd99b195d7628c7e527e720f6acaaronif test -n "$ac_maketemp"; then
f37499bf7da81cd6b697d4667233137957426428jerenkrantzif eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
83d91d60d00dc345bfbcbc48ff206db4a6b23b2eaaron# Extract the first word of "ranlib", so it can be a program name with args.
c10fe96ac7d024918e26af6c8ba5470273b75bb2jwoolleyif eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
f37499bf7da81cd6b697d4667233137957426428jerenkrantz if test -n "$RANLIB"; then
cbfbf9598d686b11afc7a9f9d91a8facfdfa7216trawick ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
73cba74a34576f7ece4bd98fd58c8a932a178e6daaronif test -n "$RANLIB"; then
29c30db45f6a469017e16b606611e460cc1a1f2caaron# Find a good install program. We prefer a C program (faster),
29c30db45f6a469017e16b606611e460cc1a1f2caaron# so one script is as good as another. But avoid the broken or
095071bbd0b3ccccd6883edc7cd10f13cac71160ianh# incompatible versions:
a322a82f79b790fb7ddcd7df4459d20725450fa7trawick# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
21644b4d1b09d0531911a8c9a891819a261480f8minfrin# AFS /usr/afsws/bin/install, which mishandles nonexistent args
21644b4d1b09d0531911a8c9a891819a261480f8minfrin# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
21644b4d1b09d0531911a8c9a891819a261480f8minfrin# ./install, which can be erroneously created by make from ./install.sh.
21644b4d1b09d0531911a8c9a891819a261480f8minfrinecho $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
21644b4d1b09d0531911a8c9a891819a261480f8minfrinecho "configure:762: checking for a BSD compatible install" >&5
21644b4d1b09d0531911a8c9a891819a261480f8minfrinif test -z "$INSTALL"; then
21644b4d1b09d0531911a8c9a891819a261480f8minfrinif eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
bf5cf58cc30750e9f9764cc830aff426ced288f9aaron # Account for people who put trailing slashes in PATH elements.
bf5cf58cc30750e9f9764cc830aff426ced288f9aaron /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
7cdc36a99b42a3c5e36ac47726ad41c9c7b039ceianh # OSF1 and SCO ODT 3.0 have their own names for install.
7cdc36a99b42a3c5e36ac47726ad41c9c7b039ceianh # Don't use installbsd from OSF since it installs stuff as root
cbfbf9598d686b11afc7a9f9d91a8facfdfa7216trawick # by default.
e37c657172940f82d9b28a45fc1304140eb0b1d7stoddard # AIX install. It has an incompatible calling convention.
edd6c1f4be1aa23fc99134802941397f7f31b3d5jerenkrantz if test "${ac_cv_path_install+set}" = set; then
d7d551e53cdfb3288eb651447d7209599c40d17estoddard # As a last resort, use the slow shell script. We don't cache a
edcd9e6d9d29f60b25f7b9779dbd33e9dc1cc79ejerenkrantz # path for INSTALL within a source directory, because that will
956a1511249b1fec73aaee0fb7d69c8492aa1368aaron # break other packages using the cache if that directory is
956a1511249b1fec73aaee0fb7d69c8492aa1368aaron # removed, or if the path is relative.
d0e4ca9bfd8bf44bea574733965851bfee939d95aaron# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
d0e4ca9bfd8bf44bea574733965851bfee939d95aaron# It thinks the first close brace ends the variable substitution.
d0e4ca9bfd8bf44bea574733965851bfee939d95aarontest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
d0e4ca9bfd8bf44bea574733965851bfee939d95aarontest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
a4b3fb28f3d2e0983b15b4c6828c6980f2fc9b15jerenkrantztest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
edcd9e6d9d29f60b25f7b9779dbd33e9dc1cc79ejerenkrantz# Extract the first word of "ar", so it can be a program name with args.
edcd9e6d9d29f60b25f7b9779dbd33e9dc1cc79ejerenkrantzecho $ac_n "checking for $ac_word""... $ac_c" 1>&6
edcd9e6d9d29f60b25f7b9779dbd33e9dc1cc79ejerenkrantzif eval "test \"`echo '$''{'ac_cv_path_AR'+set}'`\" = set"; then
edcd9e6d9d29f60b25f7b9779dbd33e9dc1cc79ejerenkrantz ac_cv_path_AR="$AR" # Let the user override the test with a path.
0733b4ac1b339822a5b506be8a28fea6e384cbfetrawick ac_cv_path_AR="$AR" # Let the user override the test with a dos path.
1582553026e5e3a1921a34222eaee923fddee9b9wroweif test -n "$AR"; then
fb50cf6056a42f94cc9e8eeabea1eb8d05e0aefcaaron# Extract the first word of "$ac_prog", so it can be a program name with args.
d56c38bfb6293bfff7c980858b19e32039106618jerenkrantzif eval "test \"`echo '$''{'ac_cv_path_ETAGS'+set}'`\" = set"; then
7c301a1818939f85da8f3629cc3e9b5588610ef0jerenkrantz ac_cv_path_ETAGS="$ETAGS" # Let the user override the test with a path.
a7fb6d64e059872d5410e873b7f492d62a5cf916rbb ac_cv_path_ETAGS="$ETAGS" # Let the user override the test with a dos path.
628ce9384209a460022be952ccdcc8538ad3ca84sliveif test -n "$ETAGS"; then
f6f453bf03007f391d347dc821e507cdd924d1bftrawicktest -n "$ETAGS" && break
205f4595abf32ae208958d7f8abea68b335c9f39trawick# Special processing of paths depending on whether --prefix,
205f4595abf32ae208958d7f8abea68b335c9f39trawick# --sysconfdir or --localstatedir arguments were given. What's
1078b2c97bb39352bae929d2ed3f290a420470a7ianh# desired is some compatability with the way previous versions
1078b2c97bb39352bae929d2ed3f290a420470a7ianh# of BIND built; they defaulted to /usr/local for most parts of
1078b2c97bb39352bae929d2ed3f290a420470a7ianh# the installation, but named.boot/named.conf was in /etc
1078b2c97bb39352bae929d2ed3f290a420470a7ianh# and named.pid was in /var/run.
1078b2c97bb39352bae929d2ed3f290a420470a7ianh# So ... if none of --prefix, --sysconfdir or --localstatedir are
1078b2c97bb39352bae929d2ed3f290a420470a7ianh# specified, set things up that way. If --prefix is given, use
b6135e7458bf348c694157b042786562d2b86e18ianh# it for sysconfdir and localstatedir the way configure normally
a8d5ccbcbde8cb6cf3a9dcf2eb05f393ab76baa9ianh# would. To change the prefix for everything but leave named.conf
611e46c801a6bd62e58a7f68abe1d2bbba473a92aaron# in /etc or named.pid in /var/run, then do this the usual configure way:
611e46c801a6bd62e58a7f68abe1d2bbba473a92aaron# ./configure --prefix=/somewhere --sysconfdir=/etc
611e46c801a6bd62e58a7f68abe1d2bbba473a92aaron# ./configure --prefix=/somewhere --localstatedir=/var
4224d5789080ea5586d49420da1e1996f5653bb5ianh# To put named.conf and named.pid in /usr/local with everything else,
4224d5789080ea5586d49420da1e1996f5653bb5ianh# set the prefix explicitly to /usr/local even though that's the default:
fd3fa792f04fc9c4e8f5f83dceb0fc34e71f8570ianh# ./configure --prefix=/usr/local
2d2e3667d789f527a04ce6a0089621470c8143ccmartin '${prefix}/etc')
2d2e3667d789f527a04ce6a0089621470c8143ccmartin '${prefix}/var')
22d348febc3c258df246ac93e37945398dbf0348ianh# Make sure INSTALL uses an absolute path, else it will be wrong in all
22d348febc3c258df246ac93e37945398dbf0348ianh# Makefiles, since they use make/rules.in and INSTALL will be adjusted by
7a95e47ff0d0e4306df0901d56131b49dca5691etrawick# configure based on the location of the file where it is substituted.
62af8654f682ca4913636bae099bec0befab985ctrawick# Since in BIND9 INSTALL is only substituted into make/rules.in, an immediate
62af8654f682ca4913636bae099bec0befab985ctrawick# subdirectory of install-sh, This relative path will be wrong for all
62af8654f682ca4913636bae099bec0befab985ctrawick# directories more than one level down from install-sh.
5e98e52df07f59be456af01ebf46d81defef2385trawick # Not all systems have dirname.
b393bdb2e1eabbe4b9b37c5eaeeeca799b2eb324stoddard test -d "$ac_dir" && ac_dir="`(cd \"$ac_dir\" && pwd)`"
3cd826b00280881e5a2f03d8ec1f8d55802b93dewrowe# On these hosts, we really want to use cc, not gcc, even if it is
435c423bdcfa61ff871a9e289d1140f2bac839b8brianp# found. The gcc that these systems have will not correctly handle
435c423bdcfa61ff871a9e289d1140f2bac839b8brianp# However, if the user sets $CC to be something, let that override
bf9e1eb04f8b0af835d15ac1d0ebcd8a154474cfjerenkrantz# our change.
45613d36b9466a48def0498cffa07f48980720f8jerenkrantz # Use Sun's cc if it is available, but watch
45613d36b9466a48def0498cffa07f48980720f8jerenkrantz # out for /usr/ucb/cc; it will never be the right
45613d36b9466a48def0498cffa07f48980720f8jerenkrantz # compiler to use.
6f912b4ad14f622aa8d57f887c8c745e13ff6dbfjerenkrantz # If setting CC here fails, the AC_PROG_CC done
1abe6003aeb198cc97263503bceed457a6c2cb4aaaron # below might still find gcc.
0dc14774d2c21baf6123fcafdb853af5be1d97edwrowe if test -f "$ac_dir/cc"; then
52489511342e4ff3fe399e57f29d38e5c4227bc8trawick# NetBSD has two alternative pthreads implementations. Make the
52489511342e4ff3fe399e57f29d38e5c4227bc8trawick# user choose one by saying --with-mit-pthreads or --with-ptl2
8864d6f5f4744b5d2b638e2a53e2660bcf8b5ab5dougm# if necessary.
1dfb5e008f35ed13c343b7f6306675e33c399792gstein echo $ac_n "checking which thread library to use""... $ac_c" 1>&6
1dfb5e008f35ed13c343b7f6306675e33c399792gsteinecho "configure:1019: checking which thread library to use" >&5
1dfb5e008f35ed13c343b7f6306675e33c399792gstein # Check whether --with-mit-pthreads or --without-mit-pthreads was given.
eadb64379834961679105b7fd4178253fbb9f95dtrawickif test "${with_mit_pthreads+set}" = set; then
b8daf4c5ea3d5bb2111b1b021de6d3cd891e403bcoar # Check whether --with-ptl2 or --without-ptl2 was given.
b8daf4c5ea3d5bb2111b1b021de6d3cd891e403bcoarif test "${with_ptl2+set}" = set; then
88dd056b9863502bba82c2889a0c4cde9fc0ba93trawick # If user did not choose a thread library explicitly,
7ef3a1797818c6d25efe8c5fadb5eec3b965a6fabrianp # try to choose one automatically. This will work when
7ef3a1797818c6d25efe8c5fadb5eec3b965a6fabrianp # exactly one library is installed.
e93d563852e1fa7a8c73af3b807916b41942d2f6dreid# LIBS="-L$LOCALBASE/lib -lPTL $LIBS"
e93d563852e1fa7a8c73af3b807916b41942d2f6dreid# STD_CINCLUDES="-nostdinc -idirafter $pkg/include"
525508562a53864b78cf8da91ac13be9c072bba7jerenkrantzPlease choose a thread library using one of
f1fe10268cdadb775eef841aa4fa7305291d35fdtrawick configure --with-mit-pthreads
f1fe10268cdadb775eef841aa4fa7305291d35fdtrawick configure --with-ptl2
65a1588701f9e5d0f62261d0da85733a23edc92ftrawick# Extract the first word of "gcc", so it can be a program name with args.
d5d164b22a2004abed640cb52fc275f00ed92f69jerenkrantzif eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
360a9d933a8c25f5975e0ddc883607a5d37e408estoddard if test -n "$CC"; then
360a9d933a8c25f5975e0ddc883607a5d37e408estoddard ac_cv_prog_CC="$CC" # Let the user override the test.
bb6a7fc0427d0d197c50de34b94a0d23e5732696wroweif test -n "$CC"; then
e1753aabf5df187b5b04e72a958af4b65b1a125daaronif test -z "$CC"; then
e1753aabf5df187b5b04e72a958af4b65b1a125daaron # Extract the first word of "cc", so it can be a program name with args.
e1753aabf5df187b5b04e72a958af4b65b1a125daaronif eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
e57f991fe2b9a4c080cd50ca913a2a5693b096b5aaron if test -n "$CC"; then
6ef713e25735887d4a59a879b97a68bd575ecb92trawick # We found a bogon in the path, so make sure we never use it.
1eb1f02a23de724c105b2c6c9fbd469a611059c6trawick # We chose a different compiler from the bogus one.
8abd60101b9794e224795ccf68b8ba984efbc94astoddard # However, it has the same basename, so the bogon will be chosen
8abd60101b9794e224795ccf68b8ba984efbc94astoddard # first if we set CC to just the basename; use the full file name.
26d590c0e5338f66ca1aad6f925374843fac5121stoddardif test -n "$CC"; then
d472f67198d6b15dd1270136f180cca9c9263243trawick if test -z "$CC"; then
a3bb95a3600153c7f09f62749e32093658943c32brianp # Extract the first word of "cl", so it can be a program name with args.
b760518cc17e7124ba546ed63063603f1ab82a40aaronif eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
b760518cc17e7124ba546ed63063603f1ab82a40aaron if test -n "$CC"; then
c6741d11357aace4c9ba39535d3cb2d751f46114trawickif test -n "$CC"; then
86a5d34400b7f586ad2cca97c8b33b2f55bac61btrawick test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
6b477c0a238733ca8fd156629310513d29dc7e02trawickecho $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
6b477c0a238733ca8fd156629310513d29dc7e02trawickecho "configure:1204: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
2b31ac2c6342d2afcf67b7b0f08c928a87f98c74wrowe# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
557eb8d48357657fa898250560f089c65539c634gregamesac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
557eb8d48357657fa898250560f089c65539c634gregamesac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
25b715e9687f82ea055fdea2a9761c7e5f1ac6eetrawick#line 1215 "configure"
51ced3b28ef430a96586284d4320f7dbdaf7225ebrianp#include "confdefs.h"
51ced3b28ef430a96586284d4320f7dbdaf7225ebrianpmain(){return(0);}
a222035458f89e2db231450ba6d5fae8052da5f5aaronif { (eval echo configure:1220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
a222035458f89e2db231450ba6d5fae8052da5f5aaron # If we can't run a trivial program, we are probably using a cross compiler.
855e263a93fde2e30d10a48a9ffc047039bfc9d9brianp# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
54b3b7946d22324cea615d7c8a4ff0c9eadd1f8crbbac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
54b3b7946d22324cea615d7c8a4ff0c9eadd1f8crbbac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
e28c02dc08247d3fcb71e81791cac2311a248dfdrbb { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
e28c02dc08247d3fcb71e81791cac2311a248dfdrbbecho $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
e28c02dc08247d3fcb71e81791cac2311a248dfdrbbecho "configure:1246: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
f9f506f0686ad065b4c6fe14dd962cdd478350dbianhecho $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
f9f506f0686ad065b4c6fe14dd962cdd478350dbianhecho "configure:1251: checking whether we are using GNU C" >&5
9d0665da83d1e22c0ea0e5f6f940f70f75bf5237ianhif eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
9d0665da83d1e22c0ea0e5f6f940f70f75bf5237ianh#ifdef __GNUC__
47c2fb4c1f155ddb6954e46e7f6d125eef78b3bbaaronif { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1260: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1a6a0072a95887164091e366ba0e89c2b39a954abrianpecho $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1a6a0072a95887164091e366ba0e89c2b39a954abrianpecho "configure:1279: checking whether ${CC-cc} accepts -g" >&5
6f4c27ba6e152792f3729069e8d8313ebc87cc60jwoolleyif eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
5ad238c42b1e159ee8f164515e0c4ee6c727c2fdtrawickif test "$ac_test_CFLAGS" = set; then
fa449f5bc87c5d87c4c60e778c9c882e7254de7ejwoolley# Extract the first word of "$ac_prog", so it can be a program name with args.
227d23a7db41dd89f52391c9356dbb1adcd675e0jwoolleyif eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
227d23a7db41dd89f52391c9356dbb1adcd675e0jwoolley if test -n "$YACC"; then
227d23a7db41dd89f52391c9356dbb1adcd675e0jwoolley ac_cv_prog_YACC="$YACC" # Let the user override the test.
cf233fb4b439415a2bf7bab7e622afd994e0bebftrawickif test -n "$YACC"; then
2a20a2f8432a15b530e0a6b0998c32f40aef82a8gregamestest -n "$YACC" && break
2a20a2f8432a15b530e0a6b0998c32f40aef82a8gregamesecho $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
2a20a2f8432a15b530e0a6b0998c32f40aef82a8gregamesecho "configure:1347: checking how to run the C preprocessor" >&5
2a20a2f8432a15b530e0a6b0998c32f40aef82a8gregames# On Suns, sometimes $CPP names a directory.
f99bffd6087564cf9c05cc29d1c6b38d94e0ed30gregamesif test -z "$CPP"; then
270609308f247c5e934b400b5f1691c2cca16c61jerenkrantzif eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
8458877c9ba0af86acd590eea531476adde3d02dmartin # This must be in double quotes, not single quotes, because CPP may get
8458877c9ba0af86acd590eea531476adde3d02dmartin # substituted into the Makefile and "${CC-cc}" will confuse make.
8458877c9ba0af86acd590eea531476adde3d02dmartin # On the NeXT, cc -E runs the code through the compiler's parser,
8458877c9ba0af86acd590eea531476adde3d02dmartin # not just through cpp.
644be6f54749d2d9950d2c4d2ac448f7af016d26martin#line 1362 "configure"
644be6f54749d2d9950d2c4d2ac448f7af016d26martin#include "confdefs.h"
644be6f54749d2d9950d2c4d2ac448f7af016d26martin#include <assert.h>
8458877c9ba0af86acd590eea531476adde3d02dmartinSyntax Error
b30b04f639d479b96cc08c43ffa34c92ba275676ianhac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
b30b04f639d479b96cc08c43ffa34c92ba275676ianh{ (eval echo configure:1368: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
c4fbc4018fd2b6716673a38ee27eeb36cba41c5djwoolleyac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
c4fbc4018fd2b6716673a38ee27eeb36cba41c5djwoolleyif test -z "$ac_err"; then
ccb5c3af2d491a7cd1c246cd23f0fb083da417fagregames#line 1379 "configure"
0e58e92812f2f679d6bf2ff66cbcfa6c1d1e14bbjerenkrantz#include "confdefs.h"
da6e93dca0222159650783802e23172e3160605egregames#include <assert.h>
da6e93dca0222159650783802e23172e3160605egregamesSyntax Error
c927e13f298c42251296d33cc1fa3eb8232b843daaronac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
c927e13f298c42251296d33cc1fa3eb8232b843daaron{ (eval echo configure:1385: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
c927e13f298c42251296d33cc1fa3eb8232b843daaronac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
c927e13f298c42251296d33cc1fa3eb8232b843daaronif test -z "$ac_err"; then
fa3ca21e09bac0dbc2045e9f53963ba46cfed5b1trawick#line 1396 "configure"
18acb2c0df442ead1d075a1a2207cbb197725b14coar#include "confdefs.h"
18acb2c0df442ead1d075a1a2207cbb197725b14coar#include <assert.h>
18acb2c0df442ead1d075a1a2207cbb197725b14coarSyntax Error
617f972690d850a52cd4e9ef2f32d356e0fae715aaronac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
617f972690d850a52cd4e9ef2f32d356e0fae715aaron{ (eval echo configure:1402: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
617f972690d850a52cd4e9ef2f32d356e0fae715aaronac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
617f972690d850a52cd4e9ef2f32d356e0fae715aaronif test -z "$ac_err"; then
62ddc9851530478919d169ba9c34b80f60cf7718trawickecho $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
62ddc9851530478919d169ba9c34b80f60cf7718trawickecho "configure:1427: checking for ANSI C header files" >&5
62ddc9851530478919d169ba9c34b80f60cf7718trawickif eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
904d7bf799c6216beb34519463596b4fce630308wrowe#line 1432 "configure"
904d7bf799c6216beb34519463596b4fce630308wrowe#include "confdefs.h"
904d7bf799c6216beb34519463596b4fce630308wrowe#include <stdlib.h>
904d7bf799c6216beb34519463596b4fce630308wrowe#include <stdarg.h>
904d7bf799c6216beb34519463596b4fce630308wrowe#include <string.h>
904d7bf799c6216beb34519463596b4fce630308wrowe#include <float.h>
17a4c6968b2fa692ff4dde12fe305230ee6b0421aaronac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17a4c6968b2fa692ff4dde12fe305230ee6b0421aaron{ (eval echo configure:1440: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17a4c6968b2fa692ff4dde12fe305230ee6b0421aaronac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17a4c6968b2fa692ff4dde12fe305230ee6b0421aaronif test -z "$ac_err"; then
b900452c9c36031434d318880f023c0fb9143325rbb # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
b900452c9c36031434d318880f023c0fb9143325rbb#line 1457 "configure"
b900452c9c36031434d318880f023c0fb9143325rbb#include "confdefs.h"
b900452c9c36031434d318880f023c0fb9143325rbb#include <string.h>
6ce942b017db75b559a42bdc2d7b8ea9e869a956wrowe # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6ce942b017db75b559a42bdc2d7b8ea9e869a956wrowe#line 1475 "configure"
6ce942b017db75b559a42bdc2d7b8ea9e869a956wrowe#include "confdefs.h"
6ce942b017db75b559a42bdc2d7b8ea9e869a956wrowe#include <stdlib.h>
a310497ca9c5112d759871e1b7d9f6a40fb78bcfwrowe # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
a310497ca9c5112d759871e1b7d9f6a40fb78bcfwrowe#line 1496 "configure"
a310497ca9c5112d759871e1b7d9f6a40fb78bcfwrowe#include "confdefs.h"
8bda0627eb2aca9e678c1303a0423d33069388dfwrowe#include <ctype.h>
de63b1eeff87cd19cf42bb83cca85381026965ddjerenkrantz#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
f00bc25ff5027f3a40e9cd0ade782641bd0bf1d0wrowe#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
e36ef0d081aa59867688bcbb3da65952ec16fae3rbb#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
e36ef0d081aa59867688bcbb3da65952ec16fae3rbbint main () { int i; for (i = 0; i < 256; i++)
e36ef0d081aa59867688bcbb3da65952ec16fae3rbbif (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
e36ef0d081aa59867688bcbb3da65952ec16fae3rbbexit (0); }
e36ef0d081aa59867688bcbb3da65952ec16fae3rbbif { (eval echo configure:1507: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
44a4ee1140769173da7bc2b42d1a686e3260ad84wrowe#define STDC_HEADERS 1
e379fc6d7f79163700290d92ce75deb4f3005301jerenkrantzfor ac_hdr in fcntl.h sys/time.h unistd.h sys/sockio.h netinet6/in6.h
978faa9e29e0f0c42e66c07240e562325a4717b0jerenkrantzecho $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
976501adbc040220270f7d1d77c4b8373033be69wroweif eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
976501adbc040220270f7d1d77c4b8373033be69wrowe#line 1539 "configure"
976501adbc040220270f7d1d77c4b8373033be69wrowe#include "confdefs.h"
10a00688adcf1df367b1243810beedaabe6b1abeminfrin#include <$ac_hdr>
10a00688adcf1df367b1243810beedaabe6b1abeminfrinac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8a3a703eae0e35f674b189181609545c6fc77a09rbb{ (eval echo configure:1544: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8a3a703eae0e35f674b189181609545c6fc77a09rbbac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8a3a703eae0e35f674b189181609545c6fc77a09rbbif test -z "$ac_err"; then
9af1ccb223d0669b3c3a43eed070d815afde9084mjc eval "ac_cv_header_$ac_safe=yes"
9d41fafe32b324c197f25224207fc6ce34f085bfrbb eval "ac_cv_header_$ac_safe=no"
889d9c84f8b1ad850f977a6d8e548696994f8f86jerenkrantzif eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8c83461e53ca7d204e1d634f0c78199d60320d7bjerenkrantz ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8e5842bc05146bb5c171e53b00b24063d17c666cjerenkrantz#define $ac_tr_hdr 1
abaaa634d7cee882b7c4bf078ded749ebf11997erbb# HAVE_NETINET6_IN6_H needs to go in platform.h.
0aa8e8fd5a242948518655f2296b3c76386754e5jerenkrantz ISC_PLATFORM_HAVENETINET6IN6H="#define ISC_PLATFORM_HAVENETINET6IN6H 1"
0aa8e8fd5a242948518655f2296b3c76386754e5jerenkrantz LWRES_PLATFORM_HAVENETINET6IN6H="#define LWRES_PLATFORM_HAVENETINET6IN6H 1"
de3abad1fe263e577bb11e99b358836bd901397crbb ISC_PLATFORM_HAVENETINET6IN6H="#undef ISC_PLATFORM_HAVENETINET6IN6H"
de3abad1fe263e577bb11e99b358836bd901397crbb LWRES_PLATFORM_HAVENETINET6IN6H="#undef LWRES_PLATFORM_HAVENETINET6IN6H"
0a549489abdb309ef25483431e1e5610ed4ba7a8gsteinecho $ac_n "checking for working const""... $ac_c" 1>&6
0a549489abdb309ef25483431e1e5610ed4ba7a8gsteinif eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
14c6f2e13d97a4fafac1fbc247a274a298d5b418wrowe#line 1593 "configure"
14c6f2e13d97a4fafac1fbc247a274a298d5b418wrowe#include "confdefs.h"
14c6f2e13d97a4fafac1fbc247a274a298d5b418wroweint main() {
f00d1e76bae896c2f6a520eec69b1d0d802d4108jerenkrantz/* Ultrix mips cc rejects this. */
f00d1e76bae896c2f6a520eec69b1d0d802d4108jerenkrantztypedef int charset[2]; const charset x;
58097d7d8d1a394092374b9f6ddf76b7993724a4rbb/* SunOS 4.1.1 cc rejects this. */
58097d7d8d1a394092374b9f6ddf76b7993724a4rbbchar const *const *ccp;
58097d7d8d1a394092374b9f6ddf76b7993724a4rbb/* NEC SVR4.0.2 mips cc rejects this. */
2f6cebd6b8bf0b044f6579d23117a4a3c364a554wrowestruct point {int x, y;};
2f6cebd6b8bf0b044f6579d23117a4a3c364a554wrowestatic struct point const zero = {0,0};
2f6cebd6b8bf0b044f6579d23117a4a3c364a554wrowe/* AIX XL C 1.02.0.0 rejects this.
2f6cebd6b8bf0b044f6579d23117a4a3c364a554wrowe It does not let you subtract one const X* pointer from another in an arm
2f6cebd6b8bf0b044f6579d23117a4a3c364a554wrowe of an if-expression whose if-part is not a constant expression */
070d2f9fd52a3f0e45ca7ae1235c5a5755b80d24rbbconst char *g = "string";
070d2f9fd52a3f0e45ca7ae1235c5a5755b80d24rbbccp = &g + (g ? g-g : 0);
070d2f9fd52a3f0e45ca7ae1235c5a5755b80d24rbb/* HPUX 7.0 cc rejects these. */
070d2f9fd52a3f0e45ca7ae1235c5a5755b80d24rbbp = (char**) ccp;
7c19ce86bbd72bba1d018522250f5f315ffbc0afjerenkrantzccp = (char const *const *) p;
7c19ce86bbd72bba1d018522250f5f315ffbc0afjerenkrantz{ /* SCO 3.2v4 cc rejects this. */
2264fbcbab4c796c4222c30393c0b218c98b6befrbb char const *s = 0 ? (char *) 0 : (char const *) 0;
e099672a13ea4ff4a11f130406f1baecba5949bajerenkrantz{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
e099672a13ea4ff4a11f130406f1baecba5949bajerenkrantz int x[] = {25, 17};
e099672a13ea4ff4a11f130406f1baecba5949bajerenkrantz const int *foo = &x[0];
9b29e0cfeb2c89a047806cc4a2a764afed6bb170wrowe{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
9b29e0cfeb2c89a047806cc4a2a764afed6bb170wrowe typedef const int *iptr;
d6a93816bfaa5b3de5f2e6cb0d172cbe20dd056ejerenkrantz{ /* AIX XL C 1.02.0.0 rejects this saying
d6a93816bfaa5b3de5f2e6cb0d172cbe20dd056ejerenkrantz "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
d6a93816bfaa5b3de5f2e6cb0d172cbe20dd056ejerenkrantz struct s { int j; const int *ap[3]; };
c839614b4216fe34f6346668ad646aca2c0f23c6wrowe struct s *b; b->j = 5;
c839614b4216fe34f6346668ad646aca2c0f23c6wrowe{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
c839614b4216fe34f6346668ad646aca2c0f23c6wrowe const int foo = 10;
117e2968318323d2ad2187fcd4de379d2eca245cwrowe; return 0; }
117e2968318323d2ad2187fcd4de379d2eca245cwroweif { (eval echo configure:1642: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
e9fa5a00f39f6aabbc5dcd776c5bc6bd0638f955wrowe#define const
9c4321d9cc4eecbb0c5d568aea53d5e6812c7b96martinif eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
956c6100798467199833e7159a00506ee879d772minfrin#line 1670 "configure"
956c6100798467199833e7159a00506ee879d772minfrin#include "confdefs.h"
956c6100798467199833e7159a00506ee879d772minfrinint main() {
956c6100798467199833e7159a00506ee879d772minfrin} $ac_kw foo() {
47697533fd7ced2259f9150677ea5efa583b6c13rbb; return 0; }
47697533fd7ced2259f9150677ea5efa583b6c13rbbif { (eval echo configure:1677: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
b2c2c8a4bc977c0a6bb937af995efc56dc3879a3wrowe#define inline
4d003677925ceb0abefb9c95355b4c9e9e502899rederpj#define inline $ac_cv_c_inline
0db1b9810f06c0e3c537e0e0dfbc30160c308526trawickif eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
13bac43a0f21d8c6401debc1baa76be984474074rbb#line 1708 "configure"
053497224246c4dbef9af594cacf5c00ed271e6cwrowe#include "confdefs.h"
053497224246c4dbef9af594cacf5c00ed271e6cwrowe#include <sys/types.h>
053497224246c4dbef9af594cacf5c00ed271e6cwrowe#if STDC_HEADERS
053497224246c4dbef9af594cacf5c00ed271e6cwrowe#include <stdlib.h>
053497224246c4dbef9af594cacf5c00ed271e6cwrowe#include <stddef.h>
ac06e54654494445fd3d39e90bd23b436b4f84ccwrowe egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
a2a0abd88b19e042a3eb2a9fa1702c25ad51303dwrowe#define size_t unsigned
a906160166014e14adc01c87a956d89de0d79918rbbecho $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
a906160166014e14adc01c87a956d89de0d79918rbbecho "configure:1736: checking whether time.h and sys/time.h may both be included" >&5
a906160166014e14adc01c87a956d89de0d79918rbbif eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
7f66c5be12d3b48b1ebfa79033c099e4f91ff302dougm#line 1741 "configure"
7f66c5be12d3b48b1ebfa79033c099e4f91ff302dougm#include "confdefs.h"
7f66c5be12d3b48b1ebfa79033c099e4f91ff302dougm#include <sys/types.h>
e00ae6859667e293a4c40108f524408ae1289f2frbb#include <sys/time.h>
e00ae6859667e293a4c40108f524408ae1289f2frbb#include <time.h>
e00ae6859667e293a4c40108f524408ae1289f2frbbint main() {
e00ae6859667e293a4c40108f524408ae1289f2frbbstruct tm *tp;
e00ae6859667e293a4c40108f524408ae1289f2frbb; return 0; }
d94fd18ee21dc9b8c1f422144a881e941687d41fdougmif { (eval echo configure:1750: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d0af34e0d69afb8195eee403c60357d59ac046e1trawick#define TIME_WITH_SYS_TIME 1
598ce99543701a45a31bb01bf73c83d894592491rederpjecho $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
598ce99543701a45a31bb01bf73c83d894592491rederpjecho "configure:1772: checking for pthread_create in -lpthread" >&5
598ce99543701a45a31bb01bf73c83d894592491rederpjac_lib_var=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
598ce99543701a45a31bb01bf73c83d894592491rederpjif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7680ff9dd09d8feb9db31d23f33458d0464e92f1wrowe#line 1780 "configure"
7680ff9dd09d8feb9db31d23f33458d0464e92f1wrowe#include "confdefs.h"
7680ff9dd09d8feb9db31d23f33458d0464e92f1wrowe/* Override any gcc2 internal prototype to avoid an error. */
c760d13cffeef40df3f8c5a798e40a064dc80067bjh/* We use char because int might match the return type of a gcc2
c760d13cffeef40df3f8c5a798e40a064dc80067bjh builtin and then its argument prototype would still apply. */
78980330fa2be5f42eb3a9c9b73a71a5168944e6minfrinchar pthread_create();
78980330fa2be5f42eb3a9c9b73a71a5168944e6minfrinint main() {
78980330fa2be5f42eb3a9c9b73a71a5168944e6minfrinpthread_create()
1fff95696a94273a1629649652cbc5d2e9e8ce39minfrin; return 0; }
1fff95696a94273a1629649652cbc5d2e9e8ce39minfrinif { (eval echo configure:1791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
90ad571a3ddd07e9b96f06b6b425295e1ec93da0minfrin eval "ac_cv_lib_$ac_lib_var=yes"
10dd882bd22449ec6c1b8fb0c5227727e2232ba8minfrin eval "ac_cv_lib_$ac_lib_var=no"
7a027a168069a89ca0946e04294f5130d9cbe3b8rederpjif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7a027a168069a89ca0946e04294f5130d9cbe3b8rederpj ac_tr_lib=HAVE_LIB`echo pthread | sed -e 's/[^a-zA-Z0-9_]/_/g' \
10dd882bd22449ec6c1b8fb0c5227727e2232ba8minfrin -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
29caf394750ea44e25d289a9aa7b92b9823faa8aminfrin#define $ac_tr_lib 1
330e5149d05dc4f5121b30964753167e43690afdrbbecho $ac_n "checking for __pthread_create in -lpthread""... $ac_c" 1>&6
330e5149d05dc4f5121b30964753167e43690afdrbbecho "configure:1817: checking for __pthread_create in -lpthread" >&5
330e5149d05dc4f5121b30964753167e43690afdrbbac_lib_var=`echo pthread'_'__pthread_create | sed 'y%./+-%__p_%'`
9222dcffcfe8d92f94c85d4e857af7b63264c9dcrbbif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
bfad8636cb9e52b309679a90dadc91b635ecfe2atrawick#line 1825 "configure"
bfad8636cb9e52b309679a90dadc91b635ecfe2atrawick#include "confdefs.h"
bb5c04f1ab6c2913d49b263e26302c748a1aa70btrawick/* Override any gcc2 internal prototype to avoid an error. */
bb5c04f1ab6c2913d49b263e26302c748a1aa70btrawick/* We use char because int might match the return type of a gcc2
bb5c04f1ab6c2913d49b263e26302c748a1aa70btrawick builtin and then its argument prototype would still apply. */
bb5c04f1ab6c2913d49b263e26302c748a1aa70btrawickchar __pthread_create();
bb5c04f1ab6c2913d49b263e26302c748a1aa70btrawickint main() {
bb5c04f1ab6c2913d49b263e26302c748a1aa70btrawick__pthread_create()
bb5c04f1ab6c2913d49b263e26302c748a1aa70btrawick; return 0; }
bb5c04f1ab6c2913d49b263e26302c748a1aa70btrawickif { (eval echo configure:1836: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
bb5c04f1ab6c2913d49b263e26302c748a1aa70btrawick eval "ac_cv_lib_$ac_lib_var=yes"
50e228f0b8429c27e411611f4863fafaba403b47wrowe eval "ac_cv_lib_$ac_lib_var=no"
7ba58e7e63da9a8b84f6160c476a0c9d639c81e9trawickif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7ba58e7e63da9a8b84f6160c476a0c9d639c81e9trawick ac_tr_lib=HAVE_LIB`echo pthread | sed -e 's/^a-zA-Z0-9_/_/g' \
7ba58e7e63da9a8b84f6160c476a0c9d639c81e9trawick -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
0315d8e436a65aa1fd145ce0a84f6c0f21e304c0wrowe#define $ac_tr_lib 1
5b5d90c6d3ffb9e28a62c6bc8e2cb60e4740f7f7coar echo $ac_n "checking for __pthread_create_system in -lpthread""... $ac_c" 1>&6
5b5d90c6d3ffb9e28a62c6bc8e2cb60e4740f7f7coarecho "configure:1864: checking for __pthread_create_system in -lpthread" >&5
496dc24432cc5c9f95a627865879d4b83dca1055coarac_lib_var=`echo pthread'_'__pthread_create_system | sed 'y%./+-%__p_%'`
622f0f22cd52de0e9904b218defdeb3181e113f3trawickif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
e83476358ef015a1959284421fdc25ab18a7aa02rbb#line 1872 "configure"
7b4c4bb891261e613de39a021d7554fd08132fc5rbb#include "confdefs.h"
7b4c4bb891261e613de39a021d7554fd08132fc5rbb/* Override any gcc2 internal prototype to avoid an error. */
7b4c4bb891261e613de39a021d7554fd08132fc5rbb/* We use char because int might match the return type of a gcc2
7b4c4bb891261e613de39a021d7554fd08132fc5rbb builtin and then its argument prototype would still apply. */
7b4c4bb891261e613de39a021d7554fd08132fc5rbbchar __pthread_create_system();
4c6731b2f737f8d7fcacd44b97d9e6bab745f1a5rbbint main() {
4c6731b2f737f8d7fcacd44b97d9e6bab745f1a5rbb__pthread_create_system()
4c6731b2f737f8d7fcacd44b97d9e6bab745f1a5rbb; return 0; }
0917cf91e713579b7ee0b03e499a08d7c3ec2d88rbbif { (eval echo configure:1883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
0917cf91e713579b7ee0b03e499a08d7c3ec2d88rbb eval "ac_cv_lib_$ac_lib_var=yes"
251b60354534e12b004603ecf2a83f32756dc885rbb eval "ac_cv_lib_$ac_lib_var=no"
12348d5b520522b6581d907ef9c1ceda029fbc05rbbif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12348d5b520522b6581d907ef9c1ceda029fbc05rbb ac_tr_lib=HAVE_LIB`echo pthread | sed -e 's/^a-zA-Z0-9_/_/g' \
12348d5b520522b6581d907ef9c1ceda029fbc05rbb -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
a3b2a05c4c0f6a29e75c9349b85640192f6a8bfejwoolley#define $ac_tr_lib 1
82efd02118af953c3840478fa5e979a4194a579fwrowe# We'd like to use sigwait() too
82efd02118af953c3840478fa5e979a4194a579fwroweecho $ac_n "checking for sigwait in -lc""... $ac_c" 1>&6
82efd02118af953c3840478fa5e979a4194a579fwroweif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
ff2fef0d709ee06646b3462cd3ef39648a54c7f7jwoolley#line 1926 "configure"
ff2fef0d709ee06646b3462cd3ef39648a54c7f7jwoolley#include "confdefs.h"
ff2fef0d709ee06646b3462cd3ef39648a54c7f7jwoolley/* Override any gcc2 internal prototype to avoid an error. */
ff2fef0d709ee06646b3462cd3ef39648a54c7f7jwoolley/* We use char because int might match the return type of a gcc2
416713f4130a31ae7317885c4638b3753c40a5e9jwoolley builtin and then its argument prototype would still apply. */
77e04697cbdb146d93cd22ad9f1c5e74ef8f9cbcwrowechar sigwait();
77e04697cbdb146d93cd22ad9f1c5e74ef8f9cbcwroweint main() {
416713f4130a31ae7317885c4638b3753c40a5e9jwoolley; return 0; }
77e04697cbdb146d93cd22ad9f1c5e74ef8f9cbcwroweif { (eval echo configure:1937: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
77e04697cbdb146d93cd22ad9f1c5e74ef8f9cbcwrowe eval "ac_cv_lib_$ac_lib_var=yes"
77e04697cbdb146d93cd22ad9f1c5e74ef8f9cbcwrowe eval "ac_cv_lib_$ac_lib_var=no"
77e04697cbdb146d93cd22ad9f1c5e74ef8f9cbcwroweif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
dc96a5e6f9af3c514df4c61ab9468fcf97f9846fwrowe#define HAVE_SIGWAIT 1
dc96a5e6f9af3c514df4c61ab9468fcf97f9846fwroweecho $ac_n "checking for sigwait in -lpthread""... $ac_c" 1>&6
dc96a5e6f9af3c514df4c61ab9468fcf97f9846fwroweecho "configure:1959: checking for sigwait in -lpthread" >&5
dc96a5e6f9af3c514df4c61ab9468fcf97f9846fwroweac_lib_var=`echo pthread'_'sigwait | sed 'y%./+-%__p_%'`
731c41a39b8273a6c4b8b87b6fd0ba5c7f3f9e2bwroweif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
cd32ea298a494089c6886c8de0e8ad13ddc7ee6cwrowe#line 1967 "configure"
af2bf35f47aaa3f1a3b1fe8336b9d20efad5b7e9gregames#include "confdefs.h"
af2bf35f47aaa3f1a3b1fe8336b9d20efad5b7e9gregames/* Override any gcc2 internal prototype to avoid an error. */
af2bf35f47aaa3f1a3b1fe8336b9d20efad5b7e9gregames/* We use char because int might match the return type of a gcc2
af2bf35f47aaa3f1a3b1fe8336b9d20efad5b7e9gregames builtin and then its argument prototype would still apply. */
e49758465fbf67f29f9aeda996d09f7cc6fa9fe5rbbchar sigwait();
e49758465fbf67f29f9aeda996d09f7cc6fa9fe5rbbint main() {
e49758465fbf67f29f9aeda996d09f7cc6fa9fe5rbb; return 0; }
81e5d74ef38fbf76853e1fbdd95c117e130e473frbbif { (eval echo configure:1978: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
81e5d74ef38fbf76853e1fbdd95c117e130e473frbb eval "ac_cv_lib_$ac_lib_var=yes"
62db15de4c1f335a64d45821796ae197cff94ef8rbb eval "ac_cv_lib_$ac_lib_var=no"
f2e16ea0697f128c32da623a0b2b9d0f81c5ebcawroweif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
3463e3fe80229b9cded9130e8bd13e961ad2ad2cwrowe#define HAVE_SIGWAIT 1
f8b7801ea5717ef22cc0d02bffacfd5f9e48f898gregamesecho $ac_n "checking for _Psigwait in -lpthread""... $ac_c" 1>&6
f8b7801ea5717ef22cc0d02bffacfd5f9e48f898gregamesecho "configure:2000: checking for _Psigwait in -lpthread" >&5
f8b7801ea5717ef22cc0d02bffacfd5f9e48f898gregamesac_lib_var=`echo pthread'_'_Psigwait | sed 'y%./+-%__p_%'`
f8b7801ea5717ef22cc0d02bffacfd5f9e48f898gregamesif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
b1627fe7e2cb3809dcdfdf1fcbbb6dbccaf788c6rbb#line 2008 "configure"
b1627fe7e2cb3809dcdfdf1fcbbb6dbccaf788c6rbb#include "confdefs.h"
eccae8f28bd9fcf6a2d1f29548f7c3b8e297c712wrowe/* Override any gcc2 internal prototype to avoid an error. */
eccae8f28bd9fcf6a2d1f29548f7c3b8e297c712wrowe/* We use char because int might match the return type of a gcc2
eccae8f28bd9fcf6a2d1f29548f7c3b8e297c712wrowe builtin and then its argument prototype would still apply. */
eccae8f28bd9fcf6a2d1f29548f7c3b8e297c712wrowechar _Psigwait();
06c2a9f9fcea4b8a21d6b7ffdd50c7a40edf10ffgregamesint main() {
06c2a9f9fcea4b8a21d6b7ffdd50c7a40edf10ffgregames; return 0; }
263dbbd9c2a6952e756973b3dde9beeaf8eff6b7gregamesif { (eval echo configure:2019: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6529086e53a38486d6cf0eac256b96548b6ef299wrowe eval "ac_cv_lib_$ac_lib_var=yes"
6529086e53a38486d6cf0eac256b96548b6ef299wrowe eval "ac_cv_lib_$ac_lib_var=no"
9876642ec8126175f143702d7b949643f8128fdftrawickif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
263dbbd9c2a6952e756973b3dde9beeaf8eff6b7gregames#define HAVE_SIGWAIT 1
afab3e893c3fecabf2e3cac4e37ada58db984cearbb# Additional OS-specific issues related to pthreads.
612ea048caf897cb6e69dc296d2b143a08ba83a0rbb # One more place to look for sigwait.
612ea048caf897cb6e69dc296d2b143a08ba83a0rbb echo $ac_n "checking for sigwait in -lc_r""... $ac_c" 1>&6
c8af62b87a118cbbc25414eb9459219f338b1b0fstoddardif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
30309f86bfd564437654aa822a19cd0cb29ca6f8wrowe#line 2065 "configure"
30309f86bfd564437654aa822a19cd0cb29ca6f8wrowe#include "confdefs.h"
30309f86bfd564437654aa822a19cd0cb29ca6f8wrowe/* Override any gcc2 internal prototype to avoid an error. */
30309f86bfd564437654aa822a19cd0cb29ca6f8wrowe/* We use char because int might match the return type of a gcc2
65db4f712167a3498de73cee5c08032a8aa6a010rbb builtin and then its argument prototype would still apply. */
65db4f712167a3498de73cee5c08032a8aa6a010rbbchar sigwait();
65db4f712167a3498de73cee5c08032a8aa6a010rbbint main() {
ed4f9ec869d7fc5bd220c8d70ee58eed9b32d60arederpj; return 0; }
ed4f9ec869d7fc5bd220c8d70ee58eed9b32d60arederpjif { (eval echo configure:2076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
ed4f9ec869d7fc5bd220c8d70ee58eed9b32d60arederpj eval "ac_cv_lib_$ac_lib_var=yes"
c8af62b87a118cbbc25414eb9459219f338b1b0fstoddard eval "ac_cv_lib_$ac_lib_var=no"
c981632de03d61667b7a6dda3e1f0a80fd5973b1gregamesif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8f43c3299e44dc11a4cd68acc93b578a0318daaftrawick#define HAVE_SIGWAIT 1
688f7d0bc138bb02f92288017920468e7e314f23stoddard # BSDI 3.1 through 4.0.1 needs pthread_init() to be called before
688f7d0bc138bb02f92288017920468e7e314f23stoddard # certain pthreads calls. This is deprecated in BSD/OS 4.1.
3b8937baf1826c625c1ca90d220453a5e4b499edrbb#define NEED_PTHREAD_INIT 1
9180a5933673ffb1af633c255ceee029340f3b1erbb # LinuxThreads requires some changes to the way we deal with signals.
e654452796751e21828a4078767e075eccf3b232stoddard#define HAVE_LINUXTHREADS 1
4670899d8a45ac6add3105181adf1976a1fae109stoddard # Ensure the right sigwait() semantics on Solaris.
f91cd1fc44d2588d82a56570b1005e7310dfc970jwoolley#define _POSIX_PTHREAD_SEMANTICS 1
7537a55be7520037878a521d4ec8c8eb2d44a288rbbif eval "test \"`echo '$''{'ac_cv_func_catgets'+set}'`\" = set"; then
7537a55be7520037878a521d4ec8c8eb2d44a288rbb#line 2139 "configure"
7537a55be7520037878a521d4ec8c8eb2d44a288rbb#include "confdefs.h"
7537a55be7520037878a521d4ec8c8eb2d44a288rbb/* System header to define __stub macros and hopefully few prototypes,
7537a55be7520037878a521d4ec8c8eb2d44a288rbb which can conflict with char catgets(); below. */
de0fbde2191d651a2dd0296e0fd4c449fa9f1d39wrowe#include <assert.h>
de0fbde2191d651a2dd0296e0fd4c449fa9f1d39wrowe/* Override any gcc2 internal prototype to avoid an error. */
de0fbde2191d651a2dd0296e0fd4c449fa9f1d39wrowe/* We use char because int might match the return type of a gcc2
de0fbde2191d651a2dd0296e0fd4c449fa9f1d39wrowe builtin and then its argument prototype would still apply. */
de0fbde2191d651a2dd0296e0fd4c449fa9f1d39wrowechar catgets();
01f404bacecbd1354af8f04c23a28acef5044e73jwoolleyint main() {
54f7f1c85247dad29d8fa275866cea31d465b392stoddard/* The GNU C library defines this for functions which it implements
54f7f1c85247dad29d8fa275866cea31d465b392stoddard to always fail with ENOSYS. Some functions are actually named
54f7f1c85247dad29d8fa275866cea31d465b392stoddard something starting with __ and the normal name is an alias. */
54f7f1c85247dad29d8fa275866cea31d465b392stoddard#if defined (__stub_catgets) || defined (__stub___catgets)
e14ec68ef48bbf6c3dc567900f9e087eaf0bc931trawick; return 0; }
e14ec68ef48bbf6c3dc567900f9e087eaf0bc931trawickif { (eval echo configure:2162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
227e0bfd39e7c757d3618c8ada78d80cd1143d32wrowe eval "ac_cv_func_catgets=yes"
8ff9257331986cb3646442ab61703fcc02158046trawick eval "ac_cv_func_catgets=no"
d9b416f8cfaaadcbc739cd8c7c356e76efdd3a2agregamesif eval "test \"`echo '$ac_cv_func_'catgets`\" = yes"; then
4192c91889a84b18aec0b046a94a2b2863be204cstoddard#define HAVE_CATGETS 1
7af2fcad9e14a79d7020a33766fbd3a4dfd088dcorlikowski# -lxnet buys us one big porting headache... standards, gotta love 'em.
7cc9511b8f1fff69439041327dc55e3423ccf439stoddard# AC_CHECK_LIB(xnet, socket, ,
7cc9511b8f1fff69439041327dc55e3423ccf439stoddard# AC_CHECK_LIB(socket, socket)
7cc9511b8f1fff69439041327dc55e3423ccf439stoddard# AC_CHECK_LIB(nsl, inet_ntoa)
1ccb67ea7d1f2a3747d285835fd0ce0d123b66b2orlikowski# Use this for now, instead:
a7318397b355119d990d1f311b951dea2aafc53arbb echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
a7318397b355119d990d1f311b951dea2aafc53arbbecho "configure:2200: checking for socket in -lsocket" >&5
a7318397b355119d990d1f311b951dea2aafc53arbbif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
fd709745f1226d683c57ad9bbcdd05971d214d0cstoddard#line 2208 "configure"
fd709745f1226d683c57ad9bbcdd05971d214d0cstoddard#include "confdefs.h"
fd709745f1226d683c57ad9bbcdd05971d214d0cstoddard/* Override any gcc2 internal prototype to avoid an error. */
fd709745f1226d683c57ad9bbcdd05971d214d0cstoddard/* We use char because int might match the return type of a gcc2
fd709745f1226d683c57ad9bbcdd05971d214d0cstoddard builtin and then its argument prototype would still apply. */
fd709745f1226d683c57ad9bbcdd05971d214d0cstoddardchar socket();
fd709745f1226d683c57ad9bbcdd05971d214d0cstoddardint main() {
fd709745f1226d683c57ad9bbcdd05971d214d0cstoddard; return 0; }
fd709745f1226d683c57ad9bbcdd05971d214d0cstoddardif { (eval echo configure:2219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
fd709745f1226d683c57ad9bbcdd05971d214d0cstoddard eval "ac_cv_lib_$ac_lib_var=yes"
fd709745f1226d683c57ad9bbcdd05971d214d0cstoddard eval "ac_cv_lib_$ac_lib_var=no"
fd709745f1226d683c57ad9bbcdd05971d214d0cstoddardif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
0530cd68803616cfba0456038f2e679d41ebecb1minfrin ac_tr_lib=HAVE_LIB`echo socket | sed -e 's/[^a-zA-Z0-9_]/_/g' \
55069cedbbaf2768c1f317c80129c6f869890fb9rbb -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
55069cedbbaf2768c1f317c80129c6f869890fb9rbb#define $ac_tr_lib 1
b9d75184a83c325dc6cdf5488b0b1a4adec27506stoddard echo $ac_n "checking for inet_ntoa in -lnsl""... $ac_c" 1>&6
b9d75184a83c325dc6cdf5488b0b1a4adec27506stoddardecho "configure:2247: checking for inet_ntoa in -lnsl" >&5
b9d75184a83c325dc6cdf5488b0b1a4adec27506stoddardac_lib_var=`echo nsl'_'inet_ntoa | sed 'y%./+-%__p_%'`
ba4c566c200c2436dae841b7c811807c80cd712afieldingif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
864c5615d55b8ebbde24e72043f6325741335a74fielding#line 2255 "configure"
864c5615d55b8ebbde24e72043f6325741335a74fielding#include "confdefs.h"
ff33056d9ea71f35e6fb3c17d53a18931be70a99minfrin/* Override any gcc2 internal prototype to avoid an error. */
ff33056d9ea71f35e6fb3c17d53a18931be70a99minfrin/* We use char because int might match the return type of a gcc2
ff33056d9ea71f35e6fb3c17d53a18931be70a99minfrin builtin and then its argument prototype would still apply. */
ff33056d9ea71f35e6fb3c17d53a18931be70a99minfrinchar inet_ntoa();
ba4c566c200c2436dae841b7c811807c80cd712afieldingint main() {
ba4c566c200c2436dae841b7c811807c80cd712afielding; return 0; }
82c7b60981923b89fb4ab4483d2aebcf206e9ee8trawickif { (eval echo configure:2266: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
342e2ae0f9ab3e3a56c2f37be6ec6c9c44f9ef48trawick eval "ac_cv_lib_$ac_lib_var=yes"
82c7b60981923b89fb4ab4483d2aebcf206e9ee8trawick eval "ac_cv_lib_$ac_lib_var=no"
7c60e4e710c92b3c4a0eb831bc6dd65368c599bcstoddardif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7c60e4e710c92b3c4a0eb831bc6dd65368c599bcstoddard ac_tr_lib=HAVE_LIB`echo nsl | sed -e 's/[^a-zA-Z0-9_]/_/g' \
7c60e4e710c92b3c4a0eb831bc6dd65368c599bcstoddard -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
0c7d8ecf301c2a3f99deff385bdda0c21ac60af5stoddard#define $ac_tr_lib 1
bacd210652b4559c2597f62e1d41ccbde92acdfafielding STD_CWARNINGS="$STD_CWARNINGS -W -Wall -Wmissing-prototypes"
105475009f541187ba7a14a367547d9404c578befielding# Networking specifics.
b90c64e517df3fe1c97806830f84a30362187f0afielding # Turn on 4.4BSD style sa_len support.
b90c64e517df3fe1c97806830f84a30362187f0afielding#define _SOCKADDR_LEN 1
c4be1ca9db22140f3788166f0195304e2fe4743bgregames# Look for a 4.4BSD-style sa_len member in struct sockaddr.
8019a211b7453e80e6e22db6d41fe68dd7f8c4b8fieldingecho $ac_n "checking for sa_len in struct sockaddr""... $ac_c" 1>&6
8019a211b7453e80e6e22db6d41fe68dd7f8c4b8fieldingecho "configure:2350: checking for sa_len in struct sockaddr" >&5
8019a211b7453e80e6e22db6d41fe68dd7f8c4b8fielding#line 2352 "configure"
a70c3ad07126101795f5a988e86c88a699b297cerederpj#include "confdefs.h"
a70c3ad07126101795f5a988e86c88a699b297cerederpj#include <sys/types.h>
a70c3ad07126101795f5a988e86c88a699b297cerederpj#include <sys/socket.h>
a70c3ad07126101795f5a988e86c88a699b297cerederpjint main() {
357b3c68d77f4187bf6be49c248b90ba50b98f4agregamesstruct sockaddr sa; sa.sa_len = 0; return (0);
a3a9ceac1bc30598c594c89e1382609496b7752brbb; return 0; }
a3a9ceac1bc30598c594c89e1382609496b7752brbbif { (eval echo configure:2361: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
25e17566bc9005778707317c8919c610513a4418stoddard ISC_PLATFORM_HAVESALEN="#define ISC_PLATFORM_HAVESALEN 1"
25e17566bc9005778707317c8919c610513a4418stoddard LWRES_PLATFORM_HAVESALEN="#define LWRES_PLATFORM_HAVESALEN 1"
25e17566bc9005778707317c8919c610513a4418stoddard ISC_PLATFORM_HAVESALEN="#undef ISC_PLATFORM_HAVESALEN"
73579c435f9f6c2670c4391114368a2eedaf8ebfrbb LWRES_PLATFORM_HAVESALEN="#undef LWRES_PLATFORM_HAVESALEN"
a601a32cec653022741d22b5d692b6afd6c4dc55trawick# Look for a 4.4BSD or 4.3BSD struct msghdr
73579c435f9f6c2670c4391114368a2eedaf8ebfrbbecho $ac_n "checking for struct msghdr flavor""... $ac_c" 1>&6
73579c435f9f6c2670c4391114368a2eedaf8ebfrbbecho "configure:2382: checking for struct msghdr flavor" >&5
73579c435f9f6c2670c4391114368a2eedaf8ebfrbb#line 2384 "configure"
73579c435f9f6c2670c4391114368a2eedaf8ebfrbb#include "confdefs.h"
73579c435f9f6c2670c4391114368a2eedaf8ebfrbb#include <sys/types.h>
decf1efd1558ed0d2562e2f4f2dd741dcc0c392crbb#include <sys/socket.h>
6202bc12656548c624a235bf43d6c866719b2b06rbbint main() {
6202bc12656548c624a235bf43d6c866719b2b06rbbstruct msghdr msg; msg.msg_flags = 0; return (0);
6202bc12656548c624a235bf43d6c866719b2b06rbb; return 0; }
6202bc12656548c624a235bf43d6c866719b2b06rbbif { (eval echo configure:2393: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
bf6fc76bb2af745a68396e793d5d51a135a35f54rederpj ISC_PLATFORM_MSGHDRFLAVOR="#define ISC_NET_BSD44MSGHDR 1"
4f110a6b1eb8b6a88a2a0c804cf699062f67f708rbb ISC_PLATFORM_MSGHDRFLAVOR="#define ISC_NET_BSD43MSGHDR 1"
7aae0c3ef8e7f18f57e2712815c7b48358e5ff68rbb# Look for in_port_t.
d353d275978f11f5221110e8f954d09d03ec5e3arbb#line 2413 "configure"
20fb0ba160cf0ca91b3f0f0d552cbe60d92b0449fielding#include "confdefs.h"
20fb0ba160cf0ca91b3f0f0d552cbe60d92b0449fielding#include <sys/types.h>
66f62d70d05d9011c6ac59d5cd10a24e452fa1b3rbb#include <netinet/in.h>
66f62d70d05d9011c6ac59d5cd10a24e452fa1b3rbbint main() {
66f62d70d05d9011c6ac59d5cd10a24e452fa1b3rbbin_port_t port = 25; return (0);
66f62d70d05d9011c6ac59d5cd10a24e452fa1b3rbb; return 0; }
9832ee60b23ca2a3faa403bbe88720815969a9fefieldingif { (eval echo configure:2422: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
dd6d55810261b3c26c4a2ec2e089c031beb1d44dgregames ISC_PLATFORM_NEEDPORTT="#undef ISC_PLATFORM_NEEDPORTT"
90a8cab05f4d949dd1317df7e19a2f787c46a5f6rbb ISC_PLATFORM_NEEDPORTT="#define ISC_PLATFORM_NEEDPORTT 1"
6c3ee5153fd311a5fc6dd718dcc704487ac7d2a3rbb# Check for addrinfo
6c3ee5153fd311a5fc6dd718dcc704487ac7d2a3rbbecho $ac_n "checking for struct addrinfo""... $ac_c" 1>&6
da3e32612f06d3082e41ba709919c996c89b8c06rederpj#line 2442 "configure"
da3e32612f06d3082e41ba709919c996c89b8c06rederpj#include "confdefs.h"
da3e32612f06d3082e41ba709919c996c89b8c06rederpj#include <netdb.h>
da3e32612f06d3082e41ba709919c996c89b8c06rederpjint main() {
da3e32612f06d3082e41ba709919c996c89b8c06rederpjstruct addrinfo a; return (0);
da3e32612f06d3082e41ba709919c996c89b8c06rederpj; return 0; }
0d9c389e9c63d02edb068917d49af2fa8012af91marcif { (eval echo configure:2450: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6d8d0dd6604f823aadbe3a18c3cff4eca584bda8trawick ISC_LWRES_NEEDADDRINFO="#define ISC_LWRES_NEEDADDRINFO 1"
4d83a32b74579903e90aa1cb8574b5b97404d0c4trawickecho $ac_n "checking for int sethostent""... $ac_c" 1>&6
4d83a32b74579903e90aa1cb8574b5b97404d0c4trawickecho "configure:2465: checking for int sethostent" >&5
7c2d1ecc95b2213a3fd449b2549999ed6f19f6berbb#line 2467 "configure"
7c2d1ecc95b2213a3fd449b2549999ed6f19f6berbb#include "confdefs.h"
7c2d1ecc95b2213a3fd449b2549999ed6f19f6berbb#include <netdb.h>
7c2d1ecc95b2213a3fd449b2549999ed6f19f6berbbint main() {
51469a0d2057aa24107b6f5a04e145824e10da1fdirkxint i = sethostent(0); return(0);
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx; return 0; }
51469a0d2057aa24107b6f5a04e145824e10da1fdirkxif { (eval echo configure:2475: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
51469a0d2057aa24107b6f5a04e145824e10da1fdirkx ISC_LWRES_SETHOSTENTINT="#define ISC_LWRES_SETHOSTENTINT 1"
73cd9876e07c696a3e3563277a1d4e3173861af6stoddard ISC_LWRES_SETHOSTENTINT="#undef ISC_LWRES_SETHOSTENTINT"
2281907b9a2a509aa0eabdc0b1d21424018dbbdfrbb#line 2492 "configure"
2281907b9a2a509aa0eabdc0b1d21424018dbbdfrbb#include "confdefs.h"
2281907b9a2a509aa0eabdc0b1d21424018dbbdfrbb#include <netdb.h>
2281907b9a2a509aa0eabdc0b1d21424018dbbdfrbbint main() {
2281907b9a2a509aa0eabdc0b1d21424018dbbdfrbbint i = endhostent(); return(0);
2281907b9a2a509aa0eabdc0b1d21424018dbbdfrbb; return 0; }
2ca377182c951f9895cd5e7a350b442a39c8eb23rbbif { (eval echo configure:2500: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1217c8c05f7e3ac0cac8c8dc0c6e7979326c977arbb ISC_LWRES_ENDHOSTENTINT="#define ISC_LWRES_ENDHOSTENTINT 1"
893328ef6ff86d0ca27774778d84410353789fb0fielding ISC_LWRES_ENDHOSTENTINT="#undef ISC_LWRES_ENDHOSTENTINT"
274de94b0b59f4ee126dca1726624980828d0cd0stoddardecho $ac_n "checking for getnetbyaddr(in_addr_t, ...)""... $ac_c" 1>&6
274de94b0b59f4ee126dca1726624980828d0cd0stoddardecho "configure:2515: checking for getnetbyaddr(in_addr_t, ...)" >&5
85d733e70c94a57c9ff893ed05d8b9cfcd0f083fstoddard#line 2517 "configure"
85d733e70c94a57c9ff893ed05d8b9cfcd0f083fstoddard#include "confdefs.h"
3f0dd56fa6b79fe389f20738369b290e2f3e9201trawick#include <netdb.h>
3f0dd56fa6b79fe389f20738369b290e2f3e9201trawickstruct netent *getnetbyaddr(in_addr_t, int);
3f0dd56fa6b79fe389f20738369b290e2f3e9201trawickint main() {
3f0dd56fa6b79fe389f20738369b290e2f3e9201trawick; return 0; }
70b83609159f247f5920421a890dc27a0718d63adreidif { (eval echo configure:2526: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
70b83609159f247f5920421a890dc27a0718d63adreid ISC_LWRES_GETNETBYADDRINADDR="#define ISC_LWRES_GETNETBYADDRINADDR 1"
bd2d582e0f0708b6e8e258a9a5f9a15445752087trawick ISC_LWRES_GETNETBYADDRINADDR="#undef ISC_LWRES_GETNETBYADDRINADDR"
adb8ad10ffc20ed06ec6cfab6cd7933ab429ea7dtrawickecho $ac_n "checking for int setnetent""... $ac_c" 1>&6
b45c1c292ff1fa635004ae81fa691f8cb3cdda85rbb#line 2543 "configure"
b45c1c292ff1fa635004ae81fa691f8cb3cdda85rbb#include "confdefs.h"
b45c1c292ff1fa635004ae81fa691f8cb3cdda85rbb#include <netdb.h>
b45c1c292ff1fa635004ae81fa691f8cb3cdda85rbbint main() {
86f191e8221867df8c9cd22271e7d54204f39186rbbint i = setnetent(0); return(0);
86f191e8221867df8c9cd22271e7d54204f39186rbb; return 0; }
86f191e8221867df8c9cd22271e7d54204f39186rbbif { (eval echo configure:2551: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
962f339c5f0f61adde79936f610fb05ce0854d6echuck ISC_LWRES_SETNETENTINT="#define ISC_LWRES_SETNETENTINT 1"
171f8c636ff1374e3a3dfff333211becda355b98trawickecho $ac_n "checking for int endnetent""... $ac_c" 1>&6
171f8c636ff1374e3a3dfff333211becda355b98trawickecho "configure:2566: checking for int endnetent" >&5
faa6e5d8b210456ae4dad0398dfa40a19fd89d59coar#line 2568 "configure"
faa6e5d8b210456ae4dad0398dfa40a19fd89d59coar#include "confdefs.h"
ed105ee460bbaf479f0aa0f59d3951da85066e27stoddard#include <netdb.h>
ed105ee460bbaf479f0aa0f59d3951da85066e27stoddardint main() {
ed105ee460bbaf479f0aa0f59d3951da85066e27stoddardint i = endnetent(); return(0);
ed105ee460bbaf479f0aa0f59d3951da85066e27stoddard; return 0; }
ed105ee460bbaf479f0aa0f59d3951da85066e27stoddardif { (eval echo configure:2576: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
ed105ee460bbaf479f0aa0f59d3951da85066e27stoddard ISC_LWRES_ENDNETENTINT="#define ISC_LWRES_ENDNETENTINT 1"
27338fc39af80f2f0e4a8dbdc90c8a8179a5b2e4rbbecho $ac_n "checking for gethostbyadd(const void *, size_t, ...)""... $ac_c" 1>&6
27338fc39af80f2f0e4a8dbdc90c8a8179a5b2e4rbbecho "configure:2591: checking for gethostbyadd(const void *, size_t, ...)" >&5
27338fc39af80f2f0e4a8dbdc90c8a8179a5b2e4rbb#line 2593 "configure"
853a0c44563b056e40e9cffe911190f554e63ec3chuck#include "confdefs.h"
853a0c44563b056e40e9cffe911190f554e63ec3chuck#include <netdb.h>
853a0c44563b056e40e9cffe911190f554e63ec3chuckstruct hostent *gethostbyaddr(const void *, size_t, int);
330c042543440d0987244c94c65d14eeb7af0868rbbint main() {
f1fa5e69040a3a72054d185f6087a7d1592b83e8rbb; return 0; }
f1fa5e69040a3a72054d185f6087a7d1592b83e8rbbif { (eval echo configure:2602: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
30e3e9b782c701f885583b7d13d8e46c37d7e1ddtrawick ISC_LWRES_GETHOSTBYADDRVOID="#define ISC_LWRES_GETHOSTBYADDRVOID 1"
27faa3af8a50c1dc2dc6cb3049722378f85e5517rbb ISC_LWRES_GETHOSTBYADDRVOID="#undef ISC_LWRES_GETHOSTBYADDRVOID"
141b1a93f508248cbc0e9a124cc38041eb3e2562rbbecho $ac_n "checking for h_errno in netdb.h""... $ac_c" 1>&6
141b1a93f508248cbc0e9a124cc38041eb3e2562rbbecho "configure:2617: checking for h_errno in netdb.h" >&5
865980dc9aeb61741e586502440f0c0fea4835c6trawick#line 2619 "configure"
865980dc9aeb61741e586502440f0c0fea4835c6trawick#include "confdefs.h"
865980dc9aeb61741e586502440f0c0fea4835c6trawick#include <netdb.h>
865980dc9aeb61741e586502440f0c0fea4835c6trawickint main() {
865980dc9aeb61741e586502440f0c0fea4835c6trawickh_errno = 1; return(0);
865980dc9aeb61741e586502440f0c0fea4835c6trawick; return 0; }
9a0d076511763b559a755133f6a182e6c24ef643rbbif { (eval echo configure:2627: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
dfd4950edac888e671b96f62ff5382b7cb350d48rbbecho $ac_n "checking for getipnodebyname""... $ac_c" 1>&6
dfd4950edac888e671b96f62ff5382b7cb350d48rbbif eval "test \"`echo '$''{'ac_cv_func_getipnodebyname'+set}'`\" = set"; then
c9a95767fbf0f5fb0976a06b97a256033925e433rbb#line 2647 "configure"
c9a95767fbf0f5fb0976a06b97a256033925e433rbb#include "confdefs.h"
c9a95767fbf0f5fb0976a06b97a256033925e433rbb/* System header to define __stub macros and hopefully few prototypes,
c9a95767fbf0f5fb0976a06b97a256033925e433rbb which can conflict with char getipnodebyname(); below. */
21b8c3cb46cea2b31a585a95ce9f93f4f6abc35brbb#include <assert.h>
d8d839738b1e80b0f9c54e83677b3f2c46c22705rbb/* Override any gcc2 internal prototype to avoid an error. */
d8d839738b1e80b0f9c54e83677b3f2c46c22705rbb/* We use char because int might match the return type of a gcc2
d8d839738b1e80b0f9c54e83677b3f2c46c22705rbb builtin and then its argument prototype would still apply. */
d8d839738b1e80b0f9c54e83677b3f2c46c22705rbbchar getipnodebyname();
9635d7ffbd8ca441f85051f9a3adba17142d0b20rbbint main() {
9635d7ffbd8ca441f85051f9a3adba17142d0b20rbb/* The GNU C library defines this for functions which it implements
9635d7ffbd8ca441f85051f9a3adba17142d0b20rbb to always fail with ENOSYS. Some functions are actually named
d8d839738b1e80b0f9c54e83677b3f2c46c22705rbb something starting with __ and the normal name is an alias. */
d8d839738b1e80b0f9c54e83677b3f2c46c22705rbb#if defined (__stub_getipnodebyname) || defined (__stub___getipnodebyname)
0415e5e1b9b6eba6899a2e5ef18f8facb8db0cfbstoddardgetipnodebyname();
1374444b4fab1475091e12a81663f379b73005efrbb; return 0; }
3233d057ad276d823bded5c24c3fd6729ed1a736rbbif { (eval echo configure:2670: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3233d057ad276d823bded5c24c3fd6729ed1a736rbb eval "ac_cv_func_getipnodebyname=yes"
9927a2a72d50103f32323b53f5fc4577c1801327rbb eval "ac_cv_func_getipnodebyname=no"
2e970b7ec485dde18f8fb3f494f98a3f68749859fanfif eval "test \"`echo '$ac_cv_func_'getipnodebyname`\" = yes"; then
a5a7ecb732cfe89bb1f8e3c61b316c2075cefe52rbb ISC_LWRES_GETIPNODEPROTO="#undef ISC_LWRES_GETIPNODEPROTO"
364701a102725758f2e3a511924381e2faa93e27rbbISC_LWRES_GETIPNODEPROTO="#define ISC_LWRES_GETIPNODEPROTO 1"
364701a102725758f2e3a511924381e2faa93e27rbbif eval "test \"`echo '$''{'ac_cv_func_getnameinfo'+set}'`\" = set"; then
0811e8a41d152f0016a385ce1dfa44f475425b70rbb#line 2696 "configure"
957b9b3f5e47c6cc7c2d8d9e2224c7364e966c70rbb#include "confdefs.h"
957b9b3f5e47c6cc7c2d8d9e2224c7364e966c70rbb/* System header to define __stub macros and hopefully few prototypes,
957b9b3f5e47c6cc7c2d8d9e2224c7364e966c70rbb which can conflict with char getnameinfo(); below. */
957b9b3f5e47c6cc7c2d8d9e2224c7364e966c70rbb#include <assert.h>
957b9b3f5e47c6cc7c2d8d9e2224c7364e966c70rbb/* Override any gcc2 internal prototype to avoid an error. */
957b9b3f5e47c6cc7c2d8d9e2224c7364e966c70rbb/* We use char because int might match the return type of a gcc2
e91c80d53d8ffa738283d923638fa3efd8aa6bf7rbb builtin and then its argument prototype would still apply. */
e91c80d53d8ffa738283d923638fa3efd8aa6bf7rbbchar getnameinfo();
9359bd100badb53fd8a465cb3a0a90b218b30c4cbenint main() {
9359bd100badb53fd8a465cb3a0a90b218b30c4cben/* The GNU C library defines this for functions which it implements
d0211374a981173d4537e3f919c708b5f64040fcgstein to always fail with ENOSYS. Some functions are actually named
d0211374a981173d4537e3f919c708b5f64040fcgstein something starting with __ and the normal name is an alias. */
d0211374a981173d4537e3f919c708b5f64040fcgstein#if defined (__stub_getnameinfo) || defined (__stub___getnameinfo)
37d15e1062df9dcdd39ebee5bd2fdc75d4a6aa4arbbgetnameinfo();
e3ec3193b69b45923c14915fa3ee3bc1f0215bafrbb; return 0; }
e3ec3193b69b45923c14915fa3ee3bc1f0215bafrbbif { (eval echo configure:2719: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
138c8f7cb8254e035c6f45288e3909cd9c21be5cmartin eval "ac_cv_func_getnameinfo=yes"
adaea88da2d103e4302e361c932b98cee86fb1c5rbb eval "ac_cv_func_getnameinfo=no"
8e7c85d6eb9bf628f081763c5bd778b784d5001crbbif eval "test \"`echo '$ac_cv_func_'getnameinfo`\" = yes"; then
8e7c85d6eb9bf628f081763c5bd778b784d5001crbb ISC_LWRES_GETNAMEINFOPROTO="#undef ISC_LWRES_GETNAMEINFOPROTO"
97ad13ce0413b573e63512b57c874ebbd41065b2rbbISC_LWRES_GETNAMEINFOPROTO="#define ISC_LWRES_GETNAMEINFOPROTO 1"
78f2608a1583b3cb409e12be701392ad1a929653rbbif eval "test \"`echo '$''{'ac_cv_func_getaddrinfo'+set}'`\" = set"; then
c5c3b5e33fca6425dc716e1dc51c10733d9b6bc3rbb#line 2745 "configure"
c5c3b5e33fca6425dc716e1dc51c10733d9b6bc3rbb#include "confdefs.h"
c5c3b5e33fca6425dc716e1dc51c10733d9b6bc3rbb/* System header to define __stub macros and hopefully few prototypes,
c5c3b5e33fca6425dc716e1dc51c10733d9b6bc3rbb which can conflict with char getaddrinfo(); below. */
be7b08f10dc6b0be088c8b41009d89ea49ad4acarbb#include <assert.h>
be7b08f10dc6b0be088c8b41009d89ea49ad4acarbb/* Override any gcc2 internal prototype to avoid an error. */
be7b08f10dc6b0be088c8b41009d89ea49ad4acarbb/* We use char because int might match the return type of a gcc2
be7b08f10dc6b0be088c8b41009d89ea49ad4acarbb builtin and then its argument prototype would still apply. */
2a0c3663b66c9af764267ac3c4e140e659598474benchar getaddrinfo();
2a0c3663b66c9af764267ac3c4e140e659598474benint main() {
8a76b3f3c93d39930182afa227d258218f80926brbb/* The GNU C library defines this for functions which it implements
8a76b3f3c93d39930182afa227d258218f80926brbb to always fail with ENOSYS. Some functions are actually named
8a76b3f3c93d39930182afa227d258218f80926brbb something starting with __ and the normal name is an alias. */
8a76b3f3c93d39930182afa227d258218f80926brbb#if defined (__stub_getaddrinfo) || defined (__stub___getaddrinfo)
13ee9baf0119bca0739d3f17591f0bf2c64cdcccrbbgetaddrinfo();
528e2a7d7cf6b8879291b59dd5afd8f6c7ae1b6brbb; return 0; }
528e2a7d7cf6b8879291b59dd5afd8f6c7ae1b6brbbif { (eval echo configure:2768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1a3161b56ebbbd036730d5372d4800cc495db212rbb eval "ac_cv_func_getaddrinfo=yes"
2d87d8f191175a0683f430d790d81a5604b74ec6rbb eval "ac_cv_func_getaddrinfo=no"
6bcee6b60a2fc4c96328af30e79bad4927ff30f3rbbif eval "test \"`echo '$ac_cv_func_'getaddrinfo`\" = yes"; then
6bcee6b60a2fc4c96328af30e79bad4927ff30f3rbb ISC_LWRES_GETADDRINFOPROTO="#undef ISC_LWRES_GETADDRINFOPROTO"
1e8d4cfede0bad3a1a33e3b2eef0ba6754746f72rbbISC_LWRES_GETADDRINFOPROTO="#define ISC_LWRES_GETADDRINFOPROTO 1"
84b76faff9e8fa4b16b587b95d3930e36fe3c405rbb# Look for a sysctl call to get the list of network interfaces.
84b76faff9e8fa4b16b587b95d3930e36fe3c405rbbecho $ac_n "checking for interface list sysctl""... $ac_c" 1>&6
84b76faff9e8fa4b16b587b95d3930e36fe3c405rbbecho "configure:2796: checking for interface list sysctl" >&5
84b76faff9e8fa4b16b587b95d3930e36fe3c405rbb#line 2798 "configure"
84b76faff9e8fa4b16b587b95d3930e36fe3c405rbb#include "confdefs.h"
84b76faff9e8fa4b16b587b95d3930e36fe3c405rbb#include <sys/param.h>
bcef91d7068817e2e56854f5c5b22b6eb4663a85rbb#include <sys/sysctl.h>
bcef91d7068817e2e56854f5c5b22b6eb4663a85rbb#include <sys/socket.h>
bcef91d7068817e2e56854f5c5b22b6eb4663a85rbb#ifdef NET_RT_IFLIST
445997e06464e7625c7f0e22917f8f2d9876cfffrbbfound_rt_iflist
13ee9baf0119bca0739d3f17591f0bf2c64cdcccrbb#define HAVE_IFLIST_SYSCTL 1
98f3c8c547839251cb43e9f917114cc8b16ced9efanf# GNU libtool support
98f3c8c547839251cb43e9f917114cc8b16ced9efanf# Check whether --with-libtool or --without-libtool was given.
1a411968bb62cc88c3cbf14a53caf6587c224259fanfif test "${with_libtool+set}" = set; then
b5140df3124b186e4a977812fd9828d1e295c080wrowe # Check whether --enable-shared or --disable-shared was given.
b5140df3124b186e4a977812fd9828d1e295c080wroweif test "${enable_shared+set}" = set; then
41aef8943f349ee0b5b510dd436301b4c33c628cwrowe # Look at the argument we got. We use all the common list separators.
b974a8fc59a9d6193305dcd8690992a411d88232rbb# Check whether --enable-static or --disable-static was given.
b974a8fc59a9d6193305dcd8690992a411d88232rbbif test "${enable_static+set}" = set; then
a1bbc66131c63e718e3f73fc11a348f7552d7947rbb # Look at the argument we got. We use all the common list separators.
fcc25eda7b150e226d3c1cdaea66a943d3fdee4erbb# Check whether --enable-fast-install or --disable-fast-install was given.
fcc25eda7b150e226d3c1cdaea66a943d3fdee4erbbif test "${enable_fast_install+set}" = set; then
cab10c98980b42562a7850410cecd37798e170ecrbb # Look at the argument we got. We use all the common list separators.
e76797ee89ad6fb15ad97b0f3903ae324ac44949wrowebuild=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
e76797ee89ad6fb15ad97b0f3903ae324ac44949wrowebuild_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
e76797ee89ad6fb15ad97b0f3903ae324ac44949wrowebuild_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
e76797ee89ad6fb15ad97b0f3903ae324ac44949wrowebuild_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
e76797ee89ad6fb15ad97b0f3903ae324ac44949wrowe# Check whether --with-gnu-ld or --without-gnu-ld was given.
a1e0709c89175c34a3f72eb4a83d7ee1621a0884rbbif test "${with_gnu_ld+set}" = set; then
34ea1d36f4e1c8d66338e691793017d105cc9c32rbb # Check if gcc -print-prog-name=ld gives a path.
34ea1d36f4e1c8d66338e691793017d105cc9c32rbb echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
2c8f06bf370a44a3d0544ed5319355463c417132gregamesecho "configure:2937: checking for ld used by GCC" >&5
db06e09891b001667974483058923b88c3258324rbb # Accept absolute paths.
db06e09891b001667974483058923b88c3258324rbb [\\/]* | [A-Za-z]:[\\/]*)
db06e09891b001667974483058923b88c3258324rbb # Canonicalize the path of ld
8ba9d5e9aaaa79dba0de13f5c1b6e725d98f1dc2fanf while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
26cf4d32b4ff8807a64b0cfa6865a7d6d171c68efanf # If it fails, then pretend we aren't using GCC.
06c107289de0a0888386e0bc08ef9fc60aacd8bctrawick # If it is relative, then search for the first ld in PATH.
bf9902ea6090f94c9ee0aaddd80b419a184ffe55jimif eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then
0b34df54ff22d0ca05eb8e9d7c9610138a878c83rbb if test -z "$LD"; then
83047afdc49c183cdca6373dba6a0c6afa638f12gstein IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
c8cc46d12794845f39fa154224075a3bbe57a4c8ben if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5dea9095cbfab622c65e5f2f806007aaa7d7761arbb # Check to see if the program is GNU ld. I'd rather use --version,
5dea9095cbfab622c65e5f2f806007aaa7d7761arbb # but apparently some GNU ld's only accept -v.
5dea9095cbfab622c65e5f2f806007aaa7d7761arbb # Break only if it was the GNU/non-GNU ld that we prefer.
5dea9095cbfab622c65e5f2f806007aaa7d7761arbb if "$ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
328d02603f471fad56cc5588fc9e93f589593ad0rbb ac_cv_path_LD="$LD" # Let the user override the test with a path.
48a2f5e2c189669b025d462f44fda5d4b45e8d78trawickif test -n "$LD"; then
48a2f5e2c189669b025d462f44fda5d4b45e8d78trawicktest -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
b22fb75c37b70fbe176afdb8081c3ce2dba86db4rbbecho $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
b22fb75c37b70fbe176afdb8081c3ce2dba86db4rbbecho "configure:3000: checking if the linker ($LD) is GNU ld" >&5
b22fb75c37b70fbe176afdb8081c3ce2dba86db4rbbif eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then
8fccb89ed59d5c80c76a818f7ca02bb0d068d4d3rbb # I'd rather use --version here, but apparently some GNU ld's only accept -v.
8fccb89ed59d5c80c76a818f7ca02bb0d068d4d3rbbif $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
4a5c8a77f48f0cf10bfe70479d0a2e8e7d6cd917rbbecho $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
4a5c8a77f48f0cf10bfe70479d0a2e8e7d6cd917rbbecho "configure:3016: checking for BSD-compatible nm" >&5
4a5c8a77f48f0cf10bfe70479d0a2e8e7d6cd917rbbif eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then
5bf029f8452b6aa105cf3d9d9b19221920725428rbb if test -n "$NM"; then
5bf029f8452b6aa105cf3d9d9b19221920725428rbb # Let the user override the test.
60ed053fe71b1e3cfab8c4ed37afde30a6db4841rbb IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
e03878add0099ba9741efc46d545955a60ea8bdcrbb if test -f $ac_dir/nm || test -f $ac_dir/nm$ac_exeext ; then
e03878add0099ba9741efc46d545955a60ea8bdcrbb # Check to see if the nm accepts a BSD-compat flag.
e03878add0099ba9741efc46d545955a60ea8bdcrbb # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1860b2b5f1de31f8cf9d95f1b394fe98c8dbfab7rbb # nm: unknown option "B" ignored
1860b2b5f1de31f8cf9d95f1b394fe98c8dbfab7rbb if ($ac_dir/nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
9ec65cbae2f760e485a1c54df5b19853688d5c91wrowe elif ($ac_dir/nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
9ec65cbae2f760e485a1c54df5b19853688d5c91wrowe ac_cv_path_NM=${ac_cv_path_NM="$ac_dir/nm"} # keep the first match, but
9ec65cbae2f760e485a1c54df5b19853688d5c91wrowe continue # so that we can try to find one that supports BSD flags
7e73041858979fd162c849cc2e7447beb51eedf8rbbecho $ac_n "checking whether ln -s works""... $ac_c" 1>&6
886cd69ebf69e990dbc365be87ff8ea7cd681904rbbif eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
eae32ab3fb398ca408bc2d45b22adf1b67a75471rbb# Check for any special flags to pass to ltconfig.
d1d25826dbd7d2ba97db90b77122ae2b0f363e89rbbtest "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
d1d25826dbd7d2ba97db90b77122ae2b0f363e89rbbtest "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
d1d25826dbd7d2ba97db90b77122ae2b0f363e89rbbtest "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
42ec91fadb5532438ab4c02993b15c18a517967frbbtest "$ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc"
42ec91fadb5532438ab4c02993b15c18a517967frbbtest "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
42ec91fadb5532438ab4c02993b15c18a517967frbb# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
96fc773162e93e5b85686ab152f11baf4498d868rbbif test "${enable_libtool_lock+set}" = set; then
5827adc4c40ff4b10db9b09cea43f4307c8fc319trawicktest "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
5827adc4c40ff4b10db9b09cea43f4307c8fc319trawicktest x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
5827adc4c40ff4b10db9b09cea43f4307c8fc319trawick# Some flags need to be propagated to the compiler or linker for good
5827adc4c40ff4b10db9b09cea43f4307c8fc319trawick# libtool support.
e7270e4daeb3e62414b361ca2bf0e707d0ae3310wrowe # Find out which ABI we are using.
e7270e4daeb3e62414b361ca2bf0e707d0ae3310wrowe if { (eval echo configure:3098: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
b580e99ec29c68e3c56b5b1ad8a4ec1e2de865c0trawick # On SCO OpenServer 5, we need -belf to get full-featured binaries.
cfa64348224b66dd1c9979b809406c4d15b1c137fielding echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
cfa64348224b66dd1c9979b809406c4d15b1c137fieldingecho "configure:3119: checking whether the C compiler needs -belf" >&5
cfa64348224b66dd1c9979b809406c4d15b1c137fieldingif eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
cfa64348224b66dd1c9979b809406c4d15b1c137fielding#line 3124 "configure"
cfa64348224b66dd1c9979b809406c4d15b1c137fielding#include "confdefs.h"
cfa64348224b66dd1c9979b809406c4d15b1c137fieldingint main() {
cfa64348224b66dd1c9979b809406c4d15b1c137fielding; return 0; }
cfa64348224b66dd1c9979b809406c4d15b1c137fieldingif { (eval echo configure:3131: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
cfa64348224b66dd1c9979b809406c4d15b1c137fielding # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
cfa64348224b66dd1c9979b809406c4d15b1c137fielding# Save cache, so that ltconfig can load it
cfa64348224b66dd1c9979b809406c4d15b1c137fielding# This file is a shell script that caches the results of configure
cfa64348224b66dd1c9979b809406c4d15b1c137fielding# tests run on this system so they can be shared between configure
cfa64348224b66dd1c9979b809406c4d15b1c137fielding# scripts and configure runs. It is not useful on other systems.
cfa64348224b66dd1c9979b809406c4d15b1c137fielding# If it contains results you don't want to keep, you may remove or edit it.
cfa64348224b66dd1c9979b809406c4d15b1c137fielding# By default, configure uses ./config.cache as the cache file,
cfa64348224b66dd1c9979b809406c4d15b1c137fielding# creating it if it does not exist already. You can give configure
cfa64348224b66dd1c9979b809406c4d15b1c137fielding# the --cache-file=FILE option to use a different cache file; that is
cfa64348224b66dd1c9979b809406c4d15b1c137fielding# what configure does when it calls configure scripts in
cfa64348224b66dd1c9979b809406c4d15b1c137fielding# subdirectories, so they share the cache.
cfa64348224b66dd1c9979b809406c4d15b1c137fielding# Giving --cache-file=/dev/null disables caching, for debugging configure.
cfa64348224b66dd1c9979b809406c4d15b1c137fielding# config.status only pays attention to the cache file if you give it the
cfa64348224b66dd1c9979b809406c4d15b1c137fielding# --recheck option to rerun configure.
cfa64348224b66dd1c9979b809406c4d15b1c137fielding# The following way of writing the cache mishandles newlines in values,
cfa64348224b66dd1c9979b809406c4d15b1c137fielding# but we know of no workaround that is simple, portable, and efficient.
cfa64348224b66dd1c9979b809406c4d15b1c137fielding# So, don't put newlines in cache variables' values.
cfa64348224b66dd1c9979b809406c4d15b1c137fielding# Ultrix sh set writes to stderr and can't be redirected directly,
cfa64348224b66dd1c9979b809406c4d15b1c137fielding# and sets the high bit in the cache file unless we assign to the vars.
cfa64348224b66dd1c9979b809406c4d15b1c137fielding # `set' does not quote correctly, so add quotes (double-quote substitution
cfa64348224b66dd1c9979b809406c4d15b1c137fielding # turns \\\\ into \\, and sed turns \\ into \).
cfa64348224b66dd1c9979b809406c4d15b1c137fielding -e "s/'/'\\\\''/g" \
cfa64348224b66dd1c9979b809406c4d15b1c137fielding -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
cfa64348224b66dd1c9979b809406c4d15b1c137fielding # `set' quotes correctly as required by POSIX, so do not add quotes.
cfa64348224b66dd1c9979b809406c4d15b1c137fielding sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
cfa64348224b66dd1c9979b809406c4d15b1c137fielding if test -w $cache_file; then
cfa64348224b66dd1c9979b809406c4d15b1c137fielding echo "updating cache $cache_file"
cfa64348224b66dd1c9979b809406c4d15b1c137fielding echo "not updating unwritable cache $cache_file"
cfa64348224b66dd1c9979b809406c4d15b1c137fielding# Actually configure libtool. ac_aux_dir is where install-sh is found.
cfa64348224b66dd1c9979b809406c4d15b1c137fielding${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
cfa64348224b66dd1c9979b809406c4d15b1c137fielding$libtool_flags --no-verify $ac_aux_dir/ltmain.sh $host \
cfa64348224b66dd1c9979b809406c4d15b1c137fielding|| { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
cfa64348224b66dd1c9979b809406c4d15b1c137fielding# Reload cache, that may have been modified by ltconfig
cfa64348224b66dd1c9979b809406c4d15b1c137fieldingif test -r "$cache_file"; then
cfa64348224b66dd1c9979b809406c4d15b1c137fielding echo "loading cache $cache_file"
cfa64348224b66dd1c9979b809406c4d15b1c137fielding echo "creating cache $cache_file"
cfa64348224b66dd1c9979b809406c4d15b1c137fielding# This can be used to rebuild libtool when needed
cfa64348224b66dd1c9979b809406c4d15b1c137fieldingLIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh"
cfa64348224b66dd1c9979b809406c4d15b1c137fielding# Always use our own libtool.
cfa64348224b66dd1c9979b809406c4d15b1c137fielding# Redirect the config.log output again, so that the ltconfig log is not
cfa64348224b66dd1c9979b809406c4d15b1c137fielding# clobbered by the next message.
cfa64348224b66dd1c9979b809406c4d15b1c137fielding# File name extension for static archive files, for those few places
cfa64348224b66dd1c9979b809406c4d15b1c137fielding# where they are treated differently from dynamic ones.
cfa64348224b66dd1c9979b809406c4d15b1c137fielding# Check whether --enable-ipv6 or --disable-ipv6 was given.
cfa64348224b66dd1c9979b809406c4d15b1c137fieldingif test "${enable_ipv6+set}" = set; then
cfa64348224b66dd1c9979b809406c4d15b1c137fielding# We do the IPv6 compilation checking after libtool so that we can put
cfa64348224b66dd1c9979b809406c4d15b1c137fielding# the right suffix on the files.
cfa64348224b66dd1c9979b809406c4d15b1c137fielding echo $ac_n "checking for IPv6 structures""... $ac_c" 1>&6
cfa64348224b66dd1c9979b809406c4d15b1c137fieldingecho "configure:3268: checking for IPv6 structures" >&5
cfa64348224b66dd1c9979b809406c4d15b1c137fielding#line 3270 "configure"
cfa64348224b66dd1c9979b809406c4d15b1c137fielding#include "confdefs.h"
cfa64348224b66dd1c9979b809406c4d15b1c137fielding#include <sys/types.h>
cfa64348224b66dd1c9979b809406c4d15b1c137fielding#include <sys/socket.h>
cfa64348224b66dd1c9979b809406c4d15b1c137fielding#include <netinet/in.h>
cfa64348224b66dd1c9979b809406c4d15b1c137fieldingint main() {
cfa64348224b66dd1c9979b809406c4d15b1c137fieldingstruct sockaddr_in6 sin6; return (0);
cfa64348224b66dd1c9979b809406c4d15b1c137fielding; return 0; }
cfa64348224b66dd1c9979b809406c4d15b1c137fieldingif { (eval echo configure:3280: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
cfa64348224b66dd1c9979b809406c4d15b1c137fielding ISC_PLATFORM_HAVEIPV6="#define ISC_PLATFORM_HAVEIPV6 1"
cfa64348224b66dd1c9979b809406c4d15b1c137fielding LWRES_PLATFORM_HAVEIPV6="#define LWRES_PLATFORM_HAVEIPV6 1"
cfa64348224b66dd1c9979b809406c4d15b1c137fielding echo $ac_n "checking for in6addr_any""... $ac_c" 1>&6
cfa64348224b66dd1c9979b809406c4d15b1c137fielding#line 3305 "configure"
cfa64348224b66dd1c9979b809406c4d15b1c137fielding#include "confdefs.h"
cfa64348224b66dd1c9979b809406c4d15b1c137fielding#include <sys/types.h>
cfa64348224b66dd1c9979b809406c4d15b1c137fielding#include <sys/socket.h>
cfa64348224b66dd1c9979b809406c4d15b1c137fielding#include <netinet/in.h>
cfa64348224b66dd1c9979b809406c4d15b1c137fieldingint main() {
cfa64348224b66dd1c9979b809406c4d15b1c137fieldingstruct in6_addr in6; in6 = in6addr_any; return (0);
cfa64348224b66dd1c9979b809406c4d15b1c137fielding; return 0; }
cfa64348224b66dd1c9979b809406c4d15b1c137fieldingif { (eval echo configure:3315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
cfa64348224b66dd1c9979b809406c4d15b1c137fielding ISC_PLATFORM_NEEDIN6ADDRANY="#undef ISC_PLATFORM_NEEDIN6ADDRANY"
cfa64348224b66dd1c9979b809406c4d15b1c137fielding ISC_PLATFORM_NEEDIN6ADDRANY="#define ISC_PLATFORM_NEEDIN6ADDRANY 1"
cfa64348224b66dd1c9979b809406c4d15b1c137fielding ISC_PLATFORM_HAVEIPV6="#undef ISC_PLATFORM_HAVEIPV6"
cfa64348224b66dd1c9979b809406c4d15b1c137fielding LWRES_PLATFORM_HAVEIPV6="#undef LWRES_PLATFORM_HAVEIPV6"
cfa64348224b66dd1c9979b809406c4d15b1c137fielding ISC_PLATFORM_NEEDIN6ADDRANY="#undef ISC_PLATFORM_NEEDIN6ADDRANY"
cfa64348224b66dd1c9979b809406c4d15b1c137fielding# IPv6 support provided via Kame
cfa64348224b66dd1c9979b809406c4d15b1c137fieldingecho $ac_n "checking for Kame IPv6 support""... $ac_c" 1>&6
cfa64348224b66dd1c9979b809406c4d15b1c137fieldingecho "configure:3351: checking for Kame IPv6 support" >&5
cfa64348224b66dd1c9979b809406c4d15b1c137fielding# Check whether --with-kame or --without-kame was given.
cfa64348224b66dd1c9979b809406c4d15b1c137fieldingif test "${with_kame+set}" = set; then
cfa64348224b66dd1c9979b809406c4d15b1c137fielding { echo "configure: error: $kame_path/lib/libinet6.a not found.
cfa64348224b66dd1c9979b809406c4d15b1c137fieldingPlease choose the proper path with the following command:
cfa64348224b66dd1c9979b809406c4d15b1c137fielding configure --with-kame=PATH
cfa64348224b66dd1c9979b809406c4d15b1c137fielding# Check for network functions that are often missing. We do this
cfa64348224b66dd1c9979b809406c4d15b1c137fielding# after the libtool checking, so we can put the right suffix on
cfa64348224b66dd1c9979b809406c4d15b1c137fielding# the files.
cfa64348224b66dd1c9979b809406c4d15b1c137fieldingif eval "test \"`echo '$''{'ac_cv_func_inet_ntop'+set}'`\" = set"; then
cfa64348224b66dd1c9979b809406c4d15b1c137fielding#line 3403 "configure"
cfa64348224b66dd1c9979b809406c4d15b1c137fielding#include "confdefs.h"
cfa64348224b66dd1c9979b809406c4d15b1c137fielding/* System header to define __stub macros and hopefully few prototypes,
cfa64348224b66dd1c9979b809406c4d15b1c137fielding which can conflict with char inet_ntop(); below. */
cfa64348224b66dd1c9979b809406c4d15b1c137fielding#include <assert.h>
cfa64348224b66dd1c9979b809406c4d15b1c137fielding/* Override any gcc2 internal prototype to avoid an error. */
cfa64348224b66dd1c9979b809406c4d15b1c137fielding/* We use char because int might match the return type of a gcc2
cfa64348224b66dd1c9979b809406c4d15b1c137fielding builtin and then its argument prototype would still apply. */
cfa64348224b66dd1c9979b809406c4d15b1c137fieldingchar inet_ntop();
cfa64348224b66dd1c9979b809406c4d15b1c137fieldingint main() {
cfa64348224b66dd1c9979b809406c4d15b1c137fielding/* The GNU C library defines this for functions which it implements
cfa64348224b66dd1c9979b809406c4d15b1c137fielding to always fail with ENOSYS. Some functions are actually named
cfa64348224b66dd1c9979b809406c4d15b1c137fielding something starting with __ and the normal name is an alias. */
cfa64348224b66dd1c9979b809406c4d15b1c137fielding#if defined (__stub_inet_ntop) || defined (__stub___inet_ntop)
cfa64348224b66dd1c9979b809406c4d15b1c137fieldinginet_ntop();
cfa64348224b66dd1c9979b809406c4d15b1c137fielding; return 0; }
cfa64348224b66dd1c9979b809406c4d15b1c137fieldingif { (eval echo configure:3426: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
cfa64348224b66dd1c9979b809406c4d15b1c137fielding eval "ac_cv_func_inet_ntop=yes"
cfa64348224b66dd1c9979b809406c4d15b1c137fielding eval "ac_cv_func_inet_ntop=no"
cfa64348224b66dd1c9979b809406c4d15b1c137fieldingif eval "test \"`echo '$ac_cv_func_'inet_ntop`\" = yes"; then
cfa64348224b66dd1c9979b809406c4d15b1c137fielding ISC_PLATFORM_NEEDNTOP="#undef ISC_PLATFORM_NEEDNTOP"
cfa64348224b66dd1c9979b809406c4d15b1c137fielding ISC_PLATFORM_NEEDNTOP="#define ISC_PLATFORM_NEEDNTOP 1"
cfa64348224b66dd1c9979b809406c4d15b1c137fieldingif eval "test \"`echo '$''{'ac_cv_func_inet_pton'+set}'`\" = set"; then
cfa64348224b66dd1c9979b809406c4d15b1c137fielding#line 3455 "configure"
cfa64348224b66dd1c9979b809406c4d15b1c137fielding#include "confdefs.h"
cfa64348224b66dd1c9979b809406c4d15b1c137fielding/* System header to define __stub macros and hopefully few prototypes,
cfa64348224b66dd1c9979b809406c4d15b1c137fielding which can conflict with char inet_pton(); below. */
cfa64348224b66dd1c9979b809406c4d15b1c137fielding#include <assert.h>
cfa64348224b66dd1c9979b809406c4d15b1c137fielding/* Override any gcc2 internal prototype to avoid an error. */
cfa64348224b66dd1c9979b809406c4d15b1c137fielding/* We use char because int might match the return type of a gcc2
cfa64348224b66dd1c9979b809406c4d15b1c137fielding builtin and then its argument prototype would still apply. */
cfa64348224b66dd1c9979b809406c4d15b1c137fieldingchar inet_pton();
cfa64348224b66dd1c9979b809406c4d15b1c137fieldingint main() {
cfa64348224b66dd1c9979b809406c4d15b1c137fielding/* The GNU C library defines this for functions which it implements
cfa64348224b66dd1c9979b809406c4d15b1c137fielding to always fail with ENOSYS. Some functions are actually named
cfa64348224b66dd1c9979b809406c4d15b1c137fielding something starting with __ and the normal name is an alias. */
cfa64348224b66dd1c9979b809406c4d15b1c137fielding#if defined (__stub_inet_pton) || defined (__stub___inet_pton)
cfa64348224b66dd1c9979b809406c4d15b1c137fieldinginet_pton();
cfa64348224b66dd1c9979b809406c4d15b1c137fielding; return 0; }
cfa64348224b66dd1c9979b809406c4d15b1c137fieldingif { (eval echo configure:3478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
cfa64348224b66dd1c9979b809406c4d15b1c137fielding eval "ac_cv_func_inet_pton=yes"
cfa64348224b66dd1c9979b809406c4d15b1c137fielding eval "ac_cv_func_inet_pton=no"
cfa64348224b66dd1c9979b809406c4d15b1c137fieldingif eval "test \"`echo '$ac_cv_func_'inet_pton`\" = yes"; then
cfa64348224b66dd1c9979b809406c4d15b1c137fielding ISC_PLATFORM_NEEDPTON="#undef ISC_PLATFORM_NEEDPTON"
cfa64348224b66dd1c9979b809406c4d15b1c137fielding ISC_PLATFORM_NEEDPTON="#define ISC_PLATFORM_NEEDPTON 1"
cfa64348224b66dd1c9979b809406c4d15b1c137fieldingif eval "test \"`echo '$''{'ac_cv_func_inet_aton'+set}'`\" = set"; then
cfa64348224b66dd1c9979b809406c4d15b1c137fielding#line 3507 "configure"
cfa64348224b66dd1c9979b809406c4d15b1c137fielding#include "confdefs.h"
cfa64348224b66dd1c9979b809406c4d15b1c137fielding/* System header to define __stub macros and hopefully few prototypes,
cfa64348224b66dd1c9979b809406c4d15b1c137fielding which can conflict with char inet_aton(); below. */
cfa64348224b66dd1c9979b809406c4d15b1c137fielding#include <assert.h>
cfa64348224b66dd1c9979b809406c4d15b1c137fielding/* Override any gcc2 internal prototype to avoid an error. */
cfa64348224b66dd1c9979b809406c4d15b1c137fielding/* We use char because int might match the return type of a gcc2
cfa64348224b66dd1c9979b809406c4d15b1c137fielding builtin and then its argument prototype would still apply. */
cfa64348224b66dd1c9979b809406c4d15b1c137fieldingchar inet_aton();
cfa64348224b66dd1c9979b809406c4d15b1c137fieldingint main() {
cfa64348224b66dd1c9979b809406c4d15b1c137fielding/* The GNU C library defines this for functions which it implements
cfa64348224b66dd1c9979b809406c4d15b1c137fielding to always fail with ENOSYS. Some functions are actually named
cfa64348224b66dd1c9979b809406c4d15b1c137fielding something starting with __ and the normal name is an alias. */
cfa64348224b66dd1c9979b809406c4d15b1c137fielding#if defined (__stub_inet_aton) || defined (__stub___inet_aton)
cfa64348224b66dd1c9979b809406c4d15b1c137fieldinginet_aton();
cfa64348224b66dd1c9979b809406c4d15b1c137fielding; return 0; }
cfa64348224b66dd1c9979b809406c4d15b1c137fieldingif { (eval echo configure:3530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
cfa64348224b66dd1c9979b809406c4d15b1c137fielding eval "ac_cv_func_inet_aton=yes"
cfa64348224b66dd1c9979b809406c4d15b1c137fielding eval "ac_cv_func_inet_aton=no"
cfa64348224b66dd1c9979b809406c4d15b1c137fieldingif eval "test \"`echo '$ac_cv_func_'inet_aton`\" = yes"; then
cfa64348224b66dd1c9979b809406c4d15b1c137fielding ISC_PLATFORM_NEEDATON="#undef ISC_PLATFORM_NEEDATON"
cfa64348224b66dd1c9979b809406c4d15b1c137fielding ISC_PLATFORM_NEEDATON="#define ISC_PLATFORM_NEEDATON 1"
cfa64348224b66dd1c9979b809406c4d15b1c137fieldingif eval "test \"`echo '$''{'ac_cv_func_strsep'+set}'`\" = set"; then
cfa64348224b66dd1c9979b809406c4d15b1c137fielding#line 3559 "configure"
cfa64348224b66dd1c9979b809406c4d15b1c137fielding#include "confdefs.h"
cfa64348224b66dd1c9979b809406c4d15b1c137fielding/* System header to define __stub macros and hopefully few prototypes,
cfa64348224b66dd1c9979b809406c4d15b1c137fielding which can conflict with char strsep(); below. */
cfa64348224b66dd1c9979b809406c4d15b1c137fielding#include <assert.h>
cfa64348224b66dd1c9979b809406c4d15b1c137fielding/* Override any gcc2 internal prototype to avoid an error. */
cfa64348224b66dd1c9979b809406c4d15b1c137fielding/* We use char because int might match the return type of a gcc2
cfa64348224b66dd1c9979b809406c4d15b1c137fielding builtin and then its argument prototype would still apply. */
cfa64348224b66dd1c9979b809406c4d15b1c137fieldingchar strsep();
cfa64348224b66dd1c9979b809406c4d15b1c137fieldingint main() {
cfa64348224b66dd1c9979b809406c4d15b1c137fielding/* The GNU C library defines this for functions which it implements
cfa64348224b66dd1c9979b809406c4d15b1c137fielding to always fail with ENOSYS. Some functions are actually named
cfa64348224b66dd1c9979b809406c4d15b1c137fielding something starting with __ and the normal name is an alias. */
cfa64348224b66dd1c9979b809406c4d15b1c137fielding#if defined (__stub_strsep) || defined (__stub___strsep)
cfa64348224b66dd1c9979b809406c4d15b1c137fielding; return 0; }
cfa64348224b66dd1c9979b809406c4d15b1c137fieldingif { (eval echo configure:3582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
cfa64348224b66dd1c9979b809406c4d15b1c137fielding eval "ac_cv_func_strsep=yes"
cfa64348224b66dd1c9979b809406c4d15b1c137fielding eval "ac_cv_func_strsep=no"
cfa64348224b66dd1c9979b809406c4d15b1c137fieldingif eval "test \"`echo '$ac_cv_func_'strsep`\" = yes"; then
cfa64348224b66dd1c9979b809406c4d15b1c137fielding ISC_PLATFORM_NEEDSTRSEP="#undef ISC_PLATFORM_NEEDSTRSEP"
cfa64348224b66dd1c9979b809406c4d15b1c137fielding ISC_PLATFORM_NEEDSTRSEP="#define ISC_PLATFORM_NEEDSTRSEP 1"
cfa64348224b66dd1c9979b809406c4d15b1c137fieldingif eval "test \"`echo '$''{'ac_cv_func_vsnprintf'+set}'`\" = set"; then
cfa64348224b66dd1c9979b809406c4d15b1c137fielding#line 3610 "configure"
cfa64348224b66dd1c9979b809406c4d15b1c137fielding#include "confdefs.h"
cfa64348224b66dd1c9979b809406c4d15b1c137fielding/* System header to define __stub macros and hopefully few prototypes,
cfa64348224b66dd1c9979b809406c4d15b1c137fielding which can conflict with char vsnprintf(); below. */
cfa64348224b66dd1c9979b809406c4d15b1c137fielding#include <assert.h>
cfa64348224b66dd1c9979b809406c4d15b1c137fielding/* Override any gcc2 internal prototype to avoid an error. */
cfa64348224b66dd1c9979b809406c4d15b1c137fielding/* We use char because int might match the return type of a gcc2
cfa64348224b66dd1c9979b809406c4d15b1c137fielding builtin and then its argument prototype would still apply. */
cfa64348224b66dd1c9979b809406c4d15b1c137fieldingchar vsnprintf();
cfa64348224b66dd1c9979b809406c4d15b1c137fieldingint main() {
cfa64348224b66dd1c9979b809406c4d15b1c137fielding/* The GNU C library defines this for functions which it implements
cfa64348224b66dd1c9979b809406c4d15b1c137fielding to always fail with ENOSYS. Some functions are actually named
cfa64348224b66dd1c9979b809406c4d15b1c137fielding something starting with __ and the normal name is an alias. */
cfa64348224b66dd1c9979b809406c4d15b1c137fielding#if defined (__stub_vsnprintf) || defined (__stub___vsnprintf)
cfa64348224b66dd1c9979b809406c4d15b1c137fieldingvsnprintf();
cfa64348224b66dd1c9979b809406c4d15b1c137fielding; return 0; }
cfa64348224b66dd1c9979b809406c4d15b1c137fieldingif { (eval echo configure:3633: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
cfa64348224b66dd1c9979b809406c4d15b1c137fielding eval "ac_cv_func_vsnprintf=yes"
cfa64348224b66dd1c9979b809406c4d15b1c137fielding eval "ac_cv_func_vsnprintf=no"
cfa64348224b66dd1c9979b809406c4d15b1c137fieldingif eval "test \"`echo '$ac_cv_func_'vsnprintf`\" = yes"; then
cfa64348224b66dd1c9979b809406c4d15b1c137fielding ISC_PLATFORM_NEEDVSNPRINTF="#undef ISC_PLATFORM_NEEDVSNPRINTF"
cfa64348224b66dd1c9979b809406c4d15b1c137fielding ISC_PLATFORM_NEEDVSNPRINTF="#define ISC_PLATFORM_NEEDVSNPRINTF 1"
cfa64348224b66dd1c9979b809406c4d15b1c137fieldingecho $ac_n "checking for sizeof(long long int) == sizeof(long int)""... $ac_c" 1>&6
cfa64348224b66dd1c9979b809406c4d15b1c137fieldingecho "configure:3663: checking for sizeof(long long int) == sizeof(long int)" >&5
cfa64348224b66dd1c9979b809406c4d15b1c137fielding ISC_PLATFORM_LONGLONGEQUALLONG="#define ISC_PLATFORM_LONGLONGEQUALLONG 1"
cfa64348224b66dd1c9979b809406c4d15b1c137fielding#line 3669 "configure"
cfa64348224b66dd1c9979b809406c4d15b1c137fielding#include "confdefs.h"
cfa64348224b66dd1c9979b809406c4d15b1c137fieldingmain() { exit(!(sizeof(long long int) == sizeof(long int))); }
cfa64348224b66dd1c9979b809406c4d15b1c137fieldingif { (eval echo configure:3673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
cfa64348224b66dd1c9979b809406c4d15b1c137fielding ISC_PLATFORM_LONGLONGEQUALLONG="#define ISC_PLATFORM_LONGLONGEQUALLONG 1"
cfa64348224b66dd1c9979b809406c4d15b1c137fielding ISC_PLATFORM_LONGLONGEQUALLONG="#undef ISC_PLATFORM_LONGLONGEQUALLONG"
cfa64348224b66dd1c9979b809406c4d15b1c137fielding# Security Stuff
cfa64348224b66dd1c9979b809406c4d15b1c137fieldingif eval "test \"`echo '$''{'ac_cv_func_chroot'+set}'`\" = set"; then
cfa64348224b66dd1c9979b809406c4d15b1c137fielding#line 3698 "configure"
cfa64348224b66dd1c9979b809406c4d15b1c137fielding#include "confdefs.h"
cfa64348224b66dd1c9979b809406c4d15b1c137fielding/* System header to define __stub macros and hopefully few prototypes,
cfa64348224b66dd1c9979b809406c4d15b1c137fielding which can conflict with char chroot(); below. */
cfa64348224b66dd1c9979b809406c4d15b1c137fielding#include <assert.h>
cfa64348224b66dd1c9979b809406c4d15b1c137fielding/* Override any gcc2 internal prototype to avoid an error. */
cfa64348224b66dd1c9979b809406c4d15b1c137fielding/* We use char because int might match the return type of a gcc2
cfa64348224b66dd1c9979b809406c4d15b1c137fielding builtin and then its argument prototype would still apply. */
cfa64348224b66dd1c9979b809406c4d15b1c137fieldingchar chroot();
cfa64348224b66dd1c9979b809406c4d15b1c137fieldingint main() {
cfa64348224b66dd1c9979b809406c4d15b1c137fielding/* The GNU C library defines this for functions which it implements
cfa64348224b66dd1c9979b809406c4d15b1c137fielding to always fail with ENOSYS. Some functions are actually named
cfa64348224b66dd1c9979b809406c4d15b1c137fielding something starting with __ and the normal name is an alias. */
cfa64348224b66dd1c9979b809406c4d15b1c137fielding#if defined (__stub_chroot) || defined (__stub___chroot)
cfa64348224b66dd1c9979b809406c4d15b1c137fielding; return 0; }
cfa64348224b66dd1c9979b809406c4d15b1c137fieldingif { (eval echo configure:3721: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
cfa64348224b66dd1c9979b809406c4d15b1c137fielding eval "ac_cv_func_chroot=yes"
cfa64348224b66dd1c9979b809406c4d15b1c137fielding eval "ac_cv_func_chroot=no"
cfa64348224b66dd1c9979b809406c4d15b1c137fieldingif eval "test \"`echo '$ac_cv_func_'chroot`\" = yes"; then
cfa64348224b66dd1c9979b809406c4d15b1c137fielding#define HAVE_CHROOT 1
cfa64348224b66dd1c9979b809406c4d15b1c137fieldingif eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
cfa64348224b66dd1c9979b809406c4d15b1c137fielding#line 3752 "configure"
cfa64348224b66dd1c9979b809406c4d15b1c137fielding#include "confdefs.h"
cfa64348224b66dd1c9979b809406c4d15b1c137fielding#include <$ac_hdr>
cfa64348224b66dd1c9979b809406c4d15b1c137fieldingac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
cfa64348224b66dd1c9979b809406c4d15b1c137fielding{ (eval echo configure:3757: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
cfa64348224b66dd1c9979b809406c4d15b1c137fieldingac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
cfa64348224b66dd1c9979b809406c4d15b1c137fieldingif test -z "$ac_err"; then
cfa64348224b66dd1c9979b809406c4d15b1c137fielding eval "ac_cv_header_$ac_safe=yes"
cfa64348224b66dd1c9979b809406c4d15b1c137fielding eval "ac_cv_header_$ac_safe=no"
cfa64348224b66dd1c9979b809406c4d15b1c137fieldingif eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
cfa64348224b66dd1c9979b809406c4d15b1c137fielding ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
cfa64348224b66dd1c9979b809406c4d15b1c137fielding#define $ac_tr_hdr 1
cfa64348224b66dd1c9979b809406c4d15b1c137fielding# Substitutions
cfa64348224b66dd1c9979b809406c4d15b1c137fielding BIND9_ISC_BUILDINCLUDE="-I${BIND9_TOP_BUILDDIR}/lib/isc/include"
cfa64348224b66dd1c9979b809406c4d15b1c137fielding BIND9_DNS_BUILDINCLUDE="-I${BIND9_TOP_BUILDDIR}/lib/dns/include"
cfa64348224b66dd1c9979b809406c4d15b1c137fielding BIND9_OMAPI_BUILDINCLUDE="-I${BIND9_TOP_BUILDDIR}/lib/omapi/include"
cfa64348224b66dd1c9979b809406c4d15b1c137fielding BIND9_LWRES_BUILDINCLUDE="-I${BIND9_TOP_BUILDDIR}/lib/lwres/include"
cfa64348224b66dd1c9979b809406c4d15b1c137fielding# This file is a shell script that caches the results of configure
cfa64348224b66dd1c9979b809406c4d15b1c137fielding# tests run on this system so they can be shared between configure
cfa64348224b66dd1c9979b809406c4d15b1c137fielding# scripts and configure runs. It is not useful on other systems.
cfa64348224b66dd1c9979b809406c4d15b1c137fielding# If it contains results you don't want to keep, you may remove or edit it.
cfa64348224b66dd1c9979b809406c4d15b1c137fielding# By default, configure uses ./config.cache as the cache file,
cfa64348224b66dd1c9979b809406c4d15b1c137fielding# creating it if it does not exist already. You can give configure
cfa64348224b66dd1c9979b809406c4d15b1c137fielding# the --cache-file=FILE option to use a different cache file; that is
cfa64348224b66dd1c9979b809406c4d15b1c137fielding# what configure does when it calls configure scripts in
cfa64348224b66dd1c9979b809406c4d15b1c137fielding# subdirectories, so they share the cache.
cfa64348224b66dd1c9979b809406c4d15b1c137fielding# Giving --cache-file=/dev/null disables caching, for debugging configure.
cfa64348224b66dd1c9979b809406c4d15b1c137fielding# config.status only pays attention to the cache file if you give it the
cfa64348224b66dd1c9979b809406c4d15b1c137fielding# --recheck option to rerun configure.
cfa64348224b66dd1c9979b809406c4d15b1c137fielding# The following way of writing the cache mishandles newlines in values,
cfa64348224b66dd1c9979b809406c4d15b1c137fielding# but we know of no workaround that is simple, portable, and efficient.
cfa64348224b66dd1c9979b809406c4d15b1c137fielding# So, don't put newlines in cache variables' values.
cfa64348224b66dd1c9979b809406c4d15b1c137fielding# Ultrix sh set writes to stderr and can't be redirected directly,
cfa64348224b66dd1c9979b809406c4d15b1c137fielding# and sets the high bit in the cache file unless we assign to the vars.
cfa64348224b66dd1c9979b809406c4d15b1c137fielding # `set' does not quote correctly, so add quotes (double-quote substitution
cfa64348224b66dd1c9979b809406c4d15b1c137fielding # turns \\\\ into \\, and sed turns \\ into \).
cfa64348224b66dd1c9979b809406c4d15b1c137fielding -e "s/'/'\\\\''/g" \
cfa64348224b66dd1c9979b809406c4d15b1c137fielding -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
cfa64348224b66dd1c9979b809406c4d15b1c137fielding # `set' quotes correctly as required by POSIX, so do not add quotes.
cfa64348224b66dd1c9979b809406c4d15b1c137fielding sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
cfa64348224b66dd1c9979b809406c4d15b1c137fielding if test -w $cache_file; then
cfa64348224b66dd1c9979b809406c4d15b1c137fielding echo "updating cache $cache_file"
cfa64348224b66dd1c9979b809406c4d15b1c137fielding echo "not updating unwritable cache $cache_file"
cfa64348224b66dd1c9979b809406c4d15b1c137fieldingtrap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
cfa64348224b66dd1c9979b809406c4d15b1c137fieldingtest "x$prefix" = xNONE && prefix=$ac_default_prefix
cfa64348224b66dd1c9979b809406c4d15b1c137fielding# Let make expand exec_prefix.
cfa64348224b66dd1c9979b809406c4d15b1c137fieldingtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
cfa64348224b66dd1c9979b809406c4d15b1c137fielding# Any assignment to VPATH causes Sun make to only execute
cfa64348224b66dd1c9979b809406c4d15b1c137fielding# the first set of double-colon rules, so remove it if not needed.
cfa64348224b66dd1c9979b809406c4d15b1c137fielding# If there is a colon in the path, we need to keep it.
cfa64348224b66dd1c9979b809406c4d15b1c137fieldingif test "x$srcdir" = x.; then
cfa64348224b66dd1c9979b809406c4d15b1c137fieldingtrap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
cfa64348224b66dd1c9979b809406c4d15b1c137fielding# Without the "./", some shells look in PATH for config.status.
cfa64348224b66dd1c9979b809406c4d15b1c137fielding# Generated automatically by configure.
cfa64348224b66dd1c9979b809406c4d15b1c137fielding# Run this file to recreate the current configuration.
cfa64348224b66dd1c9979b809406c4d15b1c137fielding# This directory was configured as follows,
cfa64348224b66dd1c9979b809406c4d15b1c137fielding# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
cfa64348224b66dd1c9979b809406c4d15b1c137fielding# $0 $ac_configure_args
cfa64348224b66dd1c9979b809406c4d15b1c137fielding# Compiler output produced by configure, useful for debugging
cfa64348224b66dd1c9979b809406c4d15b1c137fielding# configure, is in ./config.log if it exists.
cfa64348224b66dd1c9979b809406c4d15b1c137fieldingac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
cfa64348224b66dd1c9979b809406c4d15b1c137fieldingfor ac_option
cfa64348224b66dd1c9979b809406c4d15b1c137fielding case "\$ac_option" in
cfa64348224b66dd1c9979b809406c4d15b1c137fielding -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
cfa64348224b66dd1c9979b809406c4d15b1c137fielding echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
cfa64348224b66dd1c9979b809406c4d15b1c137fielding exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
cfa64348224b66dd1c9979b809406c4d15b1c137fielding -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
cfa64348224b66dd1c9979b809406c4d15b1c137fielding echo "$CONFIG_STATUS generated by autoconf version 2.13"
cfa64348224b66dd1c9979b809406c4d15b1c137fielding -help | --help | --hel | --he | --h)
cfa64348224b66dd1c9979b809406c4d15b1c137fielding echo "\$ac_cs_usage"; exit 0 ;;
cfa64348224b66dd1c9979b809406c4d15b1c137fielding *) echo "\$ac_cs_usage"; exit 1 ;;
cfa64348224b66dd1c9979b809406c4d15b1c137fieldingac_given_srcdir=$srcdir
cfa64348224b66dd1c9979b809406c4d15b1c137fieldingac_given_INSTALL="$INSTALL"
cfa64348224b66dd1c9979b809406c4d15b1c137fieldingtrap 'rm -fr `echo "make/rules
cfa64348224b66dd1c9979b809406c4d15b1c137fielding make/includes
cfa64348224b66dd1c9979b809406c4d15b1c137fielding make/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding lib/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding lib/isc/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding lib/isc/include/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding lib/isc/include/isc/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding lib/isc/include/isc/platform.h
cfa64348224b66dd1c9979b809406c4d15b1c137fielding lib/isc/unix/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding lib/isc/unix/include/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding lib/isc/unix/include/isc/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding lib/isc/nls/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding lib/isc/pthreads/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding lib/isc/pthreads/include/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding lib/isc/pthreads/include/isc/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding lib/dns/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding lib/dns/include/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding lib/dns/include/dns/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding lib/dns/sec/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding lib/dns/sec/openssl/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding lib/dns/sec/openssl/include/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding lib/dns/sec/openssl/include/openssl/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding lib/dns/sec/dnssafe/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding lib/dns/sec/dst/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding lib/dns/sec/dst/include/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding lib/dns/sec/dst/include/dst/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding lib/dns/config/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding lib/lwres/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding lib/lwres/include/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding lib/lwres/include/lwres/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding lib/lwres/include/lwres/netdb.h
cfa64348224b66dd1c9979b809406c4d15b1c137fielding lib/lwres/include/lwres/platform.h
cfa64348224b66dd1c9979b809406c4d15b1c137fielding lib/omapi/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding lib/omapi/include/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding lib/omapi/include/omapi/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding lib/tests/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding lib/tests/include/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding lib/tests/include/tests/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding bin/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding bin/named/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding bin/named/unix/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding bin/lwresd/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding bin/rndc/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding bin/tests/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding bin/tests/names/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding bin/tests/master/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding bin/tests/rbt/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding bin/tests/db/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding bin/tests/tasks/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding bin/tests/timers/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding bin/tests/dst/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding bin/tests/mem/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding bin/tests/sockaddr/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
cfa64348224b66dd1c9979b809406c4d15b1c137fielding# Protect against being on the right side of a sed subst in config.status.
cfa64348224b66dd1c9979b809406c4d15b1c137fieldingsed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
cfa64348224b66dd1c9979b809406c4d15b1c137fielding s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@SHELL@%$SHELL%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@CFLAGS@%$CFLAGS%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@CPPFLAGS@%$CPPFLAGS%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@CXXFLAGS@%$CXXFLAGS%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@FFLAGS@%$FFLAGS%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@DEFS@%$DEFS%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@LDFLAGS@%$LDFLAGS%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@LIBS@%$LIBS%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@exec_prefix@%$exec_prefix%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@prefix@%$prefix%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@program_transform_name@%$program_transform_name%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@bindir@%$bindir%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@sbindir@%$sbindir%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@libexecdir@%$libexecdir%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@datadir@%$datadir%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@sysconfdir@%$sysconfdir%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@sharedstatedir@%$sharedstatedir%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@localstatedir@%$localstatedir%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@libdir@%$libdir%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@includedir@%$includedir%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@oldincludedir@%$oldincludedir%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@infodir@%$infodir%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@mandir@%$mandir%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@host@%$host%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@host_alias@%$host_alias%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@host_cpu@%$host_cpu%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@host_vendor@%$host_vendor%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@host_os@%$host_os%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@SET_MAKE@%$SET_MAKE%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@RANLIB@%$RANLIB%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@INSTALL_DATA@%$INSTALL_DATA%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@STD_CINCLUDES@%$STD_CINCLUDES%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@STD_CDEFINES@%$STD_CDEFINES%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@STD_CWARNINGS@%$STD_CWARNINGS%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@AR@%$AR%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@ARFLAGS@%$ARFLAGS%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@ETAGS@%$ETAGS%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@CC@%$CC%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@YACC@%$YACC%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@CPP@%$CPP%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@ISC_PLATFORM_HAVENETINET6IN6H@%$ISC_PLATFORM_HAVENETINET6IN6H%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@LWRES_PLATFORM_HAVENETINET6IN6H@%$LWRES_PLATFORM_HAVENETINET6IN6H%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@MKDEPCC@%$MKDEPCC%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@MKDEPCFLAGS@%$MKDEPCFLAGS%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@MKDEPPROG@%$MKDEPPROG%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@ISC_PLATFORM_HAVESALEN@%$ISC_PLATFORM_HAVESALEN%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@LWRES_PLATFORM_HAVESALEN@%$LWRES_PLATFORM_HAVESALEN%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@ISC_PLATFORM_MSGHDRFLAVOR@%$ISC_PLATFORM_MSGHDRFLAVOR%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@ISC_PLATFORM_NEEDPORTT@%$ISC_PLATFORM_NEEDPORTT%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@ISC_LWRES_NEEDADDRINFO@%$ISC_LWRES_NEEDADDRINFO%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@ISC_LWRES_SETHOSTENTINT@%$ISC_LWRES_SETHOSTENTINT%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@ISC_LWRES_ENDHOSTENTINT@%$ISC_LWRES_ENDHOSTENTINT%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@ISC_LWRES_GETNETBYADDRINADDR@%$ISC_LWRES_GETNETBYADDRINADDR%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@ISC_LWRES_SETNETENTINT@%$ISC_LWRES_SETNETENTINT%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@ISC_LWRES_ENDNETENTINT@%$ISC_LWRES_ENDNETENTINT%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@ISC_LWRES_GETHOSTBYADDRVOID@%$ISC_LWRES_GETHOSTBYADDRVOID%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@ISC_LWRES_NEEDHERRNO@%$ISC_LWRES_NEEDHERRNO%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@ISC_LWRES_GETIPNODEPROTO@%$ISC_LWRES_GETIPNODEPROTO%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@ISC_LWRES_GETADDRINFOPROTO@%$ISC_LWRES_GETADDRINFOPROTO%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@ISC_LWRES_GETNAMEINFOPROTO@%$ISC_LWRES_GETNAMEINFOPROTO%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@build@%$build%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@build_alias@%$build_alias%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@build_cpu@%$build_cpu%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@build_vendor@%$build_vendor%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@build_os@%$build_os%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@LD@%$LD%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@NM@%$NM%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@LN_S@%$LN_S%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@LIBTOOL@%$LIBTOOL%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@SA@%$SA%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@ISC_PLATFORM_HAVEIPV6@%$ISC_PLATFORM_HAVEIPV6%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@LWRES_PLATFORM_HAVEIPV6@%$LWRES_PLATFORM_HAVEIPV6%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@ISC_PLATFORM_NEEDIN6ADDRANY@%$ISC_PLATFORM_NEEDIN6ADDRANY%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@ISC_IPV6_H@%$ISC_IPV6_H%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@ISC_IPV6_O@%$ISC_IPV6_O%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@ISC_ISCIPV6_O@%$ISC_ISCIPV6_O%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@ISC_IPV6_C@%$ISC_IPV6_C%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@ISC_PLATFORM_NEEDNTOP@%$ISC_PLATFORM_NEEDNTOP%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@ISC_PLATFORM_NEEDPTON@%$ISC_PLATFORM_NEEDPTON%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@ISC_PLATFORM_NEEDATON@%$ISC_PLATFORM_NEEDATON%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@ISC_PLATFORM_NEEDSTRSEP@%$ISC_PLATFORM_NEEDSTRSEP%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@ISC_PLATFORM_NEEDVSNPRINTF@%$ISC_PLATFORM_NEEDVSNPRINTF%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@ISC_EXTRA_OBJS@%$ISC_EXTRA_OBJS%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@ISC_EXTRA_SRCS@%$ISC_EXTRA_SRCS%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@ISC_PLATFORM_LONGLONGEQUALLONG@%$ISC_PLATFORM_LONGLONGEQUALLONG%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@BIND9_TOP_BUILDDIR@%$BIND9_TOP_BUILDDIR%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@BIND9_ISC_BUILDINCLUDE@%$BIND9_ISC_BUILDINCLUDE%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@BIND9_DNS_BUILDINCLUDE@%$BIND9_DNS_BUILDINCLUDE%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@BIND9_OMAPI_BUILDINCLUDE@%$BIND9_OMAPI_BUILDINCLUDE%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@BIND9_LWRES_BUILDINCLUDE@%$BIND9_LWRES_BUILDINCLUDE%g
cfa64348224b66dd1c9979b809406c4d15b1c137fielding/@BIND9_INCLUDES@/r $BIND9_INCLUDES
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@BIND9_INCLUDES@%%g
cfa64348224b66dd1c9979b809406c4d15b1c137fielding/@BIND9_MAKE_RULES@/r $BIND9_MAKE_RULES
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@BIND9_MAKE_RULES@%%g
cfa64348224b66dd1c9979b809406c4d15b1c137fielding/@BIND9_VERSION@/r $BIND9_VERSION
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@BIND9_VERSION@%%g
cfa64348224b66dd1c9979b809406c4d15b1c137fielding/@LIBISC_API@/r $LIBISC_API
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@LIBISC_API@%%g
cfa64348224b66dd1c9979b809406c4d15b1c137fielding/@LIBDNS_API@/r $LIBDNS_API
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@LIBDNS_API@%%g
cfa64348224b66dd1c9979b809406c4d15b1c137fielding/@LIBLWRES_API@/r $LIBLWRES_API
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@LIBLWRES_API@%%g
cfa64348224b66dd1c9979b809406c4d15b1c137fielding/@LIBOMAPI_API@/r $LIBOMAPI_API
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@LIBOMAPI_API@%%g
cfa64348224b66dd1c9979b809406c4d15b1c137fielding# Split the substitutions into bite-sized pieces for seds with
cfa64348224b66dd1c9979b809406c4d15b1c137fielding# small command number limits, like on Digital OSF/1 and HP-UX.
cfa64348224b66dd1c9979b809406c4d15b1c137fieldingac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
cfa64348224b66dd1c9979b809406c4d15b1c137fieldingac_end=$ac_max_sed_cmds # Line after last line for current file.
cfa64348224b66dd1c9979b809406c4d15b1c137fielding sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
cfa64348224b66dd1c9979b809406c4d15b1c137fielding sed "${ac_end}q" conftest.subs > conftest.s$ac_file
cfa64348224b66dd1c9979b809406c4d15b1c137fielding if test -z "$ac_sed_cmds"; then
cfa64348224b66dd1c9979b809406c4d15b1c137fielding ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
cfa64348224b66dd1c9979b809406c4d15b1c137fieldingif test -z "$ac_sed_cmds"; then
cfa64348224b66dd1c9979b809406c4d15b1c137fieldingCONFIG_FILES=\${CONFIG_FILES-"make/rules
cfa64348224b66dd1c9979b809406c4d15b1c137fielding make/includes
cfa64348224b66dd1c9979b809406c4d15b1c137fielding make/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding lib/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding lib/isc/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding lib/isc/include/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding lib/isc/include/isc/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding lib/isc/include/isc/platform.h
cfa64348224b66dd1c9979b809406c4d15b1c137fielding lib/isc/unix/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding lib/isc/unix/include/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding lib/isc/unix/include/isc/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding lib/isc/nls/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding lib/isc/pthreads/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding lib/isc/pthreads/include/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding lib/isc/pthreads/include/isc/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding lib/dns/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding lib/dns/include/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding lib/dns/include/dns/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding lib/dns/sec/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding lib/dns/sec/openssl/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding lib/dns/sec/openssl/include/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding lib/dns/sec/openssl/include/openssl/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding lib/dns/sec/dnssafe/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding lib/dns/sec/dst/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding lib/dns/sec/dst/include/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding lib/dns/sec/dst/include/dst/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding lib/dns/config/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding lib/lwres/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding lib/lwres/include/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding lib/lwres/include/lwres/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding lib/lwres/include/lwres/netdb.h
cfa64348224b66dd1c9979b809406c4d15b1c137fielding lib/lwres/include/lwres/platform.h
cfa64348224b66dd1c9979b809406c4d15b1c137fielding lib/omapi/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding lib/omapi/include/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding lib/omapi/include/omapi/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding lib/tests/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding lib/tests/include/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding lib/tests/include/tests/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding bin/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding bin/named/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding bin/named/unix/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding bin/lwresd/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding bin/rndc/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding bin/tests/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding bin/tests/names/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding bin/tests/master/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding bin/tests/rbt/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding bin/tests/db/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding bin/tests/tasks/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding bin/tests/timers/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding bin/tests/dst/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding bin/tests/mem/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fielding bin/tests/sockaddr/Makefile
cfa64348224b66dd1c9979b809406c4d15b1c137fieldingfor ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
cfa64348224b66dd1c9979b809406c4d15b1c137fielding # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
cfa64348224b66dd1c9979b809406c4d15b1c137fielding # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
cfa64348224b66dd1c9979b809406c4d15b1c137fielding # Remove last slash and all that follows it. Not all systems have dirname.
cfa64348224b66dd1c9979b809406c4d15b1c137fielding if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
cfa64348224b66dd1c9979b809406c4d15b1c137fielding # The file is in a subdirectory.
cfa64348224b66dd1c9979b809406c4d15b1c137fielding # A "../" for each directory in $ac_dir_suffix.
cfa64348224b66dd1c9979b809406c4d15b1c137fielding else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
cfa64348224b66dd1c9979b809406c4d15b1c137fielding /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
cfa64348224b66dd1c9979b809406c4d15b1c137fielding *) # Relative path.
cfa64348224b66dd1c9979b809406c4d15b1c137fielding configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
cfa64348224b66dd1c9979b809406c4d15b1c137fielding ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@configure_input@%$configure_input%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@top_srcdir@%$top_srcdir%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%@INSTALL@%$INSTALL%g
cfa64348224b66dd1c9979b809406c4d15b1c137fielding" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
cfa64348224b66dd1c9979b809406c4d15b1c137fielding# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
cfa64348224b66dd1c9979b809406c4d15b1c137fielding# NAME is the cpp macro being defined and VALUE is the value it is being given.
cfa64348224b66dd1c9979b809406c4d15b1c137fielding# ac_d sets the value in "#define NAME VALUE" lines.
cfa64348224b66dd1c9979b809406c4d15b1c137fielding# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
cfa64348224b66dd1c9979b809406c4d15b1c137fielding# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
cfa64348224b66dd1c9979b809406c4d15b1c137fieldingif test "${CONFIG_HEADERS+set}" != set; then
cfa64348224b66dd1c9979b809406c4d15b1c137fielding CONFIG_HEADERS="config.h"
cfa64348224b66dd1c9979b809406c4d15b1c137fieldingfor ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
cfa64348224b66dd1c9979b809406c4d15b1c137fielding # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
cfa64348224b66dd1c9979b809406c4d15b1c137fielding ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
cfa64348224b66dd1c9979b809406c4d15b1c137fielding# Transform confdefs.h into a sed script conftest.vals that substitutes
cfa64348224b66dd1c9979b809406c4d15b1c137fielding# the proper values into config.h.in to produce config.h. And first:
cfa64348224b66dd1c9979b809406c4d15b1c137fielding# Protect against being on the right side of a sed subst in config.status.
cfa64348224b66dd1c9979b809406c4d15b1c137fielding# Protect against being in an unquoted here document in config.status.
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings/[\\&%]/\\&/g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%[\\$`]%\\&%g
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
cfa64348224b66dd1c9979b809406c4d15b1c137fielding# This sed command replaces #undef with comments. This is necessary, for
cfa64348224b66dd1c9979b809406c4d15b1c137fielding# example, in the case of _POSIX_SOURCE, which is predefined and required
cfa64348224b66dd1c9979b809406c4d15b1c137fielding# on some systems where configure will not decide to define it.
cfa64348224b66dd1c9979b809406c4d15b1c137fieldings%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
cfa64348224b66dd1c9979b809406c4d15b1c137fielding# Break up conftest.vals because some shells have a limit on
cfa64348224b66dd1c9979b809406c4d15b1c137fielding# the size of here documents, and old seds have small limits too.
cfa64348224b66dd1c9979b809406c4d15b1c137fielding # grep -c gives empty output for an empty file on some AIX systems.
cfa64348224b66dd1c9979b809406c4d15b1c137fielding if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
cfa64348224b66dd1c9979b809406c4d15b1c137fielding # Write a limited-size here document to conftest.frag.
cfa64348224b66dd1c9979b809406c4d15b1c137fielding echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
cfa64348224b66dd1c9979b809406c4d15b1c137fielding sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
cfa64348224b66dd1c9979b809406c4d15b1c137fielding sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
cfa64348224b66dd1c9979b809406c4d15b1c137fielding echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
cfa64348224b66dd1c9979b809406c4d15b1c137fielding if cmp -s $ac_file conftest.h 2>/dev/null; then
cfa64348224b66dd1c9979b809406c4d15b1c137fielding # Remove last slash and all that follows it. Not all systems have dirname.
cfa64348224b66dd1c9979b809406c4d15b1c137fielding if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
cfa64348224b66dd1c9979b809406c4d15b1c137fieldingtest "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1