From 8d855a2d19a58577060a873cafb6155960b51514 Mon Sep 17 00:00:00 2001 From: svenhoefer Date: Sat, 9 Dec 2017 13:01:37 +0100 Subject: [PATCH] - configure: invert --disable-upnp false logic to --enable-upnp true Signed-off-by: Thilo Graf --- configure.ac | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index dc18c08d7..c4f545aec 100644 --- a/configure.ac +++ b/configure.ac @@ -185,8 +185,9 @@ AC_ARG_ENABLE(flac, AM_CONDITIONAL(ENABLE_FLAC, test "$enable_flac" = "yes") AC_ARG_ENABLE(upnp, - AS_HELP_STRING([--disable-upnp], [disable UPNP support @<:@default=no@:>@]), - ,[enable_upnp=yes]) + AS_HELP_STRING([--enable-upnp], [enable UPNP support @<:@default=yes@:>@]), + [enable_upnp="$enableval"], + [enable_upnp="yes"]) AM_CONDITIONAL(ENABLE_UPNP, test "$enable_upnp" = "yes") if test "$enable_upnp" = "yes"; then