[Groonga-commit] groonga/groonga-normalizer-mysql [master] Extract required groonga version information to other file

Back to archive index

Kouhei Sutou null+****@clear*****
Sat Mar 23 00:37:10 JST 2013


Kouhei Sutou	2013-03-23 00:37:10 +0900 (Sat, 23 Mar 2013)

  New Revision: 96a30789fbd6405a93de688f528ecef805ad2f4f
  https://github.com/groonga/groonga-normalizer-mysql/commit/96a30789fbd6405a93de688f528ecef805ad2f4f

  Message:
    Extract required groonga version information to other file
    
    It is for sharing with CMakeLists.txt.

  Added files:
    required_groonga_version
  Modified files:
    configure.ac

  Modified: configure.ac (+3 -1)
===================================================================
--- configure.ac    2013-03-23 00:26:10 +0900 (cf8f0e5)
+++ configure.ac    2013-03-23 00:37:10 +0900 (8a8612f)
@@ -33,7 +33,9 @@ if test "$GCC" = "yes"; then
   CFLAGS="$CFLAGS -Wmissing-declarations -Wmissing-prototypes"
 fi
 
-PKG_CHECK_MODULES([GROONGA], [groonga >= 2.1.2])
+m4_define([groonga_required_version], m4_include(required_groonga_version))
+GROONGA_REQUIRED_VERSION=groonga_required_version
+PKG_CHECK_MODULES([GROONGA], [groonga >= ${GROONGA_REQUIRED_VERSION}])
 
 _PKG_CONFIG(GROONGA_PLUGINS_DIR, [variable=pluginsdir],    [groonga])
 _PKG_CONFIG(GROONGA,             [variable=groonga],       [groonga])

  Added: required_groonga_version (+1 -0) 100644
===================================================================
--- /dev/null
+++ required_groonga_version    2013-03-23 00:37:10 +0900 (eca07e4)
@@ -0,0 +1 @@
+2.1.2
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index