configure revision afb4ad8f988591bccae0ee2ac73b2fef5d969366
dafcb997e390efa4423883dafd100c975c4095d6Mark Andrews# From configure.in Revision: 1.83
bf43fdafa3bff9e84cb03f1a19aca74514d2516eBob Halley## 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.
bf43fdafa3bff9e84cb03f1a19aca74514d2516eBob Halley## This program is distributed in the hope that it will be useful, but
bf43fdafa3bff9e84cb03f1a19aca74514d2516eBob Halley## WITHOUT ANY WARRANTY; without even the implied warranty of
e4d304b70b81ca9956c2eff7c24aacf4dd00266eEvan Hunt## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
9c3531d72aeaad6c5f01efe6a1c82023e1379e4dDavid Lawrence## General Public License for more details.
e419f613d8591885df608cb73065921be07dd12eBob Halley## You should have received a copy of the GNU General Public License
1a69a1a78cfaa86f3b68bbc965232b7876d4da2aDavid Lawrence## along with this program; if not, write to the Free Software
fca5f81ad69098ea8abba130c7f841c951ef91c2Bob Halley## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
e419f613d8591885df608cb73065921be07dd12eBob Halley## As a special exception to the GNU General Public License, if you
e419f613d8591885df608cb73065921be07dd12eBob Halley## distribute this file as part of a program that contains a
394f4aec2189750d7f861d00f97fe28ffcd9f659Mark Andrews## configuration script generated by Autoconf, you may include it under
9695ae1c24b168996e3a267855dc754971ccb32cBob Halley## the same distribution terms that you use for the rest of that program.
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews# serial 40 AC_PROG_LIBTOOL
e83cae7fa837e4757c687035d6f6c0900f152749Brian Wellington# AC_LIBTOOL_DLOPEN - enable checks for dlopen support
0ec4b862c9abd11c82c88ed62438f0cf06fed25dBob Halley# AC_LIBTOOL_WIN32_DLL - declare package support for building win32 dll's
09f22ac5b09e70bc526015f37168ba33e21ea91fDavid Lawrence# AC_ENABLE_SHARED - implement the --enable-shared flag
b5debbe212097d1c573a2ba3bd9a3d526d86b0aeBrian Wellington# Usage: AC_ENABLE_SHARED[(DEFAULT)]
09f22ac5b09e70bc526015f37168ba33e21ea91fDavid Lawrence# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews# AC_DISABLE_SHARED - set the default shared flag to --disable-shared
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews# AC_ENABLE_STATIC - implement the --enable-static flag
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews# Usage: AC_ENABLE_STATIC[(DEFAULT)]
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
2f012d936b5ccdf6520c96a4de23721dc58a2221Automatic Updater# AC_DISABLE_STATIC - set the default static flag to --disable-static
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews# AC_ENABLE_FAST_INSTALL - implement the --enable-fast-install flag
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews# Usage: AC_ENABLE_FAST_INSTALL[(DEFAULT)]
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews# Where DEFAULT is either `yes' or `no'. If omitted, it defaults to
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews# AC_ENABLE_FAST_INSTALL - set the default to --disable-fast-install
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews# AC_PROG_LD - find the path to the GNU or non-GNU linker
d2ef84e07b67e72a4bd9c729c6b8228067d17584Mark Andrews# AC_PROG_NM - find the path to a BSD-compatible name lister
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews# AC_CHECK_LIBM - check for math library
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews# AC_LIBLTDL_CONVENIENCE[(dir)] - sets LIBLTDL to the link flags for
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews# the libltdl convenience library, adds --enable-ltdl-convenience to
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews# the configure arguments. Note that LIBLTDL is not AC_SUBSTed, nor
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews# is AC_CONFIG_SUBDIRS called. If DIR is not provided, it is assumed
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews# to be `${top_builddir}/libltdl'. Make sure you start DIR with
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews# '${top_builddir}/' (note the single quotes!) if your package is not
92ef1a9b9dbd48ecb507b42ac62c15afefdaf838David Lawrence# flat, and, if you're not using automake, define top_builddir as
ff30cdeb783ca7ffe69b222c56197828e882c229Mark Andrews# appropriate in the Makefiles.
e2c3f8059e77a8e11c4378d22e5d8e78b423a28fMark Andrews# AC_LIBLTDL_INSTALLABLE[(dir)] - sets LIBLTDL to the link flags for
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews# the libltdl installable library, and adds --enable-ltdl-install to
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews# the configure arguments. Note that LIBLTDL is not AC_SUBSTed, nor
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews# is AC_CONFIG_SUBDIRS called. If DIR is not provided, it is assumed
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews# to be `${top_builddir}/libltdl'. Make sure you start DIR with
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews# '${top_builddir}/' (note the single quotes!) if your package is not
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews# flat, and, if you're not using automake, define top_builddir as
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews# appropriate in the Makefiles.
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews# In the future, this macro may have to be called after AC_PROG_LIBTOOL.
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews# Guess values for system-dependent variables and create Makefiles.
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews# Generated automatically using autoconf version 2.13
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews# This configure script is free software; the Free Software Foundation
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews# gives unlimited permission to copy, distribute and modify it.
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews# Any additions from configure.in:
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews --with-mit-pthreads use the mit-pthreads thread library"
e2c3f8059e77a8e11c4378d22e5d8e78b423a28fMark Andrews --with-ptl2 use the ptl2 thread library"
ed019cabc1cc75d4412010c331876e4ae5080a4dDavid Lawrence --with-libtool use GNU libtool"
ed019cabc1cc75d4412010c331876e4ae5080a4dDavid Lawrence --enable-shared[=PKGS] build shared libraries [default=yes]"
93d6dfaf66258337985427c86181f01fc51f0bb4Mark Andrews --enable-static[=PKGS] build static libraries [default=yes]"
ca9af3aaf798f98624fc1dc69d8c7d51bf01334dBrian Wellington --enable-fast-install[=PKGS] optimize for fast installation [default=yes]"
ed019cabc1cc75d4412010c331876e4ae5080a4dDavid Lawrence --with-gnu-ld assume the C compiler uses GNU ld [default=no]"
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews --disable-libtool-lock avoid locking (might break parallel builds)"
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews --enable-ipv6 use IPv6 [default=autodetect]"
93d6dfaf66258337985427c86181f01fc51f0bb4Mark Andrews --with-kame[=PATH] use Kame IPv6 [default path /usr/local/v6]"
23e4260821eefa5019808e18e14e2b366461aad7Brian Wellington# Initialize some variables set by options.
664e11f0b14c78cef7cf6b8c70323a1da494e351Mark Andrews# The variables have the same names as the options, with
664e11f0b14c78cef7cf6b8c70323a1da494e351Mark Andrews# dashes changed to underlines.
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrews# Initialize some other variables.
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews# Maximum number of lines to put in a shell here document.
0ec4b862c9abd11c82c88ed62438f0cf06fed25dBob Halley # If the previous option needs an argument, assign it.
9cd6710f91bdffef5aed68ab02533e398f6134d7Brian Wellington if test -n "$ac_prev"; then
9cd6710f91bdffef5aed68ab02533e398f6134d7Brian Wellington eval "$ac_prev=\$ac_option"
b5debbe212097d1c573a2ba3bd9a3d526d86b0aeBrian Wellington -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
e44487bfc23599b6b240e09d83d1c862fecfcc82Michael Graff # Accept the important Cygnus configure options, so we can diagnose typos.
0ec4b862c9abd11c82c88ed62438f0cf06fed25dBob Halley -bindir | --bindir | --bindi | --bind | --bin | --bi)
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews -build=* | --build=* | --buil=* | --bui=* | --bu=*)
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews -cache-file | --cache-file | --cache-fil | --cache-fi \
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
ff30cdeb783ca7ffe69b222c56197828e882c229Mark Andrews ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
ff30cdeb783ca7ffe69b222c56197828e882c229Mark Andrews # Reject names that are not valid shell variable names.
ff30cdeb783ca7ffe69b222c56197828e882c229Mark Andrews if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
ff30cdeb783ca7ffe69b222c56197828e882c229Mark Andrews { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
ff30cdeb783ca7ffe69b222c56197828e882c229Mark Andrews eval "enable_${ac_feature}=no" ;;
ff30cdeb783ca7ffe69b222c56197828e882c229Mark Andrews ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
ff30cdeb783ca7ffe69b222c56197828e882c229Mark Andrews # Reject names that are not valid shell variable names.
ff30cdeb783ca7ffe69b222c56197828e882c229Mark Andrews if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
ff30cdeb783ca7ffe69b222c56197828e882c229Mark Andrews { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
ff30cdeb783ca7ffe69b222c56197828e882c229Mark Andrews eval "enable_${ac_feature}='$ac_optarg'" ;;
ff30cdeb783ca7ffe69b222c56197828e882c229Mark Andrews -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
ff30cdeb783ca7ffe69b222c56197828e882c229Mark Andrews | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
ff30cdeb783ca7ffe69b222c56197828e882c229Mark Andrews -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
ff30cdeb783ca7ffe69b222c56197828e882c229Mark Andrews | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews # Obsolete; use --with-gas.
b5debbe212097d1c573a2ba3bd9a3d526d86b0aeBrian Wellington # Omit some internal or obsolete options to make the list less imposing.
b5debbe212097d1c573a2ba3bd9a3d526d86b0aeBrian Wellington # This message is too long to be a string in the A/UX 3.1 sh.
b5debbe212097d1c573a2ba3bd9a3d526d86b0aeBrian WellingtonUsage: configure [options] [host]
b5debbe212097d1c573a2ba3bd9a3d526d86b0aeBrian WellingtonOptions: [defaults in brackets after descriptions]
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark AndrewsConfiguration:
b5debbe212097d1c573a2ba3bd9a3d526d86b0aeBrian Wellington --cache-file=FILE cache test results in FILE
ca9af3aaf798f98624fc1dc69d8c7d51bf01334dBrian Wellington --help print this message
b5debbe212097d1c573a2ba3bd9a3d526d86b0aeBrian Wellington --no-create do not create output files
b5debbe212097d1c573a2ba3bd9a3d526d86b0aeBrian Wellington --quiet, --silent do not print \`checking...' messages
e44487bfc23599b6b240e09d83d1c862fecfcc82Michael Graff --version print the version of autoconf that created configure
b5debbe212097d1c573a2ba3bd9a3d526d86b0aeBrian WellingtonDirectory and file names:
e44487bfc23599b6b240e09d83d1c862fecfcc82Michael Graff --prefix=PREFIX install architecture-independent files in PREFIX
ca9af3aaf798f98624fc1dc69d8c7d51bf01334dBrian Wellington [$ac_default_prefix]
ca9af3aaf798f98624fc1dc69d8c7d51bf01334dBrian Wellington --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
ca9af3aaf798f98624fc1dc69d8c7d51bf01334dBrian Wellington [same as prefix]
7d116211ec7b063891130f191e3ed437b45dba70Mark Andrews --bindir=DIR user executables in DIR [EPREFIX/bin]
7d116211ec7b063891130f191e3ed437b45dba70Mark Andrews --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
7d116211ec7b063891130f191e3ed437b45dba70Mark Andrews --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
7d116211ec7b063891130f191e3ed437b45dba70Mark Andrews --datadir=DIR read-only architecture-independent data in DIR
7d116211ec7b063891130f191e3ed437b45dba70Mark Andrews [PREFIX/share]
7d116211ec7b063891130f191e3ed437b45dba70Mark Andrews --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
7d116211ec7b063891130f191e3ed437b45dba70Mark Andrews --sharedstatedir=DIR modifiable architecture-independent data in DIR
ca9af3aaf798f98624fc1dc69d8c7d51bf01334dBrian Wellington --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
b5debbe212097d1c573a2ba3bd9a3d526d86b0aeBrian Wellington --libdir=DIR object code libraries in DIR [EPREFIX/lib]
8839b6acbf816fedc15b8e9e1c71fd606a9cd8eaBrian Wellington --includedir=DIR C header files in DIR [PREFIX/include]
9cd6710f91bdffef5aed68ab02533e398f6134d7Brian Wellington --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
34aa7909371f13b4bc0ba6d155cfc38bfa1e3c5cAndreas Gustafsson --infodir=DIR info documentation in DIR [PREFIX/info]
ca9af3aaf798f98624fc1dc69d8c7d51bf01334dBrian Wellington --mandir=DIR man documentation in DIR [PREFIX/man]
e2c3f8059e77a8e11c4378d22e5d8e78b423a28fMark Andrews --srcdir=DIR find the sources in DIR [configure dir or ..]
e2c3f8059e77a8e11c4378d22e5d8e78b423a28fMark Andrews --program-prefix=PREFIX prepend PREFIX to installed program names
e2c3f8059e77a8e11c4378d22e5d8e78b423a28fMark Andrews --program-suffix=SUFFIX append SUFFIX to installed program names
34aa7909371f13b4bc0ba6d155cfc38bfa1e3c5cAndreas Gustafsson --program-transform-name=PROGRAM
5c6117688525d0e8d247f50c63364f66bd8d4185Brian Wellington run sed PROGRAM on installed program names
ca9af3aaf798f98624fc1dc69d8c7d51bf01334dBrian Wellington --build=BUILD configure for building on BUILD [BUILD=HOST]
ca9af3aaf798f98624fc1dc69d8c7d51bf01334dBrian Wellington --host=HOST configure for HOST [guessed]
ca9af3aaf798f98624fc1dc69d8c7d51bf01334dBrian Wellington --target=TARGET configure for TARGET [TARGET=HOST]
ca9af3aaf798f98624fc1dc69d8c7d51bf01334dBrian WellingtonFeatures and packages:
b5debbe212097d1c573a2ba3bd9a3d526d86b0aeBrian Wellington --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
94766449d6125cd5870891b70d46573e5deaceb4Brian Wellington --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
b5debbe212097d1c573a2ba3bd9a3d526d86b0aeBrian Wellington --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
17a3fcecd069130a5f318685493b0db5639a77c9Brian Wellington --x-includes=DIR X include files are in DIR
34aa7909371f13b4bc0ba6d155cfc38bfa1e3c5cAndreas Gustafsson --x-libraries=DIR X library files are in DIR
18b7133679efa8f60fd4e396c628576f3f416b3eBrian Wellington if test -n "$ac_help"; then
8839b6acbf816fedc15b8e9e1c71fd606a9cd8eaBrian Wellington echo "--enable and --with options recognized:$ac_help"
3676eeb6ca95c66aae1256f37af8c990d9f25eb4Brian Wellington -includedir | --includedir | --includedi | --included | --include \
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
48ed268b3378a8b729a0037bc4ae2ed73647a96aBrian Wellington -infodir | --infodir | --infodi | --infod | --info | --inf)
48ed268b3378a8b729a0037bc4ae2ed73647a96aBrian Wellington -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
ca9af3aaf798f98624fc1dc69d8c7d51bf01334dBrian Wellington -libdir=* | --libdir=* | --libdi=* | --libd=*)
48ed268b3378a8b729a0037bc4ae2ed73647a96aBrian Wellington -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
ca9af3aaf798f98624fc1dc69d8c7d51bf01334dBrian Wellington -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
7d116211ec7b063891130f191e3ed437b45dba70Mark Andrews -localstatedir | --localstatedir | --localstatedi | --localstated \
7d116211ec7b063891130f191e3ed437b45dba70Mark Andrews | --localstate | --localstat | --localsta | --localst \
7d116211ec7b063891130f191e3ed437b45dba70Mark Andrews -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
7d116211ec7b063891130f191e3ed437b45dba70Mark Andrews | --localstate=* | --localstat=* | --localsta=* | --localst=* \
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
8839b6acbf816fedc15b8e9e1c71fd606a9cd8eaBrian Wellington -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
e2c3f8059e77a8e11c4378d22e5d8e78b423a28fMark Andrews # Obsolete; use --without-fp.
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews -no-create | --no-create | --no-creat | --no-crea | --no-cre \
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews -no-recursion | --no-recursion | --no-recursio | --no-recursi \
a05f23d07e1b60a1d88119678111a47014480611Mark Andrews | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
a05f23d07e1b60a1d88119678111a47014480611Mark Andrews | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
664e11f0b14c78cef7cf6b8c70323a1da494e351Mark Andrews -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
48ed268b3378a8b729a0037bc4ae2ed73647a96aBrian Wellington | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
48ed268b3378a8b729a0037bc4ae2ed73647a96aBrian Wellington | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
8839b6acbf816fedc15b8e9e1c71fd606a9cd8eaBrian Wellington -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews -program-prefix | --program-prefix | --program-prefi | --program-pref \
17a3fcecd069130a5f318685493b0db5639a77c9Brian Wellington | --program-pre | --program-pr | --program-p)
ca9af3aaf798f98624fc1dc69d8c7d51bf01334dBrian Wellington -program-prefix=* | --program-prefix=* | --program-prefi=* \
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews -program-suffix | --program-suffix | --program-suffi | --program-suff \
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews -program-suffix=* | --program-suffix=* | --program-suffi=* \
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews -program-transform-name | --program-transform-name \
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews | --program-transform-nam | --program-transform-na \
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews | --program-transform-n | --program-transform- \
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews -program-transform-name=* | --program-transform-name=* \
ff30cdeb783ca7ffe69b222c56197828e882c229Mark Andrews | --program-transform-nam=* | --program-transform-na=* \
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews | --program-transform-n=* | --program-transform-=* \
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews | --program-transform=* | --program-transfor=* \
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews | --progr-tra=* | --program-tr=* | --program-t=*)
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews -q | -quiet | --quiet | --quie | --qui | --qu | --q \
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews | -silent | --silent | --silen | --sile | --sil)
7d116211ec7b063891130f191e3ed437b45dba70Mark Andrews -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
7d116211ec7b063891130f191e3ed437b45dba70Mark Andrews -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews -sharedstatedir | --sharedstatedir | --sharedstatedi \
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews | --sharedst | --shareds | --shared | --share | --shar \
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
e2c3f8059e77a8e11c4378d22e5d8e78b423a28fMark Andrews | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
8d414d155953f89a4eff40f16878438a8c9228f3Mark Andrews -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
8d414d155953f89a4eff40f16878438a8c9228f3Mark Andrews -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
8d414d155953f89a4eff40f16878438a8c9228f3Mark Andrews -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
664e11f0b14c78cef7cf6b8c70323a1da494e351Mark Andrews -target | --target | --targe | --targ | --tar | --ta | --t)
ff30cdeb783ca7ffe69b222c56197828e882c229Mark Andrews -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews -v | -verbose | --verbose | --verbos | --verbo | --verb)
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews -version | --version | --versio | --versi | --vers)
2f012d936b5ccdf6520c96a4de23721dc58a2221Automatic Updater echo "configure generated by autoconf version 2.13"
664e11f0b14c78cef7cf6b8c70323a1da494e351Mark Andrews ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
664e11f0b14c78cef7cf6b8c70323a1da494e351Mark Andrews # Reject names that are not valid shell variable names.
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
ff30cdeb783ca7ffe69b222c56197828e882c229Mark Andrews eval "with_${ac_package}='$ac_optarg'" ;;
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews ac_package=`echo $ac_option|sed -e 's/-*without-//'`
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews # Reject names that are not valid shell variable names.
48ed268b3378a8b729a0037bc4ae2ed73647a96aBrian Wellington if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
48ed268b3378a8b729a0037bc4ae2ed73647a96aBrian Wellington { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews eval "with_${ac_package}=no" ;;
3676eeb6ca95c66aae1256f37af8c990d9f25eb4Brian Wellington # Obsolete; use --with-x.
3676eeb6ca95c66aae1256f37af8c990d9f25eb4Brian Wellington -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
ca9af3aaf798f98624fc1dc69d8c7d51bf01334dBrian Wellington -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
3676eeb6ca95c66aae1256f37af8c990d9f25eb4Brian Wellington | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
9cd6710f91bdffef5aed68ab02533e398f6134d7Brian Wellington -x-libraries | --x-libraries | --x-librarie | --x-librari \
6f071989da905bb5ab2c6dfd01a71ee5ecea5918Brian Wellington | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
6f071989da905bb5ab2c6dfd01a71ee5ecea5918Brian Wellington -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
6f071989da905bb5ab2c6dfd01a71ee5ecea5918Brian Wellington | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
6f071989da905bb5ab2c6dfd01a71ee5ecea5918Brian Wellington -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
ca9af3aaf798f98624fc1dc69d8c7d51bf01334dBrian Wellington if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
e2c3f8059e77a8e11c4378d22e5d8e78b423a28fMark Andrews echo "configure: warning: $ac_option: invalid host type" 1>&2
34aa7909371f13b4bc0ba6d155cfc38bfa1e3c5cAndreas Gustafsson { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrewsif test -n "$ac_prev"; then
3676eeb6ca95c66aae1256f37af8c990d9f25eb4Brian Wellington { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
1b1e1fda4638334b484aa38c15f53a131c0b0fdfAndreas Gustafssontrap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
ca9af3aaf798f98624fc1dc69d8c7d51bf01334dBrian Wellington# File descriptor usage:
17a3fcecd069130a5f318685493b0db5639a77c9Brian Wellington# 0 standard input
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews# 1 file creation
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews# 2 errors and warnings
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews# 3 some systems may open it to /dev/tty
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews# 4 used on the Kubota Titan
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews# 6 checking for... messages and results
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews# 5 compiler messages saved in config.log
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark AndrewsThis file contains any messages produced by compilers while
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrewsrunning configure, to aid debugging if configure makes a mistake.
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews# Strip out --no-create and --no-recursion so they do not pile up.
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews# Also quote any args containing shell metacharacters.
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews -no-create | --no-create | --no-creat | --no-crea | --no-cre \
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews -no-recursion | --no-recursion | --no-recursio | --no-recursi \
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews ac_configure_args="$ac_configure_args '$ac_arg'" ;;
17a3fcecd069130a5f318685493b0db5639a77c9Brian Wellington *) ac_configure_args="$ac_configure_args $ac_arg" ;;
e2c3f8059e77a8e11c4378d22e5d8e78b423a28fMark Andrews# NLS nuisances.
e2c3f8059e77a8e11c4378d22e5d8e78b423a28fMark Andrews# Only set these to C if already set. These must not be set unconditionally
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews# because not all systems understand e.g. LANG=C (notably SCO).
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews# Non-C LC_CTYPE values break the ctype check.
664e11f0b14c78cef7cf6b8c70323a1da494e351Mark Andrewsif test "${LANG+set}" = set; then LANG=C; export LANG; fi
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrewsif test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
50105afc551903541608b11851d73278b23579a3Mark Andrewsif test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrewsif test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews# confdefs.h avoids OS command line length limits that DEFS can exceed.
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews# AIX cpp loses on an empty file, so make sure it contains at least a newline.
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews# A filename unique to this package, relative to the directory that
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews# configure is in, which we can look for to find out if srcdir is correct.
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews# Find the source files, if location was not specified.
ca9af3aaf798f98624fc1dc69d8c7d51bf01334dBrian Wellingtonif test -z "$srcdir"; then
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews # Try the directory containing this script, then its parent.
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
c03bb27f0675a6e60ceea66b451548e8481bc05cMark Andrews { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
421e4cf66e4cba0b0751a34a9c027e39fe0474f9Mark Andrews { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrewssrcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
1ea2595e1b33cc63ea73ee1d54b580b717d7d155Mark Andrews# Prefer explicitly selected file to automatically selected ones.
ca9af3aaf798f98624fc1dc69d8c7d51bf01334dBrian Wellingtonif test -z "$CONFIG_SITE"; then
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
4e259c5a2321e994708fb1fe04cd4da30aa3b612Mark Andrews CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
34aa7909371f13b4bc0ba6d155cfc38bfa1e3c5cAndreas Gustafsson if test -r "$ac_site_file"; then
93d6dfaf66258337985427c86181f01fc51f0bb4Mark Andrews echo "loading site script $ac_site_file"
93d6dfaf66258337985427c86181f01fc51f0bb4Mark Andrewsif test -r "$cache_file"; then
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews echo "loading cache $cache_file"
ca9af3aaf798f98624fc1dc69d8c7d51bf01334dBrian Wellington echo "creating cache $cache_file"
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
d1cbf714097e900ed1703529584d3e1a50e8a4a8Brian Wellingtonac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrewsac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1ea2595e1b33cc63ea73ee1d54b580b717d7d155Mark Andrewsif (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
1ea2595e1b33cc63ea73ee1d54b580b717d7d155Mark Andrews # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
1ea2595e1b33cc63ea73ee1d54b580b717d7d155Mark Andrews if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
638fe804a524ee0c028863c0301b999c79de7651Mark Andrewsfor ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1ea2595e1b33cc63ea73ee1d54b580b717d7d155Mark Andrewsif test -z "$ac_aux_dir"; then
1ea2595e1b33cc63ea73ee1d54b580b717d7d155Mark Andrews { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
1ea2595e1b33cc63ea73ee1d54b580b717d7d155Mark Andrewsac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
1ea2595e1b33cc63ea73ee1d54b580b717d7d155Mark Andrews# Make sure we can run config.sub.
676619a22fbc760875adb00b58aaef6a22ced18aMark Andrewsif ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrewselse { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrewsecho $ac_n "checking host system type""... $ac_c" 1>&6
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrewsecho "configure:672: checking host system type" >&5
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrewshost=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
93d6dfaf66258337985427c86181f01fc51f0bb4Mark Andrewshost_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
34aa7909371f13b4bc0ba6d155cfc38bfa1e3c5cAndreas Gustafssonhost_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrewshost_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrewsecho $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
ca9af3aaf798f98624fc1dc69d8c7d51bf01334dBrian Wellingtonecho "configure:694: checking whether ${MAKE-make} sets \${MAKE}" >&5
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrewsset dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
ca9af3aaf798f98624fc1dc69d8c7d51bf01334dBrian Wellingtonif eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
ca9af3aaf798f98624fc1dc69d8c7d51bf01334dBrian Wellington @echo 'ac_maketemp="${MAKE}"'
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrewseval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrewsif test -n "$ac_maketemp"; then
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrewsif eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews# Extract the first word of "ranlib", so it can be a program name with args.
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrewsecho $ac_n "checking for $ac_word""... $ac_c" 1>&6
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrewsif eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews if test -n "$RANLIB"; then
95b484c9580d06eb2f9735a22e9841389c2859baMark Andrews ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrewsif test -n "$RANLIB"; then
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews# Find a good install program. We prefer a C program (faster),
94766449d6125cd5870891b70d46573e5deaceb4Brian Wellington# so one script is as good as another. But avoid the broken or
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews# incompatible versions:
6f071989da905bb5ab2c6dfd01a71ee5ecea5918Brian Wellington# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6f071989da905bb5ab2c6dfd01a71ee5ecea5918Brian Wellington# AFS /usr/afsws/bin/install, which mishandles nonexistent args
6f071989da905bb5ab2c6dfd01a71ee5ecea5918Brian Wellington# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
b0d31c78bc24080d4c470a8bd98862375f6e3055Mark Andrews# ./install, which can be erroneously created by make from ./install.sh.
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrewsecho $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
6f071989da905bb5ab2c6dfd01a71ee5ecea5918Brian Wellingtonecho "configure:762: checking for a BSD compatible install" >&5
8839b6acbf816fedc15b8e9e1c71fd606a9cd8eaBrian Wellingtonif test -z "$INSTALL"; then
9cd6710f91bdffef5aed68ab02533e398f6134d7Brian Wellingtonif eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
e2c3f8059e77a8e11c4378d22e5d8e78b423a28fMark Andrews # Account for people who put trailing slashes in PATH elements.
94766449d6125cd5870891b70d46573e5deaceb4Brian Wellington /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews # OSF1 and SCO ODT 3.0 have their own names for install.
f15af68028adc665d3bdddf955fc52bad83f0514Brian Wellington # Don't use installbsd from OSF since it installs stuff as root
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews # by default.
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
ca9af3aaf798f98624fc1dc69d8c7d51bf01334dBrian Wellington # AIX install. It has an incompatible calling convention.
1ea2595e1b33cc63ea73ee1d54b580b717d7d155Mark Andrews if test "${ac_cv_path_install+set}" = set; then
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews # As a last resort, use the slow shell script. We don't cache a
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews # path for INSTALL within a source directory, because that will
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews # break other packages using the cache if that directory is
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews # removed, or if the path is relative.
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews# It thinks the first close brace ends the variable substitution.
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrewstest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
93d6dfaf66258337985427c86181f01fc51f0bb4Mark Andrewstest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
ca9af3aaf798f98624fc1dc69d8c7d51bf01334dBrian Wellingtontest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5c6117688525d0e8d247f50c63364f66bd8d4185Brian Wellington# Extract the first word of "ar", so it can be a program name with args.
5c6117688525d0e8d247f50c63364f66bd8d4185Brian Wellingtonecho $ac_n "checking for $ac_word""... $ac_c" 1>&6
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrewsif eval "test \"`echo '$''{'ac_cv_path_AR'+set}'`\" = set"; then
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews ac_cv_path_AR="$AR" # Let the user override the test with a path.
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews ac_cv_path_AR="$AR" # Let the user override the test with a dos path.
ca9af3aaf798f98624fc1dc69d8c7d51bf01334dBrian Wellingtonif test -n "$AR"; then
6fac7ff1f9ec9c3873d3b55c5079fa79aba1f146Mark Andrews if test -f "$ac_dir/cc"; then
6fac7ff1f9ec9c3873d3b55c5079fa79aba1f146Mark Andrews echo $ac_n "checking which thread library to use""... $ac_c" 1>&6
6fac7ff1f9ec9c3873d3b55c5079fa79aba1f146Mark Andrewsecho "configure:898: checking which thread library to use" >&5
6fac7ff1f9ec9c3873d3b55c5079fa79aba1f146Mark Andrews # Check whether --with-mit-pthreads or --without-mit-pthreads was given.
6fac7ff1f9ec9c3873d3b55c5079fa79aba1f146Mark Andrewsif test "${with_mit_pthreads+set}" = set; then
6fac7ff1f9ec9c3873d3b55c5079fa79aba1f146Mark Andrews # Check whether --with-ptl2 or --without-ptl2 was given.
6fac7ff1f9ec9c3873d3b55c5079fa79aba1f146Mark Andrewsif test "${with_ptl2+set}" = set; then
6fac7ff1f9ec9c3873d3b55c5079fa79aba1f146Mark AndrewsPlease choose a thread library using one of
6fac7ff1f9ec9c3873d3b55c5079fa79aba1f146Mark Andrews configure --with-mit-pthreads
6fac7ff1f9ec9c3873d3b55c5079fa79aba1f146Mark Andrews configure --with-ptl2
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews# Extract the first word of "gcc", so it can be a program name with args.
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrewsecho $ac_n "checking for $ac_word""... $ac_c" 1>&6
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrewsif eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews if test -n "$CC"; then
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews ac_cv_prog_CC="$CC" # Let the user override the test.
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrewsif test -n "$CC"; then
ca9af3aaf798f98624fc1dc69d8c7d51bf01334dBrian Wellingtonif test -z "$CC"; then
ca9af3aaf798f98624fc1dc69d8c7d51bf01334dBrian Wellington # Extract the first word of "cc", so it can be a program name with args.
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrewsecho $ac_n "checking for $ac_word""... $ac_c" 1>&6
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrewsif eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews if test -n "$CC"; then
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews ac_cv_prog_CC="$CC" # Let the user override the test.
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews # We found a bogon in the path, so make sure we never use it.
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews # We chose a different compiler from the bogus one.
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews # However, it has the same basename, so the bogon will be chosen
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews # first if we set CC to just the basename; use the full file name.
93c786e0924aeca2c258e32355349e6ae60a0f72Andreas Gustafssonif test -n "$CC"; then
93d6dfaf66258337985427c86181f01fc51f0bb4Mark Andrews if test -z "$CC"; then
0ec4b862c9abd11c82c88ed62438f0cf06fed25dBob Halley # Extract the first word of "cl", so it can be a program name with args.
c03bb27f0675a6e60ceea66b451548e8481bc05cMark Andrewsecho $ac_n "checking for $ac_word""... $ac_c" 1>&6
d6643ef587324e40d8bda63e9f80be8141e101edBrian Wellingtonecho "configure:1043: checking for $ac_word" >&5
d6643ef587324e40d8bda63e9f80be8141e101edBrian Wellingtonif eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
d6643ef587324e40d8bda63e9f80be8141e101edBrian Wellington if test -n "$CC"; then
d6643ef587324e40d8bda63e9f80be8141e101edBrian Wellington ac_cv_prog_CC="$CC" # Let the user override the test.
d6643ef587324e40d8bda63e9f80be8141e101edBrian Wellington IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
5c29047792191d6141f69b2684314d0b762fedebBrian Wellingtonif test -n "$CC"; then
63bf060be4ff2a7ade02fd86abb98694a5afc250Brian Wellington test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
d6643ef587324e40d8bda63e9f80be8141e101edBrian Wellingtonecho $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
d6643ef587324e40d8bda63e9f80be8141e101edBrian Wellingtonecho "configure:1075: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
d6643ef587324e40d8bda63e9f80be8141e101edBrian Wellington# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
c50936eb40263b65ebf6afe4e6556e2dc67c10e4Brian Wellingtonac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
d6643ef587324e40d8bda63e9f80be8141e101edBrian Wellingtonac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
0ec4b862c9abd11c82c88ed62438f0cf06fed25dBob Halley#line 1086 "configure"
0ec4b862c9abd11c82c88ed62438f0cf06fed25dBob Halley#include "confdefs.h"
0ec4b862c9abd11c82c88ed62438f0cf06fed25dBob Halleymain(){return(0);}
d6643ef587324e40d8bda63e9f80be8141e101edBrian Wellingtonif { (eval echo configure:1091: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
d6643ef587324e40d8bda63e9f80be8141e101edBrian Wellington # If we can't run a trivial program, we are probably using a cross compiler.
0ec4b862c9abd11c82c88ed62438f0cf06fed25dBob Halley# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
23e4260821eefa5019808e18e14e2b366461aad7Brian Wellingtonac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
23e4260821eefa5019808e18e14e2b366461aad7Brian Wellingtonac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
e407562a75eb93073bb72089cced150d7ffe4d4fTatuya JINMEI 神明達哉 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
23e4260821eefa5019808e18e14e2b366461aad7Brian Wellingtonecho $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
0ec4b862c9abd11c82c88ed62438f0cf06fed25dBob Halleyecho "configure:1117: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrewsecho $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrewsecho "configure:1122: checking whether we are using GNU C" >&5
78951552dccf0d0004d61072bbc71fa4b1aab30fAndreas Gustafssonif eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews#ifdef __GNUC__
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrewsif { 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
0ec4b862c9abd11c82c88ed62438f0cf06fed25dBob Halleyecho $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrewsecho "configure:1150: checking whether ${CC-cc} accepts -g" >&5
93d6dfaf66258337985427c86181f01fc51f0bb4Mark Andrewsif eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrewsif test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
ca9af3aaf798f98624fc1dc69d8c7d51bf01334dBrian Wellingtonif test "$ac_test_CFLAGS" = set; then
0ec4b862c9abd11c82c88ed62438f0cf06fed25dBob Halley# Extract the first word of "$ac_prog", so it can be a program name with args.
0ec4b862c9abd11c82c88ed62438f0cf06fed25dBob Halleyecho $ac_n "checking for $ac_word""... $ac_c" 1>&6
0ec4b862c9abd11c82c88ed62438f0cf06fed25dBob Halleyif eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
0ec4b862c9abd11c82c88ed62438f0cf06fed25dBob Halley if test -n "$YACC"; then
0ec4b862c9abd11c82c88ed62438f0cf06fed25dBob Halley ac_cv_prog_YACC="$YACC" # Let the user override the test.
0ec4b862c9abd11c82c88ed62438f0cf06fed25dBob Halleyif test -n "$YACC"; then
ca9af3aaf798f98624fc1dc69d8c7d51bf01334dBrian Wellingtontest -n "$YACC" && break
0ec4b862c9abd11c82c88ed62438f0cf06fed25dBob Halleyecho $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrewsecho "configure:1218: checking how to run the C preprocessor" >&5
93d6dfaf66258337985427c86181f01fc51f0bb4Mark Andrews# On Suns, sometimes $CPP names a directory.
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrewsif test -z "$CPP"; then
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrewsif eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews # This must be in double quotes, not single quotes, because CPP may get
25496cebadd170fd5fae2aabf0469eef551259aaBrian Wellington # substituted into the Makefile and "${CC-cc}" will confuse make.
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews # On the NeXT, cc -E runs the code through the compiler's parser,
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews # not just through cpp.
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews#line 1233 "configure"
93d6dfaf66258337985427c86181f01fc51f0bb4Mark Andrews#include "confdefs.h"
93d6dfaf66258337985427c86181f01fc51f0bb4Mark Andrews#include <assert.h>
25496cebadd170fd5fae2aabf0469eef551259aaBrian Wellingtonac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
25496cebadd170fd5fae2aabf0469eef551259aaBrian Wellington{ (eval echo configure:1239: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrewsac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrewsif test -z "$ac_err"; then
f1263d2aa405087e74caf001cd443079f50ee903Mark Andrews#line 1250 "configure"
f1263d2aa405087e74caf001cd443079f50ee903Mark Andrews#include "confdefs.h"
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews#include <assert.h>
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrewsac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews{ (eval echo configure:1256: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrewsac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrewsif test -z "$ac_err"; then
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews#line 1267 "configure"
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews#include "confdefs.h"
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews#include <assert.h>
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrewsac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews{ (eval echo configure:1273: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrewsac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrewsif test -z "$ac_err"; then
fabf2ee6b01ee06a0de940b83d53cf57f9f79265Mark Andrewsecho $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
fabf2ee6b01ee06a0de940b83d53cf57f9f79265Mark Andrewsecho "configure:1298: checking for ANSI C header files" >&5
fabf2ee6b01ee06a0de940b83d53cf57f9f79265Mark Andrewsif eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
fabf2ee6b01ee06a0de940b83d53cf57f9f79265Mark Andrews#line 1303 "configure"
fabf2ee6b01ee06a0de940b83d53cf57f9f79265Mark Andrews#include "confdefs.h"
fabf2ee6b01ee06a0de940b83d53cf57f9f79265Mark Andrews#include <stdlib.h>
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews#include <stdarg.h>
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews#include <string.h>
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews#include <float.h>
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrewsac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews{ (eval echo configure:1311: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrewsac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
25496cebadd170fd5fae2aabf0469eef551259aaBrian Wellingtonif test -z "$ac_err"; then
3ce4b8b03ebd017c1d1b320429219ba91e705ea4Andreas Gustafsson echo "configure: failed program was:" >&5
0ec4b862c9abd11c82c88ed62438f0cf06fed25dBob Halley # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
c03bb27f0675a6e60ceea66b451548e8481bc05cMark Andrews#line 1328 "configure"
0ec4b862c9abd11c82c88ed62438f0cf06fed25dBob Halley#include "confdefs.h"
0ec4b862c9abd11c82c88ed62438f0cf06fed25dBob Halley#include <string.h>
0ec4b862c9abd11c82c88ed62438f0cf06fed25dBob Halley # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
93c786e0924aeca2c258e32355349e6ae60a0f72Andreas Gustafsson#line 1346 "configure"
93c786e0924aeca2c258e32355349e6ae60a0f72Andreas Gustafsson#include "confdefs.h"
93c786e0924aeca2c258e32355349e6ae60a0f72Andreas Gustafsson#include <stdlib.h>
0ec4b862c9abd11c82c88ed62438f0cf06fed25dBob Halley # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews#line 1367 "configure"
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews#include "confdefs.h"
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews#include <ctype.h>
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
0ec4b862c9abd11c82c88ed62438f0cf06fed25dBob Halley#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
b5debbe212097d1c573a2ba3bd9a3d526d86b0aeBrian Wellington#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
93c786e0924aeca2c258e32355349e6ae60a0f72Andreas Gustafssonint main () { int i; for (i = 0; i < 256; i++)
93c786e0924aeca2c258e32355349e6ae60a0f72Andreas Gustafssonif (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
0ec4b862c9abd11c82c88ed62438f0cf06fed25dBob Halleyif { (eval echo configure:1378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
ba393f380e4cd93029f6a7291d6c2d14f9022b3cBrian Wellington#define STDC_HEADERS 1
e49c834de8cdf92d4b85ef0fbf1d9dc59620a342Brian Wellingtonfor ac_hdr in fcntl.h sys/time.h unistd.h sys/sockio.h netinet6/in6.h
e49c834de8cdf92d4b85ef0fbf1d9dc59620a342Brian Wellingtonac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
e49c834de8cdf92d4b85ef0fbf1d9dc59620a342Brian Wellingtonecho $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
e49c834de8cdf92d4b85ef0fbf1d9dc59620a342Brian Wellingtonecho "configure:1405: checking for $ac_hdr" >&5
e49c834de8cdf92d4b85ef0fbf1d9dc59620a342Brian Wellingtonif eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
ba393f380e4cd93029f6a7291d6c2d14f9022b3cBrian Wellington#line 1410 "configure"
feb40fc5f911d0b2050fb9fd34950a52930b981dBrian Wellington#include "confdefs.h"
feb40fc5f911d0b2050fb9fd34950a52930b981dBrian Wellington#include <$ac_hdr>
ba393f380e4cd93029f6a7291d6c2d14f9022b3cBrian Wellingtonac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
feb40fc5f911d0b2050fb9fd34950a52930b981dBrian Wellington{ (eval echo configure:1415: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ba393f380e4cd93029f6a7291d6c2d14f9022b3cBrian Wellingtonac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
d6643ef587324e40d8bda63e9f80be8141e101edBrian Wellingtonif test -z "$ac_err"; then
d6643ef587324e40d8bda63e9f80be8141e101edBrian Wellington eval "ac_cv_header_$ac_safe=yes"
75f6c57d9544aa77a3b1a04587b4702c07343c90Brian Wellington eval "ac_cv_header_$ac_safe=no"
75f6c57d9544aa77a3b1a04587b4702c07343c90Brian Wellingtonif eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
75f6c57d9544aa77a3b1a04587b4702c07343c90Brian Wellington ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
e83cae7fa837e4757c687035d6f6c0900f152749Brian Wellington#define $ac_tr_hdr 1
ca9af3aaf798f98624fc1dc69d8c7d51bf01334dBrian Wellingtonecho $ac_n "checking for working const""... $ac_c" 1>&6
feb40fc5f911d0b2050fb9fd34950a52930b981dBrian Wellingtonecho "configure:1443: checking for working const" >&5
187604c1adfe841d909d4a8453b6900e652f7f6dBrian Wellingtonif eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews#line 1448 "configure"
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews#include "confdefs.h"
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews/* Ultrix mips cc rejects this. */
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrewstypedef int charset[2]; const charset x;
538fea1c91c68c0a5569c7b8552c8fd0490055efBrian Wellington/* SunOS 4.1.1 cc rejects this. */
538fea1c91c68c0a5569c7b8552c8fd0490055efBrian Wellingtonchar const *const *ccp;
5c6117688525d0e8d247f50c63364f66bd8d4185Brian Wellington/* NEC SVR4.0.2 mips cc rejects this. */
538fea1c91c68c0a5569c7b8552c8fd0490055efBrian Wellingtonstruct point {int x, y;};
25276bd1ecb372b82c9235648e5defab0655dcd5Mark Andrewsstatic struct point const zero = {0,0};
34aa7909371f13b4bc0ba6d155cfc38bfa1e3c5cAndreas Gustafsson/* AIX XL C 1.02.0.0 rejects this.
777ac454c0cdec27dc11d80b9b2a8d7239d833a8Brian Wellington It does not let you subtract one const X* pointer from another in an arm
e49c834de8cdf92d4b85ef0fbf1d9dc59620a342Brian Wellington of an if-expression whose if-part is not a constant expression */
25276bd1ecb372b82c9235648e5defab0655dcd5Mark Andrewsconst char *g = "string";
25276bd1ecb372b82c9235648e5defab0655dcd5Mark Andrewsccp = &g + (g ? g-g : 0);
93c786e0924aeca2c258e32355349e6ae60a0f72Andreas Gustafsson/* HPUX 7.0 cc rejects these. */
34aa7909371f13b4bc0ba6d155cfc38bfa1e3c5cAndreas Gustafssonp = (char**) ccp;
c70908209ee26c51a8e7242a56fdb73847249728Brian Wellingtonccp = (char const *const *) p;
c70908209ee26c51a8e7242a56fdb73847249728Brian Wellington{ /* SCO 3.2v4 cc rejects this. */
c70908209ee26c51a8e7242a56fdb73847249728Brian Wellington char const *s = 0 ? (char *) 0 : (char const *) 0;
0ec4b862c9abd11c82c88ed62438f0cf06fed25dBob Halley{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
0ec4b862c9abd11c82c88ed62438f0cf06fed25dBob Halley int x[] = {25, 17};
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews const int *foo = &x[0];
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
50105afc551903541608b11851d73278b23579a3Mark Andrews typedef const int *iptr;
50105afc551903541608b11851d73278b23579a3Mark Andrews{ /* AIX XL C 1.02.0.0 rejects this saying
50105afc551903541608b11851d73278b23579a3Mark Andrews "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
50105afc551903541608b11851d73278b23579a3Mark Andrews struct s { int j; const int *ap[3]; };
50105afc551903541608b11851d73278b23579a3Mark Andrews struct s *b; b->j = 5;
50105afc551903541608b11851d73278b23579a3Mark Andrews{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
50105afc551903541608b11851d73278b23579a3Mark Andrews const int foo = 10;
50105afc551903541608b11851d73278b23579a3Mark Andrews; return 0; }
c5387e694299c41361660e54f23e89c7da3ede1dMark Andrewsif { (eval echo configure:1497: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
c5387e694299c41361660e54f23e89c7da3ede1dMark Andrews#define const
fcbc5d2353971f65726a9e86c1f37c813f9c2176Mark Andrewsecho $ac_n "checking for inline""... $ac_c" 1>&6
c5387e694299c41361660e54f23e89c7da3ede1dMark Andrewsif eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
c5387e694299c41361660e54f23e89c7da3ede1dMark Andrews#line 1525 "configure"
c5387e694299c41361660e54f23e89c7da3ede1dMark Andrews#include "confdefs.h"
394f4aec2189750d7f861d00f97fe28ffcd9f659Mark Andrews} $ac_kw foo() {
c5387e694299c41361660e54f23e89c7da3ede1dMark Andrews; return 0; }
c5387e694299c41361660e54f23e89c7da3ede1dMark Andrewsif { (eval echo configure:1532: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
c5387e694299c41361660e54f23e89c7da3ede1dMark Andrews#define inline
50105afc551903541608b11851d73278b23579a3Mark Andrews#define inline $ac_cv_c_inline
50105afc551903541608b11851d73278b23579a3Mark Andrewsecho $ac_n "checking for size_t""... $ac_c" 1>&6
50105afc551903541608b11851d73278b23579a3Mark Andrewsif eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
50105afc551903541608b11851d73278b23579a3Mark Andrews#line 1563 "configure"
50105afc551903541608b11851d73278b23579a3Mark Andrews#include "confdefs.h"
50105afc551903541608b11851d73278b23579a3Mark Andrews#include <sys/types.h>
50105afc551903541608b11851d73278b23579a3Mark Andrews#if STDC_HEADERS
f1263d2aa405087e74caf001cd443079f50ee903Mark Andrews#include <stdlib.h>
f1263d2aa405087e74caf001cd443079f50ee903Mark Andrews#include <stddef.h>
50105afc551903541608b11851d73278b23579a3Mark Andrews egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
50105afc551903541608b11851d73278b23579a3Mark Andrews#define size_t unsigned
cc3aafe737334d444781f8a34ffaf459e075bb9aMark Andrewsecho $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
50105afc551903541608b11851d73278b23579a3Mark Andrewsecho "configure:1591: checking whether time.h and sys/time.h may both be included" >&5
50105afc551903541608b11851d73278b23579a3Mark Andrewsif eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
50105afc551903541608b11851d73278b23579a3Mark Andrews#line 1596 "configure"
50105afc551903541608b11851d73278b23579a3Mark Andrews#include "confdefs.h"
50105afc551903541608b11851d73278b23579a3Mark Andrews#include <sys/types.h>
50105afc551903541608b11851d73278b23579a3Mark Andrews#include <sys/time.h>
50105afc551903541608b11851d73278b23579a3Mark Andrews#include <time.h>
50105afc551903541608b11851d73278b23579a3Mark Andrewsstruct tm *tp;
f1263d2aa405087e74caf001cd443079f50ee903Mark Andrews; return 0; }
50105afc551903541608b11851d73278b23579a3Mark Andrewsif { (eval echo configure:1605: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
50105afc551903541608b11851d73278b23579a3Mark Andrews#define TIME_WITH_SYS_TIME 1
50105afc551903541608b11851d73278b23579a3Mark Andrewsecho $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
cc3aafe737334d444781f8a34ffaf459e075bb9aMark Andrewsecho "configure:1627: checking for pthread_create in -lpthread" >&5
cc3aafe737334d444781f8a34ffaf459e075bb9aMark Andrewsac_lib_var=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
50105afc551903541608b11851d73278b23579a3Mark Andrewsif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
50105afc551903541608b11851d73278b23579a3Mark Andrews#line 1635 "configure"
8d414d155953f89a4eff40f16878438a8c9228f3Mark Andrews#include "confdefs.h"
8d414d155953f89a4eff40f16878438a8c9228f3Mark Andrews/* Override any gcc2 internal prototype to avoid an error. */
8d414d155953f89a4eff40f16878438a8c9228f3Mark Andrews/* We use char because int might match the return type of a gcc2
8d414d155953f89a4eff40f16878438a8c9228f3Mark Andrews builtin and then its argument prototype would still apply. */
8d414d155953f89a4eff40f16878438a8c9228f3Mark Andrewschar pthread_create();
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrewspthread_create()
50105afc551903541608b11851d73278b23579a3Mark Andrews; return 0; }
50105afc551903541608b11851d73278b23579a3Mark Andrewsif { (eval echo configure:1646: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
50105afc551903541608b11851d73278b23579a3Mark Andrews eval "ac_cv_lib_$ac_lib_var=yes"
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews eval "ac_cv_lib_$ac_lib_var=no"
50105afc551903541608b11851d73278b23579a3Mark Andrewsif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews ac_tr_lib=HAVE_LIB`echo pthread | sed -e 's/[^a-zA-Z0-9_]/_/g' \
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews#define $ac_tr_lib 1
93d6dfaf66258337985427c86181f01fc51f0bb4Mark Andrewsecho $ac_n "checking for __pthread_create in -lpthread""... $ac_c" 1>&6
93d6dfaf66258337985427c86181f01fc51f0bb4Mark Andrewsecho "configure:1672: checking for __pthread_create in -lpthread" >&5
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrewsac_lib_var=`echo pthread'_'__pthread_create | sed 'y%./+-%__p_%'`
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrewsif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews#line 1680 "configure"
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews#include "confdefs.h"
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews/* Override any gcc2 internal prototype to avoid an error. */
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews/* We use char because int might match the return type of a gcc2
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrews builtin and then its argument prototype would still apply. */
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrewschar __pthread_create();
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews__pthread_create()
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews; return 0; }
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrewsif { (eval echo configure:1691: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews eval "ac_cv_lib_$ac_lib_var=yes"
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews eval "ac_cv_lib_$ac_lib_var=no"
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrewsif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews ac_tr_lib=HAVE_LIB`echo pthread | sed -e 's/^a-zA-Z0-9_/_/g' \
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
cf224bbf7bab87bc28b12f5b30f5ca3f3e5bf604Mark Andrews#define $ac_tr_lib 1
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews echo $ac_n "checking for __pthread_create_system in -lpthread""... $ac_c" 1>&6
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrewsecho "configure:1719: checking for __pthread_create_system in -lpthread" >&5
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrewsac_lib_var=`echo pthread'_'__pthread_create_system | sed 'y%./+-%__p_%'`
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrewsif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews#line 1727 "configure"
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews#include "confdefs.h"
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews/* Override any gcc2 internal prototype to avoid an error. */
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews/* We use char because int might match the return type of a gcc2
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews builtin and then its argument prototype would still apply. */
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrewschar __pthread_create_system();
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews__pthread_create_system()
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews; return 0; }
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrewsif { (eval echo configure:1738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews eval "ac_cv_lib_$ac_lib_var=yes"
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews eval "ac_cv_lib_$ac_lib_var=no"
cf224bbf7bab87bc28b12f5b30f5ca3f3e5bf604Mark Andrewsif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
cf224bbf7bab87bc28b12f5b30f5ca3f3e5bf604Mark Andrews ac_tr_lib=HAVE_LIB`echo pthread | sed -e 's/^a-zA-Z0-9_/_/g' \
cf224bbf7bab87bc28b12f5b30f5ca3f3e5bf604Mark Andrews -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
2f012d936b5ccdf6520c96a4de23721dc58a2221Automatic Updater#define $ac_tr_lib 1
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrewsecho "configure:1772: checking for pthread_create in -lc_r" >&5
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrewsac_lib_var=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrewsif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews#line 1780 "configure"
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews#include "confdefs.h"
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews/* Override any gcc2 internal prototype to avoid an error. */
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews/* We use char because int might match the return type of a gcc2
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews builtin and then its argument prototype would still apply. */
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrewschar pthread_create();
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrewspthread_create()
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews; return 0; }
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrewsif { (eval echo configure:1791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews eval "ac_cv_lib_$ac_lib_var=yes"
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews eval "ac_cv_lib_$ac_lib_var=no"
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrewsif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews ac_tr_lib=HAVE_LIB`echo c_r | sed -e 's/[^a-zA-Z0-9_]/_/g' \
50105afc551903541608b11851d73278b23579a3Mark Andrews -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews#define $ac_tr_lib 1
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrewsecho $ac_n "checking for sigwait in -lpthread""... $ac_c" 1>&6
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrewsecho "configure:1822: checking for sigwait in -lpthread" >&5
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrewsac_lib_var=`echo pthread'_'sigwait | sed 'y%./+-%__p_%'`
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrewsif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8d414d155953f89a4eff40f16878438a8c9228f3Mark Andrews#line 1830 "configure"
8d414d155953f89a4eff40f16878438a8c9228f3Mark Andrews#include "confdefs.h"
8d414d155953f89a4eff40f16878438a8c9228f3Mark Andrews/* Override any gcc2 internal prototype to avoid an error. */
8d414d155953f89a4eff40f16878438a8c9228f3Mark Andrews/* We use char because int might match the return type of a gcc2
8d414d155953f89a4eff40f16878438a8c9228f3Mark Andrews builtin and then its argument prototype would still apply. */
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrewschar sigwait();
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews; return 0; }
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrewsif { (eval echo configure:1841: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews eval "ac_cv_lib_$ac_lib_var=yes"
c5387e694299c41361660e54f23e89c7da3ede1dMark Andrews eval "ac_cv_lib_$ac_lib_var=no"
c5387e694299c41361660e54f23e89c7da3ede1dMark Andrewsif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
c5387e694299c41361660e54f23e89c7da3ede1dMark Andrews#define HAVE_SIGWAIT 1
c5387e694299c41361660e54f23e89c7da3ede1dMark Andrewsecho $ac_n "checking for _Psigwait in -lpthread""... $ac_c" 1>&6
c5387e694299c41361660e54f23e89c7da3ede1dMark Andrewsecho "configure:1863: checking for _Psigwait in -lpthread" >&5
c5387e694299c41361660e54f23e89c7da3ede1dMark Andrewsac_lib_var=`echo pthread'_'_Psigwait | sed 'y%./+-%__p_%'`
c5387e694299c41361660e54f23e89c7da3ede1dMark Andrewsif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
c5387e694299c41361660e54f23e89c7da3ede1dMark Andrews#line 1871 "configure"
c5387e694299c41361660e54f23e89c7da3ede1dMark Andrews#include "confdefs.h"
c5387e694299c41361660e54f23e89c7da3ede1dMark Andrews/* Override any gcc2 internal prototype to avoid an error. */
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews/* We use char because int might match the return type of a gcc2
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews builtin and then its argument prototype would still apply. */
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrewschar _Psigwait();
f1263d2aa405087e74caf001cd443079f50ee903Mark Andrews; return 0; }
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrewsif { (eval echo configure:1882: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
c941e32d221fbb0cb760e3bc24c7f221c0cf8b97Mark Andrews eval "ac_cv_lib_$ac_lib_var=yes"
c5387e694299c41361660e54f23e89c7da3ede1dMark Andrews eval "ac_cv_lib_$ac_lib_var=no"
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrewsif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews#define HAVE_SIGWAIT 1
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews#define _POSIX_PTHREAD_SEMANTICS 1
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrewsecho $ac_n "checking for catgets""... $ac_c" 1>&6
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrewsif eval "test \"`echo '$''{'ac_cv_func_catgets'+set}'`\" = set"; then
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews#line 1924 "configure"
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews#include "confdefs.h"
cc3aafe737334d444781f8a34ffaf459e075bb9aMark Andrews/* System header to define __stub macros and hopefully few prototypes,
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews which can conflict with char catgets(); below. */
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews#include <assert.h>
2f012d936b5ccdf6520c96a4de23721dc58a2221Automatic Updater/* Override any gcc2 internal prototype to avoid an error. */
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews/* We use char because int might match the return type of a gcc2
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews builtin and then its argument prototype would still apply. */
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrewschar catgets();
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews/* The GNU C library defines this for functions which it implements
f1263d2aa405087e74caf001cd443079f50ee903Mark Andrews to always fail with ENOSYS. Some functions are actually named
f1263d2aa405087e74caf001cd443079f50ee903Mark Andrews something starting with __ and the normal name is an alias. */
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews#if defined (__stub_catgets) || defined (__stub___catgets)
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews; return 0; }
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrewsif { (eval echo configure:1947: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews eval "ac_cv_func_catgets=yes"
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews eval "ac_cv_func_catgets=no"
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrewsif eval "test \"`echo '$ac_cv_func_'catgets`\" = yes"; then
cc3aafe737334d444781f8a34ffaf459e075bb9aMark Andrews#define HAVE_CATGETS 1
8d414d155953f89a4eff40f16878438a8c9228f3Mark Andrews#define NEED_PTHREAD_INIT 1
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews#define HAVE_LINUXTHREADS 1
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrewsecho "configure:1991: checking for socket in -lsocket" >&5
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrewsac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'`
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrewsif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews#line 1999 "configure"
50105afc551903541608b11851d73278b23579a3Mark Andrews#include "confdefs.h"
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews/* Override any gcc2 internal prototype to avoid an error. */
e83cae7fa837e4757c687035d6f6c0900f152749Brian Wellington/* We use char because int might match the return type of a gcc2
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews builtin and then its argument prototype would still apply. */
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrewschar socket();
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews; return 0; }
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrewsif { (eval echo configure:2010: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews eval "ac_cv_lib_$ac_lib_var=yes"
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews eval "ac_cv_lib_$ac_lib_var=no"
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrewsif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews ac_tr_lib=HAVE_LIB`echo socket | sed -e 's/[^a-zA-Z0-9_]/_/g' \
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews#define $ac_tr_lib 1
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews echo $ac_n "checking for inet_ntoa in -lnsl""... $ac_c" 1>&6
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrewsecho "configure:2038: checking for inet_ntoa in -lnsl" >&5
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrewsac_lib_var=`echo nsl'_'inet_ntoa | sed 'y%./+-%__p_%'`
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrewsif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews#line 2046 "configure"
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews#include "confdefs.h"
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews/* Override any gcc2 internal prototype to avoid an error. */
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews/* We use char because int might match the return type of a gcc2
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews builtin and then its argument prototype would still apply. */
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrewschar inet_ntoa();
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews; return 0; }
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrewsif { (eval echo configure:2057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews eval "ac_cv_lib_$ac_lib_var=yes"
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews eval "ac_cv_lib_$ac_lib_var=no"
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrewsif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews ac_tr_lib=HAVE_LIB`echo nsl | sed -e 's/[^a-zA-Z0-9_]/_/g' \
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews#define $ac_tr_lib 1
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews STD_CWARNINGS="$STD_CWARNINGS -W -Wall -Wmissing-prototypes"
e83cae7fa837e4757c687035d6f6c0900f152749Brian Wellington MKDEPPROG='cc -Ae -E -Wp,-M >/dev/null 2>>$TMP'
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews#define _SOCKADDR_LEN 1
93d6dfaf66258337985427c86181f01fc51f0bb4Mark Andrewsecho $ac_n "checking for sa_len in struct sockaddr""... $ac_c" 1>&6
e83cae7fa837e4757c687035d6f6c0900f152749Brian Wellingtonecho "configure:2128: checking for sa_len in struct sockaddr" >&5
94766449d6125cd5870891b70d46573e5deaceb4Brian Wellington#line 2130 "configure"
94766449d6125cd5870891b70d46573e5deaceb4Brian Wellington#include "confdefs.h"
94766449d6125cd5870891b70d46573e5deaceb4Brian Wellington#include <sys/types.h>
94766449d6125cd5870891b70d46573e5deaceb4Brian Wellington#include <sys/socket.h>
94766449d6125cd5870891b70d46573e5deaceb4Brian Wellingtonstruct sockaddr sa; sa.sa_len = 0; return (0);
d6be55c63f83194d97a565d0fd7b632b31b52a68Brian Wellingtonif { (eval echo configure:2139: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
d6be55c63f83194d97a565d0fd7b632b31b52a68Brian Wellington ISC_PLATFORM_HAVESALEN="#define ISC_PLATFORM_HAVESALEN 1"
d6be55c63f83194d97a565d0fd7b632b31b52a68Brian Wellington ISC_PLATFORM_HAVESALEN="#undef ISC_PLATFORM_HAVESALEN"
93d6dfaf66258337985427c86181f01fc51f0bb4Mark Andrewsecho $ac_n "checking for struct msghdr flavor""... $ac_c" 1>&6
32b2cdf212de957e3f9b0efca59f098ed4fb42deBrian Wellingtonecho "configure:2155: checking for struct msghdr flavor" >&5
32b2cdf212de957e3f9b0efca59f098ed4fb42deBrian Wellington#line 2157 "configure"
c70908209ee26c51a8e7242a56fdb73847249728Brian Wellington#include "confdefs.h"
93d6dfaf66258337985427c86181f01fc51f0bb4Mark Andrews#include <sys/types.h>
93d6dfaf66258337985427c86181f01fc51f0bb4Mark Andrews#include <sys/socket.h>
32b2cdf212de957e3f9b0efca59f098ed4fb42deBrian Wellingtonstruct msghdr msg; msg.msg_flags = 0; return (0);
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrewsif { (eval echo configure:2166: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
93d6dfaf66258337985427c86181f01fc51f0bb4Mark Andrews ISC_PLATFORM_MSGHDRFLAVOR="#define ISC_NET_BSD44MSGHDR 1"
94766449d6125cd5870891b70d46573e5deaceb4Brian Wellington ISC_PLATFORM_MSGHDRFLAVOR="#define ISC_NET_BSD43MSGHDR 1"
777ac454c0cdec27dc11d80b9b2a8d7239d833a8Brian Wellingtonecho $ac_n "checking for type in_port_t""... $ac_c" 1>&6
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrewsecho "configure:2181: checking for type in_port_t" >&5
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews#line 2183 "configure"
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews#include "confdefs.h"
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews#include <sys/types.h>
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews#include <netinet/in.h>
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrewsin_port_t port = 25; return (0);
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews; return 0; }
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrewsif { (eval echo configure:2192: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews ISC_PLATFORM_NEEDPORTT="#undef ISC_PLATFORM_NEEDPORTT"
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews ISC_PLATFORM_NEEDPORTT="#define ISC_PLATFORM_NEEDPORTT 1"
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrewsecho $ac_n "checking for struct addrinfo""... $ac_c" 1>&6
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrewsecho "configure:2207: checking for struct addrinfo" >&5
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews#line 2209 "configure"
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews#include "confdefs.h"
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews#include <netdb.h>
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrewsstruct addrinfo a; return (0);
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews; return 0; }
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrewsif { (eval echo configure:2217: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
34aa7909371f13b4bc0ba6d155cfc38bfa1e3c5cAndreas Gustafsson ISC_LWRES_NEEDADDRINFO="#undef ISC_LWRES_NEEDADDRINFO"
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews ISC_LWRES_NEEDADDRINFO="#define ISC_LWRES_NEEDADDRINFO 1"
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrewsecho $ac_n "checking for int sethostent""... $ac_c" 1>&6
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrewsecho "configure:2232: checking for int sethostent" >&5
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews#line 2234 "configure"
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews#include "confdefs.h"
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews#include <netdb.h>
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrewsint i = sethostent(0); return(0);
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews; return 0; }
f1263d2aa405087e74caf001cd443079f50ee903Mark Andrewsif { (eval echo configure:2242: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
c941e32d221fbb0cb760e3bc24c7f221c0cf8b97Mark Andrews ISC_LWRES_SETHOSTENTINT="#define ISC_LWRES_SETHOSTENTINT 1"
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews ISC_LWRES_SETHOSTENTINT="#undef ISC_LWRES_SETHOSTENTINT"
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrewsecho $ac_n "checking for int endhostent""... $ac_c" 1>&6
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrewsecho "configure:2257: checking for int endhostent" >&5
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews#line 2259 "configure"
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews#include "confdefs.h"
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrews#include <netdb.h>
6fac7ff1f9ec9c3873d3b55c5079fa79aba1f146Mark Andrewsint i = endhostent(); return(0);
6fac7ff1f9ec9c3873d3b55c5079fa79aba1f146Mark Andrews; return 0; }
6fac7ff1f9ec9c3873d3b55c5079fa79aba1f146Mark Andrewsif { (eval echo configure:2267: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6fac7ff1f9ec9c3873d3b55c5079fa79aba1f146Mark Andrews ISC_LWRES_ENDHOSTENTINT="#define ISC_LWRES_ENDHOSTENTINT 1"
7d116211ec7b063891130f191e3ed437b45dba70Mark Andrews ISC_LWRES_ENDHOSTENTINT="#undef ISC_LWRES_ENDHOSTENTINT"
7d116211ec7b063891130f191e3ed437b45dba70Mark Andrewsecho $ac_n "checking for getnetbyaddr(in_addr_t, ...)""... $ac_c" 1>&6
7d116211ec7b063891130f191e3ed437b45dba70Mark Andrewsecho "configure:2282: checking for getnetbyaddr(in_addr_t, ...)" >&5
6fac7ff1f9ec9c3873d3b55c5079fa79aba1f146Mark Andrews#line 2284 "configure"
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrews#include "confdefs.h"
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrews#include <netdb.h>
6fac7ff1f9ec9c3873d3b55c5079fa79aba1f146Mark Andrewsstruct netent *getnetbyaddr(in_addr_t, int);
6fac7ff1f9ec9c3873d3b55c5079fa79aba1f146Mark Andrews; return 0; }
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrewsif { (eval echo configure:2293: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrews ISC_LWRES_GETNETBYADDRINADDR="#define ISC_LWRES_GETNETBYADDRINADDR 1"
6fac7ff1f9ec9c3873d3b55c5079fa79aba1f146Mark Andrews ISC_LWRES_GETNETBYADDRINADDR="#undef ISC_LWRES_GETNETBYADDRINADDR"
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrewsecho $ac_n "checking for int setnetent""... $ac_c" 1>&6
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrewsecho "configure:2308: checking for int setnetent" >&5
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrews#line 2310 "configure"
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrews#include "confdefs.h"
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrews#include <netdb.h>
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrewsint i = setnetent(0); return(0);
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrews; return 0; }
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrewsif { (eval echo configure:2318: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrews ISC_LWRES_SETNETENTINT="#define ISC_LWRES_SETNETENTINT 1"
6fac7ff1f9ec9c3873d3b55c5079fa79aba1f146Mark Andrews ISC_LWRES_SETNETENTINT="#undef ISC_LWRES_SETNETENTINT"
2f012d936b5ccdf6520c96a4de23721dc58a2221Automatic Updaterecho $ac_n "checking for int endnetent""... $ac_c" 1>&6
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrewsecho "configure:2333: checking for int endnetent" >&5
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews#line 2335 "configure"
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews#include "confdefs.h"
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrews#include <netdb.h>
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrewsint i = endnetent(); return(0);
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrews; return 0; }
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrewsif { (eval echo configure:2343: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrews ISC_LWRES_ENDNETENTINT="#define ISC_LWRES_ENDNETENTINT 1"
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrews ISC_LWRES_ENDNETENTINT="#undef ISC_LWRES_ENDNETENTINT"
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrewsecho $ac_n "checking for gethostbyadd(const void *, size_t, ...)""... $ac_c" 1>&6
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrewsecho "configure:2358: checking for gethostbyadd(const void *, size_t, ...)" >&5
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrews#line 2360 "configure"
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrews#include "confdefs.h"
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrews#include <netdb.h>
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrewsstruct hostent *gethostbyaddr(const void *, size_t, int);
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrews; return 0; }
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrewsif { (eval echo configure:2369: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews ISC_LWRES_GETHOSTBYADDRVOID="#define ISC_LWRES_GETHOSTBYADDRVOID 1"
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews ISC_LWRES_GETHOSTBYADDRVOID="#undef ISC_LWRES_GETHOSTBYADDRVOID"
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrewsecho $ac_n "checking for h_errno in netdb.h""... $ac_c" 1>&6
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrewsecho "configure:2384: checking for h_errno in netdb.h" >&5
6fac7ff1f9ec9c3873d3b55c5079fa79aba1f146Mark Andrews#line 2386 "configure"
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrews#include "confdefs.h"
6fac7ff1f9ec9c3873d3b55c5079fa79aba1f146Mark Andrews#include <netdb.h>
6fac7ff1f9ec9c3873d3b55c5079fa79aba1f146Mark Andrewsh_errno = 1; return(0);
6fac7ff1f9ec9c3873d3b55c5079fa79aba1f146Mark Andrews; return 0; }
676619a22fbc760875adb00b58aaef6a22ced18aMark Andrewsif { (eval echo configure:2394: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6fac7ff1f9ec9c3873d3b55c5079fa79aba1f146Mark Andrews ISC_LWRES_NEEDHERRNO="#undef ISC_LWRES_NEEDHERRNO"
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrews ISC_LWRES_NEEDHERRNO="#define ISC_LWRES_NEEDHERRNO 1"
8bedd9647f4d6894e12a8c94d3ccc624dddcee50Mark Andrewsecho $ac_n "checking for getipnodebyname""... $ac_c" 1>&6
8bedd9647f4d6894e12a8c94d3ccc624dddcee50Mark Andrewsecho "configure:2409: checking for getipnodebyname" >&5
8bedd9647f4d6894e12a8c94d3ccc624dddcee50Mark Andrewsif eval "test \"`echo '$''{'ac_cv_func_getipnodebyname'+set}'`\" = set"; then
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrews#line 2414 "configure"
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrews#include "confdefs.h"
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrews/* System header to define __stub macros and hopefully few prototypes,
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrews which can conflict with char getipnodebyname(); below. */
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrews#include <assert.h>
6fac7ff1f9ec9c3873d3b55c5079fa79aba1f146Mark Andrews/* Override any gcc2 internal prototype to avoid an error. */
6fac7ff1f9ec9c3873d3b55c5079fa79aba1f146Mark Andrews/* We use char because int might match the return type of a gcc2
6fac7ff1f9ec9c3873d3b55c5079fa79aba1f146Mark Andrews builtin and then its argument prototype would still apply. */
6fac7ff1f9ec9c3873d3b55c5079fa79aba1f146Mark Andrewschar getipnodebyname();
6fac7ff1f9ec9c3873d3b55c5079fa79aba1f146Mark Andrews/* The GNU C library defines this for functions which it implements
6fac7ff1f9ec9c3873d3b55c5079fa79aba1f146Mark Andrews to always fail with ENOSYS. Some functions are actually named
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrews something starting with __ and the normal name is an alias. */
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrews#if defined (__stub_getipnodebyname) || defined (__stub___getipnodebyname)
6fac7ff1f9ec9c3873d3b55c5079fa79aba1f146Mark Andrewsgetipnodebyname();
6fac7ff1f9ec9c3873d3b55c5079fa79aba1f146Mark Andrews; return 0; }
6fac7ff1f9ec9c3873d3b55c5079fa79aba1f146Mark Andrewsif { (eval echo configure:2437: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6fac7ff1f9ec9c3873d3b55c5079fa79aba1f146Mark Andrews eval "ac_cv_func_getipnodebyname=yes"
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrews eval "ac_cv_func_getipnodebyname=no"
6fac7ff1f9ec9c3873d3b55c5079fa79aba1f146Mark Andrewsif eval "test \"`echo '$ac_cv_func_'getipnodebyname`\" = yes"; then
6fac7ff1f9ec9c3873d3b55c5079fa79aba1f146Mark Andrews ISC_LWRES_GETIPNODEPROTO="#undef ISC_LWRES_GETIPNODEPROTO"
5be3685b0e57677c0cc03113099cb8f99f9a070bMark AndrewsISC_LWRES_GETIPNODEPROTO="#define ISC_LWRES_GETIPNODEPROTO 1"
6fac7ff1f9ec9c3873d3b55c5079fa79aba1f146Mark Andrewsecho $ac_n "checking for getnameinfo""... $ac_c" 1>&6
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrewsecho "configure:2458: checking for getnameinfo" >&5
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrewsif eval "test \"`echo '$''{'ac_cv_func_getnameinfo'+set}'`\" = set"; then
6fac7ff1f9ec9c3873d3b55c5079fa79aba1f146Mark Andrews#line 2463 "configure"
6fac7ff1f9ec9c3873d3b55c5079fa79aba1f146Mark Andrews#include "confdefs.h"
6fac7ff1f9ec9c3873d3b55c5079fa79aba1f146Mark Andrews/* System header to define __stub macros and hopefully few prototypes,
6fac7ff1f9ec9c3873d3b55c5079fa79aba1f146Mark Andrews which can conflict with char getnameinfo(); below. */
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrews#include <assert.h>
6fac7ff1f9ec9c3873d3b55c5079fa79aba1f146Mark Andrews/* Override any gcc2 internal prototype to avoid an error. */
6fac7ff1f9ec9c3873d3b55c5079fa79aba1f146Mark Andrews/* We use char because int might match the return type of a gcc2
6fac7ff1f9ec9c3873d3b55c5079fa79aba1f146Mark Andrews builtin and then its argument prototype would still apply. */
6fac7ff1f9ec9c3873d3b55c5079fa79aba1f146Mark Andrewschar getnameinfo();
6fac7ff1f9ec9c3873d3b55c5079fa79aba1f146Mark Andrews/* The GNU C library defines this for functions which it implements
6fac7ff1f9ec9c3873d3b55c5079fa79aba1f146Mark Andrews to always fail with ENOSYS. Some functions are actually named
6fac7ff1f9ec9c3873d3b55c5079fa79aba1f146Mark Andrews something starting with __ and the normal name is an alias. */
6fac7ff1f9ec9c3873d3b55c5079fa79aba1f146Mark Andrews#if defined (__stub_getnameinfo) || defined (__stub___getnameinfo)
6fac7ff1f9ec9c3873d3b55c5079fa79aba1f146Mark Andrewsgetnameinfo();
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews; return 0; }
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrewsif { (eval echo configure:2486: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews eval "ac_cv_func_getnameinfo=yes"
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews eval "ac_cv_func_getnameinfo=no"
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrewsif eval "test \"`echo '$ac_cv_func_'getnameinfo`\" = yes"; then
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrews ISC_LWRES_GETNAMEINFOPROTO="#undef ISC_LWRES_GETNAMEINFOPROTO"
664e11f0b14c78cef7cf6b8c70323a1da494e351Mark AndrewsISC_LWRES_GETNAMEINFOPROTO="#define ISC_LWRES_GETNAMEINFOPROTO 1"
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrewsecho $ac_n "checking for getaddrinfo""... $ac_c" 1>&6
613efcd8fbd0d1ce0d0afd1ac85d95cf85bffc27Brian Wellingtonecho "configure:2507: checking for getaddrinfo" >&5
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrewsif eval "test \"`echo '$''{'ac_cv_func_getaddrinfo'+set}'`\" = set"; then
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrews#line 2512 "configure"
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrews#include "confdefs.h"
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrews/* System header to define __stub macros and hopefully few prototypes,
8bedd9647f4d6894e12a8c94d3ccc624dddcee50Mark Andrews which can conflict with char getaddrinfo(); below. */
8bedd9647f4d6894e12a8c94d3ccc624dddcee50Mark Andrews#include <assert.h>
8bedd9647f4d6894e12a8c94d3ccc624dddcee50Mark Andrews/* Override any gcc2 internal prototype to avoid an error. */
8bedd9647f4d6894e12a8c94d3ccc624dddcee50Mark Andrews/* We use char because int might match the return type of a gcc2
8bedd9647f4d6894e12a8c94d3ccc624dddcee50Mark Andrews builtin and then its argument prototype would still apply. */
8bedd9647f4d6894e12a8c94d3ccc624dddcee50Mark Andrewschar getaddrinfo();
8bedd9647f4d6894e12a8c94d3ccc624dddcee50Mark Andrews/* The GNU C library defines this for functions which it implements
2f012d936b5ccdf6520c96a4de23721dc58a2221Automatic Updater to always fail with ENOSYS. Some functions are actually named
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrews something starting with __ and the normal name is an alias. */
0ad024cc4272894e877e3a7896f80a2892bc703cMark Andrews#if defined (__stub_getaddrinfo) || defined (__stub___getaddrinfo)
0ad024cc4272894e877e3a7896f80a2892bc703cMark Andrewsgetaddrinfo();
0ad024cc4272894e877e3a7896f80a2892bc703cMark Andrews; return 0; }
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrewsif { (eval echo configure:2535: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrews eval "ac_cv_func_getaddrinfo=yes"
6fac7ff1f9ec9c3873d3b55c5079fa79aba1f146Mark Andrews eval "ac_cv_func_getaddrinfo=no"
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrewsif eval "test \"`echo '$ac_cv_func_'getaddrinfo`\" = yes"; then
e407562a75eb93073bb72089cced150d7ffe4d4fTatuya JINMEI 神明達哉 ISC_LWRES_GETADDRINFOPROTO="#undef ISC_LWRES_GETADDRINFOPROTO"
664e11f0b14c78cef7cf6b8c70323a1da494e351Mark AndrewsISC_LWRES_GETADDRINFOPROTO="#define ISC_LWRES_GETADDRINFOPROTO 1"
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrewsecho $ac_n "checking for interface list sysctl""... $ac_c" 1>&6
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrewsecho "configure:2561: checking for interface list sysctl" >&5
664e11f0b14c78cef7cf6b8c70323a1da494e351Mark Andrews#line 2563 "configure"
8d414d155953f89a4eff40f16878438a8c9228f3Mark Andrews#include "confdefs.h"
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrews#include <sys/param.h>
8d414d155953f89a4eff40f16878438a8c9228f3Mark Andrews#include <sys/sysctl.h>
8d414d155953f89a4eff40f16878438a8c9228f3Mark Andrews#include <sys/socket.h>
8d414d155953f89a4eff40f16878438a8c9228f3Mark Andrews#ifdef NET_RT_IFLIST
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrewsfound_rt_iflist
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrews#define HAVE_IFLIST_SYSCTL 1
6036112f4874637240d461c3ccbcb8dbfb1f405bAndreas Gustafsson# Check whether --with-libtool or --without-libtool was given.
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrewsif test "${with_libtool+set}" = set; then
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews # Check whether --enable-shared or --disable-shared was given.
6036112f4874637240d461c3ccbcb8dbfb1f405bAndreas Gustafssonif test "${enable_shared+set}" = set; then
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews # Look at the argument we got. We use all the common list separators.
1ea2595e1b33cc63ea73ee1d54b580b717d7d155Mark Andrews IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews# Check whether --enable-static or --disable-static was given.
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrewsif test "${enable_static+set}" = set; then
8d414d155953f89a4eff40f16878438a8c9228f3Mark Andrews # Look at the argument we got. We use all the common list separators.
8d414d155953f89a4eff40f16878438a8c9228f3Mark Andrews IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews# Check whether --enable-fast-install or --disable-fast-install was given.
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrewsif test "${enable_fast_install+set}" = set; then
8d414d155953f89a4eff40f16878438a8c9228f3Mark Andrews # Look at the argument we got. We use all the common list separators.
8d414d155953f89a4eff40f16878438a8c9228f3Mark Andrews IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrewsecho $ac_n "checking build system type""... $ac_c" 1>&6
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrewsecho "configure:2670: checking build system type" >&5
ca9af3aaf798f98624fc1dc69d8c7d51bf01334dBrian Wellingtonbuild=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
613efcd8fbd0d1ce0d0afd1ac85d95cf85bffc27Brian Wellingtonbuild_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrewsbuild_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrewsbuild_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews# Check whether --with-gnu-ld or --without-gnu-ld was given.
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrewsif test "${with_gnu_ld+set}" = set; then
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews # Check if gcc -print-prog-name=ld gives a path.
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrewsecho "configure:2699: checking for ld used by GCC" >&5
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews # Accept absolute paths.
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews [\\/]* | [A-Za-z]:[\\/]*)
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews # Canonicalize the path of ld
613efcd8fbd0d1ce0d0afd1ac85d95cf85bffc27Brian Wellington while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
48ed268b3378a8b729a0037bc4ae2ed73647a96aBrian Wellington # If it fails, then pretend we aren't using GCC.
613efcd8fbd0d1ce0d0afd1ac85d95cf85bffc27Brian Wellington # If it is relative, then search for the first ld in PATH.
ca9af3aaf798f98624fc1dc69d8c7d51bf01334dBrian Wellington echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
ca9af3aaf798f98624fc1dc69d8c7d51bf01334dBrian Wellingtonecho "configure:2723: checking for GNU ld" >&5
ca9af3aaf798f98624fc1dc69d8c7d51bf01334dBrian Wellington echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
ca9af3aaf798f98624fc1dc69d8c7d51bf01334dBrian Wellingtonecho "configure:2726: checking for non-GNU ld" >&5
613efcd8fbd0d1ce0d0afd1ac85d95cf85bffc27Brian Wellingtonif eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews if test -z "$LD"; then
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrews if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrews # Check to see if the program is GNU ld. I'd rather use --version,
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrews # but apparently some GNU ld's only accept -v.
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrews # Break only if it was the GNU/non-GNU ld that we prefer.
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrews if "$ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrews ac_cv_path_LD="$LD" # Let the user override the test with a path.
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrewsif test -n "$LD"; then
60ab03125c137c48a6b2ed6df1d2c8657757e09dMark Andrewstest -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
b5debbe212097d1c573a2ba3bd9a3d526d86b0aeBrian Wellingtonecho $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
b5debbe212097d1c573a2ba3bd9a3d526d86b0aeBrian Wellingtonecho "configure:2762: checking if the linker ($LD) is GNU ld" >&5
b5debbe212097d1c573a2ba3bd9a3d526d86b0aeBrian Wellingtonif eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then
0ec4b862c9abd11c82c88ed62438f0cf06fed25dBob Halley # I'd rather use --version here, but apparently some GNU ld's only accept -v.
b5debbe212097d1c573a2ba3bd9a3d526d86b0aeBrian Wellingtonif $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrewsecho $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrewsecho "configure:2778: checking for BSD-compatible nm" >&5
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrewsif eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then
0ec4b862c9abd11c82c88ed62438f0cf06fed25dBob Halley if test -n "$NM"; then
d2ef84e07b67e72a4bd9c729c6b8228067d17584Mark Andrews # Let the user override the test.
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrews IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrews for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
60783293cc27f74a84ec93c95c5d46edd30bd8e0Brian Wellington if test -f $ac_dir/nm || test -f $ac_dir/nm$ac_exeext ; then
60783293cc27f74a84ec93c95c5d46edd30bd8e0Brian Wellington # Check to see if the nm accepts a BSD-compat flag.
0ec4b862c9abd11c82c88ed62438f0cf06fed25dBob Halley # Adding the `sed 1q' prevents false positives on HP-UX, which says:
0ec4b862c9abd11c82c88ed62438f0cf06fed25dBob Halley # nm: unknown option "B" ignored
23e4260821eefa5019808e18e14e2b366461aad7Brian Wellington if ($ac_dir/nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
94766449d6125cd5870891b70d46573e5deaceb4Brian Wellington elif ($ac_dir/nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews ac_cv_path_NM=${ac_cv_path_NM="$ac_dir/nm"} # keep the first match, but
6bc1a645619a14707da68b130dafe41721fd2f25Brian Wellington continue # so that we can try to find one that supports BSD flags
6bc1a645619a14707da68b130dafe41721fd2f25Brian Wellington test -z "$ac_cv_path_NM" && ac_cv_path_NM=nm
34aa7909371f13b4bc0ba6d155cfc38bfa1e3c5cAndreas Gustafssonecho $ac_n "checking whether ln -s works""... $ac_c" 1>&6
34aa7909371f13b4bc0ba6d155cfc38bfa1e3c5cAndreas Gustafssonecho "configure:2815: checking whether ln -s works" >&5
613efcd8fbd0d1ce0d0afd1ac85d95cf85bffc27Brian Wellingtonif eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
34aa7909371f13b4bc0ba6d155cfc38bfa1e3c5cAndreas Gustafssonif test "$ac_cv_prog_LN_S" = "ln -s"; then
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews# Check for any special flags to pass to ltconfig.
613efcd8fbd0d1ce0d0afd1ac85d95cf85bffc27Brian Wellingtontest "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
1a69a1a78cfaa86f3b68bbc965232b7876d4da2aDavid Lawrencetest "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
1a69a1a78cfaa86f3b68bbc965232b7876d4da2aDavid Lawrencetest "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
1a69a1a78cfaa86f3b68bbc965232b7876d4da2aDavid Lawrencetest "$ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc"
613efcd8fbd0d1ce0d0afd1ac85d95cf85bffc27Brian Wellingtontest "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrewsif test "${enable_libtool_lock+set}" = set; then
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrewstest "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrewstest x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
0ec4b862c9abd11c82c88ed62438f0cf06fed25dBob Halley# Some flags need to be propagated to the compiler or linker for good
bf43fdafa3bff9e84cb03f1a19aca74514d2516eBob Halley# libtool support.
bf43fdafa3bff9e84cb03f1a19aca74514d2516eBob Halley # Find out which ABI we are using.
bf43fdafa3bff9e84cb03f1a19aca74514d2516eBob Halley if { (eval echo configure:2860: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
e419f613d8591885df608cb73065921be07dd12eBob Halley # On SCO OpenServer 5, we need -belf to get full-featured binaries.
e419f613d8591885df608cb73065921be07dd12eBob Halley echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
b5debbe212097d1c573a2ba3bd9a3d526d86b0aeBrian Wellingtonecho "configure:2881: checking whether the C compiler needs -belf" >&5
b5debbe212097d1c573a2ba3bd9a3d526d86b0aeBrian Wellingtonif eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
e419f613d8591885df608cb73065921be07dd12eBob Halley#line 2886 "configure"
e419f613d8591885df608cb73065921be07dd12eBob Halley#include "confdefs.h"
e419f613d8591885df608cb73065921be07dd12eBob Halley; return 0; }
ec371edc34e2adb9e337b774d1a6e613f5863655Brian Wellingtonif { (eval echo configure:2893: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews if test x"$lt_cv_cc_needs_belf" != x"yes"; then
23e4260821eefa5019808e18e14e2b366461aad7Brian Wellington # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
94766449d6125cd5870891b70d46573e5deaceb4Brian Wellington# Save cache, so that ltconfig can load it
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews# This file is a shell script that caches the results of configure
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrews# tests run on this system so they can be shared between configure
5c6117688525d0e8d247f50c63364f66bd8d4185Brian Wellington# scripts and configure runs. It is not useful on other systems.
6fac7ff1f9ec9c3873d3b55c5079fa79aba1f146Mark Andrews# If it contains results you don't want to keep, you may remove or edit it.
8d414d155953f89a4eff40f16878438a8c9228f3Mark Andrews# By default, configure uses ./config.cache as the cache file,
ca9af3aaf798f98624fc1dc69d8c7d51bf01334dBrian Wellington# creating it if it does not exist already. You can give configure
ca9af3aaf798f98624fc1dc69d8c7d51bf01334dBrian Wellington# the --cache-file=FILE option to use a different cache file; that is
35541328a8c18ba1f984300dfe30ec8713c90031Mark Andrews# what configure does when it calls configure scripts in
9cd6710f91bdffef5aed68ab02533e398f6134d7Brian Wellington# subdirectories, so they share the cache.
e419f613d8591885df608cb73065921be07dd12eBob Halley# Giving --cache-file=/dev/null disables caching, for debugging configure.
e419f613d8591885df608cb73065921be07dd12eBob Halley# config.status only pays attention to the cache file if you give it the
305227476756aecb11cebbc811dba88a2d147b34Mark Andrews# --recheck option to rerun configure.
0ec4b862c9abd11c82c88ed62438f0cf06fed25dBob Halley# The following way of writing the cache mishandles newlines in values,
0ec4b862c9abd11c82c88ed62438f0cf06fed25dBob Halley# but we know of no workaround that is simple, portable, and efficient.
e419f613d8591885df608cb73065921be07dd12eBob Halley# So, don't put newlines in cache variables' values.
e419f613d8591885df608cb73065921be07dd12eBob Halley# Ultrix sh set writes to stderr and can't be redirected directly,
e419f613d8591885df608cb73065921be07dd12eBob Halley# and sets the high bit in the cache file unless we assign to the vars.
470c726bc894b1c528cb84e7e1f7e44770ffc485Mark Andrews case `(ac_space=' '; set | grep ac_space) 2>&1` in
e419f613d8591885df608cb73065921be07dd12eBob Halley # `set' does not quote correctly, so add quotes (double-quote substitution
ef97e09e20da2133adc731cf7e29e72d04dfc93fAndreas Gustafsson # turns \\\\ into \\, and sed turns \\ into \).
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence -e "s/'/'\\\\''/g" \
e419f613d8591885df608cb73065921be07dd12eBob Halley -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
305227476756aecb11cebbc811dba88a2d147b34Mark Andrews # `set' quotes correctly as required by POSIX, so do not add quotes.
305227476756aecb11cebbc811dba88a2d147b34Mark Andrews sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
305227476756aecb11cebbc811dba88a2d147b34Mark Andrews if test -w $cache_file; then
305227476756aecb11cebbc811dba88a2d147b34Mark Andrews echo "updating cache $cache_file"
305227476756aecb11cebbc811dba88a2d147b34Mark Andrews echo "not updating unwritable cache $cache_file"
e419f613d8591885df608cb73065921be07dd12eBob Halley# Actually configure libtool. ac_aux_dir is where install-sh is found.
34aa7909371f13b4bc0ba6d155cfc38bfa1e3c5cAndreas GustafssonDLLTOOL="$DLLTOOL" AS="$AS" OBJDUMP="$OBJDUMP" \
9cd6710f91bdffef5aed68ab02533e398f6134d7Brian Wellington${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
e419f613d8591885df608cb73065921be07dd12eBob Halley$libtool_flags --no-verify $ac_aux_dir/ltmain.sh $host \
264fd373f3f6cc7f271bdff14a020385620015f1Andreas Gustafsson|| { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
264fd373f3f6cc7f271bdff14a020385620015f1Andreas Gustafsson# Reload cache, that may have been modified by ltconfig
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrewsif test -r "$cache_file"; then
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews echo "loading cache $cache_file"
305227476756aecb11cebbc811dba88a2d147b34Mark Andrews echo "creating cache $cache_file"
e419f613d8591885df608cb73065921be07dd12eBob Halley# This can be used to rebuild libtool when needed
e419f613d8591885df608cb73065921be07dd12eBob HalleyLIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh"
e419f613d8591885df608cb73065921be07dd12eBob Halley# Always use our own libtool.
1872808932603066d401d3de97db11af8ffee78aAndreas Gustafsson# Redirect the config.log output again, so that the ltconfig log is not
e419f613d8591885df608cb73065921be07dd12eBob Halley# clobbered by the next message.
7d116211ec7b063891130f191e3ed437b45dba70Mark Andrews# Check whether --enable-ipv6 or --disable-ipv6 was given.
7d116211ec7b063891130f191e3ed437b45dba70Mark Andrewsif test "${enable_ipv6+set}" = set; then
f3ca27e9fe307b55e35ea8d7b37351650630e5a3Andreas Gustafsson echo $ac_n "checking for IPv6 structures""... $ac_c" 1>&6
bf43fdafa3bff9e84cb03f1a19aca74514d2516eBob Halleyecho "configure:3017: checking for IPv6 structures" >&5
bf43fdafa3bff9e84cb03f1a19aca74514d2516eBob Halley#line 3019 "configure"
bf43fdafa3bff9e84cb03f1a19aca74514d2516eBob Halley#include "confdefs.h"
0ec4b862c9abd11c82c88ed62438f0cf06fed25dBob Halley#include <sys/types.h>
0ec4b862c9abd11c82c88ed62438f0cf06fed25dBob Halley#include <sys/socket.h>
0ec4b862c9abd11c82c88ed62438f0cf06fed25dBob Halley#include <netinet/in.h>
0ec4b862c9abd11c82c88ed62438f0cf06fed25dBob Halleystruct sockaddr_in6 sin6; return (0);
0ec4b862c9abd11c82c88ed62438f0cf06fed25dBob Halley; return 0; }
0ec4b862c9abd11c82c88ed62438f0cf06fed25dBob Halleyif { (eval echo configure:3029: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrews ISC_PLATFORM_HAVEIPV6="#define ISC_PLATFORM_HAVEIPV6 1",
1b1e1fda4638334b484aa38c15f53a131c0b0fdfAndreas Gustafsson ISC_PLATFORM_HAVEIPV6="#undef ISC_PLATFORM_HAVEIPV6"
1b1e1fda4638334b484aa38c15f53a131c0b0fdfAndreas Gustafssonecho $ac_n "checking for Kame IPv6 support""... $ac_c" 1>&6
1b1e1fda4638334b484aa38c15f53a131c0b0fdfAndreas Gustafssonecho "configure:3067: checking for Kame IPv6 support" >&5
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrews# Check whether --with-kame or --without-kame was given.
5be3685b0e57677c0cc03113099cb8f99f9a070bMark Andrewsif test "${with_kame+set}" = set; then
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark Andrews { echo "configure: error: $kame_path/lib/libinet6.a not found.
0b09763c354ec91fb352b6b4cea383bd0195b2d8Mark AndrewsPlease choose the proper path with the following command:
if { (eval echo configure:3137: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:3189: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:3241: \"$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:3344: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:3405: \"$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