diff options
Diffstat (limited to 'Build/source/libs/gd/libgd-2.1.0/m4/w32.m4')
-rw-r--r-- | Build/source/libs/gd/libgd-2.1.0/m4/w32.m4 | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Build/source/libs/gd/libgd-2.1.0/m4/w32.m4 b/Build/source/libs/gd/libgd-2.1.0/m4/w32.m4 new file mode 100644 index 00000000000..fbcc541d969 --- /dev/null +++ b/Build/source/libs/gd/libgd-2.1.0/m4/w32.m4 @@ -0,0 +1,11 @@ +# MINGW_AC_WIN32_NATIVE_HOST +# -------------------------- +# Check if the runtime platform is a native Win32 host. +# +AC_DEFUN([MINGW_AC_WIN32_NATIVE_HOST], +[AC_CACHE_CHECK([whether we are building for a Win32 host], [mingw_cv_win32_host], + AC_COMPILE_IFELSE([AC_LANG_SOURCE([[ +#ifdef _WIN32 + choke me +#endif]])], [mingw_cv_win32_host=no], [mingw_cv_win32_host=yes]))dnl +])# MINGW_AC_WIN32_NATIVE_HOST |