[Groonga-commit] groonga/groonga [master] umm... OK. Document will be enabled by default if system has hg.

Back to archive index

null+****@clear***** null+****@clear*****
2011年 11月 13日 (日) 20:47:20 JST


Kouhei Sutou	2011-11-13 11:47:20 +0000 (Sun, 13 Nov 2011)

  New Revision: d52834c29c475b78488446b051fcff4102f15a2c

  Log:
    umm... OK. Document will be enabled by default if system has hg.

  Modified files:
    configure.ac

  Modified: configure.ac (+6 -6)
===================================================================
--- configure.ac    2011-11-13 11:44:09 +0000 (8b2816a)
+++ configure.ac    2011-11-13 11:47:20 +0000 (ab7b10a)
@@ -847,15 +847,15 @@ if test x"$enable_document" != x"no"; then
   if test -f "$srcdir/doc/build-stamp"; then
     document_available=yes
   else
-    if test x"$enable_document" = x"yes"; then
-      AC_PATH_PROG(HG, hg, hg-not-found)
-      if test x"$HG" = x"hg-not-found"; then
+    AC_PATH_PROG(HG, hg, hg-not-found)
+    if test x"$HG" = x"hg-not-found"; then
+      if test x"$enable_document" = x"yes"; then
         AC_MSG_ERROR("No hg found")
-      else
-        document_available=yes
       fi
-      AC_SUBST(HG)
+    else
+      document_available=yes
     fi
+    AC_SUBST(HG)
   fi
 fi
 




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