AC_INIT(gst-plugins-tizen, 1.16.2) dnl versions of gstreamer and plugins-base GST_API_VERSION=1.0 GST_REQUIRED=1.16.2 GSTPB_REQUIRED=1.16.2 dnl fill in your package name and version here dnl the fourth (nano) number should be 0 for a release, 1 for CVS, dnl and 2... for a prerelease dnl when going to/from release please set the nano correctly ! dnl releases only do Wall, cvs and prerelease does Werror too AS_VERSION(gst-plugin, GST_PLUGIN_VERSION, 0, 10, 0, 1, GST_PLUGIN_CVS="no", GST_PLUGIN_CVS="yes") dnl AM_MAINTAINER_MODE provides the option to enable maintainer mode AM_MAINTAINER_MODE #AM_INIT_AUTOMAKE($PACKAGE, $VERSION) AM_INIT_AUTOMAKE #AC_CONFIG_MACRO_DIR([m4]) dnl make aclocal work in maintainer mode dnl AC_SUBST(ACLOCAL_AMFLAGS, "-I m4") dnl Add parameters for aclocal AC_SUBST(ACLOCAL_AMFLAGS, "-I m4 -I common/m4") AM_CONFIG_HEADER(config.h) dnl check for tools AC_PROG_CC AC_PROG_CXX AC_PROG_LIBTOOL AC_SUBST(GCC_CXXFLAGS) dnl decide on error flags AS_COMPILER_FLAG(-Wall, GST_WALL="yes", GST_WALL="no") if test "x$GST_WALL" = "xyes"; then GST_ERROR="$GST_ERROR -Wall" # if test "x$GST_PLUGIN_CVS" = "xyes"; then # AS_COMPILER_FLAG(-Werror,GST_ERROR="$GST_ERROR -Werror",GST_ERROR="$GST_ERROR") # fi fi dnl Check for pkgconfig first AC_CHECK_PROG(HAVE_PKGCONFIG, pkg-config, yes, no) dnl Give error and exit if we don't have pkgconfig if test "x$HAVE_PKGCONFIG" = "xno"; then AC_MSG_ERROR(you need to have pkgconfig installed !) fi dnl Now we're ready to ask for gstreamer libs and cflags dnl And we can also ask for the right version of gstreamer AM_CONDITIONAL([IS_VODA_SDK], [test "x$DISTRO" = "xvodafone-sdk"]) AM_CONDITIONAL([ISPROTECTOR_VODA_SDK], [test "x$DISTRO" = "xvodafone-sdk" && test "x$MACHINE" = "xprotector"]) AM_CONDITIONAL([ISVOLANS_VODA_SDK], [test "x$DISTRO" = "xvodafone-sdk" && test "x$MACHINE" = "xvolans"]) AM_CONDITIONAL([ISPROTECTOR_TARGET], [test "x$ARCH" = "xarm" && test "x$MACHINE" = "xprotector"]) AM_CONDITIONAL([ISVOLANS_TARGET], [test "x$ARCH" = "xarm" && test "x$MACHINE" = "xvolans"]) PKG_CHECK_MODULES(GST, \ gstreamer-$GST_API_VERSION >= $GST_REQUIRED, HAVE_GST=yes,HAVE_GST=no) dnl Give error and exit if we don't have gstreamer if test "x$HAVE_GST" = "xno"; then AC_MSG_ERROR(you need gstreamer development packages installed !) fi dnl make GST_CFLAGS and GST_LIBS available AC_SUBST(GST_CFLAGS) AC_SUBST(GST_LIBS) dnl append GST_ERROR cflags to GST_CFLAGS GST_CFLAGS="$GST_CFLAGS $GST_ERROR" dnl make GST_API_VERSION available in Makefile.am AC_SUBST(GST_API_VERSION) dnl If we need them, we can also use the base class libraries PKG_CHECK_MODULES(GST_BASE, gstreamer-base-$GST_API_VERSION >= $GST_REQUIRED, HAVE_GST_BASE=yes, HAVE_GST_BASE=no) dnl Give a warning if we don't have gstreamer libs dnl you can turn this into an error if you need them if test "x$HAVE_GST_BASE" = "xno"; then AC_MSG_NOTICE(no GStreamer base class libraries found (gstreamer-base-$GST_API_VERSION)) fi dnl make _CFLAGS and _LIBS available AC_SUBST(GST_BASE_CFLAGS) AC_SUBST(GST_BASE_LIBS) dnl If we need them, we can also use the gstreamer-plugins-base libraries PKG_CHECK_MODULES(GSTPB_BASE, gstreamer-plugins-base-$GST_API_VERSION >= $GSTPB_REQUIRED, HAVE_GSTPB_BASE=yes, HAVE_GSTPB_BASE=no) dnl Give a warning if we don't have gstreamer libs dnl you can turn this into an error if you need them if test "x$HAVE_GSTPB_BASE" = "xno"; then AC_MSG_NOTICE(no GStreamer Plugins Base libraries found (gstreamer-plugins-base-$GST_API_VERSION)) fi dnl make _CFLAGS and _LIBS available AC_SUBST(GSTPB_BASE_CFLAGS) AC_SUBST(GSTPB_BASE_LIBS) dnl If we need them, we can also use the gstreamer-controller libraries PKG_CHECK_MODULES(GST_CONTROLLER, gstreamer-controller-$GST_API_VERSION >= $GSTPB_REQUIRED, HAVE_GST_CONTROLLER=yes, HAVE_GST_CONTROLLER=no) dnl Give a warning if we don't have gstreamer-controller dnl you can turn this into an error if you need them if test "x$HAVE_GST_CONTROLLER" = "xno"; then AC_MSG_NOTICE(no GStreamer Controller libraries found (gstreamer-controller-$GST_API_VERSION)) fi dnl make _CFLAGS and _LIBS available AC_SUBST(GST_CONTROLLER_CFLAGS) AC_SUBST(GST_CONTROLLER_LIBS) dnl set the plugindir where plugins should be installed if test "x${prefix}" = "x$HOME"; then plugindir="$HOME/.gstreamer-$GST_API_VERSION/plugins" else plugindir="\$(libdir)/gstreamer-$GST_API_VERSION" fi AC_SUBST(plugindir) dnl set proper LDFLAGS for plugins #GST_PLUGIN_LDFLAGS='-module -avoid-version -export-symbols-regex [_]*\(gst_\|Gst\|GST_\).*' GST_PLUGIN_LDFLAGS='-module -avoid-version -export-symbols-regex [_]*\(gst_\|Gst\|GST_\|FIR_\|arkamys_malloc\|arkamys_free\).*' #GST_PLUGIN_LDFLAGS='-module -avoid-version' AC_SUBST(GST_PLUGIN_LDFLAGS) PKG_CHECK_MODULES(GST_AUDIO, gstreamer-audio-$GST_API_VERSION >= $GST_REQUIRED ) dnl make _CFLAGS and _LIBS available AC_SUBST(GST_AUDIO_CFLAGS) AC_SUBST(GST_AUDIO_LIBS) PKG_CHECK_MODULES(GST_VIDEO, gstreamer-video-$GST_API_VERSION >= $GST_REQUIRED) dnl make _CFLAGS and _LIBS available AC_SUBST(GST_VIDEO_CFLAGS) AC_SUBST(GST_VIDEO_LIBS) PKG_CHECK_MODULES(GST_ALLOCATORS, gstreamer-allocators-$GST_API_VERSION >= $GST_REQUIRED) AC_SUBST(GST_ALLOCATORS_CFLAGS) AC_SUBST(GST_ALLOCATORS_LIBS) PKG_CHECK_MODULES(DRM, libdrm) AC_SUBST(DRM_CFLAGS) AC_SUBST(DRM_LIBS) PKG_CHECK_MODULES(DRM_EXYNOS, libdrm_exynos) AC_SUBST(DRM_EXYNOS_CFLAGS) AC_SUBST(DRM_EXYNOS_LIBS) PKG_CHECK_MODULES(TBM, libtbm) AC_SUBST(TBM_CFLAGS) AC_SUBST(TBM_LIBS) dnl belows are related to wfdtsdemux AG_GST_ARG_WITH_PACKAGE_NAME AG_GST_ARG_WITH_PACKAGE_ORIGIN dnl set license and copyright notice GST_LICENSE="LGPL" AC_DEFINE_UNQUOTED(GST_LICENSE, "$GST_LICENSE", [GStreamer license]) AC_SUBST(GST_LICENSE) dnl PKG_CHECK_MODULES(UDEVMGR, unified-dev-mgr) dnl AC_SUBST(UDEVMGR_CFLAGS) dnl AC_SUBST(UDEVMGR_LIBS) dnl use tizenencodebin -------------------------------------------------------------------------- AC_ARG_ENABLE(tizenencodebin, AC_HELP_STRING([--enable-tizenencodebin], [using tizenencodebin]), [ case "${enableval}" in yes) GST_TIZEN_USE_TIZENENCODEBIN=yes ;; no) GST_TIZEN_USE_TIZENENCODEBIN=no ;; *) AC_MSG_ERROR(bad value ${enableval} for --enable-tizenencodebin) ;; esac ], [GST_TIZEN_USE_TIZENENCODEBIN=yes]) AM_CONDITIONAL(GST_TIZEN_USE_TIZENENCODEBIN, test "x$GST_TIZEN_USE_TIZENENCODEBIN" = "xyes") dnl use toggle -------------------------------------------------------------------------- AC_ARG_ENABLE(toggle, AC_HELP_STRING([--enable-toggle], [using toggle]), [ case "${enableval}" in yes) GST_TIZEN_USE_TOGGLE=yes ;; no) GST_TIZEN_USE_TOGGLE=no ;; *) AC_MSG_ERROR(bad value ${enableval} for --enable-toggle) ;; esac ], [GST_TIZEN_USE_TOGGLE=yes]) AM_CONDITIONAL(GST_TIZEN_USE_TOGGLE, test "x$GST_TIZEN_USE_TOGGLE" = "xyes") dnl for i386 -------------------------------------------------------------------------- AC_ARG_ENABLE(i386, AC_HELP_STRING([--enable-i386], [i386 build]), [ case "${enableval}" in yes) IS_I386=yes ;; no) IS_I386=no ;; *) AC_MSG_ERROR(bad value ${enableval} for --enable-i386) ;; esac ], [IS_I386=no]) AM_CONDITIONAL([IS_I386], [test "x$IS_I386" = "xyes"]) dnl use audiotp -------------------------------------------------------------------------- AC_ARG_ENABLE(audiotp, AC_HELP_STRING([--enable-audiotp], [using audiotp]), [ case "${enableval}" in yes) GST_TIZEN_USE_AUDIOTP=yes ;; no) GST_TIZEN_USE_AUDIOTP=no ;; *) AC_MSG_ERROR(bad value ${enableval} for --enable-audiotp) ;; esac ], [GST_TIZEN_USE_AUDIOTP=yes]) AM_CONDITIONAL(GST_TIZEN_USE_AUDIOTP, test "x$GST_TIZEN_USE_AUDIOTP" = "xyes") dnl use audioeq -------------------------------------------------------------------------- AC_ARG_ENABLE(audioeq, AC_HELP_STRING([--enable-audioeq], [using audioeq]), [ case "${enableval}" in yes) GST_TIZEN_USE_AUDIOEQ=yes ;; no) GST_TIZEN_USE_AUDIOEQ=no ;; *) AC_MSG_ERROR(bad value ${enableval} for --enable-audioeq) ;; esac ], [GST_TIZEN_USE_AUDIOEQ=yes]) AM_CONDITIONAL(GST_TIZEN_USE_AUDIOEQ, test "x$GST_TIZEN_USE_AUDIOEQ" = "xyes") dnl use fimcconvert ---------------------------------------------------------------------- AC_ARG_ENABLE(fimcconvert, AC_HELP_STRING([--enable-fimcconvert], [using fimcconvert]), [ case "${enableval}" in yes) GST_TIZEN_USE_FIMCCONVERT=yes ;; no) GST_TIZEN_USE_FIMCCONVERT=no ;; *) AC_MSG_ERROR(bad value ${enableval} for --enable-fimcconvert) ;; esac ], [GST_TIZEN_USE_FIMCCONVERT=yes]) AM_CONDITIONAL(GST_TIZEN_USE_FIMCCONVERT, test "x$GST_TIZEN_USE_FIMCCONVERT" = "xyes") dnl use wfdmanager -------------------------------------------------------------------------- AC_ARG_ENABLE(wfdmanager, AC_HELP_STRING([--enable-wfdmanager], [using wfdmanager]), [ case "${enableval}" in yes) GST_TIZEN_USE_WFDMANAGER=yes ;; no) GST_TIZEN_USE_WFDMANAGER=no ;; *) AC_MSG_ERROR(bad value ${enableval} for --enable-wfdmanager) ;; esac ], [GST_TIZEN_USE_WFDMANAGER=yes]) AM_CONDITIONAL(GST_TIZEN_USE_WFDMANAGER, test "x$GST_TIZEN_USE_WFDMANAGER" = "xyes") if [test "x$GST_TIZEN_USE_WFDMANAGER" = "xyes"]; then PKG_CHECK_MODULES(GST_RTP, gstreamer-rtp-$GST_API_VERSION) AC_SUBST(GST_RTP_CFLAGS) AC_SUBST(GST_RTP_LIBS) PKG_CHECK_MODULES(GST_RTSP, gstreamer-rtsp-$GST_API_VERSION) AC_SUBST(GST_RTSP_CFLAGS) AC_SUBST(GST_RTSP_LIBS) fi dnl use wfdtsdemux -------------------------------------------------------------------------- AC_ARG_ENABLE(wfdtsdemux, AC_HELP_STRING([--enable-wfdtsdemux], [using wfdtsdemux]), [ case "${enableval}" in yes) GST_TIZEN_USE_WFDTSDEMUX=yes ;; no) GST_TIZEN_USE_WFDTSDEMUX=no ;; *) AC_MSG_ERROR(bad value ${enableval} for --enable-wfdtsdemux) ;; esac ], [GST_TIZEN_USE_WFDTSDEMUX=yes]) AM_CONDITIONAL(GST_TIZEN_USE_WFDTSDEMUX, test "x$GST_TIZEN_USE_WFDTSDEMUX" = "xyes") if [test "x$GST_TIZEN_USE_WFDTSDEMUX" = "xyes"]; then PKG_CHECK_MODULES(GST_TAG, gstreamer-tag-$GST_API_VERSION) AC_SUBST(GST_TAG_CFLAGS) AC_SUBST(GST_TAG_LIBS) PKG_CHECK_MODULES(GSTPB_UTILS, gstreamer-pbutils-$GST_API_VERSION) AC_SUBST(GSTPB_UTILS_CFLAGS) AC_SUBST(GSTPB_UTILS_LIBS) fi dnl use waylandsrc -------------------------------------------------------------------------- AC_ARG_ENABLE(waylandsrc, AC_HELP_STRING([--enable-waylandsrc], [using waylandsrc]), [ case "${enableval}" in yes) GST_TIZEN_USE_WAYLANDSRC=yes ;; no) GST_TIZEN_USE_WAYLANDSRC=no ;; *) AC_MSG_ERROR(bad value ${enableval} for --enable-waylandsrc) ;; esac ], [GST_TIZEN_USE_WAYLANDSRC=yes]) AM_CONDITIONAL(GST_TIZEN_USE_WAYLANDSRC, test "x$GST_TIZEN_USE_WAYLANDSRC" = "xyes") if [test "x$GST_TIZEN_USE_WAYLANDSRC" = "xyes"]; then PKG_CHECK_MODULES(WAYLAND_CLIENT, wayland-client wayland-tbm-client tizen-extension-client) AC_SUBST(WAYLAND_CLIENT_CFLAGS) AC_SUBST(WAYLAND_CLIENT_LIBS) fi dnl use drmdecryptor -------------------------------------------------------------------------- AC_ARG_ENABLE(drmdecryptor, AC_HELP_STRING([--enable-drmdecryptor], [using drmdecryptor]), [ case "${enableval}" in yes) GST_TIZEN_USE_DRMDECRYPTOR=yes ;; no) GST_TIZEN_USE_DRMDECRYPTOR=no ;; *) AC_MSG_ERROR(bad value ${enableval} for --enable-drmdecryptor) ;; esac ], [GST_TIZEN_USE_DRMDECRYPTOR=yes]) AM_CONDITIONAL(GST_TIZEN_USE_DRMDECRYPTOR, test "x$GST_TIZEN_USE_DRMDECRYPTOR" = "xyes") dnl use tizenipc-------------------------------------------------------------------------- AC_ARG_ENABLE(tizenipc, AC_HELP_STRING([--enable-tizenipc], [using tizenipc]), [ case "${enableval}" in yes) GST_TIZEN_USE_TIZENIPC=yes ;; no) GST_TIZEN_USE_TIZENIPC=no ;; *) AC_MSG_ERROR(bad value ${enableval} for --enable-tizenipc) ;; esac ], [GST_TIZEN_USE_TIZENIPC=yes]) AM_CONDITIONAL(GST_TIZEN_USE_TIZENIPC, test "x$GST_TIZEN_USE_TIZENIPC" = "xyes") dnl use ext-wfdtizenmanager -------------------------------------------------------------------------- AC_ARG_ENABLE(ext-wfdtizenmanager, AC_HELP_STRING([--enable-ext-wfdtizenmanager], [using wfdtizenmanager]), [ case "${enableval}" in yes) GST_TIZEN_USE_WFDTIZENMANAGER=yes ;; no) GST_TIZEN_USE_WFDTIZENMANAGER=no ;; *) AC_MSG_ERROR(bad value ${enableval} for --enable-ext-wfdtizenmanager) ;; esac ], [GST_TIZEN_USE_WFDTIZENMANAGER=yes]) AM_CONDITIONAL(GST_TIZEN_USE_WFDTIZENMANAGER, test "x$GST_TIZEN_USE_WFDTIZENMANAGER" = "xyes") dnl use ext-alfec -------------------------------------------------------------------------- AC_ARG_ENABLE(ext-alfec, AC_HELP_STRING([--enable-ext-alfec], [using alfec]), [ case "${enableval}" in yes) GST_TIZEN_USE_ALFEC=yes ;; no) GST_TIZEN_USE_ALFEC=no ;; *) AC_MSG_ERROR(bad value ${enableval} for --enable-ext-alfec) ;; esac ], [GST_TIZEN_USE_ALFEC=yes]) AM_CONDITIONAL(GST_TIZEN_USE_ALFEC, test "x$GST_TIZEN_USE_ALFEC" = "xyes") dnl use video360 -------------------------------------------------------------------------- AC_ARG_ENABLE(video360, AC_HELP_STRING([--enable-video360], [using video360]), [ case "${enableval}" in yes) GST_TIZEN_USE_VIDEO360=yes ;; no) GST_TIZEN_USE_VIDEO360=no ;; *) AC_MSG_ERROR(bad value ${enableval} for --enable-video360) ;; esac ], [GST_TIZEN_USE_VIDEO360=yes]) AM_CONDITIONAL(GST_TIZEN_USE_VIDEO360, test "x$GST_TIZEN_USE_VIDEO360" = "xyes") dnl video360 related options START -------------------------------------------------------- AC_ARG_WITH([tizen-platform], AS_HELP_STRING([--with-tizen-platform], [Build with Tizen Porting Layer(TPL)])) AC_ARG_WITH([native-formats], AS_HELP_STRING([--with-native-formats], [Build with support for Tizen native video formats])) AC_ARG_WITH([gles2], AS_HELP_STRING([--with-gles2], [Build with OpenGL ES 2.0])) AS_IF([test "x$with_tizen_platform" = "xyes"], [ PKG_CHECK_MODULES(TPL, [ tpl-egl ], [ AC_SUBST(TPL_CFLAGS) AC_SUBST(TPL_LIBS) ]) CFLAGS="$CFLAGS -DGST_TIZEN_PLATFORM" ]) AS_IF([test "x$with_native_formats" = "xyes"], [ CFLAGS="$CFLAGS -DGST_TIZEN_USE_NATIVE_FORMATS" ]) AS_IF([test "x$with_gles2" = "xyes"], [ PKG_CHECK_MODULES(GLES, [ gles20 ], [ AC_SUBST(GLES_CFLAGS) AC_SUBST(GLES_LIBS) ]) CFLAGS="$CFLAGS -DGST_TIZEN_GL_API_GLES2" ]) dnl video360 related options END -------------------------------------------------------- dnl use waylandsink -------------------------------------------------------------------------- AC_ARG_ENABLE(waylandsink, AC_HELP_STRING([--enable-waylandsink], [using waylandsink]), [ case "${enableval}" in yes) GST_TIZEN_USE_WAYLANDSINK=yes ;; no) GST_TIZEN_USE_WAYLANDSINK=no ;; *) AC_MSG_ERROR(bad value ${enableval} for --enable-waylandsink) ;; esac ], [GST_TIZEN_USE_WAYLANDSINK=yes]) AM_CONDITIONAL([GST_TIZEN_USE_WAYLANDSINK], [test "x$GST_TIZEN_USE_WAYLANDSINK" = "xyes"]) if test "x$GST_TIZEN_USE_WAYLANDSINK" = "xyes"; then PKG_CHECK_MODULES(WAYLAND, wayland-client >= 1.4.0 wayland-tbm-client tizen-extension-client wayland-scanner wtz-foreign-client) AC_PATH_PROG([wayland_scanner], [wayland-scanner]) AC_SUBST(WAYLAND_CFLAGS) AC_SUBST(WAYLAND_LIBS) fi dnl use tizencamerasrc -------------------------------------------------------------------------- AC_ARG_ENABLE(tizencamerasrc, AC_HELP_STRING([--enable-tizencamerasrc], [using tizencamerasrc]), [ case "${enableval}" in yes) GST_TIZEN_USE_TIZENCAMERASRC=yes ;; no) GST_TIZEN_USE_TIZENCAMERASRC=no ;; *) AC_MSG_ERROR(bad value ${enableval} for --enable-tizencamerasrc) ;; esac ], [GST_TIZEN_USE_TIZENCAMERASRC=yes]) AM_CONDITIONAL([GST_TIZEN_USE_TIZENCAMERASRC], [test "x$GST_TIZEN_USE_TIZENCAMERASRC" = "xyes"]) if test "x$GST_TIZEN_USE_TIZENCAMERASRC" = "xyes"; then PKG_CHECK_MODULES(HAL_API_CAMERA, hal-api-camera) AC_SUBST(HAL_API_CAMERA_CFLAGS) AC_SUBST(HAL_API_CAMERA_LIBS) fi dnl use tinycompress -------------------------------------------------------------------------- AC_ARG_ENABLE(tinycompress, AC_HELP_STRING([--enable-tinycompress], [using tinycompress]), [ case "${enableval}" in yes) GST_TIZEN_USE_TINYCOMPRESS=yes ;; no) GST_TIZEN_USE_TINYCOMPRESS=no ;; *) AC_MSG_ERROR(bad value ${enableval} for --enable-tinycompress) ;; esac ], [GST_TIZEN_USE_TINYCOMPRESS=no]) AM_CONDITIONAL(GST_TIZEN_USE_TINYCOMPRESS, test "x$GST_TIZEN_USE_TINYCOMPRESS" = "xyes") if test "x$GST_TIZEN_USE_TINYCOMPRESS" = "xyes"; then PKG_CHECK_MODULES(TINYCOMPRESS, tinycompress) AC_SUBST(TINYCOMPRESS_CFLAGS) AC_SUBST(TINYCOMPRESS_LIBS) PKG_CHECK_MODULES(SOUND_MANAGER, capi-media-sound-manager) AC_SUBST(SOUND_MANAGER_CFLAGS) AC_SUBST(SOUND_MANAGER_LIBS) PKG_CHECK_MODULES(ASOUNDLIB, alsa) AC_SUBST(ASOUNDLIB_CFLAGS) AC_SUBST(ASOUNDLIB_LIBS) fi dnl use tinycompress test-------------------------------------------------------------------------- AC_ARG_ENABLE(tinycompress_test, AC_HELP_STRING([--enable-tinycompress_test], [using tinycompress_test]), [ case "${enableval}" in yes) USE_TINYCOMPRESS_TEST=yes ;; no) USE_TINYCOMPRESS_TEST=no ;; *) AC_MSG_ERROR(bad value ${enableval} for --enable-tinycompress_test) ;; esac ], [USE_TINYCOMPRESS_TEST=no]) AM_CONDITIONAL(USE_TINYCOMPRESS_TEST, test "x$USE_TINYCOMPRESS_TEST" = "xyes") AC_ARG_ENABLE(tests, AC_HELP_STRING([--enable-tests], [unittest build]), [ case "${enableval}" in yes) IS_TESTS=yes ;; no) IS_TESTS=no ;; *) AC_MSG_ERROR(bad value ${enableval} for --enable-tests) ;; esac ], [IS_TESTS=no]) AM_CONDITIONAL([IS_TESTS], [test "x$IS_TESTS" = "xyes"]) AS_IF([test "x$enable_tests" = "xyes"], [ PKG_CHECK_MODULES(GTESTS, gmock) AC_SUBST(GTESTS_CFLAGS) AC_SUBST(GTESTS_LIBS) ]) AC_OUTPUT( Makefile common/Makefile common/m4/Makefile toggle/Makefile toggle/src/Makefile audiotp/Makefile audiotp/src/Makefile audioeq/Makefile audioeq/src/Makefile audioeq/unittest/Makefile fimcconvert/Makefile fimcconvert/src/Makefile wfdmanager/Makefile wfdmanager/unittest/Makefile wfdmanager/wfdbase/Makefile wfdtsdemux/Makefile waylandsrc/Makefile waylandsrc/src/Makefile drmdecryptor/Makefile drmdecryptor/src/Makefile tizenipc/Makefile tizenipc/src/Makefile wfdtizenmanager/Makefile alfec/Makefile video360/Makefile video360/src/Makefile video360/unittest/Makefile tizenencodebin/Makefile tizenencodebin/src/Makefile tizenwlsink/Makefile tizenwlsink/src/Makefile tizenwlsink/unittest/Makefile tizencamerasrc/Makefile tizencamerasrc/src/Makefile tinycompresssink/Makefile tinycompresssink/src/Makefile tinycompresssink/test/Makefile )