aboutsummaryrefslogtreecommitdiff
path: root/gas/configure.ac
diff options
context:
space:
mode:
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 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