aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac9
1 files changed, 9 insertions, 0 deletions
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.
#