[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Libunwind-devel] [PATCH 09/11] configure: use AC_ARG_ENABLE's defaults
From: |
Cody P Schafer |
Subject: |
[Libunwind-devel] [PATCH 09/11] configure: use AC_ARG_ENABLE's defaults when possible |
Date: |
Mon, 10 Sep 2012 17:21:41 -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 b226cf5..66a6323 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 09/11] configure: use AC_ARG_ENABLE's defaults when possible,
Cody P Schafer <=
[Libunwind-devel] [PATCH 08/11] configure: avoid using a shell function in autoconf, Cody P Schafer, 2012/09/10
[Libunwind-devel] [PATCH 03/11] ppc32: add used attribute to dmy_ctxt, Cody P Schafer, 2012/09/10
[Libunwind-devel] [PATCH 07/11] ppc64: remove compile warnings from wchar test., Cody P Schafer, 2012/09/10
[Libunwind-devel] [PATCH 04/11] ppc32: ppc64: test altivec support by running the compiler., Cody P Schafer, 2012/09/10