]> git.sesse.net Git - vlc/blobdiff - configure.ac
amd64 format fix
[vlc] / configure.ac
index 885d6e6f997fdc2fc020f0fea62afa6dfb7d3905..f709a9a0f3a4e9e17e194fcb246717d017694a1d 100644 (file)
@@ -80,6 +80,17 @@ AC_C_CONST
 AC_C_INLINE
 AC_C_RESTRICT
 
+dnl Allow binary package maintainer to pass a custom string to avoid 
+dnl cache problem
+AC_ARG_WITH(binary-version, 
+       AS_HELP_STRING([--with-binary-version=STRING],
+            [To avoid plugins cache problem between binary version]),[],[])
+AS_IF([test -n "${with_binary_version}"],[
+      AC_DEFINE_UNQUOTED([DISTRO_VERSION],["${with_binary_version}"],
+                        [Binary specific version])
+      ])
+
+
 dnl
 dnl  Check for the contrib directory
 dnl