configure.in 26.8 KB
Newer Older
Bob Halley's avatar
Bob Halley committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14
dnl Copyright (C) 1998, 1999, 2000  Internet Software Consortium.
dnl 
dnl Permission to use, copy, modify, and distribute this software for any
dnl purpose with or without fee is hereby granted, provided that the above
dnl copyright notice and this permission notice appear in all copies.
dnl 
dnl THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS
dnl ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
dnl OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE
dnl CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
dnl DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
dnl PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
dnl ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
dnl SOFTWARE.
15

16
AC_REVISION($Revision: 1.148 $)
17

Bob Halley's avatar
Bob Halley committed
18
AC_PREREQ(2.13)
Bob Halley's avatar
Bob Halley committed
19 20 21 22 23 24

AC_INIT(lib/dns/name.c)
AC_CONFIG_HEADER(config.h)

AC_CANONICAL_HOST

25 26 27 28 29 30 31 32
AC_PROG_MAKE_SET
AC_PROG_RANLIB
AC_PROG_INSTALL

AC_SUBST(STD_CINCLUDES)
AC_SUBST(STD_CDEFINES)
AC_SUBST(STD_CWARNINGS)

David Lawrence's avatar
David Lawrence committed
33 34 35 36 37
AC_PATH_PROG(AR, ar)
ARFLAGS="cruv"
AC_SUBST(AR)
AC_SUBST(ARFLAGS)

38 39 40 41 42 43 44 45 46 47
case "$AR" in
	"")
		AC_MSG_ERROR([
ar program not found.  Please fix your PATH to include the directory in
which ar resides, or set AR in the environment with the full path to ar.
])

		;;
esac

48 49 50
AC_PATH_PROGS(ETAGS, etags emacs-etags)
AC_SUBST(ETAGS)

51 52 53 54 55 56
#
# Perl is optional; it is used only by some of the system test scripts.
#
AC_PATH_PROGS(PERL, perl5 perl)
AC_SUBST(PERL)

57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76
#
# Special processing of paths depending on whether --prefix,
# --sysconfdir or --localstatedir arguments were given.  What's
# desired is some compatability with the way previous versions
# of BIND built; they defaulted to /usr/local for most parts of
# the installation, but named.boot/named.conf was in /etc
# and named.pid was in /var/run.
#
# So ... if none of --prefix, --sysconfdir or --localstatedir are
# specified, set things up that way.  If --prefix is given, use
# it for sysconfdir and localstatedir the way configure normally
# would.  To change the prefix for everything but leave named.conf
# in /etc or named.pid in /var/run, then do this the usual configure way:
# ./configure --prefix=/somewhere --sysconfdir=/etc
# ./configure --prefix=/somewhere --localstatedir=/var
#
# To put named.conf and named.pid in /usr/local with everything else,
# set the prefix explicitly to /usr/local even though that's the default:
# ./configure --prefix=/usr/local
#
77 78 79 80 81 82 83 84 85 86 87 88 89 90 91
case "$prefix" in
        NONE)
                case "$sysconfdir" in
                        '${prefix}/etc')
                                sysconfdir=/etc
                                ;;
                esac
                case "$localstatedir" in
                        '${prefix}/var')
                                localstatedir=/var
                                ;;
                esac
                ;;
esac

92 93 94 95 96 97 98 99
#
# Make sure INSTALL uses an absolute path, else it will be wrong in all
# Makefiles, since they use make/rules.in and INSTALL will be adjusted by
# configure based on the location of the file where it is substituted.
# Since in BIND9 INSTALL is only substituted into make/rules.in, an immediate
# subdirectory of install-sh, This relative path will be wrong for all
# directories more than one level down from install-sh.
#
100 101 102 103
case "$INSTALL" in
	/*)
                ;;
        *)
104 105 106
                #
                # Not all systems have dirname.
                #
107 108 109 110 111 112 113 114 115 116 117
                changequote({, })
                ac_dir="`echo $INSTALL | sed 's%/[^/]*$%%'`"
                changequote([, ])

                ac_prog="`echo $INSTALL | sed 's%.*/%%'`"
                test "$ac_dir" = "$ac_prog" && ac_dir=.
                test -d "$ac_dir" && ac_dir="`(cd \"$ac_dir\" && pwd)`"
                INSTALL="$ac_dir/$ac_prog"
                ;;
esac

118 119 120 121 122 123 124 125
#
# On these hosts, we really want to use cc, not gcc, even if it is
# found.  The gcc that these systems have will not correctly handle
# pthreads.
#
# However, if the user sets $CC to be something, let that override
# our change.
#
126 127 128 129 130
if test "X$CC" = "X" ; then
	case "$host" in
		*-dec-osf*)
			CC="cc"
			;;
131
		*-solaris*)
132 133 134 135 136 137
                        # Use Sun's cc if it is available, but watch
                        # out for /usr/ucb/cc; it will never be the right
                        # compiler to use.
                        #
                        # If setting CC here fails, the AC_PROG_CC done
                        # below might still find gcc.
138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153
			IFS="${IFS=	}"; ac_save_ifs="$IFS"; IFS=":"
			for ac_dir in $PATH; do
				test -z "$ac_dir" && ac_dir=.
				case "$ac_dir" in
				/usr/ucb)
					# exclude
					;;
				*)
					if test -f "$ac_dir/cc"; then
						CC="$ac_dir/cc"
						break
					fi
					;;
				esac
			done
			IFS="$ac_save_ifs"
154 155 156 157 158 159 160 161 162 163
			;;
		*-hp-hpux*)
			CC="cc"
			;;
		mips-sgi-irix*)
			CC="cc"
			;;
	esac
fi

164 165 166 167 168
#
# Find the machine's endian flavor.
#
AC_C_BIGENDIAN

169 170 171 172 173 174
#
# If the user didn't specify where openssl is, and we didn't find or it
# is imcompatible with our code, use our internal one.
# XXXMLG Implement this check!
#
AC_MSG_CHECKING(for compatible OpenSSL library)
175

176 177
DST_PRIVATEOPENSSL='-DDST_USE_PRIVATE_OPENSSL'
dst_privateopenssl='openssl'
178 179 180
DST_OPENSSL_INC='-I${srcdir}/../openssl/include'
DST_OPENSSL_LIB=''
DST_OPENSSL_OBJS='${OPENSSLOBJS}'
181
AC_MSG_RESULT(using private library)
182

