[Groonga-commit] groonga/groonga [master] Use "" for no Ruby

Back to archive index

null+****@clear***** null+****@clear*****
2012年 3月 5日 (月) 22:58:15 JST


Kouhei Sutou	2012-03-05 22:58:15 +0900 (Mon, 05 Mar 2012)

  New Revision: ff6e4f06e847e3234c3298dd58bddb1c76a0663f

  Log:
    Use "" for no Ruby

  Modified files:
    configure.ac

  Modified: configure.ac (+3 -1)
===================================================================
--- configure.ac    2012-03-05 22:35:04 +0900 (5e0fd69)
+++ configure.ac    2012-03-05 22:58:15 +0900 (dc04e53)
@@ -677,7 +677,9 @@ AC_ARG_WITH([ruby19],
             [RUBY="$withval"],
             [RUBY="no"])
 
-if test "x$RUBY" != "xno"; then
+if test "x$RUBY" = "xno"; then
+  RUBY=
+else
   if test "x$RUBY" = "xyes"; then
     AC_PATH_PROGS(RUBY, [ruby1.9 ruby19 ruby1.9.1], none)
     if test "$RUBY" != "none"; then




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