summaryrefslogtreecommitdiff
path: root/storage/innobase/plug.in
diff options
context:
space:
mode:
authorVasil Dimov <vasil.dimov@oracle.com>2010-04-12 18:20:41 +0300
committerVasil Dimov <vasil.dimov@oracle.com>2010-04-12 18:20:41 +0300
commitc877ff39bceb4df96acf3e54f7c98a2bed12b8ee (patch)
tree04211a3e5734b73e9f94cff511a4a74ff87075f0 /storage/innobase/plug.in
parentfe0828b3b8193e086abe740572c9b0cb2b7da671 (diff)
parent410e23a6af8b597cdda0890d6ed9008355edee7a (diff)
downloadmariadb-git-c877ff39bceb4df96acf3e54f7c98a2bed12b8ee.tar.gz
Import branches/innodb+ from SVN on top of storage/innobase.
Diffstat (limited to 'storage/innobase/plug.in')
-rw-r--r--storage/innobase/plug.in12
1 files changed, 10 insertions, 2 deletions
diff --git a/storage/innobase/plug.in b/storage/innobase/plug.in
index 09a95ecc157..4ca1b520526 100644
--- a/storage/innobase/plug.in
+++ b/storage/innobase/plug.in
@@ -1,5 +1,5 @@
#
-# Copyright (c) 2006, 2009, Innobase Oy. All Rights Reserved.
+# Copyright (c) 2006, 2010, Innobase Oy. All Rights Reserved.
#
# This program is free software; you can redistribute it and/or modify it under
# the terms of the GNU General Public License as published by the Free Software
@@ -14,7 +14,7 @@
# Place, Suite 330, Boston, MA 02111-1307 USA
#
-MYSQL_STORAGE_ENGINE(innobase, innodb, [InnoDB Storage Engine],
+MYSQL_STORAGE_ENGINE(innobase, innodb, [InnoDB Storage Engine],
[Transactional Tables using InnoDB], [max,max-no-ndb])
MYSQL_PLUGIN_DIRECTORY(innobase, [storage/innobase])
MYSQL_PLUGIN_STATIC(innobase, [libinnobase.a])
@@ -28,6 +28,14 @@ MYSQL_PLUGIN_ACTIONS(innobase, [
AC_C_BIGENDIAN
case "$target_os" in
lin*)
+ AC_CHECK_HEADER(libaio.h,
+ AC_CHECK_LIB(aio, io_setup,
+ LIBS="$LIBS -laio"
+ AC_DEFINE(LINUX_NATIVE_AIO, [1],
+ [Linux native async I/O support]),
+ AC_MSG_WARN([No Linux native async I/O])),
+ AC_MSG_WARN([No Linux native async I/O]))
+
CFLAGS="$CFLAGS -DUNIV_LINUX";;
hpux10*)
CFLAGS="$CFLAGS -DUNIV_MUST_NOT_INLINE -DUNIV_HPUX -DUNIV_HPUX10";;