add --enable-default-compressed-debug-sections-algorithm configure option

ChangeLog:

	* configure.ac: Add --enable-default-compressed-debug-sections-algorithm.
	* configure: Regenerate.
This commit is contained in:
Martin Liska 2022-10-03 09:42:20 +02:00 committed by Arsen Arsenović
parent e61c0e3a4b
commit c988463656
No known key found for this signature in database
GPG Key ID: 52C294301EA2C493
2 changed files with 19 additions and 0 deletions

13
configure vendored
View File

@ -807,6 +807,7 @@ enable_offload_defaulted
enable_gold
enable_ld
enable_compressed_debug_sections
enable_default_compressed_debug_sections_algorithm
enable_libquadmath
enable_libquadmath_support
enable_libada
@ -1546,6 +1547,9 @@ Optional Features:
--enable-compressed-debug-sections={all,gas,gold,ld,none}
Enable compressed debug sections for gas, gold or ld
by default
--enable-default-compressed-debug-sections-algorithm={zlib,zstd}
Default compression algorithm for
--enable-compressed-debug-sections.
--disable-libquadmath do not build libquadmath directory
--disable-libquadmath-support
disable libquadmath support for Fortran
@ -3142,6 +3146,15 @@ else
fi
# Select default compression algorithm.
# Check whether --enable-default_compressed_debug_sections_algorithm was given.
if test "${enable_default_compressed_debug_sections_algorithm+set}" = set; then :
enableval=$enable_default_compressed_debug_sections_algorithm;
else
default_compressed_debug_sections_algorithm=
fi
# Configure extra directories which are host specific
case "${host}" in

View File

@ -418,6 +418,12 @@ AC_ARG_ENABLE(compressed_debug_sections,
fi
], [enable_compressed_debug_sections=])
# Select default compression algorithm.
AC_ARG_ENABLE(default_compressed_debug_sections_algorithm,
[AS_HELP_STRING([--enable-default-compressed-debug-sections-algorithm={zlib,zstd}],
[Default compression algorithm for --enable-compressed-debug-sections.])],
[], [default_compressed_debug_sections_algorithm=])
# Configure extra directories which are host specific
case "${host}" in