This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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 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
 
-- 
2.4.3


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]