mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-09-01 14:35:29 +00:00
[2367] Check if --with-dhcp-mysql is used when DHCP components are disabled
This commit is contained in:
@@ -924,6 +924,10 @@ elif test "${mysql_config}" != "no" ; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if test "$MYSQL_CONFIG" != "" ; then
|
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
|
if test -d "$MYSQL_CONFIG" -o ! -x "$MYSQL_CONFIG" ; then
|
||||||
AC_MSG_ERROR([--with-dhcp-mysql should point to a mysql_config program])
|
AC_MSG_ERROR([--with-dhcp-mysql should point to a mysql_config program])
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user