summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2015-10-22 05:18:21 -0700
committerH.J. Lu <hjl.tools@gmail.com>2015-10-22 05:18:21 -0700
commit4894d80b508ad2626eb2cfd23cfcb5635cdf7442 (patch)
tree5eae907c0d2b6f77631ccf4aa69ffafe2293d187 /gas/configure.ac
parentGold: Don't fail on R_X86_64_[REX_]GOTPCRELX relocations (diff)
downloadbinutils-gdb-4894d80b508ad2626eb2cfd23cfcb5635cdf7442.tar.gz
binutils-gdb-4894d80b508ad2626eb2cfd23cfcb5635cdf7442.tar.bz2
binutils-gdb-4894d80b508ad2626eb2cfd23cfcb5635cdf7442.zip
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.ac9
1 files changed, 5 insertions, 4 deletions
diff --git a/gas/configure.ac b/gas/configure.ac
index f7ed1b3d707..9002552b4cc 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