From 647e6ebe5859a56efa8a164f3264003920d85da3 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Tue, 10 Mar 2015 23:35:43 +0100 Subject: added SciTECO icon and compile it into Windows binaries * sciteco.ico contains a 16 color 16px, a 255 color 32px and a true color 48px version of the icon. The first ones are good for legacy Windows versions like 2000, while the latter one should be preferred by Windows >= 7. * Also added the 48px version as a PNG for Linux. But it is not installed currently, as there is no standardized place for it and it wouldn't do much good in /usr/share/sciteco. --- configure.ac | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 3ddf295..fe06358 100644 --- a/configure.ac +++ b/configure.ac @@ -42,6 +42,18 @@ AC_PROG_INSTALL # Required by the Scintilla build process: AC_CHECK_TOOL(AR, ar) +# Check for Windows resource compiler and define +# WIN32 conditional +case $host in +*-mingw*) + LT_LANG([Windows Resource]) + AM_CONDITIONAL(WIN32, [true]) + ;; +*) + AM_CONDITIONAL(WIN32, [false]) + ;; +esac + # Emscripten uses Clang as well AM_CONDITIONAL(CLANG, [$CXX --version | $GREP -E "clang|Emscripten" >/dev/null]) -- cgit v1.2.3