2 AC_INIT(gst-plugins-tizen, 1.16.2)
4 dnl versions of gstreamer and plugins-base
9 dnl fill in your package name and version here
10 dnl the fourth (nano) number should be 0 for a release, 1 for CVS,
11 dnl and 2... for a prerelease
13 dnl when going to/from release please set the nano correctly !
14 dnl releases only do Wall, cvs and prerelease does Werror too
15 AS_VERSION(gst-plugin, GST_PLUGIN_VERSION, 0, 10, 0, 1,
16 GST_PLUGIN_CVS="no", GST_PLUGIN_CVS="yes")
18 dnl AM_MAINTAINER_MODE provides the option to enable maintainer mode
21 #AM_INIT_AUTOMAKE($PACKAGE, $VERSION)
24 #AC_CONFIG_MACRO_DIR([m4])
26 dnl make aclocal work in maintainer mode
27 dnl AC_SUBST(ACLOCAL_AMFLAGS, "-I m4")
29 dnl Add parameters for aclocal
30 AC_SUBST(ACLOCAL_AMFLAGS, "-I m4 -I common/m4")
32 AM_CONFIG_HEADER(config.h)
39 AC_SUBST(GCC_CXXFLAGS)
41 dnl decide on error flags
42 AS_COMPILER_FLAG(-Wall, GST_WALL="yes", GST_WALL="no")
44 if test "x$GST_WALL" = "xyes"; then
45 GST_ERROR="$GST_ERROR -Wall"
47 # if test "x$GST_PLUGIN_CVS" = "xyes"; then
48 # AS_COMPILER_FLAG(-Werror,GST_ERROR="$GST_ERROR -Werror",GST_ERROR="$GST_ERROR")
52 dnl Check for pkgconfig first
53 AC_CHECK_PROG(HAVE_PKGCONFIG, pkg-config, yes, no)
55 dnl Give error and exit if we don't have pkgconfig
56 if test "x$HAVE_PKGCONFIG" = "xno"; then
57 AC_MSG_ERROR(you need to have pkgconfig installed !)
60 dnl Now we're ready to ask for gstreamer libs and cflags
61 dnl And we can also ask for the right version of gstreamer
62 AM_CONDITIONAL([IS_VODA_SDK], [test "x$DISTRO" = "xvodafone-sdk"])
63 AM_CONDITIONAL([ISPROTECTOR_VODA_SDK], [test "x$DISTRO" = "xvodafone-sdk" && test "x$MACHINE" = "xprotector"])
64 AM_CONDITIONAL([ISVOLANS_VODA_SDK], [test "x$DISTRO" = "xvodafone-sdk" && test "x$MACHINE" = "xvolans"])
65 AM_CONDITIONAL([ISPROTECTOR_TARGET], [test "x$ARCH" = "xarm" && test "x$MACHINE" = "xprotector"])
66 AM_CONDITIONAL([ISVOLANS_TARGET], [test "x$ARCH" = "xarm" && test "x$MACHINE" = "xvolans"])
68 PKG_CHECK_MODULES(GST, \
69 gstreamer-$GST_API_VERSION >= $GST_REQUIRED,
70 HAVE_GST=yes,HAVE_GST=no)
72 dnl Give error and exit if we don't have gstreamer
73 if test "x$HAVE_GST" = "xno"; then
74 AC_MSG_ERROR(you need gstreamer development packages installed !)
77 dnl make GST_CFLAGS and GST_LIBS available
81 dnl append GST_ERROR cflags to GST_CFLAGS
82 GST_CFLAGS="$GST_CFLAGS $GST_ERROR"
84 dnl make GST_API_VERSION available in Makefile.am
85 AC_SUBST(GST_API_VERSION)
87 dnl If we need them, we can also use the base class libraries
88 PKG_CHECK_MODULES(GST_BASE, gstreamer-base-$GST_API_VERSION >= $GST_REQUIRED,
89 HAVE_GST_BASE=yes, HAVE_GST_BASE=no)
91 dnl Give a warning if we don't have gstreamer libs
92 dnl you can turn this into an error if you need them
93 if test "x$HAVE_GST_BASE" = "xno"; then
94 AC_MSG_NOTICE(no GStreamer base class libraries found (gstreamer-base-$GST_API_VERSION))
97 dnl make _CFLAGS and _LIBS available
98 AC_SUBST(GST_BASE_CFLAGS)
99 AC_SUBST(GST_BASE_LIBS)
101 dnl If we need them, we can also use the gstreamer-plugins-base libraries
102 PKG_CHECK_MODULES(GSTPB_BASE,
103 gstreamer-plugins-base-$GST_API_VERSION >= $GSTPB_REQUIRED,
104 HAVE_GSTPB_BASE=yes, HAVE_GSTPB_BASE=no)
106 dnl Give a warning if we don't have gstreamer libs
107 dnl you can turn this into an error if you need them
108 if test "x$HAVE_GSTPB_BASE" = "xno"; then
109 AC_MSG_NOTICE(no GStreamer Plugins Base libraries found (gstreamer-plugins-base-$GST_API_VERSION))
112 dnl make _CFLAGS and _LIBS available
113 AC_SUBST(GSTPB_BASE_CFLAGS)
114 AC_SUBST(GSTPB_BASE_LIBS)
116 dnl If we need them, we can also use the gstreamer-controller libraries
117 PKG_CHECK_MODULES(GST_CONTROLLER,
118 gstreamer-controller-$GST_API_VERSION >= $GSTPB_REQUIRED,
119 HAVE_GST_CONTROLLER=yes, HAVE_GST_CONTROLLER=no)
121 dnl Give a warning if we don't have gstreamer-controller
122 dnl you can turn this into an error if you need them
123 if test "x$HAVE_GST_CONTROLLER" = "xno"; then
124 AC_MSG_NOTICE(no GStreamer Controller libraries found (gstreamer-controller-$GST_API_VERSION))
127 dnl make _CFLAGS and _LIBS available
128 AC_SUBST(GST_CONTROLLER_CFLAGS)
129 AC_SUBST(GST_CONTROLLER_LIBS)
131 dnl set the plugindir where plugins should be installed
132 if test "x${prefix}" = "x$HOME"; then
133 plugindir="$HOME/.gstreamer-$GST_API_VERSION/plugins"
135 plugindir="\$(libdir)/gstreamer-$GST_API_VERSION"
139 dnl set proper LDFLAGS for plugins
140 #GST_PLUGIN_LDFLAGS='-module -avoid-version -export-symbols-regex [_]*\(gst_\|Gst\|GST_\).*'
141 GST_PLUGIN_LDFLAGS='-module -avoid-version -export-symbols-regex [_]*\(gst_\|Gst\|GST_\|FIR_\|arkamys_malloc\|arkamys_free\).*'
142 #GST_PLUGIN_LDFLAGS='-module -avoid-version'
143 AC_SUBST(GST_PLUGIN_LDFLAGS)
146 PKG_CHECK_MODULES(GST_AUDIO, gstreamer-audio-$GST_API_VERSION >= $GST_REQUIRED )
149 dnl make _CFLAGS and _LIBS available
150 AC_SUBST(GST_AUDIO_CFLAGS)
151 AC_SUBST(GST_AUDIO_LIBS)
153 PKG_CHECK_MODULES(GST_VIDEO, gstreamer-video-$GST_API_VERSION >= $GST_REQUIRED)
155 dnl make _CFLAGS and _LIBS available
156 AC_SUBST(GST_VIDEO_CFLAGS)
157 AC_SUBST(GST_VIDEO_LIBS)
159 PKG_CHECK_MODULES(GST_ALLOCATORS, gstreamer-allocators-$GST_API_VERSION >= $GST_REQUIRED)
160 AC_SUBST(GST_ALLOCATORS_CFLAGS)
161 AC_SUBST(GST_ALLOCATORS_LIBS)
163 PKG_CHECK_MODULES(DRM, libdrm)
167 PKG_CHECK_MODULES(DRM_EXYNOS, libdrm_exynos)
168 AC_SUBST(DRM_EXYNOS_CFLAGS)
169 AC_SUBST(DRM_EXYNOS_LIBS)
171 PKG_CHECK_MODULES(TBM, libtbm)
175 dnl belows are related to wfdtsdemux
176 AG_GST_ARG_WITH_PACKAGE_NAME
177 AG_GST_ARG_WITH_PACKAGE_ORIGIN
179 dnl set license and copyright notice
181 AC_DEFINE_UNQUOTED(GST_LICENSE, "$GST_LICENSE", [GStreamer license])
182 AC_SUBST(GST_LICENSE)
184 dnl PKG_CHECK_MODULES(UDEVMGR, unified-dev-mgr)
185 dnl AC_SUBST(UDEVMGR_CFLAGS)
186 dnl AC_SUBST(UDEVMGR_LIBS)
188 dnl use tizenencodebin --------------------------------------------------------------------------
189 AC_ARG_ENABLE(tizenencodebin, AC_HELP_STRING([--enable-tizenencodebin], [using tizenencodebin]),
191 case "${enableval}" in
192 yes) GST_TIZEN_USE_TIZENENCODEBIN=yes ;;
193 no) GST_TIZEN_USE_TIZENENCODEBIN=no ;;
194 *) AC_MSG_ERROR(bad value ${enableval} for --enable-tizenencodebin) ;;
197 [GST_TIZEN_USE_TIZENENCODEBIN=yes])
198 AM_CONDITIONAL(GST_TIZEN_USE_TIZENENCODEBIN, test "x$GST_TIZEN_USE_TIZENENCODEBIN" = "xyes")
200 dnl use toggle --------------------------------------------------------------------------
201 AC_ARG_ENABLE(toggle, AC_HELP_STRING([--enable-toggle], [using toggle]),
203 case "${enableval}" in
204 yes) GST_TIZEN_USE_TOGGLE=yes ;;
205 no) GST_TIZEN_USE_TOGGLE=no ;;
206 *) AC_MSG_ERROR(bad value ${enableval} for --enable-toggle) ;;
209 [GST_TIZEN_USE_TOGGLE=yes])
210 AM_CONDITIONAL(GST_TIZEN_USE_TOGGLE, test "x$GST_TIZEN_USE_TOGGLE" = "xyes")
212 dnl for i386 --------------------------------------------------------------------------
213 AC_ARG_ENABLE(i386, AC_HELP_STRING([--enable-i386], [i386 build]),
215 case "${enableval}" in
218 *) AC_MSG_ERROR(bad value ${enableval} for --enable-i386) ;;
222 AM_CONDITIONAL([IS_I386], [test "x$IS_I386" = "xyes"])
224 dnl use audiotp --------------------------------------------------------------------------
225 AC_ARG_ENABLE(audiotp, AC_HELP_STRING([--enable-audiotp], [using audiotp]),
227 case "${enableval}" in
228 yes) GST_TIZEN_USE_AUDIOTP=yes ;;
229 no) GST_TIZEN_USE_AUDIOTP=no ;;
230 *) AC_MSG_ERROR(bad value ${enableval} for --enable-audiotp) ;;
233 [GST_TIZEN_USE_AUDIOTP=yes])
234 AM_CONDITIONAL(GST_TIZEN_USE_AUDIOTP, test "x$GST_TIZEN_USE_AUDIOTP" = "xyes")
236 dnl use audioeq --------------------------------------------------------------------------
237 AC_ARG_ENABLE(audioeq, AC_HELP_STRING([--enable-audioeq], [using audioeq]),
239 case "${enableval}" in
240 yes) GST_TIZEN_USE_AUDIOEQ=yes ;;
241 no) GST_TIZEN_USE_AUDIOEQ=no ;;
242 *) AC_MSG_ERROR(bad value ${enableval} for --enable-audioeq) ;;
245 [GST_TIZEN_USE_AUDIOEQ=yes])
246 AM_CONDITIONAL(GST_TIZEN_USE_AUDIOEQ, test "x$GST_TIZEN_USE_AUDIOEQ" = "xyes")
248 dnl use fimcconvert ----------------------------------------------------------------------
249 AC_ARG_ENABLE(fimcconvert, AC_HELP_STRING([--enable-fimcconvert], [using fimcconvert]),
251 case "${enableval}" in
252 yes) GST_TIZEN_USE_FIMCCONVERT=yes ;;
253 no) GST_TIZEN_USE_FIMCCONVERT=no ;;
254 *) AC_MSG_ERROR(bad value ${enableval} for --enable-fimcconvert) ;;
257 [GST_TIZEN_USE_FIMCCONVERT=yes])
258 AM_CONDITIONAL(GST_TIZEN_USE_FIMCCONVERT, test "x$GST_TIZEN_USE_FIMCCONVERT" = "xyes")
260 dnl use wfdmanager --------------------------------------------------------------------------
261 AC_ARG_ENABLE(wfdmanager, AC_HELP_STRING([--enable-wfdmanager], [using wfdmanager]),
263 case "${enableval}" in
264 yes) GST_TIZEN_USE_WFDMANAGER=yes ;;
265 no) GST_TIZEN_USE_WFDMANAGER=no ;;
266 *) AC_MSG_ERROR(bad value ${enableval} for --enable-wfdmanager) ;;
269 [GST_TIZEN_USE_WFDMANAGER=yes])
270 AM_CONDITIONAL(GST_TIZEN_USE_WFDMANAGER, test "x$GST_TIZEN_USE_WFDMANAGER" = "xyes")
272 if [test "x$GST_TIZEN_USE_WFDMANAGER" = "xyes"];
274 PKG_CHECK_MODULES(GST_RTP, gstreamer-rtp-$GST_API_VERSION)
275 AC_SUBST(GST_RTP_CFLAGS)
276 AC_SUBST(GST_RTP_LIBS)
278 PKG_CHECK_MODULES(GST_RTSP, gstreamer-rtsp-$GST_API_VERSION)
279 AC_SUBST(GST_RTSP_CFLAGS)
280 AC_SUBST(GST_RTSP_LIBS)
283 dnl use wfdtsdemux --------------------------------------------------------------------------
284 AC_ARG_ENABLE(wfdtsdemux, AC_HELP_STRING([--enable-wfdtsdemux], [using wfdtsdemux]),
286 case "${enableval}" in
287 yes) GST_TIZEN_USE_WFDTSDEMUX=yes ;;
288 no) GST_TIZEN_USE_WFDTSDEMUX=no ;;
289 *) AC_MSG_ERROR(bad value ${enableval} for --enable-wfdtsdemux) ;;
292 [GST_TIZEN_USE_WFDTSDEMUX=yes])
293 AM_CONDITIONAL(GST_TIZEN_USE_WFDTSDEMUX, test "x$GST_TIZEN_USE_WFDTSDEMUX" = "xyes")
295 if [test "x$GST_TIZEN_USE_WFDTSDEMUX" = "xyes"];
297 PKG_CHECK_MODULES(GST_TAG, gstreamer-tag-$GST_API_VERSION)
298 AC_SUBST(GST_TAG_CFLAGS)
299 AC_SUBST(GST_TAG_LIBS)
301 PKG_CHECK_MODULES(GSTPB_UTILS, gstreamer-pbutils-$GST_API_VERSION)
302 AC_SUBST(GSTPB_UTILS_CFLAGS)
303 AC_SUBST(GSTPB_UTILS_LIBS)
306 dnl use waylandsrc --------------------------------------------------------------------------
307 AC_ARG_ENABLE(waylandsrc, AC_HELP_STRING([--enable-waylandsrc], [using waylandsrc]),
309 case "${enableval}" in
310 yes) GST_TIZEN_USE_WAYLANDSRC=yes ;;
311 no) GST_TIZEN_USE_WAYLANDSRC=no ;;
312 *) AC_MSG_ERROR(bad value ${enableval} for --enable-waylandsrc) ;;
315 [GST_TIZEN_USE_WAYLANDSRC=yes])
316 AM_CONDITIONAL(GST_TIZEN_USE_WAYLANDSRC, test "x$GST_TIZEN_USE_WAYLANDSRC" = "xyes")
318 if [test "x$GST_TIZEN_USE_WAYLANDSRC" = "xyes"];
320 PKG_CHECK_MODULES(WAYLAND_CLIENT, wayland-client wayland-tbm-client tizen-extension-client)
321 AC_SUBST(WAYLAND_CLIENT_CFLAGS)
322 AC_SUBST(WAYLAND_CLIENT_LIBS)
325 dnl use drmdecryptor --------------------------------------------------------------------------
326 AC_ARG_ENABLE(drmdecryptor, AC_HELP_STRING([--enable-drmdecryptor], [using drmdecryptor]),
328 case "${enableval}" in
329 yes) GST_TIZEN_USE_DRMDECRYPTOR=yes ;;
330 no) GST_TIZEN_USE_DRMDECRYPTOR=no ;;
331 *) AC_MSG_ERROR(bad value ${enableval} for --enable-drmdecryptor) ;;
334 [GST_TIZEN_USE_DRMDECRYPTOR=yes])
335 AM_CONDITIONAL(GST_TIZEN_USE_DRMDECRYPTOR, test "x$GST_TIZEN_USE_DRMDECRYPTOR" = "xyes")
337 dnl use tizenipc--------------------------------------------------------------------------
338 AC_ARG_ENABLE(tizenipc, AC_HELP_STRING([--enable-tizenipc], [using tizenipc]),
340 case "${enableval}" in
341 yes) GST_TIZEN_USE_TIZENIPC=yes ;;
342 no) GST_TIZEN_USE_TIZENIPC=no ;;
343 *) AC_MSG_ERROR(bad value ${enableval} for --enable-tizenipc) ;;
346 [GST_TIZEN_USE_TIZENIPC=yes])
347 AM_CONDITIONAL(GST_TIZEN_USE_TIZENIPC, test "x$GST_TIZEN_USE_TIZENIPC" = "xyes")
349 dnl use ext-wfdtizenmanager --------------------------------------------------------------------------
350 AC_ARG_ENABLE(ext-wfdtizenmanager, AC_HELP_STRING([--enable-ext-wfdtizenmanager], [using wfdtizenmanager]),
352 case "${enableval}" in
353 yes) GST_TIZEN_USE_WFDTIZENMANAGER=yes ;;
354 no) GST_TIZEN_USE_WFDTIZENMANAGER=no ;;
355 *) AC_MSG_ERROR(bad value ${enableval} for --enable-ext-wfdtizenmanager) ;;
358 [GST_TIZEN_USE_WFDTIZENMANAGER=yes])
359 AM_CONDITIONAL(GST_TIZEN_USE_WFDTIZENMANAGER, test "x$GST_TIZEN_USE_WFDTIZENMANAGER" = "xyes")
361 dnl use ext-alfec --------------------------------------------------------------------------
362 AC_ARG_ENABLE(ext-alfec, AC_HELP_STRING([--enable-ext-alfec], [using alfec]),
364 case "${enableval}" in
365 yes) GST_TIZEN_USE_ALFEC=yes ;;
366 no) GST_TIZEN_USE_ALFEC=no ;;
367 *) AC_MSG_ERROR(bad value ${enableval} for --enable-ext-alfec) ;;
370 [GST_TIZEN_USE_ALFEC=yes])
371 AM_CONDITIONAL(GST_TIZEN_USE_ALFEC, test "x$GST_TIZEN_USE_ALFEC" = "xyes")
373 dnl use video360 --------------------------------------------------------------------------
374 AC_ARG_ENABLE(video360, AC_HELP_STRING([--enable-video360], [using video360]),
376 case "${enableval}" in
377 yes) GST_TIZEN_USE_VIDEO360=yes ;;
378 no) GST_TIZEN_USE_VIDEO360=no ;;
379 *) AC_MSG_ERROR(bad value ${enableval} for --enable-video360) ;;
382 [GST_TIZEN_USE_VIDEO360=yes])
383 AM_CONDITIONAL(GST_TIZEN_USE_VIDEO360, test "x$GST_TIZEN_USE_VIDEO360" = "xyes")
385 dnl video360 related options START --------------------------------------------------------
386 AC_ARG_WITH([tizen-platform], AS_HELP_STRING([--with-tizen-platform],
387 [Build with Tizen Porting Layer(TPL)]))
389 AC_ARG_WITH([native-formats], AS_HELP_STRING([--with-native-formats],
390 [Build with support for Tizen native video formats]))
392 AC_ARG_WITH([gles2], AS_HELP_STRING([--with-gles2], [Build with OpenGL ES 2.0]))
394 AS_IF([test "x$with_tizen_platform" = "xyes"], [
395 PKG_CHECK_MODULES(TPL, [
401 CFLAGS="$CFLAGS -DGST_TIZEN_PLATFORM"
404 AS_IF([test "x$with_native_formats" = "xyes"], [
405 CFLAGS="$CFLAGS -DGST_TIZEN_USE_NATIVE_FORMATS"
408 AS_IF([test "x$with_gles2" = "xyes"], [
409 PKG_CHECK_MODULES(GLES, [
412 AC_SUBST(GLES_CFLAGS)
415 CFLAGS="$CFLAGS -DGST_TIZEN_GL_API_GLES2"
417 dnl video360 related options END --------------------------------------------------------
421 dnl use waylandsink --------------------------------------------------------------------------
422 AC_ARG_ENABLE(waylandsink, AC_HELP_STRING([--enable-waylandsink], [using waylandsink]),
424 case "${enableval}" in
425 yes) GST_TIZEN_USE_WAYLANDSINK=yes ;;
426 no) GST_TIZEN_USE_WAYLANDSINK=no ;;
427 *) AC_MSG_ERROR(bad value ${enableval} for --enable-waylandsink) ;;
430 [GST_TIZEN_USE_WAYLANDSINK=yes])
431 AM_CONDITIONAL([GST_TIZEN_USE_WAYLANDSINK], [test "x$GST_TIZEN_USE_WAYLANDSINK" = "xyes"])
432 if test "x$GST_TIZEN_USE_WAYLANDSINK" = "xyes"; then
433 PKG_CHECK_MODULES(WAYLAND, wayland-client >= 1.4.0 wayland-tbm-client tizen-extension-client wayland-scanner wtz-foreign-client)
434 AC_PATH_PROG([wayland_scanner], [wayland-scanner])
435 AC_SUBST(WAYLAND_CFLAGS)
436 AC_SUBST(WAYLAND_LIBS)
439 dnl use tizencamerasrc --------------------------------------------------------------------------
440 AC_ARG_ENABLE(tizencamerasrc, AC_HELP_STRING([--enable-tizencamerasrc], [using tizencamerasrc]),
442 case "${enableval}" in
443 yes) GST_TIZEN_USE_TIZENCAMERASRC=yes ;;
444 no) GST_TIZEN_USE_TIZENCAMERASRC=no ;;
445 *) AC_MSG_ERROR(bad value ${enableval} for --enable-tizencamerasrc) ;;
448 [GST_TIZEN_USE_TIZENCAMERASRC=yes])
449 AM_CONDITIONAL([GST_TIZEN_USE_TIZENCAMERASRC], [test "x$GST_TIZEN_USE_TIZENCAMERASRC" = "xyes"])
450 if test "x$GST_TIZEN_USE_TIZENCAMERASRC" = "xyes"; then
451 PKG_CHECK_MODULES(HAL_API_CAMERA, hal-api-camera)
452 AC_SUBST(HAL_API_CAMERA_CFLAGS)
453 AC_SUBST(HAL_API_CAMERA_LIBS)
456 dnl use tinycompress --------------------------------------------------------------------------
457 AC_ARG_ENABLE(tinycompress, AC_HELP_STRING([--enable-tinycompress], [using tinycompress]),
459 case "${enableval}" in
460 yes) GST_TIZEN_USE_TINYCOMPRESS=yes ;;
461 no) GST_TIZEN_USE_TINYCOMPRESS=no ;;
462 *) AC_MSG_ERROR(bad value ${enableval} for --enable-tinycompress) ;;
465 [GST_TIZEN_USE_TINYCOMPRESS=no])
466 AM_CONDITIONAL(GST_TIZEN_USE_TINYCOMPRESS, test "x$GST_TIZEN_USE_TINYCOMPRESS" = "xyes")
467 if test "x$GST_TIZEN_USE_TINYCOMPRESS" = "xyes"; then
468 PKG_CHECK_MODULES(TINYCOMPRESS, tinycompress)
469 AC_SUBST(TINYCOMPRESS_CFLAGS)
470 AC_SUBST(TINYCOMPRESS_LIBS)
471 PKG_CHECK_MODULES(SOUND_MANAGER, capi-media-sound-manager)
472 AC_SUBST(SOUND_MANAGER_CFLAGS)
473 AC_SUBST(SOUND_MANAGER_LIBS)
474 PKG_CHECK_MODULES(ASOUNDLIB, alsa)
475 AC_SUBST(ASOUNDLIB_CFLAGS)
476 AC_SUBST(ASOUNDLIB_LIBS)
479 dnl use tinycompress test--------------------------------------------------------------------------
480 AC_ARG_ENABLE(tinycompress_test, AC_HELP_STRING([--enable-tinycompress_test], [using tinycompress_test]),
482 case "${enableval}" in
483 yes) USE_TINYCOMPRESS_TEST=yes ;;
484 no) USE_TINYCOMPRESS_TEST=no ;;
485 *) AC_MSG_ERROR(bad value ${enableval} for --enable-tinycompress_test) ;;
488 [USE_TINYCOMPRESS_TEST=no])
489 AM_CONDITIONAL(USE_TINYCOMPRESS_TEST, test "x$USE_TINYCOMPRESS_TEST" = "xyes")
491 AC_ARG_ENABLE(tests, AC_HELP_STRING([--enable-tests], [unittest build]),
493 case "${enableval}" in
496 *) AC_MSG_ERROR(bad value ${enableval} for --enable-tests) ;;
500 AM_CONDITIONAL([IS_TESTS], [test "x$IS_TESTS" = "xyes"])
502 AS_IF([test "x$enable_tests" = "xyes"], [
503 PKG_CHECK_MODULES(GTESTS, gmock)
504 AC_SUBST(GTESTS_CFLAGS)
505 AC_SUBST(GTESTS_LIBS)
518 audioeq/unittest/Makefile
520 fimcconvert/src/Makefile
522 wfdmanager/unittest/Makefile
523 wfdmanager/wfdbase/Makefile
526 waylandsrc/src/Makefile
527 drmdecryptor/Makefile
528 drmdecryptor/src/Makefile
530 tizenipc/src/Makefile
531 wfdtizenmanager/Makefile
534 video360/src/Makefile
535 video360/unittest/Makefile
536 tizenencodebin/Makefile
537 tizenencodebin/src/Makefile
539 tizenwlsink/src/Makefile
540 tizenwlsink/unittest/Makefile
541 tizencamerasrc/Makefile
542 tizencamerasrc/src/Makefile
543 tinycompresssink/Makefile
544 tinycompresssink/src/Makefile
545 tinycompresssink/test/Makefile