EFL_VERSION([1], [8], [5], [0]) AC_INIT([eulogium], [m4_esyscmd_s([git describe --always --tags --dirty --abbrev=1])], [support@ultimaker.com], [], [http://www.ultimaker.com]) AC_PREREQ([2.65]) AC_CONFIG_SRCDIR([configure.ac]) AC_CONFIG_HEADERS([config.h]) AC_CANONICAL_BUILD AC_CANONICAL_HOST AM_INIT_AUTOMAKE([1.10 dist-bzip2 -Wall color-tests]) m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) AM_PROG_AR # this will speed up libtool checks LT_PREREQ([2.2]) LT_INIT([win32-dll pic-only]) EFL_INIT AC_PROG_CC AM_PROG_CC_C_O EFL_ATTRIBUTE_UNUSED ELM_QUICKLAUNCH EFL_COMPILER_FLAG([-Wall]) EFL_COMPILER_FLAG([-W]) # Checks for header files. EFL_CHECK_PATH_MAX # Check for EFL PKG_CHECK_MODULES([EFL], [ ecore >= 1.8.5 ecore-evas >= 1.8.5 eina >= 1.8.5 elementary >= 1.8.5 evas >= 1.8.5 eeze >= 1.8.5 ]) # doxygen program for documentation building EFL_CHECK_DOXYGEN([build_doc="yes"], [build_doc="no"]) # Check edje_cc EFL_WITH_BIN([edje], [edje-cc], [edje_cc]) # Checks for library functions. AC_CHECK_FUNCS([setlocale]) AM_GNU_GETTEXT_VERSION([0.17]) AM_GNU_GETTEXT([external]) AC_CONFIG_FILES([ Makefile data/Makefile data/desktop/Makefile data/desktop/eulogium.desktop data/themes/Makefile data/themes/default/Makefile doc/Makefile packaging/Makefile packaging/slackware/Makefile packaging/debian/Makefile packaging/debian/changelog packaging/pkgbuild/Makefile po/Makefile.in src/Makefile doc/eulogium.1 ]) AC_OUTPUT echo echo echo "------------------------------------------------------------------------" echo "$PACKAGE_NAME $PACKAGE_VERSION" echo "------------------------------------------------------------------------" echo echo "Compilation..............: make (or gmake)" echo " CFLAGS.................: $CFLAGS" echo " edje_cc................: ${edje_cc}" echo echo "Building documentation...: ${build_doc}" echo "Building tests...........: ${have_tests}" echo "Generate coverage .......: ${have_lcov}" echo echo "Installation.............: make install (as root if needed, with 'su' or 'sudo')" echo " prefix.................: $prefix" echo