183 184
AC_SUBST(DST_PRIVATEOPENSSL)
AC_SUBST(dst_privateopenssl)
185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204
AC_SUBST(DST_OPENSSL_INC)
AC_SUBST(DST_OPENSSL_LIB)
AC_SUBST(DST_OPENSSL_OBJS)

#
# This would include the system openssl path (and linker options to use
# it as needed) if it is found.
#

DNS_OPENSSL_LIBS=""
AC_SUBST(DNS_OPENSSL_LIBS)

#
# testing with alternate openssl libraries...  XXXMLG
#
# DNS_OPENSSL_LIBS="-L/usr/pkg/lib -lssl -lcrypto"
# DST_PRIVATEOPENSSL=''
# dst_privateopenssl=''
# DST_OPENSSL_INC='-I/usr/pkg/include'
# DST_OPENSSL_LIB=''
205
#
206

207
#
208 209 210 211 212 213
# NetBSD has multiple pthreads implementations.  The recommended
# one to use is "unproven-pthreads".  The older "mit-pthreads" 
# may also work on some NetBSD versions.  The PTL2 thread
# library does not currently work with bind9, but can be
# chosen with the --with-ptl2 option for those who wish to
# experiment with it.
214
#
215

216 217 218
case "$host" in
  *-netbsd*)
	CC="gcc"
219
	AC_MSG_CHECKING(which NetBSD thread library to use)
220 221

	AC_ARG_WITH(ptl2,
222
[  --with-ptl2		on NetBSD, use the ptl2 thread library (experimental)],
223 224
	    use_ptl2="$withval", use_ptl2="no")

225 226
        : ${LOCALBASE:=/usr/pkg}

227 228 229 230 231 232 233 234
	if test "X$use_ptl2" = "Xyes"
	then
		AC_MSG_RESULT(PTL2)
		AC_MSG_WARN(
[linking with PTL2 is highly experimental and not expected to work])
		CC=ptlgcc
	else
		AC_MSG_RESULT(mit-pthreads/unproven-pthreads)
235

236 237 238
		if test ! -d $LOCALBASE/pthreads
		then
			AC_MSG_ERROR([no thread library found.
239

240
Please install the devel/unproven-pthreads package and rerun configure.
241
])
242 243 244 245 246 247 248 249 250 251
		fi

		pkg="$LOCALBASE/pthreads"
		lib1="-L$pkg/lib -Wl,-R$pkg/lib"
		lib2="-lpthread -lm -lgcc -lpthread"
		LIBS="$lib1 $lib2 $LIBS"
		CPPFLAGS="$CPPFLAGS -I$pkg/include"
		STD_CINCLUDES="$STD_CINCLUDES -I$pkg/include"
	fi
	;;
252 253
esac

Bob Halley's avatar
Bob Halley committed
254
AC_PROG_CC
James Brister's avatar
James Brister committed
255
AC_PROG_YACC
Bob Halley's avatar
Bob Halley committed
256 257 258

AC_HEADER_STDC

259
AC_CHECK_HEADERS(fcntl.h sys/time.h unistd.h sys/sockio.h)
260

Bob Halley's avatar
Bob Halley committed
261 262 263 264 265
AC_C_CONST
AC_C_INLINE
AC_TYPE_SIZE_T
AC_HEADER_TIME

Bob Halley's avatar
Bob Halley committed
266 267
AC_CHECK_LIB(pthread, pthread_create,,
             AC_CHECK_LIB(pthread, __pthread_create)
Bob Halley's avatar
Bob Halley committed
268
             AC_CHECK_LIB(pthread, __pthread_create_system)
Bob Halley's avatar
Bob Halley committed
269
)
270

271 272 273
#
# We'd like to use sigwait() too
#
274
AC_CHECK_LIB(c, sigwait,
275
	     AC_DEFINE(HAVE_SIGWAIT),
276 277 278 279
             AC_CHECK_LIB(pthread, sigwait,
			  AC_DEFINE(HAVE_SIGWAIT),
			  AC_CHECK_LIB(pthread, _Psigwait,
				       AC_DEFINE(HAVE_SIGWAIT),))
280 281
)

282
#
283
# Additional OS-specific issues related to pthreads and sigwait.
284
#
Bob Halley's avatar
Bob Halley committed
285
case "$host" in
286 287 288
        #
        # One more place to look for sigwait.
        #
Bob Halley's avatar
Bob Halley committed
289 290 291
	*-freebsd*)
		AC_CHECK_LIB(c_r, sigwait, AC_DEFINE(HAVE_SIGWAIT),)
		;;
292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307
        #
        # BSDI 3.1 through 4.0.1 needs pthread_init() to be called before
        # certain pthreads calls.  This is deprecated in BSD/OS 4.1.
        #
	*-bsdi3.1*|*-bsdi4.0*)
		AC_DEFINE(NEED_PTHREAD_INIT)
		;;
        #
        # LinuxThreads requires some changes to the way we deal with signals.
        #
	*-linux*)
		AC_DEFINE(HAVE_LINUXTHREADS)
		;;
        #
        # Ensure the right sigwait() semantics on Solaris.
        #
308
	*-solaris*)
309 310
		AC_DEFINE(_POSIX_PTHREAD_SEMANTICS)
		;;
311 312 313 314 315 316
        #
        # UnixWare does things its own way.
        #
        *-UnixWare*)
		AC_DEFINE(HAVE_UNIXWARE_SIGWAIT)
		;;
317 318
esac

319 320 321
#
# NLS
#
Bob Halley's avatar
Bob Halley committed
322 323
AC_CHECK_FUNC(catgets, AC_DEFINE(HAVE_CATGETS),)

324 325 326 327 328 329 330 331 332 333
#
# -lxnet buys us one big porting headache...  standards, gotta love 'em.
#
# AC_CHECK_LIB(xnet, socket, ,
#    AC_CHECK_LIB(socket, socket)
#    AC_CHECK_LIB(nsl, inet_ntoa)
# )
#
# Use this for now, instead:
#
334 335 336 337 338 339 340 341
case "$host" in
	mips-sgi-irix*)
		;;
	*)
		AC_CHECK_LIB(socket, socket)
		AC_CHECK_LIB(nsl, inet_ntoa)
		;;
