2005-07-18 13:31:02 +02:00
|
|
|
dnl ---------------------------------------------------------------------------
|
|
|
|
dnl Macro: MYSQL_CHECK_PARTITIONDB
|
|
|
|
dnl Sets HAVE_PARTITION_DB if --with-partition is used
|
|
|
|
dnl ---------------------------------------------------------------------------
|
|
|
|
AC_DEFUN([MYSQL_CHECK_PARTITIONDB], [
|
|
|
|
AC_ARG_WITH([partition],
|
|
|
|
[
|
|
|
|
--with-partition
|
2005-09-03 01:01:26 +02:00
|
|
|
Enable the Partition Storage Engine],
|
2005-07-18 13:31:02 +02:00
|
|
|
[partitiondb="$withval"],
|
|
|
|
[partitiondb=no])
|
|
|
|
AC_MSG_CHECKING([for partition])
|
|
|
|
|
2005-11-07 16:25:06 +01:00
|
|
|
dnl case "$partitiondb" in
|
|
|
|
dnl yes )
|
|
|
|
dnl AC_DEFINE([HAVE_PARTITION_DB], [1], [Builds Partition DB])
|
|
|
|
dnl AC_MSG_RESULT([yes])
|
|
|
|
dnl [partitiondb=yes]
|
|
|
|
dnl ;;
|
|
|
|
dnl * )
|
|
|
|
dnl AC_MSG_RESULT([no])
|
|
|
|
dnl [partitiondb=no]
|
|
|
|
dnl ;;
|
|
|
|
dnl esac
|
2005-07-18 13:31:02 +02:00
|
|
|
AC_DEFINE([HAVE_PARTITION_DB], [1], [Builds Partition DB])
|
|
|
|
AC_MSG_RESULT([yes])
|
|
|
|
[partitiondb=yes]
|
|
|
|
|
|
|
|
])
|
|
|
|
dnl ---------------------------------------------------------------------------
|
|
|
|
dnl END OF MYSQL_CHECK_PARTITION SECTION
|
|
|
|
dnl ---------------------------------------------------------------------------
|
|
|
|
|