mariadb/config/ac-macros/ha_innodb.m4
unknown 25311ea4a5 All changes for change to all storage engines being under storage directory.
config/ac-macros/ha_berkeley.m4:
  change for stroage
config/ac-macros/ha_innodb.m4:
  change for storage
config/ac-macros/ha_ndbcluster.m4:
  change for storage
configure.in:
  change for storage
extra/perror.c:
  change for storage
libmysqld/Makefile.am:
  change for storage
mysql-test/mysql-test-run.sh:
  change for storage
sql/Makefile.am:
  change for storage
sql/ha_innodb.cc:
  change storage
sql/ha_myisam.cc:
  change for storage
sql/ha_myisammrg.cc:
  change for storage
sql/lock.cc:
  change for storage
sql/sql_cache.cc:
  change for storage
storage/heap/Makefile.am:
  change for storage
storage/innobase/include/Makefile.i:
  change for storage
storage/myisammrg/myrg_def.h:
  change for storage
storage/ndb/Makefile.am:
  change for storage
storage/ndb/config/common.mk.am:
  change for storage
storage/ndb/config/type_kernel.mk.am:
  change for storage
storage/ndb/config/type_mgmapiclient.mk.am:
  change for storage
storage/ndb/config/type_ndbapi.mk.am:
  change for storage
storage/ndb/config/type_ndbapiclient.mk.am:
  change for storage
storage/ndb/config/type_ndbapitest.mk.am:
  change for storage
storage/ndb/config/type_ndbapitools.mk.am:
  change for storage
storage/ndb/config/type_util.mk.am:
  change for storage
storage/ndb/docs/Makefile.am:
  change for storage
storage/ndb/include/Makefile.am:
  change for storage
storage/ndb/src/Makefile.am:
  change for storage
storage/ndb/src/common/debugger/Makefile.am:
  change for storage
storage/ndb/src/common/debugger/signaldata/Makefile.am:
  change for storage
storage/ndb/src/common/logger/Makefile.am:
  change for storage
storage/ndb/src/common/mgmcommon/Makefile.am:
  change for storage
storage/ndb/src/common/portlib/Makefile.am:
  change for storage
storage/ndb/src/common/transporter/Makefile.am:
  change for storage
storage/ndb/src/common/util/Makefile.am:
  change for storage
storage/ndb/src/cw/cpcd/Makefile.am:
  change for storage
storage/ndb/src/kernel/Makefile.am:
  change for storage
storage/ndb/src/kernel/blocks/backup/Makefile.am:
  change for storage
storage/ndb/src/kernel/blocks/cmvmi/Makefile.am:
  change for storage
storage/ndb/src/kernel/blocks/dbacc/Makefile.am:
  change for storage
storage/ndb/src/kernel/blocks/dbdict/Makefile.am:
  change for storage
storage/ndb/src/kernel/blocks/dbdih/Makefile.am:
  change for storage
storage/ndb/src/kernel/blocks/dblqh/Makefile.am:
  change for storage
storage/ndb/src/kernel/blocks/dbtc/Makefile.am:
  change for storage
storage/ndb/src/kernel/blocks/dbtup/Makefile.am:
  change for storage
storage/ndb/src/kernel/blocks/dbtux/Makefile.am:
  change for storage
storage/ndb/src/kernel/blocks/dbutil/Makefile.am:
  change for storage
storage/ndb/src/kernel/blocks/grep/Makefile.am:
  change for storage
storage/ndb/src/kernel/blocks/ndbcntr/Makefile.am:
  change for storage
storage/ndb/src/kernel/blocks/ndbfs/Makefile.am:
  change for storage
storage/ndb/src/kernel/blocks/qmgr/Makefile.am:
  change for storage
storage/ndb/src/kernel/blocks/suma/Makefile.am:
  change for storage
storage/ndb/src/kernel/blocks/trix/Makefile.am:
  change for storage
storage/ndb/src/kernel/error/Makefile.am:
  change for storage
storage/ndb/src/kernel/vm/Makefile.am:
  change for storage
storage/ndb/src/mgmapi/Makefile.am:
  change for storage
storage/ndb/src/mgmclient/Makefile.am:
  change for storage
storage/ndb/src/mgmsrv/Makefile.am:
  change for storage