esac
Michael Graff's avatar
Michael Graff committed
342

Bob Halley's avatar
Bob Halley committed
343 344
MKDEPCC="$CC"
MKDEPCFLAGS="-M"
345
IRIX_DNSSEC_WARNINGS_HACK=""
Bob Halley's avatar
Bob Halley committed
346
if test "X$GCC" = "Xyes"; then
347
	STD_CWARNINGS="$STD_CWARNINGS -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings"
348
	case "$host" in
349 350 351 352
		*-freebsd*)
			CC="$CC -pthread"
			STD_CDEFINES="$STD_CDEFINES -D_THREAD_SAFE"
			;;
353 354 355
		*-openbsd*)
			CC="$CC -pthread"
			;;
356
		*-solaris*)
357 358
			LIBS="$LIBS -lthread"
			;;
Michael Graff's avatar
Michael Graff committed
359 360 361
		*-ibm-aix*)
			STD_CDEFINES="$STD_CDEFINES -D_THREAD_SAFE"
			;;
362
	esac
Bob Halley's avatar
Bob Halley committed
363 364
else
	case "$host" in
Bob Halley's avatar
Bob Halley committed
365
		*-dec-osf*)
366
			CC="$CC -std -pthread"
Bob Halley's avatar
Bob Halley committed
367
			MKDEPCC="$CC"
Bob Halley's avatar
Bob Halley committed
368
			;;
369
		*-solaris*)
370
			CC="$CC -mt"
Bob Halley's avatar
Bob Halley committed
371 372
			MKDEPCC="$CC"
			MKDEPCFLAGS="-xM"
373
			;;
Bob Halley's avatar
Bob Halley committed
374
		*-hp-hpux*)
375 376
			CC="$CC -Ae -z +w1"
                        LIBS="-Wl,+vnocompatwarnings $LIBS"
Bob Halley's avatar
Bob Halley committed
377
			MKDEPPROG='cc -Ae -E -Wp,-M >/dev/null 2>>$TMP'
Bob Halley's avatar
Bob Halley committed
378
			;;
379
                *-sgi-irix*)
380
			STD_CWARNINGS="-fullwarn -woff 1209"
381
                        #
382
                        # Silence more than 250 instances of
383 384 385
                        #   "prototyped function redeclared without prototype"
                        # and 11 instances of
                        #   "variable ... was set but never used"
386
                        # from lib/dns/sec/{dnssafe,openssl}.
387 388
                        #
                        IRIX_DNSSEC_WARNINGS_HACK="-woff 1692,1552"
389
                        ;;
Michael Graff's avatar
Michael Graff committed
390 391 392
		*-ibm-aix*)
			STD_CDEFINES="$STD_CDEFINES -D_THREAD_SAFE"
			;;
393 394 395 396 397
		*-UnixWare*)
			CC="$CC -Kthread -w"
			MKDEPCC="$CC"
			YACC="yacc"	# bison calls alloca, avoid on UnixWare
			;;
Bob Halley's avatar
Bob Halley committed
398 399
	esac
fi
Bob Halley's avatar
Bob Halley committed
400 401 402
AC_SUBST(MKDEPCC)
AC_SUBST(MKDEPCFLAGS)
AC_SUBST(MKDEPPROG)
403
AC_SUBST(IRIX_DNSSEC_WARNINGS_HACK)
404

405 406 407
#
# Networking specifics.
#
Bob Halley's avatar
Bob Halley committed
408
case "$host" in
409
	*-dec-osf*)
410
		# Turn on 4.4BSD style sa_len support.
411
		AC_DEFINE(_SOCKADDR_LEN)
412
		;;
Bob Halley's avatar
Bob Halley committed
413
esac
Bob Halley's avatar
Bob Halley committed
414

