2 dnl Checks whether we're building for MinGW, and defines appropriate stuff
4 dnl Most importantly, AM_CODITIONALs MINGW
5 AC_DEFUN([GEANY_CHECK_MINGW],
9 AC_DEFINE([WIN32], [1], [we are cross compiling for WIN32])
11 GEANY_CHECK_SOCKET([yes])
12 AM_CONDITIONAL([MINGW], true)
15 AM_CONDITIONAL([MINGW], false)