1dc09597b2
Strict dependency on fnmatch was removed in 52076d19e8fe7ab41ebc92928e. We still have an optional dependency on it from CTags, but I don't think we use this code, and anyways the checks we had for the optional path to be taken were incorrect, so it was never actually used. So, drop the dependency on libibrety for Windows builds, and fix the remaining checks for an optional fnmatch so if it is found it can actually be used.
19 lines
435 B
Plaintext
19 lines
435 B
Plaintext
dnl GEANY_CHECK_MINGW
|
|
dnl Checks whether we're building for MinGW, and defines appropriate stuff
|
|
dnl if it is the case.
|
|
dnl Most importantly, AM_CODITIONALs MINGW
|
|
AC_DEFUN([GEANY_CHECK_MINGW],
|
|
[
|
|
case "${host}" in
|
|
*mingw*)
|
|
AC_DEFINE([WIN32], [1], [we are cross compiling for WIN32])
|
|
GEANY_CHECK_VTE([no])
|
|
GEANY_CHECK_SOCKET([yes])
|
|
AM_CONDITIONAL([MINGW], true)
|
|
;;
|
|
*)
|
|
AM_CONDITIONAL([MINGW], false)
|
|
;;
|
|
esac
|
|
])
|