diff options
author | David Oberhollenzer <david.oberhollenzer@tele2.at> | 2018-11-23 22:07:03 +0100 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@tele2.at> | 2018-11-23 22:16:50 +0100 |
commit | 6ed7e164c8b9e6a15e74ed92f49f156298aa50cb (patch) | |
tree | 453a19c3409a757d6d54e4a25ff5e13f797e0a92 /configure.ac | |
parent | 39fcca747f535ceeb7fb7e30b55eaab7e72fbf9d (diff) |
Add configure flag for dhcpcd
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index fcd0e67..f447465 100644 --- a/configure.ac +++ b/configure.ac @@ -50,4 +50,13 @@ AC_ARG_ENABLE([swclock], esac], [AM_CONDITIONAL([SWCLOCK], [false])]) +AC_ARG_ENABLE([dhcpclient], + [AS_HELP_STRING([--enable-dhcpclient], [Enable DHCP client])], + [case "${enableval}" in + yes) AM_CONDITIONAL([DHCPCLIENT], [true]) ;; + no) AM_CONDITIONAL([DHCPCLIENT], [false]) ;; + *) AC_MSG_ERROR([bad value ${enableval} for --enable-dhcpclient]) ;; + esac], + [AM_CONDITIONAL([DHCPCLIENT], [false])]) + AC_OUTPUT([Makefile]) |