diff options
-rw-r--r-- | configure.ac | 7 | ||||
-rw-r--r-- | doc/hackersguide/Makefile.am | 3 |
2 files changed, 10 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index ecdbb2b1b..181fd8dd5 100644 --- a/configure.ac +++ b/configure.ac @@ -1191,6 +1191,13 @@ AC_CHECK_PROG(RSVG, rsvg, rsvg, no) AM_CONDITIONAL([HAVE_RSVG], [test "$RSVG" != "no"]) dnl --------------------------------------------- +dnl ... and for PNG optimisation tool +dnl --------------------------------------------- + +AC_CHECK_PROG(OPTIPNG, optipng, optipng, no) +AM_CONDITIONAL([HAVE_OPTIPNG], [test "$OPTIPNG" != "no"]) + +dnl --------------------------------------------- dnl Output configuration files dnl --------------------------------------------- diff --git a/doc/hackersguide/Makefile.am b/doc/hackersguide/Makefile.am index 2b65bfe90..37269eaf0 100644 --- a/doc/hackersguide/Makefile.am +++ b/doc/hackersguide/Makefile.am @@ -56,6 +56,9 @@ endif if HAVE_RSVG .svg.png: rsvg -f png $^ $@ +if HAVE_OPTIPNG + optipng $@ +endif else .svg.png: if test x"$(fail_if_missing)" = x"yes"; then \ |