configure revision 7bb707a34778fc4bd9624d6c5de95675424ea59f
18920d790825d96ca3943aa2dcb6eb80dc611c5fTinderbox User# From configure.in Revision: 1.69
c57668a2fbbe558c1bd21652813616f2f517c469Tinderbox User## libtool.m4 - Configure libtool for the target system. -*-Shell-script-*-
a7c412f37cc73d0332887a746e81220cbf09dd00Mark Andrews## Copyright (C) 1996-1999 Free Software Foundation, Inc.
1f4c645185bd8fc70048e0a69eee46193a284e5cTinderbox 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
a7c412f37cc73d0332887a746e81220cbf09dd00Mark Andrews## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
a7c412f37cc73d0332887a746e81220cbf09dd00Mark Andrews## General Public License for more details.
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews## You should have received a copy of the GNU General Public License
e676a596869d8a80a644c99a848afb53d1c5975eMark Andrews## along with this program; if not, write to the Free Software
e676a596869d8a80a644c99a848afb53d1c5975eMark Andrews## 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
2ae159b376dac23870d8005563c585acf85a4b5aEvan Hunt# AC_LIBLTDL_CONVENIENCE[(dir)] - sets LIBLTDL to the link flags for
95637507c3d47481fbf0a8a8c750a57f944f677fMark Andrews# the libltdl convenience library, adds --enable-ltdl-convenience to
2ae159b376dac23870d8005563c585acf85a4b5aEvan Hunt# 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
950d203b64f512b85fcc093ee1e9e3e531a1aea3Tinderbox User# the configure arguments. Note that LIBLTDL is not AC_SUBSTed, nor
27739dd25026283c24645c8a1044b95ef9eb5ac6Tinderbox 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
18920d790825d96ca3943aa2dcb6eb80dc611c5fTinderbox 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
7a6494cfb6cc7d3f67af07359561e05e6bb8c0edTinderbox User# appropriate in the Makefiles.
0e573cdd111e060e5f6c18249b5ccacbe8abe278Tinderbox User# In the future, this macro may have to be called after AC_PROG_LIBTOOL.
7a6494cfb6cc7d3f67af07359561e05e6bb8c0edTinderbox User# Guess values for system-dependent variables and create Makefiles.
77932ac533c711eca5cd86de4e7eca8d91102b43Tinderbox User# Generated automatically using autoconf version 2.13
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson# This configure script is free software; the Free Software Foundation
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox User# gives unlimited permission to copy, distribute and modify it.
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark Andrews# Any additions from configure.in:
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox User --with-mit-pthreads use the mit-pthreads thread library"
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox User --with-ptl2 use the ptl2 thread library"
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox User --with-libtool use GNU libtool"
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox User --enable-shared[=PKGS] build shared libraries [default=yes]"
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox User --enable-static[=PKGS] build static libraries [default=yes]"
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox User --enable-fast-install[=PKGS] optimize for fast installation [default=yes]"
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox User --with-gnu-ld assume the C compiler uses GNU ld [default=no]"
28a5dd720187fddb16055a0f64b63a7b66f29f64Mark Andrews --disable-libtool-lock avoid locking (might break parallel builds)"
78f3ed4bc2fcd3d270bfd599804f3b27a1db4d91Mark Andrews --enable-ipv6 use IPv6 [default: autodetect]"
0e573cdd111e060e5f6c18249b5ccacbe8abe278Tinderbox User --with-kame[=PATH] use Kame IPv6 [default path /usr/local/v6]"
fd972434c29fc1169d66594e4cc7697d33036c2bTinderbox User# Initialize some variables set by options.
37d8e0a4455876fe1e4cca511076cc2c5ab9eedeTinderbox User# The variables have the same names as the options, with
37d8e0a4455876fe1e4cca511076cc2c5ab9eedeTinderbox User# dashes changed to underlines.
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews# Initialize some other variables.
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews# Maximum number of lines to put in a shell here document.
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox User # If the previous option needs an argument, assign it.
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews if test -n "$ac_prev"; then
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox User eval "$ac_prev=\$ac_option"
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox User -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox User # Accept the important Cygnus configure options, so we can diagnose typos.
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox User -bindir | --bindir | --bindi | --bind | --bin | --bi)
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox User -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews -build=* | --build=* | --buil=* | --bui=* | --bu=*)
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox User -cache-file | --cache-file | --cache-fil | --cache-fi \
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox User | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
5f7586ddbd3edd11272cdd30ed613d936129328bTinderbox User -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
a7c412f37cc73d0332887a746e81220cbf09dd00Mark Andrews ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
a7c412f37cc73d0332887a746e81220cbf09dd00Mark Andrews # Reject names that are not valid shell variable names.
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox User if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
37d8e0a4455876fe1e4cca511076cc2c5ab9eedeTinderbox User { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox User eval "enable_${ac_feature}=no" ;;
015055b6e23f5c08f6a5b34726f90b62597e9e45Tinderbox User ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
8711e5c73ca872d59810760af0332194cbdd619bAutomatic Updater # Reject names that are not valid shell variable names.
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
e676a596869d8a80a644c99a848afb53d1c5975eMark Andrews { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
bc0a53583d92309bebcf93c408e2f3247ebd3d3cAutomatic Updater eval "enable_${ac_feature}='$ac_optarg'" ;;
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
59528addd704f8d5757b54e540520f74e588a7c7Automatic Updater | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
59528addd704f8d5757b54e540520f74e588a7c7Automatic Updater | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater # Obsolete; use --with-gas.
7f94d9a8162c9a96b56e66176702b66e79d8e1a2Automatic Updater # Omit some internal or obsolete options to make the list less imposing.
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater # This message is too long to be a string in the A/UX 3.1 sh.
5ecad47f69b3fd945472ab2900a9ff826a7ce2f6Automatic UpdaterUsage: configure [options] [host]
37d8e0a4455876fe1e4cca511076cc2c5ab9eedeTinderbox UserOptions: [defaults in brackets after descriptions]
91d187ce035f39073f0732ff2a401a45c3c955fbMark AndrewsConfiguration:
c2abd6efeb9affa70aabb63da2acb23e135cf7f2Mark Andrews --cache-file=FILE cache test results in FILE
e21f41f6504b3381be86cbe7f457f9ee1fff947bTinderbox User --help print this message
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox User --no-create do not create output files
96ea71632887c58a9d00f47eb318bf76b35903c3Mark Andrews --quiet, --silent do not print \`checking...' messages
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater --version print the version of autoconf that created configure
9cd5eb6fe0f26d65724b99216cb31dcdd12e4afdAutomatic UpdaterDirectory and file names:
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox User --prefix=PREFIX install architecture-independent files in PREFIX
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox User [$ac_default_prefix]
4cda4fd158d6ded5586bacea8c388445d99611eaAutomatic Updater --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews [same as prefix]
b02be031b9ff37b042adc8e68e36b8bbc1f672b7Tinderbox User --bindir=DIR user executables in DIR [EPREFIX/bin]
0e573cdd111e060e5f6c18249b5ccacbe8abe278Tinderbox User --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater --datadir=DIR read-only architecture-independent data in DIR
4fe0411487e8e4401477684c0a2bac041ca7c2d5Tinderbox User [PREFIX/share]
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews --sharedstatedir=DIR modifiable architecture-independent data in DIR
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews --libdir=DIR object code libraries in DIR [EPREFIX/lib]
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews --includedir=DIR C header files in DIR [PREFIX/include]
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox User --infodir=DIR info documentation in DIR [PREFIX/info]
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox User --mandir=DIR man documentation in DIR [PREFIX/man]
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater --srcdir=DIR find the sources in DIR [configure dir or ..]
a7c412f37cc73d0332887a746e81220cbf09dd00Mark Andrews --program-prefix=PREFIX prepend PREFIX to installed program names
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews --program-suffix=SUFFIX append SUFFIX to installed program names
da59e63e7af147a8bcef985b98b04443e04c3a0eTinderbox User --program-transform-name=PROGRAM
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox User run sed PROGRAM on installed program names
e676a596869d8a80a644c99a848afb53d1c5975eMark Andrews --build=BUILD configure for building on BUILD [BUILD=HOST]
757ff043760e4743dda1a10e7d58349275934902Tinderbox User --host=HOST configure for HOST [guessed]
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater --target=TARGET configure for TARGET [TARGET=HOST]
cf7e98f59148b559946a7f1ca728471374f1eef3Automatic UpdaterFeatures and packages:
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews --x-includes=DIR X include files are in DIR
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews --x-libraries=DIR X library files are in DIR
757ff043760e4743dda1a10e7d58349275934902Tinderbox User if test -n "$ac_help"; then
4fe0411487e8e4401477684c0a2bac041ca7c2d5Tinderbox User echo "--enable and --with options recognized:$ac_help"
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson -includedir | --includedir | --includedi | --included | --include \
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox User -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
8292deab031e7599cd7622aa7675fbe139ca6095Mark Andrews -infodir | --infodir | --infodi | --infod | --info | --inf)
39cad8fb7d7ff3436bb24ce761354afcb80d295aMark Andrews -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews -localstatedir | --localstatedir | --localstatedi | --localstated \
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews | --localstate | --localstat | --localsta | --localst \
e8fc8c884b44371784805e1e0d3100da403dd3f1Automatic Updater -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews | --localstate=* | --localstat=* | --localsta=* | --localst=* \
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark 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 \
b30ec46fec40a1b246f7965fbcd341fc6cfd1cc1Mark Andrews | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
0e573cdd111e060e5f6c18249b5ccacbe8abe278Tinderbox User -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
01a5c5503482fb3ba52088bf0178a7213273bf96Mark Andrews | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
95c3a5e116c1da135f669c3f15398172fac6279dMark Andrews | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
d7d105151a78d35afb4233d2a6dbd47b7ec0d9a5Tinderbox User -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
015055b6e23f5c08f6a5b34726f90b62597e9e45Tinderbox User -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews -program-prefix | --program-prefix | --program-prefi | --program-pref \
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox User | --program-pre | --program-pr | --program-p)
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews -program-prefix=* | --program-prefix=* | --program-prefi=* \
0e573cdd111e060e5f6c18249b5ccacbe8abe278Tinderbox User | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews -program-suffix | --program-suffix | --program-suffi | --program-suff \
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater | --program-suf | --program-su | --program-s)
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews -program-suffix=* | --program-suffix=* | --program-suffi=* \
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson | --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- \
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington -program-transform-name=* | --program-transform-name=* \
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington | --program-transform-nam=* | --program-transform-na=* \
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews | --program-transform-n=* | --program-transform-=* \
91d187ce035f39073f0732ff2a401a45c3c955fbMark 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)
a5636b773fa05a272b6876afd99309c0b3090e2fMark Andrews -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
a5636b773fa05a272b6876afd99309c0b3090e2fMark Andrews -sharedstatedir | --sharedstatedir | --sharedstatedi \
f7369b2881b5e63d69600adcedc8ba938303d30cTinderbox User | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
f7369b2881b5e63d69600adcedc8ba938303d30cTinderbox User | --sharedst | --shareds | --shared | --share | --shar \
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington | --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.
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews eval "with_${ac_package}=no" ;;
22d32791e5daa0bc80335a0f10ab2de95f41ccdbTinderbox User # 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=* \
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox User | --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=*)
c11c7b47726c02eb05e29ff7be56a3343146e396Tinderbox User -*) { 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
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater# 3 some systems may open it to /dev/tty
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater# 4 used on the Kubota Titan
febbdb34a7f7759922e239655e7429d78d3a8d26Tinderbox User# 6 checking for... messages and results
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater# 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.
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater# Strip out --no-create and --no-recursion so they do not pile up.
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater# Also quote any args containing shell metacharacters.
e20309353e6246485c521278131d3fced73d7957Tinderbox User -no-create | --no-create | --no-creat | --no-crea | --no-cre \
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington -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
7adcb4de92bf4383a4c5624c4ed256736d02bc6dMark Andrews# confdefs.h avoids OS command line length limits that DEFS can exceed.
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# 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
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews # 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=.
7adcb4de92bf4383a4c5624c4ed256736d02bc6dMark Andrews { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington { 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
b7aab05edae933e169d5f83c653935b17c7f0a8bMark Andrews 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"
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington if test -r "$ac_site_file"; then
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington echo "loading site script $ac_site_file"
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox Userif test -r "$cache_file"; then
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews 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
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrewsfor ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updaterif test -z "$ac_aux_dir"; then
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
7adcb4de92bf4383a4c5624c4ed256736d02bc6dMark Andrewsac_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:672: 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/'`
536da846f6cc03ad8abbb8bb9d5d8a6f607b8c33Mark Andrewshost_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox Userecho $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrewsecho "configure:694: checking whether ${MAKE-make} sets \${MAKE}" >&5
757ff043760e4743dda1a10e7d58349275934902Tinderbox Userset dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrewsif eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews @echo 'ac_maketemp="${MAKE}"'
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
22d32791e5daa0bc80335a0f10ab2de95f41ccdbTinderbox Usereval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
da59e63e7af147a8bcef985b98b04443e04c3a0eTinderbox Userif test -n "$ac_maketemp"; then
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrewsif eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
cc5a9ce75af9870f2cb9e2bf00548c2f7e6398d6Automatic Updater# Extract the first word of "ranlib", so it can be a program name with args.
ec8755f605d7dcb2de1076040e77bc2d7ec33b4aTinderbox Userecho $ac_n "checking for $ac_word""... $ac_c" 1>&6
609b8d08176469485edce25f3c2f50365bbd3819Mark Andrewsif 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.
10702d681eb650391bcaa0e2704aa3cf2dbf0e98Mark Andrews test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
10702d681eb650391bcaa0e2704aa3cf2dbf0e98Mark Andrewsif test -n "$RANLIB"; then
e8c17c74535be290abaaa160a434ed80bf0ad2feMark Andrews# Find a good install program. We prefer a C program (faster),
93089a352d6903b0d7845a039de4ec2df9a0e35aTinderbox User# so one script is as good as another. But avoid the broken or
665ba746c0585088d0c314dcfc4671aa2c7b2dc1Automatic Updater# incompatible versions:
5ee9f7f23852d92772c08ca6e4b46c549beaf660Mark Andrews# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox User# AFS /usr/afsws/bin/install, which mishandles nonexistent args
44e3b272904bfd85556771d30cf1bc6fa539dd03Automatic Updater# 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:762: 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
bbc0e1c4f47f101c4a64db3469352c49a49e734fTinderbox User # removed, or if the path is relative.
015055b6e23f5c08f6a5b34726f90b62597e9e45Tinderbox User# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3040b455151b1e1173193933664b2891b6159f24Mark Andrews# It thinks the first close brace ends the variable substitution.
3040b455151b1e1173193933664b2891b6159f24Mark Andrewstest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
ff8ec39ce4afc2d774ce99f2386474d2c8539cd4Automatic Updatertest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
bf8c3776f1bf1a1270e5e0443ae5a8df022632a8Mark Andrewstest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
e9e4257668ff6c4e583b0c0db2508650b0b677b8Tinderbox User# Extract the first word of "ar", so it can be a program name with args.
ec8755f605d7dcb2de1076040e77bc2d7ec33b4aTinderbox Userecho $ac_n "checking for $ac_word""... $ac_c" 1>&6
4ea3649f028ea6a1e42377082a7ccf8f789fb950Automatic Updaterecho "configure:825: checking for $ac_word" >&5
40072ce70bc4125329addb4aaa56d18a1230bc17Automatic Updaterif 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.
31a540386a9abaf681d8952f1b2cdf5c75a0ba6cAutomatic Updater ac_cv_path_AR="$AR" # Let the user override the test with a dos path.
ff8ec39ce4afc2d774ce99f2386474d2c8539cd4Automatic Updater IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
a308b69ac66fadf66863484f301314d6e6a3f1d2Automatic Updaterif test -n "$AR"; then
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
fa0326cc2cf428f67575b6ba3b97b528a31b0010Tinderbox User if test -f "$ac_dir/cc"; then
05d81eae94425a5124e07626af4bcc178960bd0eMark Andrews echo $ac_n "checking which thread library to use""... $ac_c" 1>&6
05d81eae94425a5124e07626af4bcc178960bd0eMark Andrewsecho "configure:898: checking which thread library to use" >&5
05d81eae94425a5124e07626af4bcc178960bd0eMark Andrews # Check whether --with-mit-pthreads or --without-mit-pthreads was given.
05d81eae94425a5124e07626af4bcc178960bd0eMark Andrewsif test "${with_mit_pthreads+set}" = set; then
789875a1bd6d50c00d3bd883cad17ead1d3c21cdMark Andrews # Check whether --with-ptl2 or --without-ptl2 was given.
a7c412f37cc73d0332887a746e81220cbf09dd00Mark Andrewsif test "${with_ptl2+set}" = set; then
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater { echo "configure: error: no thread library.
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic UpdaterPlease choose a thread library using one of
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater configure --with-mit-pthreads
fd7c65dce9c2b1a3d12ca4df9074cd38019fdb5fAutomatic Updater configure --with-ptl2
e676a596869d8a80a644c99a848afb53d1c5975eMark Andrews# Extract the first word of "gcc", so it can be a program name with args.
e676a596869d8a80a644c99a848afb53d1c5975eMark Andrewsecho $ac_n "checking for $ac_word""... $ac_c" 1>&6
be0d1ec971748020cb0382e02b4642b493ea1e7bTinderbox Userecho "configure:961: checking for $ac_word" >&5
be0d1ec971748020cb0382e02b4642b493ea1e7bTinderbox Userif eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8e86e8a779f37378fdb85a92c4ba77e394013729Tinderbox User if test -n "$CC"; then
be0d1ec971748020cb0382e02b4642b493ea1e7bTinderbox User ac_cv_prog_CC="$CC" # Let the user override the test.
b30ec46fec40a1b246f7965fbcd341fc6cfd1cc1Mark Andrewsif test -n "$CC"; then
b30ec46fec40a1b246f7965fbcd341fc6cfd1cc1Mark Andrewsif test -z "$CC"; then
b30ec46fec40a1b246f7965fbcd341fc6cfd1cc1Mark Andrews # Extract the first word of "cc", so it can be a program name with args.
b30ec46fec40a1b246f7965fbcd341fc6cfd1cc1Mark Andrewsecho $ac_n "checking for $ac_word""... $ac_c" 1>&6
b30ec46fec40a1b246f7965fbcd341fc6cfd1cc1Mark Andrewsif eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
95c3a5e116c1da135f669c3f15398172fac6279dMark Andrews if test -n "$CC"; then
95c3a5e116c1da135f669c3f15398172fac6279dMark Andrews ac_cv_prog_CC="$CC" # Let the user override the test.
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox User if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
3f38b58ba4f674afd883eef5d976a7d4e0502673Tinderbox User # We found a bogon in the path, so make sure we never use it.
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater # We chose a different compiler from the bogus one.
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater # However, it has the same basename, so the bogon will be chosen
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater # first if we set CC to just the basename; use the full file name.
3040b455151b1e1173193933664b2891b6159f24Mark Andrewsif test -n "$CC"; then
48b36fa08b2b5bc0d552dc2a4425b3f7007b3d59Automatic Updater if test -z "$CC"; then
7f814b8b164ae04916a8487cdc5e88ee3ff51a58Automatic Updater # Extract the first word of "cl", so it can be a program name with args.
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updaterecho $ac_n "checking for $ac_word""... $ac_c" 1>&6
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updaterecho "configure:1042: checking for $ac_word" >&5
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updaterif eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
e9e4257668ff6c4e583b0c0db2508650b0b677b8Tinderbox User if test -n "$CC"; then
48b36fa08b2b5bc0d552dc2a4425b3f7007b3d59Automatic Updater ac_cv_prog_CC="$CC" # Let the user override the test.
7f814b8b164ae04916a8487cdc5e88ee3ff51a58Automatic Updater IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox Userif test -n "$CC"; then
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox User test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
3040b455151b1e1173193933664b2891b6159f24Mark Andrewsecho $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8711e5c73ca872d59810760af0332194cbdd619bAutomatic Updaterecho "configure:1074: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
b6561016dc8a813bfd91cef5b876b3dfc3f08ffaTinderbox User# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8d8f9f7f86a33a155dd74b9b2c1317afca555d54Evan Huntac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3040b455151b1e1173193933664b2891b6159f24Mark Andrewsac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
e5bf83fe0bbca838a0749e9071bd76d9ee0fb59bFrancis Dupont#line 1085 "configure"
e5bf83fe0bbca838a0749e9071bd76d9ee0fb59bFrancis Dupont#include "confdefs.h"
e5bf83fe0bbca838a0749e9071bd76d9ee0fb59bFrancis Dupontmain(){return(0);}
3040b455151b1e1173193933664b2891b6159f24Mark Andrewsif { (eval echo configure:1090: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
ead8aa3182c5805fccb6c7c1636cede6a24a5fc1Automatic Updater # If we can't run a trivial program, we are probably using a cross compiler.
2ba8f584b97cbab864570e38fd26b8cb90961428Tinderbox User# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ead8aa3182c5805fccb6c7c1636cede6a24a5fc1Automatic Updaterac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3040b455151b1e1173193933664b2891b6159f24Mark Andrewsac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
536da846f6cc03ad8abbb8bb9d5d8a6f607b8c33Mark Andrews { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
3040b455151b1e1173193933664b2891b6159f24Mark Andrewsecho $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox Userecho "configure:1116: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
44e3b272904bfd85556771d30cf1bc6fa539dd03Automatic Updaterecho $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
665ba746c0585088d0c314dcfc4671aa2c7b2dc1Automatic Updaterecho "configure:1121: checking whether we are using GNU C" >&5
7af91d15b2ce1ce32f7320f6d5cc3b83621c241aAutomatic Updaterif eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
7fdbd6fc9df8728852ccaecb2d66241ab96a4084Tinderbox User#ifdef __GNUC__
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updaterif { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1130: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updaterecho $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
ff8ec39ce4afc2d774ce99f2386474d2c8539cd4Automatic Updaterecho "configure:1149: checking whether ${CC-cc} accepts -g" >&5
af9cf290cea6ada6ce27b51c724ab77ad5d73fa0Tinderbox Userif eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
7af91d15b2ce1ce32f7320f6d5cc3b83621c241aAutomatic Updaterif test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
4104e236f71eb5108fcfda6711878a97f6f4a8e7Automatic Updaterif test "$ac_test_CFLAGS" = set; then
fd7c65dce9c2b1a3d12ca4df9074cd38019fdb5fAutomatic Updater# Extract the first word of "$ac_prog", so it can be a program name with args.
e20309353e6246485c521278131d3fced73d7957Tinderbox Userecho $ac_n "checking for $ac_word""... $ac_c" 1>&6
e20309353e6246485c521278131d3fced73d7957Tinderbox Userecho "configure:1185: checking for $ac_word" >&5
e20309353e6246485c521278131d3fced73d7957Tinderbox Userif eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
f8a9a38ee40c139a8d145ac76ecbff3a0f986453Mark Andrews if test -n "$YACC"; then
e628576d3b3d91c8954679077f4c208f1e43b433Automatic Updater ac_cv_prog_YACC="$YACC" # Let the user override the test.
91d187ce035f39073f0732ff2a401a45c3c955fbMark Andrewsif test -n "$YACC"; then
91d187ce035f39073f0732ff2a401a45c3c955fbMark Andrewstest -n "$YACC" && break
91d187ce035f39073f0732ff2a401a45c3c955fbMark Andrewsecho $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
3040b455151b1e1173193933664b2891b6159f24Mark Andrewsecho "configure:1217: checking how to run the C preprocessor" >&5
a80993946f29ff39df38818ee9b2e58a4e46cb7eTinderbox User# On Suns, sometimes $CPP names a directory.
a80993946f29ff39df38818ee9b2e58a4e46cb7eTinderbox Userif test -z "$CPP"; then
a80993946f29ff39df38818ee9b2e58a4e46cb7eTinderbox Userif eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
a80993946f29ff39df38818ee9b2e58a4e46cb7eTinderbox User # This must be in double quotes, not single quotes, because CPP may get
61932ed91732417e05c8c6fd335acf1be896c778Mark Andrews # substituted into the Makefile and "${CC-cc}" will confuse make.
a80993946f29ff39df38818ee9b2e58a4e46cb7eTinderbox User # On the NeXT, cc -E runs the code through the compiler's parser,
3040b455151b1e1173193933664b2891b6159f24Mark Andrews # not just through cpp.
3349f0044fda807e1fd6681c833d3593a22dad86Tinderbox User#line 1232 "configure"
3040b455151b1e1173193933664b2891b6159f24Mark Andrews#include "confdefs.h"
3349f0044fda807e1fd6681c833d3593a22dad86Tinderbox User#include <assert.h>
e80c7005e3d59dfeb04dad186d36f3c15622954cTinderbox Userac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
182bfea3ae9912f6d5e2f4fe3e13737719e06f97Tinderbox User{ (eval echo configure:1238: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
182bfea3ae9912f6d5e2f4fe3e13737719e06f97Tinderbox Userac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
182bfea3ae9912f6d5e2f4fe3e13737719e06f97Tinderbox Userif test -z "$ac_err"; then
08190bd4d89153cee463b34f9233ad6dd88965fcMark Andrews#line 1249 "configure"
015055b6e23f5c08f6a5b34726f90b62597e9e45Tinderbox User#include "confdefs.h"
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox User#include <assert.h>
48dfee71508886d86fe8fb12f91961b5daf3141dMark Andrewsac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
48dfee71508886d86fe8fb12f91961b5daf3141dMark Andrews{ (eval echo configure:1255: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
48dfee71508886d86fe8fb12f91961b5daf3141dMark Andrewsac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
48dfee71508886d86fe8fb12f91961b5daf3141dMark Andrewsif test -z "$ac_err"; then
48dfee71508886d86fe8fb12f91961b5daf3141dMark Andrews#line 1266 "configure"
1368e4b34cef64604c874fcc40201c78e548714cTinderbox User#include "confdefs.h"
e9e4257668ff6c4e583b0c0db2508650b0b677b8Tinderbox User#include <assert.h>
3040b455151b1e1173193933664b2891b6159f24Mark Andrewsac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8f2c45a35dd8c40bcc9caba8f7d40ce64fc27bcdAutomatic Updater{ (eval echo configure:1272: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
f09f1bf18e3ad40a0e8a6cc3dabf1c11f04992cbMark Andrewsac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8f2c45a35dd8c40bcc9caba8f7d40ce64fc27bcdAutomatic Updaterif test -z "$ac_err"; then
10702d681eb650391bcaa0e2704aa3cf2dbf0e98Mark Andrewsecho $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
10702d681eb650391bcaa0e2704aa3cf2dbf0e98Mark Andrewsecho "configure:1297: checking for ANSI C header files" >&5
10702d681eb650391bcaa0e2704aa3cf2dbf0e98Mark Andrewsif eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater#line 1302 "configure"
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington#include "confdefs.h"
169f44b082b340b952e26c0fdb930c102a957752Mark Andrews#include <stdlib.h>
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater#include <stdarg.h>
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater#include <string.h>
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater#include <float.h>
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updaterac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
e007e3e5b0316c6c05698a71101885743aca22bdAutomatic Updater{ (eval echo configure:1310: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
e007e3e5b0316c6c05698a71101885743aca22bdAutomatic Updaterac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
169f44b082b340b952e26c0fdb930c102a957752Mark Andrewsif test -z "$ac_err"; then
8e5fce1f9ceba17dd7e3ff0eb287e1e999c14249Mark Andrews # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8e5fce1f9ceba17dd7e3ff0eb287e1e999c14249Mark Andrews#line 1327 "configure"
8e5fce1f9ceba17dd7e3ff0eb287e1e999c14249Mark Andrews#include "confdefs.h"
8e5fce1f9ceba17dd7e3ff0eb287e1e999c14249Mark Andrews#include <string.h>
180319f572fb6c1ca7000d22ea79a8dd77ae3f91Evan Hunt # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
1a63fb1d1448ed3f8fd7227ae57be67c2e71279eMark Andrews#line 1345 "configure"
7019b0441a234153dde155622c405960b0d35946Tinderbox User#include "confdefs.h"
180319f572fb6c1ca7000d22ea79a8dd77ae3f91Evan Hunt#include <stdlib.h>
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater#line 1366 "configure"
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater#include "confdefs.h"
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox User#include <ctype.h>
fa0326cc2cf428f67575b6ba3b97b528a31b0010Tinderbox User#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7adcb4de92bf4383a4c5624c4ed256736d02bc6dMark Andrews#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3040b455151b1e1173193933664b2891b6159f24Mark Andrewsint main () { int i; for (i = 0; i < 256; i++)
95cfad51a3f71246d263af79a7861a6821f7a0beAutomatic Updaterif (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
61932ed91732417e05c8c6fd335acf1be896c778Mark Andrewsif { (eval echo configure:1377: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5ecad47f69b3fd945472ab2900a9ff826a7ce2f6Automatic Updater#define STDC_HEADERS 1
d58e33bfabfee19a035031dac633d36659738d56Evan Huntfor ac_hdr in fcntl.h sys/time.h unistd.h sys/sockio.h netinet6/in6.h
82447d835d3ff5c658749b4e9b4f66166407b3eaAutomatic Updaterecho $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
18920d790825d96ca3943aa2dcb6eb80dc611c5fTinderbox Userecho "configure:1404: checking for $ac_hdr" >&5
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox Userif eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2fd1e3918971180155c10d09454a277f015daecaAutomatic Updater#line 1409 "configure"
18920d790825d96ca3943aa2dcb6eb80dc611c5fTinderbox User#include "confdefs.h"
2fd1e3918971180155c10d09454a277f015daecaAutomatic Updater#include <$ac_hdr>
e9e4257668ff6c4e583b0c0db2508650b0b677b8Tinderbox Userac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3040b455151b1e1173193933664b2891b6159f24Mark Andrews{ (eval echo configure:1414: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18920d790825d96ca3943aa2dcb6eb80dc611c5fTinderbox Userac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18920d790825d96ca3943aa2dcb6eb80dc611c5fTinderbox Userif test -z "$ac_err"; then
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington eval "ac_cv_header_$ac_safe=yes"
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater eval "ac_cv_header_$ac_safe=no"
e9e4257668ff6c4e583b0c0db2508650b0b677b8Tinderbox Userif eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
e21f41f6504b3381be86cbe7f457f9ee1fff947bTinderbox User ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
e9e4257668ff6c4e583b0c0db2508650b0b677b8Tinderbox User#define $ac_tr_hdr 1
a5636b773fa05a272b6876afd99309c0b3090e2fMark Andrewsecho $ac_n "checking for working const""... $ac_c" 1>&6
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updaterecho "configure:1442: checking for working const" >&5
e062b72f783cdb436a1a57a630bdff471dbb3038Mark Andrewsif eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater#line 1447 "configure"
d145b64cacc8d9cda51f9924ec70cd4661c3e2cfAutomatic Updater#include "confdefs.h"
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox User/* Ultrix mips cc rejects this. */
cc17f4a672fc4ce67327902dd797c4465f12c4c9Mark Andrewstypedef int charset[2]; const charset x;
cc17f4a672fc4ce67327902dd797c4465f12c4c9Mark Andrews/* SunOS 4.1.1 cc rejects this. */
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updaterchar const *const *ccp;
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater/* NEC SVR4.0.2 mips cc rejects this. */
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updaterstruct point {int x, y;};
2cdbfcdad94eba75f3f8e77343a0eefabf553b8eAutomatic Updaterstatic struct point const zero = {0,0};
2cdbfcdad94eba75f3f8e77343a0eefabf553b8eAutomatic Updater/* AIX XL C 1.02.0.0 rejects this.
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox User 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 */
3040b455151b1e1173193933664b2891b6159f24Mark Andrewsconst char *g = "string";
7fdbd6fc9df8728852ccaecb2d66241ab96a4084Tinderbox Userccp = &g + (g ? g-g : 0);
52cfbde0bd391cfb37e3c1a1b460c16ba6bf1a73Automatic Updater/* HPUX 7.0 cc rejects these. */
5f7586ddbd3edd11272cdd30ed613d936129328bTinderbox Userp = (char**) ccp;
24e0e8d17df315d5d494ca933874e545eadce773Automatic Updaterccp = (char const *const *) p;
4fda24d843edac463c98785ec0c850d912592dc1Tinderbox User{ /* SCO 3.2v4 cc rejects this. */
d58e33bfabfee19a035031dac633d36659738d56Evan Hunt char const *s = 0 ? (char *) 0 : (char const *) 0;
3040b455151b1e1173193933664b2891b6159f24Mark Andrews{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
31a540386a9abaf681d8952f1b2cdf5c75a0ba6cAutomatic Updater int x[] = {25, 17};
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews const int *foo = &x[0];
11b6b0d74bb8dd6bd1ce0b60ba7f9b66323f06d4Tinderbox User{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater typedef const int *iptr;
601c1908d06375f5dea00ab98671a6c934d8a840Automatic Updater{ /* AIX XL C 1.02.0.0 rejects this saying
601c1908d06375f5dea00ab98671a6c934d8a840Automatic Updater "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
11b6b0d74bb8dd6bd1ce0b60ba7f9b66323f06d4Tinderbox User struct s { int j; const int *ap[3]; };
11b6b0d74bb8dd6bd1ce0b60ba7f9b66323f06d4Tinderbox User struct s *b; b->j = 5;
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox User{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
11b6b0d74bb8dd6bd1ce0b60ba7f9b66323f06d4Tinderbox User const int foo = 10;
3040b455151b1e1173193933664b2891b6159f24Mark Andrewsif { (eval echo configure:1496: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d58e33bfabfee19a035031dac633d36659738d56Evan Hunt#define const
a5636b773fa05a272b6876afd99309c0b3090e2fMark Andrewsecho $ac_n "checking for inline""... $ac_c" 1>&6
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox Userif eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
f9119ad8f6114b2255e7545bf5cd187f4db0a89bAutomatic Updater#line 1524 "configure"
f9119ad8f6114b2255e7545bf5cd187f4db0a89bAutomatic Updater#include "confdefs.h"
c95f536d78842fbc8ebcef653d88e1f2270054f8Automatic Updater} $ac_kw foo() {
c95f536d78842fbc8ebcef653d88e1f2270054f8Automatic Updaterif { (eval echo configure:1531: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews#define inline
3040b455151b1e1173193933664b2891b6159f24Mark Andrews#define inline $ac_cv_c_inline
6fe48fb46e53ffc37542853a1edb74cb481b7d94Automatic Updaterecho $ac_n "checking for size_t""... $ac_c" 1>&6
6fe48fb46e53ffc37542853a1edb74cb481b7d94Automatic Updaterecho "configure:1557: checking for size_t" >&5
6fe48fb46e53ffc37542853a1edb74cb481b7d94Automatic Updaterif eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
6fe48fb46e53ffc37542853a1edb74cb481b7d94Automatic Updater#line 1562 "configure"
3040b455151b1e1173193933664b2891b6159f24Mark Andrews#include "confdefs.h"
560d6da48f066000541dd43f5d407644dee12bebTinderbox User#include <sys/types.h>
560d6da48f066000541dd43f5d407644dee12bebTinderbox User#if STDC_HEADERS
9bc394fffdd50f6e47614b2d317da7274122366fTinderbox User#include <stdlib.h>
d58e33bfabfee19a035031dac633d36659738d56Evan Hunt#include <stddef.h>
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox User egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
2c1632c71e2f4d8afa35efce3080b31602a6608cTinderbox User#define size_t unsigned
90b25b84f037ec923efaee84d2c0dc599293d04eTinderbox Userecho $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updaterecho "configure:1590: checking whether time.h and sys/time.h may both be included" >&5
e0bf4fc289705375be65c05a8fb085d514a98c97Tinderbox Userif eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
a6e1f63f50af688610ebd2521ba7f028767b51f3Mark Andrews#line 1595 "configure"
2cdbfcdad94eba75f3f8e77343a0eefabf553b8eAutomatic Updater#include "confdefs.h"
d7d105151a78d35afb4233d2a6dbd47b7ec0d9a5Tinderbox User#include <sys/types.h>
d7d105151a78d35afb4233d2a6dbd47b7ec0d9a5Tinderbox User#include <sys/time.h>
f42fc714eda962112e45b904d1f846c61a080114Automatic Updater#include <time.h>
d7d105151a78d35afb4233d2a6dbd47b7ec0d9a5Tinderbox Userstruct tm *tp;
d7d105151a78d35afb4233d2a6dbd47b7ec0d9a5Tinderbox Userif { (eval echo configure:1604: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d7d105151a78d35afb4233d2a6dbd47b7ec0d9a5Tinderbox User#define TIME_WITH_SYS_TIME 1
e9e4257668ff6c4e583b0c0db2508650b0b677b8Tinderbox Userecho $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
82a986aaa5d3384a541b5a7d6dae8cf0726d6513Tinderbox Userecho "configure:1626: checking for pthread_create in -lpthread" >&5
6ce070d74c160218ee6c864e75235a4f535320c3Tinderbox Userac_lib_var=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
3040b455151b1e1173193933664b2891b6159f24Mark Andrewsif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
609b8d08176469485edce25f3c2f50365bbd3819Mark Andrews#line 1634 "configure"
609b8d08176469485edce25f3c2f50365bbd3819Mark Andrews#include "confdefs.h"
e8e87ede5c36b95806c77bcd34894ad9c4b39a78Tinderbox User/* Override any gcc2 internal prototype to avoid an error. */
e8e87ede5c36b95806c77bcd34894ad9c4b39a78Tinderbox User/* We use char because int might match the return type of a gcc2
e8e87ede5c36b95806c77bcd34894ad9c4b39a78Tinderbox User builtin and then its argument prototype would still apply. */
609b8d08176469485edce25f3c2f50365bbd3819Mark Andrewschar pthread_create();
609b8d08176469485edce25f3c2f50365bbd3819Mark Andrewspthread_create()
609b8d08176469485edce25f3c2f50365bbd3819Mark Andrews; return 0; }
609b8d08176469485edce25f3c2f50365bbd3819Mark Andrewsif { (eval echo configure:1645: \"$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"
609b8d08176469485edce25f3c2f50365bbd3819Mark Andrews eval "ac_cv_lib_$ac_lib_var=no"
ac5ed748602c890d596bed07b0b23b8b5f42b2f6Mark Andrewsif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
609b8d08176469485edce25f3c2f50365bbd3819Mark Andrews ac_tr_lib=HAVE_LIB`echo pthread | sed -e 's/[^a-zA-Z0-9_]/_/g' \
609b8d08176469485edce25f3c2f50365bbd3819Mark Andrews -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
609b8d08176469485edce25f3c2f50365bbd3819Mark Andrews#define $ac_tr_lib 1
4fe0411487e8e4401477684c0a2bac041ca7c2d5Tinderbox Userecho $ac_n "checking for __pthread_create in -lpthread""... $ac_c" 1>&6
015f044f7f916eb18d053f2e5dcbee481425bc66Mark Andrewsecho "configure:1671: checking for __pthread_create in -lpthread" >&5
e7d35dad55e8deae14f29aabfb20d540b4b6ab3dMark Andrewsac_lib_var=`echo pthread'_'__pthread_create | sed 'y%./+-%__p_%'`
015f044f7f916eb18d053f2e5dcbee481425bc66Mark Andrewsif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
609b8d08176469485edce25f3c2f50365bbd3819Mark Andrews#line 1679 "configure"
609b8d08176469485edce25f3c2f50365bbd3819Mark Andrews#include "confdefs.h"
609b8d08176469485edce25f3c2f50365bbd3819Mark Andrews/* Override any gcc2 internal prototype to avoid an error. */
609b8d08176469485edce25f3c2f50365bbd3819Mark Andrews/* We use char because int might match the return type of a gcc2
609b8d08176469485edce25f3c2f50365bbd3819Mark Andrews builtin and then its argument prototype would still apply. */
609b8d08176469485edce25f3c2f50365bbd3819Mark Andrewschar __pthread_create();
609b8d08176469485edce25f3c2f50365bbd3819Mark Andrews__pthread_create()
7e1a8f402e3881388db37152f71c698cb1f1c426Mark Andrewsif { (eval echo configure:1690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7e1a8f402e3881388db37152f71c698cb1f1c426Mark 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
fd7c65dce9c2b1a3d12ca4df9074cd38019fdb5fAutomatic Updater echo $ac_n "checking for __pthread_create_system in -lpthread""... $ac_c" 1>&6
16f6050f29b6b0422cee858e609f65e474e70ef2Tinderbox Userecho "configure:1718: checking for __pthread_create_system in -lpthread" >&5
3a988722ad9e209ba4064604d482dc4efe0e19ebTinderbox Userac_lib_var=`echo pthread'_'__pthread_create_system | sed 'y%./+-%__p_%'`
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrewsif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
351eca011cf38fd3272b325029afce144a9a1ebaMark Andrews#line 1726 "configure"
351eca011cf38fd3272b325029afce144a9a1ebaMark Andrews#include "confdefs.h"
351eca011cf38fd3272b325029afce144a9a1ebaMark 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. */
3040b455151b1e1173193933664b2891b6159f24Mark Andrewschar __pthread_create_system();
351eca011cf38fd3272b325029afce144a9a1ebaMark Andrews__pthread_create_system()
351eca011cf38fd3272b325029afce144a9a1ebaMark Andrews; return 0; }
351eca011cf38fd3272b325029afce144a9a1ebaMark Andrewsif { (eval echo configure:1737: \"$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"
8aa098c6334de11c8fd117d30851cc457813c410Mark Andrewsif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8aa098c6334de11c8fd117d30851cc457813c410Mark Andrews ac_tr_lib=HAVE_LIB`echo pthread | sed -e 's/^a-zA-Z0-9_/_/g' \
8aa098c6334de11c8fd117d30851cc457813c410Mark Andrews -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
8aa098c6334de11c8fd117d30851cc457813c410Mark Andrews#define $ac_tr_lib 1
e676a596869d8a80a644c99a848afb53d1c5975eMark Andrews echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
e676a596869d8a80a644c99a848afb53d1c5975eMark Andrewsecho "configure:1771: checking for pthread_create in -lc_r" >&5
e676a596869d8a80a644c99a848afb53d1c5975eMark Andrewsac_lib_var=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
ff8ec39ce4afc2d774ce99f2386474d2c8539cd4Automatic Updaterif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox User#line 1779 "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
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox User builtin and then its argument prototype would still apply. */
9a5217f827ac0e006016745e5305b31dc0c7767fTinderbox Userchar pthread_create();
9c2cf9e2017e6dd196e3b866808f32c6206eeedcMark Andrewspthread_create()
a5636b773fa05a272b6876afd99309c0b3090e2fMark Andrews; return 0; }
3040b455151b1e1173193933664b2891b6159f24Mark Andrewsif { (eval echo configure:1790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8aa53dcb1d26277e8e805464bfff7bb7136f60cbAutomatic Updater 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 ac_tr_lib=HAVE_LIB`echo c_r | sed -e 's/[^a-zA-Z0-9_]/_/g' \
8aa53dcb1d26277e8e805464bfff7bb7136f60cbAutomatic Updater -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
8aa53dcb1d26277e8e805464bfff7bb7136f60cbAutomatic Updater#define $ac_tr_lib 1
8aa53dcb1d26277e8e805464bfff7bb7136f60cbAutomatic Updaterecho $ac_n "checking for sigwait in -lpthread""... $ac_c" 1>&6
d58e33bfabfee19a035031dac633d36659738d56Evan Huntecho "configure:1821: checking for sigwait in -lpthread" >&5
3040b455151b1e1173193933664b2891b6159f24Mark Andrewsac_lib_var=`echo pthread'_'sigwait | sed 'y%./+-%__p_%'`
a5636b773fa05a272b6876afd99309c0b3090e2fMark Andrewsif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1368e4b34cef64604c874fcc40201c78e548714cTinderbox User#line 1829 "configure"
1368e4b34cef64604c874fcc40201c78e548714cTinderbox User#include "confdefs.h"
1368e4b34cef64604c874fcc40201c78e548714cTinderbox User/* Override any gcc2 internal prototype to avoid an error. */
e9e4257668ff6c4e583b0c0db2508650b0b677b8Tinderbox User/* We use char because int might match the return type of a gcc2
1368e4b34cef64604c874fcc40201c78e548714cTinderbox User builtin and then its argument prototype would still apply. */
3040b455151b1e1173193933664b2891b6159f24Mark Andrewschar sigwait();
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updaterif { (eval echo configure:1840: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
fd7c65dce9c2b1a3d12ca4df9074cd38019fdb5fAutomatic Updater eval "ac_cv_lib_$ac_lib_var=yes"
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox User eval "ac_cv_lib_$ac_lib_var=no"
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updaterif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
a5636b773fa05a272b6876afd99309c0b3090e2fMark Andrews#define HAVE_SIGWAIT 1
3040b455151b1e1173193933664b2891b6159f24Mark Andrewsecho $ac_n "checking for _Psigwait in -lpthread""... $ac_c" 1>&6
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrewsecho "configure:1862: checking for _Psigwait in -lpthread" >&5
3040b455151b1e1173193933664b2891b6159f24Mark Andrewsac_lib_var=`echo pthread'_'_Psigwait | sed 'y%./+-%__p_%'`
5b4ef313da4283079786e516b4b07a1691e1dc50Mark Andrewsif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox User#line 1870 "configure"
ec7751119a08c6a7250f3187beed69a8b836d349Tinderbox User#include "confdefs.h"
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater/* 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. */
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox Userchar _Psigwait();
e9e4257668ff6c4e583b0c0db2508650b0b677b8Tinderbox Userif { (eval echo configure:1881: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d58e33bfabfee19a035031dac633d36659738d56Evan Hunt eval "ac_cv_lib_$ac_lib_var=yes"
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater eval "ac_cv_lib_$ac_lib_var=no"
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updaterif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater#define HAVE_SIGWAIT 1
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater#define _POSIX_PTHREAD_SEMANTICS 1
22bed5c0fa8aa33ebca97235c0509db335440811Tinderbox Userecho $ac_n "checking for catgets""... $ac_c" 1>&6
22bed5c0fa8aa33ebca97235c0509db335440811Tinderbox Userecho "configure:1918: checking for catgets" >&5
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox Userif eval "test \"`echo '$''{'ac_cv_func_catgets'+set}'`\" = set"; then
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater#line 1923 "configure"
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater#include "confdefs.h"
fd7c65dce9c2b1a3d12ca4df9074cd38019fdb5fAutomatic Updater/* System header to define __stub macros and hopefully few prototypes,
fd7c65dce9c2b1a3d12ca4df9074cd38019fdb5fAutomatic Updater which can conflict with char catgets(); below. */
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox User#include <assert.h>
b871c7156eb037d41f53828c6fcb9cc876128962Mark Andrews/* Override any gcc2 internal prototype to avoid an error. */
3040b455151b1e1173193933664b2891b6159f24Mark Andrews/* 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 catgets();
ab496cc3df1648e9ad992a87c35c2c0870fdc69dTinderbox User/* The GNU C library defines this for functions which it implements
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater to always fail with ENOSYS. Some functions are actually named
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater something starting with __ and the normal name is an alias. */
b6561016dc8a813bfd91cef5b876b3dfc3f08ffaTinderbox User#if defined (__stub_catgets) || defined (__stub___catgets)
ab496cc3df1648e9ad992a87c35c2c0870fdc69dTinderbox Userif { (eval echo configure:1946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
fedd407a76adfdd745eb7d2461673693c6f9fea9Mark Andrews eval "ac_cv_func_catgets=yes"
80f05de86cd3cd8e4a4215c4501643891b942dafTinderbox User eval "ac_cv_func_catgets=no"
5b4ef313da4283079786e516b4b07a1691e1dc50Mark Andrewsif eval "test \"`echo '$ac_cv_func_'catgets`\" = yes"; then
82a986aaa5d3384a541b5a7d6dae8cf0726d6513Tinderbox User#define HAVE_CATGETS 1
d58e33bfabfee19a035031dac633d36659738d56Evan Hunt#define NEED_PTHREAD_INIT 1
82447d835d3ff5c658749b4e9b4f66166407b3eaAutomatic Updater#define HAVE_LINUXTHREADS 1
e9e4257668ff6c4e583b0c0db2508650b0b677b8Tinderbox User echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
183b6c7fca54001820078f324d102fc33e64bbc6Automatic Updaterecho "configure:1990: checking for socket in -lsocket" >&5
9563f388c8ca1bb9ebb04db54e122815b0008c8aTinderbox Userac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'`
9563f388c8ca1bb9ebb04db54e122815b0008c8aTinderbox Userif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater#line 1998 "configure"
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater#include "confdefs.h"
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater/* Override any gcc2 internal prototype to avoid an error. */
601c1908d06375f5dea00ab98671a6c934d8a840Automatic 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. */
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox Userchar socket();
f46621af221784fd08339c6fe9509d9e48334561Tinderbox Userif { (eval echo configure:2009: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
f46621af221784fd08339c6fe9509d9e48334561Tinderbox User eval "ac_cv_lib_$ac_lib_var=yes"
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater eval "ac_cv_lib_$ac_lib_var=no"
e9e4257668ff6c4e583b0c0db2508650b0b677b8Tinderbox Userif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
d58e33bfabfee19a035031dac633d36659738d56Evan Hunt ac_tr_lib=HAVE_LIB`echo socket | sed -e 's/[^a-zA-Z0-9_]/_/g' \
3040b455151b1e1173193933664b2891b6159f24Mark Andrews -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox User#define $ac_tr_lib 1
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews echo $ac_n "checking for inet_ntoa in -lnsl""... $ac_c" 1>&6
859148b72a22e4221c3e918d15c7fdd5e78b6d8dTinderbox Userecho "configure:2037: checking for inet_ntoa in -lnsl" >&5
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrewsac_lib_var=`echo nsl'_'inet_ntoa | sed 'y%./+-%__p_%'`
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrewsif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews#line 2045 "configure"
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox User#include "confdefs.h"
17198e77b87667f796e910d31a4f47a80e256d09Mark Andrews/* Override any gcc2 internal prototype to avoid an error. */
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox User/* We use char because int might match the return type of a gcc2
c07cdac6cf5bf3e9affc1aed25f8350087691f1eAutomatic Updater builtin and then its argument prototype would still apply. */
c07cdac6cf5bf3e9affc1aed25f8350087691f1eAutomatic Updaterchar inet_ntoa();
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox Userif { (eval echo configure:2056: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
c07cdac6cf5bf3e9affc1aed25f8350087691f1eAutomatic Updater eval "ac_cv_lib_$ac_lib_var=yes"
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox User eval "ac_cv_lib_$ac_lib_var=no"
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox Userif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox User ac_tr_lib=HAVE_LIB`echo nsl | sed -e 's/[^a-zA-Z0-9_]/_/g' \
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox User -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
7c899ff8af55a6855100e7fb4f5dd9a0a04b48a0Automatic Updater#define $ac_tr_lib 1
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews STD_CWARNINGS="$STD_CWARNINGS -W -Wall -Wmissing-prototypes"
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews MKDEPPROG='cc -Ae -E -Wp,-M >/dev/null 2>>$TMP'
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews#define _SOCKADDR_LEN 1
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrewsecho $ac_n "checking for sa_len in struct sockaddr""... $ac_c" 1>&6
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updaterecho "configure:2127: checking for sa_len in struct sockaddr" >&5
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington#line 2129 "configure"
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington#include "confdefs.h"
757ff043760e4743dda1a10e7d58349275934902Tinderbox User#include <sys/types.h>
015055b6e23f5c08f6a5b34726f90b62597e9e45Tinderbox User#include <sys/socket.h>
78f3ed4bc2fcd3d270bfd599804f3b27a1db4d91Mark Andrewsstruct sockaddr sa; sa.sa_len = 0; return (0);
78f3ed4bc2fcd3d270bfd599804f3b27a1db4d91Mark Andrewsif { (eval echo configure:2138: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
0e573cdd111e060e5f6c18249b5ccacbe8abe278Tinderbox User ISC_PLATFORM_HAVESALEN="#define ISC_PLATFORM_HAVESALEN 1"
78f3ed4bc2fcd3d270bfd599804f3b27a1db4d91Mark Andrews ISC_PLATFORM_HAVESALEN="#undef ISC_PLATFORM_HAVESALEN"
0e573cdd111e060e5f6c18249b5ccacbe8abe278Tinderbox Userecho $ac_n "checking for struct msghdr flavor""... $ac_c" 1>&6
c5a97a549c89d562e999d4f906b882c5a2a474e1Tinderbox Userecho "configure:2154: checking for struct msghdr flavor" >&5
757ff043760e4743dda1a10e7d58349275934902Tinderbox User#line 2156 "configure"
0e573cdd111e060e5f6c18249b5ccacbe8abe278Tinderbox User#include "confdefs.h"
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews#include <sys/types.h>
979e02d122cddf1624cca8a4dab8d084c900fa48Automatic Updater#include <sys/socket.h>
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrewsstruct msghdr msg; msg.msg_flags = 0; return (0);
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews; return 0; }
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrewsif { (eval echo configure:2165: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews ISC_PLATFORM_MSGHDRFLAVOR="#define ISC_NET_BSD44MSGHDR 1"
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews ISC_PLATFORM_MSGHDRFLAVOR="#define ISC_NET_BSD43MSGHDR 1"
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrewsecho $ac_n "checking for type in_port_t""... $ac_c" 1>&6
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrewsecho "configure:2180: checking for type in_port_t" >&5
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews#line 2182 "configure"
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox User#include "confdefs.h"
9ecb5d33470ebfb3719a1b8d56bcefdf4b27f7b2Tinderbox User#include <sys/types.h>
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews#include <netinet/in.h>
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrewsin_port_t port = 25; return (0);
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews; return 0; }
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrewsif { (eval echo configure:2191: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews ISC_PLATFORM_NEEDPORTT="#undef ISC_PLATFORM_NEEDPORTT"
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater ISC_PLATFORM_NEEDPORTT="#define ISC_PLATFORM_NEEDPORTT 1"
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrewsecho $ac_n "checking for interface list sysctl""... $ac_c" 1>&6
3a9593055ead76cbbb417aee2d2e656c2c92cf46Automatic Updaterecho "configure:2207: checking for interface list sysctl" >&5
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater#line 2209 "configure"
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson#include "confdefs.h"
7932a7637170550bc53b38c35db9a0187dcb3d3bAutomatic Updater#include <sys/param.h>
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson#include <sys/sysctl.h>
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson#include <sys/socket.h>
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson#ifdef NET_RT_IFLIST
3a9593055ead76cbbb417aee2d2e656c2c92cf46Automatic Updaterfound_rt_iflist
a7c412f37cc73d0332887a746e81220cbf09dd00Mark Andrews#define HAVE_IFLIST_SYSCTL 1
015055b6e23f5c08f6a5b34726f90b62597e9e45Tinderbox User# Check whether --with-libtool or --without-libtool was given.
7d704e522860496310bb29c28e76064868401a9cMark Andrewsif test "${with_libtool+set}" = set; then
a80993946f29ff39df38818ee9b2e58a4e46cb7eTinderbox User # Check whether --enable-shared or --disable-shared was given.
37d8e0a4455876fe1e4cca511076cc2c5ab9eedeTinderbox Userif test "${enable_shared+set}" = set; then
821d2613356f81e5bb5c107288d6d5cf35c2a1e8Mark Andrews # Look at the argument we got. We use all the common list separators.
821d2613356f81e5bb5c107288d6d5cf35c2a1e8Mark Andrews IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
8711e5c73ca872d59810760af0332194cbdd619bAutomatic Updater# Check whether --enable-static or --disable-static was given.
261ef37955c3468cbcb55d54b83c9a3b14e114dfTinderbox Userif test "${enable_static+set}" = set; then
02d20c5d79600704d617d248642c477e9b5e6a2aTinderbox User # Look at the argument we got. We use all the common list separators.
02d20c5d79600704d617d248642c477e9b5e6a2aTinderbox User IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
87d422bb38fa1c8f0fb29c2a1b8c044870a7df46Tinderbox User# Check whether --enable-fast-install or --disable-fast-install was given.
87d422bb38fa1c8f0fb29c2a1b8c044870a7df46Tinderbox Userif test "${enable_fast_install+set}" = set; then
955ee8b865d70d02ad1fdc959382e6f8a07c1d14Tinderbox User # Look at the argument we got. We use all the common list separators.
955ee8b865d70d02ad1fdc959382e6f8a07c1d14Tinderbox User IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
7a6494cfb6cc7d3f67af07359561e05e6bb8c0edTinderbox Userecho $ac_n "checking build system type""... $ac_c" 1>&6
7a6494cfb6cc7d3f67af07359561e05e6bb8c0edTinderbox Userecho "configure:2316: checking build system type" >&5
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrewsbuild=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrewsbuild_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrewsbuild_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrewsbuild_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews# Check whether --with-gnu-ld or --without-gnu-ld was given.
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrewsif test "${with_gnu_ld+set}" = set; then
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews # Check if gcc -print-prog-name=ld gives a path.
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrewsecho "configure:2345: checking for ld used by GCC" >&5
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews # Accept absolute paths.
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews [\\/]* | [A-Za-z]:[\\/]*)
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews # Canonicalize the path of ld
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews # If it fails, then pretend we aren't using GCC.
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews # If it is relative, then search for the first ld in PATH.
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrewsecho "configure:2372: checking for non-GNU ld" >&5
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrewsif eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews if test -z "$LD"; then
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews # Check to see if the program is GNU ld. I'd rather use --version,
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews # but apparently some GNU ld's only accept -v.
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews # Break only if it was the GNU/non-GNU ld that we prefer.
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews if "$ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews ac_cv_path_LD="$LD" # Let the user override the test with a path.
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrewsif test -n "$LD"; then
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrewstest -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrewsecho $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrewsecho "configure:2408: checking if the linker ($LD) is GNU ld" >&5
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrewsif eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrewsif $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrewsecho $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrewsecho "configure:2424: checking for BSD-compatible nm" >&5
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrewsif eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews if test -n "$NM"; then
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews # Let the user override the test.
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews if test -f $ac_dir/nm || test -f $ac_dir/nm$ac_exeext ; then
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews # Check to see if the nm accepts a BSD-compat flag.
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews # nm: unknown option "B" ignored
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews if ($ac_dir/nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews elif ($ac_dir/nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews ac_cv_path_NM=${ac_cv_path_NM="$ac_dir/nm"} # keep the first match, but
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews continue # so that we can try to find one that supports BSD flags
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrewsecho $ac_n "checking whether ln -s works""... $ac_c" 1>&6
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrewsecho "configure:2461: checking whether ln -s works" >&5
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrewsif eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews# Check for any special flags to pass to ltconfig.
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrewstest "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrewstest "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrewstest "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrewstest "$ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc"
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrewstest "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrewsif test "${enable_libtool_lock+set}" = set; then
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrewstest "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrewstest x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews# Some flags need to be propagated to the compiler or linker for good
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews# libtool support.
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews # Find out which ABI we are using.
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews echo '#line 2505 "configure"' > conftest.$ac_ext
4f087942583014b241adca1bc78c6db89ed96e94Mark Andrews if { (eval echo configure:2506: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
e2d635d630f6f61fefd3d4475c45b097b16b8a2aEvan Hunt # On SCO OpenServer 5, we need -belf to get full-featured binaries.
e2d635d630f6f61fefd3d4475c45b097b16b8a2aEvan Hunt echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
e2d635d630f6f61fefd3d4475c45b097b16b8a2aEvan Huntecho "configure:2527: checking whether the C compiler needs -belf" >&5
e2d635d630f6f61fefd3d4475c45b097b16b8a2aEvan Huntif eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
e2d635d630f6f61fefd3d4475c45b097b16b8a2aEvan Hunt#line 2532 "configure"
e2d635d630f6f61fefd3d4475c45b097b16b8a2aEvan Hunt#include "confdefs.h"
ab272d2204a075b5ed0798d04733a9028782b8daEvan Hunt; return 0; }
ab272d2204a075b5ed0798d04733a9028782b8daEvan Huntif { (eval echo configure:2539: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
97669cab1f7e6f953dbf39ef1b2c4206ecb50d9eAutomatic Updater if test x"$lt_cv_cc_needs_belf" != x"yes"; then
77932ac533c711eca5cd86de4e7eca8d91102b43Tinderbox User # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
66d24a46538c7c2d29fdb5611ab1173e83685b1dTinderbox User# Save cache, so that ltconfig can load it
e4757e3dafe50ae59f693eec828f68c42c197a70Andreas Gustafsson# This file is a shell script that caches the results of configure
754ebd37e782356aedbb2987e3c1a8ab4f29574eMark Andrews# tests run on this system so they can be shared between configure
754ebd37e782356aedbb2987e3c1a8ab4f29574eMark Andrews# scripts and configure runs. It is not useful on other systems.
754ebd37e782356aedbb2987e3c1a8ab4f29574eMark Andrews# If it contains results you don't want to keep, you may remove or edit it.
94df856897945fe58f130ba78765c57308bc5400Automatic Updater# By default, configure uses ./config.cache as the cache file,
776a8e3ff8889711a1f61a9362607c42716563f4Tinderbox User# creating it if it does not exist already. You can give configure
776a8e3ff8889711a1f61a9362607c42716563f4Tinderbox User# the --cache-file=FILE option to use a different cache file; that is
776a8e3ff8889711a1f61a9362607c42716563f4Tinderbox User# what configure does when it calls configure scripts in
776a8e3ff8889711a1f61a9362607c42716563f4Tinderbox User# subdirectories, so they share the cache.
776a8e3ff8889711a1f61a9362607c42716563f4Tinderbox User# Giving --cache-file=/dev/null disables caching, for debugging configure.
776a8e3ff8889711a1f61a9362607c42716563f4Tinderbox User# config.status only pays attention to the cache file if you give it the
5c679dbb66df92766f6a7e7bb93c18d61275d1feMark Andrews# --recheck option to rerun configure.
9cd5eb6fe0f26d65724b99216cb31dcdd12e4afdAutomatic Updater# The following way of writing the cache mishandles newlines in values,
9a9ca3c4f120971b7091b28a5530e5eaf362f7e6Tinderbox User# but we know of no workaround that is simple, portable, and efficient.
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater# So, don't put newlines in cache variables' values.
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews# Ultrix sh set writes to stderr and can't be redirected directly,
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews# and sets the high bit in the cache file unless we assign to the vars.
9a9ca3c4f120971b7091b28a5530e5eaf362f7e6Tinderbox User case `(ac_space=' '; set | grep ac_space) 2>&1` in
da93950363b307b718d156514b95b9df93a63776Mark Andrews # `set' does not quote correctly, so add quotes (double-quote substitution
35bc7055d1b9b816e68a4180d46a49963e45c233Automatic Updater # turns \\\\ into \\, and sed turns \\ into \).
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater -e "s/'/'\\\\''/g" \
9a9ca3c4f120971b7091b28a5530e5eaf362f7e6Tinderbox User -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
f6056ad06781c95198505ae3a361e6dd98df4b91Automatic Updater # `set' quotes correctly as required by POSIX, so do not add quotes.
9a9ca3c4f120971b7091b28a5530e5eaf362f7e6Tinderbox User sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
015055b6e23f5c08f6a5b34726f90b62597e9e45Tinderbox User if test -w $cache_file; then
776a8e3ff8889711a1f61a9362607c42716563f4Tinderbox User echo "updating cache $cache_file"
776a8e3ff8889711a1f61a9362607c42716563f4Tinderbox User echo "not updating unwritable cache $cache_file"
776a8e3ff8889711a1f61a9362607c42716563f4Tinderbox User# Actually configure libtool. ac_aux_dir is where install-sh is found.
776a8e3ff8889711a1f61a9362607c42716563f4Tinderbox UserCC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
776a8e3ff8889711a1f61a9362607c42716563f4Tinderbox UserDLLTOOL="$DLLTOOL" AS="$AS" OBJDUMP="$OBJDUMP" \
e2d635d630f6f61fefd3d4475c45b097b16b8a2aEvan Hunt${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
776a8e3ff8889711a1f61a9362607c42716563f4Tinderbox User$libtool_flags --no-verify $ac_aux_dir/ltmain.sh $host \
776a8e3ff8889711a1f61a9362607c42716563f4Tinderbox User|| { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
776a8e3ff8889711a1f61a9362607c42716563f4Tinderbox User# Reload cache, that may have been modified by ltconfig
776a8e3ff8889711a1f61a9362607c42716563f4Tinderbox Userif test -r "$cache_file"; then
e2d635d630f6f61fefd3d4475c45b097b16b8a2aEvan Hunt echo "loading cache $cache_file"
776a8e3ff8889711a1f61a9362607c42716563f4Tinderbox User echo "creating cache $cache_file"
e2d635d630f6f61fefd3d4475c45b097b16b8a2aEvan Hunt# This can be used to rebuild libtool when needed
776a8e3ff8889711a1f61a9362607c42716563f4Tinderbox UserLIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh"
e2d635d630f6f61fefd3d4475c45b097b16b8a2aEvan Hunt# Always use our own libtool.
776a8e3ff8889711a1f61a9362607c42716563f4Tinderbox User# Redirect the config.log output again, so that the ltconfig log is not
776a8e3ff8889711a1f61a9362607c42716563f4Tinderbox User# clobbered by the next message.
776a8e3ff8889711a1f61a9362607c42716563f4Tinderbox User# Check whether --enable-ipv6 or --disable-ipv6 was given.
776a8e3ff8889711a1f61a9362607c42716563f4Tinderbox Userif test "${enable_ipv6+set}" = set; then
776a8e3ff8889711a1f61a9362607c42716563f4Tinderbox User echo $ac_n "checking for IPv6 structures""... $ac_c" 1>&6
776a8e3ff8889711a1f61a9362607c42716563f4Tinderbox Userecho "configure:2663: checking for IPv6 structures" >&5
776a8e3ff8889711a1f61a9362607c42716563f4Tinderbox User#line 2665 "configure"
776a8e3ff8889711a1f61a9362607c42716563f4Tinderbox User#include "confdefs.h"
776a8e3ff8889711a1f61a9362607c42716563f4Tinderbox User #include <sys/types.h>
776a8e3ff8889711a1f61a9362607c42716563f4Tinderbox User #include <sys/socket.h>
776a8e3ff8889711a1f61a9362607c42716563f4Tinderbox User #include <netinet/in.h>
776a8e3ff8889711a1f61a9362607c42716563f4Tinderbox Userstruct sockaddr_in6 sin6; return (0);
776a8e3ff8889711a1f61a9362607c42716563f4Tinderbox Userif { (eval echo configure:2675: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
776a8e3ff8889711a1f61a9362607c42716563f4Tinderbox User ISC_PLATFORM_HAVEIPV6="#define ISC_PLATFORM_HAVEIPV6 1",
776a8e3ff8889711a1f61a9362607c42716563f4Tinderbox User ISC_PLATFORM_HAVEIPV6="#undef ISC_PLATFORM_HAVEIPV6"
776a8e3ff8889711a1f61a9362607c42716563f4Tinderbox Userecho $ac_n "checking for Kame IPv6 support""... $ac_c" 1>&6
776a8e3ff8889711a1f61a9362607c42716563f4Tinderbox Userecho "configure:2713: checking for Kame IPv6 support" >&5
776a8e3ff8889711a1f61a9362607c42716563f4Tinderbox User# Check whether --with-kame or --without-kame was given.
776a8e3ff8889711a1f61a9362607c42716563f4Tinderbox Userif test "${with_kame+set}" = set; then
776a8e3ff8889711a1f61a9362607c42716563f4Tinderbox User { echo "configure: error: $kame_path/lib/libinet6.a not found.
776a8e3ff8889711a1f61a9362607c42716563f4Tinderbox UserPlease choose the proper path with the following command:
776a8e3ff8889711a1f61a9362607c42716563f4Tinderbox User configure --with-kame=PATH
776a8e3ff8889711a1f61a9362607c42716563f4Tinderbox Userecho $ac_n "checking for inet_ntop""... $ac_c" 1>&6
776a8e3ff8889711a1f61a9362607c42716563f4Tinderbox Userecho "configure:2755: checking for inet_ntop" >&5
776a8e3ff8889711a1f61a9362607c42716563f4Tinderbox Userif eval "test \"`echo '$''{'ac_cv_func_inet_ntop'+set}'`\" = set"; then
776a8e3ff8889711a1f61a9362607c42716563f4Tinderbox User#line 2760 "configure"
776a8e3ff8889711a1f61a9362607c42716563f4Tinderbox User#include "confdefs.h"
776a8e3ff8889711a1f61a9362607c42716563f4Tinderbox User/* System header to define __stub macros and hopefully few prototypes,
776a8e3ff8889711a1f61a9362607c42716563f4Tinderbox User which can conflict with char inet_ntop(); below. */
776a8e3ff8889711a1f61a9362607c42716563f4Tinderbox User#include <assert.h>
776a8e3ff8889711a1f61a9362607c42716563f4Tinderbox User/* Override any gcc2 internal prototype to avoid an error. */
776a8e3ff8889711a1f61a9362607c42716563f4Tinderbox User/* We use char because int might match the return type of a gcc2
776a8e3ff8889711a1f61a9362607c42716563f4Tinderbox User builtin and then its argument prototype would still apply. */
776a8e3ff8889711a1f61a9362607c42716563f4Tinderbox Userchar inet_ntop();
776a8e3ff8889711a1f61a9362607c42716563f4Tinderbox User/* The GNU C library defines this for functions which it implements
776a8e3ff8889711a1f61a9362607c42716563f4Tinderbox User to always fail with ENOSYS. Some functions are actually named
776a8e3ff8889711a1f61a9362607c42716563f4Tinderbox User something starting with __ and the normal name is an alias. */
776a8e3ff8889711a1f61a9362607c42716563f4Tinderbox User#if defined (__stub_inet_ntop) || defined (__stub___inet_ntop)
776a8e3ff8889711a1f61a9362607c42716563f4Tinderbox Userif { (eval echo configure:2783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
776a8e3ff8889711a1f61a9362607c42716563f4Tinderbox User eval "ac_cv_func_inet_ntop=yes"
776a8e3ff8889711a1f61a9362607c42716563f4Tinderbox User eval "ac_cv_func_inet_ntop=no"
e2d635d630f6f61fefd3d4475c45b097b16b8a2aEvan Huntif eval "test \"`echo '$ac_cv_func_'inet_ntop`\" = yes"; then
e2d635d630f6f61fefd3d4475c45b097b16b8a2aEvan Hunt ISC_PLATFORM_NEEDNTOP="#undef ISC_PLATFORM_NEEDNTOP"
776a8e3ff8889711a1f61a9362607c42716563f4Tinderbox User ISC_PLATFORM_NEEDNTOP="#define ISC_PLATFORM_NEEDNTOP 1"
776a8e3ff8889711a1f61a9362607c42716563f4Tinderbox Userecho $ac_n "checking for inet_pton""... $ac_c" 1>&6
776a8e3ff8889711a1f61a9362607c42716563f4Tinderbox Userif eval "test \"`echo '$''{'ac_cv_func_inet_pton'+set}'`\" = set"; then
776a8e3ff8889711a1f61a9362607c42716563f4Tinderbox User#line 2812 "configure"
776a8e3ff8889711a1f61a9362607c42716563f4Tinderbox User#include "confdefs.h"
776a8e3ff8889711a1f61a9362607c42716563f4Tinderbox User/* System header to define __stub macros and hopefully few prototypes,
776a8e3ff8889711a1f61a9362607c42716563f4Tinderbox User which can conflict with char inet_pton(); below. */
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox User#include <assert.h>
a7c412f37cc73d0332887a746e81220cbf09dd00Mark Andrews/* Override any gcc2 internal prototype to avoid an error. */
d585233c52e283d9a8849f16f04f452419a2484eTinderbox User/* We use char because int might match the return type of a gcc2
d585233c52e283d9a8849f16f04f452419a2484eTinderbox User builtin and then its argument prototype would still apply. */
d585233c52e283d9a8849f16f04f452419a2484eTinderbox Userchar inet_pton();
d585233c52e283d9a8849f16f04f452419a2484eTinderbox User/* The GNU C library defines this for functions which it implements
d585233c52e283d9a8849f16f04f452419a2484eTinderbox User to always fail with ENOSYS. Some functions are actually named
d585233c52e283d9a8849f16f04f452419a2484eTinderbox User something starting with __ and the normal name is an alias. */
d585233c52e283d9a8849f16f04f452419a2484eTinderbox User#if defined (__stub_inet_pton) || defined (__stub___inet_pton)
644973f327e9db74779e7c0426db90909173b284Automatic Updaterif { (eval echo configure:2835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3a26bfc09c833a8dc4d4c12b7cd271ed6d0843cbTinderbox User eval "ac_cv_func_inet_pton=yes"
d585233c52e283d9a8849f16f04f452419a2484eTinderbox User eval "ac_cv_func_inet_pton=no"
d585233c52e283d9a8849f16f04f452419a2484eTinderbox Userif eval "test \"`echo '$ac_cv_func_'inet_pton`\" = yes"; then
d585233c52e283d9a8849f16f04f452419a2484eTinderbox User ISC_PLATFORM_NEEDPTON="#undef ISC_PLATFORM_NEEDPTON"
d585233c52e283d9a8849f16f04f452419a2484eTinderbox User ISC_PLATFORM_NEEDPTON="#define ISC_PLATFORM_NEEDPTON 1"
347333bc39e9e2df63cc4e7309cef5354d52b1fbTinderbox Userecho $ac_n "checking for inet_aton""... $ac_c" 1>&6
d585233c52e283d9a8849f16f04f452419a2484eTinderbox Userecho "configure:2859: checking for inet_aton" >&5
d585233c52e283d9a8849f16f04f452419a2484eTinderbox Userif eval "test \"`echo '$''{'ac_cv_func_inet_aton'+set}'`\" = set"; then
d585233c52e283d9a8849f16f04f452419a2484eTinderbox User#line 2864 "configure"
6a3d68b02c16c3d83fed31d3d6a1d7613a71305fTinderbox User#include "confdefs.h"
169f44b082b340b952e26c0fdb930c102a957752Mark Andrews/* System header to define __stub macros and hopefully few prototypes,
169f44b082b340b952e26c0fdb930c102a957752Mark Andrews which can conflict with char inet_aton(); below. */
169f44b082b340b952e26c0fdb930c102a957752Mark Andrews#include <assert.h>
169f44b082b340b952e26c0fdb930c102a957752Mark Andrews/* Override any gcc2 internal prototype to avoid an error. */
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews/* We use char because int might match the return type of a gcc2
068a66979695c77359e7a9181bb3f831c965b21cMark Andrews builtin and then its argument prototype would still apply. */
068a66979695c77359e7a9181bb3f831c965b21cMark Andrewschar inet_aton();
068a66979695c77359e7a9181bb3f831c965b21cMark Andrews/* The GNU C library defines this for functions which it implements
91d187ce035f39073f0732ff2a401a45c3c955fbMark Andrews to always fail with ENOSYS. Some functions are actually named
90863a6f9bfb06062c7fdf269bb675e7b674fc31Mark Andrews something starting with __ and the normal name is an alias. */
068a66979695c77359e7a9181bb3f831c965b21cMark Andrews#if defined (__stub_inet_aton) || defined (__stub___inet_aton)
068a66979695c77359e7a9181bb3f831c965b21cMark Andrews; return 0; }
b871c7156eb037d41f53828c6fcb9cc876128962Mark Andrewsif { (eval echo configure:2887: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
068a66979695c77359e7a9181bb3f831c965b21cMark Andrews eval "ac_cv_func_inet_aton=yes"
068a66979695c77359e7a9181bb3f831c965b21cMark Andrews eval "ac_cv_func_inet_aton=no"
068a66979695c77359e7a9181bb3f831c965b21cMark Andrewsif eval "test \"`echo '$ac_cv_func_'inet_aton`\" = yes"; then
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox User ISC_PLATFORM_NEEDATON="#undef ISC_PLATFORM_NEEDATON"
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater ISC_EXTRA_SRCS="$ISC_EXTRA_SRCS inet_aton.c"
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater ISC_PLATFORM_NEEDATON="#define ISC_PLATFORM_NEEDATON 1"
068a66979695c77359e7a9181bb3f831c965b21cMark Andrewsecho $ac_n "checking for vsnprintf""... $ac_c" 1>&6
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox Userecho "configure:2911: checking for vsnprintf" >&5
068a66979695c77359e7a9181bb3f831c965b21cMark Andrewsif eval "test \"`echo '$''{'ac_cv_func_vsnprintf'+set}'`\" = set"; then
068a66979695c77359e7a9181bb3f831c965b21cMark Andrews#line 2916 "configure"
068a66979695c77359e7a9181bb3f831c965b21cMark Andrews#include "confdefs.h"
068a66979695c77359e7a9181bb3f831c965b21cMark Andrews/* System header to define __stub macros and hopefully few prototypes,
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox User which can conflict with char vsnprintf(); below. */
3e1a17d65ec6227900f388ba2f7561365f7d4f5cTinderbox User#include <assert.h>
169f44b082b340b952e26c0fdb930c102a957752Mark Andrews/* Override any gcc2 internal prototype to avoid an error. */
cff0e0b52cf0928123bad6f3bccf56e22bbc07f5Automatic Updater/* We use char because int might match the return type of a gcc2
8aa098c6334de11c8fd117d30851cc457813c410Mark Andrews builtin and then its argument prototype would still apply. */
8aa098c6334de11c8fd117d30851cc457813c410Mark Andrewschar vsnprintf();
c28a1243429dfaf8dc5f6c1db0dccdc6ce386baeMark Andrews/* The GNU C library defines this for functions which it implements
169f44b082b340b952e26c0fdb930c102a957752Mark Andrews to always fail with ENOSYS. Some functions are actually named
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater something starting with __ and the normal name is an alias. */
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews#if defined (__stub_vsnprintf) || defined (__stub___vsnprintf)
c5a97a549c89d562e999d4f906b882c5a2a474e1Tinderbox Userif { (eval echo configure:2939: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox User eval "ac_cv_func_vsnprintf=yes"
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox User eval "ac_cv_func_vsnprintf=no"
59528addd704f8d5757b54e540520f74e588a7c7Automatic Updaterif eval "test \"`echo '$ac_cv_func_'vsnprintf`\" = yes"; then
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater ISC_PLATFORM_NEEDVSNPRINTF="#undef ISC_PLATFORM_NEEDVSNPRINTF"
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews ISC_PLATFORM_NEEDVSNPRINTF="#define ISC_PLATFORM_NEEDVSNPRINTF 1"
8aa098c6334de11c8fd117d30851cc457813c410Mark Andrewsecho $ac_n "checking for chroot""... $ac_c" 1>&6
fe600c3ad88c0bb078283a953d048087d227c0e5Tinderbox Userecho "configure:2971: checking for chroot" >&5
7fdbd6fc9df8728852ccaecb2d66241ab96a4084Tinderbox Userif eval "test \"`echo '$''{'ac_cv_func_chroot'+set}'`\" = set"; then
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater#line 2976 "configure"
609b8d08176469485edce25f3c2f50365bbd3819Mark Andrews#include "confdefs.h"
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater/* System header to define __stub macros and hopefully few prototypes,
fe600c3ad88c0bb078283a953d048087d227c0e5Tinderbox User which can conflict with char chroot(); below. */
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox User#include <assert.h>
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox User/* Override any gcc2 internal prototype to avoid an error. */
8d0e57cdac5e28964ebe7c0d925d158f17b401a6Tinderbox User/* We use char because int might match the return type of a gcc2
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox User builtin and then its argument prototype would still apply. */
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox Userchar chroot();
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews/* The GNU C library defines this for functions which it implements
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater to always fail with ENOSYS. Some functions are actually named
e10d61d84e0b735f1e8eca18644cfdb1b06cad33Tinderbox User something starting with __ and the normal name is an alias. */
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews#if defined (__stub_chroot) || defined (__stub___chroot)
ee9c470ca0902ed8fb913eb714a928878b1f0099Tinderbox Userif { (eval echo configure:2999: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox User eval "ac_cv_func_chroot=yes"
8e5fce1f9ceba17dd7e3ff0eb287e1e999c14249Mark Andrews eval "ac_cv_func_chroot=no"
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updaterif eval "test \"`echo '$ac_cv_func_'chroot`\" = yes"; then
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater#define HAVE_CHROOT 1
dc5552b4df5e3821783821c8d4e734c1608c446eTinderbox Userecho $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
e23761df2059ed612c8fb7cc248d93bb2c4f62dbTinderbox Userecho "configure:3025: checking for $ac_hdr" >&5
ad1d4c904f8e8dcb4db68ae1ac2f83ac53ea380dTinderbox Userif eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2c1632c71e2f4d8afa35efce3080b31602a6608cTinderbox User#line 3030 "configure"
616c05f95f9a9683d73c108df2eda56bf70b77ccTinderbox User#include "confdefs.h"
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater#include <$ac_hdr>
1a63fb1d1448ed3f8fd7227ae57be67c2e71279eMark Andrewsac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1a63fb1d1448ed3f8fd7227ae57be67c2e71279eMark Andrews{ (eval echo configure:3035: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
28a5dd720187fddb16055a0f64b63a7b66f29f64Mark Andrewsac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
dd65eb1efb40b1c47d57963192bfc54873b219beAutomatic Updaterif test -z "$ac_err"; then
a98018050a8dfb234c22664f673e50bc3066aa9eTinderbox User eval "ac_cv_header_$ac_safe=yes"
950d203b64f512b85fcc093ee1e9e3e531a1aea3Tinderbox User eval "ac_cv_header_$ac_safe=no"
b871c7156eb037d41f53828c6fcb9cc876128962Mark Andrewsif eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
a98018050a8dfb234c22664f673e50bc3066aa9eTinderbox User ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater#define $ac_tr_hdr 1
f8b9948a4116226ac41b5509cca152849006c66cAutomatic Updater BIND9_ISC_BUILDINCLUDE="-I${BIND9_TOP_BUILDDIR}/lib/isc/include"
609b8d08176469485edce25f3c2f50365bbd3819Mark Andrews BIND9_DNS_BUILDINCLUDE="-I${BIND9_TOP_BUILDDIR}/lib/dns/include"
be46cb4bee9253ee4832340c719920642e00c41aTinderbox User BIND9_OMAPI_BUILDINCLUDE="-I${BIND9_TOP_BUILDDIR}/lib/omapi/include"
66cf4a406525db9c42977d8034a60e0a8e2a9290Automatic UpdaterBIND9_INCLUDES=$BIND9_TOP_BUILDDIR/make/includes
02b3e44a996e9753d86306b6a1b6b579a73787fcTinderbox UserBIND9_MAKE_RULES=$BIND9_TOP_BUILDDIR/make/rules
3e9c07abfd4ad76b1f8085f0f96f5646f2d9e219Tinderbox User# This file is a shell script that caches the results of configure
1a63fb1d1448ed3f8fd7227ae57be67c2e71279eMark Andrews# tests run on this system so they can be shared between configure
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox User# scripts and configure runs. It is not useful on other systems.
a308b69ac66fadf66863484f301314d6e6a3f1d2Automatic Updater# If it contains results you don't want to keep, you may remove or edit it.
0e573cdd111e060e5f6c18249b5ccacbe8abe278Tinderbox User# By default, configure uses ./config.cache as the cache file,
0e573cdd111e060e5f6c18249b5ccacbe8abe278Tinderbox User# creating it if it does not exist already. You can give configure
950d203b64f512b85fcc093ee1e9e3e531a1aea3Tinderbox User# the --cache-file=FILE option to use a different cache file; that is
fe600c3ad88c0bb078283a953d048087d227c0e5Tinderbox User# what configure does when it calls configure scripts in
27c3c21f41520e8d6336d80a8094389e321cb6d2Mark Andrews# subdirectories, so they share the cache.
e676a596869d8a80a644c99a848afb53d1c5975eMark Andrews# Giving --cache-file=/dev/null disables caching, for debugging configure.
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox User# config.status only pays attention to the cache file if you give it the
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox User# --recheck option to rerun configure.
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox User# The following way of writing the cache mishandles newlines in values,
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox User# but we know of no workaround that is simple, portable, and efficient.
a98018050a8dfb234c22664f673e50bc3066aa9eTinderbox User# So, don't put newlines in cache variables' values.
757ff043760e4743dda1a10e7d58349275934902Tinderbox User# Ultrix sh set writes to stderr and can't be redirected directly,
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews# and sets the high bit in the cache file unless we assign to the vars.
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox User case `(ac_space=' '; set | grep ac_space) 2>&1` in
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox User # `set' does not quote correctly, so add quotes (double-quote substitution
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater # turns \\\\ into \\, and sed turns \\ into \).
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews -e "s/'/'\\\\''/g" \
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews -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.
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater if test -w $cache_file; then
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater echo "updating cache $cache_file"
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox User echo "not updating unwritable cache $cache_file"
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updatertrap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
ee36de8388ec31d28244d62a24050eaa2bbc8d44Tinderbox Usertest "x$prefix" = xNONE && prefix=$ac_default_prefix
7fdbd6fc9df8728852ccaecb2d66241ab96a4084Tinderbox User# Let make expand exec_prefix.
7fdbd6fc9df8728852ccaecb2d66241ab96a4084Tinderbox Usertest "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
7fdbd6fc9df8728852ccaecb2d66241ab96a4084Tinderbox User# Any assignment to VPATH causes Sun make to only execute
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox User# 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.
979e02d122cddf1624cca8a4dab8d084c900fa48Automatic Updaterif test "x$srcdir" = x.; then
979e02d122cddf1624cca8a4dab8d084c900fa48Automatic Updatertrap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews# Without the "./", some shells look in PATH for config.status.
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater# Generated automatically by configure.
ee36de8388ec31d28244d62a24050eaa2bbc8d44Tinderbox User# Run this file to recreate the current configuration.
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater# This directory was configured as follows,
a48cf7debd16396cd764139772b0226eec05347fTinderbox User# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox User# $0 $ac_configure_args
ee36de8388ec31d28244d62a24050eaa2bbc8d44Tinderbox User# Compiler output produced by configure, useful for debugging
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater# configure, is in ./config.log if it exists.
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updaterac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox User case "\$ac_option" in
10702d681eb650391bcaa0e2704aa3cf2dbf0e98Mark Andrews -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox User echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
10702d681eb650391bcaa0e2704aa3cf2dbf0e98Mark Andrews exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
59528addd704f8d5757b54e540520f74e588a7c7Automatic Updater -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater echo "$CONFIG_STATUS generated by autoconf version 2.13"
10702d681eb650391bcaa0e2704aa3cf2dbf0e98Mark Andrews -help | --help | --hel | --he | --h)
979e02d122cddf1624cca8a4dab8d084c900fa48Automatic Updater echo "\$ac_cs_usage"; exit 0 ;;
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater *) echo "\$ac_cs_usage"; exit 1 ;;
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updaterac_given_srcdir=$srcdir
979e02d122cddf1624cca8a4dab8d084c900fa48Automatic Updaterac_given_INSTALL="$INSTALL"
979e02d122cddf1624cca8a4dab8d084c900fa48Automatic Updatertrap 'rm -fr `echo "make/rules
ee36de8388ec31d28244d62a24050eaa2bbc8d44Tinderbox User lib/isc/Makefile
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox User lib/isc/include/Makefile
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox User lib/isc/include/isc/Makefile
10702d681eb650391bcaa0e2704aa3cf2dbf0e98Mark Andrews lib/isc/include/isc/platform.h
979e02d122cddf1624cca8a4dab8d084c900fa48Automatic Updater lib/isc/unix/Makefile
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater lib/isc/unix/include/Makefile
be0d1ec971748020cb0382e02b4642b493ea1e7bTinderbox User lib/isc/unix/include/isc/Makefile
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox User lib/isc/nls/Makefile
59528addd704f8d5757b54e540520f74e588a7c7Automatic Updater lib/isc/pthreads/Makefile
7af91d15b2ce1ce32f7320f6d5cc3b83621c241aAutomatic Updater lib/isc/pthreads/include/Makefile
3f616e6f846be57b1717c6beaba0f74de9d5a7c6Automatic Updater lib/isc/pthreads/include/isc/Makefile
1b670d35282f1b9352692ad212be3c0aa97b0689Automatic Updater lib/dns/Makefile
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox User lib/dns/include/Makefile
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater lib/dns/include/dns/Makefile
979e02d122cddf1624cca8a4dab8d084c900fa48Automatic Updater lib/dns/sec/Makefile
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater lib/dns/sec/openssl/Makefile
316cd2460aa66e157f72890974ca5c21d65e70e6Tinderbox User lib/dns/sec/openssl/include/Makefile
316cd2460aa66e157f72890974ca5c21d65e70e6Tinderbox User lib/dns/sec/openssl/include/openssl/Makefile
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox User lib/dns/sec/dnssafe/Makefile
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater lib/dns/sec/dst/Makefile
979e02d122cddf1624cca8a4dab8d084c900fa48Automatic Updater lib/dns/sec/dst/include/Makefile
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater lib/dns/sec/dst/include/dst/Makefile
979e02d122cddf1624cca8a4dab8d084c900fa48Automatic Updater lib/dns/config/Makefile
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater lib/omapi/Makefile
979e02d122cddf1624cca8a4dab8d084c900fa48Automatic Updater lib/omapi/include/Makefile
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater lib/omapi/include/omapi/Makefile
1f4c645185bd8fc70048e0a69eee46193a284e5cTinderbox User lib/tests/Makefile
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater lib/tests/include/Makefile
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox User lib/tests/include/tests/Makefile
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox User bin/named/Makefile
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater bin/named/unix/Makefile
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox User bin/tests/Makefile
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater bin/tests/names/Makefile
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox User bin/tests/master/Makefile
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater bin/tests/rbt/Makefile
324a8797b46d646fe8d3b2eef6785e0b2b3ac956Tinderbox User bin/tests/db/Makefile
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater bin/tests/tasks/Makefile
eac5382be368b43df62e4ac32075131fb4997f03Tinderbox User bin/tests/timers/Makefile
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater bin/tests/dst/Makefile
79b627f399ce925988bb326315e6742d5316cb6bTinderbox User bin/tests/mem/Makefile
79b627f399ce925988bb326315e6742d5316cb6bTinderbox User bin/tests/sockaddr/Makefile
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox User config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
ee36de8388ec31d28244d62a24050eaa2bbc8d44Tinderbox User# Protect against being on the right side of a sed subst in config.status.
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox Usersed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
ee36de8388ec31d28244d62a24050eaa2bbc8d44Tinderbox User s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updaters%@SHELL@%$SHELL%g
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox Users%@CFLAGS@%$CFLAGS%g
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updaters%@CPPFLAGS@%$CPPFLAGS%g
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox Users%@CXXFLAGS@%$CXXFLAGS%g
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updaters%@FFLAGS@%$FFLAGS%g
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox Users%@DEFS@%$DEFS%g
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updaters%@LDFLAGS@%$LDFLAGS%g
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox Users%@LIBS@%$LIBS%g
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updaters%@exec_prefix@%$exec_prefix%g
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox Users%@prefix@%$prefix%g
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updaters%@program_transform_name@%$program_transform_name%g
979e02d122cddf1624cca8a4dab8d084c900fa48Automatic Updaters%@bindir@%$bindir%g
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updaters%@sbindir@%$sbindir%g
979e02d122cddf1624cca8a4dab8d084c900fa48Automatic Updaters%@libexecdir@%$libexecdir%g
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updaters%@datadir@%$datadir%g
324a8797b46d646fe8d3b2eef6785e0b2b3ac956Tinderbox Users%@sysconfdir@%$sysconfdir%g
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updaters%@sharedstatedir@%$sharedstatedir%g
979e02d122cddf1624cca8a4dab8d084c900fa48Automatic Updaters%@localstatedir@%$localstatedir%g
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updaters%@libdir@%$libdir%g
979e02d122cddf1624cca8a4dab8d084c900fa48Automatic Updaters%@includedir@%$includedir%g
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updaters%@oldincludedir@%$oldincludedir%g
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox Users%@infodir@%$infodir%g
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updaters%@mandir@%$mandir%g
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updaters%@host@%$host%g
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updaters%@host_alias@%$host_alias%g
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox Users%@host_cpu@%$host_cpu%g
7af91d15b2ce1ce32f7320f6d5cc3b83621c241aAutomatic Updaters%@host_vendor@%$host_vendor%g
6a3d68b02c16c3d83fed31d3d6a1d7613a71305fTinderbox Users%@host_os@%$host_os%g
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updaters%@SET_MAKE@%$SET_MAKE%g
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox Users%@RANLIB@%$RANLIB%g
402eda3e7d4254ffac1543bf2917c71248a09e4cTinderbox Users%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox Users%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
a98018050a8dfb234c22664f673e50bc3066aa9eTinderbox Users%@INSTALL_DATA@%$INSTALL_DATA%g
94f3904f58cd35f76adea08e96d8e755ccfd5610Tinderbox Users%@STD_CINCLUDES@%$STD_CINCLUDES%g
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox Users%@STD_CDEFINES@%$STD_CDEFINES%g
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox Users%@STD_CWARNINGS@%$STD_CWARNINGS%g
609b8d08176469485edce25f3c2f50365bbd3819Mark Andrewss%@ARFLAGS@%$ARFLAGS%g
dd65eb1efb40b1c47d57963192bfc54873b219beAutomatic Updaters%@YACC@%$YACC%g
0d3490f93bb980fde704055e74c1b508987a5fe4Mark Andrewss%@CPP@%$CPP%g
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox Users%@MKDEPCC@%$MKDEPCC%g
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updaters%@MKDEPCFLAGS@%$MKDEPCFLAGS%g
10702d681eb650391bcaa0e2704aa3cf2dbf0e98Mark Andrewss%@MKDEPPROG@%$MKDEPPROG%g
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox Users%@ISC_PLATFORM_HAVESALEN@%$ISC_PLATFORM_HAVESALEN%g
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox Users%@ISC_PLATFORM_MSGHDRFLAVOR@%$ISC_PLATFORM_MSGHDRFLAVOR%g
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrewss%@ISC_PLATFORM_NEEDPORTT@%$ISC_PLATFORM_NEEDPORTT%g
114f7780384371121918624ae2c80ecfce545683Tinderbox Users%@build@%$build%g
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updaters%@build_alias@%$build_alias%g
6fe48fb46e53ffc37542853a1edb74cb481b7d94Automatic Updaters%@build_cpu@%$build_cpu%g
169f44b082b340b952e26c0fdb930c102a957752Mark Andrewss%@build_vendor@%$build_vendor%g
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrewss%@build_os@%$build_os%g
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox Users%@LN_S@%$LN_S%g
757ff043760e4743dda1a10e7d58349275934902Tinderbox Users%@LIBTOOL@%$LIBTOOL%g
757ff043760e4743dda1a10e7d58349275934902Tinderbox Users%@ISC_PLATFORM_HAVEIPV6@%$ISC_PLATFORM_HAVEIPV6%g
a98018050a8dfb234c22664f673e50bc3066aa9eTinderbox Users%@ISC_IPV6_H@%$ISC_IPV6_H%g
7ca715ad1587a68a531ea1cdea07515d7232567eTinderbox Users%@ISC_IPV6_O@%$ISC_IPV6_O%g
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrewss%@ISC_ISCIPV6_O@%$ISC_ISCIPV6_O%g
a98018050a8dfb234c22664f673e50bc3066aa9eTinderbox Users%@ISC_IPV6_C@%$ISC_IPV6_C%g
bbc0e1c4f47f101c4a64db3469352c49a49e734fTinderbox Users%@ISC_PLATFORM_NEEDNTOP@%$ISC_PLATFORM_NEEDNTOP%g
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox Users%@ISC_PLATFORM_NEEDPTON@%$ISC_PLATFORM_NEEDPTON%g
1eb0e804d5c1c95cfe81c7e448a89e33e8a3c08cTinderbox Users%@ISC_PLATFORM_NEEDATON@%$ISC_PLATFORM_NEEDATON%g
d58e33bfabfee19a035031dac633d36659738d56Evan Hunts%@ISC_PLATFORM_NEEDVSNPRINTF@%$ISC_PLATFORM_NEEDVSNPRINTF%g
904890e38b74005395451501400718d759bfc064Tinderbox Users%@ISC_EXTRA_OBJS@%$ISC_EXTRA_OBJS%g
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox Users%@ISC_EXTRA_SRCS@%$ISC_EXTRA_SRCS%g
536da846f6cc03ad8abbb8bb9d5d8a6f607b8c33Mark Andrewss%@BIND9_TOP_BUILDDIR@%$BIND9_TOP_BUILDDIR%g
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox Users%@BIND9_ISC_BUILDINCLUDE@%$BIND9_ISC_BUILDINCLUDE%g
28a5dd720187fddb16055a0f64b63a7b66f29f64Mark Andrewss%@BIND9_DNS_BUILDINCLUDE@%$BIND9_DNS_BUILDINCLUDE%g
19ad308d84cbf446a144e5a91f2032389a9d65c1Tinderbox Users%@BIND9_OMAPI_BUILDINCLUDE@%$BIND9_OMAPI_BUILDINCLUDE%g
114f7780384371121918624ae2c80ecfce545683Tinderbox User/@BIND9_INCLUDES@/r $BIND9_INCLUDES
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox Users%@BIND9_INCLUDES@%%g
42c81cf2de732ec6d00e73fc755a399ca037e543Mark Andrews/@BIND9_MAKE_RULES@/r $BIND9_MAKE_RULES
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox Users%@BIND9_MAKE_RULES@%%g
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox User/@BIND9_VERSION@/r $BIND9_VERSION
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox Users%@BIND9_VERSION@%%g
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox User/@LIBISC_API@/r $LIBISC_API
6fe48fb46e53ffc37542853a1edb74cb481b7d94Automatic Updaters%@LIBISC_API@%%g
6fe48fb46e53ffc37542853a1edb74cb481b7d94Automatic Updater/@LIBDNS_API@/r $LIBDNS_API
6fe48fb46e53ffc37542853a1edb74cb481b7d94Automatic Updaters%@LIBDNS_API@%%g
71fc4775d04aea66809e3eb5b5159c55413bdc5cMark Andrews/@LIBOMAPI_API@/r $LIBOMAPI_API
71fc4775d04aea66809e3eb5b5159c55413bdc5cMark Andrewss%@LIBOMAPI_API@%%g
6fe48fb46e53ffc37542853a1edb74cb481b7d94Automatic Updater# Split the substitutions into bite-sized pieces for seds with
6fe48fb46e53ffc37542853a1edb74cb481b7d94Automatic Updater# small command number limits, like on Digital OSF/1 and HP-UX.
6fe48fb46e53ffc37542853a1edb74cb481b7d94Automatic Updaterac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
6fe48fb46e53ffc37542853a1edb74cb481b7d94Automatic Updaterac_end=$ac_max_sed_cmds # Line after last line for current file.
66cf4a406525db9c42977d8034a60e0a8e2a9290Automatic Updater sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox User sed "${ac_end}q" conftest.subs > conftest.s$ac_file
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox User if test -z "$ac_sed_cmds"; then
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox User ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
e4757e3dafe50ae59f693eec828f68c42c197a70Andreas Gustafssonif test -z "$ac_sed_cmds"; then
e4757e3dafe50ae59f693eec828f68c42c197a70Andreas GustafssonCONFIG_FILES=\${CONFIG_FILES-"make/rules
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews make/includes
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews make/Makefile
ab496cc3df1648e9ad992a87c35c2c0870fdc69dTinderbox User lib/isc/Makefile
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox User lib/isc/include/Makefile
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater lib/isc/include/isc/Makefile
22bed5c0fa8aa33ebca97235c0509db335440811Tinderbox User lib/isc/include/isc/platform.h
90cde4c188ac5bdea4f402b241c387c9cc9d4cc4Tinderbox User lib/isc/unix/Makefile
3e9c07abfd4ad76b1f8085f0f96f5646f2d9e219Tinderbox User lib/isc/unix/include/Makefile
757ff043760e4743dda1a10e7d58349275934902Tinderbox User lib/isc/unix/include/isc/Makefile
da59e63e7af147a8bcef985b98b04443e04c3a0eTinderbox User lib/isc/nls/Makefile
0e573cdd111e060e5f6c18249b5ccacbe8abe278Tinderbox User lib/isc/pthreads/Makefile
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox User lib/isc/pthreads/include/Makefile
8e5fce1f9ceba17dd7e3ff0eb287e1e999c14249Mark Andrews lib/isc/pthreads/include/isc/Makefile
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox User lib/dns/Makefile
4c9f230f7ca5b2b08ea8fd7a6944135801dbe152Tinderbox User lib/dns/include/Makefile
9cd5eb6fe0f26d65724b99216cb31dcdd12e4afdAutomatic Updater lib/dns/include/dns/Makefile
9cd5eb6fe0f26d65724b99216cb31dcdd12e4afdAutomatic Updater lib/dns/sec/Makefile
9cd5eb6fe0f26d65724b99216cb31dcdd12e4afdAutomatic Updater lib/dns/sec/openssl/Makefile
9cd5eb6fe0f26d65724b99216cb31dcdd12e4afdAutomatic Updater lib/dns/sec/openssl/include/Makefile
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews lib/dns/sec/openssl/include/openssl/Makefile
9cd5eb6fe0f26d65724b99216cb31dcdd12e4afdAutomatic Updater lib/dns/sec/dnssafe/Makefile
9cd5eb6fe0f26d65724b99216cb31dcdd12e4afdAutomatic Updater lib/dns/sec/dst/Makefile
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox User lib/dns/sec/dst/include/Makefile
9cd5eb6fe0f26d65724b99216cb31dcdd12e4afdAutomatic Updater lib/dns/sec/dst/include/dst/Makefile
98922b2b2b024dcca25be7c220cf3b16b1e6c4b5Evan Hunt lib/dns/config/Makefile
98922b2b2b024dcca25be7c220cf3b16b1e6c4b5Evan Hunt lib/omapi/Makefile
98922b2b2b024dcca25be7c220cf3b16b1e6c4b5Evan Hunt lib/omapi/include/Makefile
015055b6e23f5c08f6a5b34726f90b62597e9e45Tinderbox User lib/omapi/include/omapi/Makefile
98922b2b2b024dcca25be7c220cf3b16b1e6c4b5Evan Hunt lib/tests/Makefile
a8677ecad546c955406b341eb8344ed06768b11eTinderbox User lib/tests/include/Makefile
a8677ecad546c955406b341eb8344ed06768b11eTinderbox User lib/tests/include/tests/Makefile
98922b2b2b024dcca25be7c220cf3b16b1e6c4b5Evan Hunt bin/Makefile
98922b2b2b024dcca25be7c220cf3b16b1e6c4b5Evan Hunt bin/named/Makefile
0e573cdd111e060e5f6c18249b5ccacbe8abe278Tinderbox User bin/named/unix/Makefile
98922b2b2b024dcca25be7c220cf3b16b1e6c4b5Evan Hunt bin/tests/Makefile
98922b2b2b024dcca25be7c220cf3b16b1e6c4b5Evan Hunt bin/tests/names/Makefile
98922b2b2b024dcca25be7c220cf3b16b1e6c4b5Evan Hunt bin/tests/master/Makefile
98922b2b2b024dcca25be7c220cf3b16b1e6c4b5Evan Hunt bin/tests/rbt/Makefile
98922b2b2b024dcca25be7c220cf3b16b1e6c4b5Evan Hunt bin/tests/db/Makefile
015055b6e23f5c08f6a5b34726f90b62597e9e45Tinderbox User bin/tests/tasks/Makefile
1fdd58445074579ee3b65c871137a7a1740eb542Mark Andrews bin/tests/timers/Makefile
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews bin/tests/dst/Makefile
e676a596869d8a80a644c99a848afb53d1c5975eMark Andrews bin/tests/mem/Makefile
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox User bin/tests/sockaddr/Makefile
3e9c07abfd4ad76b1f8085f0f96f5646f2d9e219Tinderbox Userfor ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
0e573cdd111e060e5f6c18249b5ccacbe8abe278Tinderbox User # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9cd5eb6fe0f26d65724b99216cb31dcdd12e4afdAutomatic Updater *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox User # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
7711228a135a2fe85765ba13a67b8e397ed73489Mark Andrews # Remove last slash and all that follows it. Not all systems have dirname.
b5423cbff7175727ed9046c8c670d8a7bb4d01eaTinderbox User if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews # The file is in a subdirectory.
be0d1ec971748020cb0382e02b4642b493ea1e7bTinderbox User ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater # A "../" for each directory in $ac_dir_suffix.
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox User ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox User else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
365bb6f27eace1836cb5bc6b5f9ed8c88fe22e4aTinderbox User /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
27739dd25026283c24645c8a1044b95ef9eb5ac6Tinderbox User *) # Relative path.
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
536da846f6cc03ad8abbb8bb9d5d8a6f607b8c33Mark Andrewss%@configure_input@%$configure_input%g
7af91d15b2ce1ce32f7320f6d5cc3b83621c241aAutomatic Updaters%@top_srcdir@%$top_srcdir%g
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
0accdb26ead1fe520a9820b52efbea64bdf564e3Tinderbox User# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
137fdbc214e99c4cbe57551e9e14f2015c2e42aeTinderbox User# NAME is the cpp macro being defined and VALUE is the value it is being given.
83d29eff2912ef967596eb5ed148de7668b35564Automatic Updater# ac_d sets the value in "#define NAME VALUE" lines.
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
59528addd704f8d5757b54e540520f74e588a7c7Automatic Updaterac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
a7c412f37cc73d0332887a746e81220cbf09dd00Mark Andrewsif test "${CONFIG_HEADERS+set}" != set; then
904890e38b74005395451501400718d759bfc064Tinderbox User CONFIG_HEADERS="config.h"
1fff4d36fb18ccdca15acb0bae20c2aa8e833ceeTinderbox Userfor ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
11b6b0d74bb8dd6bd1ce0b60ba7f9b66323f06d4Tinderbox User # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
609b8d08176469485edce25f3c2f50365bbd3819Mark Andrews *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
faa406d25d1d73b04a1351d1e62ab55557ed61ebAutomatic Updater rm -f conftest.frag conftest.in conftest.out
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrews ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
04bc14c887243e624469fdbd336c1d3cb8ed7cc7Tinderbox User# Transform confdefs.h into a sed script conftest.vals that substitutes
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater# the proper values into config.h.in to produce config.h. And first:
a7c412f37cc73d0332887a746e81220cbf09dd00Mark Andrews# Protect against being on the right side of a sed subst in config.status.
fedd407a76adfdd745eb7d2461673693c6f9fea9Mark Andrews# Protect against being in an unquoted here document in config.status.
955ee8b865d70d02ad1fdc959382e6f8a07c1d14Tinderbox Users/[\\&%]/\\&/g
dedefc0bdbb4e6e39eeb98aa2fc6883efec2ddb0Mark Andrewss%[\\$`]%\\&%g
a7c412f37cc73d0332887a746e81220cbf09dd00Mark Andrewss%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
dbb012765c735ee0d82dedb116cdc7cf18957814Evan Hunt# This sed command replaces #undef with comments. This is necessary, for
a8677ecad546c955406b341eb8344ed06768b11eTinderbox User# example, in the case of _POSIX_SOURCE, which is predefined and required
dbb012765c735ee0d82dedb116cdc7cf18957814Evan Hunt# on some systems where configure will not decide to define it.
dbb012765c735ee0d82dedb116cdc7cf18957814Evan Hunts%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater# Break up conftest.vals because some shells have a limit on
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox User# the size of here documents, and old seds have small limits too.
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox User # grep -c gives empty output for an empty file on some AIX systems.
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox User if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox User # Write a limited-size here document to conftest.frag.
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox User echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox User sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox User sed -f conftest.frag conftest.in > conftest.out
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox User echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater if cmp -s $ac_file conftest.h 2>/dev/null; then
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater # Remove last slash and all that follows it. Not all systems have dirname.
dbb012765c735ee0d82dedb116cdc7cf18957814Evan Hunt if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updatertest "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1