Remove some obsolete C89, C99, Automake cruft

These have not been needed for some time in configure.ac.
* configure.ac (_AC_PROG_CC_C89): Don’t bother redefining to empty.
(gl_PROG_CC_C99, AC_PROG_CC_C_O): Remove; no longer needed.
This commit is contained in:
Paul Eggert 2025-12-07 15:21:46 -08:00
parent 4dbf78c118
commit 2203fac659

View file

@ -1578,9 +1578,6 @@ fi
#### Choose a compiler.
dnl Don't bother to test for C89.
AC_DEFUN([_AC_PROG_CC_C89], [$2])
dnl Sets GCC=yes if using gcc.
AC_PROG_CC([gcc cc cl clang "$XCRUN gcc" "$XCRUN clang"])
@ -1589,11 +1586,6 @@ if test -n "$XCRUN"; then
test -n "$AR" && export AR
fi
dnl Emacs needs C99 or later.
gl_PROG_CC_C99
AC_PROG_CC_C_O
if test x$GCC = xyes; then
test "x$GCC_TEST_OPTIONS" != x && CC="$CC $GCC_TEST_OPTIONS"
fi