+2024-03-28 Bruno Haible <bruno@clisp.org>
+
+ havelib: Recognize ELF platform despite SunPRO C on Linux.
+ * m4/lib-prefix.m4 (AC_LIB_PREPARE_MULTILIB): Recognize Linux as an ELF
+ platform, even with the SunPRO C compiler that does not define __ELF__.
+
2024-03-27 Bruno Haible <bruno@clisp.org>
obstack: Work around ICE with Oracle cc 12.6 (regr. 2023-12-01).
-# lib-prefix.m4 serial 20
+# lib-prefix.m4 serial 20.1
dnl Copyright (C) 2001-2005, 2008-2024 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
AC_CACHE_CHECK([for ELF binary format], [gl_cv_elf],
[AC_EGREP_CPP([Extensible Linking Format],
- [#if defined __ELF__ || (defined __linux__ && defined __EDG__)
+ [#if defined __ELF__ || (defined __linux__ && (defined __EDG__ || defined __SUNPRO_C))
Extensible Linking Format
#endif
],