You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
405 B

2 months ago
  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