Build: Style tweaks to configure.ac.
The AC_MSG_ERROR line is overlong anyway as are a few other AC_MSG_ERROR lines already.
This commit is contained in:
parent
f56ed6fac6
commit
45d33bfc45
16
configure.ac
16
configure.ac
|
@ -716,14 +716,17 @@ elif test "x$enable_shared" = xno ; then
|
||||||
enable_symbol_versions=no
|
enable_symbol_versions=no
|
||||||
AC_MSG_RESULT([no (not building a shared library)])
|
AC_MSG_RESULT([no (not building a shared library)])
|
||||||
else
|
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
|
if test "x$enable_symbol_versions" = xyes ; then
|
||||||
case "$host_cpu-$host_os" in
|
case "$host_cpu-$host_os" in
|
||||||
microblaze*)
|
microblaze*)
|
||||||
# GCC 12 on MicroBlaze doesn't support __symver__
|
# GCC 12 on MicroBlaze doesn't support
|
||||||
# attribute. It's simplest and safest to use the
|
# __symver__ attribute. It's simplest and
|
||||||
# generic version on that platform since then only
|
# safest to use the generic version on that
|
||||||
# the linker script is needed. The RHEL/CentOS 7
|
# platform since then only the linker script
|
||||||
# compatibility symbols don't matter on MicroBlaze.
|
# is needed. The RHEL/CentOS 7 compatibility
|
||||||
|
# symbols don't matter on MicroBlaze.
|
||||||
enable_symbol_versions=generic
|
enable_symbol_versions=generic
|
||||||
;;
|
;;
|
||||||
*-linux*)
|
*-linux*)
|
||||||
|
@ -768,8 +771,7 @@ else
|
||||||
used together with liblzma_linux.map.])
|
used together with liblzma_linux.map.])
|
||||||
elif test "x$enable_symbol_versions" != xgeneric ; then
|
elif test "x$enable_symbol_versions" != xgeneric ; then
|
||||||
AC_MSG_RESULT([])
|
AC_MSG_RESULT([])
|
||||||
AC_MSG_ERROR(
|
AC_MSG_ERROR([unknown symbol versioning variant '$enable_symbol_versions'])
|
||||||
[unknown symbol versioning variant '$enable_symbol_versions'])
|
|
||||||
fi
|
fi
|
||||||
AC_MSG_RESULT([yes ($enable_symbol_versions)])
|
AC_MSG_RESULT([yes ($enable_symbol_versions)])
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue