Properly check --enable-compressed-debug-sections={yes,all}

gas/

	* configure.ac: Properly check
	--enable-compressed-debug-sections={yes,all}.
	* configure: Regenerated.

ld/

	* configure.ac: Properly check
	--enable-compressed-debug-sections={yes,all}.
	* configure: Regenerated.
This commit is contained in:
H.J. Lu 2015-10-22 07:44:05 -07:00
parent c287bfe429
commit 9b4c123c95
6 changed files with 16 additions and 4 deletions

View File

@ -1,3 +1,9 @@
2015-10-22 H.J. Lu <hongjiu.lu@intel.com>
* configure.ac: Properly check
--enable-compressed-debug-sections={yes,all}.
* configure: Regenerated.
2015-10-22 H.J. Lu <hongjiu.lu@intel.com>
PR gas/19109

2
gas/configure vendored
View File

@ -11674,7 +11674,7 @@ ac_default_compressed_debug_sections=unset
# Check whether --enable-compressed_debug_sections was given.
if test "${enable_compressed_debug_sections+set}" = set; then :
enableval=$enable_compressed_debug_sections; case ,"${enableval}", in
*,yes,* | *,all,* | *,gas,*) ac_default_compressed_debug_sections=yes ;;
,yes, | ,all, | *,gas,*) ac_default_compressed_debug_sections=yes ;;
,no, | ,none,) ac_default_compressed_debug_sections=no ;;
*) ac_default_compressed_debug_sections=unset ;;
esac

View File

@ -72,7 +72,7 @@ AC_ARG_ENABLE(compressed_debug_sections,
AS_HELP_STRING([--enable-compressed-debug-sections={all,gas,none}],
[compress debug sections by default])],
[case ,"${enableval}", in
*,yes,* | *,all,* | *,gas,*) ac_default_compressed_debug_sections=yes ;;
,yes, | ,all, | *,gas,*) ac_default_compressed_debug_sections=yes ;;
,no, | ,none,) ac_default_compressed_debug_sections=no ;;
*) ac_default_compressed_debug_sections=unset ;;
esac])dnl

View File

@ -1,3 +1,9 @@
2015-10-22 H.J. Lu <hongjiu.lu@intel.com>
* configure.ac: Properly check
--enable-compressed-debug-sections={yes,all}.
* configure: Regenerated.
2015-10-22 H.J. Lu <hongjiu.lu@intel.com>
PR gas/19109

2
ld/configure vendored
View File

@ -15531,7 +15531,7 @@ ac_default_compressed_debug_sections=unset
# Check whether --enable-compressed_debug_sections was given.
if test "${enable_compressed_debug_sections+set}" = set; then :
enableval=$enable_compressed_debug_sections; case ,"${enableval}", in
*,yes,* | *,all,* | *,ld,*) ac_default_compressed_debug_sections=yes ;;
,yes, | ,all, | *,ld,*) ac_default_compressed_debug_sections=yes ;;
,no, | ,none,) ac_default_compressed_debug_sections=no ;;
esac
fi

View File

@ -151,7 +151,7 @@ AC_ARG_ENABLE(compressed_debug_sections,
AS_HELP_STRING([--enable-compressed-debug-sections={all,ld,none}],
[compress debug sections by default])],
[case ,"${enableval}", in
*,yes,* | *,all,* | *,ld,*) ac_default_compressed_debug_sections=yes ;;
,yes, | ,all, | *,ld,*) ac_default_compressed_debug_sections=yes ;;
,no, | ,none,) ac_default_compressed_debug_sections=no ;;
esac])dnl