mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-03-11 15:56:58 -04:00
build, refactor: Fix indentation
This commit is contained in:
parent
b1c5991eeb
commit
bbbcb96638
1 changed files with 20 additions and 20 deletions
40
configure.ac
40
configure.ac
|
@ -1397,26 +1397,26 @@ if test "$use_upnp" != "no"; then
|
||||||
[AC_CHECK_LIB([miniupnpc], [upnpDiscover], [MINIUPNPC_LIBS=-lminiupnpc], [have_miniupnpc=no])],
|
[AC_CHECK_LIB([miniupnpc], [upnpDiscover], [MINIUPNPC_LIBS=-lminiupnpc], [have_miniupnpc=no])],
|
||||||
[have_miniupnpc=no]
|
[have_miniupnpc=no]
|
||||||
)
|
)
|
||||||
dnl The minimum supported miniUPnPc API version is set to 10. This keeps compatibility
|
dnl The minimum supported miniUPnPc API version is set to 10. This keeps compatibility
|
||||||
dnl with Ubuntu 16.04 LTS and Debian 8 libminiupnpc-dev packages.
|
dnl with Ubuntu 16.04 LTS and Debian 8 libminiupnpc-dev packages.
|
||||||
if test "$have_miniupnpc" != "no"; then
|
if test "$have_miniupnpc" != "no"; then
|
||||||
AC_MSG_CHECKING([whether miniUPnPc API version is supported])
|
AC_MSG_CHECKING([whether miniUPnPc API version is supported])
|
||||||
AC_PREPROC_IFELSE([AC_LANG_PROGRAM([[
|
AC_PREPROC_IFELSE([AC_LANG_PROGRAM([[
|
||||||
@%:@include <miniupnpc/miniupnpc.h>
|
@%:@include <miniupnpc/miniupnpc.h>
|
||||||
]], [[
|
]], [[
|
||||||
#if MINIUPNPC_API_VERSION >= 10
|
#if MINIUPNPC_API_VERSION >= 10
|
||||||
// Everything is okay
|
// Everything is okay
|
||||||
#else
|
#else
|
||||||
# error miniUPnPc API version is too old
|
# error miniUPnPc API version is too old
|
||||||
#endif
|
#endif
|
||||||
]])],[
|
]])],[
|
||||||
AC_MSG_RESULT([yes])
|
AC_MSG_RESULT([yes])
|
||||||
],[
|
],[
|
||||||
AC_MSG_RESULT([no])
|
AC_MSG_RESULT([no])
|
||||||
AC_MSG_WARN([miniUPnPc API version < 10 is unsupported, disabling UPnP support.])
|
AC_MSG_WARN([miniUPnPc API version < 10 is unsupported, disabling UPnP support.])
|
||||||
have_miniupnpc=no
|
have_miniupnpc=no
|
||||||
])
|
])
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
dnl Check for libnatpmp (optional).
|
dnl Check for libnatpmp (optional).
|
||||||
|
|
Loading…
Add table
Reference in a new issue