1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-11-28 18:07:37 +01:00

configure: use AC_ARG_ENABLE's defaults when possible

Allows the shortening of the AC_ARG_ENABLE calls.
This commit is contained in:
Cody P Schafer 2012-09-14 17:11:54 -07:00 committed by Arun Sharma
parent 09ecaf3e59
commit 00087cffae

View file

@ -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