From 9b4c123c959085bb11a1e8126242a79d9de18995 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Thu, 22 Oct 2015 07:44:05 -0700 Subject: [PATCH] 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. --- gas/ChangeLog | 6 ++++++ gas/configure | 2 +- gas/configure.ac | 2 +- ld/ChangeLog | 6 ++++++ ld/configure | 2 +- ld/configure.ac | 2 +- 6 files changed, 16 insertions(+), 4 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 28b139ef9a..0743ff30ee 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,9 @@ +2015-10-22 H.J. Lu + + * configure.ac: Properly check + --enable-compressed-debug-sections={yes,all}. + * configure: Regenerated. + 2015-10-22 H.J. Lu PR gas/19109 diff --git a/gas/configure b/gas/configure index d2e35de9ae..5d341faadc 100755 --- a/gas/configure +++ b/gas/configure @@ -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 diff --git a/gas/configure.ac b/gas/configure.ac index 9002552b4c..ab4dedc5d9 100644 --- a/gas/configure.ac +++ b/gas/configure.ac @@ -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 diff --git a/ld/ChangeLog b/ld/ChangeLog index 089075e343..2cb506a939 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,9 @@ +2015-10-22 H.J. Lu + + * configure.ac: Properly check + --enable-compressed-debug-sections={yes,all}. + * configure: Regenerated. + 2015-10-22 H.J. Lu PR gas/19109 diff --git a/ld/configure b/ld/configure index ce51f5f2dc..b41efe84ff 100755 --- a/ld/configure +++ b/ld/configure @@ -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 diff --git a/ld/configure.ac b/ld/configure.ac index 84d1b036e7..188172d28b 100644 --- a/ld/configure.ac +++ b/ld/configure.ac @@ -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