storage/ndb/src/ndbapi/Makefile.am:
  change for storage
storage/ndb/test/ndbapi/Makefile.am:
  change for storage
storage/ndb/test/ndbapi/bank/Makefile.am:
  change for storage
storage/ndb/test/run-test/Makefile.am:
  change for storage
storage/ndb/test/src/Makefile.am:
  Change for storage
storage/ndb/test/tools/Makefile.am:
  Change for storage
storage/ndb/tools/Makefile.am:
  Change for storage
2005-04-26 19:04:36 -07:00

77 lines
2.9 KiB
Text

dnl ---------------------------------------------------------------------------
dnl Macro: MYSQL_CHECK_INNODB
dnl Sets HAVE_INNOBASE_DB if --with-innodb is used
dnl ---------------------------------------------------------------------------
AC_DEFUN([MYSQL_CHECK_INNODB], [
AC_ARG_WITH([innodb],
[
--without-innodb Do not include the InnoDB table handler],
[innodb="$withval"],
[innodb=yes])
AC_MSG_CHECKING([for Innodb])
have_innodb=no
innodb_includes=
innodb_libs=
case "$innodb" in
yes )
AC_MSG_RESULT([Using Innodb])
AC_DEFINE([HAVE_INNOBASE_DB], [1], [Using Innobase DB])
have_innodb="yes"
innodb_includes="-I\$(top_builddir)/innobase/include"
innodb_system_libs=""
dnl Some libs are listed several times, in order for gcc to sort out
dnl circular references.
innodb_libs="\
\$(top_builddir)/storage/innobase/usr/libusr.a\
\$(top_builddir)/storage/innobase/srv/libsrv.a\
\$(top_builddir)/storage/innobase/dict/libdict.a\
\$(top_builddir)/storage/innobase/que/libque.a\
\$(top_builddir)/storage/innobase/srv/libsrv.a\
\$(top_builddir)/storage/innobase/ibuf/libibuf.a\
\$(top_builddir)/storage/innobase/row/librow.a\
\$(top_builddir)/storage/innobase/pars/libpars.a\
\$(top_builddir)/storage/innobase/btr/libbtr.a\
\$(top_builddir)/storage/innobase/trx/libtrx.a\
\$(top_builddir)/storage/innobase/read/libread.a\
\$(top_builddir)/storage/innobase/usr/libusr.a\
\$(top_builddir)/storage/innobase/buf/libbuf.a\
\$(top_builddir)/storage/innobase/ibuf/libibuf.a\
\$(top_builddir)/storage/innobase/eval/libeval.a\
\$(top_builddir)/storage/innobase/log/liblog.a\
\$(top_builddir)/storage/innobase/fsp/libfsp.a\
\$(top_builddir)/storage/innobase/fut/libfut.a\
\$(top_builddir)/storage/innobase/fil/libfil.a\
\$(top_builddir)/storage/innobase/lock/liblock.a\
\$(top_builddir)/storage/innobase/mtr/libmtr.a\
\$(top_builddir)/storage/innobase/page/libpage.a\
\$(top_builddir)/storage/innobase/rem/librem.a\
\$(top_builddir)/storage/innobase/thr/libthr.a\
\$(top_builddir)/storage/innobase/sync/libsync.a\
\$(top_builddir)/storage/innobase/data/libdata.a\
\$(top_builddir)/storage/innobase/mach/libmach.a\
\$(top_builddir)/storage/innobase/ha/libha.a\
\$(top_builddir)/storage/innobase/dyn/libdyn.a\
\$(top_builddir)/storage/innobase/mem/libmem.a\
\$(top_builddir)/storage/innobase/sync/libsync.a\
\$(top_builddir)/storage/innobase/ut/libut.a\
\$(top_builddir)/storage/innobase/os/libos.a\
\$(top_builddir)/storage/innobase/ut/libut.a"
AC_CHECK_LIB(rt, aio_read, [innodb_system_libs="-lrt"])
;;
* )
AC_MSG_RESULT([Not using Innodb])
;;
esac
AC_SUBST(innodb_includes)
AC_SUBST(innodb_libs)
AC_SUBST(innodb_system_libs)
])
dnl ---------------------------------------------------------------------------
dnl END OF MYSQL_CHECK_INNODB SECTION
dnl ---------------------------------------------------------------------------