w32.m4 405 B

12345678910111213
  1. # MINGW_AC_WIN32_NATIVE_HOST
  2. # --------------------------
  3. # Check whether the runtime platform is a native Win32 host.
  4. #
  5. AC_DEFUN([MINGW_AC_WIN32_NATIVE_HOST],
  6. [AC_CACHE_CHECK([whether we are building for a Win32 host],
  7. [mingw_cv_win32_host],
  8. AC_COMPILE_IFELSE([AC_LANG_SOURCE([[
  9. #ifdef _WIN32
  10. choke me
  11. #endif]])], [mingw_cv_win32_host=no], [mingw_cv_win32_host=yes]))dnl
  12. ])# MINGW_AC_WIN32_NATIVE_HOST