Blame m4/w32.m4

Packit ed3af9
# MINGW_AC_WIN32_NATIVE_HOST
Packit ed3af9
# --------------------------
Packit ed3af9
# Check if the runtime platform is a native Win32 host.
Packit ed3af9
#
Packit ed3af9
AC_DEFUN([MINGW_AC_WIN32_NATIVE_HOST],
Packit ed3af9
[AC_CACHE_CHECK([whether we are building for a Win32 host], [mingw_cv_win32_host],
Packit ed3af9
 AC_COMPILE_IFELSE([AC_LANG_SOURCE([[
Packit ed3af9
#ifdef _WIN32
Packit ed3af9
 choke me
Packit ed3af9
#endif]])], [mingw_cv_win32_host=no], [mingw_cv_win32_host=yes]))dnl
Packit ed3af9
])# MINGW_AC_WIN32_NATIVE_HOST