aboutsummaryrefslogtreecommitdiff
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
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.
-rw-r--r--gas/ChangeLog6
-rwxr-xr-xgas/configure2
-rw-r--r--gas/configure.ac2
-rw-r--r--ld/ChangeLog6
-rwxr-xr-xld/configure2
-rw-r--r--ld/configure.ac2
6 files changed, 16 insertions, 4 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
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 089075e..2cb506a 100644
--- a/ld/ChangeLog
+++ b/ld/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=*,ld,*.
* configure: Regenerated.
diff --git a/ld/configure b/ld/configure
index ce51f5f..b41efe8 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 84d1b03..188172d 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