2004-12-11 21:03:51 +01:00
|
|
|
dnl ---------------------------------------------------------------------------
|
|
|
|
dnl Macro: MYSQL_CHECK_FEDERATED
|
|
|
|
dnl Sets HAVE_FEDERATED if --with-federated-storage-engine is used
|
|
|
|
dnl ---------------------------------------------------------------------------
|
|
|
|
AC_DEFUN([MYSQL_CHECK_FEDERATED], [
|
|
|
|
AC_ARG_WITH([federated-storage-engine],
|
|
|
|
[
|
|
|
|
--with-federated-storage-engine
|
2005-09-07 08:32:00 +02:00
|
|
|
Enable the MySQL Federated Storage Engine],
|
2004-12-11 21:03:51 +01:00
|
|
|
[federateddb="$withval"],
|
|
|
|
[federateddb=no])
|
|
|
|
AC_MSG_CHECKING([for MySQL federated storage engine])
|
|
|
|
|
|
|
|
case "$federateddb" in
|
|
|
|
yes )
|
|
|
|
AC_DEFINE([HAVE_FEDERATED_DB], [1], [Define to enable Federated Handler])
|
|
|
|
AC_MSG_RESULT([yes])
|
|
|
|
[federateddb=yes]
|
|
|
|
;;
|
|
|
|
* )
|
|
|
|
AC_MSG_RESULT([no])
|
|
|
|
[federateddb=no]
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|
|
|
|
])
|
|
|
|
dnl ---------------------------------------------------------------------------
|
|
|
|
dnl END OF MYSQL_CHECK_FEDERATED SECTION
|
|
|
|
dnl ---------------------------------------------------------------------------
|