AC_SUBST(MING_LIBS)
AM_CONDITIONAL(WITH_MING, [test "x$HAVE_MING" != "x"])
+dnl -----------------------------------
+dnl INCLUDES and LIBS for QUARTZ
+
+AC_ARG_WITH(quartz,
+ [AC_HELP_STRING([--with-quartz=no], [quartz library])],
+ [], [with_quartz=no])
+
+if test "x$with_quartz" = "xyes"; then
+PKG_CHECK_MODULES(QUARTZ, [libquartz >= 0.4],
+ [HAVE_QUARTZ=1
+ AC_DEFINE_UNQUOTED(HAVE_QUARTZ,1,
+ [Define if you have the quartz library for SWF support])],
+ [AC_MSG_WARN(quartz library not available)])
+fi
+AC_SUBST(QUARTZ_CFLAGS)
+AC_SUBST(QUARTZ_LIBS)
+AM_CONDITIONAL(WITH_QUARTZ, [test "x$HAVE_QUARTZ" != "x"])
+
dnl -----------------------------------
dnl INCLUDES and LIBS for GD
plugin/gd/Makefile
plugin/pango/Makefile
plugin/ming/Makefile
+ plugin/quartz/Makefile
plugin/dot_layout/Makefile
plugin/neato_layout/Makefile
plugin/xlib/Makefile
# $Id$ $Revision$
## Process this file with automake to produce Makefile.in
-SUBDIRS = core gd pango dot_layout neato_layout xlib gtk ming devil gdk_pixbuf rsvg
+SUBDIRS = core gd pango dot_layout neato_layout xlib gtk ming devil gdk_pixbuf rsvg quartz
EXTRA_DIST = Makefile.old
--- /dev/null
+# $Id$ $Revision$
+## Process this file with automake to produce Makefile.in
+
+AM_CPPFLAGS = \
+ -I$(top_srcdir) \
+ -I$(top_srcdir)/lib/common \
+ -I$(top_srcdir)/lib/pathplan \
+ -I$(top_srcdir)/lib/gvc \
+ -I$(top_srcdir)/lib/graph \
+ -I$(top_srcdir)/lib/cdt \
+ $(QUARTZ_CFLAGS)
+
+if WITH_QUARTZ
+noinst_LTLIBRARIES = libgvplugin_quartz_C.la
+pkglib_LTLIBRARIES = libgvplugin_quartz.la
+endif
+
+libgvplugin_quartz_C_la_SOURCES = \
+ gvplugin_quartz.c \
+ gvrender_quartz.c
+
+libgvplugin_quartz_la_LDFLAGS = -version-info @GVPLUGIN_VERSION_INFO@
+libgvplugin_quartz_la_SOURCES = $(libgvplugin_quartz_C_la_SOURCES)
+libgvplugin_quartz_la_LIBADD = @QUARTZ_LIBS@