415 416 417
#
# Look for a 4.4BSD-style sa_len member in struct sockaddr.
#
418
AC_MSG_CHECKING(for sa_len in struct sockaddr)
419 420 421
AC_TRY_COMPILE([
#include <sys/types.h>
#include <sys/socket.h>],
422
[struct sockaddr sa; sa.sa_len = 0; return (0);],
423
	[AC_MSG_RESULT(yes)
424 425
	ISC_PLATFORM_HAVESALEN="#define ISC_PLATFORM_HAVESALEN 1"
	LWRES_PLATFORM_HAVESALEN="#define LWRES_PLATFORM_HAVESALEN 1"],
426
	[AC_MSG_RESULT(no)
427 428
	ISC_PLATFORM_HAVESALEN="#undef ISC_PLATFORM_HAVESALEN"
	LWRES_PLATFORM_HAVESALEN="#undef LWRES_PLATFORM_HAVESALEN"])
429
AC_SUBST(ISC_PLATFORM_HAVESALEN)
430
AC_SUBST(LWRES_PLATFORM_HAVESALEN)
431

432 433 434
#
# Look for a 4.4BSD or 4.3BSD struct msghdr
#
435 436 437 438 439 440
AC_MSG_CHECKING(for struct msghdr flavor)
AC_TRY_COMPILE([
#include <sys/types.h>
#include <sys/socket.h>],
[struct msghdr msg; msg.msg_flags = 0; return (0);],
	[AC_MSG_RESULT(4.4BSD)
441
	ISC_PLATFORM_MSGHDRFLAVOR="#define ISC_NET_BSD44MSGHDR 1"],
442
	[AC_MSG_RESULT(4.3BSD)
443 444
	ISC_PLATFORM_MSGHDRFLAVOR="#define ISC_NET_BSD43MSGHDR 1"])
AC_SUBST(ISC_PLATFORM_MSGHDRFLAVOR)
445

446 447 448
#
# Look for in_port_t.
#
449 450
AC_MSG_CHECKING(for type in_port_t)
AC_TRY_COMPILE([
451
#include <sys/types.h>
452 453 454
#include <netinet/in.h>],
[in_port_t port = 25; return (0);],
	[AC_MSG_RESULT(yes)
455
	ISC_PLATFORM_NEEDPORTT="#undef ISC_PLATFORM_NEEDPORTT"],
456
        [AC_MSG_RESULT(no)
457 458
	ISC_PLATFORM_NEEDPORTT="#define ISC_PLATFORM_NEEDPORTT 1"])
AC_SUBST(ISC_PLATFORM_NEEDPORTT)
459

460 461 462
#
# Check for addrinfo
#
Mark Andrews's avatar
Mark Andrews committed
463 464 465 466 467
AC_MSG_CHECKING(for struct addrinfo)
AC_TRY_COMPILE([
#include <netdb.h>],
[struct addrinfo a; return (0);],
	[AC_MSG_RESULT(yes)
468 469
	ISC_LWRES_NEEDADDRINFO="#undef ISC_LWRES_NEEDADDRINFO"
	AC_DEFINE(HAVE_ADDRINFO)],
Mark Andrews's avatar
Mark Andrews committed
470 471
	[AC_MSG_RESULT(no)
	ISC_LWRES_NEEDADDRINFO="#define ISC_LWRES_NEEDADDRINFO 1"])
472 473 474 475 476 477 478 479 480 481 482 483 484 485 486
AC_SUBST(ISC_LWRES_NEEDADDRINFO)

AC_MSG_CHECKING(for int sethostent)
AC_TRY_COMPILE([
#include <netdb.h>],
[int i = sethostent(0); return(0);],
	[AC_MSG_RESULT(yes)
	ISC_LWRES_SETHOSTENTINT="#define ISC_LWRES_SETHOSTENTINT 1"],
	[AC_MSG_RESULT(no)
	ISC_LWRES_SETHOSTENTINT="#undef ISC_LWRES_SETHOSTENTINT"])
AC_SUBST(ISC_LWRES_SETHOSTENTINT)

AC_MSG_CHECKING(for int endhostent)
AC_TRY_COMPILE([
#include <netdb.h>],
Mark Andrews's avatar
Mark Andrews committed
487
[int i = endhostent(); return(0);],
488 489 490 491 492 493
	[AC_MSG_RESULT(yes)
	ISC_LWRES_ENDHOSTENTINT="#define ISC_LWRES_ENDHOSTENTINT 1"],
	[AC_MSG_RESULT(no)
	ISC_LWRES_ENDHOSTENTINT="#undef ISC_LWRES_ENDHOSTENTINT"])
AC_SUBST(ISC_LWRES_ENDHOSTENTINT)

494 495 496 497 498 499 500 501 502 503 504
AC_MSG_CHECKING(for getnetbyaddr(in_addr_t, ...))
AC_TRY_COMPILE([
#include <netdb.h>
struct netent *getnetbyaddr(in_addr_t, int);],
[],
	[AC_MSG_RESULT(yes)
	ISC_LWRES_GETNETBYADDRINADDR="#define ISC_LWRES_GETNETBYADDRINADDR 1"],
	[AC_MSG_RESULT(no)
	ISC_LWRES_GETNETBYADDRINADDR="#undef ISC_LWRES_GETNETBYADDRINADDR"])
AC_SUBST(ISC_LWRES_GETNETBYADDRINADDR)

505 506 507 508 509 510 511 512
AC_MSG_CHECKING(for int setnetent)
AC_TRY_COMPILE([
#include <netdb.h>],
[int i = setnetent(0); return(0);],
	[AC_MSG_RESULT(yes)
	ISC_LWRES_SETNETENTINT="#define ISC_LWRES_SETNETENTINT 1"],
	[AC_MSG_RESULT(no)
	ISC_LWRES_SETNETENTINT="#undef ISC_LWRES_SETNETENTINT"])
513 514
AC_SUBST(ISC_LWRES_SETNETENTINT)

Mark Andrews's avatar
Mark Andrews committed
515 516 517 518 519 520 521 522
AC_MSG_CHECKING(for int endnetent)
AC_TRY_COMPILE([
#include <netdb.h>],
[int i = endnetent(); return(0);],
	[AC_MSG_RESULT(yes)
	ISC_LWRES_ENDNETENTINT="#define ISC_LWRES_ENDNETENTINT 1"],
	[AC_MSG_RESULT(no)
	ISC_LWRES_ENDNETENTINT="#undef ISC_LWRES_ENDNETENTINT"])
523
AC_SUBST(ISC_LWRES_ENDNETENTINT)
Mark Andrews's avatar
Mark Andrews committed
524

Mark Andrews's avatar
Mark Andrews committed
525
AC_MSG_CHECKING(for gethostbyadd(const void *, size_t, ...))
526 527
AC_TRY_COMPILE([
#include <netdb.h>
Mark Andrews's avatar
Mark Andrews committed
528
struct hostent *gethostbyaddr(const void *, size_t, int);],
529 530 531 532 533
[return(0);],
	[AC_MSG_RESULT(yes)
	ISC_LWRES_GETHOSTBYADDRVOID="#define ISC_LWRES_GETHOSTBYADDRVOID 1"],
	[AC_MSG_RESULT(no)
	ISC_LWRES_GETHOSTBYADDRVOID="#undef ISC_LWRES_GETHOSTBYADDRVOID"])
534 535
AC_SUBST(ISC_LWRES_GETHOSTBYADDRVOID)

Mark Andrews's avatar
Mark Andrews committed
536 537 538 539 540 541 542 543 544 545
AC_MSG_CHECKING(for h_errno in netdb.h)
AC_TRY_COMPILE([
#include <netdb.h>],
[h_errno = 1; return(0);],
	[AC_MSG_RESULT(yes)
	ISC_LWRES_NEEDHERRNO="#undef ISC_LWRES_NEEDHERRNO"],
	[AC_MSG_RESULT(no)
	ISC_LWRES_NEEDHERRNO="#define ISC_LWRES_NEEDHERRNO 1"])
AC_SUBST(ISC_LWRES_NEEDHERRNO)

Mark Andrews's avatar
Mark Andrews committed
546 547 548 549 550 551 552
AC_CHECK_FUNC(getipnodebyname,
        [ISC_LWRES_GETIPNODEPROTO="#undef ISC_LWRES_GETIPNODEPROTO"],
        [ISC_LWRES_GETIPNODEPROTO="#define ISC_LWRES_GETIPNODEPROTO 1"])
AC_CHECK_FUNC(getnameinfo,
        [ISC_LWRES_GETNAMEINFOPROTO="#undef ISC_LWRES_GETNAMEINFOPROTO"],
        [ISC_LWRES_GETNAMEINFOPROTO="#define ISC_LWRES_GETNAMEINFOPROTO 1"])
AC_CHECK_FUNC(getaddrinfo,
553 554
        [ISC_LWRES_GETADDRINFOPROTO="#undef ISC_LWRES_GETADDRINFOPROTO"
	AC_DEFINE(HAVE_GETADDRINFO)],
Mark Andrews's avatar
Mark Andrews committed
555 556 557 558 559
        [ISC_LWRES_GETADDRINFOPROTO="#define ISC_LWRES_GETADDRINFOPROTO 1"])
AC_SUBST(ISC_LWRES_GETIPNODEPROTO)
AC_SUBST(ISC_LWRES_GETADDRINFOPROTO)
AC_SUBST(ISC_LWRES_GETNAMEINFOPROTO)

560 561 562
#
# Look for a sysctl call to get the list of network interfaces.
#
563 564 565 566 567 568 569 570 571 572 573 574 575
AC_MSG_CHECKING(for interface list sysctl)
AC_EGREP_CPP(found_rt_iflist, [
#include <sys/param.h>
#include <sys/sysctl.h>
#include <sys/socket.h>
#ifdef NET_RT_IFLIST
found_rt_iflist
#endif
],
	[AC_MSG_RESULT(yes)
	 AC_DEFINE(HAVE_IFLIST_SYSCTL)],
	[AC_MSG_RESULT(no)])

576 577 578
#
# GNU libtool support
#
Bob Halley's avatar
Bob Halley committed
579
AC_ARG_WITH(libtool,
580
	    [  --with-libtool	use GNU libtool (following indented options supported)],
Bob Halley's avatar
Bob Halley committed
581 582 583 584 585 586 587 588 589 590 591 592 593 594 595
	    use_libtool="$withval", use_libtool="no")

case $use_libtool in
	yes)
		AM_PROG_LIBTOOL
		O=lo
		A=la
		;;
	*)
		O=o
		A=a
		LIBTOOL=
		AC_SUBST(LIBTOOL)
		;;
esac
596 597 598 599 600

# File name extension for static archive files, for those few places
# where they are treated differently from dynamic ones.
SA=a

Bob Halley's avatar
Bob Halley committed
601 602
AC_SUBST(O)
AC_SUBST(A)
603
AC_SUBST(SA)
Bob Halley's avatar
Bob Halley committed
604

605 606 607
#
# IPv6
#
608 609 610
AC_ARG_ENABLE(ipv6,
	[  --enable-ipv6		use IPv6 [default=autodetect]])

611 612 613 614
#
# We do the IPv6 compilation checking after libtool so that we can put
# the right suffix on the files.
#
615 616 617 618
case "$enable_ipv6" in
	yes|''|autodetect)
		AC_MSG_CHECKING(for IPv6 structures)
		AC_TRY_COMPILE([
619 620 621
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>],
622 623 624 625 626 627 628 629 630 631 632
		[struct sockaddr_in6 sin6; return (0);],
			[AC_MSG_RESULT(yes)
			 found_ipv6=yes],
			[AC_MSG_RESULT(no)
			 found_ipv6=no])
		;;
	no)
		found_ipv6=no
		;;
esac

633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680
#
# See whether IPv6 support is provided via a Kame add-on.
# This is done before other IPv6 linking tests to LIBS is properly set.
#
AC_MSG_CHECKING(for Kame IPv6 support)
AC_ARG_WITH(kame,
	[  --with-kame[=PATH]	use Kame IPv6 [default path /usr/local/v6]],
	use_kame="$withval", use_kame="no")

case "$use_kame" in
	no)
		;;
	yes)
		kame_path=/usr/local/v6
		;;
	*)
		kame_path="$use_kame"
		;;
esac

case "$use_kame" in
	no)
		AC_MSG_RESULT(no)
		;;
	*)
		if test -f $kame_path/lib/libinet6.a; then
			AC_MSG_RESULT($kame_path/lib/libinet6.a)
			LIBS="-L$kame_path/lib -linet6 $LIBS"
		else
			AC_MSG_ERROR([$kame_path/lib/libinet6.a not found.

Please choose the proper path with the following command:

    configure --with-kame=PATH
])
		fi
		;;
