configure revision 3c8e458ed2118828b13f35ca6fcc409da66c2869
c78c39caab4cf8b5daefc9c65878f7f5ed3eb7a0Tinderbox User# From configure.in Revision: 1.140
c57668a2fbbe558c1bd21652813616f2f517c469Tinderbox User## libtool.m4 - Configure libtool for the target system. -*-Shell-script-*-
a7c412f37cc73d0332887a746e81220cbf09dd00Mark Andrews## Copyright (C) 1996-1999 Free Software Foundation, Inc.
287a6a8f9040dc43560cd69cddf83bfc0f53b76fTinderbox User## Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
8de3f14f1c300c3e1ed99084cc03485b42c92bf1Tinderbox User## This program is free software; you can redistribute it and/or modify
950d203b64f512b85fcc093ee1e9e3e531a1aea3Tinderbox User## it under the terms of the GNU General Public License as published by
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox User## the Free Software Foundation; either version 2 of the License, or
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews## (at your option) any later version.
e676a596869d8a80a644c99a848afb53d1c5975eMark Andrews## This program is distributed in the hope that it will be useful, but
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews## WITHOUT ANY WARRANTY; without even the implied warranty of
3759f10fc543747668b1ca4b4671f35b0dea8445Francis Dupont## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
d5637bdbb931ff79fced3d4858d83212ea58ed15Tinderbox User## General Public License for more details.
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews## You should have received a copy of the GNU General Public License
3759f10fc543747668b1ca4b4671f35b0dea8445Francis Dupont## along with this program; if not, write to the Free Software
d5637bdbb931ff79fced3d4858d83212ea58ed15Tinderbox User## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox User## As a special exception to the GNU General Public License, if you
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews## distribute this file as part of a program that contains a
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox User## configuration script generated by Autoconf, you may include it under
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews## the same distribution terms that you use for the rest of that program.
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews# serial 40 AC_PROG_LIBTOOL
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews# AC_LIBTOOL_DLOPEN - enable checks for dlopen support
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox User# AC_LIBTOOL_WIN32_DLL - declare package support for building win32 dll's
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews# AC_ENABLE_SHARED - implement the --enable-shared flag
015055b6e23f5c08f6a5b34726f90b62597e9e45Tinderbox User# Usage: AC_ENABLE_SHARED[(DEFAULT)]
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan Hunt# AC_DISABLE_SHARED - set the default shared flag to --disable-shared
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater# AC_ENABLE_STATIC - implement the --enable-static flag
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan Hunt# Usage: AC_ENABLE_STATIC[(DEFAULT)]
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox User# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater# AC_DISABLE_STATIC - set the default static flag to --disable-static
cdfc81e048bd34c1d628380247bda6b80a89e20eAutomatic Updater# AC_ENABLE_FAST_INSTALL - implement the --enable-fast-install flag
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews# Usage: AC_ENABLE_FAST_INSTALL[(DEFAULT)]
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews# AC_ENABLE_FAST_INSTALL - set the default to --disable-fast-install
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews# AC_PROG_LD - find the path to the GNU or non-GNU linker
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews# AC_PROG_NM - find the path to a BSD-compatible name lister
015055b6e23f5c08f6a5b34726f90b62597e9e45Tinderbox User# AC_CHECK_LIBM - check for math library
e40c4e4c17d4df338e2a7db0f84d8dbb3858964cTinderbox User# AC_LIBLTDL_CONVENIENCE[(dir)] - sets LIBLTDL to the link flags for
4c6bae917bec70e1fc4d1b761a9765075af78441Tinderbox User# the libltdl convenience library, adds --enable-ltdl-convenience to
294e9d4c34462d29a3e766c88f452b46aeb3702fTinderbox User# the configure arguments. Note that LIBLTDL is not AC_SUBSTed, nor
2ae159b376dac23870d8005563c585acf85a4b5aEvan Hunt# is AC_CONFIG_SUBDIRS called. If DIR is not provided, it is assumed
2ae159b376dac23870d8005563c585acf85a4b5aEvan Hunt# to be `${top_builddir}/libltdl'. Make sure you start DIR with
2ae159b376dac23870d8005563c585acf85a4b5aEvan Hunt# '${top_builddir}/' (note the single quotes!) if your package is not
2ae159b376dac23870d8005563c585acf85a4b5aEvan Hunt# flat, and, if you're not using automake, define top_builddir as
2ae159b376dac23870d8005563c585acf85a4b5aEvan Hunt# appropriate in the Makefiles.
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews# AC_LIBLTDL_INSTALLABLE[(dir)] - sets LIBLTDL to the link flags for
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# the libltdl installable library, and adds --enable-ltdl-install to
ee11dfc481f2ef6a032a715454f6290961a722d2Tinderbox User# the configure arguments. Note that LIBLTDL is not AC_SUBSTed, nor
ee11dfc481f2ef6a032a715454f6290961a722d2Tinderbox User# is AC_CONFIG_SUBDIRS called. If DIR is not provided, it is assumed
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# to be `${top_builddir}/libltdl'. Make sure you start DIR with
e40c4e4c17d4df338e2a7db0f84d8dbb3858964cTinderbox User# '${top_builddir}/' (note the single quotes!) if your package is not
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# flat, and, if you're not using automake, define top_builddir as
e40c4e4c17d4df338e2a7db0f84d8dbb3858964cTinderbox User# appropriate in the Makefiles.
0e573cdd111e060e5f6c18249b5ccacbe8abe278Tinderbox User# In the future, this macro may have to be called after AC_PROG_LIBTOOL.
77932ac533c711eca5cd86de4e7eca8d91102b43Tinderbox User# Guess values for system-dependent variables and create Makefiles.
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# Generated automatically using autoconf version 2.13
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox User# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox User# This configure script is free software; the Free Software Foundation
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews# gives unlimited permission to copy, distribute and modify it.
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews# Any additions from configure.in:
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews --with-ptl2 on NetBSD, use the ptl2 thread library (experimental)"
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson --with-libtool use GNU libtool (following indented options supported)"
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews --enable-shared[=PKGS] build shared libraries [default=yes]"
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews --enable-static[=PKGS] build static libraries [default=yes]"
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson --enable-fast-install[=PKGS] optimize for fast installation [default=yes]"
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews --with-gnu-ld assume the C compiler uses GNU ld [default=no]"
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews --disable-libtool-lock avoid locking (might break parallel builds)"
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews --enable-ipv6 use IPv6 [default=autodetect]"
e40c4e4c17d4df338e2a7db0f84d8dbb3858964cTinderbox User --with-kame[=PATH] use Kame IPv6 [default path /usr/local/v6]"
78f3ed4bc2fcd3d270bfd599804f3b27a1db4d91Mark Andrews# Initialize some variables set by options.
fd972434c29fc1169d66594e4cc7697d33036c2bTinderbox User# The variables have the same names as the options, with
e40c4e4c17d4df338e2a7db0f84d8dbb3858964cTinderbox User# dashes changed to underlines.
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox User# Initialize some other variables.
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox User# Maximum number of lines to put in a shell here document.
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews # If the previous option needs an argument, assign it.
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox User if test -n "$ac_prev"; then
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews eval "$ac_prev=\$ac_option"
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews # Accept the important Cygnus configure options, so we can diagnose typos.
dd65eb1efb40b1c47d57963192bfc54873b219beAutomatic Updater -bindir | --bindir | --bindi | --bind | --bin | --bi)
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox User -build=* | --build=* | --buil=* | --bui=* | --bu=*)
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews -cache-file | --cache-file | --cache-fil | --cache-fi \
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox User | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox User -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox User -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox User -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
70d987def5a58ebeb8243017c0ec2e9b2c326cf4Evan Hunt # Reject names that are not valid shell variable names.
70d987def5a58ebeb8243017c0ec2e9b2c326cf4Evan Hunt if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox User { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
933799f3641f4f78445d015008bad0038900a82aTinderbox User eval "enable_${ac_feature}=no" ;;
7ca715ad1587a68a531ea1cdea07515d7232567eTinderbox User ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
015055b6e23f5c08f6a5b34726f90b62597e9e45Tinderbox User # Reject names that are not valid shell variable names.
8711e5c73ca872d59810760af0332194cbdd619bAutomatic Updater if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
91d187ce035f39073f0732ff2a401a45c3c955fbMark Andrews eval "enable_${ac_feature}='$ac_optarg'" ;;
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
ba8b771c371967dd1254c7fa82ebe4158ee04b24Tinderbox User | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
933799f3641f4f78445d015008bad0038900a82aTinderbox User # Obsolete; use --with-gas.
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater # Omit some internal or obsolete options to make the list less imposing.
ecbc7ebb243a1f8a5dc6f28185ffe9e61d3b2102Mark Andrews # This message is too long to be a string in the A/UX 3.1 sh.
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic UpdaterUsage: configure [options] [host]
bac4435d473c9a0281507524f084480c34aa942aTinderbox UserOptions: [defaults in brackets after descriptions]
39ae0eafed076ef769fef5c18b22a8051df5c93aTinderbox UserConfiguration:
91d187ce035f39073f0732ff2a401a45c3c955fbMark Andrews --cache-file=FILE cache test results in FILE
c2abd6efeb9affa70aabb63da2acb23e135cf7f2Mark Andrews --help print this message
3759f10fc543747668b1ca4b4671f35b0dea8445Francis Dupont --no-create do not create output files
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox User --quiet, --silent do not print \`checking...' messages
96ea71632887c58a9d00f47eb318bf76b35903c3Mark Andrews --version print the version of autoconf that created configure
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic UpdaterDirectory and file names:
9cd5eb6fe0f26d65724b99216cb31dcdd12e4afdAutomatic Updater --prefix=PREFIX install architecture-independent files in PREFIX
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox User [$ac_default_prefix]
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox User --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
4cda4fd158d6ded5586bacea8c388445d99611eaAutomatic Updater [same as prefix]
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews --bindir=DIR user executables in DIR [EPREFIX/bin]
b02be031b9ff37b042adc8e68e36b8bbc1f672b7Tinderbox User --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
0e573cdd111e060e5f6c18249b5ccacbe8abe278Tinderbox User --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews --datadir=DIR read-only architecture-independent data in DIR
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater [PREFIX/share]
e08cdffb3ae4ad409f37e3e5a218fe4b7e0e3904Tinderbox User --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews --sharedstatedir=DIR modifiable architecture-independent data in DIR
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews [PREFIX/com]
bac4435d473c9a0281507524f084480c34aa942aTinderbox User --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews --libdir=DIR object code libraries in DIR [EPREFIX/lib]
ba8b771c371967dd1254c7fa82ebe4158ee04b24Tinderbox User --includedir=DIR C header files in DIR [PREFIX/include]
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater --infodir=DIR info documentation in DIR [PREFIX/info]
e40c4e4c17d4df338e2a7db0f84d8dbb3858964cTinderbox User --mandir=DIR man documentation in DIR [PREFIX/man]
933799f3641f4f78445d015008bad0038900a82aTinderbox User --srcdir=DIR find the sources in DIR [configure dir or ..]
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater --program-prefix=PREFIX prepend PREFIX to installed program names
e64202536ea72d8f371dd0df9fc763f8d70bf886Tinderbox User --program-suffix=SUFFIX append SUFFIX to installed program names
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews --program-transform-name=PROGRAM
da59e63e7af147a8bcef985b98b04443e04c3a0eTinderbox User run sed PROGRAM on installed program names
f520803b46dc189fdaf84adc87ef327d3587b435Mark Andrews --build=BUILD configure for building on BUILD [BUILD=HOST]
a03cb08d0c4f1ca5fbc121d2f02bdffa7eb52286Mark Andrews --host=HOST configure for HOST [guessed]
757ff043760e4743dda1a10e7d58349275934902Tinderbox User --target=TARGET configure for TARGET [TARGET=HOST]
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic UpdaterFeatures and packages:
ae454ec746d1d4db8d04e107d4d25ff13158c37fMark Andrews --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1bcc3273a80c256f11d9098a00ba2c041939e233Mark Andrews --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1bcc3273a80c256f11d9098a00ba2c041939e233Mark Andrews --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews --x-includes=DIR X include files are in DIR
1bcc3273a80c256f11d9098a00ba2c041939e233Mark Andrews --x-libraries=DIR X library files are in DIR
ba8b771c371967dd1254c7fa82ebe4158ee04b24Tinderbox User if test -n "$ac_help"; then
bac4435d473c9a0281507524f084480c34aa942aTinderbox User echo "--enable and --with options recognized:$ac_help"
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox User -includedir | --includedir | --includedi | --included | --include \
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox User | --includ=* | --inclu=* | --incl=* | --inc=*)
ebdf202f2198158ab4d30f22c370a9c63760d071Tinderbox User -infodir | --infodir | --infodi | --infod | --info | --inf)
caaff35375fba833f156f952aeca689e5bc7cddfFrancis Dupont -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
3759f10fc543747668b1ca4b4671f35b0dea8445Francis Dupont -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
78f3ed4bc2fcd3d270bfd599804f3b27a1db4d91Mark Andrews -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews -localstatedir | --localstatedir | --localstatedi | --localstated \
3759f10fc543747668b1ca4b4671f35b0dea8445Francis Dupont | --localstate | --localstat | --localsta | --localst \
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
e8fc8c884b44371784805e1e0d3100da403dd3f1Automatic Updater | --localstate=* | --localstat=* | --localsta=* | --localst=* \
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
e8fc8c884b44371784805e1e0d3100da403dd3f1Automatic Updater -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews # Obsolete; use --without-fp.
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews -no-create | --no-create | --no-creat | --no-crea | --no-cre \
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews -no-recursion | --no-recursion | --no-recursio | --no-recursi \
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
c5a97a549c89d562e999d4f906b882c5a2a474e1Tinderbox User -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
0e573cdd111e060e5f6c18249b5ccacbe8abe278Tinderbox User | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
01a5c5503482fb3ba52088bf0178a7213273bf96Mark Andrews | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
d585233c52e283d9a8849f16f04f452419a2484eTinderbox User -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
e64202536ea72d8f371dd0df9fc763f8d70bf886Tinderbox User -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
59528addd704f8d5757b54e540520f74e588a7c7Automatic Updater -program-prefix | --program-prefix | --program-prefi | --program-pref \
757ff043760e4743dda1a10e7d58349275934902Tinderbox User -program-prefix=* | --program-prefix=* | --program-prefi=* \
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
933799f3641f4f78445d015008bad0038900a82aTinderbox User -program-suffix | --program-suffix | --program-suffi | --program-suff \
7f79131f9a8e804b93c57f3c679065cce878b726Automatic Updater -program-suffix=* | --program-suffix=* | --program-suffi=* \
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews -program-transform-name | --program-transform-name \
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews | --program-transform-nam | --program-transform-na \
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews | --program-transform-n | --program-transform- \
3a988722ad9e209ba4064604d482dc4efe0e19ebTinderbox User -program-transform-name=* | --program-transform-name=* \
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington | --program-transform-nam=* | --program-transform-na=* \
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington | --program-transform-n=* | --program-transform-=* \
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews | --program-transform=* | --program-transfor=* \
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews | --progr-tra=* | --program-tr=* | --program-t=*)
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews -q | -quiet | --quiet | --quie | --qui | --qu | --q \
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews | -silent | --silent | --silen | --sile | --sil)
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox User -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
3759f10fc543747668b1ca4b4671f35b0dea8445Francis Dupont -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
a5636b773fa05a272b6876afd99309c0b3090e2fMark Andrews -sharedstatedir | --sharedstatedir | --sharedstatedi \
a5636b773fa05a272b6876afd99309c0b3090e2fMark Andrews | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
3759f10fc543747668b1ca4b4671f35b0dea8445Francis Dupont | --sharedst | --shareds | --shared | --share | --shar \
3759f10fc543747668b1ca4b4671f35b0dea8445Francis Dupont -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington | --syscon | --sysco | --sysc | --sys | --sy)
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington -target | --target | --targe | --targ | --tar | --ta | --t)
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington -v | -verbose | --verbose | --verbos | --verbo | --verb)
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington -version | --version | --versio | --versi | --vers)
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington echo "configure generated by autoconf version 2.13"
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington # Reject names that are not valid shell variable names.
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington ac_package=`echo $ac_package| sed 's/-/_/g'`
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington eval "with_${ac_package}='$ac_optarg'" ;;
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington ac_package=`echo $ac_option|sed -e 's/-*without-//'`
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington # Reject names that are not valid shell variable names.
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
f520803b46dc189fdaf84adc87ef327d3587b435Mark Andrews { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews eval "with_${ac_package}=no" ;;
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews # Obsolete; use --with-x.
ae7e54b14c946e0984c191554db9abb4893f9349Automatic Updater -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
ae7e54b14c946e0984c191554db9abb4893f9349Automatic Updater -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
ae7e54b14c946e0984c191554db9abb4893f9349Automatic Updater | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
ae7e54b14c946e0984c191554db9abb4893f9349Automatic Updater -x-libraries | --x-libraries | --x-librarie | --x-librari \
ae7e54b14c946e0984c191554db9abb4893f9349Automatic Updater | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
ae7e54b14c946e0984c191554db9abb4893f9349Automatic Updater -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
ae7e54b14c946e0984c191554db9abb4893f9349Automatic Updater | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
b30ec46fec40a1b246f7965fbcd341fc6cfd1cc1Mark Andrews -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
c11c7b47726c02eb05e29ff7be56a3343146e396Tinderbox User if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
c11c7b47726c02eb05e29ff7be56a3343146e396Tinderbox User echo "configure: warning: $ac_option: invalid host type" 1>&2
c11c7b47726c02eb05e29ff7be56a3343146e396Tinderbox User { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
c11c7b47726c02eb05e29ff7be56a3343146e396Tinderbox Userif test -n "$ac_prev"; then
c11c7b47726c02eb05e29ff7be56a3343146e396Tinderbox User { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrewstrap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews# File descriptor usage:
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews# 0 standard input
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews# 1 file creation
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews# 2 errors and warnings
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews# 3 some systems may open it to /dev/tty
3759f10fc543747668b1ca4b4671f35b0dea8445Francis Dupont# 4 used on the Kubota Titan
3759f10fc543747668b1ca4b4671f35b0dea8445Francis Dupont# 6 checking for... messages and results
3759f10fc543747668b1ca4b4671f35b0dea8445Francis Dupont# 5 compiler messages saved in config.log
0eb371ca0dab50ae3462e98794a6126198c52f4bMark AndrewsThis file contains any messages produced by compilers while
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrewsrunning configure, to aid debugging if configure makes a mistake.
3759f10fc543747668b1ca4b4671f35b0dea8445Francis Dupont# Strip out --no-create and --no-recursion so they do not pile up.
3759f10fc543747668b1ca4b4671f35b0dea8445Francis Dupont# Also quote any args containing shell metacharacters.
3759f10fc543747668b1ca4b4671f35b0dea8445Francis Dupont -no-create | --no-create | --no-creat | --no-crea | --no-cre \
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews -no-recursion | --no-recursion | --no-recursio | --no-recursi \
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington ac_configure_args="$ac_configure_args '$ac_arg'" ;;
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington *) ac_configure_args="$ac_configure_args $ac_arg" ;;
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# NLS nuisances.
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# Only set these to C if already set. These must not be set unconditionally
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# because not all systems understand e.g. LANG=C (notably SCO).
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# Non-C LC_CTYPE values break the ctype check.
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellingtonif test "${LANG+set}" = set; then LANG=C; export LANG; fi
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellingtonif test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellingtonif test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellingtonif test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# confdefs.h avoids OS command line length limits that DEFS can exceed.
7adcb4de92bf4383a4c5624c4ed256736d02bc6dMark Andrews# AIX cpp loses on an empty file, so make sure it contains at least a newline.
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews# A filename unique to this package, relative to the directory that
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews# configure is in, which we can look for to find out if srcdir is correct.
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews# Find the source files, if location was not specified.
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrewsif test -z "$srcdir"; then
33d1cff1dd63494ffa00fac695a793f00c4ebf0bTinderbox User # Try the directory containing this script, then its parent.
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
7adcb4de92bf4383a4c5624c4ed256736d02bc6dMark Andrews { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellingtonsrcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# Prefer explicitly selected file to automatically selected ones.
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellingtonif test -z "$CONFIG_SITE"; then
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
7adcb4de92bf4383a4c5624c4ed256736d02bc6dMark Andrews if test -r "$ac_site_file"; then
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington echo "loading site script $ac_site_file"
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellingtonif test -r "$cache_file"; then
3759f10fc543747668b1ca4b4671f35b0dea8445Francis Dupont echo "loading cache $cache_file"
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews echo "creating cache $cache_file"
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellingtonac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellingtonac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updaterif (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
3759f10fc543747668b1ca4b4671f35b0dea8445Francis Dupontfor ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updaterif test -z "$ac_aux_dir"; then
3759f10fc543747668b1ca4b4671f35b0dea8445Francis Dupont { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellingtonac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
7adcb4de92bf4383a4c5624c4ed256736d02bc6dMark Andrews# Make sure we can run config.sub.
7adcb4de92bf4383a4c5624c4ed256736d02bc6dMark Andrewsif ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
7adcb4de92bf4383a4c5624c4ed256736d02bc6dMark Andrewselse { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellingtonecho $ac_n "checking host system type""... $ac_c" 1>&6
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellingtonecho "configure:671: checking host system type" >&5
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrewshost=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrewshost_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrewshost_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrewshost_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3759f10fc543747668b1ca4b4671f35b0dea8445Francis Dupontecho $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox Userecho "configure:693: checking whether ${MAKE-make} sets \${MAKE}" >&5
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrewsset dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
757ff043760e4743dda1a10e7d58349275934902Tinderbox Userif eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews @echo 'ac_maketemp="${MAKE}"'
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3759f10fc543747668b1ca4b4671f35b0dea8445Francis Duponteval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
22d32791e5daa0bc80335a0f10ab2de95f41ccdbTinderbox Userif test -n "$ac_maketemp"; then
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrewsif eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox User# Extract the first word of "ranlib", so it can be a program name with args.
3759f10fc543747668b1ca4b4671f35b0dea8445Francis Dupontecho $ac_n "checking for $ac_word""... $ac_c" 1>&6
ec8755f605d7dcb2de1076040e77bc2d7ec33b4aTinderbox Userecho "configure:722: checking for $ac_word" >&5
bac4435d473c9a0281507524f084480c34aa942aTinderbox Userif eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
532d27b39244fadfcf8d8b4593f4c65434c9c664Automatic Updater if test -n "$RANLIB"; then
532d27b39244fadfcf8d8b4593f4c65434c9c664Automatic Updater ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
532d27b39244fadfcf8d8b4593f4c65434c9c664Automatic Updater IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
10702d681eb650391bcaa0e2704aa3cf2dbf0e98Mark Andrews test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
10702d681eb650391bcaa0e2704aa3cf2dbf0e98Mark Andrewsif test -n "$RANLIB"; then
861836e5f5df62bfaea9ad8923a05278d5ab2f3dTinderbox User# Find a good install program. We prefer a C program (faster),
e8c17c74535be290abaaa160a434ed80bf0ad2feMark Andrews# so one script is as good as another. But avoid the broken or
93089a352d6903b0d7845a039de4ec2df9a0e35aTinderbox User# incompatible versions:
9e898948ed76bf5f175bf178866c90c449843c3eTinderbox User# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
933799f3641f4f78445d015008bad0038900a82aTinderbox User# AFS /usr/afsws/bin/install, which mishandles nonexistent args
ae454ec746d1d4db8d04e107d4d25ff13158c37fMark Andrews# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
44e3b272904bfd85556771d30cf1bc6fa539dd03Automatic Updater# ./install, which can be erroneously created by make from ./install.sh.
44e3b272904bfd85556771d30cf1bc6fa539dd03Automatic Updaterecho $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
44e3b272904bfd85556771d30cf1bc6fa539dd03Automatic Updaterecho "configure:761: checking for a BSD compatible install" >&5
44e3b272904bfd85556771d30cf1bc6fa539dd03Automatic Updaterif test -z "$INSTALL"; then
44e3b272904bfd85556771d30cf1bc6fa539dd03Automatic Updaterif eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
44e3b272904bfd85556771d30cf1bc6fa539dd03Automatic Updater IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
44e3b272904bfd85556771d30cf1bc6fa539dd03Automatic Updater # Account for people who put trailing slashes in PATH elements.
44e3b272904bfd85556771d30cf1bc6fa539dd03Automatic Updater /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
44e3b272904bfd85556771d30cf1bc6fa539dd03Automatic Updater # OSF1 and SCO ODT 3.0 have their own names for install.
44e3b272904bfd85556771d30cf1bc6fa539dd03Automatic Updater # Don't use installbsd from OSF since it installs stuff as root
44e3b272904bfd85556771d30cf1bc6fa539dd03Automatic Updater for ac_prog in ginstall scoinst install; do
44e3b272904bfd85556771d30cf1bc6fa539dd03Automatic Updater grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
44e3b272904bfd85556771d30cf1bc6fa539dd03Automatic Updater # AIX install. It has an incompatible calling convention.
44e3b272904bfd85556771d30cf1bc6fa539dd03Automatic Updater if test "${ac_cv_path_install+set}" = set; then
44e3b272904bfd85556771d30cf1bc6fa539dd03Automatic Updater # As a last resort, use the slow shell script. We don't cache a
44e3b272904bfd85556771d30cf1bc6fa539dd03Automatic Updater # path for INSTALL within a source directory, because that will
44e3b272904bfd85556771d30cf1bc6fa539dd03Automatic Updater # break other packages using the cache if that directory is
44e3b272904bfd85556771d30cf1bc6fa539dd03Automatic Updater # removed, or if the path is relative.
bbc0e1c4f47f101c4a64db3469352c49a49e734fTinderbox User# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
015055b6e23f5c08f6a5b34726f90b62597e9e45Tinderbox User# It thinks the first close brace ends the variable substitution.
3040b455151b1e1173193933664b2891b6159f24Mark Andrewstest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
e9e4257668ff6c4e583b0c0db2508650b0b677b8Tinderbox Usertest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
bf8c3776f1bf1a1270e5e0443ae5a8df022632a8Mark Andrewstest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
31a540386a9abaf681d8952f1b2cdf5c75a0ba6cAutomatic Updater# Extract the first word of "ar", so it can be a program name with args.
31a540386a9abaf681d8952f1b2cdf5c75a0ba6cAutomatic Updaterecho $ac_n "checking for $ac_word""... $ac_c" 1>&6
e9e4257668ff6c4e583b0c0db2508650b0b677b8Tinderbox Userif eval "test \"`echo '$''{'ac_cv_path_AR'+set}'`\" = set"; then
60d5d17479b47c03b9c7c86f54269718103750b8Automatic Updater ac_cv_path_AR="$AR" # Let the user override the test with a path.
e9e4257668ff6c4e583b0c0db2508650b0b677b8Tinderbox User ac_cv_path_AR="$AR" # Let the user override the test with a dos path.
ff8ec39ce4afc2d774ce99f2386474d2c8539cd4Automatic Updater IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
31a540386a9abaf681d8952f1b2cdf5c75a0ba6cAutomatic Updaterif test -n "$AR"; then
3759f10fc543747668b1ca4b4671f35b0dea8445Francis Dupontar program not found. Please fix your PATH to include the directory in
7dd02af3c9350553e1d52d980a7812425b3f1295Automatic Updaterwhich ar resides, or set AR in the environment with the full path to ar.
4fe0411487e8e4401477684c0a2bac041ca7c2d5Tinderbox User# Extract the first word of "$ac_prog", so it can be a program name with args.
4fe0411487e8e4401477684c0a2bac041ca7c2d5Tinderbox Userecho $ac_n "checking for $ac_word""... $ac_c" 1>&6
4fe0411487e8e4401477684c0a2bac041ca7c2d5Tinderbox Userecho "configure:872: checking for $ac_word" >&5
4fe0411487e8e4401477684c0a2bac041ca7c2d5Tinderbox Userif eval "test \"`echo '$''{'ac_cv_path_ETAGS'+set}'`\" = set"; then
a03cb08d0c4f1ca5fbc121d2f02bdffa7eb52286Mark Andrews ac_cv_path_ETAGS="$ETAGS" # Let the user override the test with a path.
a03cb08d0c4f1ca5fbc121d2f02bdffa7eb52286Mark Andrews ac_cv_path_ETAGS="$ETAGS" # Let the user override the test with a dos path.
fedd407a76adfdd745eb7d2461673693c6f9fea9Mark Andrewsif test -n "$ETAGS"; then
05d81eae94425a5124e07626af4bcc178960bd0eMark Andrewstest -n "$ETAGS" && break
05d81eae94425a5124e07626af4bcc178960bd0eMark Andrews# Special processing of paths depending on whether --prefix,
e676a596869d8a80a644c99a848afb53d1c5975eMark Andrews# --sysconfdir or --localstatedir arguments were given. What's
82a986aaa5d3384a541b5a7d6dae8cf0726d6513Tinderbox User# desired is some compatability with the way previous versions
789875a1bd6d50c00d3bd883cad17ead1d3c21cdMark Andrews# of BIND built; they defaulted to /usr/local for most parts of
789875a1bd6d50c00d3bd883cad17ead1d3c21cdMark Andrews# the installation, but named.boot/named.conf was in /etc
789875a1bd6d50c00d3bd883cad17ead1d3c21cdMark Andrews# and named.pid was in /var/run.
bac4435d473c9a0281507524f084480c34aa942aTinderbox User# So ... if none of --prefix, --sysconfdir or --localstatedir are
08a1e53c738c425390557196a2ba5039e5afd364Mark Andrews# specified, set things up that way. If --prefix is given, use
7e8129652903780873ba91f379f9ffca1f59773cMark Andrews# it for sysconfdir and localstatedir the way configure normally
7e8129652903780873ba91f379f9ffca1f59773cMark Andrews# would. To change the prefix for everything but leave named.conf
7e8129652903780873ba91f379f9ffca1f59773cMark Andrews# in /etc or named.pid in /var/run, then do this the usual configure way:
e676a596869d8a80a644c99a848afb53d1c5975eMark Andrews# ./configure --prefix=/somewhere --sysconfdir=/etc
e676a596869d8a80a644c99a848afb53d1c5975eMark Andrews# ./configure --prefix=/somewhere --localstatedir=/var
e676a596869d8a80a644c99a848afb53d1c5975eMark Andrews# To put named.conf and named.pid in /usr/local with everything else,
3040b455151b1e1173193933664b2891b6159f24Mark Andrews# set the prefix explicitly to /usr/local even though that's the default:
91d187ce035f39073f0732ff2a401a45c3c955fbMark Andrews# ./configure --prefix=/usr/local
82a986aaa5d3384a541b5a7d6dae8cf0726d6513Tinderbox User '${prefix}/etc')
b123be91958e0bc58a10c165be64d47661199e3bEvan Hunt '${prefix}/var')
b123be91958e0bc58a10c165be64d47661199e3bEvan Hunt# Make sure INSTALL uses an absolute path, else it will be wrong in all
b123be91958e0bc58a10c165be64d47661199e3bEvan Hunt# Makefiles, since they use make/rules.in and INSTALL will be adjusted by
9c2cf9e2017e6dd196e3b866808f32c6206eeedcMark Andrews# configure based on the location of the file where it is substituted.
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater# Since in BIND9 INSTALL is only substituted into make/rules.in, an immediate
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater# subdirectory of install-sh, This relative path will be wrong for all
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater# directories more than one level down from install-sh.
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater # Not all systems have dirname.
e676a596869d8a80a644c99a848afb53d1c5975eMark Andrews test -d "$ac_dir" && ac_dir="`(cd \"$ac_dir\" && pwd)`"
91d187ce035f39073f0732ff2a401a45c3c955fbMark Andrews# On these hosts, we really want to use cc, not gcc, even if it is
5b56652059e2c22185a0b2bb1f5e58eb89a44426Tinderbox User# found. The gcc that these systems have will not correctly handle
8e86e8a779f37378fdb85a92c4ba77e394013729Tinderbox User# However, if the user sets $CC to be something, let that override
ee23b913b6acccad68cf5af480b9e289a3d00510Tinderbox User # Use Sun's cc if it is available, but watch
9e8ee4ffd77aa2974cecbdbb2b122156b8d3a27aTinderbox User # out for /usr/ucb/cc; it will never be the right
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews # compiler to use.
e9e4257668ff6c4e583b0c0db2508650b0b677b8Tinderbox User # If setting CC here fails, the AC_PROG_CC done
e9e4257668ff6c4e583b0c0db2508650b0b677b8Tinderbox User # below might still find gcc.
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
ecbc7ebb243a1f8a5dc6f28185ffe9e61d3b2102Mark Andrews if test -f "$ac_dir/cc"; then
b30ec46fec40a1b246f7965fbcd341fc6cfd1cc1Mark Andrews# If the user didn't specify where openssl is, and we didn't find or it
95c3a5e116c1da135f669c3f15398172fac6279dMark Andrews# is imcompatible with our code, use our internal one.
95c3a5e116c1da135f669c3f15398172fac6279dMark Andrews# XXXMLG Implement this check!
95c3a5e116c1da135f669c3f15398172fac6279dMark Andrewsecho $ac_n "checking for compatible OpenSSL library""... $ac_c" 1>&6
95c3a5e116c1da135f669c3f15398172fac6279dMark Andrewsecho "configure:1022: checking for compatible OpenSSL library" >&5
d585233c52e283d9a8849f16f04f452419a2484eTinderbox UserDST_OPENSSL_INC='-I${srcdir}/../openssl/include'
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater# This would include the system openssl path (and linker options to use
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater# it as needed) if it is found.
fca737c98d2be3ef944cc96320c040fdb5f160e3Tinderbox User# testing with alternate openssl libraries... XXXMLG
fca737c98d2be3ef944cc96320c040fdb5f160e3Tinderbox User# DNS_OPENSSL_LIBS="-L/usr/pkg/lib -lssl -lcrypto"
fca737c98d2be3ef944cc96320c040fdb5f160e3Tinderbox User# DST_PRIVATEOPENSSL=''
51374c645c0e6dd77c369c13834c751785f96f14Tinderbox User# dst_privateopenssl=''
3040b455151b1e1173193933664b2891b6159f24Mark Andrews# DST_OPENSSL_INC='-I/usr/pkg/include'
7f814b8b164ae04916a8487cdc5e88ee3ff51a58Automatic Updater# DST_OPENSSL_LIB=''
88d58d79c5bc7ce3c20a42461a5070116c736836Automatic Updater# NetBSD has multiple pthreads implementations. The recommended
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater# one to use is "unproven-pthreads". The older "mit-pthreads"
7f814b8b164ae04916a8487cdc5e88ee3ff51a58Automatic Updater# may also work on some NetBSD versions. The PTL2 thread
3040b455151b1e1173193933664b2891b6159f24Mark Andrews# library does not currently work with bind9, but can be
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater# chosen with the --with-ptl2 option for those who wish to
48b36fa08b2b5bc0d552dc2a4425b3f7007b3d59Automatic Updater# experiment with it.
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater echo $ac_n "checking which NetBSD thread library to use""... $ac_c" 1>&6
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updaterecho "configure:1068: checking which NetBSD thread library to use" >&5
e9e4257668ff6c4e583b0c0db2508650b0b677b8Tinderbox User # Check whether --with-ptl2 or --without-ptl2 was given.
e9e4257668ff6c4e583b0c0db2508650b0b677b8Tinderbox Userif test "${with_ptl2+set}" = set; then
e9e4257668ff6c4e583b0c0db2508650b0b677b8Tinderbox User echo "configure: warning: linking with PTL2 is highly experimental and not expected to work" 1>&2
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox User echo "$ac_t""mit-pthreads/unproven-pthreads" 1>&6
8bc194b266a17f89e6c54469d4dfbb408070f39eMark Andrews { echo "configure: error: no thread library found.
8bc194b266a17f89e6c54469d4dfbb408070f39eMark AndrewsPlease install the devel/unproven-pthreads package and rerun configure.
b6561016dc8a813bfd91cef5b876b3dfc3f08ffaTinderbox User STD_CINCLUDES="$STD_CINCLUDES -I$pkg/include"
213dd665a9f45c3acb5f6c5f853bbbd5fd1598a2Tinderbox User# Extract the first word of "gcc", so it can be a program name with args.
e5bf83fe0bbca838a0749e9071bd76d9ee0fb59bFrancis Dupontecho $ac_n "checking for $ac_word""... $ac_c" 1>&6
e5bf83fe0bbca838a0749e9071bd76d9ee0fb59bFrancis Dupontecho "configure:1110: checking for $ac_word" >&5
e5bf83fe0bbca838a0749e9071bd76d9ee0fb59bFrancis Dupontif eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox User if test -n "$CC"; then
3040b455151b1e1173193933664b2891b6159f24Mark Andrews ac_cv_prog_CC="$CC" # Let the user override the test.
ead8aa3182c5805fccb6c7c1636cede6a24a5fc1Automatic Updater IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2ba8f584b97cbab864570e38fd26b8cb90961428Tinderbox Userif test -n "$CC"; then
d58e33bfabfee19a035031dac633d36659738d56Evan Huntif test -z "$CC"; then
3040b455151b1e1173193933664b2891b6159f24Mark Andrews # Extract the first word of "cc", so it can be a program name with args.
229ea4644b3a7d9c7fdaa43888e7f55ba01e2ee3Automatic Updaterecho $ac_n "checking for $ac_word""... $ac_c" 1>&6
d2f313886122eeb989e5c58cd9a70373222210c4Tinderbox Userecho "configure:1140: checking for $ac_word" >&5
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox Userif eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
3040b455151b1e1173193933664b2891b6159f24Mark Andrews if test -n "$CC"; then
44e3b272904bfd85556771d30cf1bc6fa539dd03Automatic Updater ac_cv_prog_CC="$CC" # Let the user override the test.
7af91d15b2ce1ce32f7320f6d5cc3b83621c241aAutomatic Updater if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
a450977e98155f6e828fe6f8d52cf24674231831Mark Andrews # We found a bogon in the path, so make sure we never use it.
7fdbd6fc9df8728852ccaecb2d66241ab96a4084Tinderbox User # We chose a different compiler from the bogus one.
e21f41f6504b3381be86cbe7f457f9ee1fff947bTinderbox User # However, it has the same basename, so the bogon will be chosen
e21f41f6504b3381be86cbe7f457f9ee1fff947bTinderbox User # first if we set CC to just the basename; use the full file name.
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updaterif test -n "$CC"; then
7af91d15b2ce1ce32f7320f6d5cc3b83621c241aAutomatic Updater if test -z "$CC"; then
7af91d15b2ce1ce32f7320f6d5cc3b83621c241aAutomatic Updater # Extract the first word of "cl", so it can be a program name with args.
7af91d15b2ce1ce32f7320f6d5cc3b83621c241aAutomatic Updaterecho $ac_n "checking for $ac_word""... $ac_c" 1>&6
7af91d15b2ce1ce32f7320f6d5cc3b83621c241aAutomatic Updaterecho "configure:1191: checking for $ac_word" >&5
7af91d15b2ce1ce32f7320f6d5cc3b83621c241aAutomatic Updaterif eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
4104e236f71eb5108fcfda6711878a97f6f4a8e7Automatic Updater if test -n "$CC"; then
6fe48fb46e53ffc37542853a1edb74cb481b7d94Automatic Updater ac_cv_prog_CC="$CC" # Let the user override the test.
7af91d15b2ce1ce32f7320f6d5cc3b83621c241aAutomatic Updater IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
e9e4257668ff6c4e583b0c0db2508650b0b677b8Tinderbox Userif test -n "$CC"; then
e20309353e6246485c521278131d3fced73d7957Tinderbox User test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
39cad8fb7d7ff3436bb24ce761354afcb80d295aMark Andrewsecho $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
f8a9a38ee40c139a8d145ac76ecbff3a0f986453Mark Andrewsecho "configure:1223: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
39cad8fb7d7ff3436bb24ce761354afcb80d295aMark Andrews# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
76fbdc591b3d46df28878a6ff844798622b85265Tinderbox Userac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4aec4843241dca64de7eb6363944df0b09cb83ecTinderbox Userac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
91d187ce035f39073f0732ff2a401a45c3c955fbMark Andrews#line 1234 "configure"
91d187ce035f39073f0732ff2a401a45c3c955fbMark Andrews#include "confdefs.h"
91d187ce035f39073f0732ff2a401a45c3c955fbMark Andrewsmain(){return(0);}
ae454ec746d1d4db8d04e107d4d25ff13158c37fMark Andrewsif { (eval echo configure:1239: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
ae454ec746d1d4db8d04e107d4d25ff13158c37fMark Andrews # If we can't run a trivial program, we are probably using a cross compiler.
a80993946f29ff39df38818ee9b2e58a4e46cb7eTinderbox User# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
a80993946f29ff39df38818ee9b2e58a4e46cb7eTinderbox Userac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
a80993946f29ff39df38818ee9b2e58a4e46cb7eTinderbox Userac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
61932ed91732417e05c8c6fd335acf1be896c778Mark Andrews { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
a80993946f29ff39df38818ee9b2e58a4e46cb7eTinderbox Userecho $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
3040b455151b1e1173193933664b2891b6159f24Mark Andrewsecho "configure:1265: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
3349f0044fda807e1fd6681c833d3593a22dad86Tinderbox Userecho $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
e2d635d630f6f61fefd3d4475c45b097b16b8a2aEvan Huntecho "configure:1270: checking whether we are using GNU C" >&5
3040b455151b1e1173193933664b2891b6159f24Mark Andrewsif eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
182bfea3ae9912f6d5e2f4fe3e13737719e06f97Tinderbox User#ifdef __GNUC__
08190bd4d89153cee463b34f9233ad6dd88965fcMark Andrewsif { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1279: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
51374c645c0e6dd77c369c13834c751785f96f14Tinderbox Userecho $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
015055b6e23f5c08f6a5b34726f90b62597e9e45Tinderbox Userecho "configure:1298: checking whether ${CC-cc} accepts -g" >&5
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox Userif eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
48dfee71508886d86fe8fb12f91961b5daf3141dMark Andrewsif test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
48dfee71508886d86fe8fb12f91961b5daf3141dMark Andrewsif test "$ac_test_CFLAGS" = set; then
8f2c45a35dd8c40bcc9caba8f7d40ce64fc27bcdAutomatic Updater# Extract the first word of "$ac_prog", so it can be a program name with args.
8f2c45a35dd8c40bcc9caba8f7d40ce64fc27bcdAutomatic Updaterecho $ac_n "checking for $ac_word""... $ac_c" 1>&6
f09f1bf18e3ad40a0e8a6cc3dabf1c11f04992cbMark Andrewsecho "configure:1334: checking for $ac_word" >&5
8f2c45a35dd8c40bcc9caba8f7d40ce64fc27bcdAutomatic Updaterif eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
4c6bae917bec70e1fc4d1b761a9765075af78441Tinderbox User if test -n "$YACC"; then
ae454ec746d1d4db8d04e107d4d25ff13158c37fMark Andrews ac_cv_prog_YACC="$YACC" # Let the user override the test.
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updaterif test -n "$YACC"; then
169f44b082b340b952e26c0fdb930c102a957752Mark Andrewstest -n "$YACC" && break
1a63fb1d1448ed3f8fd7227ae57be67c2e71279eMark Andrewsecho $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
1a63fb1d1448ed3f8fd7227ae57be67c2e71279eMark Andrewsecho "configure:1366: checking how to run the C preprocessor" >&5
8e5fce1f9ceba17dd7e3ff0eb287e1e999c14249Mark Andrews# On Suns, sometimes $CPP names a directory.
8e5fce1f9ceba17dd7e3ff0eb287e1e999c14249Mark Andrewsif test -z "$CPP"; then
8e5fce1f9ceba17dd7e3ff0eb287e1e999c14249Mark Andrewsif eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
8e5fce1f9ceba17dd7e3ff0eb287e1e999c14249Mark Andrews # This must be in double quotes, not single quotes, because CPP may get
8e5fce1f9ceba17dd7e3ff0eb287e1e999c14249Mark Andrews # substituted into the Makefile and "${CC-cc}" will confuse make.
8e5fce1f9ceba17dd7e3ff0eb287e1e999c14249Mark Andrews # On the NeXT, cc -E runs the code through the compiler's parser,
8e5fce1f9ceba17dd7e3ff0eb287e1e999c14249Mark Andrews # not just through cpp.
8e5fce1f9ceba17dd7e3ff0eb287e1e999c14249Mark Andrews#line 1381 "configure"
8e5fce1f9ceba17dd7e3ff0eb287e1e999c14249Mark Andrews#include "confdefs.h"
8e5fce1f9ceba17dd7e3ff0eb287e1e999c14249Mark Andrews#include <assert.h>
8e5fce1f9ceba17dd7e3ff0eb287e1e999c14249Mark Andrewsac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3a26bfc09c833a8dc4d4c12b7cd271ed6d0843cbTinderbox User{ (eval echo configure:1387: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8e5fce1f9ceba17dd7e3ff0eb287e1e999c14249Mark Andrewsac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8e5fce1f9ceba17dd7e3ff0eb287e1e999c14249Mark Andrewsif test -z "$ac_err"; then
8e5fce1f9ceba17dd7e3ff0eb287e1e999c14249Mark Andrews#line 1398 "configure"
8e5fce1f9ceba17dd7e3ff0eb287e1e999c14249Mark Andrews#include "confdefs.h"
8e5fce1f9ceba17dd7e3ff0eb287e1e999c14249Mark Andrews#include <assert.h>
8e5fce1f9ceba17dd7e3ff0eb287e1e999c14249Mark Andrewsac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8e5fce1f9ceba17dd7e3ff0eb287e1e999c14249Mark Andrews{ (eval echo configure:1404: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
95de440e8d2b07bb130505b4146059e5734e2eeaTinderbox Userac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9e898948ed76bf5f175bf178866c90c449843c3eTinderbox Userif test -z "$ac_err"; then
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater#line 1415 "configure"
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater#include "confdefs.h"
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox User#include <assert.h>
7adcb4de92bf4383a4c5624c4ed256736d02bc6dMark Andrewsac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3040b455151b1e1173193933664b2891b6159f24Mark Andrews{ (eval echo configure:1421: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
95cfad51a3f71246d263af79a7861a6821f7a0beAutomatic Updaterac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
95cfad51a3f71246d263af79a7861a6821f7a0beAutomatic Updaterif test -z "$ac_err"; then
5ecad47f69b3fd945472ab2900a9ff826a7ce2f6Automatic Updaterecho $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
8aa098c6334de11c8fd117d30851cc457813c410Mark Andrewsecho "configure:1446: checking for ANSI C header files" >&5
07d9d0dbcc0c79deb3c34f4a8af05ac68a6800e4Mark Andrewsif eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews#line 1451 "configure"
82447d835d3ff5c658749b4e9b4f66166407b3eaAutomatic Updater#include "confdefs.h"
18920d790825d96ca3943aa2dcb6eb80dc611c5fTinderbox User#include <stdlib.h>
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox User#include <stdarg.h>
e135e3c4b1f4f986f00997f5ad5866effb203139Tinderbox User#include <string.h>
2fd1e3918971180155c10d09454a277f015daecaAutomatic Updater#include <float.h>
2fd1e3918971180155c10d09454a277f015daecaAutomatic Updaterac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18920d790825d96ca3943aa2dcb6eb80dc611c5fTinderbox User{ (eval echo configure:1459: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2fd1e3918971180155c10d09454a277f015daecaAutomatic Updaterac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2fd1e3918971180155c10d09454a277f015daecaAutomatic Updaterif test -z "$ac_err"; then
c849f7acb025c73f56a8e28902a473f2aeaba39fTinderbox User # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
c849f7acb025c73f56a8e28902a473f2aeaba39fTinderbox User#line 1476 "configure"
c849f7acb025c73f56a8e28902a473f2aeaba39fTinderbox User#include "confdefs.h"
c849f7acb025c73f56a8e28902a473f2aeaba39fTinderbox User#include <string.h>
fdd0516065be2316409d0cc7dfb4e4f54eadc5afMark Andrews # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
c849f7acb025c73f56a8e28902a473f2aeaba39fTinderbox User#line 1494 "configure"
c849f7acb025c73f56a8e28902a473f2aeaba39fTinderbox User#include "confdefs.h"
c849f7acb025c73f56a8e28902a473f2aeaba39fTinderbox User#include <stdlib.h>
e9e4257668ff6c4e583b0c0db2508650b0b677b8Tinderbox User # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
e9e4257668ff6c4e583b0c0db2508650b0b677b8Tinderbox User#line 1515 "configure"
82447d835d3ff5c658749b4e9b4f66166407b3eaAutomatic Updater#include "confdefs.h"
9e898948ed76bf5f175bf178866c90c449843c3eTinderbox User#include <ctype.h>
c2abd6efeb9affa70aabb63da2acb23e135cf7f2Mark Andrews#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
08190bd4d89153cee463b34f9233ad6dd88965fcMark Andrews#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
ae454ec746d1d4db8d04e107d4d25ff13158c37fMark Andrews#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updaterint main () { int i; for (i = 0; i < 256; i++)
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox Userif (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
d145b64cacc8d9cda51f9924ec70cd4661c3e2cfAutomatic Updaterif { (eval echo configure:1526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
c855e7170a7ddb5d4ebab69a771f35dc93e95e43Mark Andrews#define STDC_HEADERS 1
52cfbde0bd391cfb37e3c1a1b460c16ba6bf1a73Automatic Updaterfor ac_hdr in fcntl.h sys/time.h unistd.h sys/sockio.h
24e0e8d17df315d5d494ca933874e545eadce773Automatic Updaterecho $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
4fda24d843edac463c98785ec0c850d912592dc1Tinderbox Userecho "configure:1554: checking for $ac_hdr" >&5
27c3c21f41520e8d6336d80a8094389e321cb6d2Mark Andrewsif eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
31a540386a9abaf681d8952f1b2cdf5c75a0ba6cAutomatic Updater#line 1559 "configure"
3040b455151b1e1173193933664b2891b6159f24Mark Andrews#include "confdefs.h"
31a540386a9abaf681d8952f1b2cdf5c75a0ba6cAutomatic Updater#include <$ac_hdr>
3040b455151b1e1173193933664b2891b6159f24Mark Andrewsac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3040b455151b1e1173193933664b2891b6159f24Mark Andrews{ (eval echo configure:1564: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4aec4843241dca64de7eb6363944df0b09cb83ecTinderbox Userac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4aec4843241dca64de7eb6363944df0b09cb83ecTinderbox Userif test -z "$ac_err"; then
4aec4843241dca64de7eb6363944df0b09cb83ecTinderbox User eval "ac_cv_header_$ac_safe=yes"
4aec4843241dca64de7eb6363944df0b09cb83ecTinderbox User eval "ac_cv_header_$ac_safe=no"
e40c4e4c17d4df338e2a7db0f84d8dbb3858964cTinderbox Userif eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
601c1908d06375f5dea00ab98671a6c934d8a840Automatic Updater#define $ac_tr_hdr 1
e40c4e4c17d4df338e2a7db0f84d8dbb3858964cTinderbox Userecho $ac_n "checking for working const""... $ac_c" 1>&6
b577ce9ed2153db6539fb975b4a7aa16d9b3baeeTinderbox Userecho "configure:1592: checking for working const" >&5
e40c4e4c17d4df338e2a7db0f84d8dbb3858964cTinderbox Userif eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
ac2ad7b4e4e41e7e788dbe103c581f1605209d3bTinderbox User#line 1597 "configure"
7c8e44a2dc1121dbe3b615c9c934f37fb1741bb9Tinderbox User#include "confdefs.h"
601c1908d06375f5dea00ab98671a6c934d8a840Automatic Updater/* Ultrix mips cc rejects this. */
601c1908d06375f5dea00ab98671a6c934d8a840Automatic Updatertypedef int charset[2]; const charset x;
8aa098c6334de11c8fd117d30851cc457813c410Mark Andrews/* SunOS 4.1.1 cc rejects this. */
e676a596869d8a80a644c99a848afb53d1c5975eMark Andrewschar const *const *ccp;
91d187ce035f39073f0732ff2a401a45c3c955fbMark Andrews/* NEC SVR4.0.2 mips cc rejects this. */
8ccd7da886e93cd490fcb6f4c4e98a6514f35820Automatic Updaterstruct point {int x, y;};
cd839f5cf5f84cf163f55ff05cb88ce37efd24d1Automatic Updaterstatic struct point const zero = {0,0};
8aa098c6334de11c8fd117d30851cc457813c410Mark Andrews/* AIX XL C 1.02.0.0 rejects this.
cd839f5cf5f84cf163f55ff05cb88ce37efd24d1Automatic Updater It does not let you subtract one const X* pointer from another in an arm
3040b455151b1e1173193933664b2891b6159f24Mark Andrews of an if-expression whose if-part is not a constant expression */
76fbdc591b3d46df28878a6ff844798622b85265Tinderbox Userconst char *g = "string";
3040b455151b1e1173193933664b2891b6159f24Mark Andrewsccp = &g + (g ? g-g : 0);
735e1ed9685077e25f744d692acf77c5bf5d4490Tinderbox User/* HPUX 7.0 cc rejects these. */
d642d3857129678797a01adee14fbd70335b05a9Mark Andrewsp = (char**) ccp;
a5636b773fa05a272b6876afd99309c0b3090e2fMark Andrewsccp = (char const *const *) p;
fd8fb4df8499e292daeac765f599ac7c507d9ca3Mark Andrews{ /* SCO 3.2v4 cc rejects this. */
3040b455151b1e1173193933664b2891b6159f24Mark Andrews char const *s = 0 ? (char *) 0 : (char const *) 0;
ff8ec39ce4afc2d774ce99f2386474d2c8539cd4Automatic Updater{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
f9119ad8f6114b2255e7545bf5cd187f4db0a89bAutomatic Updater int x[] = {25, 17};
f9119ad8f6114b2255e7545bf5cd187f4db0a89bAutomatic Updater const int *foo = &x[0];
c95f536d78842fbc8ebcef653d88e1f2270054f8Automatic Updater{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
c95f536d78842fbc8ebcef653d88e1f2270054f8Automatic Updater typedef const int *iptr;
3040b455151b1e1173193933664b2891b6159f24Mark Andrews{ /* AIX XL C 1.02.0.0 rejects this saying
cb40461f8744c5aeb369b84d5f48395a13a221a0Mark Andrews "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
7c8e44a2dc1121dbe3b615c9c934f37fb1741bb9Tinderbox User struct s { int j; const int *ap[3]; };
bac4435d473c9a0281507524f084480c34aa942aTinderbox User struct s *b; b->j = 5;
bac4435d473c9a0281507524f084480c34aa942aTinderbox User{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
bac4435d473c9a0281507524f084480c34aa942aTinderbox User const int foo = 10;
bac4435d473c9a0281507524f084480c34aa942aTinderbox Userif { (eval echo configure:1646: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews#define const
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrewsecho $ac_n "checking for inline""... $ac_c" 1>&6
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrewsif eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
9692d283bb43c9eab49a7fadfc1b74a6e20e6151Tinderbox User#line 1674 "configure"
7c112f7d8f632412901d9f3c4445eb0db6db95feTinderbox User#include "confdefs.h"
7c112f7d8f632412901d9f3c4445eb0db6db95feTinderbox User} $ac_kw foo() {
7c112f7d8f632412901d9f3c4445eb0db6db95feTinderbox Userif { (eval echo configure:1681: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
560d6da48f066000541dd43f5d407644dee12bebTinderbox User#define inline $ac_cv_c_inline
c218e22e3e6cbd409b61a14f1480b5ce5c70bfc1Tinderbox Userecho $ac_n "checking for size_t""... $ac_c" 1>&6
c218e22e3e6cbd409b61a14f1480b5ce5c70bfc1Tinderbox Userecho "configure:1707: checking for size_t" >&5
c218e22e3e6cbd409b61a14f1480b5ce5c70bfc1Tinderbox Userif eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
c218e22e3e6cbd409b61a14f1480b5ce5c70bfc1Tinderbox User#line 1712 "configure"
c218e22e3e6cbd409b61a14f1480b5ce5c70bfc1Tinderbox User#include "confdefs.h"
2c1632c71e2f4d8afa35efce3080b31602a6608cTinderbox User#include <sys/types.h>
1f471f3b06fae27f4b42ee4f0d6dac0cc7e5bc81Tinderbox User#if STDC_HEADERS
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox User#include <stdlib.h>
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox User#include <stddef.h>
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
e0bf4fc289705375be65c05a8fb085d514a98c97Tinderbox User#define size_t unsigned
2c1632c71e2f4d8afa35efce3080b31602a6608cTinderbox Userecho $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
2c1632c71e2f4d8afa35efce3080b31602a6608cTinderbox Userecho "configure:1740: checking whether time.h and sys/time.h may both be included" >&5
4d813066e967a36c407ee641155ada0c614d4dc6Automatic Updaterif eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
d7d105151a78d35afb4233d2a6dbd47b7ec0d9a5Tinderbox User#line 1745 "configure"
d7d105151a78d35afb4233d2a6dbd47b7ec0d9a5Tinderbox User#include "confdefs.h"
44e3b272904bfd85556771d30cf1bc6fa539dd03Automatic Updater#include <sys/types.h>
f42fc714eda962112e45b904d1f846c61a080114Automatic Updater#include <sys/time.h>
3040b455151b1e1173193933664b2891b6159f24Mark Andrews#include <time.h>
cb40461f8744c5aeb369b84d5f48395a13a221a0Mark Andrewsstruct tm *tp;
7c8e44a2dc1121dbe3b615c9c934f37fb1741bb9Tinderbox Userif { (eval echo configure:1754: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
e8e87ede5c36b95806c77bcd34894ad9c4b39a78Tinderbox User#define TIME_WITH_SYS_TIME 1
609b8d08176469485edce25f3c2f50365bbd3819Mark Andrewsecho $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
609b8d08176469485edce25f3c2f50365bbd3819Mark Andrewsecho "configure:1776: checking for pthread_create in -lpthread" >&5
609b8d08176469485edce25f3c2f50365bbd3819Mark Andrewsac_lib_var=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
609b8d08176469485edce25f3c2f50365bbd3819Mark Andrewsif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
609b8d08176469485edce25f3c2f50365bbd3819Mark Andrews#line 1784 "configure"
ae454ec746d1d4db8d04e107d4d25ff13158c37fMark Andrews#include "confdefs.h"
eac5382be368b43df62e4ac32075131fb4997f03Tinderbox User/* Override any gcc2 internal prototype to avoid an error. */
609b8d08176469485edce25f3c2f50365bbd3819Mark Andrews/* We use char because int might match the return type of a gcc2
536da846f6cc03ad8abbb8bb9d5d8a6f607b8c33Mark Andrews builtin and then its argument prototype would still apply. */
536da846f6cc03ad8abbb8bb9d5d8a6f607b8c33Mark Andrewschar pthread_create();
d58e33bfabfee19a035031dac633d36659738d56Evan Huntpthread_create()
609b8d08176469485edce25f3c2f50365bbd3819Mark Andrews; return 0; }
3040b455151b1e1173193933664b2891b6159f24Mark Andrewsif { (eval echo configure:1795: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
609b8d08176469485edce25f3c2f50365bbd3819Mark Andrews eval "ac_cv_lib_$ac_lib_var=yes"
d98b4b724343547314bde32a54966c8f124a5f03Mark Andrews eval "ac_cv_lib_$ac_lib_var=no"
d56349eff4a1ebb8f4370df5a8a507f1a8ecd0dfMark Andrewsif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
d56349eff4a1ebb8f4370df5a8a507f1a8ecd0dfMark Andrews ac_tr_lib=HAVE_LIB`echo pthread | sed -e 's/[^a-zA-Z0-9_]/_/g' \
d56349eff4a1ebb8f4370df5a8a507f1a8ecd0dfMark Andrews -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
0d13a9584b9f97693ab22d54322f1c484d578701Mark Andrews#define $ac_tr_lib 1
cb40461f8744c5aeb369b84d5f48395a13a221a0Mark Andrewsecho $ac_n "checking for __pthread_create in -lpthread""... $ac_c" 1>&6
ecbc7ebb243a1f8a5dc6f28185ffe9e61d3b2102Mark Andrewsecho "configure:1821: checking for __pthread_create in -lpthread" >&5
d56349eff4a1ebb8f4370df5a8a507f1a8ecd0dfMark Andrewsac_lib_var=`echo pthread'_'__pthread_create | sed 'y%./+-%__p_%'`
d56349eff4a1ebb8f4370df5a8a507f1a8ecd0dfMark Andrewsif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
015f044f7f916eb18d053f2e5dcbee481425bc66Mark Andrews#line 1829 "configure"
9e898948ed76bf5f175bf178866c90c449843c3eTinderbox User#include "confdefs.h"
7fdbd6fc9df8728852ccaecb2d66241ab96a4084Tinderbox User/* Override any gcc2 internal prototype to avoid an error. */
bec9d04b657e1582d2531bdc02503bebde2aa978Tinderbox User/* We use char because int might match the return type of a gcc2
ae454ec746d1d4db8d04e107d4d25ff13158c37fMark Andrews builtin and then its argument prototype would still apply. */
609b8d08176469485edce25f3c2f50365bbd3819Mark Andrewschar __pthread_create();
609b8d08176469485edce25f3c2f50365bbd3819Mark Andrews__pthread_create()
609b8d08176469485edce25f3c2f50365bbd3819Mark Andrews; return 0; }
609b8d08176469485edce25f3c2f50365bbd3819Mark Andrewsif { (eval echo configure:1840: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
609b8d08176469485edce25f3c2f50365bbd3819Mark Andrews eval "ac_cv_lib_$ac_lib_var=yes"
7e1a8f402e3881388db37152f71c698cb1f1c426Mark Andrews eval "ac_cv_lib_$ac_lib_var=no"
7e1a8f402e3881388db37152f71c698cb1f1c426Mark Andrewsif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7e1a8f402e3881388db37152f71c698cb1f1c426Mark Andrews ac_tr_lib=HAVE_LIB`echo pthread | sed -e 's/^a-zA-Z0-9_/_/g' \
7e1a8f402e3881388db37152f71c698cb1f1c426Mark Andrews -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
7e1a8f402e3881388db37152f71c698cb1f1c426Mark Andrews#define $ac_tr_lib 1
7e1a8f402e3881388db37152f71c698cb1f1c426Mark Andrews echo $ac_n "checking for __pthread_create_system in -lpthread""... $ac_c" 1>&6
7e1a8f402e3881388db37152f71c698cb1f1c426Mark Andrewsecho "configure:1868: checking for __pthread_create_system in -lpthread" >&5
7e1a8f402e3881388db37152f71c698cb1f1c426Mark Andrewsac_lib_var=`echo pthread'_'__pthread_create_system | sed 'y%./+-%__p_%'`
bbd726b86a5b0f97a192b6027958dc7b763dc48bTinderbox Userif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
a450977e98155f6e828fe6f8d52cf24674231831Mark Andrews#line 1876 "configure"
3759f10fc543747668b1ca4b4671f35b0dea8445Francis Dupont#include "confdefs.h"
3040b455151b1e1173193933664b2891b6159f24Mark Andrews/* Override any gcc2 internal prototype to avoid an error. */
351eca011cf38fd3272b325029afce144a9a1ebaMark Andrews/* We use char because int might match the return type of a gcc2
351eca011cf38fd3272b325029afce144a9a1ebaMark Andrews builtin and then its argument prototype would still apply. */
351eca011cf38fd3272b325029afce144a9a1ebaMark Andrewschar __pthread_create_system();
351eca011cf38fd3272b325029afce144a9a1ebaMark Andrews__pthread_create_system()
351eca011cf38fd3272b325029afce144a9a1ebaMark Andrews; return 0; }
3040b455151b1e1173193933664b2891b6159f24Mark Andrewsif { (eval echo configure:1887: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
351eca011cf38fd3272b325029afce144a9a1ebaMark Andrews eval "ac_cv_lib_$ac_lib_var=yes"
351eca011cf38fd3272b325029afce144a9a1ebaMark Andrews eval "ac_cv_lib_$ac_lib_var=no"
351eca011cf38fd3272b325029afce144a9a1ebaMark Andrewsif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
d46a3a2f7c1032c947b7bfde6e08010442645139Tinderbox User ac_tr_lib=HAVE_LIB`echo pthread | sed -e 's/^a-zA-Z0-9_/_/g' \
ae454ec746d1d4db8d04e107d4d25ff13158c37fMark Andrews -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
4ba21f60009e18c5950d18546a127e70be537effMark Andrews#define $ac_tr_lib 1
8aa098c6334de11c8fd117d30851cc457813c410Mark Andrews# We'd like to use sigwait() too
8aa098c6334de11c8fd117d30851cc457813c410Mark Andrewsecho $ac_n "checking for sigwait in -lc""... $ac_c" 1>&6
8aa098c6334de11c8fd117d30851cc457813c410Mark Andrewsecho "configure:1922: checking for sigwait in -lc" >&5
8aa098c6334de11c8fd117d30851cc457813c410Mark Andrewsac_lib_var=`echo c'_'sigwait | sed 'y%./+-%__p_%'`
8aa098c6334de11c8fd117d30851cc457813c410Mark Andrewsif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3040b455151b1e1173193933664b2891b6159f24Mark Andrews#line 1930 "configure"
3040b455151b1e1173193933664b2891b6159f24Mark Andrews#include "confdefs.h"
ae454ec746d1d4db8d04e107d4d25ff13158c37fMark Andrews/* Override any gcc2 internal prototype to avoid an error. */
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater/* We use char because int might match the return type of a gcc2
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater builtin and then its argument prototype would still apply. */
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updaterchar sigwait();
ba8b771c371967dd1254c7fa82ebe4158ee04b24Tinderbox Userif { (eval echo configure:1941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
a03cb08d0c4f1ca5fbc121d2f02bdffa7eb52286Mark Andrews eval "ac_cv_lib_$ac_lib_var=yes"
8aa53dcb1d26277e8e805464bfff7bb7136f60cbAutomatic Updater eval "ac_cv_lib_$ac_lib_var=no"
8aa53dcb1d26277e8e805464bfff7bb7136f60cbAutomatic Updaterif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8aa53dcb1d26277e8e805464bfff7bb7136f60cbAutomatic Updater#define HAVE_SIGWAIT 1
8aa53dcb1d26277e8e805464bfff7bb7136f60cbAutomatic Updaterecho $ac_n "checking for sigwait in -lpthread""... $ac_c" 1>&6
a03cb08d0c4f1ca5fbc121d2f02bdffa7eb52286Mark Andrewsecho "configure:1963: checking for sigwait in -lpthread" >&5
8aa53dcb1d26277e8e805464bfff7bb7136f60cbAutomatic Updaterac_lib_var=`echo pthread'_'sigwait | sed 'y%./+-%__p_%'`
8aa53dcb1d26277e8e805464bfff7bb7136f60cbAutomatic Updaterif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8aa53dcb1d26277e8e805464bfff7bb7136f60cbAutomatic Updater#line 1971 "configure"
8aa53dcb1d26277e8e805464bfff7bb7136f60cbAutomatic Updater#include "confdefs.h"
3040b455151b1e1173193933664b2891b6159f24Mark Andrews/* Override any gcc2 internal prototype to avoid an error. */
8aa53dcb1d26277e8e805464bfff7bb7136f60cbAutomatic Updater/* We use char because int might match the return type of a gcc2
d58e33bfabfee19a035031dac633d36659738d56Evan Hunt builtin and then its argument prototype would still apply. */
3040b455151b1e1173193933664b2891b6159f24Mark Andrewschar sigwait();
4c6bae917bec70e1fc4d1b761a9765075af78441Tinderbox Userif { (eval echo configure:1982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1368e4b34cef64604c874fcc40201c78e548714cTinderbox User eval "ac_cv_lib_$ac_lib_var=yes"
3040b455151b1e1173193933664b2891b6159f24Mark Andrews eval "ac_cv_lib_$ac_lib_var=no"
70d987def5a58ebeb8243017c0ec2e9b2c326cf4Evan Huntif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
70d987def5a58ebeb8243017c0ec2e9b2c326cf4Evan Hunt#define HAVE_SIGWAIT 1
70d987def5a58ebeb8243017c0ec2e9b2c326cf4Evan Huntecho $ac_n "checking for _Psigwait in -lpthread""... $ac_c" 1>&6
70d987def5a58ebeb8243017c0ec2e9b2c326cf4Evan Huntecho "configure:2004: checking for _Psigwait in -lpthread" >&5
70d987def5a58ebeb8243017c0ec2e9b2c326cf4Evan Huntac_lib_var=`echo pthread'_'_Psigwait | sed 'y%./+-%__p_%'`
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox Userif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
fd7c65dce9c2b1a3d12ca4df9074cd38019fdb5fAutomatic Updater#line 2012 "configure"
3a28155fe228cd6d59b15f1ca0b568be6620a9d2Tinderbox User#include "confdefs.h"
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox User/* Override any gcc2 internal prototype to avoid an error. */
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox User/* We use char because int might match the return type of a gcc2
3a28155fe228cd6d59b15f1ca0b568be6620a9d2Tinderbox User builtin and then its argument prototype would still apply. */
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox Userchar _Psigwait();
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updaterif { (eval echo configure:2023: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater eval "ac_cv_lib_$ac_lib_var=yes"
5c5c6d289db78e41f714007426a387498e15963cFrancis Dupont eval "ac_cv_lib_$ac_lib_var=no"
3040b455151b1e1173193933664b2891b6159f24Mark Andrewsif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
a450977e98155f6e828fe6f8d52cf24674231831Mark Andrews#define HAVE_SIGWAIT 1
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox User# Additional OS-specific issues related to pthreads and sigwait.
f7a71eef29bcbf892270460269c79664f600cffdAutomatic Updater # One more place to look for sigwait.
e9e4257668ff6c4e583b0c0db2508650b0b677b8Tinderbox User echo $ac_n "checking for sigwait in -lc_r""... $ac_c" 1>&6
f7a71eef29bcbf892270460269c79664f600cffdAutomatic Updaterecho "configure:2061: checking for sigwait in -lc_r" >&5
d58e33bfabfee19a035031dac633d36659738d56Evan Huntac_lib_var=`echo c_r'_'sigwait | sed 'y%./+-%__p_%'`
3040b455151b1e1173193933664b2891b6159f24Mark Andrewsif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater#line 2069 "configure"
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater#include "confdefs.h"
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater/* Override any gcc2 internal prototype to avoid an error. */
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater/* We use char because int might match the return type of a gcc2
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater builtin and then its argument prototype would still apply. */
3f68e9c0e5a6ce475d15eef04bfed9b08a22afa9Tinderbox Userchar sigwait();
3040b455151b1e1173193933664b2891b6159f24Mark Andrewsif { (eval echo configure:2080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
c5f7f6aa6c51d35353a9485b32abbabfe8358b4eMark Andrews eval "ac_cv_lib_$ac_lib_var=yes"
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington eval "ac_cv_lib_$ac_lib_var=no"
22bed5c0fa8aa33ebca97235c0509db335440811Tinderbox Userif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
22bed5c0fa8aa33ebca97235c0509db335440811Tinderbox User#define HAVE_SIGWAIT 1
fd7c65dce9c2b1a3d12ca4df9074cd38019fdb5fAutomatic Updater # BSDI 3.1 through 4.0.1 needs pthread_init() to be called before
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox User # certain pthreads calls. This is deprecated in BSD/OS 4.1.
3040b455151b1e1173193933664b2891b6159f24Mark Andrews#define NEED_PTHREAD_INIT 1
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater # LinuxThreads requires some changes to the way we deal with signals.
fedd407a76adfdd745eb7d2461673693c6f9fea9Mark Andrews#define HAVE_LINUXTHREADS 1
ab496cc3df1648e9ad992a87c35c2c0870fdc69dTinderbox User # Ensure the right sigwait() semantics on Solaris.
fedd407a76adfdd745eb7d2461673693c6f9fea9Mark Andrews#define _POSIX_PTHREAD_SEMANTICS 1
80f05de86cd3cd8e4a4215c4501643891b942dafTinderbox User # UnixWare does things its own way.
5b4ef313da4283079786e516b4b07a1691e1dc50Mark Andrews#define HAVE_UNIXWARE_SIGWAIT 1
cc17f4a672fc4ce67327902dd797c4465f12c4c9Mark Andrewsecho $ac_n "checking for catgets""... $ac_c" 1>&6
cc17f4a672fc4ce67327902dd797c4465f12c4c9Mark Andrewsif eval "test \"`echo '$''{'ac_cv_func_catgets'+set}'`\" = set"; then
d58e33bfabfee19a035031dac633d36659738d56Evan Hunt#line 2152 "configure"
3040b455151b1e1173193933664b2891b6159f24Mark Andrews#include "confdefs.h"
5b4ef313da4283079786e516b4b07a1691e1dc50Mark Andrews/* System header to define __stub macros and hopefully few prototypes,
82447d835d3ff5c658749b4e9b4f66166407b3eaAutomatic Updater which can conflict with char catgets(); below. */
82447d835d3ff5c658749b4e9b4f66166407b3eaAutomatic Updater#include <assert.h>
82447d835d3ff5c658749b4e9b4f66166407b3eaAutomatic Updater/* Override any gcc2 internal prototype to avoid an error. */
82447d835d3ff5c658749b4e9b4f66166407b3eaAutomatic Updater/* We use char because int might match the return type of a gcc2
82447d835d3ff5c658749b4e9b4f66166407b3eaAutomatic Updater builtin and then its argument prototype would still apply. */
82447d835d3ff5c658749b4e9b4f66166407b3eaAutomatic Updaterchar catgets();
9563f388c8ca1bb9ebb04db54e122815b0008c8aTinderbox User/* The GNU C library defines this for functions which it implements
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater to always fail with ENOSYS. Some functions are actually named
551271d8198ae06e37edf5da519d8ee153eeac0fTinderbox User something starting with __ and the normal name is an alias. */
551271d8198ae06e37edf5da519d8ee153eeac0fTinderbox User#if defined (__stub_catgets) || defined (__stub___catgets)
08190bd4d89153cee463b34f9233ad6dd88965fcMark Andrews; return 0; }
735e1ed9685077e25f744d692acf77c5bf5d4490Tinderbox Userif { (eval echo configure:2175: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater eval "ac_cv_func_catgets=yes"
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater eval "ac_cv_func_catgets=no"
f46621af221784fd08339c6fe9509d9e48334561Tinderbox Userif eval "test \"`echo '$ac_cv_func_'catgets`\" = yes"; then
f46621af221784fd08339c6fe9509d9e48334561Tinderbox User#define HAVE_CATGETS 1
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater# -lxnet buys us one big porting headache... standards, gotta love 'em.
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater# AC_CHECK_LIB(xnet, socket, ,
dd53726b246db5cc63c1c87ca86dae39568eeaa3Tinderbox User# AC_CHECK_LIB(socket, socket)
e9e4257668ff6c4e583b0c0db2508650b0b677b8Tinderbox User# AC_CHECK_LIB(nsl, inet_ntoa)
dd53726b246db5cc63c1c87ca86dae39568eeaa3Tinderbox User# Use this for now, instead:
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrewsecho "configure:2213: checking for socket in -lsocket" >&5
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrewsac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'`
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrewsif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews#line 2221 "configure"
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews#include "confdefs.h"
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews/* Override any gcc2 internal prototype to avoid an error. */
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews/* We use char because int might match the return type of a gcc2
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews builtin and then its argument prototype would still apply. */
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrewschar socket();
c07cdac6cf5bf3e9affc1aed25f8350087691f1eAutomatic Updaterif { (eval echo configure:2232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox User eval "ac_cv_lib_$ac_lib_var=yes"
c07cdac6cf5bf3e9affc1aed25f8350087691f1eAutomatic Updater eval "ac_cv_lib_$ac_lib_var=no"
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox Userif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7c899ff8af55a6855100e7fb4f5dd9a0a04b48a0Automatic Updater ac_tr_lib=HAVE_LIB`echo socket | sed -e 's/[^a-zA-Z0-9_]/_/g' \
7c899ff8af55a6855100e7fb4f5dd9a0a04b48a0Automatic Updater -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox User#define $ac_tr_lib 1
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox User echo $ac_n "checking for inet_ntoa in -lnsl""... $ac_c" 1>&6
0e98665878103743dac92b6e8e1556d927e5bc30Tinderbox Userecho "configure:2260: checking for inet_ntoa in -lnsl" >&5
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox Userac_lib_var=`echo nsl'_'inet_ntoa | sed 'y%./+-%__p_%'`
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox Userif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews#line 2268 "configure"
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews#include "confdefs.h"
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews/* Override any gcc2 internal prototype to avoid an error. */
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews/* We use char because int might match the return type of a gcc2
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews builtin and then its argument prototype would still apply. */
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrewschar inet_ntoa();
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews; return 0; }
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrewsif { (eval echo configure:2279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews eval "ac_cv_lib_$ac_lib_var=yes"
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews eval "ac_cv_lib_$ac_lib_var=no"
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrewsif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews ac_tr_lib=HAVE_LIB`echo nsl | sed -e 's/[^a-zA-Z0-9_]/_/g' \
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews#define $ac_tr_lib 1
3759f10fc543747668b1ca4b4671f35b0dea8445Francis Dupont STD_CWARNINGS="$STD_CWARNINGS -W -Wall -Wmissing-prototypes"
78f3ed4bc2fcd3d270bfd599804f3b27a1db4d91Mark Andrews MKDEPPROG='cc -Ae -E -Wp,-M >/dev/null 2>>$TMP'
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews # Silence more than 250 instances of
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews # "prototyped function redeclared without prototype"
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews # from lib/dns/sec/{dnssafe,openssl}.
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox User YACC="yacc" # bison calls alloca, avoid on UnixWare
088a5ec3df14e7af67b4602b143869a09f7eefb3Francis Dupont# Networking specifics.
088a5ec3df14e7af67b4602b143869a09f7eefb3Francis Dupont # Turn on 4.4BSD style sa_len support.
c7f686829f05e44169d46746cfb25cadcf078585Tinderbox User#define _SOCKADDR_LEN 1
51901858be9d4632c1d0bed28cfa8f29932c1967Tinderbox User# Look for a 4.4BSD-style sa_len member in struct sockaddr.
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrewsecho $ac_n "checking for sa_len in struct sockaddr""... $ac_c" 1>&6
347333bc39e9e2df63cc4e7309cef5354d52b1fbTinderbox Userecho "configure:2384: checking for sa_len in struct sockaddr" >&5
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews#line 2386 "configure"
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater#include "confdefs.h"
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews#include <sys/types.h>
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson#include <sys/socket.h>
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrewsstruct sockaddr sa; sa.sa_len = 0; return (0);
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrewsif { (eval echo configure:2395: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3a9593055ead76cbbb417aee2d2e656c2c92cf46Automatic Updater ISC_PLATFORM_HAVESALEN="#define ISC_PLATFORM_HAVESALEN 1"
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater LWRES_PLATFORM_HAVESALEN="#define LWRES_PLATFORM_HAVESALEN 1"
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson echo "configure: failed program was:" >&5
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson ISC_PLATFORM_HAVESALEN="#undef ISC_PLATFORM_HAVESALEN"
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson LWRES_PLATFORM_HAVESALEN="#undef LWRES_PLATFORM_HAVESALEN"
8bc3d252395842452a6d2c775cf8445f6349e331Tinderbox User# Look for a 4.4BSD or 4.3BSD struct msghdr
a9d14bf051644716b5db9209c453d2c5eb83f174Tinderbox Userecho $ac_n "checking for struct msghdr flavor""... $ac_c" 1>&6
a9d14bf051644716b5db9209c453d2c5eb83f174Tinderbox Userecho "configure:2416: checking for struct msghdr flavor" >&5
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater#line 2418 "configure"
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox User#include "confdefs.h"
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox User#include <sys/types.h>
ab103cf2caf211985be8c4296d379e43d26268c4Tinderbox User#include <sys/socket.h>
467a823e57af687ebd486dfd73ea32f9d2a145beTinderbox Userstruct msghdr msg; msg.msg_flags = 0; return (0);
7d704e522860496310bb29c28e76064868401a9cMark Andrewsif { (eval echo configure:2427: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox User ISC_PLATFORM_MSGHDRFLAVOR="#define ISC_NET_BSD44MSGHDR 1"
a80993946f29ff39df38818ee9b2e58a4e46cb7eTinderbox User ISC_PLATFORM_MSGHDRFLAVOR="#define ISC_NET_BSD43MSGHDR 1"
821d2613356f81e5bb5c107288d6d5cf35c2a1e8Mark Andrews# Look for in_port_t.
821d2613356f81e5bb5c107288d6d5cf35c2a1e8Mark Andrewsecho $ac_n "checking for type in_port_t""... $ac_c" 1>&6
821d2613356f81e5bb5c107288d6d5cf35c2a1e8Mark Andrewsecho "configure:2445: checking for type in_port_t" >&5
821d2613356f81e5bb5c107288d6d5cf35c2a1e8Mark Andrews#line 2447 "configure"
821d2613356f81e5bb5c107288d6d5cf35c2a1e8Mark Andrews#include "confdefs.h"
821d2613356f81e5bb5c107288d6d5cf35c2a1e8Mark Andrews#include <sys/types.h>
821d2613356f81e5bb5c107288d6d5cf35c2a1e8Mark Andrews#include <netinet/in.h>
409ba95e573b40cf36acf97dd62ee7e9c7775851Tinderbox Userin_port_t port = 25; return (0);
955ee8b865d70d02ad1fdc959382e6f8a07c1d14Tinderbox Userif { (eval echo configure:2456: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8711e5c73ca872d59810760af0332194cbdd619bAutomatic Updater ISC_PLATFORM_NEEDPORTT="#undef ISC_PLATFORM_NEEDPORTT"
261ef37955c3468cbcb55d54b83c9a3b14e114dfTinderbox User ISC_PLATFORM_NEEDPORTT="#define ISC_PLATFORM_NEEDPORTT 1"
02d20c5d79600704d617d248642c477e9b5e6a2aTinderbox User# Check for addrinfo
02d20c5d79600704d617d248642c477e9b5e6a2aTinderbox Userecho $ac_n "checking for struct addrinfo""... $ac_c" 1>&6
02d20c5d79600704d617d248642c477e9b5e6a2aTinderbox Userecho "configure:2474: checking for struct addrinfo" >&5
955ee8b865d70d02ad1fdc959382e6f8a07c1d14Tinderbox User#line 2476 "configure"
02d20c5d79600704d617d248642c477e9b5e6a2aTinderbox User#include "confdefs.h"
02d20c5d79600704d617d248642c477e9b5e6a2aTinderbox User#include <netdb.h>
02d20c5d79600704d617d248642c477e9b5e6a2aTinderbox Userstruct addrinfo a; return (0);
87d422bb38fa1c8f0fb29c2a1b8c044870a7df46Tinderbox Userif { (eval echo configure:2484: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
87d422bb38fa1c8f0fb29c2a1b8c044870a7df46Tinderbox User ISC_LWRES_NEEDADDRINFO="#undef ISC_LWRES_NEEDADDRINFO"
955ee8b865d70d02ad1fdc959382e6f8a07c1d14Tinderbox User ISC_LWRES_NEEDADDRINFO="#define ISC_LWRES_NEEDADDRINFO 1"
959e5da49a2cff7dfd8fdb885cd11c5d7d94a292Tinderbox Userecho $ac_n "checking for int sethostent""... $ac_c" 1>&6
959e5da49a2cff7dfd8fdb885cd11c5d7d94a292Tinderbox Userecho "configure:2499: checking for int sethostent" >&5
959e5da49a2cff7dfd8fdb885cd11c5d7d94a292Tinderbox User#line 2501 "configure"
959e5da49a2cff7dfd8fdb885cd11c5d7d94a292Tinderbox User#include "confdefs.h"
959e5da49a2cff7dfd8fdb885cd11c5d7d94a292Tinderbox User#include <netdb.h>
7a6494cfb6cc7d3f67af07359561e05e6bb8c0edTinderbox Userint i = sethostent(0); return(0);
7a6494cfb6cc7d3f67af07359561e05e6bb8c0edTinderbox Userif { (eval echo configure:2509: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
02d20c5d79600704d617d248642c477e9b5e6a2aTinderbox User ISC_LWRES_SETHOSTENTINT="#define ISC_LWRES_SETHOSTENTINT 1"
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews ISC_LWRES_SETHOSTENTINT="#undef ISC_LWRES_SETHOSTENTINT"
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrewsecho $ac_n "checking for int endhostent""... $ac_c" 1>&6
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrewsecho "configure:2524: checking for int endhostent" >&5
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews#line 2526 "configure"
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews#include "confdefs.h"
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews#include <netdb.h>
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrewsint i = endhostent(); return(0);
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews; return 0; }
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrewsif { (eval echo configure:2534: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews ISC_LWRES_ENDHOSTENTINT="#define ISC_LWRES_ENDHOSTENTINT 1"
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews ISC_LWRES_ENDHOSTENTINT="#undef ISC_LWRES_ENDHOSTENTINT"
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrewsecho $ac_n "checking for getnetbyaddr(in_addr_t, ...)""... $ac_c" 1>&6
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrewsecho "configure:2549: checking for getnetbyaddr(in_addr_t, ...)" >&5
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews#line 2551 "configure"
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews#include "confdefs.h"
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews#include <netdb.h>
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrewsstruct netent *getnetbyaddr(in_addr_t, int);
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews; return 0; }
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrewsif { (eval echo configure:2560: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews ISC_LWRES_GETNETBYADDRINADDR="#define ISC_LWRES_GETNETBYADDRINADDR 1"
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews ISC_LWRES_GETNETBYADDRINADDR="#undef ISC_LWRES_GETNETBYADDRINADDR"
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrewsecho $ac_n "checking for int setnetent""... $ac_c" 1>&6
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrewsecho "configure:2575: checking for int setnetent" >&5
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews#line 2577 "configure"
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews#include "confdefs.h"
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews#include <netdb.h>
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrewsint i = setnetent(0); return(0);
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews; return 0; }
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrewsif { (eval echo configure:2585: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews ISC_LWRES_SETNETENTINT="#define ISC_LWRES_SETNETENTINT 1"
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews ISC_LWRES_SETNETENTINT="#undef ISC_LWRES_SETNETENTINT"
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrewsecho $ac_n "checking for int endnetent""... $ac_c" 1>&6
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrewsecho "configure:2600: checking for int endnetent" >&5
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews#line 2602 "configure"
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews#include "confdefs.h"
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews#include <netdb.h>
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrewsint i = endnetent(); return(0);
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews; return 0; }
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrewsif { (eval echo configure:2610: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews ISC_LWRES_ENDNETENTINT="#define ISC_LWRES_ENDNETENTINT 1"
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews ISC_LWRES_ENDNETENTINT="#undef ISC_LWRES_ENDNETENTINT"
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrewsecho $ac_n "checking for gethostbyadd(const void *, size_t, ...)""... $ac_c" 1>&6
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrewsecho "configure:2625: checking for gethostbyadd(const void *, size_t, ...)" >&5
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews#line 2627 "configure"
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews#include "confdefs.h"
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews#include <netdb.h>
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrewsstruct hostent *gethostbyaddr(const void *, size_t, int);
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews; return 0; }
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrewsif { (eval echo configure:2636: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews ISC_LWRES_GETHOSTBYADDRVOID="#define ISC_LWRES_GETHOSTBYADDRVOID 1"
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews ISC_LWRES_GETHOSTBYADDRVOID="#undef ISC_LWRES_GETHOSTBYADDRVOID"
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrewsecho $ac_n "checking for h_errno in netdb.h""... $ac_c" 1>&6
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrewsecho "configure:2651: checking for h_errno in netdb.h" >&5
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews#line 2653 "configure"
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews#include "confdefs.h"
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews#include <netdb.h>
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrewsh_errno = 1; return(0);
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews; return 0; }
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrewsif { (eval echo configure:2661: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews ISC_LWRES_NEEDHERRNO="#undef ISC_LWRES_NEEDHERRNO"
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews ISC_LWRES_NEEDHERRNO="#define ISC_LWRES_NEEDHERRNO 1"
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrewsecho $ac_n "checking for getipnodebyname""... $ac_c" 1>&6
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrewsecho "configure:2676: checking for getipnodebyname" >&5
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrewsif eval "test \"`echo '$''{'ac_cv_func_getipnodebyname'+set}'`\" = set"; then
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews#line 2681 "configure"
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews#include "confdefs.h"
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews/* System header to define __stub macros and hopefully few prototypes,
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews which can conflict with char getipnodebyname(); below. */
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews#include <assert.h>
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews/* Override any gcc2 internal prototype to avoid an error. */
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews/* We use char because int might match the return type of a gcc2
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews builtin and then its argument prototype would still apply. */
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrewschar getipnodebyname();
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews/* The GNU C library defines this for functions which it implements
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews to always fail with ENOSYS. Some functions are actually named
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews something starting with __ and the normal name is an alias. */
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews#if defined (__stub_getipnodebyname) || defined (__stub___getipnodebyname)
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrewsgetipnodebyname();
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews; return 0; }
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrewsif { (eval echo configure:2704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews eval "ac_cv_func_getipnodebyname=yes"
e2d635d630f6f61fefd3d4475c45b097b16b8a2aEvan Hunt eval "ac_cv_func_getipnodebyname=no"
e2d635d630f6f61fefd3d4475c45b097b16b8a2aEvan Huntif eval "test \"`echo '$ac_cv_func_'getipnodebyname`\" = yes"; then
e2d635d630f6f61fefd3d4475c45b097b16b8a2aEvan Hunt ISC_LWRES_GETIPNODEPROTO="#undef ISC_LWRES_GETIPNODEPROTO"
e2d635d630f6f61fefd3d4475c45b097b16b8a2aEvan HuntISC_LWRES_GETIPNODEPROTO="#define ISC_LWRES_GETIPNODEPROTO 1"
e2d635d630f6f61fefd3d4475c45b097b16b8a2aEvan Huntecho $ac_n "checking for getnameinfo""... $ac_c" 1>&6
e2d635d630f6f61fefd3d4475c45b097b16b8a2aEvan Huntecho "configure:2725: checking for getnameinfo" >&5
e2d635d630f6f61fefd3d4475c45b097b16b8a2aEvan Huntif eval "test \"`echo '$''{'ac_cv_func_getnameinfo'+set}'`\" = set"; then
ab272d2204a075b5ed0798d04733a9028782b8daEvan Hunt#line 2730 "configure"
214af784e91553d387246fd9ce46cb1291697b9aTinderbox User#include "confdefs.h"
ab272d2204a075b5ed0798d04733a9028782b8daEvan Hunt/* System header to define __stub macros and hopefully few prototypes,
ab272d2204a075b5ed0798d04733a9028782b8daEvan Hunt which can conflict with char getnameinfo(); below. */
97669cab1f7e6f953dbf39ef1b2c4206ecb50d9eAutomatic Updater#include <assert.h>
97669cab1f7e6f953dbf39ef1b2c4206ecb50d9eAutomatic Updater/* Override any gcc2 internal prototype to avoid an error. */
97669cab1f7e6f953dbf39ef1b2c4206ecb50d9eAutomatic Updater/* We use char because int might match the return type of a gcc2
97669cab1f7e6f953dbf39ef1b2c4206ecb50d9eAutomatic Updater builtin and then its argument prototype would still apply. */
97669cab1f7e6f953dbf39ef1b2c4206ecb50d9eAutomatic Updaterchar getnameinfo();
97669cab1f7e6f953dbf39ef1b2c4206ecb50d9eAutomatic Updater/* The GNU C library defines this for functions which it implements
97669cab1f7e6f953dbf39ef1b2c4206ecb50d9eAutomatic Updater to always fail with ENOSYS. Some functions are actually named
c57668a2fbbe558c1bd21652813616f2f517c469Tinderbox User something starting with __ and the normal name is an alias. */
97669cab1f7e6f953dbf39ef1b2c4206ecb50d9eAutomatic Updater#if defined (__stub_getnameinfo) || defined (__stub___getnameinfo)
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews; return 0; }
309b912841e8b97bf0b0df0d96c3eaf16990c080Automatic Updaterif { (eval echo configure:2753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
66d24a46538c7c2d29fdb5611ab1173e83685b1dTinderbox User eval "ac_cv_func_getnameinfo=yes"
e4757e3dafe50ae59f693eec828f68c42c197a70Andreas Gustafsson echo "configure: failed program was:" >&5
754ebd37e782356aedbb2987e3c1a8ab4f29574eMark Andrews eval "ac_cv_func_getnameinfo=no"
776a8e3ff8889711a1f61a9362607c42716563f4Tinderbox Userif eval "test \"`echo '$ac_cv_func_'getnameinfo`\" = yes"; then
776a8e3ff8889711a1f61a9362607c42716563f4Tinderbox User ISC_LWRES_GETNAMEINFOPROTO="#undef ISC_LWRES_GETNAMEINFOPROTO"
5c679dbb66df92766f6a7e7bb93c18d61275d1feMark AndrewsISC_LWRES_GETNAMEINFOPROTO="#define ISC_LWRES_GETNAMEINFOPROTO 1"
9cd5eb6fe0f26d65724b99216cb31dcdd12e4afdAutomatic Updaterecho $ac_n "checking for getaddrinfo""... $ac_c" 1>&6
9a9ca3c4f120971b7091b28a5530e5eaf362f7e6Tinderbox Userecho "configure:2774: checking for getaddrinfo" >&5
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updaterif eval "test \"`echo '$''{'ac_cv_func_getaddrinfo'+set}'`\" = set"; then
9a9ca3c4f120971b7091b28a5530e5eaf362f7e6Tinderbox User#line 2779 "configure"
da93950363b307b718d156514b95b9df93a63776Mark Andrews#include "confdefs.h"
da93950363b307b718d156514b95b9df93a63776Mark Andrews/* System header to define __stub macros and hopefully few prototypes,
35bc7055d1b9b816e68a4180d46a49963e45c233Automatic Updater which can conflict with char getaddrinfo(); below. */
9a9ca3c4f120971b7091b28a5530e5eaf362f7e6Tinderbox User#include <assert.h>
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater/* Override any gcc2 internal prototype to avoid an error. */
9a9ca3c4f120971b7091b28a5530e5eaf362f7e6Tinderbox User/* We use char because int might match the return type of a gcc2
f6056ad06781c95198505ae3a361e6dd98df4b91Automatic Updater builtin and then its argument prototype would still apply. */
9a9ca3c4f120971b7091b28a5530e5eaf362f7e6Tinderbox Userchar getaddrinfo();
9a9ca3c4f120971b7091b28a5530e5eaf362f7e6Tinderbox User/* The GNU C library defines this for functions which it implements
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater to always fail with ENOSYS. Some functions are actually named
9a9ca3c4f120971b7091b28a5530e5eaf362f7e6Tinderbox User something starting with __ and the normal name is an alias. */
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater#if defined (__stub_getaddrinfo) || defined (__stub___getaddrinfo)
05c0db3923b93c36afa488bffc7862e0ae554698Tinderbox Usergetaddrinfo();
05c0db3923b93c36afa488bffc7862e0ae554698Tinderbox Userif { (eval echo configure:2802: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
05c0db3923b93c36afa488bffc7862e0ae554698Tinderbox User eval "ac_cv_func_getaddrinfo=yes"
05c0db3923b93c36afa488bffc7862e0ae554698Tinderbox User eval "ac_cv_func_getaddrinfo=no"
05c0db3923b93c36afa488bffc7862e0ae554698Tinderbox Userif eval "test \"`echo '$ac_cv_func_'getaddrinfo`\" = yes"; then
05c0db3923b93c36afa488bffc7862e0ae554698Tinderbox User ISC_LWRES_GETADDRINFOPROTO="#undef ISC_LWRES_GETADDRINFOPROTO"
05c0db3923b93c36afa488bffc7862e0ae554698Tinderbox UserISC_LWRES_GETADDRINFOPROTO="#define ISC_LWRES_GETADDRINFOPROTO 1"
05c0db3923b93c36afa488bffc7862e0ae554698Tinderbox User# Look for a sysctl call to get the list of network interfaces.
05c0db3923b93c36afa488bffc7862e0ae554698Tinderbox Userecho $ac_n "checking for interface list sysctl""... $ac_c" 1>&6
05c0db3923b93c36afa488bffc7862e0ae554698Tinderbox Userecho "configure:2830: checking for interface list sysctl" >&5
05c0db3923b93c36afa488bffc7862e0ae554698Tinderbox User#line 2832 "configure"
05c0db3923b93c36afa488bffc7862e0ae554698Tinderbox User#include "confdefs.h"
05c0db3923b93c36afa488bffc7862e0ae554698Tinderbox User#include <sys/param.h>
05c0db3923b93c36afa488bffc7862e0ae554698Tinderbox User#include <sys/sysctl.h>
05c0db3923b93c36afa488bffc7862e0ae554698Tinderbox User#include <sys/socket.h>
05c0db3923b93c36afa488bffc7862e0ae554698Tinderbox User#ifdef NET_RT_IFLIST
05c0db3923b93c36afa488bffc7862e0ae554698Tinderbox Userfound_rt_iflist
05c0db3923b93c36afa488bffc7862e0ae554698Tinderbox User egrep "found_rt_iflist" >/dev/null 2>&1; then
05c0db3923b93c36afa488bffc7862e0ae554698Tinderbox User#define HAVE_IFLIST_SYSCTL 1
05c0db3923b93c36afa488bffc7862e0ae554698Tinderbox User# GNU libtool support
05c0db3923b93c36afa488bffc7862e0ae554698Tinderbox User# Check whether --with-libtool or --without-libtool was given.
05c0db3923b93c36afa488bffc7862e0ae554698Tinderbox Userif test "${with_libtool+set}" = set; then
05c0db3923b93c36afa488bffc7862e0ae554698Tinderbox User # Check whether --enable-shared or --disable-shared was given.
05c0db3923b93c36afa488bffc7862e0ae554698Tinderbox Userif test "${enable_shared+set}" = set; then
05c0db3923b93c36afa488bffc7862e0ae554698Tinderbox User # Look at the argument we got. We use all the common list separators.
05c0db3923b93c36afa488bffc7862e0ae554698Tinderbox User IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
05c0db3923b93c36afa488bffc7862e0ae554698Tinderbox User# Check whether --enable-static or --disable-static was given.
05c0db3923b93c36afa488bffc7862e0ae554698Tinderbox Userif test "${enable_static+set}" = set; then
05c0db3923b93c36afa488bffc7862e0ae554698Tinderbox User # Look at the argument we got. We use all the common list separators.
05c0db3923b93c36afa488bffc7862e0ae554698Tinderbox User IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
05c0db3923b93c36afa488bffc7862e0ae554698Tinderbox User# Check whether --enable-fast-install or --disable-fast-install was given.
05c0db3923b93c36afa488bffc7862e0ae554698Tinderbox Userif test "${enable_fast_install+set}" = set; then
a9d14bf051644716b5db9209c453d2c5eb83f174Tinderbox User # Look at the argument we got. We use all the common list separators.
a9d14bf051644716b5db9209c453d2c5eb83f174Tinderbox User IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
6a0d2961c04b20f0114cca12157cfed64c5b126fTinderbox Userecho $ac_n "checking build system type""... $ac_c" 1>&6
39a3b65090ccfc86b66e416c949c6a938c7f1d4aTinderbox Userecho "configure:2942: checking build system type" >&5
a9d14bf051644716b5db9209c453d2c5eb83f174Tinderbox Userbuild=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
a9d14bf051644716b5db9209c453d2c5eb83f174Tinderbox Userbuild_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
a9d14bf051644716b5db9209c453d2c5eb83f174Tinderbox Userbuild_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
a9d14bf051644716b5db9209c453d2c5eb83f174Tinderbox Userbuild_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
a9d14bf051644716b5db9209c453d2c5eb83f174Tinderbox User# Check whether --with-gnu-ld or --without-gnu-ld was given.
a9d14bf051644716b5db9209c453d2c5eb83f174Tinderbox Userif test "${with_gnu_ld+set}" = set; then
a9d14bf051644716b5db9209c453d2c5eb83f174Tinderbox User # Check if gcc -print-prog-name=ld gives a path.
a9d14bf051644716b5db9209c453d2c5eb83f174Tinderbox User echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
a9d14bf051644716b5db9209c453d2c5eb83f174Tinderbox Userecho "configure:2971: checking for ld used by GCC" >&5
a9d14bf051644716b5db9209c453d2c5eb83f174Tinderbox User # Accept absolute paths.
a9d14bf051644716b5db9209c453d2c5eb83f174Tinderbox User [\\/]* | [A-Za-z]:[\\/]*)
6a3d68b02c16c3d83fed31d3d6a1d7613a71305fTinderbox User # Canonicalize the path of ld
c78c39caab4cf8b5daefc9c65878f7f5ed3eb7a0Tinderbox User while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
068a66979695c77359e7a9181bb3f831c965b21cMark Andrews # If it fails, then pretend we aren't using GCC.
068a66979695c77359e7a9181bb3f831c965b21cMark Andrews # If it is relative, then search for the first ld in PATH.
068a66979695c77359e7a9181bb3f831c965b21cMark Andrews echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
068a66979695c77359e7a9181bb3f831c965b21cMark Andrews echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
068a66979695c77359e7a9181bb3f831c965b21cMark Andrewsecho "configure:2998: checking for non-GNU ld" >&5
b871c7156eb037d41f53828c6fcb9cc876128962Mark Andrewsif eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then
068a66979695c77359e7a9181bb3f831c965b21cMark Andrews if test -z "$LD"; then
068a66979695c77359e7a9181bb3f831c965b21cMark Andrews IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
068a66979695c77359e7a9181bb3f831c965b21cMark Andrews if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater # Check to see if the program is GNU ld. I'd rather use --version,
8de3f14f1c300c3e1ed99084cc03485b42c92bf1Tinderbox User # but apparently some GNU ld's only accept -v.
068a66979695c77359e7a9181bb3f831c965b21cMark Andrews # Break only if it was the GNU/non-GNU ld that we prefer.
068a66979695c77359e7a9181bb3f831c965b21cMark Andrews if "$ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
6306dd073e0eba562491222821c4d3b39f440718Evan Hunt ac_cv_path_LD="$LD" # Let the user override the test with a path.
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox Userif test -n "$LD"; then
872a5b83f68b8058945298715b0fa53442aad52fAutomatic Updatertest -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
bac4435d473c9a0281507524f084480c34aa942aTinderbox Userecho $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
7a1fdd4b82824cb0ad74552bfcf353a5c7f72b87Tinderbox Userecho "configure:3034: checking if the linker ($LD) is GNU ld" >&5
068a66979695c77359e7a9181bb3f831c965b21cMark Andrewsif eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then
5de1cdae8a44312ca0dbb2a0fd0388fa35676a84Tinderbox User # I'd rather use --version here, but apparently some GNU ld's only accept -v.
5de1cdae8a44312ca0dbb2a0fd0388fa35676a84Tinderbox Userif $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updaterecho $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrewsecho "configure:3050: checking for BSD-compatible nm" >&5
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrewsif eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then
15ae68f3db8261770fc33b8e0f83f5d8c7021e84Mark Andrews if test -n "$NM"; then
ac4e70ff8955669341f435bc0a734a17c01af124Mark Andrews # Let the user override the test.
c5a97a549c89d562e999d4f906b882c5a2a474e1Tinderbox User IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
cb40461f8744c5aeb369b84d5f48395a13a221a0Mark Andrews for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
a04588e781b513ae3b30e061ac98035802b5e8e8Mark Andrews if test -f $ac_dir/nm || test -f $ac_dir/nm$ac_exeext ; then
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews # Check to see if the nm accepts a BSD-compat flag.
8aa098c6334de11c8fd117d30851cc457813c410Mark Andrews # Adding the `sed 1q' prevents false positives on HP-UX, which says:
76fbdc591b3d46df28878a6ff844798622b85265Tinderbox User # nm: unknown option "B" ignored
e40c4e4c17d4df338e2a7db0f84d8dbb3858964cTinderbox User if ($ac_dir/nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox User elif ($ac_dir/nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater ac_cv_path_NM=${ac_cv_path_NM="$ac_dir/nm"} # keep the first match, but
2f60dbd3787caa91e8ab1d7ae39ea312ad5ba31fAutomatic Updater continue # so that we can try to find one that supports BSD flags
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox Userecho $ac_n "checking whether ln -s works""... $ac_c" 1>&6
d97783f18169fc9c5220a0b91fe53653efcd6b10Tinderbox Userecho "configure:3087: checking whether ln -s works" >&5
76fbdc591b3d46df28878a6ff844798622b85265Tinderbox Userif eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater# Check for any special flags to pass to ltconfig.
3759f10fc543747668b1ca4b4671f35b0dea8445Francis Duponttest "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrewstest "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrewstest "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
f0c5e918974bf778af6cd1e25309ad13e30a79a6Tinderbox Usertest "$ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc"
a03cb08d0c4f1ca5fbc121d2f02bdffa7eb52286Mark Andrewstest "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
77932ac533c711eca5cd86de4e7eca8d91102b43Tinderbox User# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
ee9c470ca0902ed8fb913eb714a928878b1f0099Tinderbox Userif test "${enable_libtool_lock+set}" = set; then
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox Usertest "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4c9f230f7ca5b2b08ea8fd7a6944135801dbe152Tinderbox Usertest x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
3e9c07abfd4ad76b1f8085f0f96f5646f2d9e219Tinderbox User# Some flags need to be propagated to the compiler or linker for good
ecbc7ebb243a1f8a5dc6f28185ffe9e61d3b2102Mark Andrews# libtool support.
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater # Find out which ABI we are using.
8e5fce1f9ceba17dd7e3ff0eb287e1e999c14249Mark Andrews echo '#line 3131 "configure"' > conftest.$ac_ext
27c3c21f41520e8d6336d80a8094389e321cb6d2Mark Andrews if { (eval echo configure:3132: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
ecbc7ebb243a1f8a5dc6f28185ffe9e61d3b2102Mark Andrews # On SCO OpenServer 5, we need -belf to get full-featured binaries.
91d187ce035f39073f0732ff2a401a45c3c955fbMark Andrews echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
1a63fb1d1448ed3f8fd7227ae57be67c2e71279eMark Andrewsecho "configure:3153: checking whether the C compiler needs -belf" >&5
1a63fb1d1448ed3f8fd7227ae57be67c2e71279eMark Andrewsif eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
4aec4843241dca64de7eb6363944df0b09cb83ecTinderbox User#line 3158 "configure"
3349f0044fda807e1fd6681c833d3593a22dad86Tinderbox User#include "confdefs.h"
e676a596869d8a80a644c99a848afb53d1c5975eMark Andrews; return 0; }
e5be5a9f94d7db1c4eceac028749084c042420ebTinderbox Userif { (eval echo configure:3165: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
28a5dd720187fddb16055a0f64b63a7b66f29f64Mark Andrews if test x"$lt_cv_cc_needs_belf" != x"yes"; then
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater# Save cache, so that ltconfig can load it
f8b9948a4116226ac41b5509cca152849006c66cAutomatic Updater# This file is a shell script that caches the results of configure
8add7cdaa81ec881fe17df02ed8833722dc9e690Tinderbox User# tests run on this system so they can be shared between configure
be46cb4bee9253ee4832340c719920642e00c41aTinderbox User# scripts and configure runs. It is not useful on other systems.
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox User# If it contains results you don't want to keep, you may remove or edit it.
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater# By default, configure uses ./config.cache as the cache file,
dd65eb1efb40b1c47d57963192bfc54873b219beAutomatic Updater# creating it if it does not exist already. You can give configure
099b86fb8136a7dff81df85cf395978c16eb254cAutomatic Updater# the --cache-file=FILE option to use a different cache file; that is
ecbc7ebb243a1f8a5dc6f28185ffe9e61d3b2102Mark Andrews# what configure does when it calls configure scripts in
3759f10fc543747668b1ca4b4671f35b0dea8445Francis Dupont# subdirectories, so they share the cache.
66cf4a406525db9c42977d8034a60e0a8e2a9290Automatic Updater# Giving --cache-file=/dev/null disables caching, for debugging configure.
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater# config.status only pays attention to the cache file if you give it the
572cb2c1c931f6bc6a4a019c103ae88239b0eb96Automatic Updater# --recheck option to rerun configure.
c2abd6efeb9affa70aabb63da2acb23e135cf7f2Mark Andrews# The following way of writing the cache mishandles newlines in values,
28e0061dbcc2ae45d34541267a00d8b4de5b4a41Tinderbox User# but we know of no workaround that is simple, portable, and efficient.
28e0061dbcc2ae45d34541267a00d8b4de5b4a41Tinderbox User# So, don't put newlines in cache variables' values.
950d203b64f512b85fcc093ee1e9e3e531a1aea3Tinderbox User# Ultrix sh set writes to stderr and can't be redirected directly,
27c3c21f41520e8d6336d80a8094389e321cb6d2Mark Andrews# and sets the high bit in the cache file unless we assign to the vars.
91d187ce035f39073f0732ff2a401a45c3c955fbMark Andrews case `(ac_space=' '; set | grep ac_space) 2>&1` in
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater # `set' does not quote correctly, so add quotes (double-quote substitution
d630ef2ff74445949a482660938e9fa9da52ca14Automatic Updater # turns \\\\ into \\, and sed turns \\ into \).
d6487e3c0a981bd8ac1e155d3a2d590c078d6c85Tinderbox User -e "s/'/'\\\\''/g" \
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
1a63fb1d1448ed3f8fd7227ae57be67c2e71279eMark Andrews # `set' quotes correctly as required by POSIX, so do not add quotes.
a03cb08d0c4f1ca5fbc121d2f02bdffa7eb52286Mark Andrews sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
fe600c3ad88c0bb078283a953d048087d227c0e5Tinderbox User if test -w $cache_file; then
27c3c21f41520e8d6336d80a8094389e321cb6d2Mark Andrews echo "updating cache $cache_file"
e40c4e4c17d4df338e2a7db0f84d8dbb3858964cTinderbox User echo "not updating unwritable cache $cache_file"
0197efed438a96881ebd8d165f8479a89f1ba62fTinderbox User# Actually configure libtool. ac_aux_dir is where install-sh is found.
a450977e98155f6e828fe6f8d52cf24674231831Mark AndrewsCC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox UserDLLTOOL="$DLLTOOL" AS="$AS" OBJDUMP="$OBJDUMP" \
bcb68be0a8f3c3eca58d6a6a869267e5c1841de2Francis Dupont${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater$libtool_flags --no-verify $ac_aux_dir/ltmain.sh $host \
ecbc7ebb243a1f8a5dc6f28185ffe9e61d3b2102Mark Andrews|| { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
d6487e3c0a981bd8ac1e155d3a2d590c078d6c85Tinderbox User# Reload cache, that may have been modified by ltconfig
d6487e3c0a981bd8ac1e155d3a2d590c078d6c85Tinderbox Userif test -r "$cache_file"; then
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews echo "loading cache $cache_file"
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox User echo "creating cache $cache_file"
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater# This can be used to rebuild libtool when needed
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic UpdaterLIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh"
c505effec1da6664c37f0e4dbfc1c4f6b0e73367Tinderbox User# Always use our own libtool.
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox User# Redirect the config.log output again, so that the ltconfig log is not
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater# clobbered by the next message.
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater# File name extension for static archive files, for those few places
979e02d122cddf1624cca8a4dab8d084c900fa48Automatic Updater# where they are treated differently from dynamic ones.
ee36de8388ec31d28244d62a24050eaa2bbc8d44Tinderbox User# Check whether --enable-ipv6 or --disable-ipv6 was given.
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updaterif test "${enable_ipv6+set}" = set; then
ee36de8388ec31d28244d62a24050eaa2bbc8d44Tinderbox User# We do the IPv6 compilation checking after libtool so that we can put
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater# the right suffix on the files.
dd65eb1efb40b1c47d57963192bfc54873b219beAutomatic Updater echo $ac_n "checking for IPv6 structures""... $ac_c" 1>&6
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox Userecho "configure:3302: checking for IPv6 structures" >&5
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox User#line 3304 "configure"
10702d681eb650391bcaa0e2704aa3cf2dbf0e98Mark Andrews#include "confdefs.h"
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater#include <sys/types.h>
10702d681eb650391bcaa0e2704aa3cf2dbf0e98Mark Andrews#include <sys/socket.h>
10702d681eb650391bcaa0e2704aa3cf2dbf0e98Mark Andrews#include <netinet/in.h>
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updaterstruct sockaddr_in6 sin6; return (0);
979e02d122cddf1624cca8a4dab8d084c900fa48Automatic Updaterif { (eval echo configure:3314: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7af91d15b2ce1ce32f7320f6d5cc3b83621c241aAutomatic Updater# See whether IPv6 support is provided via a Kame add-on.
3f616e6f846be57b1717c6beaba0f74de9d5a7c6Automatic Updater# This is done before other IPv6 linking tests to LIBS is properly set.
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox Userecho $ac_n "checking for Kame IPv6 support""... $ac_c" 1>&6
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updaterecho "configure:3337: checking for Kame IPv6 support" >&5
979e02d122cddf1624cca8a4dab8d084c900fa48Automatic Updater# Check whether --with-kame or --without-kame was given.
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updaterif test "${with_kame+set}" = set; then
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater if test -f $kame_path/lib/libinet6.a; then
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater { echo "configure: error: $kame_path/lib/libinet6.a not found.
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic UpdaterPlease choose the proper path with the following command:
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox User configure --with-kame=PATH
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox User# Whether netinet6/in6.h is needed has to be defined in isc/platform.h.
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater# Including it on Kame-using platforms is very bad, though, because
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox User# Kame uses #error against direct inclusion. So include it on only
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater# the platform that is otherwise broken without it -- BSD/OS 4.0 through 4.1.
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox User# This is done before the in6_pktinfo check because that's what
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater# netinet6/in6.h is needed for.
979e02d122cddf1624cca8a4dab8d084c900fa48Automatic Updater ISC_PLATFORM_NEEDNETINET6IN6H="#define ISC_PLATFORM_NEEDNETINET6IN6H 1"
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater LWRES_PLATFORM_NEEDNETINET6IN6H="#define LWRES_PLATFORM_NEEDNETINET6IN6H 1"
324a8797b46d646fe8d3b2eef6785e0b2b3ac956Tinderbox User isc_netinet6in6_hack="#include <netinet6/in6.h>"
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater ISC_PLATFORM_NEEDNETINET6IN6H="#undef ISC_PLATFORM_NEEDNETINET6IN6H"
979e02d122cddf1624cca8a4dab8d084c900fa48Automatic Updater LWRES_PLATFORM_NEEDNETINET6IN6H="#undef LWRES_PLATFORM_NEEDNETINET6IN6H"
a03cb08d0c4f1ca5fbc121d2f02bdffa7eb52286Mark Andrews# This is similar to the netinet6/in6.h issue.
af60449fe472b8bea5ad04bf538c777c6b151112Tinderbox User ISC_PLATFORM_NEEDNETINETIN6H="#define ISC_PLATFORM_NEEDNETINETIN6H 1"
e40c4e4c17d4df338e2a7db0f84d8dbb3858964cTinderbox User LWRES_PLATFORM_NEEDNETINETIN6H="#define LWRES_PLATFORM_NEEDNETINETIN6H 1"
f0c5e918974bf778af6cd1e25309ad13e30a79a6Tinderbox User isc_netinetin6_hack="#include <netinet/in6.h>"
a03cb08d0c4f1ca5fbc121d2f02bdffa7eb52286Mark Andrews ISC_PLATFORM_NEEDNETINETIN6H="#undef ISC_PLATFORM_NEEDNETINETIN6H"
a450977e98155f6e828fe6f8d52cf24674231831Mark Andrews LWRES_PLATFORM_NEEDNETINETIN6H="#undef LWRES_PLATFORM_NEEDNETINETIN6H"
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater# Now delve deeper into the suitability of the IPv6 support.
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews ISC_PLATFORM_HAVEIPV6="#define ISC_PLATFORM_HAVEIPV6 1"
114f7780384371121918624ae2c80ecfce545683Tinderbox User LWRES_PLATFORM_HAVEIPV6="#define LWRES_PLATFORM_HAVEIPV6 1"
33d1cff1dd63494ffa00fac695a793f00c4ebf0bTinderbox User echo $ac_n "checking for in6addr_any""... $ac_c" 1>&6
6fe48fb46e53ffc37542853a1edb74cb481b7d94Automatic Updaterecho "configure:3424: checking for in6addr_any" >&5
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews#line 3426 "configure"
e40c4e4c17d4df338e2a7db0f84d8dbb3858964cTinderbox User#include "confdefs.h"
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox User#include <sys/types.h>
e40c4e4c17d4df338e2a7db0f84d8dbb3858964cTinderbox User#include <sys/socket.h>
169f44b082b340b952e26c0fdb930c102a957752Mark Andrews#include <netinet/in.h>
757ff043760e4743dda1a10e7d58349275934902Tinderbox User$isc_netinetin6_hack
a98018050a8dfb234c22664f673e50bc3066aa9eTinderbox Userstruct in6_addr in6; in6 = in6addr_any; return (0);
e40c4e4c17d4df338e2a7db0f84d8dbb3858964cTinderbox Userif { (eval echo configure:3437: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1eb0e804d5c1c95cfe81c7e448a89e33e8a3c08cTinderbox User ISC_PLATFORM_NEEDIN6ADDRANY="#undef ISC_PLATFORM_NEEDIN6ADDRANY"
ecbc7ebb243a1f8a5dc6f28185ffe9e61d3b2102Mark Andrews ISC_PLATFORM_NEEDIN6ADDRANY="#define ISC_PLATFORM_NEEDIN6ADDRANY 1"
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox User echo $ac_n "checking for in6_pktinfo""... $ac_c" 1>&6
42c81cf2de732ec6d00e73fc755a399ca037e543Mark Andrewsecho "configure:3450: checking for in6_pktinfo" >&5
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox User#line 3452 "configure"
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox User#include "confdefs.h"
6fe48fb46e53ffc37542853a1edb74cb481b7d94Automatic Updater#include <sys/types.h>
6fe48fb46e53ffc37542853a1edb74cb481b7d94Automatic Updater#include <sys/socket.h>
6fe48fb46e53ffc37542853a1edb74cb481b7d94Automatic Updater#include <netinet/in.h>
71fc4775d04aea66809e3eb5b5159c55413bdc5cMark Andrews$isc_netinetin6_hack
71fc4775d04aea66809e3eb5b5159c55413bdc5cMark Andrews$isc_netinet6in6_hack
7d704e522860496310bb29c28e76064868401a9cMark Andrewsstruct in6_pktinfo xyzzy; return (0);
cc17f4a672fc4ce67327902dd797c4465f12c4c9Mark Andrews; return 0; }
6fe48fb46e53ffc37542853a1edb74cb481b7d94Automatic Updaterif { (eval echo configure:3465: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6fe48fb46e53ffc37542853a1edb74cb481b7d94Automatic Updater ISC_PLATFORM_HAVEIN6PKTINFO="#define ISC_PLATFORM_HAVEIN6PKTINFO 1"
66cf4a406525db9c42977d8034a60e0a8e2a9290Automatic Updater echo "$ac_t""no -- disabling runtime ipv6 support" 1>&6
66cf4a406525db9c42977d8034a60e0a8e2a9290Automatic Updater ISC_PLATFORM_HAVEIN6PKTINFO="#undef ISC_PLATFORM_HAVEIN6PKTINFO"
b7fcdb0bee7680fe9536bec3b204aea094bc514eTinderbox User ISC_PLATFORM_HAVEIPV6="#undef ISC_PLATFORM_HAVEIPV6"
e40c4e4c17d4df338e2a7db0f84d8dbb3858964cTinderbox User LWRES_PLATFORM_HAVEIPV6="#undef LWRES_PLATFORM_HAVEIPV6"
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox User ISC_PLATFORM_NEEDIN6ADDRANY="#undef ISC_PLATFORM_NEEDIN6ADDRANY"
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox User ISC_PLATFORM_HAVEIN6PKTINFO="#undef ISC_PLATFORM_HAVEIN6PKTINFO"
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews# Check for network functions that are often missing. We do this
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews# after the libtool checking, so we can put the right suffix on
e40c4e4c17d4df338e2a7db0f84d8dbb3858964cTinderbox Userecho $ac_n "checking for inet_ntop""... $ac_c" 1>&6
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updaterecho "configure:3509: checking for inet_ntop" >&5
90cde4c188ac5bdea4f402b241c387c9cc9d4cc4Tinderbox User#line 3511 "configure"
76fbdc591b3d46df28878a6ff844798622b85265Tinderbox User#include "confdefs.h"
da59e63e7af147a8bcef985b98b04443e04c3a0eTinderbox User#include <sys/types.h>
0e573cdd111e060e5f6c18249b5ccacbe8abe278Tinderbox User#include <netinet/in.h>
4c6bae917bec70e1fc4d1b761a9765075af78441Tinderbox User#include <arpa/inet.h>
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox Userinet_ntop(0, 0, 0, 0); return (0);
9cd5eb6fe0f26d65724b99216cb31dcdd12e4afdAutomatic Updaterif { (eval echo configure:3521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews ISC_PLATFORM_NEEDNTOP="#undef ISC_PLATFORM_NEEDNTOP"
015055b6e23f5c08f6a5b34726f90b62597e9e45Tinderbox User ISC_PLATFORM_NEEDNTOP="#define ISC_PLATFORM_NEEDNTOP 1"
a8677ecad546c955406b341eb8344ed06768b11eTinderbox Userecho $ac_n "checking for inet_pton""... $ac_c" 1>&6
0e573cdd111e060e5f6c18249b5ccacbe8abe278Tinderbox User#line 3538 "configure"
98922b2b2b024dcca25be7c220cf3b16b1e6c4b5Evan Hunt#include "confdefs.h"
98922b2b2b024dcca25be7c220cf3b16b1e6c4b5Evan Hunt#include <sys/types.h>
98922b2b2b024dcca25be7c220cf3b16b1e6c4b5Evan Hunt#include <netinet/in.h>
98922b2b2b024dcca25be7c220cf3b16b1e6c4b5Evan Hunt#include <arpa/inet.h>
1fdd58445074579ee3b65c871137a7a1740eb542Mark Andrewsinet_pton(0, 0, 0); return (0);
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews; return 0; }
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox Userif { (eval echo configure:3548: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
603cf17f33da24d460616389ec40d6f2a6e110a0Automatic Updater ISC_PLATFORM_NEEDPTON="#undef ISC_PLATFORM_NEEDPTON"
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox User ISC_EXTRA_OBJS="$ISC_EXTRA_OBJS inet_pton.$O"
71fa3534bfaf174f6a938dc1ba3522f66606c4e1Mark Andrews ISC_PLATFORM_NEEDPTON="#define ISC_PLATFORM_NEEDPTON 1"
7711228a135a2fe85765ba13a67b8e397ed73489Mark Andrewsecho $ac_n "checking for inet_aton""... $ac_c" 1>&6
3759f10fc543747668b1ca4b4671f35b0dea8445Francis Dupontecho "configure:3563: checking for inet_aton" >&5
b5423cbff7175727ed9046c8c670d8a7bb4d01eaTinderbox User#line 3565 "configure"
c505effec1da6664c37f0e4dbfc1c4f6b0e73367Tinderbox User#include "confdefs.h"
be0d1ec971748020cb0382e02b4642b493ea1e7bTinderbox User#include <sys/types.h>
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater#include <netinet/in.h>
22870a9f8df95488abe2b17ab92b7cb6a9fe6f14Tinderbox User#include <arpa/inet.h>
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox Userstruct in_addr in; inet_aton(0, &in); return (0);
4aec4843241dca64de7eb6363944df0b09cb83ecTinderbox Userif { (eval echo configure:3575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox User ISC_PLATFORM_NEEDATON="#undef ISC_PLATFORM_NEEDATON"
7f79131f9a8e804b93c57f3c679065cce878b726Automatic Updater ISC_EXTRA_OBJS="$ISC_EXTRA_OBJS inet_aton.$O"
9cd5eb6fe0f26d65724b99216cb31dcdd12e4afdAutomatic Updater ISC_EXTRA_SRCS="$ISC_EXTRA_SRCS inet_aton.c"
be0d1ec971748020cb0382e02b4642b493ea1e7bTinderbox User ISC_PLATFORM_NEEDATON="#define ISC_PLATFORM_NEEDATON 1"
b5423cbff7175727ed9046c8c670d8a7bb4d01eaTinderbox User# Check for some other useful functions that are not ever-present.
59528addd704f8d5757b54e540520f74e588a7c7Automatic Updaterecho $ac_n "checking for strsep""... $ac_c" 1>&6
7f79131f9a8e804b93c57f3c679065cce878b726Automatic Updaterecho "configure:3596: checking for strsep" >&5
be0d1ec971748020cb0382e02b4642b493ea1e7bTinderbox Userif eval "test \"`echo '$''{'ac_cv_func_strsep'+set}'`\" = set"; then
59528addd704f8d5757b54e540520f74e588a7c7Automatic Updater#line 3601 "configure"
536da846f6cc03ad8abbb8bb9d5d8a6f607b8c33Mark Andrews#include "confdefs.h"
b871c7156eb037d41f53828c6fcb9cc876128962Mark Andrews/* System header to define __stub macros and hopefully few prototypes,
7af91d15b2ce1ce32f7320f6d5cc3b83621c241aAutomatic Updater which can conflict with char strsep(); below. */
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews#include <assert.h>
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews/* Override any gcc2 internal prototype to avoid an error. */
a7c412f37cc73d0332887a746e81220cbf09dd00Mark Andrews/* We use char because int might match the return type of a gcc2
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater builtin and then its argument prototype would still apply. */
83d29eff2912ef967596eb5ed148de7668b35564Automatic Updater/* The GNU C library defines this for functions which it implements
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater to always fail with ENOSYS. Some functions are actually named
9cd5eb6fe0f26d65724b99216cb31dcdd12e4afdAutomatic Updater something starting with __ and the normal name is an alias. */
2ba8f584b97cbab864570e38fd26b8cb90961428Tinderbox User#if defined (__stub_strsep) || defined (__stub___strsep)
59528addd704f8d5757b54e540520f74e588a7c7Automatic Updaterif { (eval echo configure:3624: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater eval "ac_cv_func_strsep=yes"
59528addd704f8d5757b54e540520f74e588a7c7Automatic Updater eval "ac_cv_func_strsep=no"
1fff4d36fb18ccdca15acb0bae20c2aa8e833ceeTinderbox Userif eval "test \"`echo '$ac_cv_func_'strsep`\" = yes"; then
7f79131f9a8e804b93c57f3c679065cce878b726Automatic Updater ISC_PLATFORM_NEEDSTRSEP="#undef ISC_PLATFORM_NEEDSTRSEP"
e705db6d5d886dc14f4a75a2046a075c0750e7eeAutomatic UpdaterISC_PLATFORM_NEEDSTRSEP="#define ISC_PLATFORM_NEEDSTRSEP 1"
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updaterecho $ac_n "checking for vsnprintf""... $ac_c" 1>&6
d3ba57ed92b7095fdeabc444af5dd18ac4781064Tinderbox Userecho "configure:3645: checking for vsnprintf" >&5
faa406d25d1d73b04a1351d1e62ab55557ed61ebAutomatic Updaterif eval "test \"`echo '$''{'ac_cv_func_vsnprintf'+set}'`\" = set"; then
37d8e0a4455876fe1e4cca511076cc2c5ab9eedeTinderbox User#line 3650 "configure"
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox User#include "confdefs.h"
04bc14c887243e624469fdbd336c1d3cb8ed7cc7Tinderbox User/* System header to define __stub macros and hopefully few prototypes,
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater which can conflict with char vsnprintf(); below. */
a7c412f37cc73d0332887a746e81220cbf09dd00Mark Andrews#include <assert.h>
fedd407a76adfdd745eb7d2461673693c6f9fea9Mark Andrews/* Override any gcc2 internal prototype to avoid an error. */
be0d1ec971748020cb0382e02b4642b493ea1e7bTinderbox User/* We use char because int might match the return type of a gcc2
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox User builtin and then its argument prototype would still apply. */
955ee8b865d70d02ad1fdc959382e6f8a07c1d14Tinderbox Userchar vsnprintf();
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater/* The GNU C library defines this for functions which it implements
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater to always fail with ENOSYS. Some functions are actually named
dbb012765c735ee0d82dedb116cdc7cf18957814Evan Hunt something starting with __ and the normal name is an alias. */
dbb012765c735ee0d82dedb116cdc7cf18957814Evan Hunt#if defined (__stub_vsnprintf) || defined (__stub___vsnprintf)
dbb012765c735ee0d82dedb116cdc7cf18957814Evan Hunt; return 0; }
77932ac533c711eca5cd86de4e7eca8d91102b43Tinderbox Userif { (eval echo configure:3673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox User eval "ac_cv_func_vsnprintf=yes"
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox User eval "ac_cv_func_vsnprintf=no"
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox Userif eval "test \"`echo '$ac_cv_func_'vsnprintf`\" = yes"; then
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox User ISC_PLATFORM_NEEDVSNPRINTF="#undef ISC_PLATFORM_NEEDVSNPRINTF"
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox User ISC_PLATFORM_NEEDVSNPRINTF="#define ISC_PLATFORM_NEEDVSNPRINTF 1"
e64202536ea72d8f371dd0df9fc763f8d70bf886Tinderbox Userecho $ac_n "checking for sizeof(long long int) == sizeof(long int)""... $ac_c" 1>&6
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updaterecho "configure:3702: checking for sizeof(long long int) == sizeof(long int)" >&5
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater ISC_PLATFORM_LONGLONGEQUALLONG="#define ISC_PLATFORM_LONGLONGEQUALLONG 1"
3759f10fc543747668b1ca4b4671f35b0dea8445Francis Dupont#line 3708 "configure"
f0c5e918974bf778af6cd1e25309ad13e30a79a6Tinderbox User#include "confdefs.h"
a03cb08d0c4f1ca5fbc121d2f02bdffa7eb52286Mark Andrewsmain() { exit(!(sizeof(long long int) == sizeof(long int))); }
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox Userif { (eval echo configure:3712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox User ISC_PLATFORM_LONGLONGEQUALLONG="#define ISC_PLATFORM_LONGLONGEQUALLONG 1"
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater ISC_PLATFORM_LONGLONGEQUALLONG="#undef ISC_PLATFORM_LONGLONGEQUALLONG"
9e898948ed76bf5f175bf178866c90c449843c3eTinderbox User# Security Stuff
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updaterecho $ac_n "checking for chroot""... $ac_c" 1>&6
33d1cff1dd63494ffa00fac695a793f00c4ebf0bTinderbox Userecho "configure:3732: checking for chroot" >&5
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updaterif eval "test \"`echo '$''{'ac_cv_func_chroot'+set}'`\" = set"; then
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater#line 3737 "configure"
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox User#include "confdefs.h"
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox User/* System header to define __stub macros and hopefully few prototypes,
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox User which can conflict with char chroot(); below. */
a03cb08d0c4f1ca5fbc121d2f02bdffa7eb52286Mark Andrews#include <assert.h>
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox User/* Override any gcc2 internal prototype to avoid an error. */
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox User/* We use char because int might match the return type of a gcc2
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox User builtin and then its argument prototype would still apply. */
10702d681eb650391bcaa0e2704aa3cf2dbf0e98Mark Andrewschar chroot();
ca5ba35827e475a824ec79d489dbcdb3341a35ccTinderbox User/* The GNU C library defines this for functions which it implements
a03cb08d0c4f1ca5fbc121d2f02bdffa7eb52286Mark Andrews to always fail with ENOSYS. Some functions are actually named
71fa3534bfaf174f6a938dc1ba3522f66606c4e1Mark Andrews something starting with __ and the normal name is an alias. */
ca5ba35827e475a824ec79d489dbcdb3341a35ccTinderbox User#if defined (__stub_chroot) || defined (__stub___chroot)
5ee9f7f23852d92772c08ca6e4b46c549beaf660Mark Andrews; return 0; }
757ff043760e4743dda1a10e7d58349275934902Tinderbox Userif { (eval echo configure:3760: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
b6e12209e3e7df826f5f8f949ad400ec6d1f6371Tinderbox User eval "ac_cv_func_chroot=yes"
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox User eval "ac_cv_func_chroot=no"
d3ba57ed92b7095fdeabc444af5dd18ac4781064Tinderbox Userif eval "test \"`echo '$ac_cv_func_'chroot`\" = yes"; then
049728912c39135db248f9b48f8f26675f456e9dTinderbox User#define HAVE_CHROOT 1
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox Userecho $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
a80993946f29ff39df38818ee9b2e58a4e46cb7eTinderbox Userecho "configure:3786: checking for $ac_hdr" >&5
04bc14c887243e624469fdbd336c1d3cb8ed7cc7Tinderbox Userif eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox User#line 3791 "configure"
3759f10fc543747668b1ca4b4671f35b0dea8445Francis Dupont#include "confdefs.h"
3759f10fc543747668b1ca4b4671f35b0dea8445Francis Dupont#include <$ac_hdr>
c288e47fb7d4baa1ed887156b1c5e5db394d4f52Tinderbox Userac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater{ (eval echo configure:3796: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updaterac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updaterif test -z "$ac_err"; then
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater eval "ac_cv_header_$ac_safe=yes"
4aec4843241dca64de7eb6363944df0b09cb83ecTinderbox User eval "ac_cv_header_$ac_safe=no"
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updaterif eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
39ae0eafed076ef769fef5c18b22a8051df5c93aTinderbox User ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
dbb012765c735ee0d82dedb116cdc7cf18957814Evan Hunt#define $ac_tr_hdr 1
2f60dbd3787caa91e8ab1d7ae39ea312ad5ba31fAutomatic Updaterac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
27739dd25026283c24645c8a1044b95ef9eb5ac6Tinderbox Userecho $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
0e573cdd111e060e5f6c18249b5ccacbe8abe278Tinderbox Userecho "configure:3826: checking for $ac_hdr" >&5
c6517a807173827b8f638d31303805ee4c1d8054Automatic Updaterif eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater#line 3831 "configure"
4f538e852f20912e629338e911e46ce26de3e965Tinderbox User#include "confdefs.h"
91d187ce035f39073f0732ff2a401a45c3c955fbMark Andrews#include <$ac_hdr>
ad1d4c904f8e8dcb4db68ae1ac2f83ac53ea380dTinderbox Userac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews{ (eval echo configure:3836: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updaterac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updaterif test -z "$ac_err"; then
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater eval "ac_cv_header_$ac_safe=yes"
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater eval "ac_cv_header_$ac_safe=no"
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updaterif eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
0ead2ac0a4b59c3e4a731027f0f66fbe602b1289Tinderbox User ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater#define $ac_tr_hdr 1
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater# Random remaining OS-specific issues.
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews # Shut up a -Wmissing-prototypes warning from <stdio.h>.
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews#define SHUTUP_SPUTAUX 1
dbb012765c735ee0d82dedb116cdc7cf18957814Evan Hunt# Substitutions
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater BIND9_ISC_BUILDINCLUDE="-I${BIND9_TOP_BUILDDIR}/lib/isc/include"
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater BIND9_DNS_BUILDINCLUDE="-I${BIND9_TOP_BUILDDIR}/lib/dns/include"
bac4435d473c9a0281507524f084480c34aa942aTinderbox User BIND9_OMAPI_BUILDINCLUDE="-I${BIND9_TOP_BUILDDIR}/lib/omapi/include"
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox User BIND9_LWRES_BUILDINCLUDE="-I${BIND9_TOP_BUILDDIR}/lib/lwres/include"
3759f10fc543747668b1ca4b4671f35b0dea8445Francis DupontBIND9_INCLUDES=$BIND9_TOP_BUILDDIR/make/includes
bcb68be0a8f3c3eca58d6a6a869267e5c1841de2Francis DupontBIND9_MAKE_RULES=$BIND9_TOP_BUILDDIR/make/rules
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox UserBIND9_VERSION="VERSION=${MAJORVER}.${MINORVER}.${PATCHVER}${RELEASETYPE}${RELEASEVER}"
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater# This file is a shell script that caches the results of configure
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater# tests run on this system so they can be shared between configure
2f60dbd3787caa91e8ab1d7ae39ea312ad5ba31fAutomatic Updater# scripts and configure runs. It is not useful on other systems.
e4757e3dafe50ae59f693eec828f68c42c197a70Andreas Gustafsson# If it contains results you don't want to keep, you may remove or edit it.
e4757e3dafe50ae59f693eec828f68c42c197a70Andreas Gustafsson# By default, configure uses ./config.cache as the cache file,
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews# creating it if it does not exist already. You can give configure
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews# the --cache-file=FILE option to use a different cache file; that is
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews# what configure does when it calls configure scripts in
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews# subdirectories, so they share the cache.
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater# Giving --cache-file=/dev/null disables caching, for debugging configure.
8aa098c6334de11c8fd117d30851cc457813c410Mark Andrews# config.status only pays attention to the cache file if you give it the
e213b38b48486b3a6349329655d9169085001fa0Tinderbox User# --recheck option to rerun configure.
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox User# The following way of writing the cache mishandles newlines in values,
c288e47fb7d4baa1ed887156b1c5e5db394d4f52Tinderbox User# but we know of no workaround that is simple, portable, and efficient.
e213b38b48486b3a6349329655d9169085001fa0Tinderbox User# So, don't put newlines in cache variables' values.
933799f3641f4f78445d015008bad0038900a82aTinderbox User# Ultrix sh set writes to stderr and can't be redirected directly,
9cd5eb6fe0f26d65724b99216cb31dcdd12e4afdAutomatic Updater# and sets the high bit in the cache file unless we assign to the vars.
faa406d25d1d73b04a1351d1e62ab55557ed61ebAutomatic Updater case `(ac_space=' '; set | grep ac_space) 2>&1` in
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater # `set' does not quote correctly, so add quotes (double-quote substitution
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater # turns \\\\ into \\, and sed turns \\ into \).
933799f3641f4f78445d015008bad0038900a82aTinderbox User -e "s/'/'\\\\''/g" \
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews # `set' quotes correctly as required by POSIX, so do not add quotes.
e4757e3dafe50ae59f693eec828f68c42c197a70Andreas Gustafsson sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
a04588e781b513ae3b30e061ac98035802b5e8e8Mark Andrews if test -w $cache_file; then
a04588e781b513ae3b30e061ac98035802b5e8e8Mark Andrews echo "updating cache $cache_file"
a04588e781b513ae3b30e061ac98035802b5e8e8Mark Andrews echo "not updating unwritable cache $cache_file"
e40c4e4c17d4df338e2a7db0f84d8dbb3858964cTinderbox Usertrap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
5b4ef313da4283079786e516b4b07a1691e1dc50Mark Andrewstest "x$prefix" = xNONE && prefix=$ac_default_prefix
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox User# Let make expand exec_prefix.
3759f10fc543747668b1ca4b4671f35b0dea8445Francis Duponttest "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
c288e47fb7d4baa1ed887156b1c5e5db394d4f52Tinderbox User# Any assignment to VPATH causes Sun make to only execute
a900e4f99ff134b567b6df5ac2c841c7d0c551d3Automatic Updater# the first set of double-colon rules, so remove it if not needed.
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater# If there is a colon in the path, we need to keep it.
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updaterif test "x$srcdir" = x.; then
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updatertrap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater# Without the "./", some shells look in PATH for config.status.
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater# Generated automatically by configure.
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox User# Run this file to recreate the current configuration.
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater# This directory was configured as follows,
bcb68be0a8f3c3eca58d6a6a869267e5c1841de2Francis Dupont# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
bcb68be0a8f3c3eca58d6a6a869267e5c1841de2Francis Dupont# $0 $ac_configure_args
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox User# Compiler output produced by configure, useful for debugging
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox User# configure, is in ./config.log if it exists.
0e573cdd111e060e5f6c18249b5ccacbe8abe278Tinderbox Userac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrewsfor ac_option
0e573cdd111e060e5f6c18249b5ccacbe8abe278Tinderbox User case "\$ac_option" in
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
0e573cdd111e060e5f6c18249b5ccacbe8abe278Tinderbox User exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews echo "$CONFIG_STATUS generated by autoconf version 2.13"
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews -help | --help | --hel | --he | --h)
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews echo "\$ac_cs_usage"; exit 0 ;;
0e573cdd111e060e5f6c18249b5ccacbe8abe278Tinderbox User *) echo "\$ac_cs_usage"; exit 1 ;;
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrewsac_given_srcdir=$srcdir
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrewsac_given_INSTALL="$INSTALL"
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrewstrap 'rm -fr `echo "make/rules
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews make/includes
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews make/Makefile
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews lib/isc/Makefile
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews lib/isc/include/Makefile
0e573cdd111e060e5f6c18249b5ccacbe8abe278Tinderbox User lib/isc/include/isc/Makefile
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews lib/isc/include/isc/platform.h
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews lib/isc/unix/Makefile
0e573cdd111e060e5f6c18249b5ccacbe8abe278Tinderbox User lib/isc/unix/include/Makefile
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews lib/isc/unix/include/isc/Makefile
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews lib/isc/nls/Makefile
0e573cdd111e060e5f6c18249b5ccacbe8abe278Tinderbox User lib/isc/pthreads/Makefile
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews lib/isc/pthreads/include/Makefile
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews lib/isc/pthreads/include/isc/Makefile
0e573cdd111e060e5f6c18249b5ccacbe8abe278Tinderbox User lib/dns/Makefile
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews lib/dns/include/Makefile
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews lib/dns/include/dns/Makefile
0e573cdd111e060e5f6c18249b5ccacbe8abe278Tinderbox User lib/dns/sec/Makefile
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews lib/dns/sec/openssl/Makefile
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews lib/dns/sec/openssl/include/Makefile
0e573cdd111e060e5f6c18249b5ccacbe8abe278Tinderbox User lib/dns/sec/openssl/include/openssl/Makefile
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews lib/dns/sec/dnssafe/Makefile
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews lib/dns/sec/dst/Makefile
0e573cdd111e060e5f6c18249b5ccacbe8abe278Tinderbox User lib/dns/sec/dst/include/Makefile
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews lib/dns/sec/dst/include/dst/Makefile
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews lib/dns/config/Makefile
0e573cdd111e060e5f6c18249b5ccacbe8abe278Tinderbox User lib/lwres/Makefile
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews lib/lwres/include/Makefile
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater lib/lwres/include/lwres/Makefile
fca737c98d2be3ef944cc96320c040fdb5f160e3Tinderbox User lib/lwres/include/lwres/netdb.h
e23256e740b238bddb4ba41ffac5f81a01c92245Automatic Updater lib/lwres/include/lwres/platform.h
a04588e781b513ae3b30e061ac98035802b5e8e8Mark Andrews lib/omapi/Makefile
a04588e781b513ae3b30e061ac98035802b5e8e8Mark Andrews lib/omapi/include/Makefile
a04588e781b513ae3b30e061ac98035802b5e8e8Mark Andrews lib/omapi/include/omapi/Makefile
a04588e781b513ae3b30e061ac98035802b5e8e8Mark Andrews lib/tests/Makefile
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox User lib/tests/include/Makefile
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox User lib/tests/include/tests/Makefile
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater bin/named/Makefile
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater bin/named/unix/Makefile
2f60dbd3787caa91e8ab1d7ae39ea312ad5ba31fAutomatic Updater bin/lwresd/Makefile
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox User bin/rndc/Makefile
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox User bin/dig/Makefile
015055b6e23f5c08f6a5b34726f90b62597e9e45Tinderbox User bin/tests/Makefile
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox User bin/tests/names/Makefile
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater bin/tests/master/Makefile
cd6e9010079a4e58f7e30063df3dec0ff154ad59Tinderbox User bin/tests/rbt/Makefile
cd6e9010079a4e58f7e30063df3dec0ff154ad59Tinderbox User bin/tests/db/Makefile
f33f2b8afe60de897c53cdcb17911f10b552699fTinderbox User bin/tests/tasks/Makefile
397c35b074ed59592cac25bafeb7e082f50f9ac1Tinderbox User bin/tests/timers/Makefile
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews bin/tests/dst/Makefile
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson bin/tests/mem/Makefile
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews bin/tests/sockaddr/Makefile
f33f2b8afe60de897c53cdcb17911f10b552699fTinderbox User bin/tests/system/Makefile
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews bin/tests/headerdep_test.sh
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews bin/dnssec/Makefile
91d187ce035f39073f0732ff2a401a45c3c955fbMark Andrews config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews# Protect against being on the right side of a sed subst in config.status.
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrewssed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
e40c4e4c17d4df338e2a7db0f84d8dbb3858964cTinderbox User s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
3759f10fc543747668b1ca4b4671f35b0dea8445Francis Duponts%@SHELL@%$SHELL%g
3759f10fc543747668b1ca4b4671f35b0dea8445Francis Duponts%@CFLAGS@%$CFLAGS%g
3759f10fc543747668b1ca4b4671f35b0dea8445Francis Duponts%@CPPFLAGS@%$CPPFLAGS%g
a03cb08d0c4f1ca5fbc121d2f02bdffa7eb52286Mark Andrewss%@CXXFLAGS@%$CXXFLAGS%g
98922b2b2b024dcca25be7c220cf3b16b1e6c4b5Evan Hunts%@FFLAGS@%$FFLAGS%g
98922b2b2b024dcca25be7c220cf3b16b1e6c4b5Evan Hunts%@DEFS@%$DEFS%g
98922b2b2b024dcca25be7c220cf3b16b1e6c4b5Evan Hunts%@LDFLAGS@%$LDFLAGS%g
98922b2b2b024dcca25be7c220cf3b16b1e6c4b5Evan Hunts%@LIBS@%$LIBS%g
98922b2b2b024dcca25be7c220cf3b16b1e6c4b5Evan Hunts%@exec_prefix@%$exec_prefix%g
98922b2b2b024dcca25be7c220cf3b16b1e6c4b5Evan Hunts%@prefix@%$prefix%g
98922b2b2b024dcca25be7c220cf3b16b1e6c4b5Evan Hunts%@program_transform_name@%$program_transform_name%g
98922b2b2b024dcca25be7c220cf3b16b1e6c4b5Evan Hunts%@bindir@%$bindir%g
98922b2b2b024dcca25be7c220cf3b16b1e6c4b5Evan Hunts%@sbindir@%$sbindir%g
98922b2b2b024dcca25be7c220cf3b16b1e6c4b5Evan Hunts%@libexecdir@%$libexecdir%g
98922b2b2b024dcca25be7c220cf3b16b1e6c4b5Evan Hunts%@datadir@%$datadir%g
98922b2b2b024dcca25be7c220cf3b16b1e6c4b5Evan Hunts%@sysconfdir@%$sysconfdir%g
98922b2b2b024dcca25be7c220cf3b16b1e6c4b5Evan Hunts%@sharedstatedir@%$sharedstatedir%g
98922b2b2b024dcca25be7c220cf3b16b1e6c4b5Evan Hunts%@localstatedir@%$localstatedir%g
98922b2b2b024dcca25be7c220cf3b16b1e6c4b5Evan Hunts%@libdir@%$libdir%g
98922b2b2b024dcca25be7c220cf3b16b1e6c4b5Evan Hunts%@includedir@%$includedir%g
98922b2b2b024dcca25be7c220cf3b16b1e6c4b5Evan Hunts%@oldincludedir@%$oldincludedir%g
98922b2b2b024dcca25be7c220cf3b16b1e6c4b5Evan Hunts%@infodir@%$infodir%g
98922b2b2b024dcca25be7c220cf3b16b1e6c4b5Evan Hunts%@mandir@%$mandir%g
98922b2b2b024dcca25be7c220cf3b16b1e6c4b5Evan Hunts%@host@%$host%g
98922b2b2b024dcca25be7c220cf3b16b1e6c4b5Evan Hunts%@host_alias@%$host_alias%g
98922b2b2b024dcca25be7c220cf3b16b1e6c4b5Evan Hunts%@host_cpu@%$host_cpu%g
98922b2b2b024dcca25be7c220cf3b16b1e6c4b5Evan Hunts%@host_vendor@%$host_vendor%g
98922b2b2b024dcca25be7c220cf3b16b1e6c4b5Evan Hunts%@host_os@%$host_os%g
98922b2b2b024dcca25be7c220cf3b16b1e6c4b5Evan Hunts%@SET_MAKE@%$SET_MAKE%g
98922b2b2b024dcca25be7c220cf3b16b1e6c4b5Evan Hunts%@RANLIB@%$RANLIB%g
98922b2b2b024dcca25be7c220cf3b16b1e6c4b5Evan Hunts%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
98922b2b2b024dcca25be7c220cf3b16b1e6c4b5Evan Hunts%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
98922b2b2b024dcca25be7c220cf3b16b1e6c4b5Evan Hunts%@INSTALL_DATA@%$INSTALL_DATA%g
98922b2b2b024dcca25be7c220cf3b16b1e6c4b5Evan Hunts%@STD_CINCLUDES@%$STD_CINCLUDES%g
98922b2b2b024dcca25be7c220cf3b16b1e6c4b5Evan Hunts%@STD_CDEFINES@%$STD_CDEFINES%g
98922b2b2b024dcca25be7c220cf3b16b1e6c4b5Evan Hunts%@STD_CWARNINGS@%$STD_CWARNINGS%g
98922b2b2b024dcca25be7c220cf3b16b1e6c4b5Evan Hunts%@ARFLAGS@%$ARFLAGS%g
98922b2b2b024dcca25be7c220cf3b16b1e6c4b5Evan Hunts%@ETAGS@%$ETAGS%g
98922b2b2b024dcca25be7c220cf3b16b1e6c4b5Evan Hunts%@DST_PRIVATEOPENSSL@%$DST_PRIVATEOPENSSL%g
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox Users%@dst_privateopenssl@%$dst_privateopenssl%g
713c3d5b18463f2479973e4d14f73248e60a5df7Mark Andrewss%@DST_OPENSSL_INC@%$DST_OPENSSL_INC%g
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox Users%@DST_OPENSSL_LIB@%$DST_OPENSSL_LIB%g
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox Users%@DST_OPENSSL_OBJS@%$DST_OPENSSL_OBJS%g
37d8e0a4455876fe1e4cca511076cc2c5ab9eedeTinderbox Users%@DNS_OPENSSL_LIBS@%$DNS_OPENSSL_LIBS%g
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrewss%@YACC@%$YACC%g
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrewss%@CPP@%$CPP%g
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrewss%@MKDEPCC@%$MKDEPCC%g
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrewss%@MKDEPCFLAGS@%$MKDEPCFLAGS%g
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrewss%@MKDEPPROG@%$MKDEPPROG%g
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrewss%@IRIX_DNSSEC_WARNINGS_HACK@%$IRIX_DNSSEC_WARNINGS_HACK%g
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrewss%@ISC_PLATFORM_HAVESALEN@%$ISC_PLATFORM_HAVESALEN%g
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrewss%@LWRES_PLATFORM_HAVESALEN@%$LWRES_PLATFORM_HAVESALEN%g
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updaters%@ISC_PLATFORM_MSGHDRFLAVOR@%$ISC_PLATFORM_MSGHDRFLAVOR%g
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrewss%@ISC_PLATFORM_NEEDPORTT@%$ISC_PLATFORM_NEEDPORTT%g
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafssons%@ISC_LWRES_NEEDADDRINFO@%$ISC_LWRES_NEEDADDRINFO%g
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrewss%@ISC_LWRES_SETHOSTENTINT@%$ISC_LWRES_SETHOSTENTINT%g
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updaters%@ISC_LWRES_ENDHOSTENTINT@%$ISC_LWRES_ENDHOSTENTINT%g
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrewss%@ISC_LWRES_GETNETBYADDRINADDR@%$ISC_LWRES_GETNETBYADDRINADDR%g
27739dd25026283c24645c8a1044b95ef9eb5ac6Tinderbox Users%@ISC_LWRES_SETNETENTINT@%$ISC_LWRES_SETNETENTINT%g
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrewss%@ISC_LWRES_ENDNETENTINT@%$ISC_LWRES_ENDNETENTINT%g
bed0874e1a09e810575328c4bfc346a47514b69fMark Andrewss%@ISC_LWRES_GETHOSTBYADDRVOID@%$ISC_LWRES_GETHOSTBYADDRVOID%g
bed0874e1a09e810575328c4bfc346a47514b69fMark Andrewss%@ISC_LWRES_NEEDHERRNO@%$ISC_LWRES_NEEDHERRNO%g
bed0874e1a09e810575328c4bfc346a47514b69fMark Andrewss%@ISC_LWRES_GETIPNODEPROTO@%$ISC_LWRES_GETIPNODEPROTO%g
bed0874e1a09e810575328c4bfc346a47514b69fMark Andrewss%@ISC_LWRES_GETADDRINFOPROTO@%$ISC_LWRES_GETADDRINFOPROTO%g
bed0874e1a09e810575328c4bfc346a47514b69fMark Andrewss%@ISC_LWRES_GETNAMEINFOPROTO@%$ISC_LWRES_GETNAMEINFOPROTO%g
bed0874e1a09e810575328c4bfc346a47514b69fMark Andrewss%@build@%$build%g
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox Users%@build_alias@%$build_alias%g
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox Users%@build_cpu@%$build_cpu%g
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrewss%@build_vendor@%$build_vendor%g
77932ac533c711eca5cd86de4e7eca8d91102b43Tinderbox Users%@build_os@%$build_os%g
015055b6e23f5c08f6a5b34726f90b62597e9e45Tinderbox Users%@LN_S@%$LN_S%g
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox Users%@LIBTOOL@%$LIBTOOL%g
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox Users%@ISC_PLATFORM_HAVEIPV6@%$ISC_PLATFORM_HAVEIPV6%g
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox Users%@LWRES_PLATFORM_HAVEIPV6@%$LWRES_PLATFORM_HAVEIPV6%g
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox Users%@ISC_PLATFORM_NEEDNETINETIN6H@%$ISC_PLATFORM_NEEDNETINETIN6H%g
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox Users%@LWRES_PLATFORM_NEEDNETINETIN6H@%$LWRES_PLATFORM_NEEDNETINETIN6H%g
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox Users%@ISC_PLATFORM_NEEDNETINET6IN6H@%$ISC_PLATFORM_NEEDNETINET6IN6H%g
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox Users%@LWRES_PLATFORM_NEEDNETINET6IN6H@%$LWRES_PLATFORM_NEEDNETINET6IN6H%g
e9ab17d95e4288ab5ddedb7c89a9588c13c74bddMark Andrewss%@ISC_PLATFORM_NEEDIN6ADDRANY@%$ISC_PLATFORM_NEEDIN6ADDRANY%g
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox Users%@ISC_PLATFORM_HAVEIN6PKTINFO@%$ISC_PLATFORM_HAVEIN6PKTINFO%g
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox Users%@ISC_IPV6_H@%$ISC_IPV6_H%g
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox Users%@ISC_IPV6_O@%$ISC_IPV6_O%g
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox Users%@ISC_ISCIPV6_O@%$ISC_ISCIPV6_O%g
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox Users%@ISC_IPV6_C@%$ISC_IPV6_C%g
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox Users%@ISC_PLATFORM_NEEDNTOP@%$ISC_PLATFORM_NEEDNTOP%g
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox Users%@ISC_PLATFORM_NEEDPTON@%$ISC_PLATFORM_NEEDPTON%g
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox Users%@ISC_PLATFORM_NEEDATON@%$ISC_PLATFORM_NEEDATON%g
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox Users%@ISC_PLATFORM_NEEDSTRSEP@%$ISC_PLATFORM_NEEDSTRSEP%g
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox Users%@ISC_PLATFORM_NEEDVSNPRINTF@%$ISC_PLATFORM_NEEDVSNPRINTF%g
e9ab17d95e4288ab5ddedb7c89a9588c13c74bddMark Andrewss%@ISC_EXTRA_OBJS@%$ISC_EXTRA_OBJS%g
e9ab17d95e4288ab5ddedb7c89a9588c13c74bddMark Andrewss%@ISC_EXTRA_SRCS@%$ISC_EXTRA_SRCS%g
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox Users%@ISC_PLATFORM_LONGLONGEQUALLONG@%$ISC_PLATFORM_LONGLONGEQUALLONG%g
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox Users%@BIND9_TOP_BUILDDIR@%$BIND9_TOP_BUILDDIR%g
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox Users%@BIND9_ISC_BUILDINCLUDE@%$BIND9_ISC_BUILDINCLUDE%g
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox Users%@BIND9_DNS_BUILDINCLUDE@%$BIND9_DNS_BUILDINCLUDE%g
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox Users%@BIND9_OMAPI_BUILDINCLUDE@%$BIND9_OMAPI_BUILDINCLUDE%g
e9ab17d95e4288ab5ddedb7c89a9588c13c74bddMark Andrewss%@BIND9_LWRES_BUILDINCLUDE@%$BIND9_LWRES_BUILDINCLUDE%g
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User/@BIND9_INCLUDES@/r $BIND9_INCLUDES
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox Users%@BIND9_INCLUDES@%%g
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User/@BIND9_MAKE_RULES@/r $BIND9_MAKE_RULES
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox Users%@BIND9_MAKE_RULES@%%g
e9ab17d95e4288ab5ddedb7c89a9588c13c74bddMark Andrewss%@BIND9_VERSION@%$BIND9_VERSION%g
e9ab17d95e4288ab5ddedb7c89a9588c13c74bddMark Andrews/@LIBISC_API@/r $LIBISC_API
e9ab17d95e4288ab5ddedb7c89a9588c13c74bddMark Andrewss%@LIBISC_API@%%g
e9ab17d95e4288ab5ddedb7c89a9588c13c74bddMark Andrews/@LIBDNS_API@/r $LIBDNS_API
e9ab17d95e4288ab5ddedb7c89a9588c13c74bddMark Andrewss%@LIBDNS_API@%%g
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User/@LIBLWRES_API@/r $LIBLWRES_API
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox Users%@LIBLWRES_API@%%g
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User/@LIBOMAPI_API@/r $LIBOMAPI_API
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox Users%@LIBOMAPI_API@%%g
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User# Split the substitutions into bite-sized pieces for seds with
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User# small command number limits, like on Digital OSF/1 and HP-UX.
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox Userac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox Userac_end=$ac_max_sed_cmds # Line after last line for current file.
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User sed "${ac_end}q" conftest.subs > conftest.s$ac_file
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User if test -z "$ac_sed_cmds"; then
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox Userif test -z "$ac_sed_cmds"; then
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox UserCONFIG_FILES=\${CONFIG_FILES-"make/rules
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User make/includes
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User make/Makefile
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User lib/isc/Makefile
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User lib/isc/include/Makefile
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User lib/isc/include/isc/Makefile
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User lib/isc/include/isc/platform.h
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User lib/isc/unix/Makefile
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User lib/isc/unix/include/Makefile
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User lib/isc/unix/include/isc/Makefile
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User lib/isc/nls/Makefile
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User lib/isc/pthreads/Makefile
e9ab17d95e4288ab5ddedb7c89a9588c13c74bddMark Andrews lib/isc/pthreads/include/Makefile
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User lib/isc/pthreads/include/isc/Makefile
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User lib/dns/Makefile
e9ab17d95e4288ab5ddedb7c89a9588c13c74bddMark Andrews lib/dns/include/Makefile
e9ab17d95e4288ab5ddedb7c89a9588c13c74bddMark Andrews lib/dns/include/dns/Makefile
e9ab17d95e4288ab5ddedb7c89a9588c13c74bddMark Andrews lib/dns/sec/Makefile
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User lib/dns/sec/openssl/Makefile
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User lib/dns/sec/openssl/include/Makefile
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User lib/dns/sec/openssl/include/openssl/Makefile
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User lib/dns/sec/dnssafe/Makefile
e9ab17d95e4288ab5ddedb7c89a9588c13c74bddMark Andrews lib/dns/sec/dst/Makefile
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User lib/dns/sec/dst/include/Makefile
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User lib/dns/sec/dst/include/dst/Makefile
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User lib/dns/config/Makefile
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User lib/lwres/Makefile
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User lib/lwres/include/Makefile
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User lib/lwres/include/lwres/Makefile
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User lib/lwres/include/lwres/netdb.h
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User lib/lwres/include/lwres/platform.h
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User lib/omapi/Makefile
e9ab17d95e4288ab5ddedb7c89a9588c13c74bddMark Andrews lib/omapi/include/Makefile
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User lib/omapi/include/omapi/Makefile
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User lib/tests/Makefile
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User lib/tests/include/Makefile
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User lib/tests/include/tests/Makefile
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User bin/named/Makefile
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User bin/named/unix/Makefile
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User bin/lwresd/Makefile
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User bin/rndc/Makefile
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User bin/dig/Makefile
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User bin/tests/Makefile
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User bin/tests/names/Makefile
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User bin/tests/master/Makefile
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User bin/tests/rbt/Makefile
e9ab17d95e4288ab5ddedb7c89a9588c13c74bddMark Andrews bin/tests/db/Makefile
d3be47a4a841ca6fc07e8f18004cf72174e2d117Tinderbox User bin/tests/tasks/Makefile
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User bin/tests/timers/Makefile
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User bin/tests/dst/Makefile
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User bin/tests/mem/Makefile
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User bin/tests/sockaddr/Makefile
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User bin/tests/system/Makefile
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User bin/tests/headerdep_test.sh
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User bin/dnssec/Makefile
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox Userfor ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User # Remove last slash and all that follows it. Not all systems have dirname.
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User # The file is in a subdirectory.
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User # A "../" for each directory in $ac_dir_suffix.
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
e9ab17d95e4288ab5ddedb7c89a9588c13c74bddMark Andrews else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User *) # Relative path.
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
6fe48fb46e53ffc37542853a1edb74cb481b7d94Automatic Updaters%@configure_input@%$configure_input%g
e9ab17d95e4288ab5ddedb7c89a9588c13c74bddMark Andrewss%@top_srcdir@%$top_srcdir%g
e9ab17d95e4288ab5ddedb7c89a9588c13c74bddMark Andrews" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User# NAME is the cpp macro being defined and VALUE is the value it is being given.
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User# ac_d sets the value in "#define NAME VALUE" lines.
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
6fe48fb46e53ffc37542853a1edb74cb481b7d94Automatic Updaterac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox Userif test "${CONFIG_HEADERS+set}" != set; then
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User CONFIG_HEADERS="config.h"
e9ab17d95e4288ab5ddedb7c89a9588c13c74bddMark Andrewsfor ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User# Transform confdefs.h into a sed script conftest.vals that substitutes
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User# the proper values into config.h.in to produce config.h. And first:
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User# Protect against being on the right side of a sed subst in config.status.
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User# Protect against being in an unquoted here document in config.status.
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox Users/[\\&%]/\\&/g
e9ab17d95e4288ab5ddedb7c89a9588c13c74bddMark Andrewss%[\\$`]%\\&%g
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox Users%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
e9ab17d95e4288ab5ddedb7c89a9588c13c74bddMark Andrewssed -n -f conftest.hdr confdefs.h > conftest.vals
e9ab17d95e4288ab5ddedb7c89a9588c13c74bddMark Andrews# This sed command replaces #undef with comments. This is necessary, for
e9ab17d95e4288ab5ddedb7c89a9588c13c74bddMark Andrews# example, in the case of _POSIX_SOURCE, which is predefined and required
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User# on some systems where configure will not decide to define it.
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox Users%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User# Break up conftest.vals because some shells have a limit on
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User# the size of here documents, and old seds have small limits too.
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User # grep -c gives empty output for an empty file on some AIX systems.
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User # Write a limited-size here document to conftest.frag.
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User sed -f conftest.frag conftest.in > conftest.out
e9ab17d95e4288ab5ddedb7c89a9588c13c74bddMark Andrews sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
e9ab17d95e4288ab5ddedb7c89a9588c13c74bddMark Andrews if cmp -s $ac_file conftest.h 2>/dev/null; then
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User # Remove last slash and all that follows it. Not all systems have dirname.
9f6827a4afb75224214ea96452e787e7f710b8b6Tinderbox User if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox Usertest "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1