~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/innobase/plug.in

  • Committer: brian
  • Date: 2008-06-25 05:29:13 UTC
  • Revision ID: brian@localhost.localdomain-20080625052913-6upwo0jsrl4lnapl
clean slate

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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)
 
16
  AC_C_BIGENDIAN
 
17
  case "$target_os" in
 
18
         lin*)
 
19
           CFLAGS="$CFLAGS -DUNIV_LINUX";;
 
20
         hpux10*)
 
21
           CFLAGS="$CFLAGS -DUNIV_MUST_NOT_INLINE -DUNIV_HPUX -DUNIV_HPUX10";;
 
22
         hp*)
 
23
           CFLAGS="$CFLAGS -DUNIV_MUST_NOT_INLINE -DUNIV_HPUX";;
 
24
         aix*)
 
25
           CFLAGS="$CFLAGS -DUNIV_AIX";;
 
26
         irix*)
 
27
           CFLAGS="$CFLAGS -DUNIV_MUST_NOT_INLINE";;
 
28
         osf*)
 
29
           CFLAGS="$CFLAGS -DUNIV_MUST_NOT_INLINE";;
 
30
         *solaris*|*SunOS*)
 
31
           CFLAGS="$CFLAGS -DUNIV_SOLARIS";;
 
32
         sysv5uw7*)
 
33
           # Problem when linking on SCO
 
34
           CFLAGS="$CFLAGS -DUNIV_MUST_NOT_INLINE";;
 
35
         openbsd*)
 
36
           CFLAGS="$CFLAGS -DUNIV_MUST_NOT_INLINE";;
 
37
  esac
 
38
  ])
 
39