]> git.ipfire.org Git - thirdparty/xz.git/commitdiff
Build: Style tweaks to configure.ac.
authorLasse Collin <lasse.collin@tukaani.org>
Wed, 13 Mar 2024 17:47:36 +0000 (19:47 +0200)
committerLasse Collin <lasse.collin@tukaani.org>
Wed, 13 Mar 2024 20:00:23 +0000 (22:00 +0200)
The AC_MSG_ERROR line is overlong anyway as are a few other
AC_MSG_ERROR lines already.

configure.ac

index 3200f89c19bbb5afe8514f9d31728329a7231429..7ab0e187fa73d219474f908d5433cf4394b53f0e 100644 (file)
@@ -716,14 +716,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*)
@@ -768,8 +771,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