diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2015-10-22 05:18:21 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2015-10-22 05:18:21 -0700 |
commit | 4894d80b508ad2626eb2cfd23cfcb5635cdf7442 (patch) | |
tree | 5eae907c0d2b6f77631ccf4aa69ffafe2293d187 /gas/configure.ac | |
parent | 2891b491040ac84dfe0013454b2aa834de7b539c (diff) | |
download | gdb-4894d80b508ad2626eb2cfd23cfcb5635cdf7442.zip gdb-4894d80b508ad2626eb2cfd23cfcb5635cdf7442.tar.gz gdb-4894d80b508ad2626eb2cfd23cfcb5635cdf7442.tar.bz2 |
Handle --enable-compressed-debug-sections=ld,gas
gas/
PR gas/19109
* configure.ac: Handle --enable-compressed-debug-sections=*,gas,*.
* configure: Regenerated.
ld/
PR gas/19109
* configure.ac: Handle --enable-compressed-debug-sections=*,ld,*.
* configure: Regenerated.
Diffstat (limited to 'gas/configure.ac')
-rw-r--r-- | gas/configure.ac | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/gas/configure.ac b/gas/configure.ac index f7ed1b3..9002552 100644 --- a/gas/configure.ac +++ b/gas/configure.ac @@ -69,10 +69,11 @@ fi ac_default_compressed_debug_sections=unset # Provide a configure time option to override our default. AC_ARG_ENABLE(compressed_debug_sections, -[ --enable-compressed-debug-sections={all,gas,none} compress debug sections by default], -[case "${enableval}" in - yes | all | gas) ac_default_compressed_debug_sections=yes ;; - no | none) ac_default_compressed_debug_sections=no ;; + 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 ;; + ,no, | ,none,) ac_default_compressed_debug_sections=no ;; *) ac_default_compressed_debug_sections=unset ;; esac])dnl |