diff m4/acinclude.m4 @ 19744:1687269e31e4

build: Generate Octave logo icons from SVG source (bug #37062) * acinclude.m4 (OCTAVE_PROG_ICOTOOL, OCTAVE_PROG_RSVG_CONVERT): New macros. * configure.ac: Use them. Set AMCOND_HAVE_ICON_TOOLS. * etc/icons/Makefile.am (BUILT_PNG_ICONS): Build PNG icons of varying sizes from SVG source. (octave-logo.ico) Build Windows icon containing a subset of PNG icons. * etc/icons/octave-logo.ico, etc/icons/octave-logo.png: Delete.
author Mike Miller <mtmiller@ieee.org>
date Wed, 18 Feb 2015 00:10:22 -0500
parents 4197fc428c7d
children bc2a8db22831
line wrap: on
line diff
--- a/m4/acinclude.m4	Tue Feb 17 17:34:48 2015 -0800
+++ b/m4/acinclude.m4	Wed Feb 18 00:10:22 2015 -0500
@@ -2116,6 +2116,13 @@
   AC_SUBST(GPERF)
 ])
 dnl
+dnl Find icotool program.
+dnl
+AC_DEFUN([OCTAVE_PROG_ICOTOOL], [
+  AC_CHECK_PROG(ICOTOOL, icotool, icotool, [])
+  AC_SUBST(ICOTOOL)
+])
+dnl
 dnl Check for makeinfo.
 dnl
 AC_DEFUN([OCTAVE_PROG_MAKEINFO], [
@@ -2170,6 +2177,13 @@
   AC_SUBST(PYTHON)
 ])
 dnl
+dnl Find rsvg-convert program.
+dnl
+AC_DEFUN([OCTAVE_PROG_RSVG_CONVERT], [
+  AC_CHECK_PROG(RSVG_CONVERT, rsvg-convert, rsvg-convert, [])
+  AC_SUBST(RSVG_CONVERT)
+])
+dnl
 dnl Find sed program.
 dnl
 # Check for a fully-functional sed program, that truncates