Reported by comex <comexk@gmail.com> in
<https://lists.gnu.org/archive/html/bug-gnulib/2020-11/msg00188.html>.
* m4/lib-prefix.m4 (AC_LIB_PREPARE_MULTILIB): On non-ELF platforms,
don't expect an ELF header.
+2020-11-30 Bruno Haible <bruno@clisp.org>
+
+ havelib: Fix for non-ELF platforms (regression 2019-11-17).
+ Reported by comex <comexk@gmail.com> in
+ <https://lists.gnu.org/archive/html/bug-gnulib/2020-11/msg00188.html>.
+ * m4/lib-prefix.m4 (AC_LIB_PREPARE_MULTILIB): On non-ELF platforms,
+ don't expect an ELF header.
+
2020-11-29 Akim Demaille <akim@lrde.epita.fr>
bitset: use integer_length in table implementation
-# lib-prefix.m4 serial 17
+# lib-prefix.m4 serial 18
dnl Copyright (C) 2001-2005, 2008-2020 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
],
[gl_cv_elf=yes],
[gl_cv_elf=no])
- ])
- if test $gl_cv_elf; then
+ ])
+ if test $gl_cv_elf = yes; then
# Extract the ELF class of a file (5th byte) in decimal.
# Cf. https://en.wikipedia.org/wiki/Executable_and_Linkable_Format#File_header
if od -A x < /dev/null >/dev/null 2>/dev/null; then