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_MSG_CHECKING([whether to enable debug support])
|
||||||
AC_ARG_ENABLE(debug,
|
AC_ARG_ENABLE(debug,
|
||||||
AS_HELP_STRING([--enable-debug],[turn on debug support (slows down execution)]),
|
AS_HELP_STRING([--enable-debug],[turn on debug support (slows down execution)]))
|
||||||
[enable_debug=$enableval], [enable_debug=no])
|
|
||||||
if test x$enable_debug = xyes; then
|
if test x$enable_debug = xyes; then
|
||||||
CPPFLAGS="${CPPFLAGS} -DDEBUG"
|
CPPFLAGS="${CPPFLAGS} -DDEBUG"
|
||||||
else
|
else
|
||||||
|
@ -230,8 +229,7 @@ AC_MSG_RESULT([$enable_conservative_checks])
|
||||||
|
|
||||||
AC_MSG_CHECKING([whether to enable msabi support])
|
AC_MSG_CHECKING([whether to enable msabi support])
|
||||||
AC_ARG_ENABLE(msabi_support,
|
AC_ARG_ENABLE(msabi_support,
|
||||||
AS_HELP_STRING([--enable-msabi-support],[Enables support for Microsoft ABI extensions]),
|
AS_HELP_STRING([--enable-msabi-support],[Enables support for Microsoft ABI extensions]))
|
||||||
[enable_msabi_support=$enableval], [enable_msabi_support=no])
|
|
||||||
if test x$enable_msabi_support = xyes; then
|
if test x$enable_msabi_support = xyes; then
|
||||||
AC_DEFINE([CONFIG_MSABI_SUPPORT], [], [Support for Microsoft ABI extensions])
|
AC_DEFINE([CONFIG_MSABI_SUPPORT], [], [Support for Microsoft ABI extensions])
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue