~drizzle-trunk/drizzle/development

1 by brian
clean slate
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)
77.1.19 by Monty Taylor
Removed reference to aio.h - we don't reference its use anywhere.
9
  AC_CHECK_HEADERS(sched.h)
1 by brian
clean slate
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