Skip to content
Snippets Groups Projects
Commit 90cce03c authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Mysql: Added option to disable use of MariaDB-client.

parent 03117166
No related branches found
No related tags found
No related merge requests found
...@@ -36,13 +36,18 @@ OLD_LDFLAGS=$LDFLAGS ...@@ -36,13 +36,18 @@ OLD_LDFLAGS=$LDFLAGS
OLD_CPPFLAGS=$CPPFLAGS OLD_CPPFLAGS=$CPPFLAGS
AC_ARG_WITH(mysql, [ --without-mysql no support for the Mysql database],[],[with_mysql=yes]) AC_ARG_WITH(mysql, [ --without-mysql no support for the Mysql database],[],[with_mysql=yes])
AC_ARG_WITH(mariadb,[ --without-mariadb disable use of MariaDB-client library],[],[with_mariadb=yes])
if test x$with_mysql = xno; then if test x$with_mysql = xno; then
: :
else else
PIKE_FEATURE_NODEP(Mysql) PIKE_FEATURE_NODEP(Mysql)
if test "x$with_mariadb" = "xno"; then
MARIADB_CONFIG=no
else
AC_PATH_PROG(MARIADB_CONFIG,${ac_tool_prefix}mariadb_config,no) AC_PATH_PROG(MARIADB_CONFIG,${ac_tool_prefix}mariadb_config,no)
fi
if test "x${MARIADB_CONFIG}" = "xno"; then if test "x${MARIADB_CONFIG}" = "xno"; then
AC_MSG_CHECKING(for Mysql directory prefix) AC_MSG_CHECKING(for Mysql directory prefix)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment