Develop and Download Open Source Software

Browse Subversion Repository

Diff of /trunk/configure.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 50 by mir, Thu Dec 6 10:31:31 2007 UTC revision 81 by mir, Fri Jan 18 09:12:45 2008 UTC
# Line 1  Line 1 
1  dnl For Tritonn MySQL Engine  dnl For Tritonn MySQL Engine
2  AC_INIT(src/ha_tritonn.cc)  AC_INIT(src/ha_tritonn.cc)
3  AC_CONFIG_AUX_DIR(config)  AM_CONFIG_HEADER(src/tritonn_config.h)
 dnl AM_CONFIG_HEADER(src/skeleton_config.h)  
4  AM_INIT_AUTOMAKE("tritonn_engine", 0.0.1)  AM_INIT_AUTOMAKE("tritonn_engine", 0.0.1)
5    
6  AC_PROG_CC  AC_PROG_CC
# Line 12  AC_PROG_LIBTOOL Line 11  AC_PROG_LIBTOOL
11  LIBTOOL="$LIBTOOL --preserve-dup-deps"  LIBTOOL="$LIBTOOL --preserve-dup-deps"
12  AC_SUBST(LIBTOOL)dnl  AC_SUBST(LIBTOOL)dnl
13    
14  sinclude(config/ac_mysql.m4)  AC_DEFUN([MYSQL_SRC_TEST], [
15  sinclude(config/ac_system.m4)    AC_MSG_CHECKING(for mysql source code)
16  sinclude(config/dtrace.m4)    AC_ARG_WITH(mysql,
17      [[  --with-mysql[=mysql src directory]      
18                            Source requir to build engine.]],
19      [
20        if test -d "$withval/sql"; then
21          MYSQL_SRC="$i/mysql_config"
22        fi
23        
24        AC_DEFINE([MYSQL_SRC], [1], [Source directory for MySQL])
25        MYSQL_INC="-I$withval/sql -I$withval/include -I$withval/regex -I$withval"
26        AC_MSG_RESULT(["$withval"])
27      ],
28      [
29        AC_MSG_ERROR(["no mysql source provided"])
30      ])
31    ])
32  MYSQL_SRC_TEST  MYSQL_SRC_TEST
33  AC_SUBST(MYSQL_INC)  AC_SUBST(MYSQL_INC)
34    

Legend:
Removed from v.50  
changed lines
  Added in v.81

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26