[Groonga-commit] groonga/groonga [master] fix build error on no Cutter.

Back to archive index

null+****@clear***** null+****@clear*****
2011年 2月 8日 (火) 17:26:37 JST


Kouhei Sutou	2011-02-08 08:26:37 +0000 (Tue, 08 Feb 2011)

  New Revision: 0afbe8d6442bd2f2082ec42bd248319630d48672

  Log:
    fix build error on no Cutter.

  Modified files:
    configure.ac

  Modified: configure.ac (+3 -3)
===================================================================
--- configure.ac    2011-02-08 06:01:49 +0000 (2d2f701)
+++ configure.ac    2011-02-08 08:26:37 +0000 (9c6ab53)
@@ -424,8 +424,8 @@ m4_ifdef([AC_CHECK_GCUTTER],
          [AC_CHECK_GCUTTER(>= $REQUIRED_MINIMUM_CUTTER_VERSION)],
          [cutter_use_cutter="no"])
 
-AM_CONDITIONAL([WITH_CUTTER], [test "$cutter_use_cutter" != "no"])
-if test "$cutter_use_cutter" != "no"; then
+AM_CONDITIONAL([WITH_CUTTER], [test "$cutter_use_cutter" = "yes"])
+if test "$cutter_use_cutter" = "yes"; then
   AC_DEFINE(WITH_CUTTER, 1, [Define to 1 if you use Cutter])
 
   ac_cv_have_libmemcached=no
@@ -489,7 +489,7 @@ AC_SUBST(RUBY)
 AM_CONDITIONAL([WITH_RUBY], [test "$ac_cv_ruby_available" = "yes"])
 
 AM_CONDITIONAL([WITH_UNIT_TEST],
-               [test "$cutter_use_cutter" != "no" -o \
+               [test "$cutter_use_cutter" = "yes" -o \
                      "$ac_cv_ruby_available" = "yes"])
 
 # libedit




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