4 [https://www.tizen.org],
7 AC_CONFIG_HEADERS([config.h])
8 AC_CONFIG_SRCDIR([Makefile.am])
9 AM_INIT_AUTOMAKE([1.10 foreign dist-bzip2])
10 AM_MAINTAINER_MODE([enable])
15 AC_USE_SYSTEM_EXTENSIONS
21 LT_INIT([disable-static])
23 # Enable quiet compiles on automake 1.11.
24 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
26 PKG_CHECK_MODULES(TDM, libtbm pthread-stubs libpng)
30 # set the dir for the tbm module
31 DEFAULT_TDM_MODULE_PATH="${libdir}/tdm"
32 AC_ARG_WITH(tdm-module-path, AS_HELP_STRING([--with-tdm-module-path=PATH], [tdm module dir]),
33 [ TDM_MODULE_PATH="$withval" ],
34 [ TDM_MODULE_PATH="${DEFAULT_TDM_MODULE_PATH}" ])
35 AC_DEFINE_UNQUOTED(TDM_MODULE_PATH, "${TDM_MODULE_PATH}", [Directory for the modules of tdm])
37 # For enumerating devices in test case
46 echo "$PACKAGE_STRING will be compiled with:"
48 echo "TDM_CFLAGS : $TDM_CFLAGS"
49 echo "TDM_LIBS : $TDM_LIBS"
50 echo "TDM_MODULE_PATH : $TDM_MODULE_PATH"