[Groonga-mysql-commit] mroonga/mroonga [master] define MRN_PACKAGE_STRING in mrn_version.h.

Back to archive index

null+****@clear***** null+****@clear*****
2011年 11月 25日 (金) 10:28:19 JST


Kouhei Sutou	2011-11-25 01:28:19 +0000 (Fri, 25 Nov 2011)

  New Revision: 16b2ebe3e0058aa664385764da5b679d33978732

  Log:
    define MRN_PACKAGE_STRING in mrn_version.h.
    
    Suggested by Kazuhiko. Thanks!!!

  Modified files:
    configure.ac
    mrn_version.h.in

  Modified: configure.ac (+0 -4)
===================================================================
--- configure.ac    2011-11-24 06:23:11 +0000 (e7ee143)
+++ configure.ac    2011-11-25 01:28:19 +0000 (c0b34d9)
@@ -18,10 +18,6 @@ AC_SUBST([MRN_VERSION_MICRO])
 MRN_VERSION_IN_HEX=`printf "0x%02x%02x" mrn_version_major mrn_version_minor[]mrn_version_micro`
 AC_SUBST([MRN_VERSION_IN_HEX])
 
-AC_DEFINE_UNQUOTED(MRN_PACKAGE_STRING,
-                   ["$PACKAGE_STRING"],
-                   [Define to the full name and version of this package.])
-
 AC_C_BIGENDIAN
 AC_PROG_CC
 AC_PROG_CXX

  Modified: mrn_version.h.in (+3 -0)
===================================================================
--- mrn_version.h.in    2011-11-24 06:23:11 +0000 (e7c94c8)
+++ mrn_version.h.in    2011-11-25 01:28:19 +0000 (456cb82)
@@ -34,4 +34,7 @@
 /* Define mroonga micro version */
 #define MRN_VERSION_MICRO @MRN_VERSION_MICRO@
 
+/* Define to the full name and version of this package. */
+#define MRN_PACKAGE_STRING "@PACKAGE_STRING@"
+
 #endif /* _mrn_version_h */




Groonga-mysql-commit メーリングリストの案内
Back to archive index