+ `--with-libiconv' assumes that your C compiler has `-R'
+ option, and that the option adds the specified run-time path
+ to an exacutable binary. If `-R' option of your compiler has
+ different meaning, or your compiler lacks the option, you
+ should use `--with-iconv' option instead. Binary command
+ without run-time path information might be unexecutable.
+ In that case, you would see an error message like:
+ open shared object file
+ If both `--with-libiconv' and `--with-iconv' options are
+ specified, `--with-iconv' is prior to `--with-libiconv'.
+ --with-iconv=ICONV_LIBSPEC
+ If your libc doens't provide iconv(), you need to specify the
+ library containing iconv() with this option. `ICONV_LIBSPEC'
+ is the argument(s) to `cc' or `ld' to link the library, for
+ You don't need to specify the header file directory for "
iconv.h"
+ to the compiler, as it isn't included directly by bind-9 with
+ --with-idnlib=IDN_LIBSPEC
+ With this option, you can explicitly specify the argument(s)
+ to `cc' or `ld' to link the idnkit's library, `libidnkit'. If
+ this option is not specified, `-L${PREFIX}/lib -lidnkit' is
+ assumed, where ${PREFIX} is the installation prefix specified
+ with `--with-idn' option above. You may need to use this
+ option to specify extra argments, for example,
+ Please consult `README' for other configuration options.
+ Note that if you want to specify some extra header file directories,
+ you should use the environment variable STD_CINCLUDES instead of
+ CFLAGS, as described in README.
+ 2. Compilation and installation
+ After running "configure", just do
+ for compiling and installing.
+ about idnkit and this patch.
+ Bug reports and comments on this kit should be sent to
+ mdnkit-bugs@nic.ad.jp and mdn-cmt@nic.ad.jp, respectively.
+ ; $Id: bind-9.2.1-patch,v 1.1 2003/06/04 00:27:30 marka Exp $
/* define if you have strerror in the C library. */
+ /* Define if you have the setlocale function. */
/* Define if you have the <
dlfcn.h> header file. */
#undef HAVE_LINUX_CAPABILITY_H
+ /* Define if you have the <
locale.h> header file. */
/* Define if you have the <
sys/prctl.h> header file. */
/* Define if you have the socket library (-lsocket). */
+ /* define if idnkit support is to be included. */
*** configure Wed May 22 17:14:53 2002
--- configure Mon May 27 12:10:14 2002
--disable-linux-caps disable linux capabilities"
+ --with-idn[=MPREFIX] enable IDN support using idnkit [default PREFIX]"
+ --with-libiconv[=IPREFIX] GNU libiconv are in IPREFIX [default PREFIX]"
+ --with-iconv[=LIBSPEC] specify iconv library [default -liconv]"
+ --with-idnlib=ARG specify libidnkit"
# Initialize some variables set by options.
# The variables have the same names as the options, with
echo $ac_n "checking host system type""... $ac_c" 1>&6
! echo "configure:915: checking host system type" >&5
echo $ac_n "checking host system type""... $ac_c" 1>&6
! echo "configure:923: checking host system type" >&5
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
! echo "configure:937: checking whether ${MAKE-make} sets \${MAKE}" >&5
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
! echo "configure:945: checking whether ${MAKE-make} sets \${MAKE}" >&5
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
# Extract the first word of "ranlib", so it can be a program name with args.
set dummy ranlib; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:966: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
# Extract the first word of "ranlib", so it can be a program name with args.
set dummy ranlib; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:974: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
# ./install, which can be erroneously created by make from ./
install.sh. echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
! echo "configure:1005: checking for a BSD compatible install" >&5
if test -z "$INSTALL"; then
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
# ./install, which can be erroneously created by make from ./
install.sh. echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
! echo "configure:1013: checking for a BSD compatible install" >&5
if test -z "$INSTALL"; then
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
# Extract the first word of "ar", so it can be a program name with args.
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:1066: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_AR'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
# Extract the first word of "ar", so it can be a program name with args.
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:1074: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_AR'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:1125: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_ETAGS'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:1133: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_ETAGS'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
if test "X$ETAGS" != "X"; then
echo $ac_n "checking for Exuberant Ctags etags""... $ac_c" 1>&6
! echo "configure:1167: checking for Exuberant Ctags etags" >&5
if $ETAGS --version 2>&1 | grep 'Exuberant Ctags' >
/dev/null 2>&1; then
if test "X$ETAGS" != "X"; then
echo $ac_n "checking for Exuberant Ctags etags""... $ac_c" 1>&6
! echo "configure:1175: checking for Exuberant Ctags etags" >&5
if $ETAGS --version 2>&1 | grep 'Exuberant Ctags' >
/dev/null 2>&1; then
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:1185: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_PERL'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:1193: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_PERL'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
# Extract the first word of "gcc", so it can be a program name with args.
set dummy gcc; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:1332: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
# Extract the first word of "gcc", so it can be a program name with args.
set dummy gcc; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:1340: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
# Extract the first word of "cc", so it can be a program name with args.
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:1362: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
# Extract the first word of "cc", so it can be a program name with args.
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:1370: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
# Extract the first word of "cl", so it can be a program name with args.
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:1413: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
# Extract the first word of "cl", so it can be a program name with args.
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:1421: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
! echo "configure:1445: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
! echo "configure:1453: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
cat > conftest.$ac_ext << EOF
! if { (eval echo configure:1461: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
# If we can't run a trivial program, we are probably using a cross compiler.
cat > conftest.$ac_ext << EOF
! if { (eval echo configure:1469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
# If we can't run a trivial program, we are probably using a cross compiler.
{ echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
! echo "configure:1487: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
cross_compiling=$ac_cv_prog_cc_cross
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
! echo "configure:1492: checking whether we are using GNU C" >&5
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
{ echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
! echo "configure:1495: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
cross_compiling=$ac_cv_prog_cc_cross
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
! echo "configure:1500: checking whether we are using GNU C" >&5
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
! if { ac_try='${CC-cc} -E
conftest.c'; { (eval echo configure:1501: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >
/dev/null 2>&1; then
! if { ac_try='${CC-cc} -E
conftest.c'; { (eval echo configure:1509: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >
/dev/null 2>&1; then
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
! echo "configure:1520: checking whether ${CC-cc} accepts -g" >&5
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
! echo "configure:1528: checking whether ${CC-cc} accepts -g" >&5
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
! echo "configure:1553: checking how to run the C preprocessor" >&5
# On Suns, sometimes $CPP names a directory.
if test -n "$CPP" && test -d "$CPP"; then
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
! echo "configure:1561: checking how to run the C preprocessor" >&5
# On Suns, sometimes $CPP names a directory.
if test -n "$CPP" && test -d "$CPP"; then
# On the NeXT, cc -E runs the code through the compiler's parser,
cat > conftest.$ac_ext <<EOF
! { (eval echo configure:1574: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+'
conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
# On the NeXT, cc -E runs the code through the compiler's parser,
cat > conftest.$ac_ext <<EOF
! { (eval echo configure:1582: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+'
conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
CPP="${CC-cc} -E -traditional-cpp"
cat > conftest.$ac_ext <<EOF
! { (eval echo configure:1591: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+'
conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
CPP="${CC-cc} -E -traditional-cpp"
cat > conftest.$ac_ext <<EOF
! { (eval echo configure:1599: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+'
conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
CPP="${CC-cc} -nologo -E"
cat > conftest.$ac_ext <<EOF
! { (eval echo configure:1608: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+'
conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
CPP="${CC-cc} -nologo -E"
cat > conftest.$ac_ext <<EOF
! { (eval echo configure:1616: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+'
conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
! echo "configure:1633: checking for ANSI C header files" >&5
if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
cat > conftest.$ac_ext <<EOF
echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
! echo "configure:1641: checking for ANSI C header files" >&5
if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
cat > conftest.$ac_ext <<EOF
! { (eval echo configure:1646: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+'
conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
! { (eval echo configure:1654: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+'
conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
if test $ac_cv_header_stdc = yes; then
# SunOS
4.x string.h does not declare mem*, contrary to ANSI.
cat > conftest.$ac_ext <<EOF
if test $ac_cv_header_stdc = yes; then
# SunOS
4.x string.h does not declare mem*, contrary to ANSI.
cat > conftest.$ac_ext <<EOF
if test $ac_cv_header_stdc = yes; then
# ISC 2.0.2
stdlib.h does not declare free, contrary to ANSI.
cat > conftest.$ac_ext <<EOF
if test $ac_cv_header_stdc = yes; then
# ISC 2.0.2
stdlib.h does not declare free, contrary to ANSI.
cat > conftest.$ac_ext <<EOF
cat > conftest.$ac_ext <<EOF
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
cat > conftest.$ac_ext <<EOF
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
! if { (eval echo configure:1713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>
/dev/null! if { (eval echo configure:1721: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>
/dev/null ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:1741: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
cat > conftest.$ac_ext <<EOF
! { (eval echo configure:1751: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+'
conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:1749: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
cat > conftest.$ac_ext <<EOF
! { (eval echo configure:1759: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+'
conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
echo $ac_n "checking for working const""... $ac_c" 1>&6
! echo "configure:1779: checking for working const" >&5
if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
cat > conftest.$ac_ext <<EOF
echo $ac_n "checking for working const""... $ac_c" 1>&6
! echo "configure:1787: checking for working const" >&5
if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
cat > conftest.$ac_ext <<EOF
! if { (eval echo configure:1833: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
! if { (eval echo configure:1841: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
echo $ac_n "checking for inline""... $ac_c" 1>&6
! echo "configure:1854: checking for inline" >&5
if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
for ac_kw in inline __inline__ __inline; do
cat > conftest.$ac_ext <<EOF
! if { (eval echo configure:1868: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
ac_cv_c_inline=$ac_kw; break
echo $ac_n "checking for inline""... $ac_c" 1>&6
! echo "configure:1862: checking for inline" >&5
if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
for ac_kw in inline __inline__ __inline; do
cat > conftest.$ac_ext <<EOF
! if { (eval echo configure:1876: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
ac_cv_c_inline=$ac_kw; break
echo $ac_n "checking for sysctlbyname""... $ac_c" 1>&6
! echo "configure:1894: checking for sysctlbyname" >&5
if eval "test \"`echo '$''{'ac_cv_func_sysctlbyname'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
cat > conftest.$ac_ext <<EOF
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char sysctlbyname(); below. */
echo $ac_n "checking for sysctlbyname""... $ac_c" 1>&6
! echo "configure:1902: checking for sysctlbyname" >&5
if eval "test \"`echo '$''{'ac_cv_func_sysctlbyname'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
cat > conftest.$ac_ext <<EOF
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char sysctlbyname(); below. */
! if { (eval echo configure:1922: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
eval "ac_cv_func_sysctlbyname=yes"
! if { (eval echo configure:1930: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
eval "ac_cv_func_sysctlbyname=yes"
# is reported to not support "static inline" (RT #1212).
echo $ac_n "checking for static inline breakage""... $ac_c" 1>&6
! echo "configure:1950: checking for static inline breakage" >&5
cat > conftest.$ac_ext <<EOF
# is reported to not support "static inline" (RT #1212).
echo $ac_n "checking for static inline breakage""... $ac_c" 1>&6
! echo "configure:1958: checking for static inline breakage" >&5
cat > conftest.$ac_ext <<EOF
! if { (eval echo configure:1969: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
! if { (eval echo configure:1977: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
echo $ac_n "checking for size_t""... $ac_c" 1>&6
! echo "configure:1985: checking for size_t" >&5
if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
cat > conftest.$ac_ext <<EOF
echo $ac_n "checking for size_t""... $ac_c" 1>&6
! echo "configure:1993: checking for size_t" >&5
if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
cat > conftest.$ac_ext <<EOF
echo $ac_n "checking for ssize_t""... $ac_c" 1>&6
! echo "configure:2018: checking for ssize_t" >&5
if eval "test \"`echo '$''{'ac_cv_type_ssize_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
cat > conftest.$ac_ext <<EOF
echo $ac_n "checking for ssize_t""... $ac_c" 1>&6
! echo "configure:2026: checking for ssize_t" >&5
if eval "test \"`echo '$''{'ac_cv_type_ssize_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
cat > conftest.$ac_ext <<EOF
echo $ac_n "checking whether
time.h and
sys/time.h may both be included""... $ac_c" 1>&6
! echo "configure:2051: checking whether
time.h and
sys/time.h may both be included" >&5
if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
cat > conftest.$ac_ext <<EOF
echo $ac_n "checking whether
time.h and
sys/time.h may both be included""... $ac_c" 1>&6
! echo "configure:2059: checking whether
time.h and
sys/time.h may both be included" >&5
if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
cat > conftest.$ac_ext <<EOF
! if { (eval echo configure:2065: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
! if { (eval echo configure:2073: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
echo $ac_n "checking for long long""... $ac_c" 1>&6
! echo "configure:2086: checking for long long" >&5
cat > conftest.$ac_ext <<EOF
long long i = 0; return (0);
! if { (eval echo configure:2095: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
ISC_PLATFORM_HAVELONGLONG="#define ISC_PLATFORM_HAVELONGLONG 1"
echo $ac_n "checking for long long""... $ac_c" 1>&6
! echo "configure:2094: checking for long long" >&5
cat > conftest.$ac_ext <<EOF
long long i = 0; return (0);
! if { (eval echo configure:2103: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
ISC_PLATFORM_HAVELONGLONG="#define ISC_PLATFORM_HAVELONGLONG 1"
case $ac_cv_header_unistd_h in
echo $ac_n "checking if
unistd.h defines fd_set""... $ac_c" 1>&6
! echo "configure:2115: checking if
unistd.h defines fd_set" >&5
cat > conftest.$ac_ext <<EOF
case $ac_cv_header_unistd_h in
echo $ac_n "checking if
unistd.h defines fd_set""... $ac_c" 1>&6
! echo "configure:2123: checking if
unistd.h defines fd_set" >&5
cat > conftest.$ac_ext <<EOF
fd_set read_set; return (0);
! if { (eval echo configure:2125: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
ISC_PLATFORM_NEEDSYSSELECTH="#undef ISC_PLATFORM_NEEDSYSSELECTH"
fd_set read_set; return (0);
! if { (eval echo configure:2133: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
ISC_PLATFORM_NEEDSYSSELECTH="#undef ISC_PLATFORM_NEEDSYSSELECTH"
# Find the machine's endian flavor.
echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
! echo "configure:2167: checking whether byte ordering is bigendian" >&5
if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
ac_cv_c_bigendian=unknown
cat > conftest.$ac_ext <<EOF
# Find the machine's endian flavor.
echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
! echo "configure:2175: checking whether byte ordering is bigendian" >&5
if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
ac_cv_c_bigendian=unknown
cat > conftest.$ac_ext <<EOF
! if { (eval echo configure:2185: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
# It does; now see whether it defined to BIG_ENDIAN or not.
cat > conftest.$ac_ext <<EOF
! if { (eval echo configure:2193: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
# It does; now see whether it defined to BIG_ENDIAN or not.
cat > conftest.$ac_ext <<EOF
! if { (eval echo configure:2200: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
! if { (eval echo configure:2208: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
{ echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
cat > conftest.$ac_ext <<EOF
/* Are we little or big endian? From Harbison&Steele. */
{ echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
cat > conftest.$ac_ext <<EOF
/* Are we little or big endian? From Harbison&Steele. */
exit (
u.c[sizeof (long) - 1] == 1);
! if { (eval echo configure:2233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>
/dev/null exit (
u.c[sizeof (long) - 1] == 1);
! if { (eval echo configure:2241: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>
/dev/null # was --with-openssl specified?
echo $ac_n "checking for OpenSSL library""... $ac_c" 1>&6
! echo "configure:2261: checking for OpenSSL library" >&5
# Check whether --with-openssl or --without-openssl was given.
if test "${with_openssl+set}" = set; then
# was --with-openssl specified?
echo $ac_n "checking for OpenSSL library""... $ac_c" 1>&6
! echo "configure:2269: checking for OpenSSL library" >&5
# Check whether --with-openssl or --without-openssl was given.
if test "${with_openssl+set}" = set; then
echo $ac_n "checking OpenSSL library version""... $ac_c" 1>&6
! echo "configure:2302: checking OpenSSL library version" >&5
CFLAGS="$CFLAGS $DST_OPENSSL_INC"
echo $ac_n "checking OpenSSL library version""... $ac_c" 1>&6
! echo "configure:2310: checking OpenSSL library version" >&5
CFLAGS="$CFLAGS $DST_OPENSSL_INC"
echo "$ac_t""assuming target platform has compatible version" 1>&6
cat > conftest.$ac_ext <<EOF
echo "$ac_t""assuming target platform has compatible version" 1>&6
cat > conftest.$ac_ext <<EOF
! if { (eval echo configure:2326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>
/dev/null! if { (eval echo configure:2334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>
/dev/null # was --with-randomdev specified?
echo $ac_n "checking for random device""... $ac_c" 1>&6
! echo "configure:2391: checking for random device" >&5
# Check whether --with-randomdev or --without-randomdev was given.
if test "${with_randomdev+set}" = set; then
withval="$with_randomdev"
# was --with-randomdev specified?
echo $ac_n "checking for random device""... $ac_c" 1>&6
! echo "configure:2399: checking for random device" >&5
# Check whether --with-randomdev or --without-randomdev was given.
if test "${with_randomdev+set}" = set; then
withval="$with_randomdev"
ac_safe=`echo "$devrandom" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $devrandom""... $ac_c" 1>&6
! echo "configure:2415: checking for $devrandom" >&5
if eval "test \"`echo '$''{'ac_cv_file_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
ac_safe=`echo "$devrandom" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $devrandom""... $ac_c" 1>&6
! echo "configure:2423: checking for $devrandom" >&5
if eval "test \"`echo '$''{'ac_cv_file_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
echo $ac_n "checking whether to build with thread support""... $ac_c" 1>&6
! echo "configure:2467: checking whether to build with thread support" >&5
echo $ac_n "checking whether to build with thread support""... $ac_c" 1>&6
! echo "configure:2475: checking whether to build with thread support" >&5
echo $ac_n "checking which NetBSD thread library to use""... $ac_c" 1>&6
! echo "configure:2555: checking which NetBSD thread library to use" >&5
# Check whether --with-ptl2 or --without-ptl2 was given.
if test "${with_ptl2+set}" = set; then
echo $ac_n "checking which NetBSD thread library to use""... $ac_c" 1>&6
! echo "configure:2563: checking which NetBSD thread library to use" >&5
# Check whether --with-ptl2 or --without-ptl2 was given.
if test "${with_ptl2+set}" = set; then
echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
! echo "configure:2594: checking for pthread_create in -lpthread" >&5
ac_lib_var=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
! echo "configure:2602: checking for pthread_create in -lpthread" >&5
ac_lib_var=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
cat > conftest.$ac_ext <<EOF
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
cat > conftest.$ac_ext <<EOF
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
! if { (eval echo configure:2613: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
eval "ac_cv_lib_$ac_lib_var=yes"
! if { (eval echo configure:2621: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
eval "ac_cv_lib_$ac_lib_var=yes"
echo $ac_n "checking for __pthread_create in -lpthread""... $ac_c" 1>&6
! echo "configure:2639: checking for __pthread_create in -lpthread" >&5
ac_lib_var=`echo pthread'_'__pthread_create | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
echo $ac_n "checking for __pthread_create in -lpthread""... $ac_c" 1>&6
! echo "configure:2647: checking for __pthread_create in -lpthread" >&5
ac_lib_var=`echo pthread'_'__pthread_create | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
cat > conftest.$ac_ext <<EOF
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
cat > conftest.$ac_ext <<EOF
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
! if { (eval echo configure:2658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
eval "ac_cv_lib_$ac_lib_var=yes"
! if { (eval echo configure:2666: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
eval "ac_cv_lib_$ac_lib_var=yes"
echo $ac_n "checking for __pthread_create_system in -lpthread""... $ac_c" 1>&6
! echo "configure:2684: checking for __pthread_create_system in -lpthread" >&5
ac_lib_var=`echo pthread'_'__pthread_create_system | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
echo $ac_n "checking for __pthread_create_system in -lpthread""... $ac_c" 1>&6
! echo "configure:2692: checking for __pthread_create_system in -lpthread" >&5
ac_lib_var=`echo pthread'_'__pthread_create_system | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
cat > conftest.$ac_ext <<EOF
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
cat > conftest.$ac_ext <<EOF
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
__pthread_create_system()
! if { (eval echo configure:2703: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
eval "ac_cv_lib_$ac_lib_var=yes"
__pthread_create_system()
! if { (eval echo configure:2711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
eval "ac_cv_lib_$ac_lib_var=yes"
echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
! echo "configure:2729: checking for pthread_create in -lc_r" >&5
ac_lib_var=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
! echo "configure:2737: checking for pthread_create in -lc_r" >&5
ac_lib_var=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
cat > conftest.$ac_ext <<EOF
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
cat > conftest.$ac_ext <<EOF
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
! if { (eval echo configure:2748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
eval "ac_cv_lib_$ac_lib_var=yes"
! if { (eval echo configure:2756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
eval "ac_cv_lib_$ac_lib_var=yes"
echo $ac_n "checking for pthread_create in -lc""... $ac_c" 1>&6
! echo "configure:2774: checking for pthread_create in -lc" >&5
ac_lib_var=`echo c'_'pthread_create | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
echo $ac_n "checking for pthread_create in -lc""... $ac_c" 1>&6
! echo "configure:2782: checking for pthread_create in -lc" >&5
ac_lib_var=`echo c'_'pthread_create | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
cat > conftest.$ac_ext <<EOF
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
cat > conftest.$ac_ext <<EOF
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
! if { (eval echo configure:2793: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
eval "ac_cv_lib_$ac_lib_var=yes"
! if { (eval echo configure:2801: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
eval "ac_cv_lib_$ac_lib_var=yes"
# We'd like to use sigwait() too
echo $ac_n "checking for sigwait in -lc""... $ac_c" 1>&6
! echo "configure:2839: checking for sigwait in -lc" >&5
ac_lib_var=`echo c'_'sigwait | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
# We'd like to use sigwait() too
echo $ac_n "checking for sigwait in -lc""... $ac_c" 1>&6
! echo "configure:2847: checking for sigwait in -lc" >&5
ac_lib_var=`echo c'_'sigwait | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
cat > conftest.$ac_ext <<EOF
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
cat > conftest.$ac_ext <<EOF
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
! if { (eval echo configure:2858: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
eval "ac_cv_lib_$ac_lib_var=yes"
! if { (eval echo configure:2866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
eval "ac_cv_lib_$ac_lib_var=yes"
echo $ac_n "checking for sigwait in -lpthread""... $ac_c" 1>&6
! echo "configure:2880: checking for sigwait in -lpthread" >&5
ac_lib_var=`echo pthread'_'sigwait | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
echo $ac_n "checking for sigwait in -lpthread""... $ac_c" 1>&6
! echo "configure:2888: checking for sigwait in -lpthread" >&5
ac_lib_var=`echo pthread'_'sigwait | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
cat > conftest.$ac_ext <<EOF
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
cat > conftest.$ac_ext <<EOF
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
! if { (eval echo configure:2899: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
eval "ac_cv_lib_$ac_lib_var=yes"
! if { (eval echo configure:2907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
eval "ac_cv_lib_$ac_lib_var=yes"
echo $ac_n "checking for _Psigwait in -lpthread""... $ac_c" 1>&6
! echo "configure:2921: checking for _Psigwait in -lpthread" >&5
ac_lib_var=`echo pthread'_'_Psigwait | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
echo $ac_n "checking for _Psigwait in -lpthread""... $ac_c" 1>&6
! echo "configure:2929: checking for _Psigwait in -lpthread" >&5
ac_lib_var=`echo pthread'_'_Psigwait | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
cat > conftest.$ac_ext <<EOF
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
cat > conftest.$ac_ext <<EOF
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
! if { (eval echo configure:2940: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
eval "ac_cv_lib_$ac_lib_var=yes"
! if { (eval echo configure:2948: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
eval "ac_cv_lib_$ac_lib_var=yes"
echo $ac_n "checking for pthread_attr_getstacksize""... $ac_c" 1>&6
! echo "configure:2970: checking for pthread_attr_getstacksize" >&5
if eval "test \"`echo '$''{'ac_cv_func_pthread_attr_getstacksize'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
cat > conftest.$ac_ext <<EOF
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char pthread_attr_getstacksize(); below. */
echo $ac_n "checking for pthread_attr_getstacksize""... $ac_c" 1>&6
! echo "configure:2978: checking for pthread_attr_getstacksize" >&5
if eval "test \"`echo '$''{'ac_cv_func_pthread_attr_getstacksize'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
cat > conftest.$ac_ext <<EOF
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char pthread_attr_getstacksize(); below. */
! if { (eval echo configure:2998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
eval "ac_cv_func_pthread_attr_getstacksize=yes"
! if { (eval echo configure:3006: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
eval "ac_cv_func_pthread_attr_getstacksize=yes"
echo $ac_n "checking for sigwait in -lc_r""... $ac_c" 1>&6
! echo "configure:3030: checking for sigwait in -lc_r" >&5
ac_lib_var=`echo c_r'_'sigwait | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
echo $ac_n "checking for sigwait in -lc_r""... $ac_c" 1>&6
! echo "configure:3038: checking for sigwait in -lc_r" >&5
ac_lib_var=`echo c_r'_'sigwait | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
cat > conftest.$ac_ext <<EOF
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
cat > conftest.$ac_ext <<EOF
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
! if { (eval echo configure:3049: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
eval "ac_cv_lib_$ac_lib_var=yes"
! if { (eval echo configure:3057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
eval "ac_cv_lib_$ac_lib_var=yes"
echo $ac_n "checking for pthread_setconcurrency""... $ac_c" 1>&6
! echo "configure:3104: checking for pthread_setconcurrency" >&5
if eval "test \"`echo '$''{'ac_cv_func_pthread_setconcurrency'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
cat > conftest.$ac_ext <<EOF
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char pthread_setconcurrency(); below. */
echo $ac_n "checking for pthread_setconcurrency""... $ac_c" 1>&6
! echo "configure:3112: checking for pthread_setconcurrency" >&5
if eval "test \"`echo '$''{'ac_cv_func_pthread_setconcurrency'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
cat > conftest.$ac_ext <<EOF
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char pthread_setconcurrency(); below. */
! if { (eval echo configure:3132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
eval "ac_cv_func_pthread_setconcurrency=yes"
! if { (eval echo configure:3140: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
eval "ac_cv_func_pthread_setconcurrency=yes"
# Look for sysconf to allow detection of the number of processors.
echo $ac_n "checking for sysconf""... $ac_c" 1>&6
! echo "configure:3170: checking for sysconf" >&5
if eval "test \"`echo '$''{'ac_cv_func_sysconf'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
cat > conftest.$ac_ext <<EOF
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char sysconf(); below. */
# Look for sysconf to allow detection of the number of processors.
echo $ac_n "checking for sysconf""... $ac_c" 1>&6
! echo "configure:3178: checking for sysconf" >&5
if eval "test \"`echo '$''{'ac_cv_func_sysconf'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
cat > conftest.$ac_ext <<EOF
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char sysconf(); below. */
! if { (eval echo configure:3198: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
eval "ac_cv_func_sysconf=yes"
! if { (eval echo configure:3206: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
eval "ac_cv_func_sysconf=yes"
echo $ac_n "checking for flockfile""... $ac_c" 1>&6
! echo "configure:3279: checking for flockfile" >&5
if eval "test \"`echo '$''{'ac_cv_func_flockfile'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
cat > conftest.$ac_ext <<EOF
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char flockfile(); below. */
echo $ac_n "checking for flockfile""... $ac_c" 1>&6
! echo "configure:3287: checking for flockfile" >&5
if eval "test \"`echo '$''{'ac_cv_func_flockfile'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
cat > conftest.$ac_ext <<EOF
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char flockfile(); below. */
! if { (eval echo configure:3307: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
eval "ac_cv_func_flockfile=yes"
! if { (eval echo configure:3315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
eval "ac_cv_func_flockfile=yes"
echo $ac_n "checking for getc_unlocked""... $ac_c" 1>&6
! echo "configure:3330: checking for getc_unlocked" >&5
if eval "test \"`echo '$''{'ac_cv_func_getc_unlocked'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
cat > conftest.$ac_ext <<EOF
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char getc_unlocked(); below. */
echo $ac_n "checking for getc_unlocked""... $ac_c" 1>&6
! echo "configure:3338: checking for getc_unlocked" >&5
if eval "test \"`echo '$''{'ac_cv_func_getc_unlocked'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
cat > conftest.$ac_ext <<EOF
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char getc_unlocked(); below. */
! if { (eval echo configure:3358: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
eval "ac_cv_func_getc_unlocked=yes"
! if { (eval echo configure:3366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
eval "ac_cv_func_getc_unlocked=yes"
# Indicate what the final decision was regarding threads.
echo $ac_n "checking whether to build with threads""... $ac_c" 1>&6
! echo "configure:3385: checking whether to build with threads" >&5
# Indicate what the final decision was regarding threads.
echo $ac_n "checking whether to build with threads""... $ac_c" 1>&6
! echo "configure:3393: checking whether to build with threads" >&5
echo $ac_n "checking for catgets""... $ac_c" 1>&6
! echo "configure:3461: checking for catgets" >&5
if eval "test \"`echo '$''{'ac_cv_func_catgets'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
cat > conftest.$ac_ext <<EOF
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char catgets(); below. */
echo $ac_n "checking for catgets""... $ac_c" 1>&6
! echo "configure:3469: checking for catgets" >&5
if eval "test \"`echo '$''{'ac_cv_func_catgets'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
cat > conftest.$ac_ext <<EOF
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char catgets(); below. */
! if { (eval echo configure:3489: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
eval "ac_cv_func_catgets=yes"
! if { (eval echo configure:3497: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
eval "ac_cv_func_catgets=yes"
echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
! echo "configure:3527: checking for socket in -lsocket" >&5
ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
! echo "configure:3535: checking for socket in -lsocket" >&5
ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
cat > conftest.$ac_ext <<EOF
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
cat > conftest.$ac_ext <<EOF
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
! if { (eval echo configure:3546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
eval "ac_cv_lib_$ac_lib_var=yes"
! if { (eval echo configure:3554: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
eval "ac_cv_lib_$ac_lib_var=yes"
echo $ac_n "checking for inet_ntoa in -lnsl""... $ac_c" 1>&6
! echo "configure:3574: checking for inet_ntoa in -lnsl" >&5
ac_lib_var=`echo nsl'_'inet_ntoa | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
echo $ac_n "checking for inet_ntoa in -lnsl""... $ac_c" 1>&6
! echo "configure:3582: checking for inet_ntoa in -lnsl" >&5
ac_lib_var=`echo nsl'_'inet_ntoa | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
cat > conftest.$ac_ext <<EOF
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
cat > conftest.$ac_ext <<EOF
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
! if { (eval echo configure:3593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
eval "ac_cv_lib_$ac_lib_var=yes"
! if { (eval echo configure:3601: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
eval "ac_cv_lib_$ac_lib_var=yes"
echo $ac_n "checking whether to use purify""... $ac_c" 1>&6
! echo "configure:3627: checking whether to use purify" >&5
# Check whether --with-purify or --without-purify was given.
if test "${with_purify+set}" = set; then
echo $ac_n "checking whether to use purify""... $ac_c" 1>&6
! echo "configure:3635: checking whether to use purify" >&5
# Check whether --with-purify or --without-purify was given.
if test "${with_purify+set}" = set; then
# Extract the first word of "purify", so it can be a program name with args.
set dummy purify; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:3644: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_purify_path'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
# Extract the first word of "purify", so it can be a program name with args.
set dummy purify; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:3652: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_purify_path'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
! echo "configure:3721: checking for Cygwin environment" >&5
if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
cat > conftest.$ac_ext <<EOF
echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
! echo "configure:3729: checking for Cygwin environment" >&5
if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
cat > conftest.$ac_ext <<EOF
! if { (eval echo configure:3737: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
! if { (eval echo configure:3745: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
test "$ac_cv_cygwin" = yes && CYGWIN=yes
echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
! echo "configure:3754: checking for mingw32 environment" >&5
if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
cat > conftest.$ac_ext <<EOF
! if { (eval echo configure:3766: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
test "$ac_cv_cygwin" = yes && CYGWIN=yes
echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
! echo "configure:3762: checking for mingw32 environment" >&5
if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
cat > conftest.$ac_ext <<EOF
! if { (eval echo configure:3774: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
echo $ac_n "checking build system type""... $ac_c" 1>&6
! echo "configure:3852: checking build system type" >&5
echo $ac_n "checking build system type""... $ac_c" 1>&6
! echo "configure:3860: checking build system type" >&5
if test "$GCC" = yes; then
# Check if gcc -print-prog-name=ld gives a path.
echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
! echo "configure:3881: checking for ld used by GCC" >&5
# gcc leaves a trailing carriage return which upsets mingw
if test "$GCC" = yes; then
# Check if gcc -print-prog-name=ld gives a path.
echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
! echo "configure:3889: checking for ld used by GCC" >&5
# gcc leaves a trailing carriage return which upsets mingw
elif test "$with_gnu_ld" = yes; then
echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
! echo "configure:3911: checking for GNU ld" >&5
echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
! echo "configure:3914: checking for non-GNU ld" >&5
if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
elif test "$with_gnu_ld" = yes; then
echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
! echo "configure:3919: checking for GNU ld" >&5
echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
! echo "configure:3922: checking for non-GNU ld" >&5
if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
! echo "configure:3949: checking if the linker ($LD) is GNU ld" >&5
if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
! echo "configure:3957: checking if the linker ($LD) is GNU ld" >&5
if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
! echo "configure:3966: checking for $LD option to reload object files" >&5
if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
! echo "configure:3974: checking for $LD option to reload object files" >&5
if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
test -n "$reload_flag" && reload_flag=" $reload_flag"
echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
! echo "configure:3978: checking for BSD-compatible nm" >&5
if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
test -n "$reload_flag" && reload_flag=" $reload_flag"
echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
! echo "configure:3986: checking for BSD-compatible nm" >&5
if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
! echo "configure:4016: checking whether ln -s works" >&5
if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
! echo "configure:4024: checking whether ln -s works" >&5
if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
! echo "configure:4037: checking how to recognise dependant libraries" >&5
if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
! echo "configure:4045: checking how to recognise dependant libraries" >&5
if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
deplibs_check_method=$lt_cv_deplibs_check_method
echo $ac_n "checking for object suffix""... $ac_c" 1>&6
! echo "configure:4210: checking for object suffix" >&5
if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
echo 'int i = 1;' > conftest.$ac_ext
! if { (eval echo configure:4216: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
for ac_file in conftest.*; do
deplibs_check_method=$lt_cv_deplibs_check_method
echo $ac_n "checking for object suffix""... $ac_c" 1>&6
! echo "configure:4218: checking for object suffix" >&5
if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
echo 'int i = 1;' > conftest.$ac_ext
! if { (eval echo configure:4224: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
for ac_file in conftest.*; do
echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
! echo "configure:4236: checking for executable suffix" >&5
if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
! echo "configure:4244: checking for executable suffix" >&5
if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
echo 'int main () { return 0; }' > conftest.$ac_ext
! if { (eval echo configure:4246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
for file in conftest.*; do
*) ac_cv_exeext=`echo $file | sed -e
s/conftest//` ;;
echo 'int main () { return 0; }' > conftest.$ac_ext
! if { (eval echo configure:4254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
for file in conftest.*; do
! *.c | *.C | *.o | *.obj) ;;
*) ac_cv_exeext=`echo $file | sed -e
s/conftest//` ;;
# Check for command to grab the raw symbol name followed by C symbol from nm.
echo $ac_n "checking command to parse $NM output""... $ac_c" 1>&6
! echo "configure:4277: checking command to parse $NM output" >&5
if eval "test \"`echo '$''{'lt_cv_sys_global_symbol_pipe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
# Check for command to grab the raw symbol name followed by C symbol from nm.
echo $ac_n "checking command to parse $NM output""... $ac_c" 1>&6
! echo "configure:4285: checking command to parse $NM output" >&5
if eval "test \"`echo '$''{'lt_cv_sys_global_symbol_pipe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
int main(){nm_test_var='a';nm_test_func();return(0);}
! if { (eval echo configure:4353: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
# Now try to grab the symbols.
! if { (eval echo configure:4356: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\") 1>&5; (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5; } && test -s "$nlist"; then
# Try sorting and uniquifying the output.
if sort "$nlist" | uniq > "$nlist"T; then
int main(){nm_test_var='a';nm_test_func();return(0);}
! if { (eval echo configure:4361: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
# Now try to grab the symbols.
! if { (eval echo configure:4364: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\") 1>&5; (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5; } && test -s "$nlist"; then
# Try sorting and uniquifying the output.
if sort "$nlist" | uniq > "$nlist"T; then
LIBS="conftstm.$ac_objext"
CFLAGS="$CFLAGS$no_builtin_flag"
! if { (eval echo configure:4407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
LIBS="conftstm.$ac_objext"
CFLAGS="$CFLAGS$no_builtin_flag"
! if { (eval echo configure:4415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:4453: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
cat > conftest.$ac_ext <<EOF
! { (eval echo configure:4463: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+'
conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:4461: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
cat > conftest.$ac_ext <<EOF
! { (eval echo configure:4471: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+'
conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
if test "$file_magic_cmd" = '$MAGIC_CMD'; then
echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
! echo "configure:4498: checking for ${ac_tool_prefix}file" >&5
if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
if test "$file_magic_cmd" = '$MAGIC_CMD'; then
echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
! echo "configure:4506: checking for ${ac_tool_prefix}file" >&5
if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
if test -z "$lt_cv_path_MAGIC_CMD"; then
if test -n "$ac_tool_prefix"; then
echo $ac_n "checking for file""... $ac_c" 1>&6
! echo "configure:4560: checking for file" >&5
if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
if test -z "$lt_cv_path_MAGIC_CMD"; then
if test -n "$ac_tool_prefix"; then
echo $ac_n "checking for file""... $ac_c" 1>&6
! echo "configure:4568: checking for file" >&5
if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:4631: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:4639: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
# Extract the first word of "ranlib", so it can be a program name with args.
set dummy ranlib; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:4663: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
# Extract the first word of "ranlib", so it can be a program name with args.
set dummy ranlib; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:4671: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
set dummy ${ac_tool_prefix}strip; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:4698: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
set dummy ${ac_tool_prefix}strip; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:4706: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
# Extract the first word of "strip", so it can be a program name with args.
set dummy strip; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:4730: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
# Extract the first word of "strip", so it can be a program name with args.
set dummy strip; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:4738: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
# Find out which ABI we are using.
! echo '#line 4779 "configure"' > conftest.$ac_ext
! if { (eval echo configure:4780: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
# Find out which ABI we are using.
! echo '#line 4787 "configure"' > conftest.$ac_ext
! if { (eval echo configure:4788: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
! echo "configure:4801: checking whether the C compiler needs -belf" >&5
if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
! echo "configure:4809: checking whether the C compiler needs -belf" >&5
if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
cross_compiling=$ac_cv_prog_cc_cross
cat > conftest.$ac_ext <<EOF
! if { (eval echo configure:4821: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
cross_compiling=$ac_cv_prog_cc_cross
cat > conftest.$ac_ext <<EOF
! if { (eval echo configure:4829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
## FIXME: this should be a separate macro
echo $ac_n "checking for objdir""... $ac_c" 1>&6
! echo "configure:4936: checking for objdir" >&5
## FIXME: this should be a separate macro
echo $ac_n "checking for objdir""... $ac_c" 1>&6
! echo "configure:4944: checking for objdir" >&5
# in isolation, and that seeing it set (from the cache) indicates that
# the associated values are set (in the cache) correctly too.
echo $ac_n "checking for $compiler option to produce PIC""... $ac_c" 1>&6
! echo "configure:4967: checking for $compiler option to produce PIC" >&5
if eval "test \"`echo '$''{'lt_cv_prog_cc_pic'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
# in isolation, and that seeing it set (from the cache) indicates that
# the associated values are set (in the cache) correctly too.
echo $ac_n "checking for $compiler option to produce PIC""... $ac_c" 1>&6
! echo "configure:4975: checking for $compiler option to produce PIC" >&5
if eval "test \"`echo '$''{'lt_cv_prog_cc_pic'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
# Check to make sure the pic_flag actually works.
echo $ac_n "checking if $compiler PIC flag $lt_cv_prog_cc_pic works""... $ac_c" 1>&6
! echo "configure:5119: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5
if eval "test \"`echo '$''{'lt_cv_prog_cc_pic_works'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC"
cat > conftest.$ac_ext <<EOF
! if { (eval echo configure:5133: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
hpux9* | hpux10* | hpux11*)
# Check to make sure the pic_flag actually works.
echo $ac_n "checking if $compiler PIC flag $lt_cv_prog_cc_pic works""... $ac_c" 1>&6
! echo "configure:5127: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5
if eval "test \"`echo '$''{'lt_cv_prog_cc_pic_works'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC"
cat > conftest.$ac_ext <<EOF
! if { (eval echo configure:5141: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
hpux9* | hpux10* | hpux11*)
## FIXME: this should be a separate macro
echo $ac_n "checking if $compiler static flag $lt_cv_prog_cc_static works""... $ac_c" 1>&6
! echo "configure:5189: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5
if eval "test \"`echo '$''{'lt_cv_prog_cc_static_works'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
## FIXME: this should be a separate macro
echo $ac_n "checking if $compiler static flag $lt_cv_prog_cc_static works""... $ac_c" 1>&6
! echo "configure:5197: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5
if eval "test \"`echo '$''{'lt_cv_prog_cc_static_works'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static"
cat > conftest.$ac_ext <<EOF
! if { (eval echo configure:5204: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
lt_cv_prog_cc_static_works=yes
LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static"
cat > conftest.$ac_ext <<EOF
! if { (eval echo configure:5212: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
lt_cv_prog_cc_static_works=yes
# Check to see if options -o and -c are simultaneously supported by compiler
echo $ac_n "checking if $compiler supports -c -o file.$ac_objext""... $ac_c" 1>&6
! echo "configure:5235: checking if $compiler supports -c -o file.$ac_objext" >&5
if eval "test \"`echo '$''{'lt_cv_compiler_c_o'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
# Check to see if options -o and -c are simultaneously supported by compiler
echo $ac_n "checking if $compiler supports -c -o file.$ac_objext""... $ac_c" 1>&6
! echo "configure:5243: checking if $compiler supports -c -o file.$ac_objext" >&5
if eval "test \"`echo '$''{'lt_cv_compiler_c_o'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
if test x"$compiler_c_o" = x"yes"; then
# Check to see if we can write to a .lo
echo $ac_n "checking if $compiler supports -c -o
file.lo""... $ac_c" 1>&6
! echo "configure:5283: checking if $compiler supports -c -o
file.lo" >&5
if eval "test \"`echo '$''{'lt_cv_compiler_o_lo'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
if test x"$compiler_c_o" = x"yes"; then
# Check to see if we can write to a .lo
echo $ac_n "checking if $compiler supports -c -o
file.lo""... $ac_c" 1>&6
! echo "configure:5291: checking if $compiler supports -c -o
file.lo" >&5
if eval "test \"`echo '$''{'lt_cv_compiler_o_lo'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
cat > conftest.$ac_ext <<EOF
! if { (eval echo configure:5299: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
cat > conftest.$ac_ext <<EOF
! if { (eval echo configure:5307: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
if test "$compiler_c_o" = no && test "$need_locks" != no; then
# do not overwrite the value of need_locks provided by the user
echo $ac_n "checking if we can lock with hard links""... $ac_c" 1>&6
! echo "configure:5333: checking if we can lock with hard links" >&5
if test "$compiler_c_o" = no && test "$need_locks" != no; then
# do not overwrite the value of need_locks provided by the user
echo $ac_n "checking if we can lock with hard links""... $ac_c" 1>&6
! echo "configure:5341: checking if we can lock with hard links" >&5
if test "$GCC" = yes; then
# Check to see if options -fno-rtti -fno-exceptions are supported by compiler
echo $ac_n "checking if $compiler supports -fno-rtti -fno-exceptions""... $ac_c" 1>&6
! echo "configure:5356: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
echo "int some_variable = 0;" > conftest.$ac_ext
CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext"
compiler_rtti_exceptions=no
cat > conftest.$ac_ext <<EOF
! if { (eval echo configure:5369: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
if test "$GCC" = yes; then
# Check to see if options -fno-rtti -fno-exceptions are supported by compiler
echo $ac_n "checking if $compiler supports -fno-rtti -fno-exceptions""... $ac_c" 1>&6
! echo "configure:5364: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
echo "int some_variable = 0;" > conftest.$ac_ext
CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext"
compiler_rtti_exceptions=no
cat > conftest.$ac_ext <<EOF
! if { (eval echo configure:5377: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
# See if the linker supports building shared libraries.
echo $ac_n "checking whether the linker ($LD) supports shared libraries""... $ac_c" 1>&6
! echo "configure:5400: checking whether the linker ($LD) supports shared libraries" >&5
# See if the linker supports building shared libraries.
echo $ac_n "checking whether the linker ($LD) supports shared libraries""... $ac_c" 1>&6
! echo "configure:5408: checking whether the linker ($LD) supports shared libraries" >&5
# Check hardcoding attributes.
echo $ac_n "checking how to hardcode library paths into programs""... $ac_c" 1>&6
! echo "configure:6020: checking how to hardcode library paths into programs" >&5
if test -n "$hardcode_libdir_flag_spec" || \
test -n "$runpath_var"; then
# Check hardcoding attributes.
echo $ac_n "checking how to hardcode library paths into programs""... $ac_c" 1>&6
! echo "configure:6028: checking how to hardcode library paths into programs" >&5
if test -n "$hardcode_libdir_flag_spec" || \
test -n "$runpath_var"; then
echo $ac_n "checking whether stripping libraries is possible""... $ac_c" 1>&6
! echo "configure:6052: checking whether stripping libraries is possible" >&5
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >
/dev/null; then
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
echo $ac_n "checking whether stripping libraries is possible""... $ac_c" 1>&6
! echo "configure:6060: checking whether stripping libraries is possible" >&5
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >
/dev/null; then
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
# PORTME Fill in your
ld.so characteristics
echo $ac_n "checking dynamic linker characteristics""... $ac_c" 1>&6
! echo "configure:6070: checking dynamic linker characteristics" >&5
# PORTME Fill in your
ld.so characteristics
echo $ac_n "checking dynamic linker characteristics""... $ac_c" 1>&6
! echo "configure:6078: checking dynamic linker characteristics" >&5
# Report the final consequences.
echo $ac_n "checking if libtool supports shared libraries""... $ac_c" 1>&6
! echo "configure:6460: checking if libtool supports shared libraries" >&5
echo "$ac_t""$can_build_shared" 1>&6
# Report the final consequences.
echo $ac_n "checking if libtool supports shared libraries""... $ac_c" 1>&6
! echo "configure:6468: checking if libtool supports shared libraries" >&5
echo "$ac_t""$can_build_shared" 1>&6
echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
! echo "configure:6501: checking for dlopen in -ldl" >&5
ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
! echo "configure:6509: checking for dlopen in -ldl" >&5
ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
cat > conftest.$ac_ext <<EOF
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
cat > conftest.$ac_ext <<EOF
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
! if { (eval echo configure:6520: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
eval "ac_cv_lib_$ac_lib_var=yes"
! if { (eval echo configure:6528: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
eval "ac_cv_lib_$ac_lib_var=yes"
echo $ac_n "checking for dlopen""... $ac_c" 1>&6
! echo "configure:6539: checking for dlopen" >&5
if eval "test \"`echo '$''{'ac_cv_func_dlopen'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
cat > conftest.$ac_ext <<EOF
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char dlopen(); below. */
echo $ac_n "checking for dlopen""... $ac_c" 1>&6
! echo "configure:6547: checking for dlopen" >&5
if eval "test \"`echo '$''{'ac_cv_func_dlopen'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
cat > conftest.$ac_ext <<EOF
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char dlopen(); below. */
! if { (eval echo configure:6567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
eval "ac_cv_func_dlopen=yes"
! if { (eval echo configure:6575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
eval "ac_cv_func_dlopen=yes"
echo $ac_n "checking for shl_load""... $ac_c" 1>&6
! echo "configure:6585: checking for shl_load" >&5
if eval "test \"`echo '$''{'ac_cv_func_shl_load'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
cat > conftest.$ac_ext <<EOF
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char shl_load(); below. */
echo $ac_n "checking for shl_load""... $ac_c" 1>&6
! echo "configure:6593: checking for shl_load" >&5
if eval "test \"`echo '$''{'ac_cv_func_shl_load'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
cat > conftest.$ac_ext <<EOF
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char shl_load(); below. */
! if { (eval echo configure:6613: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
eval "ac_cv_func_shl_load=yes"
! if { (eval echo configure:6621: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
eval "ac_cv_func_shl_load=yes"
echo $ac_n "checking for dlopen in -lsvld""... $ac_c" 1>&6
! echo "configure:6631: checking for dlopen in -lsvld" >&5
ac_lib_var=`echo svld'_'dlopen | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
echo $ac_n "checking for dlopen in -lsvld""... $ac_c" 1>&6
! echo "configure:6639: checking for dlopen in -lsvld" >&5
ac_lib_var=`echo svld'_'dlopen | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
cat > conftest.$ac_ext <<EOF
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
cat > conftest.$ac_ext <<EOF
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
! if { (eval echo configure:6650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
eval "ac_cv_lib_$ac_lib_var=yes"
! if { (eval echo configure:6658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
eval "ac_cv_lib_$ac_lib_var=yes"
echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6
! echo "configure:6669: checking for shl_load in -ldld" >&5
ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6
! echo "configure:6677: checking for shl_load in -ldld" >&5
ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
cat > conftest.$ac_ext <<EOF
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
cat > conftest.$ac_ext <<EOF
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
! if { (eval echo configure:6688: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
eval "ac_cv_lib_$ac_lib_var=yes"
! if { (eval echo configure:6696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
eval "ac_cv_lib_$ac_lib_var=yes"
LIBS="$lt_cv_dlopen_libs $LIBS"
echo $ac_n "checking whether a program can dlopen itself""... $ac_c" 1>&6
! echo "configure:6741: checking whether a program can dlopen itself" >&5
if eval "test \"`echo '$''{'lt_cv_dlopen_self'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
LIBS="$lt_cv_dlopen_libs $LIBS"
echo $ac_n "checking whether a program can dlopen itself""... $ac_c" 1>&6
! echo "configure:6749: checking whether a program can dlopen itself" >&5
if eval "test \"`echo '$''{'lt_cv_dlopen_self'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
cat > conftest.$ac_ext <<EOF
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
cat > conftest.$ac_ext <<EOF
! if { (eval echo configure:6812: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} 2>
/dev/null; then
! if { (eval echo configure:6820: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} 2>
/dev/null; then
if test "x$lt_cv_dlopen_self" = xyes; then
LDFLAGS="$LDFLAGS $link_static_flag"
echo $ac_n "checking whether a statically linked program can dlopen itself""... $ac_c" 1>&6
! echo "configure:6835: checking whether a statically linked program can dlopen itself" >&5
if eval "test \"`echo '$''{'lt_cv_dlopen_self_static'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
if test "x$lt_cv_dlopen_self" = xyes; then
LDFLAGS="$LDFLAGS $link_static_flag"
echo $ac_n "checking whether a statically linked program can dlopen itself""... $ac_c" 1>&6
! echo "configure:6843: checking whether a statically linked program can dlopen itself" >&5
if eval "test \"`echo '$''{'lt_cv_dlopen_self_static'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
cat > conftest.$ac_ext <<EOF
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
cat > conftest.$ac_ext <<EOF
! if { (eval echo configure:6906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} 2>
/dev/null; then
! if { (eval echo configure:6914: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} 2>
/dev/null; then
# systems, -lgcc has to come before -lc. If gcc already passes -lc
# to ld, don't add -lc before -lgcc.
echo $ac_n "checking whether -lc should be explicitly linked in""... $ac_c" 1>&6
! echo "configure:6957: checking whether -lc should be explicitly linked in" >&5
if eval "test \"`echo '$''{'lt_cv_archive_cmds_need_lc'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
echo 'static int dummy;' > conftest.$ac_ext
! if { (eval echo configure:6964: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
libobjs=conftest.$ac_objext
# systems, -lgcc has to come before -lc. If gcc already passes -lc
# to ld, don't add -lc before -lgcc.
echo $ac_n "checking whether -lc should be explicitly linked in""... $ac_c" 1>&6
! echo "configure:6965: checking whether -lc should be explicitly linked in" >&5
if eval "test \"`echo '$''{'lt_cv_archive_cmds_need_lc'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
echo 'static int dummy;' > conftest.$ac_ext
! if { (eval echo configure:6972: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
libobjs=conftest.$ac_objext
save_allow_undefined_flag=$allow_undefined_flag
! if { (eval echo configure:6977: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>
/dev/null 2\>\&1\") 1>&5; (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>
/dev/null 2\>\&1) 2>&5; }
lt_cv_archive_cmds_need_lc=no
save_allow_undefined_flag=$allow_undefined_flag
! if { (eval echo configure:6985: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>
/dev/null 2\>\&1\") 1>&5; (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>
/dev/null 2\>\&1) 2>&5; }
lt_cv_archive_cmds_need_lc=no
# the right suffix on the files.
echo $ac_n "checking for IPv6 structures""... $ac_c" 1>&6
! echo "configure:7634: checking for IPv6 structures" >&5
cat > conftest.$ac_ext <<EOF
# the right suffix on the files.
echo $ac_n "checking for IPv6 structures""... $ac_c" 1>&6
! echo "configure:7642: checking for IPv6 structures" >&5
cat > conftest.$ac_ext <<EOF
struct sockaddr_in6 sin6; return (0);
! if { (eval echo configure:7646: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
struct sockaddr_in6 sin6; return (0);
! if { (eval echo configure:7654: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
# This is done before other IPv6 linking tests to LIBS is properly set.
echo $ac_n "checking for Kame IPv6 support""... $ac_c" 1>&6
! echo "configure:7664: checking for Kame IPv6 support" >&5
# Check whether --with-kame or --without-kame was given.
if test "${with_kame+set}" = set; then
# This is done before other IPv6 linking tests to LIBS is properly set.
echo $ac_n "checking for Kame IPv6 support""... $ac_c" 1>&6
! echo "configure:7672: checking for Kame IPv6 support" >&5
# Check whether --with-kame or --without-kame was given.
if test "${with_kame+set}" = set; then
LWRES_PLATFORM_HAVEIPV6="#define LWRES_PLATFORM_HAVEIPV6 1"
echo $ac_n "checking for in6_addr""... $ac_c" 1>&6
! echo "configure:7755: checking for in6_addr" >&5
cat > conftest.$ac_ext <<EOF
LWRES_PLATFORM_HAVEIPV6="#define LWRES_PLATFORM_HAVEIPV6 1"
echo $ac_n "checking for in6_addr""... $ac_c" 1>&6
! echo "configure:7763: checking for in6_addr" >&5
cat > conftest.$ac_ext <<EOF
struct in6_addr in6; return (0);
! if { (eval echo configure:7770: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
ISC_PLATFORM_HAVEINADDR6="#undef ISC_PLATFORM_HAVEINADDR6"
struct in6_addr in6; return (0);
! if { (eval echo configure:7778: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
ISC_PLATFORM_HAVEINADDR6="#undef ISC_PLATFORM_HAVEINADDR6"
echo $ac_n "checking for in6addr_any""... $ac_c" 1>&6
! echo "configure:7788: checking for in6addr_any" >&5
cat > conftest.$ac_ext <<EOF
echo $ac_n "checking for in6addr_any""... $ac_c" 1>&6
! echo "configure:7796: checking for in6addr_any" >&5
cat > conftest.$ac_ext <<EOF
struct in6_addr in6; in6 = in6addr_any; return (
in6.s6_addr[0]);
! if { (eval echo configure:7804: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
ISC_PLATFORM_NEEDIN6ADDRANY="#undef ISC_PLATFORM_NEEDIN6ADDRANY"
struct in6_addr in6; in6 = in6addr_any; return (
in6.s6_addr[0]);
! if { (eval echo configure:7812: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
ISC_PLATFORM_NEEDIN6ADDRANY="#undef ISC_PLATFORM_NEEDIN6ADDRANY"
echo $ac_n "checking for in6addr_loopback""... $ac_c" 1>&6
! echo "configure:7820: checking for in6addr_loopback" >&5
cat > conftest.$ac_ext <<EOF
echo $ac_n "checking for in6addr_loopback""... $ac_c" 1>&6
! echo "configure:7828: checking for in6addr_loopback" >&5
cat > conftest.$ac_ext <<EOF
struct in6_addr in6; in6 = in6addr_loopback; return (
in6.s6_addr[0]);
! if { (eval echo configure:7836: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
ISC_PLATFORM_NEEDIN6ADDRLOOPBACK="#undef ISC_PLATFORM_NEEDIN6ADDRLOOPBACK"
struct in6_addr in6; in6 = in6addr_loopback; return (
in6.s6_addr[0]);
! if { (eval echo configure:7844: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
ISC_PLATFORM_NEEDIN6ADDRLOOPBACK="#undef ISC_PLATFORM_NEEDIN6ADDRLOOPBACK"
echo $ac_n "checking for sin6_scope_id in struct sockaddr_in6""... $ac_c" 1>&6
! echo "configure:7852: checking for sin6_scope_id in struct sockaddr_in6" >&5
cat > conftest.$ac_ext <<EOF
echo $ac_n "checking for sin6_scope_id in struct sockaddr_in6""... $ac_c" 1>&6
! echo "configure:7860: checking for sin6_scope_id in struct sockaddr_in6" >&5
cat > conftest.$ac_ext <<EOF
! if { (eval echo configure:7867: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
result="#define LWRES_HAVE_SIN6_SCOPE_ID 1"
! if { (eval echo configure:7875: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
result="#define LWRES_HAVE_SIN6_SCOPE_ID 1"
LWRES_HAVE_SIN6_SCOPE_ID="$result"
echo $ac_n "checking for in6_pktinfo""... $ac_c" 1>&6
! echo "configure:7882: checking for in6_pktinfo" >&5
cat > conftest.$ac_ext <<EOF
LWRES_HAVE_SIN6_SCOPE_ID="$result"
echo $ac_n "checking for in6_pktinfo""... $ac_c" 1>&6
! echo "configure:7890: checking for in6_pktinfo" >&5
cat > conftest.$ac_ext <<EOF
struct in6_pktinfo xyzzy; return (0);
! if { (eval echo configure:7897: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
ISC_PLATFORM_HAVEIN6PKTINFO="#define ISC_PLATFORM_HAVEIN6PKTINFO 1"
struct in6_pktinfo xyzzy; return (0);
! if { (eval echo configure:7905: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
ISC_PLATFORM_HAVEIN6PKTINFO="#define ISC_PLATFORM_HAVEIN6PKTINFO 1"
echo $ac_n "checking for inet_ntop""... $ac_c" 1>&6
! echo "configure:7952: checking for inet_ntop" >&5
cat > conftest.$ac_ext <<EOF
echo $ac_n "checking for inet_ntop""... $ac_c" 1>&6
! echo "configure:7960: checking for inet_ntop" >&5
cat > conftest.$ac_ext <<EOF
inet_ntop(0, 0, 0, 0); return (0);
! if { (eval echo configure:7964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
ISC_PLATFORM_NEEDNTOP="#undef ISC_PLATFORM_NEEDNTOP"
inet_ntop(0, 0, 0, 0); return (0);
! if { (eval echo configure:7972: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
ISC_PLATFORM_NEEDNTOP="#undef ISC_PLATFORM_NEEDNTOP"
# zeros should also be rejected.
echo $ac_n "checking for inet_pton""... $ac_c" 1>&6
! echo "configure:7985: checking for inet_pton" >&5
if test "$cross_compiling" = yes; then
echo "$ac_t""assuming target platform has working inet_pton" 1>&6
ISC_PLATFORM_NEEDPTON="#undef ISC_PLATFORM_NEEDPTON"
cat > conftest.$ac_ext <<EOF
# zeros should also be rejected.
echo $ac_n "checking for inet_pton""... $ac_c" 1>&6
! echo "configure:7993: checking for inet_pton" >&5
if test "$cross_compiling" = yes; then
echo "$ac_t""assuming target platform has working inet_pton" 1>&6
ISC_PLATFORM_NEEDPTON="#undef ISC_PLATFORM_NEEDPTON"
cat > conftest.$ac_ext <<EOF
main() { char a[4]; return (inet_pton(AF_INET, "1.2.3", a) == 1 ? 1 :
inet_pton(AF_INET, "1.2.3.04", a) == 1 ? 1 : 0); }
! if { (eval echo configure:8001: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>
/dev/null ISC_PLATFORM_NEEDPTON="#undef ISC_PLATFORM_NEEDPTON"
main() { char a[4]; return (inet_pton(AF_INET, "1.2.3", a) == 1 ? 1 :
inet_pton(AF_INET, "1.2.3.04", a) == 1 ? 1 : 0); }
! if { (eval echo configure:8009: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>
/dev/null ISC_PLATFORM_NEEDPTON="#undef ISC_PLATFORM_NEEDPTON"
echo $ac_n "checking for inet_aton""... $ac_c" 1>&6
! echo "configure:8019: checking for inet_aton" >&5
cat > conftest.$ac_ext <<EOF
echo $ac_n "checking for inet_aton""... $ac_c" 1>&6
! echo "configure:8027: checking for inet_aton" >&5
cat > conftest.$ac_ext <<EOF
struct in_addr in; inet_aton(0, &in); return (0);
! if { (eval echo configure:8031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
ISC_PLATFORM_NEEDATON="#undef ISC_PLATFORM_NEEDATON"
struct in_addr in; inet_aton(0, &in); return (0);
! if { (eval echo configure:8039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
ISC_PLATFORM_NEEDATON="#undef ISC_PLATFORM_NEEDATON"
echo $ac_n "checking for sa_len in struct sockaddr""... $ac_c" 1>&6
! echo "configure:8064: checking for sa_len in struct sockaddr" >&5
cat > conftest.$ac_ext <<EOF
echo $ac_n "checking for sa_len in struct sockaddr""... $ac_c" 1>&6
! echo "configure:8072: checking for sa_len in struct sockaddr" >&5
cat > conftest.$ac_ext <<EOF
struct sockaddr sa;
sa.sa_len = 0; return (0);
! if { (eval echo configure:8075: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
ISC_PLATFORM_HAVESALEN="#define ISC_PLATFORM_HAVESALEN 1"
struct sockaddr sa;
sa.sa_len = 0; return (0);
! if { (eval echo configure:8083: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
ISC_PLATFORM_HAVESALEN="#define ISC_PLATFORM_HAVESALEN 1"
# Look for a 4.4BSD or 4.3BSD struct msghdr
echo $ac_n "checking for struct msghdr flavor""... $ac_c" 1>&6
! echo "configure:8096: checking for struct msghdr flavor" >&5
cat > conftest.$ac_ext <<EOF
# Look for a 4.4BSD or 4.3BSD struct msghdr
echo $ac_n "checking for struct msghdr flavor""... $ac_c" 1>&6
! echo "configure:8104: checking for struct msghdr flavor" >&5
cat > conftest.$ac_ext <<EOF
! if { (eval echo configure:8107: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
echo "$ac_t""4.4BSD" 1>&6
ISC_PLATFORM_MSGHDRFLAVOR="#define ISC_NET_BSD44MSGHDR 1"
! if { (eval echo configure:8115: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
echo "$ac_t""4.4BSD" 1>&6
ISC_PLATFORM_MSGHDRFLAVOR="#define ISC_NET_BSD44MSGHDR 1"
echo $ac_n "checking for type in_port_t""... $ac_c" 1>&6
! echo "configure:8125: checking for type in_port_t" >&5
cat > conftest.$ac_ext <<EOF
echo $ac_n "checking for type in_port_t""... $ac_c" 1>&6
! echo "configure:8133: checking for type in_port_t" >&5
cat > conftest.$ac_ext <<EOF
in_port_t port = 25; return (0);
! if { (eval echo configure:8136: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
ISC_PLATFORM_NEEDPORTT="#undef ISC_PLATFORM_NEEDPORTT"
in_port_t port = 25; return (0);
! if { (eval echo configure:8144: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
ISC_PLATFORM_NEEDPORTT="#undef ISC_PLATFORM_NEEDPORTT"
echo $ac_n "checking for struct addrinfo""... $ac_c" 1>&6
! echo "configure:8154: checking for struct addrinfo" >&5
cat > conftest.$ac_ext <<EOF
echo $ac_n "checking for struct addrinfo""... $ac_c" 1>&6
! echo "configure:8162: checking for struct addrinfo" >&5
cat > conftest.$ac_ext <<EOF
struct addrinfo a; return (0);
! if { (eval echo configure:8164: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
ISC_LWRES_NEEDADDRINFO="#undef ISC_LWRES_NEEDADDRINFO"
struct addrinfo a; return (0);
! if { (eval echo configure:8172: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
ISC_LWRES_NEEDADDRINFO="#undef ISC_LWRES_NEEDADDRINFO"
echo $ac_n "checking for struct rrsetinfo""... $ac_c" 1>&6
! echo "configure:8186: checking for struct rrsetinfo" >&5
cat > conftest.$ac_ext <<EOF
echo $ac_n "checking for struct rrsetinfo""... $ac_c" 1>&6
! echo "configure:8194: checking for struct rrsetinfo" >&5
cat > conftest.$ac_ext <<EOF
struct rrsetinfo r; return (0);
! if { (eval echo configure:8196: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
ISC_LWRES_NEEDRRSETINFO="#undef ISC_LWRES_NEEDRRSETINFO"
struct rrsetinfo r; return (0);
! if { (eval echo configure:8204: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
ISC_LWRES_NEEDRRSETINFO="#undef ISC_LWRES_NEEDRRSETINFO"
echo $ac_n "checking for int sethostent""... $ac_c" 1>&6
! echo "configure:8211: checking for int sethostent" >&5
cat > conftest.$ac_ext <<EOF
echo $ac_n "checking for int sethostent""... $ac_c" 1>&6
! echo "configure:8219: checking for int sethostent" >&5
cat > conftest.$ac_ext <<EOF
int i = sethostent(0); return(0);
! if { (eval echo configure:8221: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
ISC_LWRES_SETHOSTENTINT="#define ISC_LWRES_SETHOSTENTINT 1"
int i = sethostent(0); return(0);
! if { (eval echo configure:8229: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
ISC_LWRES_SETHOSTENTINT="#define ISC_LWRES_SETHOSTENTINT 1"
echo $ac_n "checking for int endhostent""... $ac_c" 1>&6
! echo "configure:8236: checking for int endhostent" >&5
cat > conftest.$ac_ext <<EOF
echo $ac_n "checking for int endhostent""... $ac_c" 1>&6
! echo "configure:8244: checking for int endhostent" >&5
cat > conftest.$ac_ext <<EOF
int i = endhostent(); return(0);
! if { (eval echo configure:8246: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
ISC_LWRES_ENDHOSTENTINT="#define ISC_LWRES_ENDHOSTENTINT 1"
int i = endhostent(); return(0);
! if { (eval echo configure:8254: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
ISC_LWRES_ENDHOSTENTINT="#define ISC_LWRES_ENDHOSTENTINT 1"
echo $ac_n "checking for getnetbyaddr(in_addr_t, ...)""... $ac_c" 1>&6
! echo "configure:8261: checking for getnetbyaddr(in_addr_t, ...)" >&5
cat > conftest.$ac_ext <<EOF
echo $ac_n "checking for getnetbyaddr(in_addr_t, ...)""... $ac_c" 1>&6
! echo "configure:8269: checking for getnetbyaddr(in_addr_t, ...)" >&5
cat > conftest.$ac_ext <<EOF
! if { (eval echo configure:8272: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
ISC_LWRES_GETNETBYADDRINADDR="#define ISC_LWRES_GETNETBYADDRINADDR 1"
! if { (eval echo configure:8280: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
ISC_LWRES_GETNETBYADDRINADDR="#define ISC_LWRES_GETNETBYADDRINADDR 1"
echo $ac_n "checking for int setnetent""... $ac_c" 1>&6
! echo "configure:8287: checking for int setnetent" >&5
cat > conftest.$ac_ext <<EOF
echo $ac_n "checking for int setnetent""... $ac_c" 1>&6
! echo "configure:8295: checking for int setnetent" >&5
cat > conftest.$ac_ext <<EOF
int i = setnetent(0); return(0);
! if { (eval echo configure:8297: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
ISC_LWRES_SETNETENTINT="#define ISC_LWRES_SETNETENTINT 1"
int i = setnetent(0); return(0);
! if { (eval echo configure:8305: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
ISC_LWRES_SETNETENTINT="#define ISC_LWRES_SETNETENTINT 1"
echo $ac_n "checking for int endnetent""... $ac_c" 1>&6
! echo "configure:8312: checking for int endnetent" >&5
cat > conftest.$ac_ext <<EOF
echo $ac_n "checking for int endnetent""... $ac_c" 1>&6
! echo "configure:8320: checking for int endnetent" >&5
cat > conftest.$ac_ext <<EOF
int i = endnetent(); return(0);
! if { (eval echo configure:8322: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
ISC_LWRES_ENDNETENTINT="#define ISC_LWRES_ENDNETENTINT 1"
int i = endnetent(); return(0);
! if { (eval echo configure:8330: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
ISC_LWRES_ENDNETENTINT="#define ISC_LWRES_ENDNETENTINT 1"
echo $ac_n "checking for gethostbyaddr(const void *, size_t, ...)""... $ac_c" 1>&6
! echo "configure:8337: checking for gethostbyaddr(const void *, size_t, ...)" >&5
cat > conftest.$ac_ext <<EOF
echo $ac_n "checking for gethostbyaddr(const void *, size_t, ...)""... $ac_c" 1>&6
! echo "configure:8345: checking for gethostbyaddr(const void *, size_t, ...)" >&5
cat > conftest.$ac_ext <<EOF
! if { (eval echo configure:8348: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
ISC_LWRES_GETHOSTBYADDRVOID="#define ISC_LWRES_GETHOSTBYADDRVOID 1"
! if { (eval echo configure:8356: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
ISC_LWRES_GETHOSTBYADDRVOID="#define ISC_LWRES_GETHOSTBYADDRVOID 1"
echo $ac_n "checking for h_errno in
netdb.h""... $ac_c" 1>&6
! echo "configure:8363: checking for h_errno in
netdb.h" >&5
cat > conftest.$ac_ext <<EOF
echo $ac_n "checking for h_errno in
netdb.h""... $ac_c" 1>&6
! echo "configure:8371: checking for h_errno in
netdb.h" >&5
cat > conftest.$ac_ext <<EOF
! if { (eval echo configure:8373: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
ISC_LWRES_NEEDHERRNO="#undef ISC_LWRES_NEEDHERRNO"
! if { (eval echo configure:8381: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
ISC_LWRES_NEEDHERRNO="#undef ISC_LWRES_NEEDHERRNO"
echo $ac_n "checking for getipnodebyname""... $ac_c" 1>&6
! echo "configure:8388: checking for getipnodebyname" >&5
if eval "test \"`echo '$''{'ac_cv_func_getipnodebyname'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
cat > conftest.$ac_ext <<EOF
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char getipnodebyname(); below. */
echo $ac_n "checking for getipnodebyname""... $ac_c" 1>&6
! echo "configure:8396: checking for getipnodebyname" >&5
if eval "test \"`echo '$''{'ac_cv_func_getipnodebyname'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
cat > conftest.$ac_ext <<EOF
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char getipnodebyname(); below. */
! if { (eval echo configure:8416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
eval "ac_cv_func_getipnodebyname=yes"
! if { (eval echo configure:8424: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
eval "ac_cv_func_getipnodebyname=yes"
echo $ac_n "checking for getnameinfo""... $ac_c" 1>&6
! echo "configure:8437: checking for getnameinfo" >&5
if eval "test \"`echo '$''{'ac_cv_func_getnameinfo'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
cat > conftest.$ac_ext <<EOF
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char getnameinfo(); below. */
echo $ac_n "checking for getnameinfo""... $ac_c" 1>&6
! echo "configure:8445: checking for getnameinfo" >&5
if eval "test \"`echo '$''{'ac_cv_func_getnameinfo'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
cat > conftest.$ac_ext <<EOF
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char getnameinfo(); below. */
! if { (eval echo configure:8465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
eval "ac_cv_func_getnameinfo=yes"
! if { (eval echo configure:8473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
eval "ac_cv_func_getnameinfo=yes"
echo $ac_n "checking for getaddrinfo""... $ac_c" 1>&6
! echo "configure:8486: checking for getaddrinfo" >&5
if eval "test \"`echo '$''{'ac_cv_func_getaddrinfo'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
cat > conftest.$ac_ext <<EOF
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char getaddrinfo(); below. */
echo $ac_n "checking for getaddrinfo""... $ac_c" 1>&6
! echo "configure:8494: checking for getaddrinfo" >&5
if eval "test \"`echo '$''{'ac_cv_func_getaddrinfo'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
cat > conftest.$ac_ext <<EOF
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char getaddrinfo(); below. */
! if { (eval echo configure:8514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
eval "ac_cv_func_getaddrinfo=yes"
! if { (eval echo configure:8522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
eval "ac_cv_func_getaddrinfo=yes"
echo $ac_n "checking for gai_strerror""... $ac_c" 1>&6
! echo "configure:8539: checking for gai_strerror" >&5
if eval "test \"`echo '$''{'ac_cv_func_gai_strerror'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
cat > conftest.$ac_ext <<EOF
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char gai_strerror(); below. */
echo $ac_n "checking for gai_strerror""... $ac_c" 1>&6
! echo "configure:8547: checking for gai_strerror" >&5
if eval "test \"`echo '$''{'ac_cv_func_gai_strerror'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
cat > conftest.$ac_ext <<EOF
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char gai_strerror(); below. */
! if { (eval echo configure:8567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
eval "ac_cv_func_gai_strerror=yes"
! if { (eval echo configure:8575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
eval "ac_cv_func_gai_strerror=yes"
# Look for a sysctl call to get the list of network interfaces.
echo $ac_n "checking for interface list sysctl""... $ac_c" 1>&6
! echo "configure:8597: checking for interface list sysctl" >&5
cat > conftest.$ac_ext <<EOF
# Look for a sysctl call to get the list of network interfaces.
echo $ac_n "checking for interface list sysctl""... $ac_c" 1>&6
! echo "configure:8605: checking for interface list sysctl" >&5
cat > conftest.$ac_ext <<EOF
# AC_CHECK_FUNC() incorrectly succeeds because it declares
echo $ac_n "checking for correctly declared strsep()""... $ac_c" 1>&6
! echo "configure:8636: checking for correctly declared strsep()" >&5
cat > conftest.$ac_ext <<EOF
char *sp; char *foo = strsep(&sp, ".");
! if { (eval echo configure:8645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
echo "$ac_t""yes" 1>&6; ISC_PLATFORM_NEEDSTRSEP="#undef ISC_PLATFORM_NEEDSTRSEP"
# AC_CHECK_FUNC() incorrectly succeeds because it declares
echo $ac_n "checking for correctly declared strsep()""... $ac_c" 1>&6
! echo "configure:8644: checking for correctly declared strsep()" >&5
cat > conftest.$ac_ext <<EOF
char *sp; char *foo = strsep(&sp, ".");
! if { (eval echo configure:8653: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
echo "$ac_t""yes" 1>&6; ISC_PLATFORM_NEEDSTRSEP="#undef ISC_PLATFORM_NEEDSTRSEP"
echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
! echo "configure:8657: checking for vsnprintf" >&5
if eval "test \"`echo '$''{'ac_cv_func_vsnprintf'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
cat > conftest.$ac_ext <<EOF
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char vsnprintf(); below. */
echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
! echo "configure:8665: checking for vsnprintf" >&5
if eval "test \"`echo '$''{'ac_cv_func_vsnprintf'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
cat > conftest.$ac_ext <<EOF
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char vsnprintf(); below. */
! if { (eval echo configure:8685: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
eval "ac_cv_func_vsnprintf=yes"
! if { (eval echo configure:8693: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
eval "ac_cv_func_vsnprintf=yes"
echo $ac_n "checking for strerror""... $ac_c" 1>&6
! echo "configure:8710: checking for strerror" >&5
if eval "test \"`echo '$''{'ac_cv_func_strerror'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
cat > conftest.$ac_ext <<EOF
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char strerror(); below. */
echo $ac_n "checking for strerror""... $ac_c" 1>&6
! echo "configure:8718: checking for strerror" >&5
if eval "test \"`echo '$''{'ac_cv_func_strerror'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
cat > conftest.$ac_ext <<EOF
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char strerror(); below. */
! if { (eval echo configure:8738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
eval "ac_cv_func_strerror=yes"
! if { (eval echo configure:8746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
eval "ac_cv_func_strerror=yes"
# but that's defined elsewhere since we don't use configure on Win32.
echo $ac_n "checking printf format modifier for 64-bit integers""... $ac_c" 1>&6
! echo "configure:8772: checking printf format modifier for 64-bit integers" >&5
if test "$cross_compiling" = yes; then
echo "$ac_t""assuming target platform uses ll" 1>&6
ISC_PLATFORM_QUADFORMAT='#define ISC_PLATFORM_QUADFORMAT "ll"'
cat > conftest.$ac_ext <<EOF
main() { exit(!(sizeof(long long int) == sizeof(long int))); }
! if { (eval echo configure:8782: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>
/dev/null ISC_PLATFORM_QUADFORMAT='#define ISC_PLATFORM_QUADFORMAT "l"'
# but that's defined elsewhere since we don't use configure on Win32.
echo $ac_n "checking printf format modifier for 64-bit integers""... $ac_c" 1>&6
! echo "configure:8780: checking printf format modifier for 64-bit integers" >&5
if test "$cross_compiling" = yes; then
echo "$ac_t""assuming target platform uses ll" 1>&6
ISC_PLATFORM_QUADFORMAT='#define ISC_PLATFORM_QUADFORMAT "ll"'
cat > conftest.$ac_ext <<EOF
main() { exit(!(sizeof(long long int) == sizeof(long int))); }
! if { (eval echo configure:8790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>
/dev/null ISC_PLATFORM_QUADFORMAT='#define ISC_PLATFORM_QUADFORMAT "l"'
echo $ac_n "checking for chroot""... $ac_c" 1>&6
! echo "configure:8802: checking for chroot" >&5
if eval "test \"`echo '$''{'ac_cv_func_chroot'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
cat > conftest.$ac_ext <<EOF
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char chroot(); below. */
echo $ac_n "checking for chroot""... $ac_c" 1>&6
! echo "configure:8810: checking for chroot" >&5
if eval "test \"`echo '$''{'ac_cv_func_chroot'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
cat > conftest.$ac_ext <<EOF
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char chroot(); below. */
! if { (eval echo configure:8830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
eval "ac_cv_func_chroot=yes"
! if { (eval echo configure:8838: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
eval "ac_cv_func_chroot=yes"
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:8864: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
cat > conftest.$ac_ext <<EOF
! { (eval echo configure:8874: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+'
conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:8872: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
cat > conftest.$ac_ext <<EOF
! { (eval echo configure:8882: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+'
conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:8908: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
cat > conftest.$ac_ext <<EOF
! { (eval echo configure:8918: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+'
conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
! echo "configure:8916: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
cat > conftest.$ac_ext <<EOF
! { (eval echo configure:8926: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+'
conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
#
BSD/OS, and perhaps some others, don't define rlim_t.
echo $ac_n "checking for type rlim_t""... $ac_c" 1>&6
! echo "configure:8949: checking for type rlim_t" >&5
cat > conftest.$ac_ext <<EOF
#
BSD/OS, and perhaps some others, don't define rlim_t.
echo $ac_n "checking for type rlim_t""... $ac_c" 1>&6
! echo "configure:8957: checking for type rlim_t" >&5
cat > conftest.$ac_ext <<EOF
rlim_t rl = 19671212; return (0);
! if { (eval echo configure:8961: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
ISC_PLATFORM_RLIMITTYPE="#define ISC_PLATFORM_RLIMITTYPE rlim_t"
rlim_t rl = 19671212; return (0);
! if { (eval echo configure:8969: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
ISC_PLATFORM_RLIMITTYPE="#define ISC_PLATFORM_RLIMITTYPE rlim_t"
echo $ac_n "checking type of rlim_cur""... $ac_c" 1>&6
! echo "configure:8972: checking type of rlim_cur" >&5
if test "$cross_compiling" = yes; then
{ echo "configure: error: cannot determine type of rlim_cur when cross compiling - define rlim_t" 1>&2; exit 1; }
cat > conftest.$ac_ext <<EOF
echo $ac_n "checking type of rlim_cur""... $ac_c" 1>&6
! echo "configure:8980: checking type of rlim_cur" >&5
if test "$cross_compiling" = yes; then
{ echo "configure: error: cannot determine type of rlim_cur when cross compiling - define rlim_t" 1>&2; exit 1; }
cat > conftest.$ac_ext <<EOF
main() { struct rlimit r; exit(!(sizeof(
r.rlim_cur) == sizeof(int)));}
! if { (eval echo configure:8985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>
/dev/null ISC_PLATFORM_RLIMITTYPE="#define ISC_PLATFORM_RLIMITTYPE int"
main() { struct rlimit r; exit(!(sizeof(
r.rlim_cur) == sizeof(int)));}
! if { (eval echo configure:8993: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>
/dev/null ISC_PLATFORM_RLIMITTYPE="#define ISC_PLATFORM_RLIMITTYPE int"
{ echo "configure: error: this cannot happen" 1>&2; exit 1; }
cat > conftest.$ac_ext <<EOF
{ echo "configure: error: this cannot happen" 1>&2; exit 1; }
cat > conftest.$ac_ext <<EOF
main() { struct rlimit r; exit(!(sizeof(
r.rlim_cur) == sizeof(long int)));}
! if { (eval echo configure:9006: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>
/dev/null echo "$ac_t""long int" 1>&6
ISC_PLATFORM_RLIMITTYPE="#define ISC_PLATFORM_RLIMITTYPE long int"
main() { struct rlimit r; exit(!(sizeof(
r.rlim_cur) == sizeof(long int)));}
! if { (eval echo configure:9014: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>
/dev/null echo "$ac_t""long int" 1>&6
ISC_PLATFORM_RLIMITTYPE="#define ISC_PLATFORM_RLIMITTYPE long int"
{ echo "configure: error: this cannot happen" 1>&2; exit 1; }
cat > conftest.$ac_ext <<EOF
{ echo "configure: error: this cannot happen" 1>&2; exit 1; }
cat > conftest.$ac_ext <<EOF
main() { struct rlimit r; exit((!sizeof(
r.rlim_cur) == sizeof(long long int)));}
! if { (eval echo configure:9027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>
/dev/null echo "$ac_t""long long int" 1>&6
ISC_PLATFORM_RLIMITTYPE="#define ISC_PLATFORM_RLIMITTYPE long long int"
main() { struct rlimit r; exit((!sizeof(
r.rlim_cur) == sizeof(long long int)));}
! if { (eval echo configure:9035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>
/dev/null echo "$ac_t""long long int" 1>&6
ISC_PLATFORM_RLIMITTYPE="#define ISC_PLATFORM_RLIMITTYPE long long int"
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:9151: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_OPENJADE'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:9159: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_OPENJADE'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:9198: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_JADETEX'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:9206: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_JADETEX'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:9241: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_PDFJADETEX'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
! echo "configure:9249: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_PDFJADETEX'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
echo $ac_n "checking for catalog""... $ac_c" 1>&6
! echo "configure:9297: checking for catalog" >&5
echo $ac_n "checking for catalog""... $ac_c" 1>&6
! echo "configure:9305: checking for catalog" >&5
+ # Check whether --with-idn or --without-idn was given.
+ if test "${with_idn+set}" = set; then
+ if test X$prefix = XNONE ; then
+ # Check whether --with-libiconv or --without-libiconv was given.
+ if test "${with_libiconv+set}" = set; then
+ withval="$with_libiconv"
+ use_libiconv="$withval"
+ case "$use_libiconv" in
+ if test X$prefix = XNONE ; then
+ # Check whether --with-iconv or --without-iconv was given.
+ if test "${with_iconv+set}" = set; then
+ # Check whether --with-idnlib or --without-idnlib was given.
+ if test "${with_idnlib+set}" = set; then
+ if test "$idnlib" = yes; then
+ { echo "configure: error: You must specify ARG for --with-idnlib." 1>&2; exit 1; }
+ if test "$use_idn" != no; then
+ if test "$idnlib" != no; then
+ IDNLIBS="$idnlib $iconvlib"
+ ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
+ echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
+ echo "configure:9537: checking for $ac_hdr" >&5
+ if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+ cat > conftest.$ac_ext <<EOF
+ { (eval echo configure:9547: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+ ac_err=`grep -v '^ *+'
conftest.out | grep -v "^conftest.${ac_ext}\$"`
+ if test -z "$ac_err"; then
+ eval "ac_cv_header_$ac_safe=yes"
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ eval "ac_cv_header_$ac_safe=no"
+ if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
+ ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
+ for ac_func in setlocale
+ echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
+ echo "configure:9576: checking for $ac_func" >&5
+ if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+ cat > conftest.$ac_ext <<EOF
+ /* System header to define __stub macros and hopefully few prototypes,
+ which can conflict with char $ac_func(); below. */
+ /* Override any gcc2 internal prototype to avoid an error. */
+ /* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */
+ /* The GNU C library defines this for functions which it implements
+ to always fail with ENOSYS. Some functions are actually named
+ something starting with __ and the normal name is an alias. */
+ #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
+ if { (eval echo configure:9604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+ eval "ac_cv_func_$ac_func=yes"
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ eval "ac_cv_func_$ac_func=no"
+ if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
+ ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
s%@PRINTSTYLE@%$PRINTSTYLE%g
s%@DOCBOOK2MANSPEC@%$DOCBOOK2MANSPEC%g
s%@BIND9_TOP_BUILDDIR@%$BIND9_TOP_BUILDDIR%g
s%@BIND9_ISC_BUILDINCLUDE@%$BIND9_ISC_BUILDINCLUDE%g
s%@BIND9_ISCCC_BUILDINCLUDE@%$BIND9_ISCCC_BUILDINCLUDE%g
# Split the substitutions into bite-sized pieces for seds with
# small command number limits, like on Digital OSF/1 and HP-UX.
! ac_max_sed_cmds=50 # Maximum number of lines to put in a sed script.
ac_file=1 # Number of current file.
ac_beg=1 # First line for current file.
ac_end=$ac_max_sed_cmds # Line after last line for current file.
# Split the substitutions into bite-sized pieces for seds with
# small command number limits, like on Digital OSF/1 and HP-UX.
! ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
ac_file=1 # Number of current file.
ac_beg=1 # First line for current file.
ac_end=$ac_max_sed_cmds # Line after last line for current file.
+ [ --with-idn[=MPREFIX] enable IDN support using idnkit [default PREFIX]],
+ use_idn="$withval", use_idn="no")
+ if test X$prefix = XNONE ; then
+ [ --with-libiconv[=IPREFIX] GNU libiconv are in IPREFIX [default PREFIX]],
+ use_libiconv="$withval", use_libiconv="no")
+ case "$use_libiconv" in
+ if test X$prefix = XNONE ; then
+ [ --with-iconv[=LIBSPEC] specify iconv library [default -liconv]],
+ [ --with-idnlib=ARG specify libidnkit],
+ idnlib="$withval", idnlib="no")
+ if test "$idnlib" = yes; then
+ AC_MSG_ERROR([You must specify ARG for --with-idnlib.])
+ if test "$use_idn" != no; then
+ AC_DEFINE(WITH_IDN, 1, [define if idnkit support is to be included.])
+ if test "$idnlib" != no; then
+ IDNLIBS="$idnlib $iconvlib"
+ AC_CHECK_FUNCS(setlocale)
AC_SUBST(BIND9_TOP_BUILDDIR)
DEPLIBS = ${DNSDEPLIBS} ${ISCDEPLIBS}
! LIBS = ${DNSLIBS} ${ISCLIBS} @LIBS@
DEPLIBS = ${DNSDEPLIBS} ${ISCDEPLIBS}
! LIBS = ${DNSLIBS} ${ISCLIBS} @IDNLIBS@ @LIBS@
\fI+noqr\fR which means that \fBdig\fR
will not print the initial query when it looks up the NS records for
+ If \fBdig\fR has been built with IDN (internationalized
+ domain name) support, it can accept and display non-ASCII domain names.
+ \fBdig\fR appropriately converts character encoding of
+ domain name before sending a request to DNS server or displaying a
+ If you'd like to turn off the IDN support for some reason, defines
+ the \fBIDN_DISABLE\fR environment variable.
+ The IDN support is disabled if the the variable is set when
+ <title>IDN SUPPORT</title>
+ If <command>dig</command> has been built with IDN (internationalized
+ domain name) support, it can accept and display non-ASCII domain names.
+ <command>dig</command> appropriately converts character encoding of
+ domain name before sending a request to DNS server or displaying a
+ If you'd like to turn off the IDN support for some reason, defines
+ the <envar>IDN_DISABLE</envar> environment variable.
+ The IDN support is disabled if the the variable is set when
+ <command>dig</command> runs.
dig_lookup_t *current_lookup = NULL;
+ static void initialize_idn(void);
+ static isc_result_t output_filter(isc_buffer_t *buffer,
+ isc_boolean_t absolute);
+ static idn_result_t append_textname(char *name, const char *origin,
+ static void idn_check_result(idn_result_t r, const char *msg);
* Apply and clear locks at the event level in global task.
* Can I get rid of these using shutdown events? XXX
ISC_LIST_APPEND(server_list, srv, link);
else if (keysecret[0] != 0)
+ char utf8_textname[MXNAME], utf8_origin[MXNAME], idn_textname[MXNAME];
+ dns_name_settotextfilter(output_filter);
isc_buffer_init(&lookup->onamebuf, lookup->onamespace,
sizeof(lookup->onamespace));
+ * We cannot convert `textname' and `origin' separately.
+ * `textname' doesn't contain TLD, but local mapping needs
+ mr = idn_encodename(IDN_LOCALCONV | IDN_DELIMMAP, lookup->textname,
+ utf8_textname, sizeof(utf8_textname));
+ idn_check_result(mr, "convert textname to UTF-8");
* If the name has too many dots, force the origin to be NULL
* (which produces an absolute lookup). Otherwise, take the origin
* is TRUE or we got a domain line in the
resolv.conf file.
/* XXX New search here? */
+ if ((count_dots(utf8_textname) >= ndots) || !usesearch)
+ lookup->origin = NULL; /* Force abs lookup */
+ else if (lookup->origin == NULL && lookup->new_search && usesearch) {
+ lookup->origin = ISC_LIST_HEAD(search_list);
if ((count_dots(lookup->textname) >= ndots) || !usesearch)
lookup->origin = NULL; /* Force abs lookup */
else if (lookup->origin == NULL && lookup->new_search && usesearch) {
lookup->origin = ISC_LIST_HEAD(search_list);
if (lookup->origin != NULL) {
+ mr = idn_encodename(IDN_LOCALCONV | IDN_DELIMMAP,
+ lookup->origin->origin, utf8_origin,
+ idn_check_result(mr, "convert origin to UTF-8");
+ mr = append_textname(utf8_textname, utf8_origin,
+ sizeof(utf8_textname));
+ idn_check_result(mr, "append origin to textname");
+ mr = idn_encodename(IDN_LOCALMAP | IDN_NAMEPREP | IDN_ASCCHECK |
+ IDN_IDNCONV | IDN_LENCHECK, utf8_textname,
+ idn_textname, sizeof(idn_textname));
+ idn_check_result(mr, "convert UTF-8 textname to IDN encoding");
+ if (lookup->origin != NULL) {
debug("trying origin %s", lookup->origin->origin);
result = dns_message_gettempname(lookup->sendmsg,
if (lookup->trace && lookup->trace_root)
dns_name_clone(dns_rootname, lookup->name);
+ len = strlen(idn_textname);
+ isc_buffer_init(&b, idn_textname, len);
+ isc_buffer_add(&b, len);
+ result = dns_name_fromtext(lookup->name, &b,
len = strlen(lookup->textname);
isc_buffer_init(&b, lookup->textname, len);
if (result != ISC_R_SUCCESS) {
dns_message_puttempname(lookup->sendmsg,
+ (void)setlocale(LC_ALL, "");
+ /* Create configuration context. */
+ fatal("idn api initialization failed: %s",
+ idn_result_tostring(r));
+ /* Set domain name -> text post-conversion filter. */
+ dns_name_settotextfilter(output_filter);
+ output_filter(isc_buffer_t *buffer, unsigned int used_org,
+ isc_boolean_t absolute)
+ char tmp1[MAXDLEN], tmp2[MAXDLEN];
+ isc_boolean_t end_with_dot;
+ * Copy contents of 'buffer' to 'tmp1', supply trailing dot
+ * if 'absolute' is true, and terminate with NUL.
+ fromlen = isc_buffer_usedlength(buffer) - used_org;
+ if (fromlen >= MAXDLEN)
+ return (ISC_R_SUCCESS);
+ memcpy(tmp1, (char *)isc_buffer_base(buffer) + used_org, fromlen);
+ end_with_dot = (tmp1[fromlen - 1] == '.') ? ISC_TRUE : ISC_FALSE;
+ if (absolute && !end_with_dot) {
+ if (fromlen >= MAXDLEN)
+ return (ISC_R_SUCCESS);
+ tmp1[fromlen - 1] = '.';
+ * Convert contents of 'tmp1' to local encoding.
+ if (idn_decodename(IDN_DECODE_APP, tmp1, tmp2, MAXDLEN) != idn_success)
+ return (ISC_R_SUCCESS);
+ * Copy the converted contents in 'tmp1' back to 'buffer'.
+ * If we have appended trailing dot, remove it.
+ if (absolute && !end_with_dot && tmp1[tolen - 1] == '.')
+ if (isc_buffer_length(buffer) < used_org + tolen)
+ return (ISC_R_NOSPACE);
+ isc_buffer_subtract(buffer, isc_buffer_usedlength(buffer) - used_org);
+ memcpy(isc_buffer_used(buffer), tmp1, tolen);
+ isc_buffer_add(buffer, tolen);
+ return (ISC_R_SUCCESS);
+ append_textname(char *name, const char *origin, size_t namesize) {
+ size_t namelen = strlen(name);
+ size_t originlen = strlen(origin);
+ /* Already absolute? */
+ if (namelen > 0 && name[namelen - 1] == '.')
+ /* Append dot and origin */
+ if (namelen + 1 + originlen >= namesize)
+ return idn_buffer_overflow;
+ (void)strcpy(name + namelen, origin);
+ idn_check_result(idn_result_t r, const char *msg) {
+ if (r != idn_success) {
+ fatal("%s: %s", msg, idn_result_tostring(r));
effectively wait forever for a reply. The time to wait for a response
will be set to the number of seconds given by the hardware's maximum
value for an integer quantity.
+ If \fBhost\fR has been built with IDN (internationalized
+ domain name) support, it can accept and display non-ASCII domain names.
+ \fBhost\fR appropriately converts character encoding of
+ domain name before sending a request to DNS server or displaying a
+ If you'd like to turn off the IDN support for some reason, defines
+ the \fBIDN_DISABLE\fR environment variable.
+ The IDN support is disabled if the the variable is set when
+ <title>IDN SUPPORT</title>
+ If <command>host</command> has been built with IDN (internationalized
+ domain name) support, it can accept and display non-ASCII domain names.
+ <command>host</command> appropriately converts character encoding of
+ domain name before sending a request to DNS server or displaying a
+ If you'd like to turn off the IDN support for some reason, defines
+ the <envar>IDN_DISABLE</envar> environment variable.
+ The IDN support is disabled if the the variable is set when
+ <command>host</command> runs.
dns_name_t *dns_wildcardname = &wild;
+ * dns_name_t to text post-conversion procedure.
+ static dns_name_totextfilter_t totext_filter_proc = NULL;
set_offsets(const dns_name_t *name, unsigned char *offsets,
isc_boolean_t saw_root = ISC_FALSE;
+ unsigned int oused = target->used;
* This function assumes the name is in proper uncompressed
isc_buffer_add(target, tlen - trem);
+ if (totext_filter_proc != NULL)
+ return ((*totext_filter_proc)(target, oused, saw_root));
+ dns_name_settotextfilter(dns_name_totextfilter_t proc) {
+ totext_filter_proc = proc;
#define DNS_NAME_MAXWIRE 255
+ * Text output filter procedure.
+ * 'target' is the buffer to be converted. The region to be converted
+ * is from 'buffer'->base + 'used_org' to the end of the used region.
+ typedef isc_result_t (*dns_name_totextfilter_t)(isc_buffer_t *target,
+ isc_boolean_t absolute);
+ dns_name_settotextfilter(dns_name_totextfilter_t proc);
+ * Call 'proc' at the end of dns_name_totext.
#define DNS_NAME_FORMATSIZE (DNS_NAME_MAXTEXT + 1)