dasher r3469 - trunk



Author: alarson
Date: Sat Mar 22 13:20:13 2008
New Revision: 3469
URL: http://svn.gnome.org/viewvc/dasher?rev=3469&view=rev

Log:
Remove conditional call to GNOME_DOC_INIT (#520549, #398103).


Modified:
   trunk/ChangeLog
   trunk/configure.in

Modified: trunk/configure.in
==============================================================================
--- trunk/configure.in	(original)
+++ trunk/configure.in	Sat Mar 22 13:20:13 2008
@@ -412,13 +412,16 @@
 AC_SUBST(GTK2BUILD_CFLAGS)
 AC_SUBST(GTK2BUILD_LIBS)
 
-if [[ x"$WITHGNOME" = xtrue ]]; then
-  GNOME_DOC_INIT
-else
-  # Allows compilation if --without-gnome is passed
-  AM_CONDITIONAL(ENABLE_SK, test "x$enable_scrollkeeper" = "xyes")
+AC_MSG_CHECKING([for gnome-doc-utils])
+GNOME_DOC_INIT([0.9.0],[have_gdu=yes],[have_gdu=no])
+AC_MSG_RESULT($have_gdu)
+
+if [[ x"$WITHGNOME" = xtrue ]] && [[ "$have_gdu" = xno ]]; then
+    AC_MSG_ERROR([gnome-doc-utils not found!])
 fi
 
+AM_CONDITIONAL(ENABLE_SK, test x"$WITHGNOME" = xfalse -a "x$enable_scrollkeeper" = "xyes")
+
 AC_CONFIG_FILES([Data/dasher.desktop.in
 		 Data/Makefile
 		 Data/training/Makefile



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]