esac

#
# Whether netinet6/in6.h is needed has to be defined in isc/platform.h.
# Including it on Kame-using platforms is very bad, though, because
# Kame uses #error against direct inclusion.   So include it on only
# the platform that is otherwise broken without it -- BSD/OS 4.0 through 4.1.
# This is done before the in6_pktinfo check because that's what
# netinet6/in6.h is needed for.
#
changequote({, })
681 682
case "$host" in
*-bsdi4.[01]*)
683 684
	ISC_PLATFORM_NEEDNETINET6IN6H="#define ISC_PLATFORM_NEEDNETINET6IN6H 1"
	LWRES_PLATFORM_NEEDNETINET6IN6H="#define LWRES_PLATFORM_NEEDNETINET6IN6H 1"
685
	isc_netinet6in6_hack="#include <netinet6/in6.h>"
686 687 688 689
	;;
*)
	ISC_PLATFORM_NEEDNETINET6IN6H="#undef ISC_PLATFORM_NEEDNETINET6IN6H"
	LWRES_PLATFORM_NEEDNETINET6IN6H="#undef LWRES_PLATFORM_NEEDNETINET6IN6H"
690
	isc_netinet6in6_hack=""
691 692 693 694
	;;
esac
changequote([, ])

695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710
#
# This is similar to the netinet6/in6.h issue.
#
case "$host" in
*-UnixWare*)
	ISC_PLATFORM_NEEDNETINETIN6H="#define ISC_PLATFORM_NEEDNETINETIN6H 1"
	LWRES_PLATFORM_NEEDNETINETIN6H="#define LWRES_PLATFORM_NEEDNETINETIN6H 1"
	isc_netinetin6_hack="#include <netinet/in6.h>"
	;;
*)
	ISC_PLATFORM_NEEDNETINETIN6H="#undef ISC_PLATFORM_NEEDNETINETIN6H"
	LWRES_PLATFORM_NEEDNETINETIN6H="#undef LWRES_PLATFORM_NEEDNETINETIN6H"
	isc_netinetin6_hack=""
	;;
