2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 05:28:00 +00:00

[master] Only look for mysql_config if --with-dlz-mysql is used [RT #46647]

This commit is contained in:
Michał Kępień 2017-11-07 14:52:20 +01:00
parent 40a90fbf89
commit a80dc538bd

View File

@ -132,12 +132,11 @@ AC_ARG_WITH(dlz_mysql,
(Required to use MySQL with DLZ)]),
use_dlz_mysql="$withval", use_dlz_mysql="no")
AC_CHECK_PROGS(MYSQL_CONFIG, mysql_config)
mysql_include=""
mysql_lib=""
if test "$use_dlz_mysql" = "yes"
then
AC_CHECK_PROGS(MYSQL_CONFIG, mysql_config)
if test -n "$MYSQL_CONFIG"
then
mysql_include=`${MYSQL_CONFIG} --include`