aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac9
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])