From: Mukund Sivaraman Date: Thu, 27 Feb 2014 23:35:46 +0000 (+0530) Subject: [2367] Check if --with-dhcp-mysql is used when DHCP components are disabled X-Git-Tag: bind10-1.2.0beta1-release~12^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c3722f4556ae67562c97d8e2bd21fcaf4da02f6a;p=thirdparty%2Fkea.git [2367] Check if --with-dhcp-mysql is used when DHCP components are disabled --- diff --git a/configure.ac b/configure.ac index 9a343a0dff..7177d728d0 100644 --- a/configure.ac +++ b/configure.ac @@ -924,6 +924,10 @@ elif test "${mysql_config}" != "no" ; then fi if test "$MYSQL_CONFIG" != "" ; then + if test "$want_dhcp" != "yes"; then + AC_MSG_ERROR([--with-dhcp-mysql should not be used when DHCP components are disabled]) + fi + if test -d "$MYSQL_CONFIG" -o ! -x "$MYSQL_CONFIG" ; then AC_MSG_ERROR([--with-dhcp-mysql should point to a mysql_config program]) fi