From e4dcd805cc48b71a6f24e41ff8d4a212212f04b1 Mon Sep 17 00:00:00 2001 From: Francis Dupont Date: Thu, 3 Nov 2016 09:36:56 +0100 Subject: Merged rt43473 (libtool instal) --- dhcpctl/cltest.c | 6 ++++++ dhcpctl/omshell.c | 6 ++++++ relay/dhcrelay.c | 7 +++++++ tests/t_api_dhcp.c | 5 +++++ util/Makefile.bind.in | 34 +++++++++++++++++----------------- 5 files changed, 41 insertions(+), 17 deletions(-) diff --git a/dhcpctl/cltest.c b/dhcpctl/cltest.c index 8a671dc9..3bd524f0 100644 --- a/dhcpctl/cltest.c +++ b/dhcpctl/cltest.c @@ -55,6 +55,12 @@ void bootp (struct packet *packet) { } #ifdef DHCPv6 /* XXX: should we warn or something here? */ void dhcpv6(struct packet *packet) { } +#ifdef DHCP4o6 +isc_result_t dhcpv4o6_handler(omapi_object_t *h) +{ + return ISC_R_NOTIMPLEMENTED; +} +#endif /* DHCP4o6 */ #endif /* DHCPv6 */ int check_collection (struct packet *p, struct lease *l, struct collection *c) diff --git a/dhcpctl/omshell.c b/dhcpctl/omshell.c index adf4b9ae..aaf8981c 100644 --- a/dhcpctl/omshell.c +++ b/dhcpctl/omshell.c @@ -56,6 +56,12 @@ void bootp (struct packet *packet) { } #ifdef DHCPv6 /* XXX: should we warn or something here? */ void dhcpv6(struct packet *packet) { } +#ifdef DHCP4o6 +isc_result_t dhcpv4o6_handler(omapi_object_t *h) +{ + return ISC_R_NOTIMPLEMENTED; +} +#endif /* DHCP4o6 */ #endif /* DHCPv6 */ int check_collection (struct packet *p, struct lease *l, struct collection *c) diff --git a/relay/dhcrelay.c b/relay/dhcrelay.c index 4f604a22..f4943879 100644 --- a/relay/dhcrelay.c +++ b/relay/dhcrelay.c @@ -1886,6 +1886,13 @@ dhcp(struct packet *packet) { return; } +#if defined(DHCPv6) && defined(DHCP4o6) +isc_result_t dhcpv4o6_handler(omapi_object_t *h) +{ + return ISC_R_NOTIMPLEMENTED; +} +#endif + void classify(struct packet *p, struct class *c) { return; diff --git a/tests/t_api_dhcp.c b/tests/t_api_dhcp.c index 9ef221a1..718758e1 100644 --- a/tests/t_api_dhcp.c +++ b/tests/t_api_dhcp.c @@ -18,6 +18,11 @@ void dhcpv6(struct packet *packet) { } +isc_result_t +dhcpv4o6_handler(omapi_object_t *h) { + return ISC_R_NOTIMPLEMENTED; +} + isc_result_t dhcp_set_control_state(control_object_state_t old, control_object_state_t new) { return ISC_R_NOTIMPLEMENTED; diff --git a/util/Makefile.bind.in b/util/Makefile.bind.in index 7c7a4a33..ccf77971 100644 --- a/util/Makefile.bind.in +++ b/util/Makefile.bind.in @@ -74,23 +74,23 @@ atf: bind2: # Build and install the libraries # No need to do anything if we already have something installed. - @if test -d ${binddir}/lib ; then \ - echo Bind libraries already installed ; \ - else \ - echo Building BIND libraries - this takes some time. ; \ - for libdir in ${bindlibs} ; do \ - (cd ${bindsrcdir}/lib/$$libdir ; \ - echo Building $$libdir library in `pwd` ; \ - $(MAKE) >> ${binddir}/build.log) ; \ - done ; \ - \ - echo Installing BIND libraries to ${binddir}. ; \ - for libdir in ${bindlibs} ; do \ - (cd ${bindsrcdir}/lib/$$libdir ; \ - MAKEDEFS="${installdirs}"; export MAKEDEFS; \ - $(MAKE) ${installdirs} install >> \ - ${binddir}/install.log) ; \ - done ; \ + @if test -d ${binddir}/lib ; then \ + echo Bind libraries already installed ; \ + else \ + echo Building BIND libraries - this takes some time. ; \ + for libdir in ${bindlibs} ; do \ + (cd ${bindsrcdir}/lib/$$libdir ; \ + echo Building $$libdir library in `pwd` ; \ + $(MAKE) >> ${binddir}/build.log) ; \ + done ; \ + \ + echo Installing BIND libraries to ${binddir}. ; \ + for libdir in ${bindlibs} ; do \ + (cd ${bindsrcdir}/lib/$$libdir ; \ + MAKEDEFS="${installdirs}"; export MAKEDEFS; \ + $(MAKE) ${installdirs} LIBTOOL_MODE_INSTALL= install >> \ + ${binddir}/install.log) ; \ + done ; \ fi clean: -- cgit v1.2.1