From: Tom Tromey Date: Fri, 21 Nov 1997 22:16:46 +0000 (+0000) Subject: bug fix X-Git-Tag: Release-1-2d~6 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=b593af3e189f4c30bafd8840e799c26e00abe8a1;p=automake.git bug fix --- diff --git a/ChangeLog b/ChangeLog index d0ac5dbd..ecafc520 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Fri Nov 21 15:15:50 1997 Tom Tromey + + * 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 * automake.in (scan_one_configure_file): Skip empty string for diff --git a/m4/cygwin.m4 b/m4/cygwin.m4 index 6d16241e..d994a03c 100644 --- a/m4/cygwin.m4 +++ b/m4/cygwin.m4 @@ -5,7 +5,7 @@ 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= diff --git a/m4/mingw.m4 b/m4/mingw.m4 index 3b39642e..ea4118a3 100644 --- a/m4/mingw.m4 +++ b/m4/mingw.m4 @@ -5,7 +5,7 @@ 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=