fi
AM_CONDITIONAL(WITH_IPSEPCOLA, [test "x$with_ipsepcola" = "xyes"])
+dnl -----------------------------------
+dnl INCLUDES and LIBS for SVG
+
+AC_ARG_WITH(rsvg,
+ [AC_HELP_STRING([--with-rsvg=yes], [rsvg library])],
+ [], [with_rsvg=yes])
+
+if test "x$with_rsvg" = "xyes"; then
+PKG_CHECK_MODULES(RSVG, [librsvg-2.0],
+ [HAVE_RSVG=1
+ AC_DEFINE_UNQUOTED(HAVE_RSVG,1,
+ [Define if you have the rsvg library])],
+ [AC_MSG_WARN(rsvg library not available)])
+AC_SUBST(RSVG_CFLAGS)
+AC_SUBST(RSVG_LIBS)
+fi
+AM_CONDITIONAL(WITH_RSVG, [test "x$HAVE_RSVG" != "x"])
+
dnl -----------------------------------
dnl INCLUDES and LIBS for PANGO, CAIRO et.al.
plugin/core/Makefile
plugin/devil/Makefile
plugin/gdk_pixbuf/Makefile
+ plugin/rsvg/Makefile
plugin/gd/Makefile
plugin/pango/Makefile
plugin/ming/Makefile
%define IPSEPCOLA --without-ipsepcola
%define MYLIBGD --with-mylibgd
%define PANGOCAIRO --without-pangocairo
+%define RSVG --without-rsvg
%define DEVIL 0
%define MING 0
%define GDK_PIXBUF --without-gdk-pixbuf
%if "%fedora" >= "8"
#define R_LANG 1
#BuildRequires: R swig >= 1.3.33
+%define RSVG --with-rsvg
+BuildRequires: librsvg2
%endif
%if "%fedora" >= "9"
%define MING 0
# $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
+SUBDIRS = core gd pango dot_layout neato_layout xlib gtk ming devil gdk_pixbuf rsvg
EXTRA_DIST = Makefile.old