From 09de3a0f0bd5540b043f8a66182340bd2445f41a Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Thu, 21 Dec 2000 17:37:39 +0000 Subject: [PATCH] updated for release --- .../idn/mdnkit/patch/bind9/patch.configure | 1471 +++++++++++++++++ contrib/idn/mdnkit/patch/bind9/patch.most | 190 +-- 2 files changed, 1568 insertions(+), 93 deletions(-) create mode 100644 contrib/idn/mdnkit/patch/bind9/patch.configure diff --git a/contrib/idn/mdnkit/patch/bind9/patch.configure b/contrib/idn/mdnkit/patch/bind9/patch.configure new file mode 100644 index 0000000000..433375db6c --- /dev/null +++ b/contrib/idn/mdnkit/patch/bind9/patch.configure @@ -0,0 +1,1471 @@ +Index: configure +=================================================================== +RCS file: /proj/cvs/isc/bind9/configure,v +retrieving revision 1.194 +diff -u -u -2 -r1.194 configure +--- configure 2000/12/13 06:21:38 1.194 ++++ configure 2000/12/21 17:35:23 +@@ -16,5 +16,5 @@ + # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + +-# From configure.in Revision: 1.197 ++# From configure.in Revision: 1.198 + + ## libtool.m4 - Configure libtool for the target system. -*-Shell-script-*- +@@ -156,4 +156,10 @@ + ac_help="$ac_help + --with-kame[=PATH] use Kame IPv6 [default path /usr/local/v6]" ++ac_help="$ac_help ++ --with-mdn[=PREFIX] enable MDN support using mDNkit [default prefix /usr/local]" ++ac_help="$ac_help ++ --with-iconv[=LIBSPEC] specify iconv library [default -liconv]" ++ac_help="$ac_help ++ --with-mdnlib=ARG specify libmdn" + + # Initialize some variables set by options. +@@ -696,5 +702,5 @@ + + echo $ac_n "checking host system type""... $ac_c" 1>&6 +-echo "configure:699: checking host system type" >&5 ++echo "configure:705: checking host system type" >&5 + + host_alias=$host +@@ -718,5 +724,5 @@ + + echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 +-echo "configure:721: checking whether ${MAKE-make} sets \${MAKE}" >&5 ++echo "configure:727: 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 +@@ -747,5 +753,5 @@ + set dummy ranlib; ac_word=$2 + echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 +-echo "configure:750: checking for $ac_word" >&5 ++echo "configure:756: checking for $ac_word" >&5 + if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +@@ -786,5 +792,5 @@ + # ./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:789: checking for a BSD compatible install" >&5 ++echo "configure:795: checking for a BSD compatible install" >&5 + if test -z "$INSTALL"; then + if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then +@@ -847,5 +853,5 @@ + set dummy ar; ac_word=$2 + echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 +-echo "configure:850: checking for $ac_word" >&5 ++echo "configure:856: checking for $ac_word" >&5 + if eval "test \"`echo '$''{'ac_cv_path_AR'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +@@ -903,5 +909,5 @@ + set dummy $ac_prog; ac_word=$2 + echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 +-echo "configure:906: checking for $ac_word" >&5 ++echo "configure:912: checking for $ac_word" >&5 + if eval "test \"`echo '$''{'ac_cv_path_ETAGS'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +@@ -948,5 +954,5 @@ + set dummy $ac_prog; ac_word=$2 + echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 +-echo "configure:951: checking for $ac_word" >&5 ++echo "configure:957: checking for $ac_word" >&5 + if eval "test \"`echo '$''{'ac_cv_path_PERL'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +@@ -1050,5 +1056,5 @@ + # + echo $ac_n "checking whether to use threads""... $ac_c" 1>&6 +-echo "configure:1053: checking whether to use threads" >&5 ++echo "configure:1059: checking whether to use threads" >&5 + # Check whether --enable-threads or --disable-threads was given. + if test "${enable_threads+set}" = set; then +@@ -1128,5 +1134,5 @@ + # + echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 +-echo "configure:1131: checking whether byte ordering is bigendian" >&5 ++echo "configure:1137: 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 +@@ -1135,5 +1141,5 @@ + # See if sys/param.h defines the BYTE_ORDER macro. + cat > conftest.$ac_ext < +@@ -1146,9 +1152,9 @@ + ; return 0; } + EOF +-if { (eval echo configure:1149: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then ++if { (eval echo configure:1155: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* + # It does; now see whether it defined to BIG_ENDIAN or not. + cat > conftest.$ac_ext < +@@ -1161,5 +1167,5 @@ + ; return 0; } + EOF +-if { (eval echo configure:1164: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then ++if { (eval echo configure:1170: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* + ac_cv_c_bigendian=yes +@@ -1181,5 +1187,5 @@ + else + cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null ++if { (eval echo configure:1203: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null + then + ac_cv_c_bigendian=no +@@ -1222,5 +1228,5 @@ + # + echo $ac_n "checking for compatible OpenSSL library""... $ac_c" 1>&6 +-echo "configure:1225: checking for compatible OpenSSL library" >&5 ++echo "configure:1231: checking for compatible OpenSSL library" >&5 + # Check whether --with-openssl or --without-openssl was given. + if test "${with_openssl+set}" = set; then +@@ -1279,5 +1285,5 @@ + # + echo $ac_n "checking for GSSAPI library""... $ac_c" 1>&6 +-echo "configure:1282: checking for GSSAPI library" >&5 ++echo "configure:1288: checking for GSSAPI library" >&5 + # Check whether --with-gssapi or --without-gssapi was given. + if test "${with_gssapi+set}" = set; then +@@ -1315,5 +1321,5 @@ + # + echo $ac_n "checking for random device""... $ac_c" 1>&6 +-echo "configure:1318: checking for random device" >&5 ++echo "configure:1324: checking for random device" >&5 + # Check whether --with-randomdev or --without-randomdev was given. + if test "${with_randomdev+set}" = set; then +@@ -1362,5 +1368,5 @@ + set dummy gcc; ac_word=$2 + echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 +-echo "configure:1365: checking for $ac_word" >&5 ++echo "configure:1371: checking for $ac_word" >&5 + if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +@@ -1392,5 +1398,5 @@ + set dummy cc; ac_word=$2 + echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 +-echo "configure:1395: checking for $ac_word" >&5 ++echo "configure:1401: checking for $ac_word" >&5 + if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +@@ -1443,5 +1449,5 @@ + set dummy cl; ac_word=$2 + echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 +-echo "configure:1446: checking for $ac_word" >&5 ++echo "configure:1452: checking for $ac_word" >&5 + if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +@@ -1475,5 +1481,5 @@ + + echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 +-echo "configure:1478: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 ++echo "configure:1484: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 + + ac_ext=c +@@ -1486,10 +1492,10 @@ + cat > conftest.$ac_ext << EOF + +-#line 1489 "configure" ++#line 1495 "configure" + #include "confdefs.h" + + main(){return(0);} + EOF +-if { (eval echo configure:1494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then ++if { (eval echo configure:1500: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + ac_cv_prog_cc_works=yes + # If we can't run a trivial program, we are probably using a cross compiler. +@@ -1517,10 +1523,10 @@ + fi + echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 +-echo "configure:1520: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 ++echo "configure:1526: 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:1525: checking whether we are using GNU C" >&5 ++echo "configure:1531: 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 +@@ -1531,5 +1537,5 @@ + #endif + EOF +-if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1534: \"$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:1540: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then + ac_cv_prog_gcc=yes + else +@@ -1550,5 +1556,5 @@ + CFLAGS= + echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 +-echo "configure:1553: checking whether ${CC-cc} accepts -g" >&5 ++echo "configure:1559: 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 +@@ -1586,5 +1592,5 @@ + set dummy $ac_prog; ac_word=$2 + echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 +-echo "configure:1589: checking for $ac_word" >&5 ++echo "configure:1595: checking for $ac_word" >&5 + if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +@@ -1618,5 +1624,5 @@ + + echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 +-echo "configure:1621: checking how to run the C preprocessor" >&5 ++echo "configure:1627: checking how to run the C preprocessor" >&5 + # On Suns, sometimes $CPP names a directory. + if test -n "$CPP" && test -d "$CPP"; then +@@ -1633,5 +1639,5 @@ + # not just through cpp. + cat > conftest.$ac_ext < +@@ -1639,5 +1645,5 @@ + EOF + ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +-{ (eval echo configure:1642: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ++{ (eval echo configure:1648: \"$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 +@@ -1650,5 +1656,5 @@ + CPP="${CC-cc} -E -traditional-cpp" + cat > conftest.$ac_ext < +@@ -1656,5 +1662,5 @@ + EOF + ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +-{ (eval echo configure:1659: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ++{ (eval echo configure:1665: \"$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 +@@ -1667,5 +1673,5 @@ + CPP="${CC-cc} -nologo -E" + cat > conftest.$ac_ext < +@@ -1673,5 +1679,5 @@ + EOF + ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +-{ (eval echo configure:1676: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ++{ (eval echo configure:1682: \"$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 +@@ -1698,10 +1704,10 @@ + + echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 +-echo "configure:1701: checking for ANSI C header files" >&5 ++echo "configure:1707: 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 + else + cat > conftest.$ac_ext < +@@ -1711,5 +1717,5 @@ + EOF + ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +-{ (eval echo configure:1714: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ++{ (eval echo configure:1720: \"$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 +@@ -1728,5 +1734,5 @@ + # SunOS 4.x string.h does not declare mem*, contrary to ANSI. + cat > conftest.$ac_ext < +@@ -1746,5 +1752,5 @@ + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. + cat > conftest.$ac_ext < +@@ -1767,5 +1773,5 @@ + else + cat > conftest.$ac_ext < +@@ -1778,5 +1784,5 @@ + + EOF +-if { (eval echo configure:1781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null ++if { (eval echo configure:1787: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null + then + : +@@ -1806,15 +1812,15 @@ + ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` + echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 +-echo "configure:1809: checking for $ac_hdr" >&5 ++echo "configure:1815: 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 + else + cat > conftest.$ac_ext < + EOF + ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +-{ (eval echo configure:1819: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ++{ (eval echo configure:1825: \"$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 +@@ -1844,10 +1850,10 @@ + + echo $ac_n "checking for working const""... $ac_c" 1>&6 +-echo "configure:1847: checking for working const" >&5 ++echo "configure:1853: checking for working const" >&5 + if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else + cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then ++if { (eval echo configure:1907: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* + ac_cv_c_const=yes +@@ -1919,5 +1925,5 @@ + + echo $ac_n "checking for inline""... $ac_c" 1>&6 +-echo "configure:1922: checking for inline" >&5 ++echo "configure:1928: checking for inline" >&5 + if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +@@ -1926,5 +1932,5 @@ + for ac_kw in inline __inline__ __inline; do + cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then ++if { (eval echo configure:1942: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* + ac_cv_c_inline=$ac_kw; break +@@ -1959,10 +1965,10 @@ + + echo $ac_n "checking for size_t""... $ac_c" 1>&6 +-echo "configure:1962: checking for size_t" >&5 ++echo "configure:1968: 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 + else + cat > conftest.$ac_ext < +@@ -1992,10 +1998,10 @@ + + echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 +-echo "configure:1995: checking whether time.h and sys/time.h may both be included" >&5 ++echo "configure:2001: 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 + else + cat > conftest.$ac_ext < +@@ -2006,5 +2012,5 @@ + ; return 0; } + EOF +-if { (eval echo configure:2009: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then ++if { (eval echo configure:2015: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* + ac_cv_header_time=yes +@@ -2043,5 +2049,5 @@ + CC="gcc" + echo $ac_n "checking which NetBSD thread library to use""... $ac_c" 1>&6 +-echo "configure:2046: checking which NetBSD thread library to use" >&5 ++echo "configure:2052: checking which NetBSD thread library to use" >&5 + + # Check whether --with-ptl2 or --without-ptl2 was given. +@@ -2082,5 +2088,5 @@ + *) + echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6 +-echo "configure:2085: checking for pthread_create in -lpthread" >&5 ++echo "configure:2091: 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 +@@ -2090,5 +2096,5 @@ + LIBS="-lpthread $LIBS" + cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then ++if { (eval echo configure:2110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=yes" +@@ -2127,5 +2133,5 @@ + echo "$ac_t""no" 1>&6 + echo $ac_n "checking for __pthread_create in -lpthread""... $ac_c" 1>&6 +-echo "configure:2130: checking for __pthread_create in -lpthread" >&5 ++echo "configure:2136: 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 +@@ -2135,5 +2141,5 @@ + LIBS="-lpthread $LIBS" + cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then ++if { (eval echo configure:2155: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=yes" +@@ -2174,5 +2180,5 @@ + + echo $ac_n "checking for __pthread_create_system in -lpthread""... $ac_c" 1>&6 +-echo "configure:2177: checking for __pthread_create_system in -lpthread" >&5 ++echo "configure:2183: 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 +@@ -2182,5 +2188,5 @@ + LIBS="-lpthread $LIBS" + cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then ++if { (eval echo configure:2202: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=yes" +@@ -2221,5 +2227,5 @@ + + echo $ac_n "checking for pthread_create in -lpthreads""... $ac_c" 1>&6 +-echo "configure:2224: checking for pthread_create in -lpthreads" >&5 ++echo "configure:2230: checking for pthread_create in -lpthreads" >&5 + ac_lib_var=`echo pthreads'_'pthread_create | sed 'y%./+-%__p_%'` + if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then +@@ -2229,5 +2235,5 @@ + LIBS="-lpthreads $LIBS" + cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then ++if { (eval echo configure:2249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=yes" +@@ -2276,5 +2282,5 @@ + # + echo $ac_n "checking for sigwait in -lc""... $ac_c" 1>&6 +-echo "configure:2279: checking for sigwait in -lc" >&5 ++echo "configure:2285: 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 +@@ -2284,5 +2290,5 @@ + LIBS="-lc $LIBS" + cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then ++if { (eval echo configure:2304: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=yes" +@@ -2317,5 +2323,5 @@ + echo "$ac_t""no" 1>&6 + echo $ac_n "checking for sigwait in -lpthread""... $ac_c" 1>&6 +-echo "configure:2320: checking for sigwait in -lpthread" >&5 ++echo "configure:2326: 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 +@@ -2325,5 +2331,5 @@ + LIBS="-lpthread $LIBS" + cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then ++if { (eval echo configure:2345: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=yes" +@@ -2358,5 +2364,5 @@ + echo "$ac_t""no" 1>&6 + echo $ac_n "checking for _Psigwait in -lpthread""... $ac_c" 1>&6 +-echo "configure:2361: checking for _Psigwait in -lpthread" >&5 ++echo "configure:2367: 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 +@@ -2366,5 +2372,5 @@ + LIBS="-lpthread $LIBS" + cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then ++if { (eval echo configure:2386: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=yes" +@@ -2415,5 +2421,5 @@ + *-freebsd*) + echo $ac_n "checking for sigwait in -lc_r""... $ac_c" 1>&6 +-echo "configure:2418: checking for sigwait in -lc_r" >&5 ++echo "configure:2424: 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 +@@ -2423,5 +2429,5 @@ + LIBS="-lc_r $LIBS" + cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then ++if { (eval echo configure:2443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=yes" +@@ -2489,10 +2495,10 @@ + + echo $ac_n "checking for pthread_setconcurrency""... $ac_c" 1>&6 +-echo "configure:2492: checking for pthread_setconcurrency" >&5 ++echo "configure:2498: 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 + else + cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then ++if { (eval echo configure:2526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_pthread_setconcurrency=yes" +@@ -2555,10 +2561,10 @@ + # + echo $ac_n "checking for sysconf""... $ac_c" 1>&6 +-echo "configure:2558: checking for sysconf" >&5 ++echo "configure:2564: checking for sysconf" >&5 + if eval "test \"`echo '$''{'ac_cv_func_sysconf'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else + cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then ++if { (eval echo configure:2592: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_sysconf=yes" +@@ -2679,10 +2685,10 @@ + # + echo $ac_n "checking for flockfile""... $ac_c" 1>&6 +-echo "configure:2682: checking for flockfile" >&5 ++echo "configure:2688: checking for flockfile" >&5 + if eval "test \"`echo '$''{'ac_cv_func_flockfile'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else + cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then ++if { (eval echo configure:2716: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_flockfile=yes" +@@ -2734,10 +2740,10 @@ + # + echo $ac_n "checking for catgets""... $ac_c" 1>&6 +-echo "configure:2737: checking for catgets" >&5 ++echo "configure:2743: checking for catgets" >&5 + if eval "test \"`echo '$''{'ac_cv_func_catgets'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else + cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then ++if { (eval echo configure:2771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_catgets=yes" +@@ -2800,5 +2806,5 @@ + *) + echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6 +-echo "configure:2803: checking for socket in -lsocket" >&5 ++echo "configure:2809: 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 +@@ -2808,5 +2814,5 @@ + LIBS="-lsocket $LIBS" + cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then ++if { (eval echo configure:2828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=yes" +@@ -2847,5 +2853,5 @@ + + echo $ac_n "checking for inet_ntoa in -lnsl""... $ac_c" 1>&6 +-echo "configure:2850: checking for inet_ntoa in -lnsl" >&5 ++echo "configure:2856: 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 +@@ -2855,5 +2861,5 @@ + LIBS="-lnsl $LIBS" + cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then ++if { (eval echo configure:2875: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_lib_$ac_lib_var=yes" +@@ -3017,5 +3023,5 @@ + + echo $ac_n "checking build system type""... $ac_c" 1>&6 +-echo "configure:3020: checking build system type" >&5 ++echo "configure:3026: checking build system type" >&5 + + build_alias=$build +@@ -3046,5 +3052,5 @@ + # 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:3049: checking for ld used by GCC" >&5 ++echo "configure:3055: checking for ld used by GCC" >&5 + ac_prog=`($CC -print-prog-name=ld) 2>&5` + case "$ac_prog" in +@@ -3070,8 +3076,8 @@ + elif test "$with_gnu_ld" = yes; then + echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 +-echo "configure:3073: checking for GNU ld" >&5 ++echo "configure:3079: checking for GNU ld" >&5 + else + echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6 +-echo "configure:3076: checking for non-GNU ld" >&5 ++echo "configure:3082: checking for non-GNU ld" >&5 + fi + if eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then +@@ -3108,5 +3114,5 @@ + 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:3111: checking if the linker ($LD) is GNU ld" >&5 ++echo "configure:3117: checking if the linker ($LD) is GNU ld" >&5 + if eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +@@ -3124,5 +3130,5 @@ + + echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6 +-echo "configure:3127: checking for BSD-compatible nm" >&5 ++echo "configure:3133: checking for BSD-compatible nm" >&5 + if eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +@@ -3160,5 +3166,5 @@ + + echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 +-echo "configure:3163: checking whether ln -s works" >&5 ++echo "configure:3169: 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 +@@ -3209,6 +3215,6 @@ + *-*-irix6*) + # Find out which ABI we are using. +- echo '#line 3212 "configure"' > conftest.$ac_ext +- if { (eval echo configure:3213: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then ++ echo '#line 3218 "configure"' > conftest.$ac_ext ++ if { (eval echo configure:3219: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + case "`/usr/bin/file conftest.o`" in + *32-bit*) +@@ -3231,10 +3237,10 @@ + CFLAGS="$CFLAGS -belf" + echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6 +-echo "configure:3234: checking whether the C compiler needs -belf" >&5 ++echo "configure:3240: 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 + else + cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then ++if { (eval echo configure:3252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + lt_cv_cc_needs_belf=yes +@@ -3394,7 +3400,7 @@ + # + echo $ac_n "checking for IPv6 structures""... $ac_c" 1>&6 +-echo "configure:3397: checking for IPv6 structures" >&5 ++echo "configure:3403: checking for IPv6 structures" >&5 + cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then ++if { (eval echo configure:3415: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* + echo "$ac_t""yes" 1>&6 +@@ -3424,5 +3430,5 @@ + # + echo $ac_n "checking for Kame IPv6 support""... $ac_c" 1>&6 +-echo "configure:3427: checking for Kame IPv6 support" >&5 ++echo "configure:3433: checking for Kame IPv6 support" >&5 + # Check whether --with-kame or --without-kame was given. + if test "${with_kame+set}" = set; then +@@ -3514,7 +3520,7 @@ + + echo $ac_n "checking for in6addr_any""... $ac_c" 1>&6 +-echo "configure:3517: checking for in6addr_any" >&5 ++echo "configure:3523: checking for in6addr_any" >&5 + cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then ++if { (eval echo configure:3536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + echo "$ac_t""yes" 1>&6 +@@ -3543,7 +3549,7 @@ + + echo $ac_n "checking for sin6_scope_id in struct sockaddr_in6""... $ac_c" 1>&6 +-echo "configure:3546: checking for sin6_scope_id in struct sockaddr_in6" >&5 ++echo "configure:3552: checking for sin6_scope_id in struct sockaddr_in6" >&5 + cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then ++if { (eval echo configure:3567: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* + echo "$ac_t""yes" 1>&6 +@@ -3573,7 +3579,7 @@ + + echo $ac_n "checking for in6_pktinfo""... $ac_c" 1>&6 +-echo "configure:3576: checking for in6_pktinfo" >&5 ++echo "configure:3582: checking for in6_pktinfo" >&5 + cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then ++if { (eval echo configure:3597: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* + echo "$ac_t""yes" 1>&6 +@@ -3638,7 +3644,7 @@ + # + echo $ac_n "checking for inet_ntop""... $ac_c" 1>&6 +-echo "configure:3641: checking for inet_ntop" >&5 ++echo "configure:3647: checking for inet_ntop" >&5 + cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then ++if { (eval echo configure:3659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + echo "$ac_t""yes" 1>&6 +@@ -3665,7 +3671,7 @@ + rm -f conftest* + echo $ac_n "checking for inet_pton""... $ac_c" 1>&6 +-echo "configure:3668: checking for inet_pton" >&5 ++echo "configure:3674: checking for inet_pton" >&5 + cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then ++if { (eval echo configure:3686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + echo "$ac_t""yes" 1>&6 +@@ -3692,7 +3698,7 @@ + rm -f conftest* + echo $ac_n "checking for inet_aton""... $ac_c" 1>&6 +-echo "configure:3695: checking for inet_aton" >&5 ++echo "configure:3701: checking for inet_aton" >&5 + cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then ++if { (eval echo configure:3713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + echo "$ac_t""yes" 1>&6 +@@ -3737,7 +3743,7 @@ + + echo $ac_n "checking for sa_len in struct sockaddr""... $ac_c" 1>&6 +-echo "configure:3740: checking for sa_len in struct sockaddr" >&5 ++echo "configure:3746: checking for sa_len in struct sockaddr" >&5 + cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then ++if { (eval echo configure:3757: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* + echo "$ac_t""yes" 1>&6 +@@ -3769,7 +3775,7 @@ + # + echo $ac_n "checking for struct msghdr flavor""... $ac_c" 1>&6 +-echo "configure:3772: checking for struct msghdr flavor" >&5 ++echo "configure:3778: checking for struct msghdr flavor" >&5 + cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then ++if { (eval echo configure:3789: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* + echo "$ac_t""4.4BSD" 1>&6 +@@ -3798,7 +3804,7 @@ + # + echo $ac_n "checking for type in_port_t""... $ac_c" 1>&6 +-echo "configure:3801: checking for type in_port_t" >&5 ++echo "configure:3807: checking for type in_port_t" >&5 + cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then ++if { (eval echo configure:3818: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* + echo "$ac_t""yes" 1>&6 +@@ -3827,7 +3833,7 @@ + # + echo $ac_n "checking for struct addrinfo""... $ac_c" 1>&6 +-echo "configure:3830: checking for struct addrinfo" >&5 ++echo "configure:3836: checking for struct addrinfo" >&5 + cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then ++if { (eval echo configure:3846: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* + echo "$ac_t""yes" 1>&6 +@@ -3856,7 +3862,7 @@ + + echo $ac_n "checking for int sethostent""... $ac_c" 1>&6 +-echo "configure:3859: checking for int sethostent" >&5 ++echo "configure:3865: checking for int sethostent" >&5 + cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then ++if { (eval echo configure:3875: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* + echo "$ac_t""yes" 1>&6 +@@ -3881,7 +3887,7 @@ + + echo $ac_n "checking for int endhostent""... $ac_c" 1>&6 +-echo "configure:3884: checking for int endhostent" >&5 ++echo "configure:3890: checking for int endhostent" >&5 + cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then ++if { (eval echo configure:3900: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* + echo "$ac_t""yes" 1>&6 +@@ -3906,7 +3912,7 @@ + + echo $ac_n "checking for getnetbyaddr(in_addr_t, ...)""... $ac_c" 1>&6 +-echo "configure:3909: checking for getnetbyaddr(in_addr_t, ...)" >&5 ++echo "configure:3915: checking for getnetbyaddr(in_addr_t, ...)" >&5 + cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then ++if { (eval echo configure:3926: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* + echo "$ac_t""yes" 1>&6 +@@ -3932,7 +3938,7 @@ + + echo $ac_n "checking for int setnetent""... $ac_c" 1>&6 +-echo "configure:3935: checking for int setnetent" >&5 ++echo "configure:3941: checking for int setnetent" >&5 + cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then ++if { (eval echo configure:3951: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* + echo "$ac_t""yes" 1>&6 +@@ -3957,7 +3963,7 @@ + + echo $ac_n "checking for int endnetent""... $ac_c" 1>&6 +-echo "configure:3960: checking for int endnetent" >&5 ++echo "configure:3966: checking for int endnetent" >&5 + cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then ++if { (eval echo configure:3976: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* + echo "$ac_t""yes" 1>&6 +@@ -3982,7 +3988,7 @@ + + echo $ac_n "checking for gethostbyaddr(const void *, size_t, ...)""... $ac_c" 1>&6 +-echo "configure:3985: checking for gethostbyaddr(const void *, size_t, ...)" >&5 ++echo "configure:3991: checking for gethostbyaddr(const void *, size_t, ...)" >&5 + cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then ++if { (eval echo configure:4002: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* + echo "$ac_t""yes" 1>&6 +@@ -4008,7 +4014,7 @@ + + echo $ac_n "checking for h_errno in netdb.h""... $ac_c" 1>&6 +-echo "configure:4011: checking for h_errno in netdb.h" >&5 ++echo "configure:4017: checking for h_errno in netdb.h" >&5 + cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then ++if { (eval echo configure:4027: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* + echo "$ac_t""yes" 1>&6 +@@ -4033,10 +4039,10 @@ + + echo $ac_n "checking for getipnodebyname""... $ac_c" 1>&6 +-echo "configure:4036: checking for getipnodebyname" >&5 ++echo "configure:4042: checking for getipnodebyname" >&5 + if eval "test \"`echo '$''{'ac_cv_func_getipnodebyname'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else + cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then ++if { (eval echo configure:4070: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_getipnodebyname=yes" +@@ -4082,10 +4088,10 @@ + + echo $ac_n "checking for getnameinfo""... $ac_c" 1>&6 +-echo "configure:4085: checking for getnameinfo" >&5 ++echo "configure:4091: checking for getnameinfo" >&5 + if eval "test \"`echo '$''{'ac_cv_func_getnameinfo'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else + cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then ++if { (eval echo configure:4119: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_getnameinfo=yes" +@@ -4131,10 +4137,10 @@ + + echo $ac_n "checking for getaddrinfo""... $ac_c" 1>&6 +-echo "configure:4134: checking for getaddrinfo" >&5 ++echo "configure:4140: checking for getaddrinfo" >&5 + if eval "test \"`echo '$''{'ac_cv_func_getaddrinfo'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else + cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then ++if { (eval echo configure:4168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_getaddrinfo=yes" +@@ -4191,7 +4197,7 @@ + # + echo $ac_n "checking for interface list sysctl""... $ac_c" 1>&6 +-echo "configure:4194: checking for interface list sysctl" >&5 ++echo "configure:4200: checking for interface list sysctl" >&5 + cat > conftest.$ac_ext <&6 +-echo "configure:4226: checking for strsep" >&5 ++echo "configure:4232: checking for strsep" >&5 + if eval "test \"`echo '$''{'ac_cv_func_strsep'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else + cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then ++if { (eval echo configure:4260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_strsep=yes" +@@ -4272,10 +4278,10 @@ + + echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6 +-echo "configure:4275: checking for vsnprintf" >&5 ++echo "configure:4281: checking for vsnprintf" >&5 + if eval "test \"`echo '$''{'ac_cv_func_vsnprintf'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else + cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then ++if { (eval echo configure:4309: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_vsnprintf=yes" +@@ -4329,5 +4335,5 @@ + + echo $ac_n "checking for sizeof(long long int) == sizeof(long int)""... $ac_c" 1>&6 +-echo "configure:4332: checking for sizeof(long long int) == sizeof(long int)" >&5 ++echo "configure:4338: checking for sizeof(long long int) == sizeof(long int)" >&5 + if test "$cross_compiling" = yes; then + echo "$ac_t""default yes" 1>&6 +@@ -4335,9 +4341,9 @@ + else + cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null ++if { (eval echo configure:4348: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null + then + echo "$ac_t""yes" 1>&6 +@@ -4359,10 +4365,10 @@ + # + echo $ac_n "checking for chroot""... $ac_c" 1>&6 +-echo "configure:4362: checking for chroot" >&5 ++echo "configure:4368: checking for chroot" >&5 + if eval "test \"`echo '$''{'ac_cv_func_chroot'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else + cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then ++if { (eval echo configure:4396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + eval "ac_cv_func_chroot=yes" +@@ -4413,15 +4419,15 @@ + ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` + echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 +-echo "configure:4416: checking for $ac_hdr" >&5 ++echo "configure:4422: 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 + else + cat > conftest.$ac_ext < + EOF + ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +-{ (eval echo configure:4426: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ++{ (eval echo configure:4432: \"$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 +@@ -4453,15 +4459,15 @@ + ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` + echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 +-echo "configure:4456: checking for $ac_hdr" >&5 ++echo "configure:4462: 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 + else + cat > conftest.$ac_ext < + EOF + ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +-{ (eval echo configure:4466: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ++{ (eval echo configure:4472: \"$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 +@@ -4568,5 +4574,5 @@ + set dummy $ac_prog; ac_word=$2 + echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 +-echo "configure:4571: checking for $ac_word" >&5 ++echo "configure:4577: checking for $ac_word" >&5 + if eval "test \"`echo '$''{'ac_cv_path_JADE'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +@@ -4614,5 +4620,5 @@ + + echo $ac_n "checking for SGML files""... $ac_c" 1>&6 +-echo "configure:4617: checking for SGML files" >&5 ++echo "configure:4623: checking for SGML files" >&5 + for d in /usr/pkg/share/sgml /usr/local/share/sgml + do +@@ -4640,5 +4646,5 @@ + + echo $ac_n "checking for XML files""... $ac_c" 1>&6 +-echo "configure:4643: checking for XML files" >&5 ++echo "configure:4649: checking for XML files" >&5 + for d in /usr/pkg/share/xml /usr/local/share/xml + do +@@ -4657,4 +4663,163 @@ + fi + ++ ++ ++# ++# MDN support ++# ++# Check whether --with-mdn or --without-mdn was given. ++if test "${with_mdn+set}" = set; then ++ withval="$with_mdn" ++ use_mdn="$withval" ++else ++ use_mdn="no" ++fi ++ ++case "$use_mdn" in ++yes) ++ mdn_path=/usr/local ++ ;; ++no) ++ ;; ++*) ++ mdn_path="$use_mdn" ++ ;; ++esac ++ ++# Check whether --with-iconv or --without-iconv was given. ++if test "${with_iconv+set}" = set; then ++ withval="$with_iconv" ++ iconvlib="$withval" ++else ++ iconvlib="no" ++fi ++ ++case "$iconvlib" in ++no) ++ iconvlib= ++ ;; ++yes) ++ iconvlib=-liconv ++ ;; ++esac ++ ++# Check whether --with-mdnlib or --without-mdnlib was given. ++if test "${with_mdnlib+set}" = set; then ++ withval="$with_mdnlib" ++ mdnlib="$withval" ++else ++ mdnlib="no" ++fi ++ ++if test "$mdnlib" = yes; then ++ { echo "configure: error: You must specify ARG for --with-mdnlib." 1>&2; exit 1; } ++fi ++ ++if test "$use_mdn" != no; then ++ cat >> confdefs.h <<\EOF ++#define WITH_MDN 1 ++EOF ++ ++ STD_CINCLUDES="$STD_CINCLUDES -I$mdn_path/include" ++ if test "$mdnlib" != no; then ++ LIBS="$mdnlib $iconvlib $LIBS" ++ else ++ LIBS="-L$mdn_path/lib -lmdn $iconvlib $LIBS" ++ fi ++fi ++for ac_hdr in locale.h ++do ++ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` ++echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 ++echo "configure:4735: 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 ++else ++ cat > conftest.$ac_ext < ++EOF ++ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" ++{ (eval echo configure:4745: \"$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 ++ rm -rf conftest* ++ eval "ac_cv_header_$ac_safe=yes" ++else ++ echo "$ac_err" >&5 ++ echo "configure: failed program was:" >&5 ++ cat conftest.$ac_ext >&5 ++ rm -rf conftest* ++ eval "ac_cv_header_$ac_safe=no" ++fi ++rm -f conftest* ++fi ++if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then ++ echo "$ac_t""yes" 1>&6 ++ ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` ++ cat >> confdefs.h <&6 ++fi ++done ++ ++for ac_func in setlocale ++do ++echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 ++echo "configure:4774: 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 ++else ++ cat > conftest.$ac_ext < ++/* 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. */ ++char $ac_func(); ++ ++int main() { ++ ++/* 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) ++choke me ++#else ++$ac_func(); ++#endif ++ ++; return 0; } ++EOF ++if { (eval echo configure:4802: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then ++ rm -rf conftest* ++ eval "ac_cv_func_$ac_func=yes" ++else ++ echo "configure: failed program was:" >&5 ++ cat conftest.$ac_ext >&5 ++ rm -rf conftest* ++ eval "ac_cv_func_$ac_func=no" ++fi ++rm -f conftest* ++fi ++ ++if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then ++ echo "$ac_t""yes" 1>&6 ++ ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` ++ cat >> confdefs.h <&6 ++fi ++done + + diff --git a/contrib/idn/mdnkit/patch/bind9/patch.most b/contrib/idn/mdnkit/patch/bind9/patch.most index 20a171a735..423df40d0b 100644 --- a/contrib/idn/mdnkit/patch/bind9/patch.most +++ b/contrib/idn/mdnkit/patch/bind9/patch.most @@ -1,5 +1,5 @@ ---- ./README.mdnkit.orig Fri Dec 1 16:47:34 2000 -+++ ./README.mdnkit Fri Dec 1 16:47:34 2000 +--- ./README.mdnkit.orig Thu Dec 21 10:53:17 2000 ++++ ./README.mdnkit Thu Dec 21 10:53:17 2000 @@ -0,0 +1,110 @@ + + BIND-9 MDN patch @@ -110,9 +110,9 @@ +mdnkit-bugs@nic.ad.jp and idn-cmt@nic.ad.jp, respectively. + + -+; $Id: README.mdnkit,v 1.5 2000/10/18 04:54:57 ishisone Exp $ ---- ./acconfig.h.orig Fri Dec 1 16:47:10 2000 -+++ ./acconfig.h Fri Dec 1 16:47:34 2000 ++; $Id: patch.most,v 1.1 2000/12/07 00:52:27 tale Exp $ +--- ./acconfig.h.orig Thu Dec 21 10:46:01 2000 ++++ ./acconfig.h Thu Dec 21 10:53:17 2000 @@ -110,4 +110,7 @@ #endif /* SHUTUP_STDARG_CAST && __GNUC__ */ @@ -121,8 +121,8 @@ + /* define if the system has a random number generating device */ #undef PATH_RANDOMDEV ---- ./config.h.in.orig Fri Dec 1 16:47:33 2000 -+++ ./config.h.in Fri Dec 1 16:47:34 2000 +--- ./config.h.in.orig Thu Dec 21 10:46:01 2000 ++++ ./config.h.in Thu Dec 21 10:53:17 2000 @@ -124,4 +124,10 @@ #undef PATH_RANDOMDEV @@ -142,9 +142,9 @@ +#undef HAVE_LOCALE_H /* Define if you have the header file. */ ---- ./configure.in.orig Fri Dec 1 16:47:34 2000 -+++ ./configure.in Fri Dec 1 16:47:34 2000 -@@ -1159,4 +1159,52 @@ +--- ./configure.in.orig Thu Dec 21 10:46:00 2000 ++++ ./configure.in Thu Dec 21 10:53:18 2000 +@@ -1176,4 +1176,52 @@ # +# MDN support @@ -197,9 +197,9 @@ +# # Substitutions # ---- ./lib/dns/config/confctx.c.orig Fri Dec 1 16:46:16 2000 -+++ ./lib/dns/config/confctx.c Fri Dec 1 16:47:34 2000 -@@ -1003,4 +1003,7 @@ +--- ./lib/dns/config/confctx.c.orig Thu Dec 21 10:44:19 2000 ++++ ./lib/dns/config/confctx.c Thu Dec 21 10:53:18 2000 +@@ -1038,4 +1038,7 @@ PRINT_AS_BOOLEAN(maintain_ixfr_base, "maintain-ixfr-base"); PRINT_AS_BOOLEAN(has_old_clients, "has-old-clients"); +#ifdef WITH_MDN @@ -207,7 +207,7 @@ +#endif PRINT_AS_BOOLEAN(auth_nx_domain, "auth-nxdomain"); PRINT_AS_BOOLEAN(multiple_cnames, "multiple-cnames"); -@@ -1537,4 +1540,7 @@ +@@ -1573,4 +1576,7 @@ opts->maintain_ixfr_base = NULL; opts->has_old_clients = NULL; +#ifdef WITH_MDN @@ -215,7 +215,7 @@ +#endif opts->auth_nx_domain = NULL; opts->multiple_cnames = NULL; -@@ -1649,4 +1655,7 @@ +@@ -1687,4 +1693,7 @@ FREEFIELD(maintain_ixfr_base); FREEFIELD(has_old_clients); +#ifdef WITH_MDN @@ -223,7 +223,7 @@ +#endif FREEFIELD(auth_nx_domain); FREEFIELD(multiple_cnames); -@@ -1825,4 +1834,7 @@ +@@ -1864,4 +1873,7 @@ BOOL_FUNCS(maintainixfrbase, maintain_ixfr_base) BOOL_FUNCS(hasoldclients, has_old_clients) +#ifdef WITH_MDN @@ -231,15 +231,15 @@ +#endif BOOL_FUNCS(authnxdomain, auth_nx_domain) BOOL_FUNCS(multiplecnames, multiple_cnames) ---- ./lib/dns/config/confparser.y.orig Fri Dec 1 17:13:00 2000 -+++ ./lib/dns/config/confparser.y Fri Dec 1 17:16:36 2000 -@@ -269,4 +269,5 @@ +--- ./lib/dns/config/confparser.y.orig Thu Dec 21 10:46:17 2000 ++++ ./lib/dns/config/confparser.y Thu Dec 21 10:53:18 2000 +@@ -270,4 +270,5 @@ %token L_ALLOW_UPDATE %token L_ALLOW_UPDATE_FORWARDING +%token L_ALLOW_UTF8 %token L_ALSO_NOTIFY %token L_AUTH_NXDOMAIN -@@ -1677,4 +1678,19 @@ +@@ -1718,4 +1719,19 @@ } } + | L_ALLOW_UTF8 yea_or_nay @@ -259,7 +259,7 @@ + } | L_ADDITIONAL_DATA additional_data { -@@ -5949,4 +5965,7 @@ +@@ -6097,4 +6113,7 @@ { "allow-update", L_ALLOW_UPDATE }, { "allow-update-forwarding", L_ALLOW_UPDATE_FORWARDING }, +#ifdef WITH_MDN @@ -267,8 +267,8 @@ +#endif { "also-notify", L_ALSO_NOTIFY }, { "auth-nxdomain", L_AUTH_NXDOMAIN }, ---- ./lib/dns/include/dns/confctx.h.orig Fri Dec 1 16:45:40 2000 -+++ ./lib/dns/include/dns/confctx.h Fri Dec 1 16:47:35 2000 +--- ./lib/dns/include/dns/confctx.h.orig Thu Dec 21 10:44:45 2000 ++++ ./lib/dns/include/dns/confctx.h Thu Dec 21 10:53:18 2000 @@ -185,4 +185,7 @@ isc_sockaddr_t *transfer_source_v6; isc_sockaddr_t *query_source; @@ -277,7 +277,7 @@ +#endif isc_sockaddr_t *query_source_v6; -@@ -625,4 +628,11 @@ +@@ -630,4 +633,11 @@ isc_result_t dns_c_ctx_gettreatcrasspace(dns_c_ctx_t *cfg, isc_boolean_t *retval); +#ifdef WITH_MDN @@ -289,8 +289,8 @@ +#endif ---- ./lib/dns/include/dns/name.h.orig Fri Dec 1 16:45:32 2000 -+++ ./lib/dns/include/dns/name.h Fri Dec 1 16:47:35 2000 +--- ./lib/dns/include/dns/name.h.orig Thu Dec 21 10:44:34 2000 ++++ ./lib/dns/include/dns/name.h Thu Dec 21 10:53:18 2000 @@ -220,4 +220,15 @@ #define DNS_NAME_MAXWIRE 255 @@ -332,8 +332,8 @@ +#endif /* WITH_MDN */ #define DNS_NAME_FORMATSIZE (DNS_NAME_MAXTEXT + 1) ---- ./lib/dns/name.c.orig Fri Dec 1 16:46:51 2000 -+++ ./lib/dns/name.c Fri Dec 1 16:47:35 2000 +--- ./lib/dns/name.c.orig Thu Dec 21 10:45:44 2000 ++++ ./lib/dns/name.c Thu Dec 21 12:14:44 2000 @@ -32,4 +32,8 @@ #include @@ -366,7 +366,7 @@ char num[4]; +#ifdef WITH_MDN + unsigned int oused = target->used; -+ int u8len; ++ unsigned int u8len; +#endif /* @@ -413,8 +413,8 @@ + totext_filter_proc = proc; +} +#endif ---- ./lib/lwres/getaddrinfo.c.orig Fri Dec 1 16:45:29 2000 -+++ ./lib/lwres/getaddrinfo.c Fri Dec 1 16:57:06 2000 +--- ./lib/lwres/getaddrinfo.c.orig Thu Dec 21 10:43:19 2000 ++++ ./lib/lwres/getaddrinfo.c Thu Dec 21 10:53:18 2000 @@ -54,4 +54,12 @@ #endif @@ -541,8 +541,8 @@ +#endif /* WITH_MDN */ addr = LWRES_LIST_HEAD(by->addrs); while (addr != NULL) { ---- ./lib/lwres/gethost.c.orig Fri Dec 1 16:45:28 2000 -+++ ./lib/lwres/gethost.c Fri Dec 1 16:47:35 2000 +--- ./lib/lwres/gethost.c.orig Thu Dec 21 10:43:17 2000 ++++ ./lib/lwres/gethost.c Thu Dec 21 10:53:18 2000 @@ -26,4 +26,7 @@ #include @@ -702,8 +702,8 @@ +#endif /* WITH_MDN */ if (he == NULL) return (NULL); ---- ./lib/lwres/getipnode.c.orig Fri Dec 1 16:45:28 2000 -+++ ./lib/lwres/getipnode.c Fri Dec 1 16:47:40 2000 +--- ./lib/lwres/getipnode.c.orig Thu Dec 21 10:43:18 2000 ++++ ./lib/lwres/getipnode.c Thu Dec 21 10:53:18 2000 @@ -99,6 +99,22 @@ */ @@ -795,8 +795,8 @@ +#endif /* WITH_MDN */ if (n != 0) { *error_num = HOST_NOT_FOUND; ---- ./lib/lwres/getnameinfo.c.orig Fri Dec 1 16:45:29 2000 -+++ ./lib/lwres/getnameinfo.c Fri Dec 1 16:47:40 2000 +--- ./lib/lwres/getnameinfo.c.orig Thu Dec 21 10:43:19 2000 ++++ ./lib/lwres/getnameinfo.c Thu Dec 21 10:53:19 2000 @@ -106,8 +106,24 @@ } while (0) @@ -835,8 +835,8 @@ +#endif /* WITH_MDN */ if (n == 0) { if (flags & NI_NOFQDN) { ---- ./lib/lwres/include/lwres/lwres.h.orig Fri Dec 1 16:45:27 2000 -+++ ./lib/lwres/include/lwres/lwres.h Fri Dec 1 16:47:40 2000 +--- ./lib/lwres/include/lwres/lwres.h.orig Thu Dec 21 10:43:16 2000 ++++ ./lib/lwres/include/lwres/lwres.h Thu Dec 21 10:53:19 2000 @@ -27,4 +27,7 @@ #include #include @@ -845,7 +845,7 @@ +#endif /* WITH_MDN */ /* -@@ -248,4 +251,7 @@ +@@ -247,4 +250,7 @@ lwres_uint8_t ndots; /* set to n in 'options ndots:n' */ lwres_uint8_t no_tld_query; /* non-zero if 'options no_tld_query' */ +#ifdef WITH_MDN @@ -853,7 +853,7 @@ +#endif /* WITH_MDN */ } lwres_conf_t; -@@ -256,4 +262,10 @@ +@@ -255,4 +261,10 @@ #define LWRES_MAX_ADDRS 64 /* max # of addrs */ +#ifdef WITH_MDN @@ -864,7 +864,7 @@ + LWRES_LANG_BEGINDECLS -@@ -265,4 +277,30 @@ +@@ -264,4 +276,30 @@ extern const char *lwres_resolv_conf; +#ifdef WITH_MDN @@ -895,7 +895,7 @@ + lwres_result_t lwres_gabnrequest_render(lwres_context_t *ctx, lwres_gabnrequest_t *req, -@@ -278,7 +316,13 @@ +@@ -277,7 +315,13 @@ lwres_result_t +#ifdef WITH_MDN @@ -909,7 +909,7 @@ +#endif /* WITH_MDN */ void -@@ -333,8 +377,15 @@ +@@ -332,8 +376,15 @@ lwres_lwpacket_t *pkt, lwres_gnbarequest_t **structp); +#ifdef WITH_MDN @@ -925,7 +925,7 @@ +#endif /* WITH_MDN */ void -@@ -571,4 +622,10 @@ +@@ -570,4 +621,10 @@ lwres_getaddrsbyname(lwres_context_t *ctx, const char *name, lwres_uint32_t addrtypes, lwres_gabnresponse_t **structp); +#ifdef WITH_MDN @@ -936,7 +936,7 @@ +#endif /* WITH_MDN */ lwres_result_t -@@ -576,4 +633,10 @@ +@@ -575,4 +632,10 @@ lwres_uint16_t addrlen, const unsigned char *addr, lwres_gnbaresponse_t **structp); +#ifdef WITH_MDN @@ -947,7 +947,7 @@ +#endif /* WITH_MDN */ lwres_result_t -@@ -581,4 +644,9 @@ +@@ -580,4 +643,9 @@ lwres_uint16_t rdclass, lwres_uint16_t rdtype, lwres_uint32_t flags, lwres_grbnresponse_t **structp); + @@ -957,8 +957,8 @@ +#endif LWRES_LANG_ENDDECLS ---- ./lib/lwres/lwconfig.c.orig Fri Dec 1 16:45:30 2000 -+++ ./lib/lwres/lwconfig.c Fri Dec 1 16:47:41 2000 +--- ./lib/lwres/lwconfig.c.orig Thu Dec 21 10:43:22 2000 ++++ ./lib/lwres/lwconfig.c Thu Dec 21 10:53:19 2000 @@ -56,4 +56,7 @@ #include #include @@ -991,8 +991,8 @@ +#endif return (ret); } ---- ./lib/lwres/lwres_gabn.c.orig Fri Dec 1 16:45:29 2000 -+++ ./lib/lwres/lwres_gabn.c Fri Dec 1 16:47:41 2000 +--- ./lib/lwres/lwres_gabn.c.orig Thu Dec 21 10:43:20 2000 ++++ ./lib/lwres/lwres_gabn.c Thu Dec 21 10:53:19 2000 @@ -28,4 +28,7 @@ #include #include @@ -1100,8 +1100,8 @@ +#endif /* WITH_MDN */ if (gabn->naliases > 0) { CTXFREE(gabn->aliases, sizeof(char *) * gabn->naliases); ---- ./lib/lwres/lwres_gnba.c.orig Fri Dec 1 16:45:29 2000 -+++ ./lib/lwres/lwres_gnba.c Fri Dec 1 16:47:41 2000 +--- ./lib/lwres/lwres_gnba.c.orig Thu Dec 21 10:43:20 2000 ++++ ./lib/lwres/lwres_gnba.c Thu Dec 21 10:53:19 2000 @@ -28,4 +28,7 @@ #include #include @@ -1209,8 +1209,8 @@ +#endif /* WITH_MDN */ if (gnba->naliases > 0) { CTXFREE(gnba->aliases, sizeof(char *) * gnba->naliases); ---- ./lib/lwres/lwresutil.c.orig Fri Dec 1 16:45:30 2000 -+++ ./lib/lwres/lwresutil.c Fri Dec 1 16:47:41 2000 +--- ./lib/lwres/lwresutil.c.orig Thu Dec 21 10:43:21 2000 ++++ ./lib/lwres/lwresutil.c Thu Dec 21 10:53:19 2000 @@ -33,4 +33,7 @@ #include #include @@ -1357,8 +1357,8 @@ +#endif lwres_result_t ---- ./bin/dig/dighost.c.orig Fri Dec 1 16:45:10 2000 -+++ ./bin/dig/dighost.c Fri Dec 1 16:47:41 2000 +--- ./bin/dig/dighost.c.orig Thu Dec 21 10:42:00 2000 ++++ ./bin/dig/dighost.c Thu Dec 21 10:53:19 2000 @@ -33,8 +33,18 @@ #include #include @@ -1378,7 +1378,7 @@ + #include #include -@@ -129,4 +139,18 @@ +@@ -128,4 +138,18 @@ isc_uint32_t rr_limit = INT_MAX; +#ifdef WITH_MDN @@ -1397,7 +1397,7 @@ + /* * Apply and clear locks at the event level in global task. -@@ -690,4 +714,8 @@ +@@ -686,4 +710,8 @@ } +#ifdef WITH_MDN @@ -1406,7 +1406,7 @@ + if (keyfile[0] != 0) setup_file_key(); -@@ -1241,4 +1269,9 @@ +@@ -1221,4 +1249,9 @@ isc_buffer_t b; char store[MXNAME]; + char *textname; @@ -1416,7 +1416,7 @@ +#endif REQUIRE(lookup != NULL); -@@ -1277,5 +1310,14 @@ +@@ -1257,5 +1290,14 @@ */ /* XXX New search here? */ - if ((count_dots(lookup->textname) >= ndots) || lookup->defname) @@ -1432,7 +1432,7 @@ + if ((count_dots(textname) >= ndots) || lookup->defname) lookup->origin = NULL; /* Force abs lookup */ else if (lookup->origin == NULL && lookup->new_search && -@@ -1299,4 +1341,22 @@ +@@ -1279,4 +1321,22 @@ if (lookup->origin != NULL) { debug("trying origin %s", lookup->origin->origin); +#ifdef WITH_MDN @@ -1455,7 +1455,7 @@ +#else result = dns_message_gettempname(lookup->sendmsg, &lookup->oname); -@@ -1337,7 +1397,26 @@ +@@ -1317,7 +1377,26 @@ } dns_message_puttempname(lookup->sendmsg, &lookup->oname); +#endif @@ -1482,13 +1482,13 @@ +#else len = strlen(lookup->textname); isc_buffer_init(&b, lookup->textname, len); -@@ -1347,4 +1426,5 @@ +@@ -1327,4 +1406,5 @@ ISC_FALSE, &lookup->namebuf); +#endif } else { dns_name_clone(dns_rootname, lookup->name); -@@ -2819,2 +2899,123 @@ +@@ -2754,2 +2834,123 @@ isc_mem_destroy(&mctx); } + @@ -1612,38 +1612,40 @@ +} + +#endif /* WITH_MDN */ ---- ./bin/named/Makefile.in.orig Fri Dec 1 16:47:28 2000 -+++ ./bin/named/Makefile.in Fri Dec 1 16:59:08 2000 -@@ -49,8 +49,10 @@ - LWRESDEPLIBS = ../../lib/lwres/liblwres.@A@ +--- ./bin/named/Makefile.in.orig Thu Dec 21 10:41:20 2000 ++++ ./bin/named/Makefile.in Thu Dec 21 11:42:23 2000 +@@ -34,5 +34,5 @@ + CINCLUDES = -I${srcdir}/include -I${srcdir}/unix/include \ + ${LWRES_INCLUDES} ${DNS_INCLUDES} ${ISC_INCLUDES} \ +- ${OMAPI_INCLUDES} ${DBDRIVER_INCLUDES} ++ ${OMAPI_INCLUDES} ${DBDRIVER_INCLUDES} \ -+ICONVLIB = @ICONVLIB@ -+ - DEPLIBS = ${LWRESDEPLIBS} ${OMAPIDEPLIBS} ${DNSDEPLIBS} ${ISCDEPLIBS} + CDEFINES = +@@ -52,5 +52,5 @@ LIBS = ${LWRESLIBS} ${OMAPILIBS} ${DNSLIBS} ${ISCLIBS} \ - ${DBDRIVER_LIBS} @LIBS@ + ${DBDRIVER_LIBS} ${ICONVLIB} @LIBS@ SUBDIRS = unix -@@ -64,5 +66,5 @@ +@@ -64,5 +64,5 @@ zoneconf.@O@ \ lwaddr.@O@ lwresd.@O@ lwdclient.@O@ lwderror.@O@ lwdgabn.@O@ \ - lwdgnba.@O@ lwdgrbn.@O@ lwdnoop.@O@ lwsearch.@O@ \ + lwdgnba.@O@ lwdgrbn.@O@ lwdmdn.@O@ lwdnoop.@O@ lwsearch.@O@ \ $(DBDRIVER_OBJS) -@@ -75,5 +77,5 @@ +@@ -75,5 +75,5 @@ zoneconf.c \ lwaddr.c lwresd.c lwdclient.c lwderror.c lwdgabn.c \ - lwdgnba.c lwdgrbn.c lwdnoop.c lwsearch.c \ + lwdgnba.c lwdgrbn.c lwdmdn.c lwdnoop.c lwsearch.c \ $(DBDRIVER_SRCS) ---- ./bin/named/include/named/globals.h.orig Fri Dec 1 16:45:11 2000 -+++ ./bin/named/include/named/globals.h Fri Dec 1 16:47:41 2000 -@@ -109,4 +109,12 @@ - EXTERN const char * ns_g_cachefile INIT(NULL); +--- ./bin/named/include/named/globals.h.orig Thu Dec 21 10:41:03 2000 ++++ ./bin/named/include/named/globals.h Thu Dec 21 10:53:19 2000 +@@ -104,4 +104,12 @@ + EXTERN const char * ns_g_username INIT(NULL); +#ifdef WITH_MDN +/* @@ -1655,10 +1657,10 @@ + #undef EXTERN #undef INIT ---- ./bin/named/include/named/lwdmdn.h.orig Fri Dec 1 16:47:41 2000 -+++ ./bin/named/include/named/lwdmdn.h Fri Dec 1 16:47:41 2000 +--- ./bin/named/include/named/lwdmdn.h.orig Thu Dec 21 10:53:19 2000 ++++ ./bin/named/include/named/lwdmdn.h Thu Dec 21 10:53:19 2000 @@ -0,0 +1,23 @@ -+/* $Id: lwdmdn.h,v 1.1 2000/08/16 08:55:32 ishisone Exp $ */ ++/* $Id: patch.most,v 1.1 2000/12/07 00:52:27 tale Exp $ */ + +#ifndef NAMED_LWDMDN_H +#define NAMED_LWDMDN_H @@ -1681,8 +1683,8 @@ + +#endif /* NAMED_LWDMDN_H */ + ---- ./bin/named/lwdgabn.c.orig Fri Dec 1 16:45:17 2000 -+++ ./bin/named/lwdgabn.c Fri Dec 1 16:47:41 2000 +--- ./bin/named/lwdgabn.c.orig Thu Dec 21 10:41:14 2000 ++++ ./bin/named/lwdgabn.c Thu Dec 21 10:53:19 2000 @@ -35,4 +35,7 @@ #include #include @@ -1801,8 +1803,8 @@ +#endif if (result != ISC_R_SUCCESS) goto out; ---- ./bin/named/lwdgnba.c.orig Fri Dec 1 16:45:17 2000 -+++ ./bin/named/lwdgnba.c Fri Dec 1 16:47:41 2000 +--- ./bin/named/lwdgnba.c.orig Thu Dec 21 10:41:15 2000 ++++ ./bin/named/lwdgnba.c Thu Dec 21 10:53:20 2000 @@ -30,4 +30,7 @@ #include #include @@ -1843,10 +1845,10 @@ +#endif ns_lwdclient_log(50, "found name '%.*s'", client->recv_buffer.used - b.used, ---- ./bin/named/lwdmdn.c.orig Fri Dec 1 16:47:41 2000 -+++ ./bin/named/lwdmdn.c Fri Dec 1 16:47:41 2000 -@@ -0,0 +1,281 @@ -+/* $Id: lwdmdn.c,v 1.6 2000/09/07 06:27:40 ishisone Exp $ */ +--- ./bin/named/lwdmdn.c.orig Thu Dec 21 10:53:20 2000 ++++ ./bin/named/lwdmdn.c Thu Dec 21 11:56:00 2000 +@@ -0,0 +1,283 @@ ++/* $Id: patch.most,v 1.1 2000/12/07 00:52:27 tale Exp $ */ + +#include + @@ -1867,7 +1869,9 @@ + +#include +#include ++#ifdef WITH_MDN +#include ++#endif +#include +#include + @@ -2127,8 +2131,8 @@ +} + +#endif /* WITH_MDN */ ---- ./bin/named/lwresd.c.orig Fri Dec 1 16:45:17 2000 -+++ ./bin/named/lwresd.c Fri Dec 1 16:47:41 2000 +--- ./bin/named/lwresd.c.orig Thu Dec 21 10:41:16 2000 ++++ ./bin/named/lwresd.c Thu Dec 21 10:53:20 2000 @@ -47,4 +47,7 @@ #include #include @@ -2149,8 +2153,8 @@ +#endif if (lwres->searchlist != NULL) { ---- ./bin/named/main.c.orig Fri Dec 1 16:45:13 2000 -+++ ./bin/named/main.c Fri Dec 1 16:47:42 2000 +--- ./bin/named/main.c.orig Thu Dec 21 10:41:26 2000 ++++ ./bin/named/main.c Thu Dec 21 10:53:20 2000 @@ -277,5 +277,9 @@ isc_commandline_errprint = ISC_FALSE; while ((ch = isc_commandline_parse(argc, argv,