diff options
Diffstat (limited to 'src/config.h')
-rw-r--r-- | src/config.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/config.h b/src/config.h index cdca231..5e50092 100644 --- a/src/config.h +++ b/src/config.h @@ -115,6 +115,8 @@ HAVE_DNSSEC HAVE_LOOP include functionality to probe for and remove DNS forwarding loops. +HAVE_INOTIFY + use the Linux inotify facility to efficiently re-read configuration files. NO_IPV6 NO_TFTP @@ -123,6 +125,7 @@ NO_DHCP6 NO_SCRIPT NO_LARGEFILE NO_AUTH +NO_INOTIFY these are avilable to explictly disable compile time options which would otherwise be enabled automatically (HAVE_IPV6, >2Gb file sizes) or which are enabled by default in the distributed source tree. Building dnsmasq @@ -355,6 +358,10 @@ HAVE_SOCKADDR_SA_LEN #undef HAVE_LOOP #endif +#if defined (HAVE_LINUX_NETWORK) && !defined(NO_INOTIFY) +#define HAVE_INOTIFY +#endif + /* Define a string indicating which options are in use. DNSMASQP_COMPILE_OPTS is only defined in dnsmasq.c */ @@ -428,7 +435,11 @@ static char *compile_opts = #ifndef HAVE_LOOP "no-" #endif -"loop-detect"; +"loop-detect " +#ifndef HAVE_INOTIFY +"no-" +#endif +"inotify"; #endif |