-# get rid of that stupid cache mechanism
-rm -f config.cache
-
-AC_INIT([ecore], [0.9.9.063], [enlightenment-devel@lists.sourceforge.net])
-release="ver-pre-svn-05"
+##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
+##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
+m4_define([v_maj], [1])
+m4_define([v_min], [0])
+m4_define([v_mic], [999])
+m4_define([v_rev], m4_esyscmd([(svnversion "${SVN_REPO_PATH:-.}" | grep -v export || echo 0) | awk -F : '{printf("%s\n", $1);}' | tr -d ' :MSP\n']))
+m4_if(v_rev, [0], [m4_define([v_rev], m4_esyscmd([git log 2> /dev/null | (grep -m1 git-svn-id || echo 0) | sed -e 's/.*@\([0-9]*\).*/\1/' | tr -d '\n']))])
+##-- When released, remove the dnl on the below line
+dnl m4_undefine([v_rev])
+##-- When doing snapshots - change soname. remove dnl on below line
+dnl m4_define([relname], [ver-pre-svn-07])
+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_rev], m4_eval(v_maj + v_min))
+m4_define([lt_cur], v_mic)
+m4_define([lt_age], v_min)
+##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
+##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
+
+AC_INIT([ecore], [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_ISC_POSIX
+
+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.6 dist-bzip2])
-AM_CONFIG_HEADER([config.h])
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
AC_GNU_SOURCE
define([AC_LIBTOOL_LANG_F77_CONFIG], [:])dnl
AC_PROG_LIBTOOL
-VMAJ=`echo $PACKAGE_VERSION | awk -F. '{printf("%s", $1);}'`
-VMIN=`echo $PACKAGE_VERSION | awk -F. '{printf("%s", $2);}'`
-VMIC=`echo $PACKAGE_VERSION | awk -F. '{printf("%s", $3);}'`
-SNAP=`echo $PACKAGE_VERSION | awk -F. '{printf("%s", $4);}'`
-version_info=`expr $VMAJ + $VMIN`":$VMIC:$VMIN"
+##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
+##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
+m4_ifdef([v_rev], , [m4_define([v_rev], [0])])
+m4_ifdef([v_rel], , [m4_define([v_rel], [])])
+AC_DEFINE_UNQUOTED(VERS_MAJ, [v_maj], [Major version])
+AC_DEFINE_UNQUOTED(VERS_MIN, [v_min], [Minor version])
+AC_DEFINE_UNQUOTED(VERS_MIC, [v_mic], [Micro version])
+AC_DEFINE_UNQUOTED(VERS_REV, [v_rev], [Revison])
+version_info="lt_rev:lt_cur:lt_age"
+release_info="v_rel"
AC_SUBST(version_info)
+AC_SUBST(release_info)
+##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
+##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
+VMAJ=v_maj
+AC_SUBST(VMAJ)
+m4_ifdef([AM_GNU_GETTEXT_VERSION], [
AM_GNU_GETTEXT_VERSION([0.12.1])
-AM_GNU_GETTEXT([external])
-
-EFL_CHECK_PATH_MAX
+])
-case "$host_os" in
- mingw32ce* | cegcc*)
- ;;
- *)
- ecore_config_release_info="-release $release"
- ecore_con_release_info="-release $release"
- ecore_data_release_info="-release $release"
- ecore_directfb_release_info="-release $release"
- ecore_evas_release_info="-release $release"
- ecore_fb_release_info="-release $release"
- ecore_file_release_info="-release $release"
- ecore_imf_evas_release_info="-release $release"
- ecore_imf_release_info="-release $release"
- ecore_input_release_info="-release $release"
- ecore_input_evas_release_info="-release $release"
- ecore_ipc_release_info="-release $release"
- ecore_quartz_release_info="-release $release"
- ecore_release_info="-release $release"
- ecore_sdl_release_info="-release $release"
- ecore_txt_release_info="-release $release"
- ecore_win32_release_info="-release $release"
- ecore_x_release_info="-release $release"
- ;;
-esac
-AC_SUBST(ecore_config_release_info)
-AC_SUBST(ecore_con_release_info)
-AC_SUBST(ecore_data_release_info)
-AC_SUBST(ecore_directfb_release_info)
-AC_SUBST(ecore_evas_release_info)
-AC_SUBST(ecore_fb_release_info)
-AC_SUBST(ecore_file_release_info)
-AC_SUBST(ecore_imf_evas_release_info)
-AC_SUBST(ecore_imf_release_info)
-AC_SUBST(ecore_input_release_info)
-AC_SUBST(ecore_input_evas_release_info)
-AC_SUBST(ecore_ipc_release_info)
-AC_SUBST(ecore_quartz_release_info)
-AC_SUBST(ecore_release_info)
-AC_SUBST(ecore_sdl_release_info)
-AC_SUBST(ecore_txt_release_info)
-AC_SUBST(ecore_win32_release_info)
-AC_SUBST(ecore_wince_release_info)
-AC_SUBST(ecore_x_release_info)
-
-AC_DEFINE_UNQUOTED(SHARED_LIB_SUFFIX, "$shrext_cmds", [Suffix for shared objects])
+m4_ifdef([AM_GNU_GETTEXT], [
+AM_GNU_GETTEXT([external])
+AM_CONDITIONAL([HAVE_PO], [true])
+],[
+AM_CONDITIONAL([HAVE_PO], [false])
+])
+AC_SUBST(LTLIBINTL)
with_max_log_level="<unset>"
AC_ARG_WITH(internal-maximum-log-level,
### Default options with respect to host
+AC_CANONICAL_BUILD
+AC_CANONICAL_HOST
+
# dependencies and options
want_curl="no"
want_abstract_sockets="no"
want_glib="no"
# core modules
-want_ecore_data="no"
-want_ecore_txt="no"
want_ecore_con="yes"
want_ecore_ipc="no"
want_ecore_file="yes"
-want_ecore_config="no"
+#want_ecore_config="no"
want_ecore_imf="no"
want_ecore_input="yes"
want_ecore_x_xcb="no"
want_ecore_x="no"
want_ecore_win32="no"
-want_ecore_quartz="no"
+want_ecore_cocoa="no"
want_ecore_sdl="no"
want_ecore_fb="no"
want_ecore_directfb="no"
want_ecore_evas_xrender_x11="no"
want_ecore_evas_opengl_x11="no"
want_ecore_evas_software_16_x11="no"
+want_ecore_evas_software_8_x11="no"
want_ecore_evas_software_xcb="no"
want_ecore_evas_xrender_xcb="no"
want_ecore_evas_software_gdi="no"
want_ecore_evas_direct3d="no"
want_ecore_evas_opengl_glew="no"
want_ecore_evas_software_16_ddraw="no"
-want_ecore_evas_quartz="no"
+want_ecore_evas_cocoa="no"
want_ecore_evas_software_sdl="no"
want_ecore_evas_gl_sdl="no"
want_ecore_evas_directfb="no"
case "$host_os" in
mingw32ce* | cegcc*)
+ want_ecore_con="no"
want_ecore_wince="yes"
want_ecore_evas_software_16_wince="yes"
;;
want_notify_win32="yes"
want_curl="yes"
want_glib="auto"
+ want_ecore_con="no"
want_ecore_imf="yes"
want_ecore_win32="yes"
want_ecore_evas_software_gdi="yes"
want_glib="auto"
want_gnutls="auto"
want_openssl="auto"
- want_ecore_con="yes"
want_ecore_ipc="yes"
want_ecore_imf="yes"
- want_ecore_quartz="yes"
- want_ecore_evas_quartz="yes"
+ want_ecore_cocoa="yes"
+ want_ecore_evas_cocoa="yes"
want_ecore_evas_software_sdl="yes"
want_ecore_evas_gl_sdl="yes"
;;
want_signature="yes"
want_inotify="yes"
want_tslib="yes"
- want_ecore_con="yes"
+ want_ecore_fb="yes"
want_ecore_ipc="yes"
want_ecore_imf="yes"
want_ecore_x="yes"
want_ecore_evas_xrender_x11="yes"
want_ecore_evas_opengl_x11="yes"
want_ecore_evas_software_16_x11="yes"
+ want_ecore_evas_software_8_x11="yes"
want_ecore_evas_software_xcb="yes"
want_ecore_evas_xrender_xcb="yes"
want_ecore_evas_software_sdl="yes"
requirements_ecore=""
requirements_ecore_con=""
-requirements_ecore_config=""
-requirements_ecore_data=""
+#requirements_ecore_config=""
requirements_ecore_directfb=""
requirements_ecore_evas=""
requirements_ecore_fb=""
requirements_ecore_input=""
requirements_ecore_input_evas=""
requirements_ecore_ipc=""
-requirements_ecore_quartz=""
+requirements_ecore_cocoa=""
requirements_ecore_sdl=""
-requirements_ecore_txt=""
requirements_ecore_x=""
requirements_ecore_win32=""
requirements_ecore_wince=""
### Additional options to configure
+want_glib_integration_always=no
+AC_ARG_ENABLE(glib-integration-always,
+ AC_HELP_STRING([--enable-glib-integration-always], [enable glib integration when ecore_init() is called always]),
+ [want_glib_integration_always=$enableval])
+
+if test "x${want_glib_integration_always}" = "xyes" ; then
+ AC_DEFINE([GLIB_INTEGRATION_ALWAYS], [1], [Always integrate glib if support compiled])
+ want_glib=yes
+fi
+
+want_g_main_loop=no
+AC_ARG_ENABLE(g-main-loop,
+ AC_HELP_STRING([--enable-g-main-loop], [ecore_main_loop based on g_main_loop]),
+ [want_g_main_loop=$enableval])
+
+if test "x${want_g_main_loop}" = "xyes" ; then
+ AC_DEFINE([USE_G_MAIN_LOOP], [1], [Use g_main_loop in ecore])
+ want_glib=yes
+fi
+
+if test "x${want_glib_integration_always}" = "xyes" -a "x${want_g_main_loop}" = "xyes"; then
+ AC_MSG_ERROR([--enable-glib-integration-always and --enable-glib-main-loop are mutually exclusive])
+fi
+
# abstract sockets (ecore_con.c)
AC_ARG_ENABLE([abstract-sockets],
[AC_HELP_STRING([--disable-abstract-sockets], [disable abstract sockets.])],
# XIM
AC_ARG_ENABLE([xim],
- [AC_HELP_STRING([--enable-xim], [enable X Input Method.])],
+ [AC_HELP_STRING([--disable-xim], [disable X Input Method.])],
[
if test "x${enableval}" = "xyes" ; then
want_xim="yes"
want_xim="no"
fi
],
- [want_xim="no"])
+ [want_xim="yes"])
if test "x${want_xim}" = "xyes" ; then
AC_DEFINE([ENABLE_XIM], [1], [Enable X Input Method])
EFL_CHECK_TESTS([enable_tests="yes"], [enable_tests="no"])
-
### Checks for programs
m4_ifdef([AC_PROG_OBJC],
AC_SUBST([OBJC])
AC_SUBST([OBJCFLAGS])
])
+m4_ifndef([am__fastdepOBJC], [
+ AM_CONDITIONAL([am__fastdepOBJC], [false])
+ AC_SUBST([cocoa_ldflags])
+])
+
AC_PROG_CXX
AC_PROG_CC
requirements_ecore_imf="evil ${requirements_ecore_imf}"
requirements_ecore_imf_evas="evil ${requirements_ecore_imf_evas}"
EFL_ECORE_BUILD="-DEFL_ECORE_BUILD"
- EFL_ECORE_TXT_BUILD="-DEFL_ECORE_TXT_BUILD"
EFL_ECORE_FILE_BUILD="-DEFL_ECORE_FILE_BUILD"
EFL_ECORE_EVAS_BUILD="-DEFL_ECORE_EVAS_BUILD"
EFL_ECORE_IMF_BUILD="-DEFL_ECORE_IMF_BUILD"
+ EFL_ECORE_IMF_EVAS_BUILD="-DEFL_ECORE_IMF_EVAS_BUILD"
EFL_ECORE_INPUT_BUILD="-DEFL_ECORE_INPUT_BUILD"
+ EFL_ECORE_INPUT_EVAS_BUILD="-DEFL_ECORE_INPUT_EVAS_BUILD"
;;
esac
esac
AC_SUBST(EFL_ECORE_BUILD)
-AC_SUBST(EFL_ECORE_TXT_BUILD)
AC_SUBST(EFL_ECORE_FILE_BUILD)
AC_SUBST(EFL_ECORE_EVAS_BUILD)
AC_SUBST(EFL_ECORE_IMF_BUILD)
+AC_SUBST(EFL_ECORE_IMF_EVAS_BUILD)
AC_SUBST(EFL_ECORE_INPUT_BUILD)
+AC_SUBST(EFL_ECORE_INPUT_EVAS_BUILD)
AC_SUBST(EFL_ECORE_WINCE_BUILD)
AC_SUBST(EFL_ECORE_WIN32_BUILD)
AC_SUBST(EFL_ECORE_SDL_BUILD)
dlopen_libs="-ldl"
;;
*)
- AC_CHECK_LIB(dl, dlopen, dlopen_libs=-ldl)
+ AC_CHECK_LIB([c], [dlopen],
+ [],
+ [AC_CHECK_LIB([dl], [dlopen],
+ [dlopen_libs=-ldl])
+ ])
+ AC_CHECK_LIB([c], [clock_gettime],
+ [AC_DEFINE(HAVE_CLOCK_GETTIME, [1], [Have clock_gettime()])],
+ [AC_CHECK_LIB([rt], [clock_gettime],
+ [
+ rt_libs=-lrt
+ AC_DEFINE(HAVE_CLOCK_GETTIME, [1], [Have clock_gettime()])
+ ])
+ ])
;;
esac
AC_SUBST(WIN32_LIBS)
AC_SUBST(dlopen_libs)
+AC_SUBST(rt_libs)
# Eina library
-PKG_CHECK_MODULES(EINA, [eina-0])
+PKG_CHECK_MODULES(EINA, [eina >= 1.0.0])
#FIXME check all the requirements when the eina move will be finished
-requirements_ecore="eina-0 ${requirements_ecore}"
-requirements_ecore_con="ecore eina-0 ${requirements_ecore_con}"
-requirements_ecore_config="ecore eina-0 ${requirements_ecore_config}"
-requirements_ecore_data="ecore eina-0 ${requirements_ecore_data}"
-requirements_ecore_directfb="ecore eina-0 ${requirements_ecore_directfb}"
-requirements_ecore_evas="ecore eina-0 ${requirements_ecore_evas}"
-requirements_ecore_fb="ecore eina-0 ${requirements_ecore_fb}"
-requirements_ecore_file="ecore eina-0 ${requirements_ecore_file}"
-requirements_ecore_imf="ecore eina-0 ${requirements_ecore_imf}"
-requirements_ecore_imf_evas="ecore eina-0 ${requirements_ecore_imf_evas}"
-requirements_ecore_input="ecore eina-0 ${requirements_ecore_input}"
-requirements_ecore_input_evas="ecore eina-0 ${requirements_ecore_input_evas}"
-requirements_ecore_ipc="ecore eina-0 ${requirements_ecore_ipc}"
-requirements_ecore_quartz="ecore eina-0 ${requirements_ecore_quartz}"
-requirements_ecore_sdl="ecore eina-0 ${requirements_ecore_sdl}"
-requirements_ecore_win32="ecore eina-0 ${requirements_ecore_win32}"
-requirements_ecore_wince="ecore eina-0 ${requirements_ecore_wince}"
-requirements_ecore_x="ecore eina-0 ${requirements_ecore_x}"
+requirements_ecore="eina >= 1.0.0 ${requirements_ecore}"
+requirements_ecore_con="ecore >= 1.0.0 eina >= 1.0.0 ${requirements_ecore_con}"
+#requirements_ecore_config="ecore >= 1.0.0 eina >= 1.0.0 ${requirements_ecore_config}"
+requirements_ecore_directfb="ecore >= 1.0.0 eina >= 1.0.0 ${requirements_ecore_directfb}"
+requirements_ecore_evas="ecore >= 1.0.0 eina >= 1.0.0 ${requirements_ecore_evas}"
+requirements_ecore_fb="ecore >= 1.0.0 eina >= 1.0.0 ${requirements_ecore_fb}"
+requirements_ecore_file="ecore >= 1.0.0 eina >= 1.0.0 ${requirements_ecore_file}"
+requirements_ecore_imf="ecore >= 1.0.0 eina >= 1.0.0 ${requirements_ecore_imf}"
+requirements_ecore_imf_evas="ecore >= 1.0.0 eina >= 1.0.0 ${requirements_ecore_imf_evas}"
+requirements_ecore_input="ecore >= 1.0.0 eina >= 1.0.0 ${requirements_ecore_input}"
+requirements_ecore_input_evas="ecore >= 1.0.0 eina >= 1.0.0 ${requirements_ecore_input_evas}"
+requirements_ecore_ipc="ecore >= 1.0.0 eina >= 1.0.0 ${requirements_ecore_ipc}"
+requirements_ecore_cocoa="ecore >= 1.0.0 eina >= 1.0.0 ${requirements_ecore_cocoa}"
+requirements_ecore_sdl="ecore >= 1.0.0 eina >= 1.0.0 ${requirements_ecore_sdl}"
+requirements_ecore_win32="ecore >= 1.0.0 eina >= 1.0.0 ${requirements_ecore_win32}"
+requirements_ecore_wince="ecore >= 1.0.0 eina >= 1.0.0 ${requirements_ecore_wince}"
+requirements_ecore_x="ecore >= 1.0.0 eina >= 1.0.0 ${requirements_ecore_x}"
# glib support (main loop integration)
# Eet library (ecore_config)
-PKG_CHECK_MODULES([EET],
- [eet >= 1.0.0],
- [have_eet="yes"],
- [have_eet="no"])
+#PKG_CHECK_MODULES([EET],
+# [eet >= 1.4.0],
+# [have_eet="yes"],
+# [have_eet="no"])
# Xlib and XCB (ecore_x)
# Evas library (ecore_config, ecore_input_evas, ecore_imf_evas and ecore_evas)
-PKG_CHECK_MODULES([EVAS], [evas >= 0.9.9],
+PKG_CHECK_MODULES([EVAS], [evas >= 1.0.0],
[have_evas="yes"],
[have_evas="no"])
### Checks for header files
+EFL_CHECK_PATH_MAX
+
AC_HEADER_SYS_WAIT
+AC_SYS_LARGEFILE
have_addrinfo="no"
case "$host_os" in
AC_CHECK_HEADER([linux/fb.h],
[AC_CHECK_HEADER([linux/input.h], [have_fb="yes"])])
-# Quartz header files (ecore_quartz)
+# Cocoa header files (ecore_cocoa)
+
+cocoa_ldflags="";
+have_cocoa="no"
+m4_ifdef([AC_PROG_OBJC], [
+ if test "x${have_gnu_objc}" = "xyes" ; then
+ AC_LANG_PUSH([Objective C])
+ AC_CHECK_HEADER([Cocoa/Cocoa.h],
+ [
+ have_cocoa="yes"
+ cocoa_ldflags="-framework Cocoa"
+ ])
+ AC_LANG_POP([Objective C])
+ fi
+])
+AC_SUBST(cocoa_ldflags)
-quartz_ldflags="";
-have_quartz="no"
+want_epoll=yes
+AC_ARG_ENABLE(epoll,
+ AC_HELP_STRING([--enable-epoll], [enable or disable epoll support]),
+ [want_epoll=$enableval])
-if test "x${have_gnu_objc}" = "xyes" ; then
- AC_LANG_PUSH([Objective C])
- AC_CHECK_HEADER([Cocoa/Cocoa.h],
- [
- have_quartz="yes"
- quartz_ldflags="-framework Cocoa"
- ],
- [have_quartz="no"])
- AC_LANG_POP([Objective C])
+if test "x${want_epoll}" = "xyes" ; then
+ # check for epoll support
+ AC_CHECK_HEADERS([sys/epoll.h])
fi
-AC_SUBST(quartz_ldflags)
-# basic pthread support
+# thread support
-EFL_CHECK_PTHREAD([have_pthread="yes"], [have_pthread="no"])
+EFL_CHECK_THREADS(
+ [
+ if test "x${_efl_have_posix_threads}" = "xyes" ; then
+ have_threads="POSIX"
+ else
+ if test "x${_efl_have_win32_threads}" = "xyes" ; then
+ have_threads="Win32"
+ else
+ have_threads="no"
+ fi
+ fi
+ ],
+ [have_threads="no"])
### Checks for types
AC_CHECK_SIZEOF(int, 4)
AC_SUBST(lt_enable_auto_import)
### Checks for library functions
+AC_ISC_POSIX
AC_FUNC_ALLOCA
AC_CHECK_FUNCS(gettimeofday strlcpy)
])
fi
+### Checks for optionnal feature
+AC_CHECK_FUNC(mallinfo,
+ [
+ have_mallinfo=yes
+ AC_DEFINE(HAVE_MALLINFO, 1, [Gather memory statistic])
+ ], [
+ have_mallinfo=no
+ ])
+
### Ecore modules
## Core modules
-# ecore_data
-ECORE_CHECK_MODULE([data], [${want_ecore_data}], [Data])
-
-# ecore_txt
-ECORE_CHECK_MODULE([txt], [${want_ecore_txt}], [Txt], [yes])
-
# ecore_con
ECORE_CHECK_MODULE([con], [${want_ecore_con}], [Con], [${have_addrinfo}])
# ecore_ipc
ECORE_CHECK_MODULE([ipc], [${want_ecore_ipc}], [Ipc], [${have_ecore_con}],
- [requirements_ecore_ipc="ecore-con ${requirements_ecore_ipc}"])
+ [requirements_ecore_ipc="ecore-con >= 1.0.0 ${requirements_ecore_ipc}"])
# ecore_file
ECORE_CHECK_MODULE([file], [${want_ecore_file}], [File])
ECORE_CHECK_NOTIFY_WIN32([${want_notify_win32}], [have_notify_win32="yes"], [have_notify_win32="no"])
if test "x${have_ecore_con}" = "xyes" ; then
- requirements_ecore_file="ecore-con ${requirements_ecore_file}"
+ requirements_ecore_file="ecore-con >= 1.0.0 ${requirements_ecore_file}"
fi
fi
# ecore_config
-ecore_config_deps="no"
-if test "x${have_eet}" = "xyes" -a "x${have_evas}" -a "x${have_ecore_ipc}" ; then
- ecore_config_deps="yes"
-fi
+#ecore_config_deps="no"
+#if test "x${have_eet}" = "xyes" -a "x${have_evas}" -a "x${have_ecore_ipc}" ; then
+# ecore_config_deps="yes"
+#fi
-ECORE_CHECK_MODULE([config], [${want_ecore_config}], [Config], [${ecore_config_deps}],
- [requirements_ecore_config="ecore-ipc evas eet ${requirements_ecore_config}"])
+#ECORE_CHECK_MODULE([config], [${want_ecore_config}], [Config], [${ecore_config_deps}],
+# [requirements_ecore_config="ecore-ipc >= 1.0.0 evas >= 1.0.0 eet >= 1.4.0 ${requirements_ecore_config}"])
+
+AM_CONDITIONAL(BUILD_ECORE_CONFIG, false)
# ecore_imf
fi
ECORE_CHECK_MODULE([imf-evas], [${want_ecore_imf}], [Imf_Evas], [${ecore_imf_evas_deps}],
- [requirements_ecore_imf_evas="ecore-imf evas ${requirements_ecore_imf_evas}"])
+ [requirements_ecore_imf_evas="ecore-imf >= 1.0.0 evas >= 1.0.0 ${requirements_ecore_imf_evas}"])
# ecore_input{_evas}
ECORE_CHECK_MODULE([input], [${want_ecore_input}], [Input])
ECORE_CHECK_MODULE([input-evas], [${want_ecore_input}], [Input_Evas], [${have_evas}],
- [requirements_ecore_input_evas="ecore-input evas ${requirements_ecore_input}"])
+ [requirements_ecore_input_evas="ecore-input >= 1.0.0 evas >= 1.0.0 ${requirements_ecore_input}"])
## Graphic systems
ECORE_CHECK_MODULE([x], [${want_ecore_x}], [X], [${ecore_x_deps}],
[
ecore_x_libs="$ecore_x_libs $x_libs"
- requirements_ecore_x="ecore-input ${requirements_ecore_x}"
+ requirements_ecore_x="ecore-input >= 1.0.0 ${requirements_ecore_x}"
])
# ecore_win32
ECORE_CHECK_MODULE([win32], [${want_ecore_win32}], [Win32], [${have_ecore_input}],
[
ecore_win32_libs="-lole32 -lgdi32"
- requirements_ecore_win32="ecore-input ${requirements_ecore_win32}"
+ requirements_ecore_win32="ecore-input >= 1.0.0 ${requirements_ecore_win32}"
])
AC_SUBST(ecore_win32_libs)
-# ecore_quartz
+# ecore_cocoa
-ecore_quartz_deps="no"
-if test "x${have_ecore_input}" = "xyes" -a "x${have_quartz}" = "xyes" ; then
- ecore_quartz_deps="yes"
+ecore_cocoa_deps="no"
+if test "x${have_ecore_input}" = "xyes" -a "x${have_cocoa}" = "xyes" ; then
+ ecore_cocoa_deps="yes"
fi
-ECORE_CHECK_MODULE([quartz], [${want_ecore_quartz}], [Quartz], [${ecore_quartz_deps}],
- [requirements_ecore_quartz="ecore-input ${requirements_ecore_quartz}"])
+ECORE_CHECK_MODULE([cocoa], [${want_ecore_cocoa}], [Cocoa], [${ecore_cocoa_deps}],
+ [requirements_ecore_cocoa="ecore-input >= 1.0.0 ${requirements_ecore_cocoa}"])
# ecore_sdl
fi
ECORE_CHECK_MODULE([sdl], [${want_ecore_sdl}], [Sdl], [${ecore_sdl_deps}],
- [requirements_ecore_sdl="ecore-input ${requirements_ecore_sdl}"])
+ [requirements_ecore_sdl="ecore-input >= 1.0.0 ${requirements_ecore_sdl}"])
# ecore_fb
ECORE_CHECK_MODULE([fb], [${want_ecore_fb}], [FB], [$have_fb])
# ecore_wince
ECORE_CHECK_MODULE([wince], [${want_ecore_wince}], [WinCE], [${have_ecore_input}],
- [requirements_ecore_win32="ecore-input ${requirements_ecore_win32}"])
+ [requirements_ecore_win32="ecore-input >= 1.0.0 ${requirements_ecore_win32}"])
## Ecore Evas
fi
ECORE_CHECK_MODULE([evas], [${want_ecore_evas}], [Evas], [${ecore_evas_deps}],
- [requirements_ecore_evas="ecore-input ecore-input-evas evas ${requirements_ecore_evas}"])
+ [requirements_ecore_evas="ecore-input >= 1.0.0 ecore-input-evas >= 1.0.0 evas >= 1.0.0 ${requirements_ecore_evas}"])
# ecore_evas_buffer
[Software Xlib 16 bits],
[${have_ecore_x_xlib}])
+ECORE_EVAS_CHECK_MODULE([software-8-x11],
+ [$want_ecore_evas_software_8_x11],
+ [Software 8bit X11],
+ $have_ecore_x_xcb)
+
+
# ecore_evas_xrender_xcb
ECORE_EVAS_CHECK_MODULE([xrender-xcb],
if test "x$have_ecore_evas_software_x11" = "xyes" -o \
"x$have_ecore_evas_xrender_x11" = "xyes" -o \
"x$have_ecore_evas_opengl_x11" = "xyes" -o \
+ "x$have_ecore_evas_software_8_x11" = "xyes" -o \
"x$have_ecore_evas_software_16_x11" = "xyes" -o \
"x$have_ecore_evas_software_xcb" = "xyes" -o \
"x$have_ecore_evas_xrender_xcb" = "xyes"; then
AC_DEFINE(BUILD_ECORE_EVAS_X11, 1, [Support for X Window Engines in Ecore_Evas])
- requirements_ecore_evas="ecore-x ${requirements_ecore_evas}"
+ requirements_ecore_evas="ecore-x >= 1.0.0 ${requirements_ecore_evas}"
fi
# ecore_evas_win32
"x${have_ecore_evas_opengl_glew}" = "xyes" -o \
"x${have_ecore_evas_software_16_ddraw}" = "xyes" ; then
AC_DEFINE(BUILD_ECORE_EVAS_WIN32, 1, [Support for Win32 Engine in Ecore_Evas])
- requirements_ecore_evas="ecore-win32 ${requirements_ecore_evas}"
+ requirements_ecore_evas="ecore-win32 >= 1.0.0 ${requirements_ecore_evas}"
fi
-# ecore_evas_quartz
+# ecore_evas_cocoa
-ECORE_EVAS_CHECK_MODULE([quartz],
- [${want_ecore_evas_quartz}],
- [Quartz],
- [${have_ecore_quartz}],
- [requirements_ecore_evas="ecore-quartz ${requirements_ecore_evas}"])
+ECORE_EVAS_CHECK_MODULE([cocoa],
+ [${want_ecore_evas_cocoa}],
+ [Cocoa],
+ [${have_ecore_cocoa}],
+ [requirements_ecore_evas="ecore-cocoa >= 1.0.0 ${requirements_ecore_evas}"])
# ecore_evas_software_sdl
[${want_ecore_evas_software_sdl}],
[Software SDL],
[${have_ecore_sdl}],
- [requirements_ecore_evas="ecore-sdl ${requirements_ecore_evas}"])
+ [requirements_ecore_evas="ecore-sdl >= 1.0.0 ${requirements_ecore_evas}"])
# ecore_evas_gl_sdl
[${want_ecore_evas_gl_sdl}],
[OpenGL SDL],
[${have_ecore_sdl}],
- [requirements_ecore_evas="ecore-sdl ${requirements_ecore_evas}"])
+ [requirements_ecore_evas="ecore-sdl >= 1.0.0 ${requirements_ecore_evas}"])
# ecore_evas_directfb
[${want_ecore_evas_directfb}],
[DirectFB],
[${have_ecore_directfb}],
- [requirements_ecore_evas="ecore-directfb ${requirements_ecore_evas}"])
+ [requirements_ecore_evas="ecore-directfb >= 1.0.0 ${requirements_ecore_evas}"])
# ecore_evas_fb
[${want_ecore_evas_fb}],
[Linux Framebuffer],
[${have_ecore_fb}],
- [requirements_ecore_evas="ecore-fb ${requirements_ecore_evas}"])
+ [requirements_ecore_evas="ecore-fb >= 1.0.0 ${requirements_ecore_evas}"])
# ecore_evas_wince
[${want_ecore_evas_software_16_wince}],
[16 bpp Software Windows CE],
[${have_ecore_wince}],
- [requirements_ecore_evas="ecore-wince ${requirements_ecore_evas}"])
-
-
+ [requirements_ecore_evas="ecore-wince >= 1.0.0 ${requirements_ecore_evas}"])
### requirements
AC_SUBST(requirements_ecore)
AC_SUBST(requirements_ecore_con)
-AC_SUBST(requirements_ecore_config)
-AC_SUBST(requirements_ecore_data)
+#AC_SUBST(requirements_ecore_config)
AC_SUBST(requirements_ecore_directfb)
AC_SUBST(requirements_ecore_evas)
AC_SUBST(requirements_ecore_fb)
AC_SUBST(requirements_ecore_input)
AC_SUBST(requirements_ecore_input_evas)
AC_SUBST(requirements_ecore_ipc)
-AC_SUBST(requirements_ecore_quartz)
+AC_SUBST(requirements_ecore_cocoa)
AC_SUBST(requirements_ecore_sdl)
-AC_SUBST(requirements_ecore_txt)
AC_SUBST(requirements_ecore_x)
AC_SUBST(requirements_ecore_win32)
AC_SUBST(requirements_ecore_wince)
-AC_OUTPUT([
+AC_CONFIG_FILES([
Makefile
ecore-con.pc
ecore-config.pc
-ecore-data.pc
ecore-directfb.pc
ecore-evas.pc
ecore-fb.pc
ecore-file.pc
-ecore-quartz.pc
+ecore-cocoa.pc
ecore-imf.pc
ecore-imf-evas.pc
ecore-ipc.pc
ecore-input-evas.pc
ecore-win32.pc
ecore-sdl.pc
-ecore-txt.pc
ecore-wince.pc
ecore.pc
doc/ecore.dox
src/lib/ecore/Makefile
src/lib/ecore_con/Makefile
src/lib/ecore_config/Makefile
-src/lib/ecore_data/Makefile
src/lib/ecore_directfb/Makefile
src/lib/ecore_evas/Makefile
src/lib/ecore_fb/Makefile
src/lib/ecore_file/Makefile
-src/lib/ecore_quartz/Makefile
+src/lib/ecore_cocoa/Makefile
src/lib/ecore_sdl/Makefile
src/lib/ecore_imf/Makefile
src/lib/ecore_imf_evas/Makefile
src/lib/ecore_input/Makefile
src/lib/ecore_input_evas/Makefile
src/lib/ecore_ipc/Makefile
-src/lib/ecore_txt/Makefile
src/lib/ecore_win32/Makefile
src/lib/ecore_wince/Makefile
src/lib/ecore_x/Makefile
src/tests/Makefile
README
ecore.spec
-po/Makefile.in
])
+m4_ifdef([AM_GNU_GETTEXT], [AC_CONFIG_FILES([po/Makefile.in])])
+
+AC_OUTPUT
+
echo
echo "$PACKAGE $VERSION"
echo
echo " Core:"
echo
echo " Ecore........................: always"
-echo " Thread support.............: $have_pthread"
+echo " Thread support.............: $have_threads"
echo " GLib support...............: $have_glib"
-echo " Ecore_Data...................: $have_ecore_data (deprecated)"
-echo " Ecore_Txt....................: $have_ecore_txt (deprecated)"
+echo " Always integrate GLib......: $want_glib_integration_always"
+echo " Use g_main_loop............: $want_g_main_loop"
+echo " Gathering memory statistic.: $have_mallinfo"
echo " Ecore_Con....................: $have_ecore_con"
if test "x$have_ecore_con" = "xyes" ; then
echo $ECHO_N " OpenSSL....................: $have_openssl $ECHO_C"
echo " Poll.......................: $have_poll"
echo " CURL.......................: $have_curl"
fi
-echo " Ecore_Config.................: $have_ecore_config (deprecated)"
+#echo " Ecore_Config.................: $have_ecore_config (deprecated)"
echo " Ecore_IMF....................: $have_ecore_imf"
echo " Ecore_IMF_Evas...............: $have_ecore_imf_evas"
echo " Ecore_Input..................: $have_ecore_input"
echo " Ecore_X......................: $have_ecore_x"
fi
echo " Ecore_Win32..................: $have_ecore_win32"
-echo " Ecore_Quartz.................: $have_ecore_quartz"
+echo " Ecore_Cocoa..................: $have_ecore_cocoa"
echo " Ecore_SDL....................: $have_ecore_sdl"
echo " Ecore_FB.....................: $have_ecore_fb"
if test "x${have_ecore_fb}" = "xyes" ; then
echo " Software DirectDraw........: $have_ecore_evas_software_ddraw"
echo " Direct3D...................: $have_ecore_evas_direct3d"
echo " OpenGL Glew................: $have_ecore_evas_opengl_glew"
- echo " Quartz.....................: $have_ecore_evas_quartz"
+ echo " Cocoa......................: $have_ecore_evas_cocoa"
echo " Software SDL...............: $have_ecore_evas_software_sdl"
echo " OpenGL SDL.................: $have_ecore_evas_opengl_sdl"
echo " DirectFB...................: $have_ecore_evas_directfb"
echo " Software Framebuffer.......: $have_ecore_evas_fb"
+ echo " Software 8bit grayscale XCB: $have_ecore_evas_software_8_x11"
echo " Software 16bit X11.........: $have_ecore_evas_software_16_x11"
echo " Software 16bit DirectDraw..: $have_ecore_evas_software_16_ddraw"
echo " Software 16bit WinCE.......: $have_ecore_evas_software_16_wince"