diff options
| author | Roy Marples <roy@marples.name> | 2007-04-03 07:03:04 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2007-04-03 07:03:04 +0000 |
| commit | 522a128c7236125dd42840ea3e588bcf5b224f84 (patch) | |
| tree | 096bd989f57a9afe3161e32cddb1ad407a76df9f /configure.h | |
| parent | b2e9b3c410a0384a24d230091dfdbbf6b17e9d86 (diff) | |
| download | dhcpcd-522a128c7236125dd42840ea3e588bcf5b224f84.tar.xz | |
You can now build dhcpcd without support for writing ntp, nis and info files
which makes the binary a few k smaller.
Support OpenNTP as well as NTP.
Re-work the state engine a little, so we renew and rebind correctly.
Subsequent debug options stop dhcpcd from daemonising.
Diffstat (limited to 'configure.h')
| -rw-r--r-- | configure.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.h b/configure.h index a7e54632..4d766d26 100644 --- a/configure.h +++ b/configure.h @@ -22,6 +22,13 @@ #ifndef DHCPCONFIG_H #define DHCPCONFIG_H +/* If you disable all 3 options you can shrink the binary by around 5-10k + unstripped depending on platform and CFLAGS +*/ +#define ENABLE_NTP +#define ENABLE_NIS +#define ENABLE_INFO + #include "dhcpcd.h" #include "interface.h" #include "dhcp.h" |
