mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 05:28:00 +00:00
make quick changes to steal code from Bob's wire_test
This commit is contained in:
parent
523b3c81c3
commit
f8c2070073
@ -3,7 +3,7 @@ srcdir = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
top_srcdir = @top_srcdir@
|
||||
|
||||
SUBDIRS = tests
|
||||
SUBDIRS = tests server
|
||||
TARGETS =
|
||||
|
||||
@BIND9_MAKE_RULES@
|
||||
|
@ -300,7 +300,7 @@ getsection(isc_buffer_t *source, dns_namelist_t *section, unsigned int count,
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
void
|
||||
getmessage(dns_message_t *message, isc_buffer_t *source,
|
||||
isc_buffer_t *target)
|
||||
{
|
||||
@ -438,7 +438,7 @@ printsection(dns_namelist_t *section, char *section_name) {
|
||||
return (DNS_R_SUCCESS);
|
||||
}
|
||||
|
||||
static dns_result_t
|
||||
dns_result_t
|
||||
printmessage(dns_message_t *message) {
|
||||
isc_boolean_t did_flag = ISC_FALSE;
|
||||
unsigned int opcode, rcode;
|
||||
@ -484,6 +484,7 @@ printmessage(dns_message_t *message) {
|
||||
return (result);
|
||||
}
|
||||
|
||||
#ifndef NOMAIN
|
||||
int
|
||||
main(int argc, char *argv[]) {
|
||||
char *rp, *wp;
|
||||
@ -563,3 +564,4 @@ main(int argc, char *argv[]) {
|
||||
|
||||
return (0);
|
||||
}
|
||||
#endif /* !NOMAIN */
|
||||
|
2
configure
vendored
2
configure
vendored
@ -1635,6 +1635,7 @@ trap 'rm -fr `echo "make/rules
|
||||
lib/dns/include/dns/Makefile
|
||||
bin/Makefile
|
||||
bin/tests/Makefile
|
||||
bin/server/Makefile
|
||||
config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
|
||||
EOF
|
||||
cat >> $CONFIG_STATUS <<EOF
|
||||
@ -1742,6 +1743,7 @@ CONFIG_FILES=\${CONFIG_FILES-"make/rules
|
||||
lib/dns/include/dns/Makefile
|
||||
bin/Makefile
|
||||
bin/tests/Makefile
|
||||
bin/server/Makefile
|
||||
"}
|
||||
EOF
|
||||
cat >> $CONFIG_STATUS <<\EOF
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
AC_REVISION($Revision: 1.7 $)
|
||||
AC_REVISION($Revision: 1.8 $)
|
||||
|
||||
AC_INIT(lib/dns/name.c)
|
||||
AC_CONFIG_HEADER(config.h)
|
||||
@ -78,4 +78,5 @@ AC_OUTPUT(
|
||||
lib/dns/include/dns/Makefile
|
||||
bin/Makefile
|
||||
bin/tests/Makefile
|
||||
bin/server/Makefile
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user