null+****@clear*****
null+****@clear*****
2011年 11月 13日 (日) 20:43:50 JST
Kouhei Sutou 2011-11-13 11:43:50 +0000 (Sun, 13 Nov 2011)
New Revision: ebb2ae29dbc4359c7b1cc37481df8a64d6edd082
Log:
don't check hg unless --enable-document.
Modified files:
configure.ac
Modified: configure.ac (+2 -2)
===================================================================
--- configure.ac 2011-11-13 11:31:50 +0000 (3b782de)
+++ configure.ac 2011-11-13 11:43:50 +0000 (8b2816a)
@@ -844,20 +844,20 @@ AC_MSG_RESULT($enable_document)
document_available=no
if test x"$enable_document" != x"no"; then
- AC_PATH_PROG(HG, hg, hg-not-found)
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_MSG_ERROR("No hg found")
else
document_available=yes
fi
+ AC_SUBST(HG)
fi
fi
fi
-AC_SUBST(HG)
AM_CONDITIONAL([ENABLE_DOCUMENT],
[test "${document_available}" = "yes"])