[vlc-devel] [PATCH] Fix build when zip support is disabled

Pierre Ynard linkfanel at yahoo.fr
Fri Feb 13 11:13:29 CET 2009


Move an AM_CONDITIONAL outside an if block


diff --git a/configure.ac b/configure.ac
index 0f2752d..a821ceb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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


Regards,

-- 
Pierre Ynard
"Une âme dans un corps, c'est comme un dessin sur une feuille de papier."



More information about the vlc-devel mailing list