esac

711 712 713
#
# Now delve deeper into the suitability of the IPv6 support.
#
714 715
case "$found_ipv6" in
	yes)
716 717
		ISC_PLATFORM_HAVEIPV6="#define ISC_PLATFORM_HAVEIPV6 1"
		LWRES_PLATFORM_HAVEIPV6="#define LWRES_PLATFORM_HAVEIPV6 1"
718
		AC_MSG_CHECKING(for in6addr_any)
719
		AC_TRY_LINK([
720 721
#include <sys/types.h>
#include <sys/socket.h>
722 723
#include <netinet/in.h>
$isc_netinetin6_hack],
724 725
		[struct in6_addr in6; in6 = in6addr_any; return (0);],
			[AC_MSG_RESULT(yes)
David Lawrence's avatar
David Lawrence committed
726 727
			 ISC_PLATFORM_NEEDIN6ADDRANY="#undef ISC_PLATFORM_NEEDIN6ADDRANY"
			 LWRES_PLATFORM_NEEDIN6ADDRANY="#undef LWRES_PLATFORM_NEEDIN6ADDRANY"],
728
			[AC_MSG_RESULT(no)
David Lawrence's avatar
David Lawrence committed
729 730
			 ISC_PLATFORM_NEEDIN6ADDRANY="#define ISC_PLATFORM_NEEDIN6ADDRANY 1"
			 LWRES_PLATFORM_NEEDIN6ADDRANY="#define LWRES_PLATFORM_NEEDIN6ADDRANY 1"])
Michael Graff's avatar
 
Michael Graff committed
731
		AC_MSG_CHECKING(for in6_pktinfo)
732
		AC_TRY_COMPILE([
Michael Graff's avatar
 
Michael Graff committed
733 734
#include <sys/types.h>
#include <sys/socket.h>
735
#include <netinet/in.h>
736 737
$isc_netinetin6_hack
$isc_netinet6in6_hack
738
],
Michael Graff's avatar
 
Michael Graff committed
739 740 741 742 743
		[struct in6_pktinfo xyzzy; return (0);],
			[AC_MSG_RESULT(yes)
			 ISC_PLATFORM_HAVEIN6PKTINFO="#define ISC_PLATFORM_HAVEIN6PKTINFO 1"],
			[AC_MSG_RESULT(no -- disabling runtime ipv6 support)
			 ISC_PLATFORM_HAVEIN6PKTINFO="#undef ISC_PLATFORM_HAVEIN6PKTINFO"])
744 745 746
		;;
	no)
		ISC_PLATFORM_HAVEIPV6="#undef ISC_PLATFORM_HAVEIPV6"
747
		LWRES_PLATFORM_HAVEIPV6="#undef LWRES_PLATFORM_HAVEIPV6"
748
		ISC_PLATFORM_NEEDIN6ADDRANY="#undef ISC_PLATFORM_NEEDIN6ADDRANY"
David Lawrence's avatar
David Lawrence committed
749
		LWRES_PLATFORM_NEEDIN6ADDRANY="#undef LWRES_PLATFORM_NEEDIN6ADDRANY"
Michael Graff's avatar
 
Michael Graff committed
750
		ISC_PLATFORM_HAVEIN6PKTINFO="#undef ISC_PLATFORM_HAVEIN6PKTINFO"
751 752 753 754 755 756 757
		ISC_IPV6_H="ipv6.h"
		ISC_IPV6_O="ipv6.$O"
		ISC_ISCIPV6_O="unix/ipv6.$O"
		ISC_IPV6_C="ipv6.c"
		;;
esac

758
AC_SUBST(ISC_PLATFORM_HAVEIPV6)
759
AC_SUBST(LWRES_PLATFORM_HAVEIPV6)
760 761
AC_SUBST(ISC_PLATFORM_NEEDNETINETIN6H)
AC_SUBST(LWRES_PLATFORM_NEEDNETINETIN6H)
762 763
AC_SUBST(ISC_PLATFORM_NEEDNETINET6IN6H)
AC_SUBST(LWRES_PLATFORM_NEEDNETINET6IN6H)
764
AC_SUBST(ISC_PLATFORM_NEEDIN6ADDRANY)
David Lawrence's avatar
David Lawrence committed
765
AC_SUBST(LWRES_PLATFORM_NEEDIN6ADDRANY)
Michael Graff's avatar
 
Michael Graff committed
766
AC_SUBST(ISC_PLATFORM_HAVEIN6PKTINFO)
767 768 769 770 771
AC_SUBST(ISC_IPV6_H)
AC_SUBST(ISC_IPV6_O)
AC_SUBST(ISC_ISCIPV6_O)
AC_SUBST(ISC_IPV6_C)

