From 4227cf2d342d3803619f2ae4a34693140e9db796 Mon Sep 17 00:00:00 2001 From: Darren Salt Date: Sat, 9 Jun 2012 15:27:47 +0100 Subject: Use rsvg-convert, where available, for documentation images. --- configure.ac | 6 +++++- doc/hackersguide/Makefile.am | 7 ++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index ae28d9310..cae88dbee 100644 --- a/configure.ac +++ b/configure.ac @@ -1196,7 +1196,11 @@ dnl --------------------------------------------- AC_CHECK_PROG(XMLTO, xmlto, xmlto, no) AM_CONDITIONAL([HAVE_XMLTO], [test "$XMLTO" != "no"]) -AC_CHECK_PROG(RSVG, rsvg, rsvg, no) +AC_CHECK_PROG(RSVG, rsvg-convert, rsvg-convert, no) +AM_CONDITIONAL([HAVE_RSVG_CONVERT], [test "$RSVG" != "no"]) +if test "$RSVG" = no; then + AC_CHECK_PROG(RSVG, rsvg, rsvg, no) +fi AM_CONDITIONAL([HAVE_RSVG], [test "$RSVG" != "no"]) dnl --------------------------------------------- diff --git a/doc/hackersguide/Makefile.am b/doc/hackersguide/Makefile.am index f117b9faa..a9bac4c9e 100644 --- a/doc/hackersguide/Makefile.am +++ b/doc/hackersguide/Makefile.am @@ -60,15 +60,20 @@ endif $(AM_V_at)$(SED) -i -e '/]*alt=/! s/