Skip to content

Commit bbbcb96

Browse files
committed
build, refactor: Fix indentation
1 parent b1c5991 commit bbbcb96

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

configure.ac

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1397,26 +1397,26 @@ if test "$use_upnp" != "no"; then
13971397
[AC_CHECK_LIB([miniupnpc], [upnpDiscover], [MINIUPNPC_LIBS=-lminiupnpc], [have_miniupnpc=no])],
13981398
[have_miniupnpc=no]
13991399
)
1400-
dnl The minimum supported miniUPnPc API version is set to 10. This keeps compatibility
1401-
dnl with Ubuntu 16.04 LTS and Debian 8 libminiupnpc-dev packages.
1402-
if test "$have_miniupnpc" != "no"; then
1403-
AC_MSG_CHECKING([whether miniUPnPc API version is supported])
1404-
AC_PREPROC_IFELSE([AC_LANG_PROGRAM([[
1405-
@%:@include <miniupnpc/miniupnpc.h>
1406-
]], [[
1407-
#if MINIUPNPC_API_VERSION >= 10
1408-
// Everything is okay
1409-
#else
1410-
# error miniUPnPc API version is too old
1411-
#endif
1412-
]])],[
1413-
AC_MSG_RESULT([yes])
1414-
],[
1415-
AC_MSG_RESULT([no])
1416-
AC_MSG_WARN([miniUPnPc API version < 10 is unsupported, disabling UPnP support.])
1417-
have_miniupnpc=no
1418-
])
1419-
fi
1400+
dnl The minimum supported miniUPnPc API version is set to 10. This keeps compatibility
1401+
dnl with Ubuntu 16.04 LTS and Debian 8 libminiupnpc-dev packages.
1402+
if test "$have_miniupnpc" != "no"; then
1403+
AC_MSG_CHECKING([whether miniUPnPc API version is supported])
1404+
AC_PREPROC_IFELSE([AC_LANG_PROGRAM([[
1405+
@%:@include <miniupnpc/miniupnpc.h>
1406+
]], [[
1407+
#if MINIUPNPC_API_VERSION >= 10
1408+
// Everything is okay
1409+
#else
1410+
# error miniUPnPc API version is too old
1411+
#endif
1412+
]])],[
1413+
AC_MSG_RESULT([yes])
1414+
],[
1415+
AC_MSG_RESULT([no])
1416+
AC_MSG_WARN([miniUPnPc API version < 10 is unsupported, disabling UPnP support.])
1417+
have_miniupnpc=no
1418+
])
1419+
fi
14201420
fi
14211421

14221422
dnl Check for libnatpmp (optional).

0 commit comments

Comments
 (0)