mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-11-25 00:27:39 +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:
parent
09ecaf3e59
commit
00087cffae
1 changed files with 2 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue