aboutsummaryrefslogtreecommitdiff
path: root/ld/configure.ac
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 /ld/configure.ac
parent2891b491040ac84dfe0013454b2aa834de7b539c (diff)
downloadgdb-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 'ld/configure.ac')
-rw-r--r--ld/configure.ac10
1 files changed, 5 insertions, 5 deletions
diff --git a/ld/configure.ac b/ld/configure.ac
index 21a69e5..84d1b03 100644
--- a/ld/configure.ac
+++ b/ld/configure.ac
@@ -148,11 +148,11 @@ esac
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,ld,none} compress debug sections by default],
-[case "${enableval}" in
- yes | all | ld) ac_default_compressed_debug_sections=yes ;;
- no | none) ac_default_compressed_debug_sections=no ;;
- *) ac_default_compressed_debug_sections=unset ;;
+ 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 ;;
+ ,no, | ,none,) ac_default_compressed_debug_sections=no ;;
esac])dnl
AM_BINUTILS_WARNINGS