Navigation Menu

Skip to content

Commit

Permalink
debian: share required groonga version
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed May 24, 2012
1 parent a3ace09 commit ea9da8a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -31,6 +31,7 @@ cmake_install.cmake
/stamp-h1
/src/scratch
/libmroonga.a
/packages/debian/control
/packages/rpm/*/*.spec
/packages/yum/fedora/
/packages/yum/centos/
Expand Down
5 changes: 4 additions & 1 deletion configure.ac
Expand Up @@ -177,8 +177,10 @@ AC_DEFUN([CONFIG_OPTION_MYSQL],[
])

m4_define([mrn_required_groonga_version], m4_include(required_groonga_version))
REQUIRED_GROONGA_VERSION=mrn_required_groonga_version
AC_SUBST(REQUIRED_GROONGA_VERSION)
AC_DEFUN([CONFIG_OPTION_GROONGA],[
PKG_CHECK_MODULES(GROONGA, groonga >= 2.0.3)
PKG_CHECK_MODULES(GROONGA, groonga >= ${REQUIRED_GROONGA_VERSION})
_PKG_CONFIG(GROONGA_VERSION, variable=groonga_version, groonga)
GROONGA_VERSION=$pkg_cv_GROONGA_VERSION
AC_SUBST(GROONGA_VERSION)
Expand Down Expand Up @@ -354,6 +356,7 @@ AC_OUTPUT([
mrn_version.h
test/sql/suite/mroonga_storage/r/information_schema.result
test/sql/suite/mroonga_storage/r/variables.result
packages/debian/control
packages/rpm/centos/mysql-mroonga.spec
packages/rpm/fedora/mysql-mroonga.spec
])
4 changes: 2 additions & 2 deletions packages/debian/control → packages/debian/control.in
Expand Up @@ -5,7 +5,7 @@ Maintainer: Kouhei Sutou <kou@clear-code.com>
Build-Depends:
debhelper (>= 7.0.50),
autotools-dev,
libgroonga-dev (>= 2.0.3),
libgroonga-dev (>= @REQUIRED_GROONGA_VERSION@),
libmysqlclient-dev,
libssl-dev
Standards-Version: 3.9.1
Expand All @@ -19,7 +19,7 @@ Breaks: mysql-server-groonga (<< 1.10-1)
Depends:
${misc:Depends},
${shlibs:Depends},
libgroonga0 (>= 2.0.2),
libgroonga0 (>= @REQUIRED_GROONGA_VERSION@),
mysql-server
Description: A fast fulltext searchable storage engine for MySQL.
Mroonga is a fast fulltext searchable storage engine for MySQL.
Expand Down

0 comments on commit ea9da8a

Please sign in to comment.