vlc | branch: master | Thomas Guillem <[email protected]> | Mon Sep 28 17:29:49 2015 +0200| [ea4515b369db69f4c1a9dcb1fc259b98139b91ff] | committer: Thomas Guillem
configure.ac: add HAVE_TIZEN The minimum SDK version supported is 2.3. > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ea4515b369db69f4c1a9dcb1fc259b98139b91ff --- configure.ac | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/configure.ac b/configure.ac index 55513bd..c507948 100644 --- a/configure.ac +++ b/configure.ac @@ -336,6 +336,24 @@ AS_IF([test "$SYS" = linux],[ ]) AM_CONDITIONAL(HAVE_ANDROID, test "${HAVE_ANDROID}" = "1") +dnl Tizen (minimum SDK version: 2.3) +AS_IF([test "$SYS" = linux],[ + AC_MSG_CHECKING([for Tizen]) + AC_TRY_COMPILE([#include <tizen.h> +#if !defined(TIZEN_SDK_MAJOR) && !defined(TIZEN_SDK_MINOR) +# error Not Tizen +#endif +#if TIZEN_SDK_MAJOR < 2 || (TIZEN_SDK_MAJOR == 2 && TIZEN_SDK_MINOR < 3) +# error Tizen SDK too old +#endif + ],[],[ + HAVE_TIZEN="1" + AC_MSG_RESULT([yes]) + ],[ + AC_MSG_RESULT([no]) + ]) +]) +AM_CONDITIONAL(HAVE_TIZEN, test "${HAVE_TIZEN}" = "1") dnl dnl Check for the contrib directory _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
