1 m4_include([libtest/m4/ax_lib_mysql.m4])
2 m4_include([libtest/m4/ax_prog_mysqld.m4])
5 AM_CONDITIONAL(HAVE_LIBMYSQL, test "x${found_mysql}" = "xyes")
6 AS_IF([test "x${found_mysql}" = "xyes"],
8 AC_DEFINE([HAVE_LIBMYSQL_BUILD], [1], [Define to 1 if MySQL libraries are available])
11 AC_DEFINE([HAVE_LIBMYSQL_BUILD], [0], [Define to 1 if MySQL libraries are available])
14 AS_IF([test -f "$ac_cv_path_MYSQLD"],
16 AC_DEFINE([HAVE_MYSQLD_BUILD], [1], [Define to 1 if MySQLD binary is available])
17 AC_DEFINE_UNQUOTED([MYSQLD_BINARY], "$ac_cv_path_MYSQLD", [Name of the mysqld binary used in make test])
20 AC_DEFINE([HAVE_MYSQLD_BUILD], [0], [Define to 1 if MySQLD binary is available])
21 AC_DEFINE([MYSQLD_BINARY], [0], [Name of the mysqld binary used in make test])