vlc | branch: master | Jean-Baptiste Kempf <j...@videolan.org> | Sat Feb 25 
20:14:27 2017 +0100| [75fd376361e796dc25c8cf44542af75e7a931f82] | committer: 
Jean-Baptiste Kempf

configure: use AM_CONDITIONAL outside of if statement

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=75fd376361e796dc25c8cf44542af75e7a931f82
---

 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 5c25e91..5387d71 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3911,8 +3911,8 @@ then
   AS_IF([test "x${DMGBUILD}" = "xno"], [
     AC_MSG_WARN([dmgbuild not found -- unable to build fancy DMGs])
   ])
-  AM_CONDITIONAL(HAVE_DMGBUILD, [test "x$DMGBUILD" != "xno"])
 fi
+AM_CONDITIONAL(HAVE_DMGBUILD, [test "x$DMGBUILD" != "xno" -a "${HAVE_OSX}" = 
"1"])
 
 dnl
 dnl  VideoToolbox plugins

_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to