diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 12 |
1 files changed, 12 insertions, 0 deletions
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]) |