libunwind-devel
[Top][All Lists]
Advanced

[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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]