aboutsummaryrefslogtreecommitdiff
path: root/ld/configure
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
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')
-rwxr-xr-xld/configure14
1 files changed, 7 insertions, 7 deletions
diff --git a/ld/configure b/ld/configure
index 5b6eb70..ce51f5f 100755
--- a/ld/configure
+++ b/ld/configure
@@ -1445,7 +1445,8 @@ Optional Features:
--enable-gold[=ARG] build gold [ARG={default,yes,no}]
--enable-got=<type> GOT handling scheme (target, single, negative,
multigot)
- --enable-compressed-debug-sections={all,ld,none} compress debug sections by default
+ --enable-compressed-debug-sections={all,ld,none}
+ compress debug sections by default]
--enable-werror treat compile warnings as errors
--enable-build-warnings enable build-time compiler warnings
--disable-nls do not use Native Language Support
@@ -11715,7 +11716,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 11718 "configure"
+#line 11719 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -11821,7 +11822,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 11824 "configure"
+#line 11825 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -15529,10 +15530,9 @@ ac_default_compressed_debug_sections=unset
# Provide a configure time option to override our default.
# 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 ;;
- no | none) ac_default_compressed_debug_sections=no ;;
- *) ac_default_compressed_debug_sections=unset ;;
+ enableval=$enable_compressed_debug_sections; case ,"${enableval}", in
+ *,yes,* | *,all,* | *,ld,*) ac_default_compressed_debug_sections=yes ;;
+ ,no, | ,none,) ac_default_compressed_debug_sections=no ;;
esac
fi