772 773 774 775 776
#
# Check for network functions that are often missing.  We do this
# after the libtool checking, so we can put the right suffix on
# the files.
#
777
AC_MSG_CHECKING([for inet_ntop])
778 779 780 781
AC_TRY_LINK([
#include <sys/types.h>
#include <netinet/in.h>
#include <arpa/inet.h>],
782
        [inet_ntop(0, 0, 0, 0); return (0);],
783 784 785 786 787 788 789
        [AC_MSG_RESULT(yes)
        ISC_PLATFORM_NEEDNTOP="#undef ISC_PLATFORM_NEEDNTOP"],

        [AC_MSG_RESULT(no)
        ISC_EXTRA_OBJS="$ISC_EXTRA_OBJS inet_ntop.$O"
        ISC_EXTRA_SRCS="$ISC_EXTRA_SRCS inet_ntop.c"
        ISC_PLATFORM_NEEDNTOP="#define ISC_PLATFORM_NEEDNTOP 1"])
790
AC_MSG_CHECKING([for inet_pton])
791 792 793 794
AC_TRY_LINK([
#include <sys/types.h>
#include <netinet/in.h>
#include <arpa/inet.h>],
795
        [inet_pton(0, 0, 0); return (0);],
796 797 798 799 800 801 802
        [AC_MSG_RESULT(yes)
        ISC_PLATFORM_NEEDPTON="#undef ISC_PLATFORM_NEEDPTON"],

        [AC_MSG_RESULT(no)
        ISC_EXTRA_OBJS="$ISC_EXTRA_OBJS inet_pton.$O"
        ISC_EXTRA_SRCS="$ISC_EXTRA_SRCS inet_pton.c"
        ISC_PLATFORM_NEEDPTON="#define ISC_PLATFORM_NEEDPTON 1"])
803
AC_MSG_CHECKING([for inet_aton])
804 805 806 807
AC_TRY_LINK([
#include <sys/types.h>
#include <netinet/in.h>
#include <arpa/inet.h>],
808
        [struct in_addr in; inet_aton(0, &in); return (0);],
809 810 811 812 813 814 815 816 817 818 819 820 821
        [AC_MSG_RESULT(yes)
        ISC_PLATFORM_NEEDATON="#undef ISC_PLATFORM_NEEDATON"],

        [AC_MSG_RESULT(no)
        ISC_EXTRA_OBJS="$ISC_EXTRA_OBJS inet_aton.$O"
        ISC_EXTRA_SRCS="$ISC_EXTRA_SRCS inet_aton.c"
        ISC_PLATFORM_NEEDATON="#define ISC_PLATFORM_NEEDATON 1"])

AC_SUBST(ISC_PLATFORM_NEEDNTOP)
AC_SUBST(ISC_PLATFORM_NEEDPTON)
AC_SUBST(ISC_PLATFORM_NEEDATON)

# Check for some other useful functions that are not ever-present.
Mark Andrews's avatar
Mark Andrews committed
822 823
AC_CHECK_FUNC(strsep,
	[ISC_PLATFORM_NEEDSTRSEP="#undef ISC_PLATFORM_NEEDSTRSEP"],
824
	[ISC_PLATFORM_NEEDSTRSEP="#define ISC_PLATFORM_NEEDSTRSEP 1"])
Mark Andrews's avatar
Mark Andrews committed
825
AC_CHECK_FUNC(vsnprintf,
826
	[ISC_PLATFORM_NEEDVSNPRINTF="#undef ISC_PLATFORM_NEEDVSNPRINTF"],
Mark Andrews's avatar
Mark Andrews committed
827 828
	[ISC_EXTRA_OBJS="$ISC_EXTRA_OBJS print.$O"
	 ISC_EXTRA_SRCS="$ISC_EXTRA_SRCS print.c"
829
	 ISC_PLATFORM_NEEDVSNPRINTF="#define ISC_PLATFORM_NEEDVSNPRINTF 1"])
Mark Andrews's avatar
Mark Andrews committed
830
AC_SUBST(ISC_PLATFORM_NEEDSTRSEP)
831
AC_SUBST(ISC_PLATFORM_NEEDVSNPRINTF)
832

Bob Halley's avatar
Bob Halley committed
833 834
AC_SUBST(ISC_EXTRA_OBJS)
AC_SUBST(ISC_EXTRA_SRCS)
835

836 837 838 839 840 841 842 843 844
AC_MSG_CHECKING(for sizeof(long long int) == sizeof(long int))
AC_TRY_RUN([main() { exit(!(sizeof(long long int) == sizeof(long int))); }],
	[AC_MSG_RESULT(yes)
	ISC_PLATFORM_LONGLONGEQUALLONG="#define ISC_PLATFORM_LONGLONGEQUALLONG 1"],
	[AC_MSG_RESULT(no)
	ISC_PLATFORM_LONGLONGEQUALLONG="#undef ISC_PLATFORM_LONGLONGEQUALLONG"],
	[AC_MSG_RESULT(default yes)
	ISC_PLATFORM_LONGLONGEQUALLONG="#define ISC_PLATFORM_LONGLONGEQUALLONG 1"])
AC_SUBST(ISC_PLATFORM_LONGLONGEQUALLONG)
845

846 847 848
#
# Security Stuff
#
849 850
AC_CHECK_FUNC(chroot, AC_DEFINE(HAVE_CHROOT))
AC_CHECK_HEADERS(linux/capability.h)
Bob Halley's avatar
Bob Halley committed
851
AC_CHECK_HEADERS(linux/prctl.h)
852

853 854
#
# Random remaining OS-specific issues.
David Lawrence's avatar
David Lawrence committed
855
# XXXDCL print messages to indicate some compensation is being done?
856
#
David Lawrence's avatar
David Lawrence committed
857 858 859
AC_SUBST(ISC_PLATFORM_BRACEPTHREADONCEINIT)
ISC_PLATFORM_BRACEPTHREADONCEINIT="#undef ISC_PLATFORM_BRACEPTHREADONCEINIT"

860
case "$host" in
David Lawrence's avatar
David Lawrence committed
861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898
	*-bsdi3.1*)
		hack_shutup_sputaux=yes
		;;
	*-bsdi4.0*)
		hack_shutup_sigwait=yes
		hack_shutup_sputaux=yes
		;;
	*-bsdi4.1*)
		hack_shutup_stdargcast=yes
		;;
	*-solaris2.8)
		hack_shutup_pthreadonceinit=yes
		;;
esac

case "$hack_shutup_pthreadonceinit" in
	yes)
		#
		# Shut up PTHREAD_ONCE_INIT unbraced initializer warnings.
		#
		ISC_PLATFORM_BRACEPTHREADONCEINIT="#define ISC_PLATFORM_BRACEPTHREADONCEINIT 1"
		;;
esac

case "$hack_shutup_sigwait" in
	yes)
		#
		# Shut up a -Wmissing-prototypes warning for sigwait().
		# 
		AC_DEFINE(SHUTUP_SIGWAIT)
		;;
esac

case "$hack_shutup_sputaux" in
	yes)
		#
		# Shut up a -Wmissing-prototypes warning from <stdio.h>.
		#
899 900
		AC_DEFINE(SHUTUP_SPUTAUX)
		;;
David Lawrence's avatar
David Lawrence committed
901 902 903 904 905 906 907 908 909
esac

case "$hack_shutup_stdargcast" in
	yes)
		#
		# Shut up a -Wcast-qual warning from va_start().
		#
		AC_DEFINE(SHUTUP_STDARG_CAST)
		;;
910 911
esac

912 913 914
#
# Substitutions
#
915 916 917
AC_SUBST(BIND9_TOP_BUILDDIR)
BIND9_TOP_BUILDDIR=`pwd`

