summaryrefslogtreecommitdiffstats
path: root/config.h
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-09-04 12:48:40 +0000
committerRoy Marples <roy@marples.name>2007-09-04 12:48:40 +0000
commit3e120d46a8dc084b5404f04cf98bf90cc0ba32cc (patch)
tree16c762b55a144c65204526f79848a00d032be41a /config.h
parentc1d07a4ec414fa76dfb3ea837f63a7699187a9c8 (diff)
downloaddhcpcd-3e120d46a8dc084b5404f04cf98bf90cc0ba32cc.tar.xz
Many thanks to Michael Durrant for testing the below changes.
Compile and work on OSX/Darwin. If we have no fork then we re-exec ourselves with --daemonised. Improved the build system so we automatically detect if we need librt or libresolv and if fork() works or not. Move back to using librt for clock_gettime on Linux systems.
Diffstat (limited to 'config.h')
-rw-r--r--config.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/config.h b/config.h
index 4d3ee0b6..050d4dc6 100644
--- a/config.h
+++ b/config.h
@@ -43,6 +43,11 @@
* See RFC 3315 for details on this. */
#define ENABLE_DUID
+/* Some systems do not have a working fork.
+ * The Makefile will attempt to work it out, but if it fails to feel free to
+ * define it here. */
+// #define THERE_IS_NO_FORK
+
/* Packname name and pathname definitions.
* NOTE: The service restart commands are Gentoo specific and will
* probably need to be adapted for your OS. */