From 28706c21dca90eac5d555051ae464d6d292d1a7e Mon Sep 17 00:00:00 2001 From: bje Date: Sat, 3 Oct 1998 04:28:32 +0000 Subject: 1998-10-03 Ben Elliston * configure.in: Test for the `_stdcall' keyword. Define `STDCALL' to `_stdcall' if we have it, null otherwise. * configure: Regenerate. * acconfig.h (STDCALL): New define. --- configure.in | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 0896edb..7bd1784 100644 --- a/configure.in +++ b/configure.in @@ -15,6 +15,13 @@ then AC_DEFINE(HAVE_SIGSET_T) fi fi +AC_CACHE_CHECK(for _stdcall keyword, p32_cv_stdcall, + AC_TRY_COMPILE( ,[int _stdcall foo();], + p32_cv_stdcall=yes, p32_cv_stdcall=no)) + +if test x$p32_cv_stdcall = xyes ; then + AC_DEFINE(STDCALL, _stdcall) +fi AC_CHECK_HEADERS(windows.h,,AC_MSG_WARN([Target system must be Win32])) AC_OUTPUT(Makefile) -- cgit v1.2.3