Tetsuro IKEDA
null+****@clear*****
Thu Oct 4 10:29:03 JST 2012
Tetsuro IKEDA 2009-06-02 11:53:06 +0900 (Tue, 02 Jun 2009) New Revision: 346fcca74e8dd5657711174979a5be40b978323d https://github.com/mroonga/mroonga/commit/346fcca74e8dd5657711174979a5be40b978323d Log: mysql built-in build and standalone build. Modified files: configure.ac Modified: configure.ac (+20 -2) =================================================================== --- configure.ac 2009-06-01 17:57:55 +0900 (6493773) +++ configure.ac 2009-06-02 11:53:06 +0900 (9937a6c) @@ -7,6 +7,21 @@ AC_PROG_CXX AC_PROG_CPP AC_PROG_LIBTOOL +standalone_build= + +AC_DEFUN([CONFIG_OPTION_PLUGINS], + AC_MSG_CHECKING([standalone build]) + AC_ARG_WITH([plugins],, + [ + standalone_build="no" + AC_MSG_RESULT([no]) + ], + [ + standalone_build="yes" + AC_MSG_RESULT([yes]) + ]) +) + AC_DEFUN([CONFIG_OPTION_MYSQL],[ AC_MSG_CHECKING([mysql source]) AC_ARG_WITH([mysql], @@ -20,7 +35,7 @@ AC_DEFUN([CONFIG_OPTION_MYSQL],[ AC_MSG_ERROR([invalid mysql source directory]) fi ], - [AC_MSG_ERROR([--with-mysql=PATH is required])] + [AC_MSG_ERROR([--with-mysql=PATH is required for standalone build])] ) ]) @@ -112,7 +127,10 @@ AC_DEFUN([CONFIG_OPTION_GROONGA],[ AC_SUBST([GROONGA_LIBS]) ]) -CONFIG_OPTION_MYSQL +CONFIG_OPTION_PLUGINS +if test "$standalone_build" = "yes";then + CONFIG_OPTION_MYSQL +fi CONFIG_OPTION_MECAB CONFIG_OPTION_GROONGA -------------- next part -------------- HTML����������������������������...다운로드