summaryrefslogtreecommitdiff
path: root/configure.ac-base
diff options
context:
space:
mode:
authorMarcin Siodelski <marcin@isc.org>2017-05-18 18:13:21 +0200
committerMarcin Siodelski <marcin@isc.org>2017-05-18 18:18:33 +0200
commitc8f0b32ac5ab4acf566a592ab7255eab45a6d202 (patch)
treeb0e468f71da5159abb192c3c3c82b28b86771efc /configure.ac-base
parentb63c32120acd68bc3c8a39255e37e2a8e368e16c (diff)
downloadisc-dhcp-c8f0b32ac5ab4acf566a592ab7255eab45a6d202.tar.gz
[master] Added support for --with-srv-conf-file configuration parameter.
Merged 'rt44765'.
Diffstat (limited to 'configure.ac-base')
-rw-r--r--configure.ac-base7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.ac-base b/configure.ac-base
index 6bd236ce..284011e6 100644
--- a/configure.ac-base
+++ b/configure.ac-base
@@ -346,6 +346,13 @@ case "$localstatedir" in
;;
esac
+# Default server configuration file.
+AC_ARG_WITH(srv-conf-file,
+ AS_HELP_STRING([--with-srv-conf-file=PATH],[Default file containing dhcpd configuration
+ (default is typically /etc/dhcpd.conf)]),
+ AC_DEFINE_UNQUOTED([_PATH_DHCPD_CONF], ["$withval"],
+ [Default file containing dhcpd configuration.]))
+
# Allow specification of alternate state files
AC_ARG_WITH(srv-lease-file,
AS_HELP_STRING([--with-srv-lease-file=PATH],[File for dhcpd leases