[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Libunwind-devel] [PATCH 09/17] configure: use AC_ARG_ENABLE's defaults
From: |
Cody P Schafer |
Subject: |
[Libunwind-devel] [PATCH 09/17] configure: use AC_ARG_ENABLE's defaults when possible |
Date: |
Fri, 14 Sep 2012 17:11:54 -0700 |
Allows the shortening of the AC_ARG_ENABLE calls.
---
configure.in | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/configure.in b/configure.in
index 3d5d6b9..9ecc479 100644
--- a/configure.in
+++ b/configure.in
@@ -170,8 +170,7 @@ AC_MSG_RESULT([$remote_only])
AC_MSG_CHECKING([whether to enable debug support])
AC_ARG_ENABLE(debug,
-AS_HELP_STRING([--enable-debug],[turn on debug support (slows down
execution)]),
-[enable_debug=$enableval], [enable_debug=no])
+AS_HELP_STRING([--enable-debug],[turn on debug support (slows down
execution)]))
if test x$enable_debug = xyes; then
CPPFLAGS="${CPPFLAGS} -DDEBUG"
else
@@ -230,8 +229,7 @@ AC_MSG_RESULT([$enable_conservative_checks])
AC_MSG_CHECKING([whether to enable msabi support])
AC_ARG_ENABLE(msabi_support,
-AS_HELP_STRING([--enable-msabi-support],[Enables support for Microsoft ABI
extensions]),
-[enable_msabi_support=$enableval], [enable_msabi_support=no])
+AS_HELP_STRING([--enable-msabi-support],[Enables support for Microsoft ABI
extensions]))
if test x$enable_msabi_support = xyes; then
AC_DEFINE([CONFIG_MSABI_SUPPORT], [], [Support for Microsoft ABI extensions])
fi
--
1.7.11.3
- [Libunwind-devel] [PATCH 12/17] ppc64: be explicit in access_reg range check, (continued)
- [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
- [Libunwind-devel] [PATCH 13/17] ppc64: add FRAME_POINTER & NIP to regname., Cody P Schafer, 2012/09/14
- [Libunwind-devel] [PATCH 15/17] ptrace/access_reg: print out register name on "bad register", Cody P Schafer, 2012/09/14
- [Libunwind-devel] [PATCH 10/17] configure: use AC_ARG_ENABLE(arg, text, , custom-act), Cody P Schafer, 2012/09/14
- [Libunwind-devel] [PATCH 03/17] ppc32: add UNUSED attribute to dmy_ctxt, Cody P Schafer, 2012/09/14
- [Libunwind-devel] [PATCH 09/17] configure: use AC_ARG_ENABLE's defaults when possible,
Cody P Schafer <=