+Fri Nov 21 15:15:50 1997 Tom Tromey <tromey@cygnus.com>
+
+ * m4/mingw.m4, m4/cygwin.4m: Argument to AC_TRY_COMPILE is
+ function body, not entire function. From Ian Taylor.
+
Sat Oct 25 12:39:19 1997 Tom Tromey <tromey@cygnus.com>
* automake.in (scan_one_configure_file): Skip empty string for
dnl AM_CYGWIN32()
AC_DEFUN(AM_CYGWIN32,
[AC_CACHE_CHECK(for Cygwin32 environment, am_cv_cygwin32,
-[AC_TRY_COMPILE(,[int main () { return __CYGWIN32__; }],
+[AC_TRY_COMPILE(,[return __CYGWIN32__;],
am_cv_cygwin32=yes, am_cv_cygwin32=no)
rm -f conftest*])
CYGWIN32=
dnl AM_MINGW32()
AC_DEFUN(AM_MINGW32,
[AC_CACHE_CHECK(for Mingw32 environment, am_cv_mingw32,
-[AC_TRY_COMPILE(,[int main () { return __MINGW32__; }],
+[AC_TRY_COMPILE(,[return __MINGW32__;],
am_cv_mingw32=yes, am_cv_mingw32=no)
rm -f conftest*])
MINGW32=