summaryrefslogtreecommitdiff
path: root/src/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/config.h b/src/config.h
index 1793e40..52ca311 100644
--- a/src/config.h
+++ b/src/config.h
@@ -137,6 +137,7 @@ RESOLVFILE
#define HAVE_DHCP
#define HAVE_DHCP6
+#define HAVE_PD
#define HAVE_TFTP
#define HAVE_SCRIPT
#define HAVE_AUTH
@@ -311,6 +312,10 @@ HAVE_SOCKADDR_SA_LEN
#undef HAVE_DHCP6
#endif
+#if defined(NO_PD) || !defined(HAVE_DHCP6)
+#undef HAVE_PD
+#endif
+
/* DHCP6 needs DHCP too */
#ifdef HAVE_DHCP6
#define HAVE_DHCP
@@ -375,6 +380,10 @@ static char *compile_opts =
"no-"
# endif
"DHCPv6 "
+# if !defined (HAVE_PD)
+ "no-"
+# endif
+ "DHCPv6-PD "
# if !defined(HAVE_SCRIPT)
"no-scripts "
# else