• Paul Eggert's avatar
    Port configure.ac to future Gnulib · 0abda558
    Paul Eggert authored
    Rewrite an ancient Alpha ELF check to port to a future Gnulib
    version that may require AC_CHECK_DECL to be set up properly as
    per the ‘Expanded Before Required’ section of the Autoconf manual
    Autoconf doesn’t guarantee that AC_CHECK_DECL will work properly
    if called conditionally (e.g., inside a shell ‘case’ statement)
    and the condition is false.  Problem reported by Bruno Haible in:
    https://lists.gnu.org/r/bug-gnulib/2020-01/msg00088.html
    * configure.ac (LD_SWITCH_MACHINE): Migrate ELF check later,
    when AC_CHECK_DECL is properly set up.
    0abda558
configure.ac 195 KB