aports/main/hypermail/modernc.patch
2023-01-09 08:25:46 +01:00

13 lines
703 B
Diff

diff --git a/configure.ac b/configure.ac
index 2a3b7fa..1779ec0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -86,7 +86,7 @@ export CFLAGS CC
AC_SUBST(INSTALL)
AC_MSG_CHECKING([that the compiler works])
-AC_RUN_IFELSE([AC_LANG_SOURCE([[ main(int ac, char **av) { return 0; } ]])],[AC_MSG_RESULT(yes)],[AC_MSG_RESULT(no)
+AC_RUN_IFELSE([AC_LANG_SOURCE([[ int main(int ac, char **av) { return 0; } ]])],[AC_MSG_RESULT(yes)],[AC_MSG_RESULT(no)
AC_MSG_ERROR(Could not compile and run even a trivial ANSI C program - check CC.)],[AC_MSG_ERROR(Could not compile and run even a trivial ANSI C program - check CC.)])
dnl ===========================================================================