[vlc-commits] configure: Check for dmgbuild on macOS
    Marvin Scholz 
    git at videolan.org
       
    Sat Feb 25 19:52:38 CET 2017
    
    
  
vlc | branch: master | Marvin Scholz <epirat07 at gmail.com> | Sat Feb 25 19:22:16 2017 +0100| [5074dc0c5cfe7f3a1232a8721c072596103fc226] | committer: Marvin Scholz
configure: Check for dmgbuild on macOS
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5074dc0c5cfe7f3a1232a8721c072596103fc226
---
 configure.ac | 12 ++++++++++++
 1 file changed, 12 insertions(+)
diff --git a/configure.ac b/configure.ac
index b9ef4df..5c25e91 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3903,6 +3903,18 @@ then
 fi
 
 dnl
+dnl Mac OS X fancy dmg build tool
+dnl
+if test "${HAVE_OSX}" = "1"
+then
+  AC_PATH_PROG(DMGBUILD, dmgbuild, no)
+  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
+
+dnl
 dnl  VideoToolbox plugins
 AC_CHECK_HEADERS(VideoToolbox/VideoToolbox.h, [
     VLC_ADD_PLUGIN([videotoolbox])
    
    
More information about the vlc-commits
mailing list