[PATCH 1/3] Autoconf updates for autoconf 2.73 and earlier versions
Florian Weimer
fweimer@redhat.com
Fri Nov 13 13:46:37 GMT 2026
_AC_INCLUDES_DEFAULT_REQUIREMENTS has no effect since its removal
from autoconf in 2013.
_AC_PROG_CC_C89 was removed in 2012, but brought back as a
compatibility definition. Defining it without using it does not
have an effect.
_AS_ECHO_PREPARE was removed from autoconf in 2013, and
_AS_ECHO_N_PREPARE was removed in autoconf 2.73.
---
aclocal.m4 | 2 --
configure.ac | 10 ----------
2 files changed, 12 deletions(-)
diff --git a/aclocal.m4 b/aclocal.m4
index b32076d8d0..72c906647d 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -17,8 +17,6 @@ dnl
define([GLIBC_PROVIDES], [dnl
AC_PROVIDE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
AC_PROVIDE([AC_CONFIG_SUBDIRS])dnl
-AC_PROVIDE([_AS_ECHO_N_PREPARE])dnl
-AC_PROVIDE([_AS_ECHO_PREPARE])dnl
AC_PROVIDE([_AS_CR_PREPARE])dnl
AC_PROVIDE([_AS_TR_SH_PREPARE])dnl
AC_PROVIDE([_AS_VAR_ARITH_PREPARE])dnl
diff --git a/configure.ac b/configure.ac
index 2fe7980fc9..29332a35bb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -13,11 +13,6 @@ AC_DEFINE_UNQUOTED([PKGVERSION], ["$PKGVERSION"],
AC_DEFINE_UNQUOTED([REPORT_BUGS_TO], ["$REPORT_BUGS_TO"],
[Bug reporting address])
-# Glibc should not depend on any header files
-AC_DEFUN([_AC_INCLUDES_DEFAULT_REQUIREMENTS],
- [m4_divert_text([DEFAULTS],
- [ac_includes_default='/* none */'])])
-
# We require GCC, and by default use its preprocessor. Override AC_PROG_CPP
# here to work around the Autoconf issue discussed in
# <https://sourceware.org/ml/libc-alpha/2013-01/msg00721.html>.
@@ -35,11 +30,6 @@ fi
AC_SUBST(CPP)dnl
])# AC_PROG_CPP
-# We require GCC. Override _AC_PROG_CC_C89 here to work around the Autoconf
-# issue discussed in
-# <https://sourceware.org/ml/libc-alpha/2013-01/msg00757.html>.
-AC_DEFUN([_AC_PROG_CC_C89], [[$1]])
-
dnl This is here so we can set $subdirs directly based on configure fragments.
AC_CONFIG_SUBDIRS()
base-commit: 30f5c72a422b271c6065eeecb941f6fa1b388e62
--
2.56.0
More information about the Libc-alpha
mailing list