1 # Check to see if we're running under Mingw, without using
2 # AC_CANONICAL_*. If so, set output variable MINGW32 to "yes".
3 # Otherwise set it to "no".
7 [AC_CACHE_CHECK(for Mingw32 environment, am_cv_mingw32,
8 [AC_TRY_COMPILE(,[return __MINGW32__;],
9 am_cv_mingw32=yes, am_cv_mingw32=no)
12 test "$am_cv_mingw32" = yes && MINGW32=yes])