Commit 1fac4734 authored by Pierre Ynard's avatar Pierre Ynard Committed by Jean-Baptiste Kempf

Fix build when zip support is disabled

Move an AM_CONDITIONAL outside an if block
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent bce370d3
...@@ -892,13 +892,13 @@ then ...@@ -892,13 +892,13 @@ then
MINIZIP_LIBS="../../../libs/unzip/libunzip.la" MINIZIP_LIBS="../../../libs/unzip/libunzip.la"
]) ])
]) ])
AM_CONDITIONAL(HAVE_MINIZIP, [ test "${have_minizip}" = "yes" ])
VLC_ADD_CPPFLAGS([skins2],[$MINIZIP_CFLAGS]) VLC_ADD_CPPFLAGS([skins2],[$MINIZIP_CFLAGS])
VLC_ADD_CFLAGS([zip],[$MINIZIP_CFLAGS]) VLC_ADD_CFLAGS([zip],[$MINIZIP_CFLAGS])
VLC_ADD_LIBS([skins2 zip],[$MINIZIP_LIBS]) VLC_ADD_LIBS([skins2 zip],[$MINIZIP_LIBS])
VLC_ADD_PLUGIN([unzip]) VLC_ADD_PLUGIN([unzip])
VLC_ADD_PLUGIN([zip]) VLC_ADD_PLUGIN([zip])
fi fi
AM_CONDITIONAL(HAVE_MINIZIP, [ test "${have_minizip}" = "yes" ])
dnl Check for hal dnl Check for hal
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment