dnl INCLUDES and LIBS for GUILE
AC_CHECK_PROG(GUILE,guile,guile)
-AM_CONDITIONAL(WITH_GUILE, [test "x$GUILE" != "x"])
if test "x$GUILE" = "x"; then
HAVE_GUILE=0
else
GUILE_INCLUDES=
GUILE_LIBS=
fi
+AC_CHECK_HEADER(libguile.h,,[
+ AC_MSG_WARN([Unable to find header libguile.h. The Guile packages will not be built])
+ HAVE_GUILE=0])
+AM_CONDITIONAL(WITH_GUILE, [test "x$HAVE_GUILE" = "x1"])
AC_SUBST(HAVE_GUILE)
AC_SUBST(GUILE_INCLUDES)
AC_SUBST(GUILE_LIBS)
dnl INCLUDES and LIBS for PYTHON
AC_CHECK_PROG(PYTHON,python,python)
-HAVE_PYTHON=1
-if test "x$PYTHON" != "x"; then
+if test "x$PYTHON" = "x"; then
+ HAVE_PYTHON=0
+else
+ HAVE_PYTHON=1
PYTHON_VERSION=`python -V 2>&1 | grep Python | cut -d ' ' -f 2`
if test "x$PYTHON_VERSION" = "x"; then
HAVE_PYTHON=0
for i in $(GRAPHS); do echo "dot $$i"; \
$(top_builddir)/cmd/dot/dot -Tpng -o$$i.png $(top_srcdir)/graphs/directed/$$i; done
+png_cg:
+ for i in $(GRAPHS); do echo "dot $$i"; \
+ $(top_builddir)/cmd/dot/dot -Tpng:cg -o$$i.png_cg $(top_srcdir)/graphs/directed/$$i; done
+
ps:
for i in $(GRAPHS); do echo "dot $$i"; \
$(top_builddir)/cmd/dot/dot -Tps -o$$i.ps $(top_srcdir)/graphs/directed/$$i; done
CLEANFILES = csharp/SWIG*.cs csharp/gv*.cs csharp/*.dot csharp/*.png csharp/*.so \
java/*.dot java/*.png java/SWIG*.java java/gv*.java java/*.class java/*.so \
perl/gv.pm perl/*.so perl/*.dot perl/*.png \
- php/gv.php php/php_gv.h php/*.so
+ php/gv.php php/php_gv.h php/*.so \
python/gv.py python/gv.pyc python/*.so python/*.dot python/*.png \
ruby/*.so ruby/*.dot ruby/*.png \
tcl/*.so tcl/*.dot tcl/*.png pkgIndex.tcl