X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=configure.ac;h=73a093e88d97e1da48f7faa8735d4ccd5da94b95;hb=c96dfdb50f2047ad9439eac93404b0412812aecc;hp=12807bce90853d9b711506ba12d5f68e5a98a345;hpb=46fc41f1a8378639f2982b777035bbcddd4e5000;p=platform%2Fupstream%2Fgstreamer.git diff --git a/configure.ac b/configure.ac index 12807bc..73a093e 100644 --- a/configure.ac +++ b/configure.ac @@ -5,7 +5,7 @@ dnl please read gstreamer/docs/random/autotools before changing this file dnl initialize autoconf dnl releases only do -Wall, git and prerelease does -Werror too dnl use a three digit version number for releases, and four for git/prerelease -AC_INIT([GStreamer Base Plug-ins],[1.14.0],[http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer],[gst-plugins-base]) +AC_INIT([GStreamer Base Plug-ins],[1.16.2],[http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer],[gst-plugins-base]) AG_GST_INIT @@ -56,10 +56,10 @@ dnl 1.2.5 => 205 dnl 1.10.9 (who knows) => 1009 dnl dnl sets GST_LT_LDFLAGS -AS_LIBTOOL(GST, 1400, 0, 1400) +AS_LIBTOOL(GST, 1602, 0, 1602) dnl *** required versions of GStreamer stuff *** -GST_REQ=1.14.0 +GST_REQ=1.16.2 dnl *** autotools stuff **** @@ -154,6 +154,34 @@ AM_CONDITIONAL(HAVE_CXX, test "x$working_cxx" = "xyes") AC_PATH_PROG(VALGRIND_PATH, valgrind, no) AM_CONDITIONAL(HAVE_VALGRIND, test ! "x$VALGRIND_PATH" = "xno") +dnl check for supporting tbm +AC_MSG_CHECKING([for supporting tbm]) +AC_ARG_ENABLE(tbm, AC_HELP_STRING([--enable-tbm], [tbm support]), + [ + case "${enableval}" in + yes) USE_TBM=yes ;; + no) USE_TBM=no ;; + *) AC_MSG_ERROR(bad value ${enableval} for --enable-tbm) ;; + esac + ], + [USE_TBM=no]) +AM_CONDITIONAL(USE_TBM, test "x$USE_TBM" = "xyes") +AC_MSG_RESULT([$USE_TBM]) +if test "x$USE_TBM" = "xyes"; then + AC_DEFINE(USE_TBM, 1, [tbm support]) +fi + +dnl Check for tv-product +AC_ARG_ENABLE(tv, AC_HELP_STRING([--enable-tv], [use tv]), + [ + case "${enableval}" in + yes) HAVE_TV_PRODUCT=yes ;; + no) HAVE_TV_PRODUCT=no ;; + *) AC_MSG_ERROR(bad value ${enableval} for --enable-tv) ;; + esac + ],) +AM_CONDITIONAL([HAVE_TV_PRODUCT], [test "x$HAVE_TV_PRODUCT" = "xyes"]) + dnl check for gobject-introspection GOBJECT_INTROSPECTION_CHECK([1.31.1]) @@ -225,7 +253,7 @@ AC_MSG_CHECKING(for ARM NEON support in current arch/CFLAGS) AC_LINK_IFELSE([ AC_LANG_PROGRAM([[ #include - int32x4_t testfunc(int16_t *a, int16_t *b) { + int32x4_t __attribute__((used)) testfunc(int16_t *a, int16_t *b) { asm volatile ("vmull.s16 q0, d0, d0" : : : "q0"); return vmull_s16(vld1_s16(a), vld1_s16(b)); } @@ -265,8 +293,8 @@ dnl Check for fast float to int casting as defined in C99 dnl used to be used in gst-libs/gst/floatcast/floatcast.h (FIXME: still needed?) save_libs=$LIBS LIBS="$LIBS $LIBM" -AC_C99_FUNC_LRINT -AC_C99_FUNC_LRINTF +#AC_C99_FUNC_LRINT +#AC_C99_FUNC_LRINTF LIBS=$save_libs dnl Check for a way to display the function name in debug output @@ -449,7 +477,7 @@ dnl define an ERROR_CXXFLAGS Makefile variable AG_GST_SET_ERROR_CXXFLAGS($FATAL_WARNINGS, [ -Wmissing-declarations -Wredundant-decls -Wundef -Wwrite-strings -Wformat-nonliteral -Wformat-security - -Winit-self -Wmissing-include-dirs -Waddress -Waggregate-return + -Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar $NO_WARNINGS]) dnl define correct level for debugging messages @@ -486,6 +514,9 @@ esac dnl Check for mmap (needed by allocators library) AC_CHECK_FUNC([mmap], [AC_DEFINE(HAVE_MMAP, 1, [Defined if mmap is supported])]) +dnl Check for DMABuf synchronization ioctl (needed for DMABuf CPU access) +AC_CHECK_HEADERS([linux/dma-buf.h], []) + dnl *** plug-ins to include *** dnl these are all the gst plug-ins, compilable without additional libs @@ -495,9 +526,11 @@ AG_GST_CHECK_PLUGIN(audioconvert) AG_GST_CHECK_PLUGIN(audiomixer) AG_GST_CHECK_PLUGIN(audiorate) AG_GST_CHECK_PLUGIN(audiotestsrc) +AG_GST_CHECK_PLUGIN(compositor) AG_GST_CHECK_PLUGIN(encoding) AG_GST_CHECK_PLUGIN(videoconvert) AG_GST_CHECK_PLUGIN(gio) +AG_GST_CHECK_PLUGIN(overlaycomposition) AG_GST_CHECK_PLUGIN(playback) AG_GST_CHECK_PLUGIN(audioresample) AG_GST_CHECK_PLUGIN(rawparse) @@ -838,7 +871,13 @@ fi AC_SUBST(DEPRECATED_CFLAGS) VISIBILITY_CFLAGS="" -AS_COMPILER_FLAG([-fvisibility=hidden], [VISIBILITY_CFLAGS="-fvisibility=hidden"]) +AS_COMPILER_FLAG([-fvisibility=hidden], [ + VISIBILITY_CFLAGS="-fvisibility=hidden" + AC_DEFINE(GST_API_EXPORT, [extern __attribute__ ((visibility ("default")))], [public symbol export define]) +], [ + VISIBILITY_CFLAGS="" + AC_DEFINE(GST_API_EXPORT, [extern], [public symbol export define]) +]) AC_SUBST(VISIBILITY_CFLAGS) VISIBILITY_CXXFLAGS="" @@ -898,6 +937,11 @@ dnl whatevertarget_LIBS and -L flags here affect the rest of the linking GST_PLUGIN_LDFLAGS="-module -avoid-version $GST_ALL_LDFLAGS" AC_SUBST(GST_PLUGIN_LDFLAGS) +dnl use tbm +PKG_CHECK_MODULES(TBM, libdrm libtbm) +AC_SUBST(TBM_CFLAGS) +AC_SUBST(TBM_LIBS) + dnl *** output files *** $MKDIR_P tests/check/orc @@ -912,9 +956,11 @@ gst/audiomixer/Makefile gst/audiorate/Makefile gst/audioresample/Makefile gst/audiotestsrc/Makefile +gst/compositor/Makefile gst/encoding/Makefile gst/videoconvert/Makefile gst/gio/Makefile +gst/overlaycomposition/Makefile gst/pbtypes/Makefile gst/playback/Makefile gst/rawparse/Makefile @@ -997,6 +1043,7 @@ tests/check/Makefile tests/examples/Makefile tests/examples/app/Makefile tests/examples/audio/Makefile +tests/examples/compositor/Makefile tests/examples/decodebin_next/Makefile tests/examples/dynamic/Makefile tests/examples/encoding/Makefile @@ -1017,8 +1064,8 @@ tests/examples/gl/gtk/filternovideooverlay/Makefile tests/examples/gl/gtk/filtervideooverlay/Makefile tests/examples/gl/cocoa/Makefile tests/examples/gl/sdl/Makefile -tests/examples/gl/clutter/Makefile tests/examples/overlay/Makefile +tests/examples/overlaycomposition/Makefile tests/examples/seek/Makefile tests/examples/snapshot/Makefile tests/examples/playback/Makefile