[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Libunwind-devel] [PATCH 06/17] configure: use AS_HELP_STRING for config
From: |
Cody P Schafer |
Subject: |
[Libunwind-devel] [PATCH 06/17] configure: use AS_HELP_STRING for configure args instead of manual formating |
Date: |
Fri, 14 Sep 2012 17:11:51 -0700 |
Using AS_HELP_STRING makes the output of `./configure --help` more readable.
---
configure.in | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/configure.in b/configure.in
index e601ecc..592f4f3 100644
--- a/configure.in
+++ b/configure.in
@@ -171,7 +171,7 @@ AC_MSG_RESULT([$remote_only])
AC_MSG_CHECKING([whether to enable debug support])
AC_ARG_ENABLE(debug,
-[ --enable-debug turn on debug support (slows down execution)],
+AS_HELP_STRING([--enable-debug],[turn on debug support (slows down
execution)]),
[enable_debug=$enableval], [enable_debug=no])
if test x$enable_debug = xyes; then
CPPFLAGS="${CPPFLAGS} -DDEBUG"
@@ -182,7 +182,7 @@ AC_MSG_RESULT([$enable_debug])
AC_MSG_CHECKING([whether to enable C++ exception support])
AC_ARG_ENABLE(cxx_exceptions,
-[ --enable-cxx-exceptions use libunwind to handle C++ exceptions],
+AS_HELP_STRING([--enable-cxx-exceptions],[use libunwind to handle C++
exceptions]),
[enable_cxx_exceptions=$enableval],
[
# C++ exception handling doesn't work too well on x86
@@ -199,7 +199,7 @@ AC_MSG_RESULT([$enable_cxx_exceptions])
AC_MSG_CHECKING([whether to load .debug_frame sections])
AC_ARG_ENABLE(debug_frame,
-[ --enable-debug-frame Load the ".debug_frame" section if available],
+AS_HELP_STRING([--enable-debug-frame],[Load the ".debug_frame" section if
available]),
[enable_debug_frame=$enableval], [
case "${target_arch}" in
(arm) enable_debug_frame=yes;;
@@ -212,7 +212,7 @@ AC_MSG_RESULT([$enable_debug_frame])
AC_MSG_CHECKING([whether to block signals during mutex ops])
AC_ARG_ENABLE(block_signals,
-[ --enable-block-signals Block signals before performing mutex operations],
+AS_HELP_STRING([--enable-block-signals],[Block signals before performing mutex
operations]),
[enable_block_signals=$enableval], [enable_block_signals=yes])
if test x$enable_block_signals = xyes; then
AC_DEFINE([CONFIG_BLOCK_SIGNALS], [], [Block signals before mutex
operations])
@@ -221,7 +221,7 @@ AC_MSG_RESULT([$enable_block_signals])
AC_MSG_CHECKING([whether to validate memory addresses before use])
AC_ARG_ENABLE(conservative_checks,
-[ --enable-conservative-checks Validate all memory addresses before use],
+AS_HELP_STRING([--enable-conservative-checks],[Validate all memory addresses
before use]),
[enable_conservative_checks=$enableval], [enable_conservative_checks=yes])
if test x$enable_conservative_checks = xyes; then
AC_DEFINE(CONSERVATIVE_CHECKS, 1,
@@ -231,7 +231,7 @@ AC_MSG_RESULT([$enable_conservative_checks])
AC_MSG_CHECKING([whether to enable msabi support])
AC_ARG_ENABLE(msabi_support,
-[ --enable-msabi-support Enables support for Microsoft ABI extensions ],
+AS_HELP_STRING([--enable-msabi-support],[Enables support for Microsoft ABI
extensions]),
[enable_msabi_support=$enableval], [enable_msabi_support=no])
if test x$enable_msabi_support = xyes; then
AC_DEFINE([CONFIG_MSABI_SUPPORT], [], [Support for Microsoft ABI extensions])
--
1.7.11.3
- [Libunwind-devel] [PATCH v3 00/17] Fixup the PowerPC (64 & 32 bit) builds & clean up configure, Cody P Schafer, 2012/09/14
- [Libunwind-devel] [PATCH 01/17] ppc32: ppc64: use AC_COMPILE_IFELSE to test __powerpc64__ macro for ppc64, Cody P Schafer, 2012/09/14
- [Libunwind-devel] [PATCH 02/17] ppc32: remove unused dmy_vrregset, Cody P Schafer, 2012/09/14
- [Libunwind-devel] [PATCH 05/17] build: make libunwind-coredump build optional, Cody P Schafer, 2012/09/14
- [Libunwind-devel] [PATCH 04/17] ppc32: ppc64: test altivec support by running the compiler., Cody P Schafer, 2012/09/14
- [Libunwind-devel] [PATCH 06/17] configure: use AS_HELP_STRING for configure args instead of manual formating,
Cody P Schafer <=
- [Libunwind-devel] [PATCH 07/17] ppc64: remove tests/ppc64-test-wchar, Cody P Schafer, 2012/09/14
- [Libunwind-devel] [PATCH 08/17] configure: avoid using a shell function in autoconf, Cody P Schafer, 2012/09/14
- [Libunwind-devel] [PATCH 16/17] ptrace: check for NULL arg., Cody P Schafer, 2012/09/14
- [Libunwind-devel] [PATCH 14/17] configure: rename configure.in to configure.ac, Cody P Schafer, 2012/09/14
- [Libunwind-devel] [PATCH 11/17] UPT: Add reg offsets for ppc32/64, Cody P Schafer, 2012/09/14
- [Libunwind-devel] [PATCH 12/17] ppc64: be explicit in access_reg range check, Cody P Schafer, 2012/09/14
- [Libunwind-devel] [PATCH 17/17] ptrace: add more Debug to access_reg, Cody P Schafer, 2012/09/14