]> git.sesse.net Git - vlc/commitdiff
Fix build when zip support is disabled
authorPierre Ynard <linkfanel@yahoo.fr>
Fri, 13 Feb 2009 10:13:29 +0000 (11:13 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Fri, 13 Feb 2009 13:07:08 +0000 (14:07 +0100)
Move an AM_CONDITIONAL outside an if block

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
configure.ac

index 0f2752df550a4b9634b61d93745bfe98ab7a7240..299beeb0e6cdebe784721e7c9436806564deeccc 100644 (file)
@@ -892,13 +892,13 @@ then
       MINIZIP_LIBS="../../../libs/unzip/libunzip.la"
     ])
   ])
-  AM_CONDITIONAL(HAVE_MINIZIP, [ test "${have_minizip}" = "yes" ])
   VLC_ADD_CPPFLAGS([skins2],[$MINIZIP_CFLAGS])
   VLC_ADD_CFLAGS([zip],[$MINIZIP_CFLAGS])
   VLC_ADD_LIBS([skins2 zip],[$MINIZIP_LIBS])
   VLC_ADD_PLUGIN([unzip])
   VLC_ADD_PLUGIN([zip])
 fi
+AM_CONDITIONAL(HAVE_MINIZIP, [ test "${have_minizip}" = "yes" ])
 
 
 dnl Check for hal