From e04ec59f272ef643eec2d70ccb37e6c48a334df0 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Wed, 9 May 2012 21:39:33 +0200 Subject: under Windows, include icon resource into binary this is optional, if the resource compiler is not found, only a warning is emitted. * the icon is preliminary (it's the VLC icon) --- configure.ac | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index a5cb1e9..c45ac69 100644 --- a/configure.ac +++ b/configure.ac @@ -32,6 +32,15 @@ AC_CHECK_PROG(XSLTPROC, xsltproc, xsltproc) XSLT_FLAGS="--xinclude" AC_SUBST(XSLT_FLAGS) +case $host in +*-*-mingw*) + AC_CHECK_PROG(RC, windres, windres) + if [[ x$RC = x ]]; then + AC_MSG_WARN([Resource compiler not found... Binary will not have an icon!]) + fi +esac +AM_CONDITIONAL(USE_W32_RES, test x$RC != x) + # # Checks for libraries. # -- cgit v1.2.3