1 AC_INIT(wayland-tbm, [0.1.0], lsj119@samsung.com)
3 AC_CONFIG_SRCDIR(configure.ac)
4 AC_CONFIG_HEADERS([config.h])
6 AM_INIT_AUTOMAKE(1.6 foreign subdir-objects)
14 AC_ARG_WITH(unittests, AS_HELP_STRING([--with-unittests=yes/no], [whether build/run unit tests or not]),
15 [ unittests="$withval" ],
18 AM_CONDITIONAL(HAVE_UTEST, test "x$unittests" = "xyes")
20 AC_PATH_PROG([wayland_scanner], [wayland-scanner])
21 if test x$wayland_scanner = x; then
22 AC_MSG_ERROR([wayland-scanner is needed to compile wayland-tbm])
25 PKG_CHECK_MODULES([WL_TBM_COMMON], [libtbm capi-base-common dlog])
26 PKG_CHECK_MODULES([WL_TBM_CLIENT], [wayland-client])
27 PKG_CHECK_MODULES([WL_TBM_SERVER], [wayland-server])
28 PKG_CHECK_MODULES( WAYLAND_SCANNER, wayland-scanner)