[Groonga-mysql-commit] mroonga/mroonga [master] fix --with-debug=no doesn't applied.

Back to archive index

null+****@clear***** null+****@clear*****
2011年 6月 28日 (火) 07:27:22 JST


Kouhei Sutou	2011-06-27 22:27:22 +0000 (Mon, 27 Jun 2011)

  New Revision: 3221b753b55ee462e4ff9527232afc8bda63d482

  Log:
    fix --with-debug=no doesn't applied.
    
    mrn_table.cc also uses config.h.
    Reported by @supistar. Thanks!!!

  Modified files:
    doc/ja/source/news.rst
    mrn_table.cc

  Modified: doc/ja/source/news.rst (+6 -0)
===================================================================
--- doc/ja/source/news.rst    2011-06-24 10:48:01 +0000 (b397b1f)
+++ doc/ja/source/news.rst    2011-06-27 22:27:22 +0000 (ecefa2a)
@@ -16,10 +16,16 @@
 * 安定してきたので、groongaのデフォルトログレベルをDUMPからNOTICEに変更。
 * Mac OS Xでのビルドをサポート。(@issmさんが報告)
 
+修正
+++++
+
+* 常にデバッグモードでビルドされる問題を修正。(@supistarさんが報告)
+
 感謝
 ++++
 
 * @issmさん
+* @supistarさん
 
 .. _release-0-6:
 

  Modified: mrn_table.cc (+12 -0)
===================================================================
--- mrn_table.cc    2011-06-24 10:48:01 +0000 (ddc2bcf)
+++ mrn_table.cc    2011-06-27 22:27:22 +0000 (8552240)
@@ -17,6 +17,18 @@
   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */
 
+#ifdef HAVE_CONFIG_H
+#  include "config.h"
+/* We need to undefine them because my_config.h defines them. :< */
+#  undef VERSION
+#  undef PACKAGE
+#  undef PACKAGE_BUGREPORT
+#  undef PACKAGE_NAME
+#  undef PACKAGE_STRING
+#  undef PACKAGE_TARNAME
+#  undef PACKAGE_VERSION
+#endif
+
 #define MYSQL_SERVER 1
 #include "mysql_version.h"
 #if MYSQL_VERSION_ID < 50500




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