Skip to content

Commit

Permalink
try removing the autoconf version check
Browse files Browse the repository at this point in the history
  • Loading branch information
palash-gandhi committed Dec 6, 2024
1 parent 24ee998 commit ddb92ca
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions config/override.m4
Original file line number Diff line number Diff line change
Expand Up @@ -31,22 +31,6 @@ dnl Ensure exactly this Autoconf version is used
m4_ifndef([_GCC_AUTOCONF_VERSION],
[m4_define([_GCC_AUTOCONF_VERSION], [2.69])])
dnl Test for the exact version when AC_INIT is expanded.
dnl This allows to update the tree in steps (for testing)
dnl by putting
dnl m4_define([_GCC_AUTOCONF_VERSION], [X.Y])
dnl in configure.ac before AC_INIT,
dnl without rewriting this file.
dnl Or for updating the whole tree at once with the definition above.
AC_DEFUN([_GCC_AUTOCONF_VERSION_CHECK],
[m4_if(m4_defn([_GCC_AUTOCONF_VERSION]),
m4_defn([m4_PACKAGE_VERSION]), [],
[m4_fatal([Please use exactly Autoconf ]_GCC_AUTOCONF_VERSION[ instead of ]m4_defn([m4_PACKAGE_VERSION])[.])])
])
m4_define([AC_INIT], m4_defn([AC_INIT])[
_GCC_AUTOCONF_VERSION_CHECK
])
dnl Ensure we do not use a buggy M4.
m4_if(m4_index([..wi.d.], [.d.]), [-1],
Expand Down

0 comments on commit ddb92ca

Please sign in to comment.