918 919
AC_SUBST(BIND9_ISC_BUILDINCLUDE)
AC_SUBST(BIND9_DNS_BUILDINCLUDE)
920
AC_SUBST(BIND9_OMAPI_BUILDINCLUDE)
Michael Graff's avatar
Michael Graff committed
921
AC_SUBST(BIND9_LWRES_BUILDINCLUDE)
922 923 924
if test "X$srcdir" != "X"; then
	BIND9_ISC_BUILDINCLUDE="-I${BIND9_TOP_BUILDDIR}/lib/isc/include"
	BIND9_DNS_BUILDINCLUDE="-I${BIND9_TOP_BUILDDIR}/lib/dns/include"
925
	BIND9_OMAPI_BUILDINCLUDE="-I${BIND9_TOP_BUILDDIR}/lib/omapi/include"
Michael Graff's avatar
Michael Graff committed
926
	BIND9_LWRES_BUILDINCLUDE="-I${BIND9_TOP_BUILDDIR}/lib/lwres/include"
927 928 929
else
	BIND9_ISC_BUILDINCLUDE=""
	BIND9_DNS_BUILDINCLUDE=""
930
	BIND9_OMAPI_BUILDINCLUDE=""
Michael Graff's avatar
Michael Graff committed
931
	BIND9_LWRES_BUILDINCLUDE=""
932 933 934 935 936
fi

AC_SUBST_FILE(BIND9_INCLUDES)
BIND9_INCLUDES=$BIND9_TOP_BUILDDIR/make/includes

Bob Halley's avatar
Bob Halley committed
937
AC_SUBST_FILE(BIND9_MAKE_RULES)
938
BIND9_MAKE_RULES=$BIND9_TOP_BUILDDIR/make/rules
Bob Halley's avatar
Bob Halley committed
939

940 941 942
. $srcdir/version
BIND9_VERSION="VERSION=${MAJORVER}.${MINORVER}.${PATCHVER}${RELEASETYPE}${RELEASEVER}"
AC_SUBST(BIND9_VERSION)
Bob Halley's avatar
Bob Halley committed
943

Bob Halley's avatar
Bob Halley committed
944 945 946 947 948 949
AC_SUBST_FILE(LIBISC_API)
LIBISC_API=$srcdir/lib/isc/api

AC_SUBST_FILE(LIBDNS_API)
LIBDNS_API=$srcdir/lib/dns/api

Michael Graff's avatar
Michael Graff committed
950 951 952
AC_SUBST_FILE(LIBLWRES_API)
LIBLWRES_API=$srcdir/lib/lwres/api

David Lawrence's avatar
David Lawrence committed
953 954 955
AC_SUBST_FILE(LIBOMAPI_API)
LIBOMAPI_API=$srcdir/lib/omapi/api

Bob Halley's avatar
Bob Halley committed
956
AC_OUTPUT(
957
	make/rules
958
	make/includes
Bob Halley's avatar
Bob Halley committed
959
	Makefile
960
	make/Makefile
Bob Halley's avatar
Bob Halley committed
961
	make/mkdep
Bob Halley's avatar
Bob Halley committed
962 963 964 965
	lib/Makefile
	lib/isc/Makefile
	lib/isc/include/Makefile
	lib/isc/include/isc/Makefile
966
	lib/isc/include/isc/platform.h
Bob Halley's avatar
Bob Halley committed
967 968 969
	lib/isc/unix/Makefile
	lib/isc/unix/include/Makefile
	lib/isc/unix/include/isc/Makefile
Bob Halley's avatar
Bob Halley committed
970
	lib/isc/nls/Makefile
Bob Halley's avatar
Bob Halley committed
971 972 973 974 975 976
	lib/isc/pthreads/Makefile
	lib/isc/pthreads/include/Makefile
	lib/isc/pthreads/include/isc/Makefile
	lib/dns/Makefile
	lib/dns/include/Makefile
	lib/dns/include/dns/Makefile
977 978 979 980 981 982 983 984
	lib/dns/sec/Makefile
	lib/dns/sec/openssl/Makefile
	lib/dns/sec/openssl/include/Makefile
	lib/dns/sec/openssl/include/openssl/Makefile
	lib/dns/sec/dnssafe/Makefile
	lib/dns/sec/dst/Makefile
	lib/dns/sec/dst/include/Makefile
	lib/dns/sec/dst/include/dst/Makefile
985
	lib/dns/config/Makefile
Michael Graff's avatar
Michael Graff committed
986 987 988
	lib/lwres/Makefile
	lib/lwres/include/Makefile
	lib/lwres/include/lwres/Makefile
Mark Andrews's avatar
Mark Andrews committed
989
	lib/lwres/include/lwres/netdb.h
990
	lib/lwres/include/lwres/platform.h
David Lawrence's avatar
David Lawrence committed
991 992 993
	lib/omapi/Makefile
	lib/omapi/include/Makefile
	lib/omapi/include/omapi/Makefile
Bob Halley's avatar
Bob Halley committed
994 995 996
	lib/tests/Makefile
	lib/tests/include/Makefile
	lib/tests/include/tests/Makefile
Bob Halley's avatar
Bob Halley committed
997
	bin/Makefile
Michael Graff's avatar
typo  
Michael Graff committed
998
	bin/named/Makefile
Bob Halley's avatar
Bob Halley committed
999
	bin/named/unix/Makefile
1000
	bin/lwresd/Makefile
1001
	bin/rndc/Makefile
1002
	bin/dig/Makefile
Bob Halley's avatar
Bob Halley committed
1003 1004 1005 1006
	bin/tests/Makefile
	bin/tests/names/Makefile
	bin/tests/master/Makefile
	bin/tests/rbt/Makefile
1007 1008 1009
	bin/tests/db/Makefile
	bin/tests/tasks/Makefile
	bin/tests/timers/Makefile
1010
	bin/tests/dst/Makefile
1011
	bin/tests/mem/Makefile
1012
	bin/tests/sockaddr/Makefile
Michael Sawyer's avatar
Michael Sawyer committed
1013
	bin/tests/system/Makefile
1014
	bin/tests/system/conf.sh
1015
	bin/tests/headerdep_test.sh
1016
	bin/dnssec/Makefile
Bob Halley's avatar
Bob Halley committed
1017
)