aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2015-10-22 07:44:05 -0700
committerH.J. Lu <hjl.tools@gmail.com>2015-10-22 07:44:05 -0700
commit9b4c123c959085bb11a1e8126242a79d9de18995 (patch)
tree8f96d2b1cbd295c640af07ea62b4e3d4eff12a04 /gas
parentc287bfe4297ec9c12db292fae5562be1758cf14f (diff)
downloadgdb-9b4c123c959085bb11a1e8126242a79d9de18995.zip
gdb-9b4c123c959085bb11a1e8126242a79d9de18995.tar.gz
gdb-9b4c123c959085bb11a1e8126242a79d9de18995.tar.bz2
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.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog6
-rwxr-xr-xgas/configure2
-rw-r--r--gas/configure.ac2
3 files changed, 8 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 28b139e..0743ff3 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,11 @@
2015-10-22 H.J. Lu <hongjiu.lu@intel.com>
+ * configure.ac: Properly check
+ --enable-compressed-debug-sections={yes,all}.
+ * configure: Regenerated.
+
+2015-10-22 H.J. Lu <hongjiu.lu@intel.com>
+
PR gas/19109
* configure.ac: Handle --enable-compressed-debug-sections=*,gas,*.
* configure: Regenerated.
diff --git a/gas/configure b/gas/configure
index d2e35de..5d341fa 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 9002552..ab4dedc 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