diff --git a/ChangeLog b/ChangeLog index 9916799a713537634b9923829450cb5546274065..499bdf2762d2cf49a6f546522365f339dc9b4305 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2023-08-01 Niels Möller <nisse@lysator.liu.se> + + * configure.ac: Delete special handling of rntcl; it should be + treated like any other cross compiler. Delete obsolete check of + ac_cv_prog_cc_stdc. + 2023-06-01 Niels Möller <nisse@lysator.liu.se> * Released Nettle-3.9.1. diff --git a/aclocal.m4 b/aclocal.m4 index c87c3fa82a734ec6370e16f2e59dc3c8bea7be47..119eab37ab1a716c9d6e206525286c0e2a453922 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -1,5 +1,4 @@ dnl Choose cc flags for compiling position independent code -dnl FIXME: Doesn't do the right thing when crosscompiling. AC_DEFUN([LSH_CCPIC], [AC_REQUIRE([AC_CANONICAL_HOST])dnl AC_MSG_CHECKING(CCPIC) diff --git a/configure.ac b/configure.ac index c8862f31b1488681e94a3b18e900855d3d8e3dd7..cafcca638c426fb77acec0e7e164195dea81b27c 100644 --- a/configure.ac +++ b/configure.ac @@ -143,21 +143,6 @@ AC_PROG_CC NETTLE_CHECK_IFUNC -# When $CC foo.c -o foo creates both foo and foo.exe, autoconf picks -# up the foo.exe and sets exeext to .exe. That is correct for cygwin, -# which has some kind of magic link from foo to foo.exe, but not for -# rntcl. A better check for the cygwin case would check if the -# contents of foo and foo.exe are equal; in the rntcl case, foo is a -# sh script, and foo.exe is a windows executable. - -if test "x$CC" = xrntcl ; then - AC_MSG_NOTICE([Compiling with rntcl; clearing EXEEXT and disabling assembler]) - ac_exeext='' - ac_cv_exeext='' - EXEEXT='' - enable_assembler=no -fi - # Used by the testsuite only AC_PROG_CXX @@ -175,10 +160,6 @@ AC_CHECK_TOOL(NM, nm, strings) AC_CHECK_TOOL(OBJDUMP, objdump, false) AC_CHECK_TOOL(AR, ar, false) -if test "x$ac_cv_prog_cc_stdc" = xno ; then - AC_ERROR([the C compiler doesn't handle ANSI-C]) #' -fi - AC_PROG_INSTALL # According to the autoconf manual, needs install-sh from