From 9e7daa8dbdc38f32696b6ec90cb4ba4ca49fa6cc Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Wed, 13 Mar 2024 19:47:36 +0200 Subject: [PATCH] Build: Style tweaks to configure.ac. The AC_MSG_ERROR line is overlong anyway as are a few other AC_MSG_ERROR lines already. (cherry picked from commit 45d33bfc45e4295b8ad743bc2ae61cc724f98076) --- configure.ac | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/configure.ac b/configure.ac index 91d398c4..241253a6 100644 --- a/configure.ac +++ b/configure.ac @@ -714,14 +714,17 @@ elif test "x$enable_shared" = xno ; then enable_symbol_versions=no AC_MSG_RESULT([no (not building a shared library)]) else + # "yes" means that symbol version are to be used but we need to + # autodetect which variant to use. if test "x$enable_symbol_versions" = xyes ; then case "$host_cpu-$host_os" in microblaze*) - # GCC 12 on MicroBlaze doesn't support __symver__ - # attribute. It's simplest and safest to use the - # generic version on that platform since then only - # the linker script is needed. The RHEL/CentOS 7 - # compatibility symbols don't matter on MicroBlaze. + # GCC 12 on MicroBlaze doesn't support + # __symver__ attribute. It's simplest and + # safest to use the generic version on that + # platform since then only the linker script + # is needed. The RHEL/CentOS 7 compatibility + # symbols don't matter on MicroBlaze. enable_symbol_versions=generic ;; *-linux*) @@ -766,8 +769,7 @@ else used together with liblzma_linux.map.]) elif test "x$enable_symbol_versions" != xgeneric ; then AC_MSG_RESULT([]) - AC_MSG_ERROR( - [unknown symbol versioning variant '$enable_symbol_versions']) + AC_MSG_ERROR([unknown symbol versioning variant '$enable_symbol_versions']) fi AC_MSG_RESULT([yes ($enable_symbol_versions)]) fi