X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=configure.ac;h=0e29a396b1b4e776f1c562ed0f52b0e58f6661a2;hb=11097ec199b7c5bd83fda41d6381a639ce2e6bef;hp=885d6e6f997fdc2fc020f0fea62afa6dfb7d3905;hpb=d7f15579247a59841041b92b8c92746357feb47d;p=vlc diff --git a/configure.ac b/configure.ac index 885d6e6f99..0e29a396b1 100644 --- a/configure.ac +++ b/configure.ac @@ -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 @@ -420,8 +431,6 @@ dnl dnl Iconv stuff dnl AM_ICONV -AS_IF([test "$am_cv_func_iconv" != "yes"], - [AC_MSG_ERROR([libiconv is needed for VLC to work properly])]) VLC_ADD_CFLAGS([libvlc],[${INCICONV}]) VLC_ADD_LIBS([libvlc],[${LTLIBICONV}])