1
MYSQL_STORAGE_ENGINE(innobase, innodb, [InnoDB Storage Engine],
2
[Transactional Tables using InnoDB], [max,max-no-ndb])
3
MYSQL_PLUGIN_DIRECTORY(innobase, [storage/innobase])
4
MYSQL_PLUGIN_STATIC(innobase, [libinnobase.a])
5
MYSQL_PLUGIN_MANDATORY(innobase) dnl Default
6
MYSQL_PLUGIN_ACTIONS(innobase, [
7
AC_CHECK_LIB(rt, aio_read, [innodb_system_libs="-lrt"])
8
AC_SUBST(innodb_system_libs)
9
AC_CHECK_HEADERS(aio.h sched.h)
10
AC_CHECK_SIZEOF(int, 4)
11
AC_CHECK_SIZEOF(long, 4)
12
AC_CHECK_SIZEOF(void*, 4)
13
AC_CHECK_FUNCS(sched_yield)
14
AC_CHECK_FUNCS(fdatasync)
15
AC_CHECK_FUNCS(localtime_r)
19
CFLAGS="$CFLAGS -DUNIV_LINUX";;
21
CFLAGS="$CFLAGS -DUNIV_MUST_NOT_INLINE -DUNIV_HPUX -DUNIV_HPUX10";;
23
CFLAGS="$CFLAGS -DUNIV_MUST_NOT_INLINE -DUNIV_HPUX";;
25
CFLAGS="$CFLAGS -DUNIV_AIX";;
27
CFLAGS="$CFLAGS -DUNIV_MUST_NOT_INLINE";;
29
CFLAGS="$CFLAGS -DUNIV_MUST_NOT_INLINE";;
31
CFLAGS="$CFLAGS -DUNIV_SOLARIS";;
33
# Problem when linking on SCO
34
CFLAGS="$CFLAGS -DUNIV_MUST_NOT_INLINE";;
36
CFLAGS="$CFLAGS -DUNIV_MUST_NOT_INLINE";;