From: Niels Möller Date: Wed, 2 Aug 2023 06:56:01 +0000 (+0200) Subject: Delete obsolete configure logic for rntcl and ac_cv_prog_cc_stdc. X-Git-Tag: nettle_3.10rc1~88 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=934d51cd82a7f6f832f1146b24a1428696a6718b;p=thirdparty%2Fnettle.git Delete obsolete configure logic for rntcl and ac_cv_prog_cc_stdc. --- diff --git a/ChangeLog b/ChangeLog index 9916799a..499bdf27 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2023-08-01 Niels Möller + + * 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 * Released Nettle-3.9.1. diff --git a/aclocal.m4 b/aclocal.m4 index c87c3fa8..119eab37 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 c8862f31..cafcca63 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