Commit ea4515b3 authored by Thomas Guillem's avatar Thomas Guillem

configure.ac: add HAVE_TIZEN

The minimum SDK version supported is 2.3.
parent 456ec97f
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment