gegl r2996 - in trunk: . docs
- From: neo svn gnome org
- To: svn-commits-list gnome org
- Subject: gegl r2996 - in trunk: . docs
- Date: Fri, 27 Mar 2009 20:11:31 +0000 (UTC)
Author: neo
Date: Fri Mar 27 20:11:31 2009
New Revision: 2996
URL: http://svn.gnome.org/viewvc/gegl?rev=2996&view=rev
Log:
2009-03-27 Sven Neumann <sven gimp org>
* configure.ac: added a check for 'dot'.
* docs/Makefile.am: do not attempt to create inheritance.png if
'dot' is missing.
Modified:
trunk/ChangeLog
trunk/configure.ac
trunk/docs/Makefile.am
Modified: trunk/configure.ac
==============================================================================
--- trunk/configure.ac (original)
+++ trunk/configure.ac Fri Mar 27 20:11:31 2009
@@ -595,6 +595,20 @@
AM_CONDITIONAL(HAVE_ASCIIDOC, test "x$have_asciidoc" = "xyes")
+###############
+# Check for dot
+###############
+
+AC_PATH_PROG(DOT, dot, no)
+if test "$DOT" = "no"; then
+ have_dot="no (dot not found)"
+ AC_MSG_RESULT([*** Check for dot command failed.])
+else
+ have_dot="yes"
+fi
+AM_CONDITIONAL(HAVE_DOT, test "x$have_dot" = "xyes")
+
+
#################
# Check for Cairo
#################
Modified: trunk/docs/Makefile.am
==============================================================================
--- trunk/docs/Makefile.am (original)
+++ trunk/docs/Makefile.am Fri Mar 27 20:11:31 2009
@@ -154,7 +154,9 @@
images/inheritance.png: $(top_srcdir)/docs/Makefile
if HAVE_RUBY
- $(top_srcdir)/tools/gobj2dot.rb $(top_srcdir) | dot -Tpng > $(top_srcdir)/docs/images/inheritance.png
+if HAVE_DOT
+ $(top_srcdir)/tools/gobj2dot.rb $(top_srcdir) | $(DOT) -Tpng > $(top_srcdir)/docs/images/inheritance.png
+endif
endif
index.html: index-static.txt \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]