configure revision cdc65374952183e7e738ed7d35cd1c2291c43e03
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# From configure.in Revision: 1.82
f389bc2c9e9e434380e10221778b7b548612a67fDavid Lawrence## libtool.m4 - Configure libtool for the target system. -*-Shell-script-*-
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence## Copyright (C) 1996-1999 Free Software Foundation, Inc.
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews## Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews## This program is free software; you can redistribute it and/or modify
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews## it under the terms of the GNU General Public License as published by
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews## the Free Software Foundation; either version 2 of the License, or
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews## (at your option) any later version.
f389bc2c9e9e434380e10221778b7b548612a67fDavid Lawrence## This program is distributed in the hope that it will be useful, but
f389bc2c9e9e434380e10221778b7b548612a67fDavid Lawrence## WITHOUT ANY WARRANTY; without even the implied warranty of
28a8f5b0de57d269cf2845c69cb6abe18cbd3b3aMark Andrews## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein## General Public License for more details.
d09197467bbb156dccf0cbe72bb5c63480d5cfdcDavid Lawrence## You should have received a copy of the GNU General Public License
d09197467bbb156dccf0cbe72bb5c63480d5cfdcDavid Lawrence## along with this program; if not, write to the Free Software
d09197467bbb156dccf0cbe72bb5c63480d5cfdcDavid Lawrence## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
64ba6e4cc3a0ccf8c8c6349fa75b937ca9bad9a6Michael Graff## As a special exception to the GNU General Public License, if you
7829fad4093f2c1985b1efb7cea00287ff015d2bckb## distribute this file as part of a program that contains a
7829fad4093f2c1985b1efb7cea00287ff015d2bckb## configuration script generated by Autoconf, you may include it under
7829fad4093f2c1985b1efb7cea00287ff015d2bckb## the same distribution terms that you use for the rest of that program.
a03848252fa85734ca75beae3d0b01bb503c0a8bMark Andrews# serial 40 AC_PROG_LIBTOOL
092b4e5359c5982a438e36ced3dbefc313f7fbfcDavid Lawrence# AC_LIBTOOL_DLOPEN - enable checks for dlopen support
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein# AC_LIBTOOL_WIN32_DLL - declare package support for building win32 dll's
891a1bead8d02d29eb7b4993d7c0975047b0963dDavid Lawrence# AC_ENABLE_SHARED - implement the --enable-shared flag
891a1bead8d02d29eb7b4993d7c0975047b0963dDavid Lawrence# Usage: AC_ENABLE_SHARED[(DEFAULT)]
891a1bead8d02d29eb7b4993d7c0975047b0963dDavid Lawrence# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
73d62a89f1493865c33c689b3ee3de91c74ad58eDavid Lawrence# AC_DISABLE_SHARED - set the default shared flag to --disable-shared
7829fad4093f2c1985b1efb7cea00287ff015d2bckb# AC_ENABLE_STATIC - implement the --enable-static flag
7829fad4093f2c1985b1efb7cea00287ff015d2bckb# Usage: AC_ENABLE_STATIC[(DEFAULT)]
7829fad4093f2c1985b1efb7cea00287ff015d2bckb# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
7829fad4093f2c1985b1efb7cea00287ff015d2bckb# AC_DISABLE_STATIC - set the default static flag to --disable-static
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff# AC_ENABLE_FAST_INSTALL - implement the --enable-fast-install flag
f389bc2c9e9e434380e10221778b7b548612a67fDavid Lawrence# Usage: AC_ENABLE_FAST_INSTALL[(DEFAULT)]
c80dde0676a7f36f65e0ad8d646bf505705fe64bDavid Lawrence# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
c80dde0676a7f36f65e0ad8d646bf505705fe64bDavid Lawrence# AC_ENABLE_FAST_INSTALL - set the default to --disable-fast-install
33950f0a0262f4d49528c4adcf8be42807fa2576David Lawrence# AC_PROG_LD - find the path to the GNU or non-GNU linker
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff# AC_PROG_NM - find the path to a BSD-compatible name lister
f389bc2c9e9e434380e10221778b7b548612a67fDavid Lawrence# AC_CHECK_LIBM - check for math library
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater# AC_LIBLTDL_CONVENIENCE[(dir)] - sets LIBLTDL to the link flags for
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater# the libltdl convenience library, adds --enable-ltdl-convenience to
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater# the configure arguments. Note that LIBLTDL is not AC_SUBSTed, nor
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater# is AC_CONFIG_SUBDIRS called. If DIR is not provided, it is assumed
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater# to be `${top_builddir}/libltdl'. Make sure you start DIR with
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater# '${top_builddir}/' (note the single quotes!) if your package is not
7829fad4093f2c1985b1efb7cea00287ff015d2bckb# flat, and, if you're not using automake, define top_builddir as
0f5962ac3e4ef336faff68f1cb838505e64665e5David Lawrence# appropriate in the Makefiles.
0f5962ac3e4ef336faff68f1cb838505e64665e5David Lawrence# AC_LIBLTDL_INSTALLABLE[(dir)] - sets LIBLTDL to the link flags for
0f5962ac3e4ef336faff68f1cb838505e64665e5David Lawrence# the libltdl installable library, and adds --enable-ltdl-install to
7829fad4093f2c1985b1efb7cea00287ff015d2bckb# the configure arguments. Note that LIBLTDL is not AC_SUBSTed, nor
7829fad4093f2c1985b1efb7cea00287ff015d2bckb# is AC_CONFIG_SUBDIRS called. If DIR is not provided, it is assumed
7829fad4093f2c1985b1efb7cea00287ff015d2bckb# to be `${top_builddir}/libltdl'. Make sure you start DIR with
7829fad4093f2c1985b1efb7cea00287ff015d2bckb# '${top_builddir}/' (note the single quotes!) if your package is not
7829fad4093f2c1985b1efb7cea00287ff015d2bckb# flat, and, if you're not using automake, define top_builddir as
7829fad4093f2c1985b1efb7cea00287ff015d2bckb# appropriate in the Makefiles.
7829fad4093f2c1985b1efb7cea00287ff015d2bckb# In the future, this macro may have to be called after AC_PROG_LIBTOOL.
7829fad4093f2c1985b1efb7cea00287ff015d2bckb# Guess values for system-dependent variables and create Makefiles.
7829fad4093f2c1985b1efb7cea00287ff015d2bckb# Generated automatically using autoconf version 2.13
7829fad4093f2c1985b1efb7cea00287ff015d2bckb# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
7829fad4093f2c1985b1efb7cea00287ff015d2bckb# This configure script is free software; the Free Software Foundation
7829fad4093f2c1985b1efb7cea00287ff015d2bckb# gives unlimited permission to copy, distribute and modify it.
7829fad4093f2c1985b1efb7cea00287ff015d2bckb# Defaults:
7829fad4093f2c1985b1efb7cea00287ff015d2bckb# Any additions from configure.in:
7829fad4093f2c1985b1efb7cea00287ff015d2bckb --with-mit-pthreads use the mit-pthreads thread library"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb --with-ptl2 use the ptl2 thread library"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb --with-libtool use GNU libtool"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb --enable-shared[=PKGS] build shared libraries [default=yes]"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb --enable-static[=PKGS] build static libraries [default=yes]"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb --enable-fast-install[=PKGS] optimize for fast installation [default=yes]"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb --with-gnu-ld assume the C compiler uses GNU ld [default=no]"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb --disable-libtool-lock avoid locking (might break parallel builds)"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb --enable-ipv6 use IPv6 [default=autodetect]"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb --with-kame[=PATH] use Kame IPv6 [default path /usr/local/v6]"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb# Initialize some variables set by options.
7829fad4093f2c1985b1efb7cea00287ff015d2bckb# The variables have the same names as the options, with
7829fad4093f2c1985b1efb7cea00287ff015d2bckb# dashes changed to underlines.
7829fad4093f2c1985b1efb7cea00287ff015d2bckb# Initialize some other variables.
7829fad4093f2c1985b1efb7cea00287ff015d2bckb# Maximum number of lines to put in a shell here document.
7829fad4093f2c1985b1efb7cea00287ff015d2bckb # If the previous option needs an argument, assign it.
7829fad4093f2c1985b1efb7cea00287ff015d2bckb if test -n "$ac_prev"; then
7829fad4093f2c1985b1efb7cea00287ff015d2bckb eval "$ac_prev=\$ac_option"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
7829fad4093f2c1985b1efb7cea00287ff015d2bckb # Accept the important Cygnus configure options, so we can diagnose typos.
7829fad4093f2c1985b1efb7cea00287ff015d2bckb -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff -build=* | --build=* | --buil=* | --bui=* | --bu=*)
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff -cache-file | --cache-file | --cache-fil | --cache-fi \
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
f036af2c718147408d738081cdb0a564b981b4cdDavid Lawrence ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
f036af2c718147408d738081cdb0a564b981b4cdDavid Lawrence # Reject names that are not valid shell variable names.
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein eval "enable_${ac_feature}=no" ;;
7704a47aec081144bdb7a0218d5e2dd5296b6b08Mark Andrews ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
7704a47aec081144bdb7a0218d5e2dd5296b6b08Mark Andrews # Reject names that are not valid shell variable names.
7704a47aec081144bdb7a0218d5e2dd5296b6b08Mark Andrews if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
7704a47aec081144bdb7a0218d5e2dd5296b6b08Mark Andrews { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
7704a47aec081144bdb7a0218d5e2dd5296b6b08Mark Andrews eval "enable_${ac_feature}='$ac_optarg'" ;;
f036af2c718147408d738081cdb0a564b981b4cdDavid Lawrence -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
f036af2c718147408d738081cdb0a564b981b4cdDavid Lawrence | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff # Obsolete; use --with-gas.
b65f2ab14abb4b6ef906d7d02064fba158f07b1eDavid Lawrence # Omit some internal or obsolete options to make the list less imposing.
b65f2ab14abb4b6ef906d7d02064fba158f07b1eDavid Lawrence # This message is too long to be a string in the A/UX 3.1 sh.
b65f2ab14abb4b6ef906d7d02064fba158f07b1eDavid LawrenceUsage: configure [options] [host]
33950f0a0262f4d49528c4adcf8be42807fa2576David LawrenceOptions: [defaults in brackets after descriptions]
f036af2c718147408d738081cdb0a564b981b4cdDavid LawrenceConfiguration:
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater --cache-file=FILE cache test results in FILE
1630fce031f7a3e33f0579e477a3e17d1993e1f9Bob Halley --help print this message
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein --no-create do not create output files
1630fce031f7a3e33f0579e477a3e17d1993e1f9Bob Halley --quiet, --silent do not print \`checking...' messages
1630fce031f7a3e33f0579e477a3e17d1993e1f9Bob Halley --version print the version of autoconf that created configure
1630fce031f7a3e33f0579e477a3e17d1993e1f9Bob HalleyDirectory and file names:
1630fce031f7a3e33f0579e477a3e17d1993e1f9Bob Halley --prefix=PREFIX install architecture-independent files in PREFIX
1630fce031f7a3e33f0579e477a3e17d1993e1f9Bob Halley [$ac_default_prefix]
7829fad4093f2c1985b1efb7cea00287ff015d2bckb --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
7829fad4093f2c1985b1efb7cea00287ff015d2bckb [same as prefix]
7829fad4093f2c1985b1efb7cea00287ff015d2bckb --bindir=DIR user executables in DIR [EPREFIX/bin]
7829fad4093f2c1985b1efb7cea00287ff015d2bckb --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
7829fad4093f2c1985b1efb7cea00287ff015d2bckb --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
7829fad4093f2c1985b1efb7cea00287ff015d2bckb --datadir=DIR read-only architecture-independent data in DIR
7829fad4093f2c1985b1efb7cea00287ff015d2bckb [PREFIX/share]
7829fad4093f2c1985b1efb7cea00287ff015d2bckb --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
7829fad4093f2c1985b1efb7cea00287ff015d2bckb --sharedstatedir=DIR modifiable architecture-independent data in DIR
7829fad4093f2c1985b1efb7cea00287ff015d2bckb [PREFIX/com]
1630fce031f7a3e33f0579e477a3e17d1993e1f9Bob Halley --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
7554feaef6057f5ea2926076900ac7634b911456Mark Andrews --libdir=DIR object code libraries in DIR [EPREFIX/lib]
7554feaef6057f5ea2926076900ac7634b911456Mark Andrews --includedir=DIR C header files in DIR [PREFIX/include]
7554feaef6057f5ea2926076900ac7634b911456Mark Andrews --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
7554feaef6057f5ea2926076900ac7634b911456Mark Andrews --infodir=DIR info documentation in DIR [PREFIX/info]
7554feaef6057f5ea2926076900ac7634b911456Mark Andrews --mandir=DIR man documentation in DIR [PREFIX/man]
f389bc2c9e9e434380e10221778b7b548612a67fDavid Lawrence --srcdir=DIR find the sources in DIR [configure dir or ..]
f389bc2c9e9e434380e10221778b7b548612a67fDavid Lawrence --program-prefix=PREFIX prepend PREFIX to installed program names
f389bc2c9e9e434380e10221778b7b548612a67fDavid Lawrence --program-suffix=SUFFIX append SUFFIX to installed program names
f389bc2c9e9e434380e10221778b7b548612a67fDavid Lawrence --program-transform-name=PROGRAM
f389bc2c9e9e434380e10221778b7b548612a67fDavid Lawrence run sed PROGRAM on installed program names
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater --build=BUILD configure for building on BUILD [BUILD=HOST]
f389bc2c9e9e434380e10221778b7b548612a67fDavid Lawrence --host=HOST configure for HOST [guessed]
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater --target=TARGET configure for TARGET [TARGET=HOST]
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic UpdaterFeatures and packages:
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
f389bc2c9e9e434380e10221778b7b548612a67fDavid Lawrence --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
f389bc2c9e9e434380e10221778b7b548612a67fDavid Lawrence --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
401fc772b1bf058a981e3c474fa6502f6ee0e2bfDavid Lawrence --x-includes=DIR X include files are in DIR
7829fad4093f2c1985b1efb7cea00287ff015d2bckb --x-libraries=DIR X library files are in DIR
f389bc2c9e9e434380e10221778b7b548612a67fDavid Lawrence if test -n "$ac_help"; then
b65f2ab14abb4b6ef906d7d02064fba158f07b1eDavid Lawrence echo "--enable and --with options recognized:$ac_help"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater -includedir | --includedir | --includedi | --included | --include \
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
b65f2ab14abb4b6ef906d7d02064fba158f07b1eDavid Lawrence | --includ=* | --inclu=* | --incl=* | --inc=*)
f389bc2c9e9e434380e10221778b7b548612a67fDavid Lawrence -infodir | --infodir | --infodi | --infod | --info | --inf)
092b4e5359c5982a438e36ced3dbefc313f7fbfcDavid Lawrence -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
08e57545c2b1068080f5bf317224160426801406Brian Wellington -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
08e57545c2b1068080f5bf317224160426801406Brian Wellington -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
092b4e5359c5982a438e36ced3dbefc313f7fbfcDavid Lawrence -localstatedir | --localstatedir | --localstatedi | --localstated \
092b4e5359c5982a438e36ced3dbefc313f7fbfcDavid Lawrence | --localstate | --localstat | --localsta | --localst \
f389bc2c9e9e434380e10221778b7b548612a67fDavid Lawrence | --locals | --local | --loca | --loc | --lo)
7829fad4093f2c1985b1efb7cea00287ff015d2bckb -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
7829fad4093f2c1985b1efb7cea00287ff015d2bckb | --localstate=* | --localstat=* | --localsta=* | --localst=* \
092b4e5359c5982a438e36ced3dbefc313f7fbfcDavid Lawrence | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
7829fad4093f2c1985b1efb7cea00287ff015d2bckb -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
7829fad4093f2c1985b1efb7cea00287ff015d2bckb -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
7829fad4093f2c1985b1efb7cea00287ff015d2bckb # Obsolete; use --without-fp.
7829fad4093f2c1985b1efb7cea00287ff015d2bckb -no-create | --no-create | --no-creat | --no-crea | --no-cre \
7829fad4093f2c1985b1efb7cea00287ff015d2bckb -no-recursion | --no-recursion | --no-recursio | --no-recursi \
7829fad4093f2c1985b1efb7cea00287ff015d2bckb | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
7829fad4093f2c1985b1efb7cea00287ff015d2bckb -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
7829fad4093f2c1985b1efb7cea00287ff015d2bckb | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
7829fad4093f2c1985b1efb7cea00287ff015d2bckb -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
7829fad4093f2c1985b1efb7cea00287ff015d2bckb | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
7829fad4093f2c1985b1efb7cea00287ff015d2bckb -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
7829fad4093f2c1985b1efb7cea00287ff015d2bckb -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
7829fad4093f2c1985b1efb7cea00287ff015d2bckb -program-prefix | --program-prefix | --program-prefi | --program-pref \
7829fad4093f2c1985b1efb7cea00287ff015d2bckb -program-prefix=* | --program-prefix=* | --program-prefi=* \
7829fad4093f2c1985b1efb7cea00287ff015d2bckb | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
7829fad4093f2c1985b1efb7cea00287ff015d2bckb -program-suffix | --program-suffix | --program-suffi | --program-suff \
7829fad4093f2c1985b1efb7cea00287ff015d2bckb -program-suffix=* | --program-suffix=* | --program-suffi=* \
7829fad4093f2c1985b1efb7cea00287ff015d2bckb | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
7829fad4093f2c1985b1efb7cea00287ff015d2bckb -program-transform-name=* | --program-transform-name=* \
7829fad4093f2c1985b1efb7cea00287ff015d2bckb | --program-transform-nam=* | --program-transform-na=* \
7829fad4093f2c1985b1efb7cea00287ff015d2bckb -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
7829fad4093f2c1985b1efb7cea00287ff015d2bckb -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
7829fad4093f2c1985b1efb7cea00287ff015d2bckb | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
7829fad4093f2c1985b1efb7cea00287ff015d2bckb | --sharedst | --shareds | --shared | --share | --shar \
7829fad4093f2c1985b1efb7cea00287ff015d2bckb -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
7829fad4093f2c1985b1efb7cea00287ff015d2bckb | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
7829fad4093f2c1985b1efb7cea00287ff015d2bckb | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
7829fad4093f2c1985b1efb7cea00287ff015d2bckb -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
7829fad4093f2c1985b1efb7cea00287ff015d2bckb -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
7829fad4093f2c1985b1efb7cea00287ff015d2bckb -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
7829fad4093f2c1985b1efb7cea00287ff015d2bckb -target | --target | --targe | --targ | --tar | --ta | --t)
7829fad4093f2c1985b1efb7cea00287ff015d2bckb -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
7829fad4093f2c1985b1efb7cea00287ff015d2bckb -v | -verbose | --verbose | --verbos | --verbo | --verb)
7829fad4093f2c1985b1efb7cea00287ff015d2bckb echo "configure generated by autoconf version 2.13"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
7829fad4093f2c1985b1efb7cea00287ff015d2bckb # Reject names that are not valid shell variable names.
7829fad4093f2c1985b1efb7cea00287ff015d2bckb if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
7829fad4093f2c1985b1efb7cea00287ff015d2bckb { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
7829fad4093f2c1985b1efb7cea00287ff015d2bckb eval "with_${ac_package}='$ac_optarg'" ;;
7829fad4093f2c1985b1efb7cea00287ff015d2bckb # Reject names that are not valid shell variable names.
7829fad4093f2c1985b1efb7cea00287ff015d2bckb if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
7829fad4093f2c1985b1efb7cea00287ff015d2bckb { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
7829fad4093f2c1985b1efb7cea00287ff015d2bckb eval "with_${ac_package}=no" ;;
7829fad4093f2c1985b1efb7cea00287ff015d2bckb # Obsolete; use --with-x.
7829fad4093f2c1985b1efb7cea00287ff015d2bckb -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
7829fad4093f2c1985b1efb7cea00287ff015d2bckb -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
7829fad4093f2c1985b1efb7cea00287ff015d2bckb -x-libraries | --x-libraries | --x-librarie | --x-librari \
7829fad4093f2c1985b1efb7cea00287ff015d2bckb | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
a03848252fa85734ca75beae3d0b01bb503c0a8bMark Andrews -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
7829fad4093f2c1985b1efb7cea00287ff015d2bckb | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
7829fad4093f2c1985b1efb7cea00287ff015d2bckb -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
7829fad4093f2c1985b1efb7cea00287ff015d2bckb if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
7829fad4093f2c1985b1efb7cea00287ff015d2bckb echo "configure: warning: $ac_option: invalid host type" 1>&2
7829fad4093f2c1985b1efb7cea00287ff015d2bckb { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
7829fad4093f2c1985b1efb7cea00287ff015d2bckbif test -n "$ac_prev"; then
7829fad4093f2c1985b1efb7cea00287ff015d2bckb { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
7829fad4093f2c1985b1efb7cea00287ff015d2bckbtrap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
7829fad4093f2c1985b1efb7cea00287ff015d2bckb# File descriptor usage:
7829fad4093f2c1985b1efb7cea00287ff015d2bckb# 0 standard input
7829fad4093f2c1985b1efb7cea00287ff015d2bckb# 1 file creation
7829fad4093f2c1985b1efb7cea00287ff015d2bckb# 2 errors and warnings
7829fad4093f2c1985b1efb7cea00287ff015d2bckb# 3 some systems may open it to /dev/tty
7829fad4093f2c1985b1efb7cea00287ff015d2bckb# 4 used on the Kubota Titan
7829fad4093f2c1985b1efb7cea00287ff015d2bckb# 6 checking for... messages and results
7829fad4093f2c1985b1efb7cea00287ff015d2bckb# 5 compiler messages saved in config.log
7829fad4093f2c1985b1efb7cea00287ff015d2bckbThis file contains any messages produced by compilers while
7829fad4093f2c1985b1efb7cea00287ff015d2bckbrunning configure, to aid debugging if configure makes a mistake.
7829fad4093f2c1985b1efb7cea00287ff015d2bckb# Strip out --no-create and --no-recursion so they do not pile up.
7829fad4093f2c1985b1efb7cea00287ff015d2bckb# Also quote any args containing shell metacharacters.
7829fad4093f2c1985b1efb7cea00287ff015d2bckb -no-create | --no-create | --no-creat | --no-crea | --no-cre \
7829fad4093f2c1985b1efb7cea00287ff015d2bckb -no-recursion | --no-recursion | --no-recursio | --no-recursi \
7829fad4093f2c1985b1efb7cea00287ff015d2bckb | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
7829fad4093f2c1985b1efb7cea00287ff015d2bckb# NLS nuisances.
7829fad4093f2c1985b1efb7cea00287ff015d2bckb# Only set these to C if already set. These must not be set unconditionally
7829fad4093f2c1985b1efb7cea00287ff015d2bckb# because not all systems understand e.g. LANG=C (notably SCO).
7829fad4093f2c1985b1efb7cea00287ff015d2bckb# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
7829fad4093f2c1985b1efb7cea00287ff015d2bckb# Non-C LC_CTYPE values break the ctype check.
7829fad4093f2c1985b1efb7cea00287ff015d2bckbif test "${LANG+set}" = set; then LANG=C; export LANG; fi
7829fad4093f2c1985b1efb7cea00287ff015d2bckbif test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
7829fad4093f2c1985b1efb7cea00287ff015d2bckbif test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
7829fad4093f2c1985b1efb7cea00287ff015d2bckbif test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
7829fad4093f2c1985b1efb7cea00287ff015d2bckb# confdefs.h avoids OS command line length limits that DEFS can exceed.
7829fad4093f2c1985b1efb7cea00287ff015d2bckb# AIX cpp loses on an empty file, so make sure it contains at least a newline.
7829fad4093f2c1985b1efb7cea00287ff015d2bckb# A filename unique to this package, relative to the directory that
7829fad4093f2c1985b1efb7cea00287ff015d2bckb# configure is in, which we can look for to find out if srcdir is correct.
7829fad4093f2c1985b1efb7cea00287ff015d2bckb# Find the source files, if location was not specified.
7829fad4093f2c1985b1efb7cea00287ff015d2bckbif test -z "$srcdir"; then
7829fad4093f2c1985b1efb7cea00287ff015d2bckb # Try the directory containing this script, then its parent.
7829fad4093f2c1985b1efb7cea00287ff015d2bckb { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
7829fad4093f2c1985b1efb7cea00287ff015d2bckb { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
f389bc2c9e9e434380e10221778b7b548612a67fDavid Lawrence# Prefer explicitly selected file to automatically selected ones.
a03848252fa85734ca75beae3d0b01bb503c0a8bMark Andrewsif test -z "$CONFIG_SITE"; then
7829fad4093f2c1985b1efb7cea00287ff015d2bckb CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb if test -r "$ac_site_file"; then
7829fad4093f2c1985b1efb7cea00287ff015d2bckb echo "loading site script $ac_site_file"
7829fad4093f2c1985b1efb7cea00287ff015d2bckbif test -r "$cache_file"; then
7829fad4093f2c1985b1efb7cea00287ff015d2bckb echo "loading cache $cache_file"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb echo "creating cache $cache_file"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7829fad4093f2c1985b1efb7cea00287ff015d2bckbac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7829fad4093f2c1985b1efb7cea00287ff015d2bckbac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7829fad4093f2c1985b1efb7cea00287ff015d2bckbif (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
7829fad4093f2c1985b1efb7cea00287ff015d2bckb # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
7829fad4093f2c1985b1efb7cea00287ff015d2bckb if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
7829fad4093f2c1985b1efb7cea00287ff015d2bckbif test -z "$ac_aux_dir"; then
7829fad4093f2c1985b1efb7cea00287ff015d2bckb { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
7829fad4093f2c1985b1efb7cea00287ff015d2bckbac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
7829fad4093f2c1985b1efb7cea00287ff015d2bckb# Make sure we can run config.sub.
7829fad4093f2c1985b1efb7cea00287ff015d2bckbif ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
7829fad4093f2c1985b1efb7cea00287ff015d2bckbelse { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
7829fad4093f2c1985b1efb7cea00287ff015d2bckb if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
7829fad4093f2c1985b1efb7cea00287ff015d2bckb else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
7829fad4093f2c1985b1efb7cea00287ff015d2bckbhost=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
7829fad4093f2c1985b1efb7cea00287ff015d2bckbhost_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
7829fad4093f2c1985b1efb7cea00287ff015d2bckbhost_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
7829fad4093f2c1985b1efb7cea00287ff015d2bckbhost_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
7829fad4093f2c1985b1efb7cea00287ff015d2bckbecho $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
7829fad4093f2c1985b1efb7cea00287ff015d2bckbecho "configure:694: checking whether ${MAKE-make} sets \${MAKE}" >&5
7829fad4093f2c1985b1efb7cea00287ff015d2bckbset dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
7829fad4093f2c1985b1efb7cea00287ff015d2bckbif eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
7829fad4093f2c1985b1efb7cea00287ff015d2bckb @echo 'ac_maketemp="${MAKE}"'
7829fad4093f2c1985b1efb7cea00287ff015d2bckb# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
7829fad4093f2c1985b1efb7cea00287ff015d2bckbeval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
7829fad4093f2c1985b1efb7cea00287ff015d2bckbif test -n "$ac_maketemp"; then
037b732f88edc943f3141e0342dc993156e3abf3Mark Andrewsif eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff# Extract the first word of "ranlib", so it can be a program name with args.
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterecho $ac_n "checking for $ac_word""... $ac_c" 1>&6
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterecho "configure:723: checking for $ac_word" >&5
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graffif eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater if test -n "$RANLIB"; then
b239c8294a5653d21876d084e0c5b029f6b9fc5dMichael Graff ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
7554feaef6057f5ea2926076900ac7634b911456Mark Andrewsif test -n "$RANLIB"; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater# Find a good install program. We prefer a C program (faster),
f389bc2c9e9e434380e10221778b7b548612a67fDavid Lawrence# so one script is as good as another. But avoid the broken or
f389bc2c9e9e434380e10221778b7b548612a67fDavid Lawrence# incompatible versions:
f389bc2c9e9e434380e10221778b7b548612a67fDavid Lawrence# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater# AFS /usr/afsws/bin/install, which mishandles nonexistent args
a03848252fa85734ca75beae3d0b01bb503c0a8bMark Andrews# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
a03848252fa85734ca75beae3d0b01bb503c0a8bMark Andrews# ./install, which can be erroneously created by make from ./install.sh.
a03848252fa85734ca75beae3d0b01bb503c0a8bMark Andrewsecho $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
a03848252fa85734ca75beae3d0b01bb503c0a8bMark Andrewsecho "configure:762: checking for a BSD compatible install" >&5
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif test -z "$INSTALL"; then
f389bc2c9e9e434380e10221778b7b548612a67fDavid Lawrenceif eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb # Account for people who put trailing slashes in PATH elements.
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater # OSF1 and SCO ODT 3.0 have their own names for install.
7829fad4093f2c1985b1efb7cea00287ff015d2bckb # Don't use installbsd from OSF since it installs stuff as root
7829fad4093f2c1985b1efb7cea00287ff015d2bckb # by default.
83e6eb0dfe7d3525dcf093f440e04e8971c4c5d2Brian Wellington for ac_prog in ginstall scoinst install; do
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
b65f2ab14abb4b6ef906d7d02064fba158f07b1eDavid Lawrence # AIX install. It has an incompatible calling convention.
dd2a0a6d2dec1c23787351e51b434a838dec5603Evan Hunt if test "${ac_cv_path_install+set}" = set; then
dd2a0a6d2dec1c23787351e51b434a838dec5603Evan Hunt # As a last resort, use the slow shell script. We don't cache a
dd2a0a6d2dec1c23787351e51b434a838dec5603Evan Hunt # path for INSTALL within a source directory, because that will
dd2a0a6d2dec1c23787351e51b434a838dec5603Evan Hunt # break other packages using the cache if that directory is
3ddd814a97de1d152ba0913c592d6e6dc83d38a6Michael Graff # removed, or if the path is relative.
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater# It thinks the first close brace ends the variable substitution.
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updatertest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updatertest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updatertest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater# Extract the first word of "ar", so it can be a program name with args.
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterecho $ac_n "checking for $ac_word""... $ac_c" 1>&6
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterecho "configure:825: checking for $ac_word" >&5
ec80744ad68b97f15657b1fdf5591c30b559b57dDavid Lawrenceif eval "test \"`echo '$''{'ac_cv_path_AR'+set}'`\" = set"; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater ac_cv_path_AR="$AR" # Let the user override the test with a path.
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater ac_cv_path_AR="$AR" # Let the user override the test with a dos path.
f389bc2c9e9e434380e10221778b7b548612a67fDavid Lawrenceif test -n "$AR"; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater if test -f "$ac_dir/cc"; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater echo $ac_n "checking which thread library to use""... $ac_c" 1>&6
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterecho "configure:898: checking which thread library to use" >&5
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater # Check whether --with-mit-pthreads or --without-mit-pthreads was given.
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif test "${with_mit_pthreads+set}" = set; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater # Check whether --with-ptl2 or --without-ptl2 was given.
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif test "${with_ptl2+set}" = set; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater { echo "configure: error: no thread library.
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic UpdaterPlease choose a thread library using one of
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater configure --with-mit-pthreads
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater configure --with-ptl2
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater# Extract the first word of "gcc", so it can be a program name with args.
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterecho $ac_n "checking for $ac_word""... $ac_c" 1>&6
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterecho "configure:962: checking for $ac_word" >&5
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater if test -n "$CC"; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater ac_cv_prog_CC="$CC" # Let the user override the test.
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif test -n "$CC"; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif test -z "$CC"; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater # Extract the first word of "cc", so it can be a program name with args.
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterecho $ac_n "checking for $ac_word""... $ac_c" 1>&6
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterecho "configure:992: checking for $ac_word" >&5
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater if test -n "$CC"; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater ac_cv_prog_CC="$CC" # Let the user override the test.
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater # We found a bogon in the path, so make sure we never use it.
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater # We chose a different compiler from the bogus one.
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater # However, it has the same basename, so the bogon will be chosen
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater # first if we set CC to just the basename; use the full file name.
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif test -n "$CC"; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater if test -z "$CC"; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater # Extract the first word of "cl", so it can be a program name with args.
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterecho $ac_n "checking for $ac_word""... $ac_c" 1>&6
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterecho "configure:1043: checking for $ac_word" >&5
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater if test -n "$CC"; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater ac_cv_prog_CC="$CC" # Let the user override the test.
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif test -n "$CC"; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterecho $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterecho "configure:1075: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#line 1086 "configure"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#include "confdefs.h"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updatermain(){return(0);}
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif { (eval echo configure:1091: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater # If we can't run a trivial program, we are probably using a cross compiler.
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterecho $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterecho "configure:1117: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterecho $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterecho "configure:1122: checking whether we are using GNU C" >&5
7829fad4093f2c1985b1efb7cea00287ff015d2bckbif eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#ifdef __GNUC__
0f5962ac3e4ef336faff68f1cb838505e64665e5David Lawrenceif { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1131: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterecho $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterecho "configure:1150: checking whether ${CC-cc} accepts -g" >&5
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
3ddd814a97de1d152ba0913c592d6e6dc83d38a6Michael Graffif test "$ac_test_CFLAGS" = set; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater# Extract the first word of "$ac_prog", so it can be a program name with args.
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterecho $ac_n "checking for $ac_word""... $ac_c" 1>&6
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterecho "configure:1186: checking for $ac_word" >&5
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater if test -n "$YACC"; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater ac_cv_prog_YACC="$YACC" # Let the user override the test.
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif test -n "$YACC"; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updatertest -n "$YACC" && break
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterecho $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterecho "configure:1218: checking how to run the C preprocessor" >&5
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater# On Suns, sometimes $CPP names a directory.
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif test -z "$CPP"; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater # This must be in double quotes, not single quotes, because CPP may get
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater # substituted into the Makefile and "${CC-cc}" will confuse make.
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater # On the NeXT, cc -E runs the code through the compiler's parser,
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater # not just through cpp.
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#line 1233 "configure"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#include "confdefs.h"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#include <assert.h>
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater{ (eval echo configure:1239: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
08e57545c2b1068080f5bf317224160426801406Brian Wellingtonif test -z "$ac_err"; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#line 1250 "configure"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#include "confdefs.h"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#include <assert.h>
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater{ (eval echo configure:1256: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif test -z "$ac_err"; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#line 1267 "configure"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#include "confdefs.h"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#include <assert.h>
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater{ (eval echo configure:1273: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif test -z "$ac_err"; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterecho $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterecho "configure:1298: checking for ANSI C header files" >&5
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#line 1303 "configure"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#include "confdefs.h"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#include <stdlib.h>
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#include <stdarg.h>
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#include <string.h>
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#include <float.h>
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater{ (eval echo configure:1311: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif test -z "$ac_err"; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#line 1328 "configure"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#include "confdefs.h"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#include <string.h>
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#line 1346 "configure"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#include "confdefs.h"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#include <stdlib.h>
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#line 1367 "configure"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#include "confdefs.h"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#include <ctype.h>
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterint main () { int i; for (i = 0; i < 256; i++)
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif { (eval echo configure:1378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#define STDC_HEADERS 1
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterfor ac_hdr in fcntl.h sys/time.h unistd.h sys/sockio.h netinet6/in6.h
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterecho $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterecho "configure:1405: checking for $ac_hdr" >&5
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#line 1410 "configure"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#include "confdefs.h"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#include <$ac_hdr>
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater{ (eval echo configure:1415: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif test -z "$ac_err"; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater eval "ac_cv_header_$ac_safe=yes"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater eval "ac_cv_header_$ac_safe=no"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#define $ac_tr_hdr 1
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterecho $ac_n "checking for working const""... $ac_c" 1>&6
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterecho "configure:1443: checking for working const" >&5
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#line 1448 "configure"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#include "confdefs.h"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater/* Ultrix mips cc rejects this. */
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updatertypedef int charset[2]; const charset x;
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater/* SunOS 4.1.1 cc rejects this. */
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterchar const *const *ccp;
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater/* NEC SVR4.0.2 mips cc rejects this. */
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterstruct point {int x, y;};
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterstatic struct point const zero = {0,0};
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater/* AIX XL C 1.02.0.0 rejects this.
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater It does not let you subtract one const X* pointer from another in an arm
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater of an if-expression whose if-part is not a constant expression */
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterconst char *g = "string";
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterccp = &g + (g ? g-g : 0);
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater/* HPUX 7.0 cc rejects these. */
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterp = (char**) ccp;
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterccp = (char const *const *) p;
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater{ /* SCO 3.2v4 cc rejects this. */
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater char const *s = 0 ? (char *) 0 : (char const *) 0;
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater int x[] = {25, 17};
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater const int *foo = &x[0];
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater typedef const int *iptr;
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater{ /* AIX XL C 1.02.0.0 rejects this saying
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater struct s { int j; const int *ap[3]; };
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater struct s *b; b->j = 5;
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater const int foo = 10;
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif { (eval echo configure:1497: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterecho $ac_n "checking for inline""... $ac_c" 1>&6
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterecho "configure:1518: checking for inline" >&5
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterfor ac_kw in inline __inline__ __inline; do
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#line 1525 "configure"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#include "confdefs.h"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater} $ac_kw foo() {
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif { (eval echo configure:1532: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#define inline $ac_cv_c_inline
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterecho $ac_n "checking for size_t""... $ac_c" 1>&6
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterecho "configure:1558: checking for size_t" >&5
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#line 1563 "configure"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#include "confdefs.h"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#include <sys/types.h>
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#if STDC_HEADERS
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#include <stdlib.h>
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#include <stddef.h>
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#define size_t unsigned
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterecho $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterecho "configure:1591: checking whether time.h and sys/time.h may both be included" >&5
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#line 1596 "configure"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#include "confdefs.h"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#include <sys/types.h>
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#include <sys/time.h>
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#include <time.h>
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif { (eval echo configure:1605: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#define TIME_WITH_SYS_TIME 1
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterecho $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterecho "configure:1627: checking for pthread_create in -lpthread" >&5
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterac_lib_var=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#line 1635 "configure"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#include "confdefs.h"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater/* Override any gcc2 internal prototype to avoid an error. */
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater/* We use char because int might match the return type of a gcc2
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater builtin and then its argument prototype would still apply. */
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterchar pthread_create();
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterpthread_create()
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif { (eval echo configure:1646: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater eval "ac_cv_lib_$ac_lib_var=yes"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater eval "ac_cv_lib_$ac_lib_var=no"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater ac_tr_lib=HAVE_LIB`echo pthread | sed -e 's/[^a-zA-Z0-9_]/_/g' \
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#define $ac_tr_lib 1
0a09237aa0b12f9e478a9617d9d54c8b3512f94bBob Halleyecho $ac_n "checking for __pthread_create in -lpthread""... $ac_c" 1>&6
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterecho "configure:1672: checking for __pthread_create in -lpthread" >&5
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterac_lib_var=`echo pthread'_'__pthread_create | sed 'y%./+-%__p_%'`
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
f389bc2c9e9e434380e10221778b7b548612a67fDavid Lawrence#line 1680 "configure"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#include "confdefs.h"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater/* Override any gcc2 internal prototype to avoid an error. */
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater/* We use char because int might match the return type of a gcc2
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater builtin and then its argument prototype would still apply. */
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterchar __pthread_create();
f389bc2c9e9e434380e10221778b7b548612a67fDavid Lawrence__pthread_create()
f389bc2c9e9e434380e10221778b7b548612a67fDavid Lawrenceif { (eval echo configure:1691: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3ddd814a97de1d152ba0913c592d6e6dc83d38a6Michael Graff eval "ac_cv_lib_$ac_lib_var=yes"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater eval "ac_cv_lib_$ac_lib_var=no"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater ac_tr_lib=HAVE_LIB`echo pthread | sed -e 's/^a-zA-Z0-9_/_/g' \
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#define $ac_tr_lib 1
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater echo $ac_n "checking for __pthread_create_system in -lpthread""... $ac_c" 1>&6
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterecho "configure:1719: checking for __pthread_create_system in -lpthread" >&5
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterac_lib_var=`echo pthread'_'__pthread_create_system | sed 'y%./+-%__p_%'`
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#line 1727 "configure"
94231e22882a98a3805060b0a1322e96d8f57b41David Lawrence#include "confdefs.h"
94231e22882a98a3805060b0a1322e96d8f57b41David Lawrence/* Override any gcc2 internal prototype to avoid an error. */
bd1190c84b08e61a12789c54f083318c36449e5eDavid Lawrence/* We use char because int might match the return type of a gcc2
a09c545af1ceb8eb6f3aa2bb6fae286208a72141David Lawrence builtin and then its argument prototype would still apply. */
a09c545af1ceb8eb6f3aa2bb6fae286208a72141David Lawrencechar __pthread_create_system();
a09c545af1ceb8eb6f3aa2bb6fae286208a72141David Lawrence__pthread_create_system()
a09c545af1ceb8eb6f3aa2bb6fae286208a72141David Lawrenceif { (eval echo configure:1738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
a09c545af1ceb8eb6f3aa2bb6fae286208a72141David Lawrence eval "ac_cv_lib_$ac_lib_var=yes"
a09c545af1ceb8eb6f3aa2bb6fae286208a72141David Lawrence eval "ac_cv_lib_$ac_lib_var=no"
a09c545af1ceb8eb6f3aa2bb6fae286208a72141David Lawrenceif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
b79e66b06d058ef3b9a26b71806ce67971cd3152David Lawrence ac_tr_lib=HAVE_LIB`echo pthread | sed -e 's/^a-zA-Z0-9_/_/g' \
b79e66b06d058ef3b9a26b71806ce67971cd3152David Lawrence -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
a09c545af1ceb8eb6f3aa2bb6fae286208a72141David Lawrence#define $ac_tr_lib 1
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif test "$ac_cv_lib_pthread" != "yes"; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterecho "configure:1772: checking for pthread_create in -lc_r" >&5
7829fad4093f2c1985b1efb7cea00287ff015d2bckbac_lib_var=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#line 1780 "configure"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#include "confdefs.h"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater/* Override any gcc2 internal prototype to avoid an error. */
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater/* We use char because int might match the return type of a gcc2
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater builtin and then its argument prototype would still apply. */
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterchar pthread_create();
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterpthread_create()
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif { (eval echo configure:1791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater eval "ac_cv_lib_$ac_lib_var=yes"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater eval "ac_cv_lib_$ac_lib_var=no"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater ac_tr_lib=HAVE_LIB`echo c_r | sed -e 's/[^a-zA-Z0-9_]/_/g' \
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#define $ac_tr_lib 1
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterecho $ac_n "checking for sigwait in -lpthread""... $ac_c" 1>&6
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterecho "configure:1822: checking for sigwait in -lpthread" >&5
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterac_lib_var=`echo pthread'_'sigwait | sed 'y%./+-%__p_%'`
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#line 1830 "configure"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#include "confdefs.h"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater/* Override any gcc2 internal prototype to avoid an error. */
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater/* We use char because int might match the return type of a gcc2
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater builtin and then its argument prototype would still apply. */
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterchar sigwait();
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif { (eval echo configure:1841: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater eval "ac_cv_lib_$ac_lib_var=yes"
f389bc2c9e9e434380e10221778b7b548612a67fDavid Lawrence eval "ac_cv_lib_$ac_lib_var=no"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#define HAVE_SIGWAIT 1
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterecho $ac_n "checking for _Psigwait in -lpthread""... $ac_c" 1>&6
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterecho "configure:1863: checking for _Psigwait in -lpthread" >&5
a09c545af1ceb8eb6f3aa2bb6fae286208a72141David Lawrenceac_lib_var=`echo pthread'_'_Psigwait | sed 'y%./+-%__p_%'`
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
a09c545af1ceb8eb6f3aa2bb6fae286208a72141David Lawrence#line 1871 "configure"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#include "confdefs.h"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater/* Override any gcc2 internal prototype to avoid an error. */
a09c545af1ceb8eb6f3aa2bb6fae286208a72141David Lawrence/* We use char because int might match the return type of a gcc2
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater builtin and then its argument prototype would still apply. */
a09c545af1ceb8eb6f3aa2bb6fae286208a72141David Lawrencechar _Psigwait();
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif { (eval echo configure:1882: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater eval "ac_cv_lib_$ac_lib_var=yes"
a09c545af1ceb8eb6f3aa2bb6fae286208a72141David Lawrence eval "ac_cv_lib_$ac_lib_var=no"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#define HAVE_SIGWAIT 1
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#define _POSIX_PTHREAD_SEMANTICS 1
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterecho $ac_n "checking for catgets""... $ac_c" 1>&6
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterecho "configure:1919: checking for catgets" >&5
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif eval "test \"`echo '$''{'ac_cv_func_catgets'+set}'`\" = set"; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#line 1924 "configure"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb#include "confdefs.h"
7829fad4093f2c1985b1efb7cea00287ff015d2bckb/* System header to define __stub macros and hopefully few prototypes,
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater which can conflict with char catgets(); below. */
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#include <assert.h>
7829fad4093f2c1985b1efb7cea00287ff015d2bckb/* Override any gcc2 internal prototype to avoid an error. */
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater/* We use char because int might match the return type of a gcc2
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater builtin and then its argument prototype would still apply. */
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterchar catgets();
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater/* The GNU C library defines this for functions which it implements
7829fad4093f2c1985b1efb7cea00287ff015d2bckb to always fail with ENOSYS. Some functions are actually named
7829fad4093f2c1985b1efb7cea00287ff015d2bckb something starting with __ and the normal name is an alias. */
7829fad4093f2c1985b1efb7cea00287ff015d2bckb#if defined (__stub_catgets) || defined (__stub___catgets)
08e57545c2b1068080f5bf317224160426801406Brian Wellingtonif { (eval echo configure:1947: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater eval "ac_cv_func_catgets=yes"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater eval "ac_cv_func_catgets=no"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif eval "test \"`echo '$ac_cv_func_'catgets`\" = yes"; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#define HAVE_CATGETS 1
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#define NEED_PTHREAD_INIT 1
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#define HAVE_LINUXTHREADS 1
b65f2ab14abb4b6ef906d7d02064fba158f07b1eDavid Lawrence echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
40e7c805a8f38ad9b20dd6c688496fc09fc971c2Mark Andrewsecho "configure:1991: checking for socket in -lsocket" >&5
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'`
b65f2ab14abb4b6ef906d7d02064fba158f07b1eDavid Lawrenceif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#line 1999 "configure"
b65f2ab14abb4b6ef906d7d02064fba158f07b1eDavid Lawrence#include "confdefs.h"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater/* Override any gcc2 internal prototype to avoid an error. */
b65f2ab14abb4b6ef906d7d02064fba158f07b1eDavid Lawrence/* We use char because int might match the return type of a gcc2
b65f2ab14abb4b6ef906d7d02064fba158f07b1eDavid Lawrence builtin and then its argument prototype would still apply. */
b65f2ab14abb4b6ef906d7d02064fba158f07b1eDavid Lawrencechar socket();
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif { (eval echo configure:2010: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater eval "ac_cv_lib_$ac_lib_var=yes"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater eval "ac_cv_lib_$ac_lib_var=no"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater ac_tr_lib=HAVE_LIB`echo socket | sed -e 's/[^a-zA-Z0-9_]/_/g' \
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#define $ac_tr_lib 1
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater echo $ac_n "checking for inet_ntoa in -lnsl""... $ac_c" 1>&6
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterecho "configure:2038: checking for inet_ntoa in -lnsl" >&5
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterac_lib_var=`echo nsl'_'inet_ntoa | sed 'y%./+-%__p_%'`
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#line 2046 "configure"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#include "confdefs.h"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater/* Override any gcc2 internal prototype to avoid an error. */
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater/* We use char because int might match the return type of a gcc2
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater builtin and then its argument prototype would still apply. */
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterchar inet_ntoa();
40e7c805a8f38ad9b20dd6c688496fc09fc971c2Mark Andrewsif { (eval echo configure:2057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater eval "ac_cv_lib_$ac_lib_var=yes"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater eval "ac_cv_lib_$ac_lib_var=no"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater ac_tr_lib=HAVE_LIB`echo nsl | sed -e 's/[^a-zA-Z0-9_]/_/g' \
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#define $ac_tr_lib 1
b65f2ab14abb4b6ef906d7d02064fba158f07b1eDavid Lawrence STD_CWARNINGS="$STD_CWARNINGS -W -Wall -Wmissing-prototypes"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater MKDEPPROG='cc -Ae -E -Wp,-M >/dev/null 2>>$TMP'
5d4f11b265c396d71ec2162a632e620425481a9eDavid Lawrence#define _SOCKADDR_LEN 1
f389bc2c9e9e434380e10221778b7b548612a67fDavid Lawrenceecho $ac_n "checking for sa_len in struct sockaddr""... $ac_c" 1>&6
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterecho "configure:2128: checking for sa_len in struct sockaddr" >&5
5d4f11b265c396d71ec2162a632e620425481a9eDavid Lawrence#line 2130 "configure"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#include "confdefs.h"
f389bc2c9e9e434380e10221778b7b548612a67fDavid Lawrence#include <sys/types.h>
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#include <sys/socket.h>
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterstruct sockaddr sa; sa.sa_len = 0; return (0);
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif { (eval echo configure:2139: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater ISC_PLATFORM_HAVESALEN="#define ISC_PLATFORM_HAVESALEN 1"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater ISC_PLATFORM_HAVESALEN="#undef ISC_PLATFORM_HAVESALEN"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterecho $ac_n "checking for struct msghdr flavor""... $ac_c" 1>&6
f389bc2c9e9e434380e10221778b7b548612a67fDavid Lawrenceecho "configure:2155: checking for struct msghdr flavor" >&5
c4c843edb3f4c609e3552ee77a43400852400467David Lawrence#line 2157 "configure"
c4c843edb3f4c609e3552ee77a43400852400467David Lawrence#include "confdefs.h"
c4c843edb3f4c609e3552ee77a43400852400467David Lawrence#include <sys/types.h>
bd1190c84b08e61a12789c54f083318c36449e5eDavid Lawrence#include <sys/socket.h>
7829fad4093f2c1985b1efb7cea00287ff015d2bckbint main() {
7829fad4093f2c1985b1efb7cea00287ff015d2bckbstruct msghdr msg; msg.msg_flags = 0; return (0);
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif { (eval echo configure:2166: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater ISC_PLATFORM_MSGHDRFLAVOR="#define ISC_NET_BSD44MSGHDR 1"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater ISC_PLATFORM_MSGHDRFLAVOR="#define ISC_NET_BSD43MSGHDR 1"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterecho $ac_n "checking for type in_port_t""... $ac_c" 1>&6
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterecho "configure:2181: checking for type in_port_t" >&5
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#line 2183 "configure"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#include "confdefs.h"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#include <sys/types.h>
0874abad14e3e9ecfc3dc1a1a2b9969f2f027724Mark Andrews#include <netinet/in.h>
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterin_port_t port = 25; return (0);
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif { (eval echo configure:2192: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater ISC_PLATFORM_NEEDPORTT="#undef ISC_PLATFORM_NEEDPORTT"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater ISC_PLATFORM_NEEDPORTT="#define ISC_PLATFORM_NEEDPORTT 1"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterecho $ac_n "checking for struct addrinfo""... $ac_c" 1>&6
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterecho "configure:2207: checking for struct addrinfo" >&5
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#line 2209 "configure"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#include "confdefs.h"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#include <netdb.h>
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterstruct addrinfo a; return (0);
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif { (eval echo configure:2217: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater ISC_LWRES_NEEDADDRINFO="#undef ISC_LWRES_NEEDADDRINFO"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater ISC_LWRES_NEEDADDRINFO="#define ISC_LWRES_NEEDADDRINFO 1"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterecho $ac_n "checking for int sethostent""... $ac_c" 1>&6
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterecho "configure:2232: checking for int sethostent" >&5
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#line 2234 "configure"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#include "confdefs.h"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#include <netdb.h>
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterint i = sethostent(0); return(0);
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif { (eval echo configure:2242: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater ISC_LWRES_SETHOSTENTINT="#define ISC_LWRES_SETHOSTENTINT 1"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater ISC_LWRES_SETHOSTENTINT="#undef ISC_LWRES_SETHOSTENTINT"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterecho $ac_n "checking for int endhostent""... $ac_c" 1>&6
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterecho "configure:2257: checking for int endhostent" >&5
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#line 2259 "configure"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#include "confdefs.h"
f389bc2c9e9e434380e10221778b7b548612a67fDavid Lawrence#include <netdb.h>
0f5962ac3e4ef336faff68f1cb838505e64665e5David Lawrenceint i = endhostent(); return(0);
0f5962ac3e4ef336faff68f1cb838505e64665e5David Lawrenceif { (eval echo configure:2267: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater ISC_LWRES_ENDHOSTENTINT="#define ISC_LWRES_ENDHOSTENTINT 1"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater ISC_LWRES_ENDHOSTENTINT="#undef ISC_LWRES_ENDHOSTENTINT"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterecho $ac_n "checking for int setnetent""... $ac_c" 1>&6
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterecho "configure:2282: checking for int setnetent" >&5
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#line 2284 "configure"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#include "confdefs.h"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#include <netdb.h>
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterint i = setnetent(0); return(0);
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif { (eval echo configure:2292: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater ISC_LWRES_SETNETENTINT="#define ISC_LWRES_SETNETENTINT 1"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater ISC_LWRES_SETNETENTINT="#undef ISC_LWRES_SETNETENTINT"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterecho $ac_n "checking for gethostbyadd(const void *, size_t, ...)""... $ac_c" 1>&6
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterecho "configure:2307: checking for gethostbyadd(const void *, size_t, ...)" >&5
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#line 2309 "configure"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#include "confdefs.h"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#include <netdb.h>
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterstruct hostent *gethostbyaddr(const void *, size_t, int);
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif { (eval echo configure:2318: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater ISC_LWRES_GETHOSTBYADDRVOID="#define ISC_LWRES_GETHOSTBYADDRVOID 1"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater ISC_LWRES_GETHOSTBYADDRVOID="#undef ISC_LWRES_GETHOSTBYADDRVOID"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterecho $ac_n "checking for h_errno in netdb.h""... $ac_c" 1>&6
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterecho "configure:2333: checking for h_errno in netdb.h" >&5
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#line 2335 "configure"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#include "confdefs.h"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#include <netdb.h>
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterh_errno = 1; return(0);
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif { (eval echo configure:2343: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater ISC_LWRES_NEEDHERRNO="#undef ISC_LWRES_NEEDHERRNO"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater ISC_LWRES_NEEDHERRNO="#define ISC_LWRES_NEEDHERRNO 1"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterecho $ac_n "checking for getipnodebyname""... $ac_c" 1>&6
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterecho "configure:2358: checking for getipnodebyname" >&5
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif eval "test \"`echo '$''{'ac_cv_func_getipnodebyname'+set}'`\" = set"; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#line 2363 "configure"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#include "confdefs.h"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater/* System header to define __stub macros and hopefully few prototypes,
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater which can conflict with char getipnodebyname(); below. */
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#include <assert.h>
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater/* Override any gcc2 internal prototype to avoid an error. */
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater/* We use char because int might match the return type of a gcc2
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater builtin and then its argument prototype would still apply. */
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterchar getipnodebyname();
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater/* The GNU C library defines this for functions which it implements
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater to always fail with ENOSYS. Some functions are actually named
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater something starting with __ and the normal name is an alias. */
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#if defined (__stub_getipnodebyname) || defined (__stub___getipnodebyname)
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updatergetipnodebyname();
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif { (eval echo configure:2386: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater eval "ac_cv_func_getipnodebyname=yes"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater eval "ac_cv_func_getipnodebyname=no"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif eval "test \"`echo '$ac_cv_func_'getipnodebyname`\" = yes"; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater ISC_LWRES_GETIPNODEPROTO="#undef ISC_LWRES_GETIPNODEPROTO"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic UpdaterISC_LWRES_GETIPNODEPROTO="#define ISC_LWRES_GETIPNODEPROTO 1"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterecho $ac_n "checking for getnameinfo""... $ac_c" 1>&6
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterecho "configure:2407: checking for getnameinfo" >&5
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif eval "test \"`echo '$''{'ac_cv_func_getnameinfo'+set}'`\" = set"; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#line 2412 "configure"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#include "confdefs.h"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater/* System header to define __stub macros and hopefully few prototypes,
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater which can conflict with char getnameinfo(); below. */
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#include <assert.h>
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater/* Override any gcc2 internal prototype to avoid an error. */
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater/* We use char because int might match the return type of a gcc2
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater builtin and then its argument prototype would still apply. */
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterchar getnameinfo();
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater/* The GNU C library defines this for functions which it implements
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater to always fail with ENOSYS. Some functions are actually named
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater something starting with __ and the normal name is an alias. */
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#if defined (__stub_getnameinfo) || defined (__stub___getnameinfo)
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif { (eval echo configure:2435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater eval "ac_cv_func_getnameinfo=yes"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater eval "ac_cv_func_getnameinfo=no"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif eval "test \"`echo '$ac_cv_func_'getnameinfo`\" = yes"; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater ISC_LWRES_GETNAMEINFOPROTO="#undef ISC_LWRES_GETNAMEINFOPROTO"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic UpdaterISC_LWRES_GETNAMEINFOPROTO="#define ISC_LWRES_GETNAMEINFOPROTO 1"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterecho $ac_n "checking for getaddrinfo""... $ac_c" 1>&6
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterecho "configure:2456: checking for getaddrinfo" >&5
47b7dfffe5d806c6a5e99ef17f07bcde812c2132Francis Dupontif eval "test \"`echo '$''{'ac_cv_func_getaddrinfo'+set}'`\" = set"; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#line 2461 "configure"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#include "confdefs.h"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater/* System header to define __stub macros and hopefully few prototypes,
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater which can conflict with char getaddrinfo(); below. */
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#include <assert.h>
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater/* Override any gcc2 internal prototype to avoid an error. */
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater/* We use char because int might match the return type of a gcc2
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater builtin and then its argument prototype would still apply. */
8f1c29d73f605d020824b9b10257de013917530fMark Andrewschar getaddrinfo();
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater/* The GNU C library defines this for functions which it implements
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater to always fail with ENOSYS. Some functions are actually named
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater something starting with __ and the normal name is an alias. */
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#if defined (__stub_getaddrinfo) || defined (__stub___getaddrinfo)
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif { (eval echo configure:2484: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater eval "ac_cv_func_getaddrinfo=yes"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater eval "ac_cv_func_getaddrinfo=no"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif eval "test \"`echo '$ac_cv_func_'getaddrinfo`\" = yes"; then
f389bc2c9e9e434380e10221778b7b548612a67fDavid Lawrence ISC_LWRES_GETADDRINFOPROTO="#undef ISC_LWRES_GETADDRINFOPROTO"
72d4e9f06f548af14696a0771626d288ba41522fDavid LawrenceISC_LWRES_GETADDRINFOPROTO="#define ISC_LWRES_GETADDRINFOPROTO 1"
d65db52903505c1bcbc6dd1651e9f9f347e48217David Lawrenceecho $ac_n "checking for interface list sysctl""... $ac_c" 1>&6
d65db52903505c1bcbc6dd1651e9f9f347e48217David Lawrenceecho "configure:2510: checking for interface list sysctl" >&5
d65db52903505c1bcbc6dd1651e9f9f347e48217David Lawrence#line 2512 "configure"
1630fce031f7a3e33f0579e477a3e17d1993e1f9Bob Halley#include "confdefs.h"
a03848252fa85734ca75beae3d0b01bb503c0a8bMark Andrews#include <sys/param.h>
7829fad4093f2c1985b1efb7cea00287ff015d2bckb#include <sys/sysctl.h>
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#include <sys/socket.h>
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#ifdef NET_RT_IFLIST
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterfound_rt_iflist
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#define HAVE_IFLIST_SYSCTL 1
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater# Check whether --with-libtool or --without-libtool was given.
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif test "${with_libtool+set}" = set; then
a03848252fa85734ca75beae3d0b01bb503c0a8bMark Andrews # Check whether --enable-shared or --disable-shared was given.
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif test "${enable_shared+set}" = set; then
7829fad4093f2c1985b1efb7cea00287ff015d2bckb # Look at the argument we got. We use all the common list separators.
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater# Check whether --enable-static or --disable-static was given.
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif test "${enable_static+set}" = set; then
a03848252fa85734ca75beae3d0b01bb503c0a8bMark Andrews # Look at the argument we got. We use all the common list separators.
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater# Check whether --enable-fast-install or --disable-fast-install was given.
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif test "${enable_fast_install+set}" = set; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater # Look at the argument we got. We use all the common list separators.
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterecho $ac_n "checking build system type""... $ac_c" 1>&6
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterecho "configure:2619: checking build system type" >&5
7829fad4093f2c1985b1efb7cea00287ff015d2bckbbuild=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
7829fad4093f2c1985b1efb7cea00287ff015d2bckbbuild_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
7829fad4093f2c1985b1efb7cea00287ff015d2bckbbuild_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
7829fad4093f2c1985b1efb7cea00287ff015d2bckbbuild_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
7829fad4093f2c1985b1efb7cea00287ff015d2bckb# Check whether --with-gnu-ld or --without-gnu-ld was given.
7829fad4093f2c1985b1efb7cea00287ff015d2bckbif test "${with_gnu_ld+set}" = set; then
7829fad4093f2c1985b1efb7cea00287ff015d2bckb # Check if gcc -print-prog-name=ld gives a path.
7829fad4093f2c1985b1efb7cea00287ff015d2bckb echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
7829fad4093f2c1985b1efb7cea00287ff015d2bckb # Accept absolute paths.
7829fad4093f2c1985b1efb7cea00287ff015d2bckb [\\/]* | [A-Za-z]:[\\/]*)
f389bc2c9e9e434380e10221778b7b548612a67fDavid Lawrence # Canonicalize the path of ld
bd1190c84b08e61a12789c54f083318c36449e5eDavid Lawrence while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
f389bc2c9e9e434380e10221778b7b548612a67fDavid Lawrence # If it fails, then pretend we aren't using GCC.
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater # If it is relative, then search for the first ld in PATH.
f389bc2c9e9e434380e10221778b7b548612a67fDavid Lawrenceecho "configure:2672: checking for GNU ld" >&5
bd1190c84b08e61a12789c54f083318c36449e5eDavid Lawrence echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
7829fad4093f2c1985b1efb7cea00287ff015d2bckbif eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater if test -z "$LD"; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater # Check to see if the program is GNU ld. I'd rather use --version,
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater # but apparently some GNU ld's only accept -v.
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater # Break only if it was the GNU/non-GNU ld that we prefer.
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater if "$ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
7829fad4093f2c1985b1efb7cea00287ff015d2bckb ac_cv_path_LD="$LD" # Let the user override the test with a path.
7829fad4093f2c1985b1efb7cea00287ff015d2bckbif test -n "$LD"; then
7829fad4093f2c1985b1efb7cea00287ff015d2bckbtest -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
7829fad4093f2c1985b1efb7cea00287ff015d2bckbecho $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterecho "configure:2711: checking if the linker ($LD) is GNU ld" >&5
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then
7829fad4093f2c1985b1efb7cea00287ff015d2bckb # I'd rather use --version here, but apparently some GNU ld's only accept -v.
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterecho $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
bd1190c84b08e61a12789c54f083318c36449e5eDavid Lawrenceecho "configure:2727: checking for BSD-compatible nm" >&5
7829fad4093f2c1985b1efb7cea00287ff015d2bckbif eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then
5f50687f61057f7f0acb161d5803f4a48e40b3a8David Lawrence if test -n "$NM"; then
5f50687f61057f7f0acb161d5803f4a48e40b3a8David Lawrence # Let the user override the test.
5f50687f61057f7f0acb161d5803f4a48e40b3a8David Lawrence IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
5f50687f61057f7f0acb161d5803f4a48e40b3a8David Lawrence for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
5497de6931b5ac26f65c2343b0318614f73933baMark Andrews if test -f $ac_dir/nm || test -f $ac_dir/nm$ac_exeext ; then
5497de6931b5ac26f65c2343b0318614f73933baMark Andrews # Check to see if the nm accepts a BSD-compat flag.
5f50687f61057f7f0acb161d5803f4a48e40b3a8David Lawrence # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5497de6931b5ac26f65c2343b0318614f73933baMark Andrews # nm: unknown option "B" ignored
5f50687f61057f7f0acb161d5803f4a48e40b3a8David Lawrence if ($ac_dir/nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
5497de6931b5ac26f65c2343b0318614f73933baMark Andrews elif ($ac_dir/nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
5497de6931b5ac26f65c2343b0318614f73933baMark Andrews ac_cv_path_NM=${ac_cv_path_NM="$ac_dir/nm"} # keep the first match, but
33950f0a0262f4d49528c4adcf8be42807fa2576David Lawrence continue # so that we can try to find one that supports BSD flags
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterecho $ac_n "checking whether ln -s works""... $ac_c" 1>&6
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterecho "configure:2764: checking whether ln -s works" >&5
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater# Check for any special flags to pass to ltconfig.
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updatertest "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updatertest "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updatertest "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updatertest "$ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updatertest "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
33950f0a0262f4d49528c4adcf8be42807fa2576David Lawrence# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
3ddd814a97de1d152ba0913c592d6e6dc83d38a6Michael Graffif test "${enable_libtool_lock+set}" = set; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updatertest "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updatertest x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater# Some flags need to be propagated to the compiler or linker for good
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater# libtool support.
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater # Find out which ABI we are using.
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater echo '#line 2808 "configure"' > conftest.$ac_ext
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater if { (eval echo configure:2809: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater # On SCO OpenServer 5, we need -belf to get full-featured binaries.
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterecho "configure:2830: checking whether the C compiler needs -belf" >&5
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#line 2835 "configure"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#include "confdefs.h"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif { (eval echo configure:2842: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater if test x"$lt_cv_cc_needs_belf" != x"yes"; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater# Save cache, so that ltconfig can load it
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater# This file is a shell script that caches the results of configure
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater# tests run on this system so they can be shared between configure
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater# scripts and configure runs. It is not useful on other systems.
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater# If it contains results you don't want to keep, you may remove or edit it.
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater# By default, configure uses ./config.cache as the cache file,
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater# creating it if it does not exist already. You can give configure
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater# the --cache-file=FILE option to use a different cache file; that is
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater# what configure does when it calls configure scripts in
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater# subdirectories, so they share the cache.
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater# Giving --cache-file=/dev/null disables caching, for debugging configure.
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater# config.status only pays attention to the cache file if you give it the
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater# --recheck option to rerun configure.
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater# The following way of writing the cache mishandles newlines in values,
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater# but we know of no workaround that is simple, portable, and efficient.
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater# So, don't put newlines in cache variables' values.
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater# Ultrix sh set writes to stderr and can't be redirected directly,
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater# and sets the high bit in the cache file unless we assign to the vars.
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater case `(ac_space=' '; set | grep ac_space) 2>&1` in
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater # `set' does not quote correctly, so add quotes (double-quote substitution
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater # turns \\\\ into \\, and sed turns \\ into \).
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater -e "s/'/'\\\\''/g" \
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater # `set' quotes correctly as required by POSIX, so do not add quotes.
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater if test -w $cache_file; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater echo "updating cache $cache_file"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater echo "not updating unwritable cache $cache_file"
6098d364b690cb9dabf96e9664c4689c8559bd2eMark Andrews# Actually configure libtool. ac_aux_dir is where install-sh is found.
6098d364b690cb9dabf96e9664c4689c8559bd2eMark AndrewsCC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
6098d364b690cb9dabf96e9664c4689c8559bd2eMark AndrewsDLLTOOL="$DLLTOOL" AS="$AS" OBJDUMP="$OBJDUMP" \
6098d364b690cb9dabf96e9664c4689c8559bd2eMark Andrews${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
6098d364b690cb9dabf96e9664c4689c8559bd2eMark Andrews$libtool_flags --no-verify $ac_aux_dir/ltmain.sh $host \
6098d364b690cb9dabf96e9664c4689c8559bd2eMark Andrews|| { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
6098d364b690cb9dabf96e9664c4689c8559bd2eMark Andrews# Reload cache, that may have been modified by ltconfig
6098d364b690cb9dabf96e9664c4689c8559bd2eMark Andrewsif test -r "$cache_file"; then
6098d364b690cb9dabf96e9664c4689c8559bd2eMark Andrews echo "loading cache $cache_file"
6098d364b690cb9dabf96e9664c4689c8559bd2eMark Andrews echo "creating cache $cache_file"
6098d364b690cb9dabf96e9664c4689c8559bd2eMark Andrews# This can be used to rebuild libtool when needed
6098d364b690cb9dabf96e9664c4689c8559bd2eMark AndrewsLIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh"
6098d364b690cb9dabf96e9664c4689c8559bd2eMark Andrews# Always use our own libtool.
6098d364b690cb9dabf96e9664c4689c8559bd2eMark Andrews# Redirect the config.log output again, so that the ltconfig log is not
6098d364b690cb9dabf96e9664c4689c8559bd2eMark Andrews# clobbered by the next message.
6098d364b690cb9dabf96e9664c4689c8559bd2eMark Andrews# Check whether --enable-ipv6 or --disable-ipv6 was given.
6098d364b690cb9dabf96e9664c4689c8559bd2eMark Andrewsif test "${enable_ipv6+set}" = set; then
6098d364b690cb9dabf96e9664c4689c8559bd2eMark Andrews echo $ac_n "checking for IPv6 structures""... $ac_c" 1>&6
6098d364b690cb9dabf96e9664c4689c8559bd2eMark Andrewsecho "configure:2966: checking for IPv6 structures" >&5
6098d364b690cb9dabf96e9664c4689c8559bd2eMark Andrews#line 2968 "configure"
6098d364b690cb9dabf96e9664c4689c8559bd2eMark Andrews#include "confdefs.h"
6098d364b690cb9dabf96e9664c4689c8559bd2eMark Andrews#include <sys/types.h>
6098d364b690cb9dabf96e9664c4689c8559bd2eMark Andrews#include <sys/socket.h>
6098d364b690cb9dabf96e9664c4689c8559bd2eMark Andrews#include <netinet/in.h>
6098d364b690cb9dabf96e9664c4689c8559bd2eMark Andrewsstruct sockaddr_in6 sin6; return (0);
6098d364b690cb9dabf96e9664c4689c8559bd2eMark Andrews; return 0; }
6098d364b690cb9dabf96e9664c4689c8559bd2eMark Andrewsif { (eval echo configure:2978: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6098d364b690cb9dabf96e9664c4689c8559bd2eMark Andrews ISC_PLATFORM_HAVEIPV6="#define ISC_PLATFORM_HAVEIPV6 1",
6098d364b690cb9dabf96e9664c4689c8559bd2eMark Andrews ISC_PLATFORM_HAVEIPV6="#undef ISC_PLATFORM_HAVEIPV6"
6098d364b690cb9dabf96e9664c4689c8559bd2eMark Andrewsecho $ac_n "checking for Kame IPv6 support""... $ac_c" 1>&6
6098d364b690cb9dabf96e9664c4689c8559bd2eMark Andrewsecho "configure:3016: checking for Kame IPv6 support" >&5
6098d364b690cb9dabf96e9664c4689c8559bd2eMark Andrews# Check whether --with-kame or --without-kame was given.
6098d364b690cb9dabf96e9664c4689c8559bd2eMark Andrewsif test "${with_kame+set}" = set; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater if test -f $kame_path/lib/libinet6.a; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater echo "$ac_t""$kame_path/lib/libinet6.a" 1>&6
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater { echo "configure: error: $kame_path/lib/libinet6.a not found.
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic UpdaterPlease choose the proper path with the following command:
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater configure --with-kame=PATH
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterecho $ac_n "checking for inet_ntop""... $ac_c" 1>&6
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterecho "configure:3058: checking for inet_ntop" >&5
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif eval "test \"`echo '$''{'ac_cv_func_inet_ntop'+set}'`\" = set"; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#line 3063 "configure"
47b7dfffe5d806c6a5e99ef17f07bcde812c2132Francis Dupont#include "confdefs.h"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater/* System header to define __stub macros and hopefully few prototypes,
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater which can conflict with char inet_ntop(); below. */
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#include <assert.h>
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater/* Override any gcc2 internal prototype to avoid an error. */
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater/* We use char because int might match the return type of a gcc2
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater builtin and then its argument prototype would still apply. */
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterchar inet_ntop();
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater/* The GNU C library defines this for functions which it implements
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater to always fail with ENOSYS. Some functions are actually named
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater something starting with __ and the normal name is an alias. */
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#if defined (__stub_inet_ntop) || defined (__stub___inet_ntop)
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif { (eval echo configure:3086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater eval "ac_cv_func_inet_ntop=yes"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater eval "ac_cv_func_inet_ntop=no"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif eval "test \"`echo '$ac_cv_func_'inet_ntop`\" = yes"; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater ISC_PLATFORM_NEEDNTOP="#undef ISC_PLATFORM_NEEDNTOP"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic UpdaterISC_EXTRA_OBJS="$ISC_EXTRA_OBJS inet_ntop.$O"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater ISC_EXTRA_SRCS="$ISC_EXTRA_SRCS inet_ntop.c"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater ISC_PLATFORM_NEEDNTOP="#define ISC_PLATFORM_NEEDNTOP 1"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterecho $ac_n "checking for inet_pton""... $ac_c" 1>&6
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterecho "configure:3110: checking for inet_pton" >&5
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif eval "test \"`echo '$''{'ac_cv_func_inet_pton'+set}'`\" = set"; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#line 3115 "configure"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#include "confdefs.h"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater/* System header to define __stub macros and hopefully few prototypes,
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater which can conflict with char inet_pton(); below. */
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#include <assert.h>
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater/* Override any gcc2 internal prototype to avoid an error. */
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater/* We use char because int might match the return type of a gcc2
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater builtin and then its argument prototype would still apply. */
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterchar inet_pton();
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater/* The GNU C library defines this for functions which it implements
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater to always fail with ENOSYS. Some functions are actually named
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater something starting with __ and the normal name is an alias. */
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#if defined (__stub_inet_pton) || defined (__stub___inet_pton)
33950f0a0262f4d49528c4adcf8be42807fa2576David Lawrenceif { (eval echo configure:3138: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
33950f0a0262f4d49528c4adcf8be42807fa2576David Lawrence eval "ac_cv_func_inet_pton=yes"
1adfd0a9119434de35e1a6b6ddc65b28dd608308David Lawrence eval "ac_cv_func_inet_pton=no"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif eval "test \"`echo '$ac_cv_func_'inet_pton`\" = yes"; then
1adfd0a9119434de35e1a6b6ddc65b28dd608308David Lawrence ISC_PLATFORM_NEEDPTON="#undef ISC_PLATFORM_NEEDPTON"
33950f0a0262f4d49528c4adcf8be42807fa2576David Lawrence ISC_PLATFORM_NEEDPTON="#define ISC_PLATFORM_NEEDPTON 1"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterecho $ac_n "checking for inet_aton""... $ac_c" 1>&6
33950f0a0262f4d49528c4adcf8be42807fa2576David Lawrenceecho "configure:3162: checking for inet_aton" >&5
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif eval "test \"`echo '$''{'ac_cv_func_inet_aton'+set}'`\" = set"; then
1adfd0a9119434de35e1a6b6ddc65b28dd608308David Lawrence#line 3167 "configure"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater#include "confdefs.h"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater/* System header to define __stub macros and hopefully few prototypes,
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater which can conflict with char inet_aton(); below. */
1adfd0a9119434de35e1a6b6ddc65b28dd608308David Lawrence#include <assert.h>
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater/* Override any gcc2 internal prototype to avoid an error. */
1adfd0a9119434de35e1a6b6ddc65b28dd608308David Lawrence/* We use char because int might match the return type of a gcc2
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater builtin and then its argument prototype would still apply. */
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterchar inet_aton();
33950f0a0262f4d49528c4adcf8be42807fa2576David Lawrence/* The GNU C library defines this for functions which it implements
33950f0a0262f4d49528c4adcf8be42807fa2576David Lawrence to always fail with ENOSYS. Some functions are actually named
5f50687f61057f7f0acb161d5803f4a48e40b3a8David Lawrence something starting with __ and the normal name is an alias. */
5f50687f61057f7f0acb161d5803f4a48e40b3a8David Lawrence#if defined (__stub_inet_aton) || defined (__stub___inet_aton)
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif { (eval echo configure:3190: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater eval "ac_cv_func_inet_aton=yes"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater eval "ac_cv_func_inet_aton=no"
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updaterif eval "test \"`echo '$ac_cv_func_'inet_aton`\" = yes"; then
f731b5d665e484c9b9634531c791cee9d87ab7a0Automatic Updater ISC_PLATFORM_NEEDATON="#undef ISC_PLATFORM_NEEDATON"
if { (eval echo configure:3242: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:3293: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:3354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if test -z "$ac_err"; then
eval "ac_cv_header_$ac_safe=yes"
eval "ac_cv_header_$ac_safe=no"
ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
# By default, configure uses ./config.cache as the cache file,
# config.status only pays attention to the cache file if you give it the
*ac_space=\ *)
sed -n \
esac >> confcache
if test -w $cache_file; then
echo "updating cache $cache_file"
echo "not updating unwritable cache $cache_file"
if test "x$srcdir" = x.; then
# Without the "./", some shells look in PATH for config.status.
while $ac_more_lines; do
ac_more_lines=false
if test -z "$ac_sed_cmds"; then
if test -z "$ac_sed_cmds"; then
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
.) srcdir=.
# $configure_input" ;;
*) ac_comsub= ;;
s%@configure_input@%$configure_input%g
s%@srcdir@%$srcdir%g
s%@top_srcdir@%$top_srcdir%g
s%@INSTALL@%$INSTALL%g
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
# Transform confdefs.h into a sed script conftest.vals that substitutes
# the proper values into config.h.in to produce config.h. And first:
# Protect against being on the right side of a sed subst in config.status.
# Protect against being in an unquoted here document in config.status.
sed -n -f conftest.hdr confdefs.h > conftest.vals
rm -f conftest.hdr
cat >> conftest.vals <<\EOF
# Break up conftest.vals because some shells have a limit on
rm -f conftest.tail
sed -f conftest.frag conftest.in > conftest.out
rm -f conftest.in
rm -f conftest.vals
rm -f conftest.vals
cat >> $CONFIG_STATUS <<\EOF
rm -f conftest.in
if cmp -s $ac_file conftest.h 2>/dev/null; then
rm -f conftest.h
cat >> $CONFIG_STATUS <<EOF
cat >> $CONFIG_STATUS <<\EOF