# Process this file with autoconf to produce a configure script. dnl Process this file with autoconf to produce a configure script. # get rid of that stupid cache mechanism rm -f config.cache AC_INIT([e_tizen_unittests], [0.1.0], [enlightenment-devel@lists.sourceforge.net]) AC_PREREQ([2.52]) AC_CONFIG_SRCDIR([configure.ac]) AM_CONFIG_HEADER([config.h]) AM_INIT_AUTOMAKE([1.11]) GETTEXT_PACKAGE="e_tizen_unittests" AC_SUBST([GETTEXT_PACKAGE]) AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE], "$GETTEXT_PACKAGE", [Gettext package]) AC_SUBST(GCC_CXXFLAGS) AC_USE_SYSTEM_EXTENSIONS AM_PROG_CC_STDC AM_PROG_CC_C_O AC_PROG_CXX requirements="\ elementary \ libtbm \ libpng \ eldbus \ enlightenment \ capi-ui-efl-util \ wayland-client \ ecore-wl2 \ tizen-extension-client \ tizen-launch-client \ tzsh-screensaver-manager-service \ tzsh-screensaver-service \ tzsh-quickpanel \ tzsh-quickpanel-service \ cairo \ pixman-1 \ " PKG_CHECK_MODULES(E_TEST_RUNNER, [${requirements}]) # Find edje_cc PKG_CHECK_MODULES(EDJE, [edje >= 1.0.0]) AC_ARG_WITH(edje-cc, AC_HELP_STRING([--with-edje-cc=PATH], [specify a specific path to edje_cc]), [ v=$withval; EDJE_CC=$v ], [ EDJE_CC=$(pkg-config --variable=prefix edje)/bin/edje_cc ] ) AC_SUBST(EDJE_CC) AC_MSG_CHECKING([Which edje_cc to use]) AC_MSG_RESULT(${EDJE_CC}) AC_CONFIG_FILES([ Makefile src/Makefile data/Makefile ]) AC_OUTPUT