Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/dhcp/includes/cf If both SMALL and NSUPDATE are def...
details: https://anonhg.NetBSD.org/src/rev/bccef0f78697
branches: trunk
changeset: 493865:bccef0f78697
user: briggs <briggs%NetBSD.org@localhost>
date: Mon Jun 26 12:33:14 2000 +0000
description:
If both SMALL and NSUPDATE are defined, undefine NSUPDATE. The NSUPDATE
option pulls in a set of symbols that increases the size of dhclient
with functionality that is not required for installation media.
This was discussed with Ted Lemon, and the patch is being submitted to him
for inclusion in his source tree.
diffstat:
usr.sbin/dhcp/includes/cf/netbsd.h | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diffs (18 lines):
diff -r 90e24b2db38a -r bccef0f78697 usr.sbin/dhcp/includes/cf/netbsd.h
--- a/usr.sbin/dhcp/includes/cf/netbsd.h Mon Jun 26 10:12:14 2000 +0000
+++ b/usr.sbin/dhcp/includes/cf/netbsd.h Mon Jun 26 12:33:14 2000 +0000
@@ -82,6 +82,14 @@
#define _PATH_DHCLIENT_DB "/var/db/dhclient.leases"
#endif
+/*
+ * If building "SMALL" (e.g. for an installation disk), do not configure
+ * for DNS update functionality -- overrides default set in ../site.h.
+ */
+#if defined(SMALL) && defined(NSUPDATE)
+#undef NSUPDATE
+#endif
+
#define EOL '\n'
#define VOIDPTR void *
Home |
Main Index |
Thread Index |
Old Index