diff options
author | unknown <brian@zim.(none)> | 2006-08-23 13:59:16 -0700 |
---|---|---|
committer | unknown <brian@zim.(none)> | 2006-08-23 13:59:16 -0700 |
commit | fb47d6581bb07cca94add40815481d59bfda532e (patch) | |
tree | eebdd5120d105133e8d7c26dfd74bec1844c7998 /storage/innobase/plug.in | |
parent | 977cd20a70d0d4ca9058d2b287baf12c64dc19fa (diff) | |
download | mariadb-git-fb47d6581bb07cca94add40815481d59bfda532e.tar.gz |
This patch removes need for a innodb to have its own configure.
BitKeeper/deleted/.del-configure.in:
Delete: storage/innobase/configure.in
BUILD/FINISH.sh:
Removed work for Innodb's configure
BUILD/autorun.sh:
Removed pieces for Innodb's build
storage/innobase/Makefile.am:
Removed ib_config.h needs
storage/innobase/include/Makefile.i:
Expanded includes.
storage/innobase/include/univ.i:
Removed ib_config need
storage/innobase/plug.in:
Added support taken from configure.in for building Innodb
Diffstat (limited to 'storage/innobase/plug.in')
-rw-r--r-- | storage/innobase/plug.in | 63 |
1 files changed, 62 insertions, 1 deletions
diff --git a/storage/innobase/plug.in b/storage/innobase/plug.in index b3a90c5a98f..fc1d758fd87 100644 --- a/storage/innobase/plug.in +++ b/storage/innobase/plug.in @@ -5,5 +5,66 @@ MYSQL_PLUGIN_STATIC(innobase, [libinnobase.a]) MYSQL_PLUGIN_ACTIONS(innobase, [ AC_CHECK_LIB(rt, aio_read, [innodb_system_libs="-lrt"]) AC_SUBST(innodb_system_libs) -]) + AC_PROG_CC + AC_PROG_RANLIB + AC_PROG_INSTALL + AC_PROG_LIBTOOL + AC_CHECK_HEADERS(aio.h sched.h) + AC_CHECK_SIZEOF(int, 4) + AC_CHECK_SIZEOF(long, 4) + AC_CHECK_SIZEOF(void*, 4) + AC_CHECK_FUNCS(sched_yield) + AC_CHECK_FUNCS(fdatasync) + AC_CHECK_FUNCS(localtime_r) + AC_C_BIGENDIAN + case "$target_os" in + lin*) + CFLAGS="$CFLAGS -DUNIV_LINUX";; + hpux10*) + CFLAGS="$CFLAGS -DUNIV_MUST_NOT_INLINE -DUNIV_HPUX -DUNIV_HPUX10";; + hp*) + CFLAGS="$CFLAGS -DUNIV_MUST_NOT_INLINE -DUNIV_HPUX";; + aix*) + CFLAGS="$CFLAGS -DUNIV_AIX";; + irix*) + CFLAGS="$CFLAGS -DUNIV_MUST_NOT_INLINE";; + osf*) + CFLAGS="$CFLAGS -DUNIV_MUST_NOT_INLINE";; + sysv5uw7*) + # Problem when linking on SCO + CFLAGS="$CFLAGS -DUNIV_MUST_NOT_INLINE";; + openbsd*) + CFLAGS="$CFLAGS -DUNIV_MUST_NOT_INLINE";; + esac + AC_CONFIG_FILES( + storage/innobase/ut/Makefile + storage/innobase/btr/Makefile + storage/innobase/buf/Makefile + storage/innobase/data/Makefile + storage/innobase/dict/Makefile + storage/innobase/dyn/Makefile + storage/innobase/eval/Makefile + storage/innobase/fil/Makefile + storage/innobase/fsp/Makefile + storage/innobase/fut/Makefile + storage/innobase/ha/Makefile + storage/innobase/ibuf/Makefile + storage/innobase/lock/Makefile + storage/innobase/log/Makefile + storage/innobase/mach/Makefile + storage/innobase/mem/Makefile + storage/innobase/mtr/Makefile + storage/innobase/os/Makefile + storage/innobase/page/Makefile + storage/innobase/pars/Makefile + storage/innobase/que/Makefile + storage/innobase/read/Makefile + storage/innobase/rem/Makefile + storage/innobase/row/Makefile + storage/innobase/srv/Makefile + storage/innobase/sync/Makefile + storage/innobase/thr/Makefile + storage/innobase/trx/Makefile + storage/innobase/usr/Makefile) + ]) |