Commit 127ea40a authored by Simon Kelley's avatar Simon Kelley

Don't build DHCPv6 by default, except when build Debian package.

parent 6aef600d
...@@ -33,6 +33,10 @@ ifeq ($(DEB_BUILD_ARCH_OS),linux) ...@@ -33,6 +33,10 @@ ifeq ($(DEB_BUILD_ARCH_OS),linux)
endif endif
endif endif
ifeq (,$(filter nodhcp6,$(DEB_BUILD_OPTIONS)))
COPTS += -DHAVE_DHCP6
endif
ifneq (,$(filter noipv6,$(DEB_BUILD_OPTIONS))) ifneq (,$(filter noipv6,$(DEB_BUILD_OPTIONS)))
COPTS += -DNO_IPV6 COPTS += -DNO_IPV6
endif endif
...@@ -45,10 +49,6 @@ ifneq (,$(filter nodhcp,$(DEB_BUILD_OPTIONS))) ...@@ -45,10 +49,6 @@ ifneq (,$(filter nodhcp,$(DEB_BUILD_OPTIONS)))
COPTS += -DNO_DHCP COPTS += -DNO_DHCP
endif endif
ifneq (,$(filter nodhcp6,$(DEB_BUILD_OPTIONS)))
COPTS += -DNO_DHCP6
endif
ifneq (,$(filter noscript,$(DEB_BUILD_OPTIONS))) ifneq (,$(filter noscript,$(DEB_BUILD_OPTIONS)))
COPTS += -DNO_SCRIPT COPTS += -DNO_SCRIPT
endif endif
......
...@@ -116,7 +116,7 @@ RESOLVFILE ...@@ -116,7 +116,7 @@ RESOLVFILE
has no library dependencies other than libc */ has no library dependencies other than libc */
#define HAVE_DHCP #define HAVE_DHCP
#define HAVE_DHCP6 /* #define HAVE_DHCP6 */
#define HAVE_TFTP #define HAVE_TFTP
#define HAVE_SCRIPT #define HAVE_SCRIPT
/* #define HAVE_LUASCRIPT */ /* #define HAVE_LUASCRIPT */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment