From: Seunghun Lee Date: Wed, 4 Jun 2025 01:11:17 +0000 (+0900) Subject: Remove autotools build X-Git-Tag: accepted/tizen/unified/20250612.024607~59 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=27fe2d5b10ef8c2c5641c4003d59095d97c78bbb;p=platform%2Fupstream%2Fenlightenment.git Remove autotools build Change-Id: I6a413f1be407a194e6e278bcece8eae4fbf2ff0d --- diff --git a/Makefile.am b/Makefile.am deleted file mode 100644 index ec019eda91..0000000000 --- a/Makefile.am +++ /dev/null @@ -1,74 +0,0 @@ -ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS} -AUTOMAKE_OPTIONS = subdir-objects foreign - -SUBDIRS = tests -CLEANFILES = -DISTCLEANFILES = -INSTALL_DATA_HOOKS = -PHONIES = - -MAINTAINERCLEANFILES = \ -ABOUT-NLS* \ -Makefile.in \ -aclocal.m4 \ -compile \ -config.guess \ -config.h.in \ -config.h.in~ \ -config.rpath \ -config.sub \ -configure \ -depcomp \ -install-sh \ -ltmain.sh \ -missing \ -$(PACKAGE_TARNAME)-$(PACKAGE_VERSION).tar.gz \ -$(PACKAGE_TARNAME)-$(PACKAGE_VERSION).tar.bz2 - -EXTRA_DIST = \ -config.rpath \ -README \ -AUTHORS \ -COPYING \ -enlightenment.pc \ -pkgbuild/PKGBUILD \ -pkgbuild/enlightenment.install - -EDJE_CC = $(EDJE_CC_$(V)) -EDJE_CC_ = $(EDJE_CC_$(AM_DEFAULT_VERBOSITY)) -EDJE_CC_0 = @echo " EDJE_CC " $@; @edje_cc@ -EDJE_CC_1 = @edje_cc@ - -EDJE_FLAGS_VERBOSE_ = $(EDJE_FLAGS_VERBOSE_$(AM_DEFAULT_VERBOSITY)) -EDJE_FLAGS_VERBOSE_0 = -EDJE_FLAGS_VERBOSE_1 = -v -EDJE_FLAGS = $(EDJE_FLAGS_VERBOSE_$(V)) \ -@EDJE_DEF@ - -include m4/Makefile.mk - -DISTCHECK_CONFIGURE_FLAGS = --disable-systemd - -include data/Makefile.mk - -include src/Makefile.mk - -filesdir = $(datadir)/enlightenment/ -files_DATA = AUTHORS COPYING - -pkgconfigdir = $(libdir)/pkgconfig - -pkgconfig_DATA = enlightenment.pc - -.PHONY: $(PHONIES) - -isudir = $(sysconfdir)/isu/enlightenment/ -isu_DATA = isu/isu.cfg - -isusystemservicesdir = $(sysconfdir)/isu/enlightenment/system-services/ -isusystemservices_DATA = isu/system-services/display-manager.service - -clean-local: - rm -f data/themes/*.edj - -install-data-hook: $(INSTALL_DATA_HOOKS) diff --git a/autogen.sh b/autogen.sh deleted file mode 100755 index 69a0b2fc73..0000000000 --- a/autogen.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/sh - -test -n "$srcdir" || srcdir=`dirname "$0"` -test -n "$srcdir" || srcdir=. -( - cd "$srcdir" && - ( - rm -rf autom4te.cache - rm -f aclocal.m4 ltmain.sh config.cache - - autoreconf --symlink --install || exit 1 - ) -) - -test -n "$NOCONFIGURE" || exec $srcdir/configure -C "$@" - -exit 0 diff --git a/configure.ac b/configure.ac deleted file mode 100755 index 3e26fb1bca..0000000000 --- a/configure.ac +++ /dev/null @@ -1,686 +0,0 @@ -##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--## -##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--## -m4_define([v_maj], [0]) -m4_define([v_min], [20]) -m4_define([v_mic], [0]) -m4_define([v_rev], m4_esyscmd([(git rev-list --count HEAD 2>/dev/null || echo 0) | tr -d '\n']))dnl -##-- When released, remove the dnl on the below line -m4_undefine([v_rev]) -m4_define([relname], [0.20.0]) -##-- When doing snapshots - change soname. remove dnl on below line -m4_define([relname], [ver-autocannoli-0.20]) -dnl m4_define([v_rel], [-release relname]) -##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--## -m4_ifdef([v_rev], [m4_define([v_ver], [v_maj.v_min.v_mic.v_rev])], [m4_define([v_ver], [v_maj.v_min.v_mic])]) -m4_define([lt_cur], m4_eval(v_maj + v_min)) -m4_define([lt_rev], v_mic) -m4_define([lt_age], v_min) -##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--## -##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--## - -AC_INIT([enlightenment], [v_ver], [enlightenment-devel@lists.sourceforge.net]) -AC_PREREQ([2.52]) -AC_CONFIG_SRCDIR([configure.ac]) -AC_CONFIG_MACRO_DIR([m4]) -AC_CANONICAL_BUILD -AC_CANONICAL_HOST - -AC_CONFIG_HEADERS([config.h]) -AH_TOP([ -#ifndef EFL_CONFIG_H__ -#define EFL_CONFIG_H__ -]) -AH_BOTTOM([ -#endif /* EFL_CONFIG_H__ */ -]) - -AM_INIT_AUTOMAKE([1.11 dist-xz -Wno-portability]) -AM_SILENT_RULES([yes]) - -AC_USE_SYSTEM_EXTENSIONS -AC_PROG_MKDIR_P -AC_C_BIGENDIAN -AC_PROG_CC_C99 -AC_PROG_CXX -AM_PROG_CC_C_O -AC_FUNC_ALLOCA - -LT_INIT([disable-static]) - -##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--## -##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--## -m4_ifdef([v_rev], , [m4_define([v_rev], [0])]) -m4_ifdef([v_rel], , [m4_define([v_rel], [])]) -AC_DEFINE_UNQUOTED(VMAJ, [v_maj], [Major version]) -AC_DEFINE_UNQUOTED(VMIN, [v_min], [Minor version]) -AC_DEFINE_UNQUOTED(VMIC, [v_mic], [Micro version]) -AC_DEFINE_UNQUOTED(VREV, [v_rev], [Revison]) -AC_DEFINE_UNQUOTED(E_RELEASE_BUILD, [1], [doin it]) -version_info="lt_cur:lt_rev:lt_age" -release_info="v_rel" -AC_SUBST([version_info]) -AC_SUBST([release_info]) -##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--## -##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--## - -AC_ARG_VAR([TIZEN_REL_VERSION], [Tizen release version]) -if test x"${TIZEN_REL_VERSION}" != x""; then - AC_DEFINE_UNQUOTED([TIZEN_REL_VERSION], ["${TIZEN_REL_VERSION}"], [Tizen release version]) - AC_SUBST(TIZEN_REL_VERSION) -else - echo "TIZEN_REL_VERSION is empty !" -fi - -release=relname -AC_SUBST([release]) - -PKG_PROG_PKG_CONFIG - -EFL_CHECK_PATH_MAX - -AC_CHECK_FUNCS(setenv) -AC_CHECK_FUNCS(unsetenv) -AC_CHECK_FUNCS(clearenv) -AC_CHECK_HEADERS(features.h) - -case "$host_os" in - darwin*) - AC_DEFINE([environ], [(*_NSGetEnviron())], - ["apple doesn't follow POSIX in this case."]) - ;; - *) - ;; -esac -AC_TRY_COMPILE([ -#define _GNU_SOURCE 1 -#include - ],[ -extern char **environ; - ],[ -AC_DEFINE(HAVE_ENVIRON, 1, [Have environ var]) - ]) - -efl_version="1.15.2" -AC_SUBST(efl_version) - -AC_CHECK_HEADERS([sys/timerfd.h sys/ptrace.h arpa/inet.h netinet/in.h]) - -AC_CHECK_HEADERS(fnmatch.h,, AC_MSG_ERROR([Cannot find fnmatch.h. Make sure your CFLAGS environment variable contains include lines for the location of this file])) - -AC_CHECK_FUNCS(fnmatch, res=yes, res=no) -if test "x$res" = "xno"; then - AC_CHECK_LIB(fnmatch, fnmatch, res=yes, res=no) - if test "x$res" = "xno"; then - AC_MSG_ERROR([Cannot find fnmatch() in neither libc nor libfnmatch]) - else - fnmatch_libs="-lfnmatch" - fi -fi - -AC_SUBST([fnmatch_libs]) - -##### check secure_getenv function ##### -AC_CHECK_FUNCS(secure_getenv, sg_res=yes, sg_res=no) -if test "x$sg_res" = "xno"; then - AC_CHECK_FUNCS(__secure_getenv, _sg_res=yes, _sg_res=no) - if test "x$_sg_res" = "xno"; then - echo "C library does not support secure_getenv, use getenv instead" - else - AC_DEFINE(HAVE___SECURE_GETENV, 1, [Have __secure_getenv]) - fi -else - AC_DEFINE(HAVE_SECURE_GETENV, 1, [Have secure_getenv]) -fi - -dnl AC_E_CHECK_PKG(VALGRIND, [valgrind >= 2.4.0], [], [:]) -AC_SUBST([VALGRIND_CFLAGS]) -AC_SUBST([VALGRIND_LIBS]) - -MODULE_ARCH="$host_os-$host_cpu-relname" -AC_SUBST([MODULE_ARCH]) -AC_DEFINE_UNQUOTED(MODULE_ARCH, "$MODULE_ARCH", "Module architecture") - -if test "x${bindir}" = 'xNONE'; then - if test "x${prefix}" = "xNONE"; then - PACKAGE_BIN_DIR="${ac_default_prefix}/bin" - else - PACKAGE_BIN_DIR="${prefix}/bin" - fi -else - PACKAGE_BIN_DIR="${bindir}" -fi -AC_SUBST([PACKAGE_BIN_DIR]) - -if test "x${libdir}" = 'xNONE'; then - if test "x${prefix}" = "xNONE"; then - PACKAGE_LIB_DIR="${ac_default_prefix}/lib" - else - PACKAGE_LIB_DIR="${prefix}/lib" - fi -else - PACKAGE_LIB_DIR="${libdir}" -fi -AC_SUBST([PACKAGE_LIB_DIR]) - -if test "x${prefix}" = "xNONE"; then - PACKAGE_DATA_DIR="${ac_default_prefix}/share/${PACKAGE}" - LOCALE_DIR="${ac_default_prefix}/share/locale" - PACKAGE_SYSCONF_DIR="${ac_default_prefix}/etc" -else - PACKAGE_DATA_DIR="${prefix}/share/${PACKAGE}" - LOCALE_DIR="${prefix}/share/locale" - PACKAGE_SYSCONF_DIR="${sysconfdir}" -fi -AC_SUBST([PACKAGE_DATA_DIR]) -AC_SUBST([LOCALE_DIR]) -AC_SUBST([PACKAGE_SYSCONF_DIR]) - -cf_cflags="" -cf_libs="" -PCPPFLAGS="${CPPFLAGS}" -CPPFLAGS="${CPPFLAGS} -I /System/Library/Frameworks/CoreFoundation.framework/Headers" -AC_CHECK_HEADERS(CFBase.h, - [ - cf_cflags="-I /System/Library/Frameworks/CoreFoundation.framework/Headers" - cf_cflags="${cf_cflags} -I /System/Library/Frameworks/IOKit.framework/Headers" - cf_libs="-framework 'CoreFoundation' -framework 'IOKit'" - ] -) -CPPFLAGS="${PCPPFLAGS}" -AC_SUBST([cf_cflags]) -AC_SUBST([cf_libs]) - -execinfo_libs="" -AC_CHECK_HEADERS([execinfo.h], [have_execinfo="yes"], [have_execinfo="no"]) -if test "x${have_execinfo}" = "xyes" ; then - AC_MSG_CHECKING([whether backtrace_symbols_fd() is in libc]) - - AC_LINK_IFELSE( - [AC_LANG_PROGRAM( - [[ -#include -#include - ]], - [[ -backtrace_symbols_fd(NULL, 0, 0); - ]])], - [link_execinfo="yes"], - [link_execinfo="no"]) - - AC_MSG_RESULT([${link_execinfo}]) -fi - -if test "x${link_execinfo}" = "xno" ; then - AC_MSG_CHECKING([whether backtrace_symbols_fd() is in libexecinfo]) - - LDFLAGS_save="${LDFLAGS}" - LDFLAGS="${LDFLAGS} -lexecinfo" - AC_LINK_IFELSE( - [AC_LANG_PROGRAM( - [[ -#include -#include - ]], - [[ -backtrace_symbols_fd(NULL, 0, 0); - ]])], - [ - link_execinfo="yes" - execinfo_libs="-lexecinfo" - ], - [link_execinfo="no"]) - LDFLAGS="${LDFLAGS_save}" - - AC_MSG_RESULT([${link_execinfo}]) -fi - -AC_CHECK_LIB(dl, dlopen, dlopen_libs=-ldl) -AC_SUBST([dlopen_libs]) - -AC_MSG_CHECKING([whether to enable Files menu item]) -AC_ARG_ENABLE([files], - AS_HELP_STRING([--disable-files],[disable Files menu item @<:@default=enabled@:>@]), - [e_cv_enable_files=$enableval], - AC_CACHE_VAL([e_cv_enable_files], [e_cv_enable_files=yes])) -if test "[${e_cv_enable_files}]" = yes; then - AC_DEFINE_UNQUOTED([ENABLE_FILES],[1],[enable Files menu item]) -fi -AC_MSG_RESULT([$e_cv_enable_files]) - - -# verify "wayland-only" early to adapt dependencies - -have_wayland_only=no -AC_ARG_ENABLE([wayland], - AS_HELP_STRING([--enable-wayland],[enable wayland support in enlightenment @<:@default=disabled@:>@]), - [e_cv_want_wayland_only=$enableval], - [e_cv_want_wayland_only=no]) -AC_MSG_CHECKING([whether wayland support is enabled]) -AC_MSG_RESULT([${e_cv_want_wayland_only}]) - -quick_init=no -AC_ARG_ENABLE([quick-init], - AS_HELP_STRING([--enable-quick-init],[]), - [ - quick_init=yes - AC_DEFINE_UNQUOTED([ENABLE_QUICK_INIT], [1], [enable quick init]) - ], - [quick_init=no]) -AC_MSG_CHECKING([whether enlightenment quick initialization is enabled]) -AC_MSG_RESULT([${quick_init}]) - -function_trace=no -AC_ARG_ENABLE([function-trace], - AS_HELP_STRING([--enable-function-trace],[]), - [ - function_trace=yes - AC_DEFINE_UNQUOTED([ENABLE_FUNCTION_TRACE], [1], [enable function trace]) - ], - [function_trace=no]) -AC_MSG_CHECKING([whether enlightenment function trace is enabled]) -AC_MSG_RESULT([${function_trace}]) - -e_requires="\ - evas >= $efl_version \ - ecore >= $efl_version \ - ecore-evas >= $efl_version \ - ecore-input >= $efl_version \ - ecore-input-evas >= $efl_version \ - ecore-con >= $efl_version \ - ecore-ipc >= $efl_version \ - ecore-file >= $efl_version \ - eet >= $efl_version \ - edje >= $efl_version \ - eina >= $efl_version \ - eldbus >= $efl_version \ - eio >= $efl_version \ - eo >= $efl_version \ - libinput >= 1.19.0 \ - libudev \ - libtbm \ - libtdm >= "1.0.0" \ - glib-2.0 \ - gobject-2.0 \ - libds >= 0.1.13 \ - libds-xdg-shell-v6 \ - libds-tizen >= 0.1.4 \ - " - -PKG_CHECK_MODULES(E_INFO, [ - eina >= ${efl_version} - ecore >= ${efl_version} - eldbus >= ${efl_version} - xkbcommon -]) - -PKG_CHECK_EXISTS([xkeyboard-config],[ - xkb_base=`$PKG_CONFIG --variable=xkb_base xkeyboard-config 2>/dev/null` - AC_DEFINE_UNQUOTED([XKB_BASE],["$xkb_base"],[Define to the base directory for X keyboard configuration data]) -]) - -profile="SLOW_PC" -AC_ARG_WITH(profile, - AS_HELP_STRING([--with-profile=TARGET_PROFILE], - [specify a target format profile of: - LOWRES_PDA, MEDIUMRES_PDA, HIRES_PDA, SLOW_PC, MEDIUM_PC, FAST_PC]), - [profile=$withval]) -AC_MSG_NOTICE([Enlightenment build profile set to $profile]) -EDJE_DEF="-DLOWRES_PDA=1 -DMEDIUMRES_PDA=2 -DHIRES_PDA=3 -DSLOW_PC=4 -DMEDIUM_PC=5 -DFAST_PC=6" -EDJE_DEF=$EDJE_DEF" -DE_PROFILE"=$profile -AC_SUBST([EDJE_DEF]) - -PKG_CHECK_MODULES(EET, [eet >= ${efl_version}]) -EFL_WITH_BIN([edje], [edje-cc], [edje_cc]) -EFL_WITH_BIN([eet], [eet-eet], [eet]) -EFL_WITH_BIN([eldbus], [eldbus_codegen], [eldbus-codegen]) - -AC_DEFINE(E_INTERNAL, 1, "This define can be used to wrap internal E stuff, as config.h isn't exported") - -have_enotify=no -AM_CONDITIONAL([HAVE_ENOTIFY], [false]) -AC_ARG_ENABLE([enotify], - AS_HELP_STRING([--disable-enotify], [disable Enotify support @<:@default=detect@:>@]), - [e_cv_want_enotify=$enableval], - AC_CACHE_VAL([e_cv_want_enotify], [e_cv_want_enotify=yes]) -) -if test "x$e_cv_want_enotify" != "xno" ; then - AC_E_CHECK_PKG(ENOTIFY, [ eldbus >= $efl_version ], - [ - AC_DEFINE_UNQUOTED([HAVE_ENOTIFY], [1], [enable enotify]) - ], - [ - AC_MSG_NOTICE([enotify disabled]) - e_cv_want_enotify=no - ]) -else - AC_MSG_NOTICE([enotify disabled]) - e_cv_want_enotify=no -fi -AC_SUBST([ENOTIFY_CFLAGS]) -AC_SUBST([ENOTIFY_LIBS]) - -SHM_OPEN_LIBS="" -AC_MSG_CHECKING([whether shm_open() is present]) -LIBS_save=${LIBS} -LIBS="${LIBS} -lrt" -AC_LINK_IFELSE( - [AC_LANG_PROGRAM( - [[ -#include -#include -#include - ]], - [[ -int fd; -fd = shm_open("/", O_RDWR | O_CREAT, S_IRUSR | -S_IWUSR); -shm_unlink("/"); - ]])], - [ - have_shm_open="yes" - AC_DEFINE(HAVE_SHM_OPEN, 1, [Have shm_open() call]) - SHM_OPEN_LIBS="-lrt" - ]) -LIBS=${LIBS_save} -AC_MSG_RESULT([${have_shm_open}]) -AC_SUBST(SHM_OPEN_LIBS) - -if test "x${e_cv_want_wayland_only}" != "xno" || test "x${e_cv_want_wayland_clients}" != "xno";then - PKG_CHECK_MODULES([WAYLAND], [wayland-server >= 1.17.0 xkbcommon uuid xdg-shell-unstable-v5-server xdg-shell-unstable-v6-server - tizen-remote-surface-server scaler-server screenshooter-server tizen-extension-server - tizen-launch-server tizen-surface-server tizen-dpms-server presentation-time-server - tizen-hwc-server linux-explicit-synchronization-unstable-v1-server wtz-foreign-server - wtz-shell-server relative-pointer-unstable-v1-server pointer-constraints-unstable-v1-server - single-pixel-buffer-v1-server libdrm wtz-video-shell-server], - [ - have_wayland=yes - AC_DEFINE_UNQUOTED([HAVE_WAYLAND],[1],[enable wayland support]) - ]) -else - have_wayland=no -fi - -if test "x${have_wayland}" = "xyes"; then - if test "x${e_cv_want_wayland_only}" != "xno"; then - have_wayland_only=yes - AC_DEFINE_UNQUOTED([HAVE_WAYLAND_ONLY],[1],[enable wayland-only version of enlightenment]) - fi - - have_wayland_tbm=no - AC_ARG_ENABLE([wayland-tbm], - AS_HELP_STRING([--enable-wayland-tbm],[enable wayland-tbm @<:@default=enabled@:>@]), - [e_cv_want_wayland_tbm=$enableval], - [e_cv_want_wayland_tbm=yes]) - AC_MSG_CHECKING([whether wayland TBM support is enabled]) - AC_MSG_RESULT([${e_cv_want_wayland_tbm}]) - - if test "x$e_cv_want_wayland_tbm" != "xno";then - PKG_CHECK_MODULES([WAYLAND_TBM], [wayland-tbm-server], - [ - have_wayland_tbm=yes - AC_DEFINE_UNQUOTED([HAVE_WAYLAND_TBM],[1],[enable wayland-tbm support]) - ]) - else - have_wayland_tbm=no - fi - - have_hwc=no - AC_ARG_ENABLE([hwc], - AS_HELP_STRING([--enable-hwc],[enable hwc @<:@default=enabled@:>@]), - [e_cv_want_hwc=$enableval], - [e_cv_want_hwc=yes]) - AC_MSG_CHECKING([whether HWC support is enabled]) - AC_MSG_RESULT([${e_cv_want_hwc}]) - - if test "x$e_cv_want_hwc" != "xno";then - PKG_CHECK_MODULES([HWC], [gbm], - [ - have_hwc=yes - AC_DEFINE_UNQUOTED([HAVE_HWC],[1],[enable hwc support]) - ]) - else - have_hwc=no - fi -fi - -# does this compiler support -fopenmp, does it have the include file -# and does it have libgomp ? - -AC_MSG_CHECKING([for OpenMP]) - -safe_CFLAGS=$CFLAGS -CFLAGS="-fopenmp $mflag_primary -Werror" - -AC_LINK_IFELSE([AC_LANG_SOURCE([ -#include -int main(int argc, char** argv) -{ - omp_set_dynamic(0); - return 0; -} -])], -[ - have_libgomp=yes - AC_MSG_RESULT([yes]) -], [ - have_libgomp=no - AC_MSG_RESULT([no]) -]) -CFLAGS=$safe_CFLAGS - -if test "x$have_libgomp" != "xno"; then -AC_DEFINE([HAVE_LIBGOMP], [1], [Enable libgomp]) - have_libgomp=yes -else -AC_DEFINE([HAVE_LIBGOMP], [0], [Disable libgomp]) - have_libgomp=no -fi -AM_CONDITIONAL([HAVE_LIBGOMP], [test "x${have_libgomp}" = "xyes"]) - -# Check for ttrace header files -PKG_CHECK_MODULES(TTRACE, - [ttrace], - [have_ttrace="yes"], [have_ttrace="no"]) - -if test "x$have_ttrace" = "xyes"; then - AC_DEFINE(ENABLE_TTRACE, 1, [ttrace available]) -fi - -# dlog -PKG_CHECK_EXISTS([dlog], [have_dlog="yes"], [have_dlog="no"]) -AC_MSG_CHECKING([Have dlog logger]) -AC_MSG_RESULT([${have_dlog}]) -if test "x${have_dlog}" = "xyes"; then - AC_DEFINE([HAVE_DLOG], [1], [Define to 1 if you have dlog]) - PKG_CHECK_MODULES(DLOG, dlog) -fi - -AM_CONDITIONAL([HAVE_DLOG], [test "x${have_dlog}" = "xyes"]) - -AM_CONDITIONAL([HAVE_WAYLAND], [test "x${have_wayland}" = "xyes"]) -AM_CONDITIONAL([HAVE_WAYLAND_TBM], [test "x${have_wayland_tbm}" = "xyes"]) -AM_CONDITIONAL([HAVE_HWC], [test "x${have_hwc}" = "xyes"]) - -#pixman -PKG_CHECK_MODULES([PIXMAN], [pixman-1]) - -#egl -PKG_CHECK_MODULES([EGL], [egl]) - -# Check for systemd -want_systemd="yes" -AC_ARG_ENABLE([systemd], - [AS_HELP_STRING([--disable-systemd], [disable systemd @<:@default=enabled@:>@])], - [ - if test "x${enableval}" = "xyes"; then - want_systemd="yes" - else - want_systemd="no" - fi - ]) -AC_MSG_CHECKING([whether systemd is enabled]) -AC_MSG_RESULT([${want_systemd}]) - -have_systemd="no" -if test "x$want_systemd" = "xyes"; then - PKG_CHECK_MODULES([SYSTEMD], [libsystemd >= 209], - [ - have_systemd="yes" - AC_DEFINE_UNQUOTED([HAVE_SYSTEMD], [1], [enable systemd support]) - ]) -else - have_systemd="no" -fi - -AM_CONDITIONAL([HAVE_SYSTEMD], [test "x${have_systemd}" = "xyes"]) - -#libinput -PKG_CHECK_MODULES([LIBINPUT], [libinput]) - -#capi-system-device -PKG_CHECK_MODULES([CAPI_SYSTEM_DEVICE], - [capi-system-device]) -#capi-system-resource -PKG_CHECK_MODULES([CAPI_SYSTEM_RESOURCE], - [capi-system-resource]) -#cynara -PKG_CHECK_MODULES(CYNARA, - [cynara-client, cynara-creds-socket, cynara-session, libsmack], - [have_cynara="yes"], [have_cynara="no"]) -if test "x${have_cynara}" = "xyes"; then - AC_DEFINE([HAVE_CYNARA], [1], [Define to 1 if you have cynara]) -fi - -#tzsh-server -PKG_CHECK_MODULES(TZSH, - [tzsh-server], - [have_tzsh="yes"]) - -#gmock -PKG_CHECK_MODULES(GMOCK, - [gmock], - [have_gmock]="yes") - -POLICY_CFLAGS="${CAPI_SYSTEM_DEVICE_CFLAGS} ${CYNARA_CFLAGS} ${TZSH_CFLAGS} ${CAPI_SYSTEM_RESOURCE_CFLAGS}" -POLICY_LIBS="${CAPI_SYSTEM_DEVICE_LIBS} ${CYNARA_LIBS} ${TZSH_LIBS} ${CAPI_SYSTEM_RESOURCE_LIBS}" -AC_SUBST(POLICY_CFLAGS) -AC_SUBST(POLICY_LIBS) - -define([CHECK_MODULE_BUFFERQUEUE], -[ - if test "x${have_wayland_clients}" = "xyes" || test "x${e_cv_want_wayland_only}" = "xyes"; then - AC_E_CHECK_PKG(BUFFERQUEUE, [ ecore >= $efl_version eina >= $efl_version ], [BUFFERQUEUE=true], [BUFFERQUEUE=false]) - else - BUFFERQUEUE=false - fi -]) -AM_CONDITIONAL([HAVE_BUFFERQUEUE], [test "x${BUFFERQUEUE}" = "xtrue"]) - -AC_E_OPTIONAL_MODULE([bufferqueue], $have_wayland, [CHECK_MODULE_BUFFERQUEUE]) - -if test "x${have_wayland}" = "xyes"; then - AC_DEFINE_UNQUOTED([HAVE_WAYLAND_ONLY],[1],[enable wayland-only version of enlightenment]) - have_wayland_only=yes -else - have_wayland_only=no -fi - -AM_CONDITIONAL([HAVE_WAYLAND_ONLY], [test "x${have_wayland_only}" = "xyes"]) - -PKG_CHECK_MODULES(E, [$e_requires]) -requirements_e="\ -evas >= ${efl_version} \ -ecore >= ${efl_version} \ -ecore-evas >= ${efl_version} \ -ecore-con >= ${efl_version} \ -ecore-ipc >= ${efl_version} \ -ecore-file >= ${efl_version} \ -eet >= ${efl_version} \ -edje >= ${efl_version} \ -eina >= ${efl_version} \ -eldbus >= ${efl_version} \ -eio >= ${efl_version} \ -eo >= ${efl_version} \ -gobject-2.0 \ -glib-2.0 \ -" - -e_libs="$E_LIBS $fnmatch_libs $execinfo_libs $DLOG_LIBS" -e_cflags="-DUSE_E_CONFIG_H $E_CFLAGS -D_F_ZONE_WINDOW_ROTATION_ -D_F_E_VIRTUAL_KEYBOARD_TYPE_ -D_F_TRANSIENT_FOR_PATCH -D_F_DISABLE_BACKLIGHT_MOD_SUPPORT $DLOG_CFLAGS" -e_configflags="-DUSE_E_CONFIG_H -D_F_ZONE_WINDOW_ROTATION_ -D_F_E_VIRTUAL_KEYBOARD_TYPE_ -D_F_TRANSIENT_FOR_PATCH -D_F_DISABLE_BACKLIGHT_MOD_SUPPORT" - -AC_SUBST([e_libs]) -AC_SUBST([e_cflags]) -AC_SUBST([e_configflags]) -AC_SUBST([requirements_e]) - -m4_ifndef([v_rel], - [ - EFL_COMPILER_FLAG([-Wshadow]) - EFL_COMPILER_FLAG([-Wall]) - EFL_COMPILER_FLAG([-Wpointer-arith]) - EFL_COMPILER_FLAG([-W]) - EFL_COMPILER_FLAG([-Wno-missing-field-initializers]) - EFL_COMPILER_FLAG([-Wfloat-equal]) - EFL_COMPILER_FLAG([-Wuninitialized]) - EFL_COMPILER_FLAG([-Wundef]) - EFL_COMPILER_FLAG([-Wcast-align]) - EFL_COMPILER_FLAG([-Wformat=2]) - ]) - -SUID_CFLAGS=-fPIE -SUID_LDFLAGS=-pie -case "$host_os" in - freebsd*|pcbsd*) - SUID_CFLAGS= - SUID_LDFLAGS= - ;; -esac -AC_SUBST([SUID_CFLAGS]) -AC_SUBST([SUID_LDFLAGS]) - -AC_OUTPUT([ -Makefile -tests/Makefile -enlightenment.pc -]) - -# report -txt_strip() { - echo "[$]@" | sed -e 's/^[[ \t]]*\([[^ \t]]*\)[[ \t]]*$/\1/g' -} - -echo -cat << SUMMARY_EOF -Summary: - * project.........: $PACKAGE $VERSION - * prefix..........: $(txt_strip $prefix) - * CFLAGS..........: $(txt_strip $CFLAGS) - * LDFLAGS.........: $(txt_strip $LDFLAGS) - * edje_cc.........: ${edje_cc} - * eet.............: ${eet_eet} - * eldbus-codegen..: ${eldbus_codegen} -SUMMARY_EOF - -echo - -UNUSED_MODS="" -for mod in $UNUSED_OPTIONAL_MODULES; do - UNUSED_MODS="$UNUSED_MODS${COLOR_HRED}$mod${COLOR_END} " -done - -cat << MODULES_EOF -Modules: - * disabled........: $(txt_strip $UNUSED_MODS) -MODULES_EOF -echo - -cat << COMPILE_EOF -Compilation........: make (or gmake) -COMPILE_EOF -echo - -cat << INSTALL_EOF -Installation.......: make all install (as root if needed, with 'su' or 'sudo') -INSTALL_EOF -echo diff --git a/data/Makefile.mk b/data/Makefile.mk deleted file mode 100644 index 1351a9f28b..0000000000 --- a/data/Makefile.mk +++ /dev/null @@ -1 +0,0 @@ -include data/tools/Makefile.mk diff --git a/data/dbus/Makefile.mk b/data/dbus/Makefile.mk deleted file mode 100644 index 06008a8d6f..0000000000 --- a/data/dbus/Makefile.mk +++ /dev/null @@ -1,3 +0,0 @@ -dbusfilesdir = /etc/dbus-1/system.d -dbusfiles_DATA = data/dbus/org.enlightenment.wm.conf -EXTRA_DIST += $(dbusfiles_DATA) diff --git a/data/tools/Makefile.mk b/data/tools/Makefile.mk deleted file mode 100644 index 90e6d8aa21..0000000000 --- a/data/tools/Makefile.mk +++ /dev/null @@ -1,8 +0,0 @@ -enlightenment_remotedir = $(bindir) -enlightenment_remote_SCRIPTS = data/tools/enlightenment_remote -EXTRA_DIST += data/tools/enlightenment_remote - -enlightenment_input_keydir = $(bindir) -enlightenment_input_key_SCRIPTS = data/tools/enlightenment_input_key -EXTRA_DIST += data/tools/enlightenment_input_key - diff --git a/m4/.gitignore b/m4/.gitignore deleted file mode 100644 index 73b287f216..0000000000 --- a/m4/.gitignore +++ /dev/null @@ -1,39 +0,0 @@ -/codeset.m4 -/fcntl-o.m4 -/gettext.m4 -/glibc21.m4 -/iconv.m4 -/intdiv0.m4 -/inttypes-pri.m4 -/inttypes.m4 -/inttypes_h.m4 -/isc-posix.m4 -/lcmessage.m4 -/lib-ld.m4 -/lib-link.m4 -/lib-prefix.m4 -/libtool.m4 -/ltoptions.m4 -/ltsugar.m4 -/ltversion.m4 -/lt~obsolete.m4 -/nls.m4 -/po.m4 -/progtest.m4 -/stdint_h.m4 -/uintmax_t.m4 -/ulonglong.m4 -/glibc2.m4 -/intl.m4 -/intldir.m4 -/intlmacosx.m4 -/intmax.m4 -/lock.m4 -/longlong.m4 -/printf-posix.m4 -/size_max.m4 -/threadlib.m4 -/visibility.m4 -/wchar_t.m4 -/wint_t.m4 -/xsize.m4 diff --git a/m4/Makefile.mk b/m4/Makefile.mk deleted file mode 100644 index 745d21c033..0000000000 --- a/m4/Makefile.mk +++ /dev/null @@ -1,26 +0,0 @@ -MAINTAINERCLEANFILES += \ -m4/libtool.m4 \ -m4/lt~obsolete.m4 \ -m4/ltoptions.m4 \ -m4/ltsugar.m4 \ -m4/ltversion.m4 \ -m4/codeset.m4 \ -m4/gettext.m4 \ -m4/glibc21.m4 \ -m4/iconv.m4 \ -m4/intdiv0.m4 \ -m4/inttypes_h.m4 \ -m4/inttypes.m4 \ -m4/inttypes-pri.m4 \ -m4/isc-posix.m4 \ -m4/lcmessage.m4 \ -m4/lib-ld.m4 \ -m4/lib-link.m4 \ -m4/lib-prefix.m4 \ -m4/nls.m4 \ -m4/po.m4 \ -m4/progtest.m4 \ -m4/stdint_h.m4 \ -m4/uintmax_t.m4 \ -m4/ulonglong.m4 - diff --git a/m4/ac-plugins.m4 b/m4/ac-plugins.m4 deleted file mode 100644 index 62021cd056..0000000000 --- a/m4/ac-plugins.m4 +++ /dev/null @@ -1,165 +0,0 @@ -dnl _XTERM_COLORS -define([_XTERM_COLORS], -[ - # Check for XTerm and define some colors - if test "x$TERM" = "xxterm" -o "x$TERM" = "xscreen"; then - COLOR_PREF=`echo -e "\0033\0133"` - COLOR_H="${COLOR_PREF}1m" - COLOR_HGREEN="${COLOR_PREF}1;32m" - COLOR_HRED="${COLOR_PREF}1;31m" - COLOR_GREEN="${COLOR_PREF}32m" - COLOR_RED="${COLOR_PREF}31m" - COLOR_YELLOW="${COLOR_PREF}1;33m" - COLOR_END="${COLOR_PREF}0m" - else - COLOR_H="" - COLOR_HGREEN="" - COLOR_HRED="" - COLOR_GREEN="" - COLOR_RED="" - COLOR_YELLOW="" - COLOR_END="" - fi -]) - -dnl AC_E_CHECK_PKG(name, lib [>= version], [action-if, [action-not]]) -dnl improved version of PKG_CHECK_MODULES, it does the same checking -dnl and defines HAVE_[name]=yes/no and also exports -dnl [name]_CFLAGS and [name]_LIBS. -dnl -dnl if action-not isn't provided, AC_MSG_ERROR will be used. -dnl -dnl Checks: -dnl lib >= version -dnl -dnl Provides: -dnl - HAVE_[name]=yes|no -dnl - [name]_CFLAGS: if HAVE_[name]=yes -dnl - [name]_LIBS: if HAVE_[name]=yes -dnl - [name]_VERSION: if HAVE_[name]=yes -dnl -AC_DEFUN([AC_E_CHECK_PKG], -[ -# ---------------------------------------------------------------------- -# BEGIN: Check library with pkg-config: $1 (pkg-config=$2) -# - - PKG_CHECK_MODULES([$1], [$2], - [ - HAVE_[$1]=yes - [pkg_name]=$(echo "[$2]" | cut -d\ -f1) - [$1]_VERSION=$($PKG_CONFIG --modversion $pkg_name) - AC_SUBST([$1]_VERSION) - ifelse([$3], , :, [$3]) - ], - [ - HAVE_[$1]=no - ifelse([$4], , AC_MSG_ERROR(you need [$2] development installed!), AC_MSG_RESULT(no); [$4]) - ]) - AM_CONDITIONAL(HAVE_[$1], test x$HAVE_[$1] = xyes) - AC_SUBST(HAVE_[$1]) - if test x$HAVE_[$1] = xyes; then - AC_DEFINE_UNQUOTED(HAVE_[$1], 1, Package [$1] ($2) found.) - fi - -# -# END: Check library with pkg-config: $1 (pkg-config=$2) -# ---------------------------------------------------------------------- -]) - -dnl AC_E_OPTIONAL_MODULE(name, [initial-status, [check-if-enabled]]) -dnl Defines configure argument ---[name] to enable an -dnl optional module called 'name'. -dnl -dnl If initial-status is true, then it's enabled by default and option -dnl will be called --disable-[name], otherwise it's disabled and option -dnl is --enable-[name]. -dnl -dnl If module is enabled, then check-if-enabled will be executed. This -dnl may change the contents of shell variable NAME (uppercase version of -dnl name, with underscores instead of dashed) to something different than -dnl "true" to disable module. -dnl -dnl Parameters: -dnl - name: module name to use. It will be converted to have dashes (-) -dnl instead of underscores, and will be in lowercase. -dnl - initial-status: true or false, states if module is enabled or -dnl disabled by default. -dnl - check-if-enabled: macro to be expanded inside check for enabled -dnl module. -dnl -dnl Provides: -dnl - USE_MODULE_[name]=true|false [make, shell] -dnl - USE_MODULE_[name]=1 if enabled [config.h] -dnl -AC_DEFUN([AC_E_OPTIONAL_MODULE], -[ -# ---------------------------------------------------------------------- -# BEGIN: Check for optional module: $1 (default: $2) -# - m4_pushdef([MODNAME], [m4_bpatsubst(m4_toupper([$1]), -, _)])dnl - m4_pushdef([modname_opt], [m4_bpatsubst(m4_tolower([$1]), _, -)]) - m4_pushdef([INITVAL], [m4_default([$2], [false])])dnl - m4_pushdef([ENABLE_HELP], AS_HELP_STRING([--enable-modname_opt], - [optional module modname_opt @<:@default=disabled@:>@]))dnl - m4_pushdef([DISABLE_HELP], AS_HELP_STRING([--disable-modname_opt], - [optional module modname_opt @<:@default=enabled@:>@]))dnl - m4_pushdef([HELP_STR], m4_if(INITVAL, [true], [DISABLE_HELP], [ENABLE_HELP]))dnl - m4_pushdef([NOT_INITVAL], m4_if(INITVAL, [true], [false], [true]))dnl - - USING_MODULES=1 - - MODNAME=INITVAL - AC_ARG_ENABLE(modname_opt, HELP_STR, [MODNAME=${enableval:-NOT_INITVAL}]) - if test x[$]MODNAME = xyes || test x[$]MODNAME = x1; then - MODNAME=true - fi - if test x[$]MODNAME = xno || test x[$]MODNAME = x0; then - MODNAME=false - fi - - USE_MODULE_[]MODNAME=[$]MODNAME - - _XTERM_COLORS - - # Check list for optional module $1 - if test x[$]MODNAME = xtrue; then - ifelse([$3], , , [ -echo -echo "checking optional module modname_opt:" -# BEGIN: User checks -$3 -# END: User checks -if test x[$]MODNAME = xfalse; then - echo -e "optional module modname_opt ${COLOR_HRED}failed${COLOR_END} checks." -else - echo -e "optional module modname_opt passed checks." -fi -echo -]) - - if test x[$]MODNAME = xfalse; then - echo -e "${COLOR_YELLOW}Warning:${COLOR_END} optional module ${COLOR_H}modname_opt${COLOR_END} disabled by extra checks." - fi - fi - - # Check if user checks succeeded - if test x[$]MODNAME = xtrue; then - [OPTIONAL_MODULES]="$[OPTIONAL_MODULES] modname_opt" - AC_DEFINE_UNQUOTED(USE_MODULE_[]MODNAME, 1, Use module modname_opt) - else - [UNUSED_OPTIONAL_MODULES]="$[UNUSED_OPTIONAL_MODULES] modname_opt" - fi - - AM_CONDITIONAL(USE_MODULE_[]MODNAME, test x[$]MODNAME = xtrue) - AC_SUBST(USE_MODULE_[]MODNAME) - - m4_popdef([HELP_STR])dnl - m4_popdef([DISABLE_HELP])dnl - m4_popdef([ENABLE_HELP])dnl - m4_popdef([INITVAL])dnl - m4_popdef([MODNAME]) -# -# END: Check for optional module: $1 ($2) -# ---------------------------------------------------------------------- -]) diff --git a/m4/efl_binary.m4 b/m4/efl_binary.m4 deleted file mode 100644 index 91a26b2a89..0000000000 --- a/m4/efl_binary.m4 +++ /dev/null @@ -1,79 +0,0 @@ -dnl Copyright (C) 2010 Vincent Torri -dnl That code is public domain and can be freely used or copied. - -dnl Macro that check if a binary is built or not - -dnl Usage: EFL_ENABLE_BIN(binary) -dnl Call AC_SUBST(BINARY_PRG) (BINARY is the uppercase of binary, - being transformed into _) -dnl Define have_binary (- is transformed into _) -dnl Define conditional BUILD_BINARY (BINARY is the uppercase of binary, - being transformed into _) - -AC_DEFUN([EFL_ENABLE_BIN], -[ - -m4_pushdef([UP], m4_translit([[$1]], [-a-z], [_A-Z]))dnl -m4_pushdef([DOWN], m4_translit([[$1]], [-A-Z], [_a-z]))dnl - -have_[]m4_defn([DOWN])="yes" - -dnl configure option - -AC_ARG_ENABLE([$1], - [AC_HELP_STRING([--disable-$1], [disable building of ]DOWN)], - [ - if test "x${enableval}" = "xyes" ; then - have_[]m4_defn([DOWN])="yes" - else - have_[]m4_defn([DOWN])="no" - fi - ]) - -AC_MSG_CHECKING([whether to build ]DOWN[ binary]) -AC_MSG_RESULT([$have_[]m4_defn([DOWN])]) - -if test "x$have_[]m4_defn([DOWN])" = "xyes"; then - UP[]_PRG=DOWN[${EXEEXT}] -fi - -AC_SUBST(UP[]_PRG) - -AM_CONDITIONAL(BUILD_[]UP, test "x$have_[]m4_defn([DOWN])" = "xyes") - -AS_IF([test "x$have_[]m4_defn([DOWN])" = "xyes"], [$2], [$3]) - -]) - - -dnl Macro that check if a binary is built or not - -dnl Usage: EFL_WITH_BIN(package, binary, default_value) -dnl Call AC_SUBST(_binary) (_binary is the lowercase of binary, - being transformed into _ by default, or the value set by the user) - -AC_DEFUN([EFL_WITH_BIN], -[ - -m4_pushdef([DOWN], m4_translit([[$2]], [-A-Z], [_a-z]))dnl -m4_pushdef([UP], m4_translit([[$2]], [-a-z], [_A-Z]))dnl - -dnl configure option - -AC_ARG_WITH([$2], - [AC_HELP_STRING([--with-$2=PATH], [specify a specific path to ]DOWN[ @<:@default=$3@:>@])], - [ - _efl_with_binary=${withval} - _efl_binary_define="yes" - ], - [ - _efl_with_binary=$(pkg-config --variable=prefix $1)/bin/$3 - _efl_binary_define="no" - ]) - -DOWN=${_efl_with_binary} -AC_MSG_NOTICE(DOWN[ set to ${_efl_with_binary}]) - -with_binary_[]m4_defn([DOWN])=${_efl_with_binary} - -AM_CONDITIONAL(HAVE_[]UP, [test "x${_efl_binary_define}" = "xyes"]) -AC_SUBST(DOWN) - -]) diff --git a/m4/efl_compiler_flag.m4 b/m4/efl_compiler_flag.m4 deleted file mode 100644 index 25c285dbf5..0000000000 --- a/m4/efl_compiler_flag.m4 +++ /dev/null @@ -1,57 +0,0 @@ -dnl Copyright (C) 2010 Vincent Torri -dnl and Albin Tonnerre -dnl That code is public domain and can be freely used or copied. - -dnl Macro that checks if a compiler flag is supported by the compiler. - -dnl Usage: EFL_COMPILER_FLAG(flag) -dnl flag is added to CFLAGS if supported. - -AC_DEFUN([EFL_COMPILER_FLAG], -[ - -CFLAGS_save="${CFLAGS}" -CFLAGS="${CFLAGS} $1" - -AC_LANG_PUSH([C]) -AC_MSG_CHECKING([whether the compiler supports $1]) - -AC_COMPILE_IFELSE( - [AC_LANG_PROGRAM([[]])], - [have_flag="yes"], - [have_flag="no"]) -AC_MSG_RESULT([${have_flag}]) - -if test "x${have_flag}" = "xno" ; then - CFLAGS="${CFLAGS_save}" -fi -AC_LANG_POP([C]) - -]) - -dnl Macro that checks if a linker flag is supported by the compiler. - -dnl Usage: EFL_LINKER_FLAG(flag) -dnl flag is added to LDFLAGS if supported (will be passed to ld anyway). - -AC_DEFUN([EFL_LINKER_FLAG], -[ - -LDFLAGS_save="${LDFLAGS}" -LDFLAGS="${LDFLAGS} $1" - -AC_LANG_PUSH([C]) -AC_MSG_CHECKING([whether the compiler supports $1]) - -AC_LINK_IFELSE( - [AC_LANG_PROGRAM([[]])], - [have_flag="yes"], - [have_flag="no"]) -AC_MSG_RESULT([${have_flag}]) - -if test "x${have_flag}" = "xno" ; then - LDFLAGS="${LDFLAGS_save}" -fi -AC_LANG_POP([C]) - -]) diff --git a/m4/efl_doxygen.m4 b/m4/efl_doxygen.m4 deleted file mode 100644 index d83ed68b8a..0000000000 --- a/m4/efl_doxygen.m4 +++ /dev/null @@ -1,97 +0,0 @@ -dnl Copyright (C) 2008 Vincent Torri -dnl That code is public domain and can be freely used or copied. - -dnl Macro that check if doxygen is available or not. - -dnl EFL_CHECK_DOXYGEN([ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]) -dnl Test for the doxygen program -dnl Defines efl_doxygen -dnl Defines the automake conditionnal EFL_BUILD_DOC -dnl -AC_DEFUN([EFL_CHECK_DOXYGEN], -[ - -dnl -dnl Disable the build of the documentation -dnl -AC_ARG_ENABLE([doc], - [AC_HELP_STRING( - [--disable-doc], - [Disable documentation build @<:@default=enabled@:>@])], - [ - if test "x${enableval}" = "xyes" ; then - efl_enable_doc="yes" - else - efl_enable_doc="no" - fi - ], - [efl_enable_doc="yes"]) - -AC_MSG_CHECKING([whether to build documentation]) -AC_MSG_RESULT([${efl_enable_doc}]) - -if test "x${efl_enable_doc}" = "xyes" ; then - -dnl Specify the file name, without path - - efl_doxygen="doxygen" - - AC_ARG_WITH([doxygen], - [AC_HELP_STRING( - [--with-doxygen=FILE], - [doxygen program to use @<:@default=doxygen@:>@])], - -dnl Check the given doxygen program. - - [efl_doxygen=${withval} - AC_CHECK_PROG([efl_have_doxygen], - [${efl_doxygen}], - [yes], - [no]) - if test "x${efl_have_doxygen}" = "xno" ; then - echo "WARNING:" - echo "The doxygen program you specified:" - echo "${efl_doxygen}" - echo "was not found. Please check the path and make sure " - echo "the program exists and is executable." - AC_MSG_WARN([no doxygen detected. Documentation will not be built]) - fi - ], - [AC_CHECK_PROG([efl_have_doxygen], - [${efl_doxygen}], - [yes], - [no]) - if test "x${efl_have_doxygen}" = "xno" ; then - echo "WARNING:" - echo "The doxygen program was not found in your execute path." - echo "You may have doxygen installed somewhere not covered by your path." - echo "" - echo "If this is the case make sure you have the packages installed, AND" - echo "that the doxygen program is in your execute path (see your" - echo "shell manual page on setting the \$PATH environment variable), OR" - echo "alternatively, specify the program to use with --with-doxygen." - AC_MSG_WARN([no doxygen detected. Documentation will not be built]) - fi - ]) -fi - -dnl -dnl Substitution -dnl -AC_SUBST([efl_doxygen]) - -if ! test "x${efl_have_doxygen}" = "xyes" ; then - efl_enable_doc="no" -fi - -AM_CONDITIONAL(EFL_BUILD_DOC, test "x${efl_enable_doc}" = "xyes") - -if test "x${efl_enable_doc}" = "xyes" ; then - m4_default([$1], [:]) -else - m4_default([$2], [:]) -fi - -]) - -dnl End of efl_doxygen.m4 diff --git a/m4/efl_path_max.m4 b/m4/efl_path_max.m4 deleted file mode 100644 index f57bfd2ab5..0000000000 --- a/m4/efl_path_max.m4 +++ /dev/null @@ -1,36 +0,0 @@ -dnl Check for PATH_MAX in limits.h, and define a default value if not found -dnl This is a workaround for systems not providing PATH_MAX, like GNU/Hurd - -dnl EFL_CHECK_PATH_MAX([DEFAULT_VALUE_IF_NOT_FOUND]) -dnl -dnl If PATH_MAX is not defined in , defines it -dnl to DEFAULT_VALUE_IF_NOT_FOUND if it exists, or fallback -dnl to using 4096 - -AC_DEFUN([EFL_CHECK_PATH_MAX], -[ - -default_max=m4_default([$1], "4096") -AC_LANG_PUSH([C]) - -AC_MSG_CHECKING([for PATH_MAX in limits.h]) -AC_COMPILE_IFELSE( - [AC_LANG_PROGRAM( - [[ -#include - ]], - [[ -int i = PATH_MAX; - ]])], - [AC_MSG_RESULT([yes])], - [ - AC_DEFINE_UNQUOTED([PATH_MAX], - [${default_max}], - [default value since PATH_MAX is not defined]) - AC_MSG_RESULT([no: using ${default_max}]) - ]) - -AC_LANG_POP([C]) - -]) -dnl end of efl_path_max.m4 diff --git a/m4/pkg_var.m4 b/m4/pkg_var.m4 deleted file mode 100644 index 3d0a309bcb..0000000000 --- a/m4/pkg_var.m4 +++ /dev/null @@ -1,14 +0,0 @@ -# PKG_CHECK_VAR(VARIABLE, MODULE, CONFIG-VARIABLE, -# [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) -# ------------------------------------------- -# Retrieves the value of the pkg-config variable for the given module. -AC_DEFUN([EFL_PKG_CHECK_VAR], -[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl -AC_ARG_VAR([$1], [value of $3 for $2, overriding pkg-config])dnl - -_PKG_CONFIG([$1], [variable="][$3]["], [$2]) -AS_VAR_COPY([$1], [pkg_cv_][$1]) - -AS_VAR_IF([$1], [""], [$5], [$4])dnl -])# PKG_CHECK_VAR - diff --git a/src/Makefile.mk b/src/Makefile.mk deleted file mode 100644 index 5bd68cd42d..0000000000 --- a/src/Makefile.mk +++ /dev/null @@ -1,2 +0,0 @@ -include src/bin/Makefile.mk -include src/modules/Makefile.mk diff --git a/src/modules/Makefile.mk b/src/modules/Makefile.mk deleted file mode 100644 index baa340c6ae..0000000000 --- a/src/modules/Makefile.mk +++ /dev/null @@ -1,24 +0,0 @@ -MDIR = $(libdir)/enlightenment/modules -MOD_LDFLAGS = -module -avoid-version -MOD_CPPFLAGS = -I. -DE_LOGGING=2 \ --I$(top_srcdir) \ --I$(top_srcdir)/src/bin \ --I$(top_srcdir)/src/bin/debug \ --I$(top_srcdir)/src/bin/log \ --I$(top_srcdir)/src/bin/compmgr \ --I$(top_srcdir)/src/bin/core \ --I$(top_srcdir)/src/include \ --I$(top_builddir)/src/bin \ --I$(top_builddir)/src/bin/debug \ --I$(top_builddir)/src/bin/log \ --I$(top_builddir)/src/bin/compmgr \ --I$(top_builddir)/src/bin/core \ --I$(top_builddir)/src/include \ --I$(top_srcdir)/src/modules \ -@e_cflags@ \ -@WAYLAND_CFLAGS@ \ --DE_BINDIR=\"$(bindir)\" - -MOD_LIBS = @e_libs@ @dlopen_libs@ - -include src/modules/Makefile_bufferqueue.mk diff --git a/src/modules/Makefile_bufferqueue.mk b/src/modules/Makefile_bufferqueue.mk deleted file mode 100644 index de924dfbf4..0000000000 --- a/src/modules/Makefile_bufferqueue.mk +++ /dev/null @@ -1,24 +0,0 @@ -EXTRA_DIST += \ -src/modules/bufferqueue/bq_mgr_protocol.h \ -src/modules/bufferqueue/bq_mgr_protocol.c - -if USE_MODULE_BUFFERQUEUE -bufferqueuedir = $(MDIR)/bufferqueue - -bufferqueuepkgdir = $(MDIR)/bufferqueue/$(MODULE_ARCH) -bufferqueuepkg_LTLIBRARIES = src/modules/bufferqueue/module.la - -src_modules_bufferqueue_module_la_DEPENDENCIES = $(MDEPENDENCIES) -src_modules_bufferqueue_module_la_CPPFLAGS = $(MOD_CPPFLAGS) @BUFFERQUEUE_CFLAGS@ @WAYLAND_CFLAGS@ -DNEED_WL -src_modules_bufferqueue_module_la_LIBADD = $(LIBS) @BUFFERQUEUE_LIBS@ @WAYLAND_LIBS@ -src_modules_bufferqueue_module_la_LDFLAGS = $(MOD_LDFLAGS) - -src_modules_bufferqueue_module_la_SOURCES = src/modules/bufferqueue/e_mod_main.c \ - src/modules/bufferqueue/e_mod_main.h \ - src/modules/bufferqueue/bq_mgr_protocol.h \ - src/modules/bufferqueue/bq_mgr_protocol.c - -PHONIES += bufferqueue install-bufferqueue -bufferqueue: $(bufferqueuepkg_LTLIBRARIES) $(bufferqueue_DATA) -install-bufferqueue: install-bufferqueuepkgLTLIBRARIES -endif diff --git a/tests/Makefile.am b/tests/Makefile.am deleted file mode 100644 index 49a17cc134..0000000000 --- a/tests/Makefile.am +++ /dev/null @@ -1,63 +0,0 @@ -bin_PROGRAMS = enlightenment-tests - -enlightenment_source = \ - $(top_builddir)/src/bin/core/e_view.c \ - $(top_builddir)/src/bin/core/e_view_tree.c \ - $(top_builddir)/src/bin/core/e_view_rect.c \ - $(top_builddir)/src/bin/core/e_view_image.c \ - $(top_builddir)/src/bin/core/e_canvas.c \ - $(top_builddir)/src/bin/utils/e_map.c \ - $(top_builddir)/src/bin/core/e_view_event.c \ - $(top_builddir)/src/bin/core/e_view_layout.c \ - $(top_builddir)/src/bin/core/e_view_text.c - -enlightenment_tests_SOURCES = \ - ${enlightenment_source} \ - tc-main.cpp \ - evas_wrapper.cpp \ - tc-e_view.cpp \ - tc-e_canvas.cpp \ - tc-e_view_rect.cpp \ - tc-e_view_image.cpp \ - tc-e_view_event.cpp \ - tc-e_view_layout.cpp \ - tc-e_view_tree.cpp \ - tc-e_view_text.cpp - -enlightenment_tests_CFLAGS = \ - @E_CFLAGS@ \ - @GMOCK_CFLAGS@ \ - @WAYLAND_CFLAGS@ \ - -DEFL_BETA_API_SUPPORT -DEFL_EO_API_SUPPORT \ - ${CFLAGS} \ - -fPIC \ - -DE_VIEW_TEST \ - -I$(top_builddir)/src/bin \ - -I$(top_builddir)/src/include \ - -I$(top_builddir)/src/bin/core \ - -I$(top_builddir)/src/bin/utils \ - -I$(top_builddir)/src/bin/log \ - -I$(top_builddir)/src/bin/windowmgr \ - -I$(top_builddir)/src/bin/debug - -enlightenment_tests_CXXFLAGS = \ - @E_CFLAGS@ \ - @GMOCK_CFLAGS@ \ - @WAYLAND_CFLAGS@ \ - ${CXXFLAGS} \ - -fPIC \ - -DE_VIEW_TEST \ - -I$(top_builddir)/src/bin \ - -I$(top_builddir)/src/include - -enlightenment_tests_LDFLAGS = \ - @E_LIBS@ \ - @GMOCK_LIBS@ \ - @SUID_CFLAGS@ \ - @WAYLAND_LIBS@ \ - ${LDFLAGS} \ - -lpthread - -check: - ./enlightenment-tests -