Update NEWS
[geany-mirror.git] / m4 / geany-mingw.m4
blob75f6780f54c08d3d7d82c38e978b2e6dc2aab228
1 dnl GEANY_CHECK_MINGW
2 dnl Checks whether we're building for MinGW, and defines appropriate stuff
3 dnl if it is the case.
4 dnl Most importantly, AM_CODITIONALs MINGW
5 AC_DEFUN([GEANY_CHECK_MINGW],
7         case "${host}" in
8                 *mingw*)
9                         AC_DEFINE([WIN32], [1], [we are cross compiling for WIN32])
10                         GEANY_CHECK_VTE([no])
11                         GEANY_CHECK_SOCKET([yes])
12                         AM_CONDITIONAL([MINGW], true)
13                         ;;
14                 *)
15                         AM_CONDITIONAL([MINGW], false)
16                         ;;
17         esac