Browse Subversion Repository
Contents of /trunk/configure.in
Parent Directory
| Revision Log
Revision 50 -
( show annotations)
( download)
Thu Dec 6 10:31:31 2007 UTC
(16 years, 3 months ago)
by mir
File size: 815 byte(s)
created.
| 1 |
dnl For Tritonn MySQL Engine |
| 2 |
AC_INIT(src/ha_tritonn.cc) |
| 3 |
AC_CONFIG_AUX_DIR(config) |
| 4 |
dnl AM_CONFIG_HEADER(src/skeleton_config.h) |
| 5 |
AM_INIT_AUTOMAKE("tritonn_engine", 0.0.1) |
| 6 |
|
| 7 |
AC_PROG_CC |
| 8 |
AC_PROG_CXX |
| 9 |
AC_PROG_CPP |
| 10 |
AC_PROG_GCC_TRADITIONAL |
| 11 |
AC_PROG_LIBTOOL |
| 12 |
LIBTOOL="$LIBTOOL --preserve-dup-deps" |
| 13 |
AC_SUBST(LIBTOOL)dnl |
| 14 |
|
| 15 |
sinclude(config/ac_mysql.m4) |
| 16 |
sinclude(config/ac_system.m4) |
| 17 |
sinclude(config/dtrace.m4) |
| 18 |
|
| 19 |
MYSQL_SRC_TEST |
| 20 |
AC_SUBST(MYSQL_INC) |
| 21 |
|
| 22 |
# We only support GCC and Sun's forte at the moment |
| 23 |
if test "$GCC" = "yes" |
| 24 |
then |
| 25 |
CXXFLAGS="$CXXFLAGS -fno-implicit-templates -fno-exceptions -fno-rtti" |
| 26 |
else |
| 27 |
CFLAGS="-Xa -xstrconst -mt -D_FORTEC_ -fast -m64" |
| 28 |
CXXFLAGS="$CXXFLAGS -noex -mt -D_FORTEC_ -fast -m64" |
| 29 |
DTRACEFLAGS="-64" |
| 30 |
fi |
| 31 |
|
| 32 |
AC_C_CONST |
| 33 |
AC_TYPE_SIZE_T |
| 34 |
AC_CHECK_HEADERS(limits.h syslimits.h) |
| 35 |
AC_OUTPUT(Makefile src/Makefile) |
|