2008-01-24 19:35:49 -08:00
|
|
|
# get rid of that stupid cache mechanism
|
2007-11-04 01:29:20 -08:00
|
|
|
rm -f config.cache
|
2003-09-23 01:09:32 -07:00
|
|
|
|
2009-04-22 17:32:53 -07:00
|
|
|
AC_INIT(ecore, 0.9.9.060, enlightenment-devel@lists.sourceforge.net)
|
2009-03-13 09:35:16 -07:00
|
|
|
AC_PREREQ([2.52])
|
|
|
|
AC_CONFIG_SRCDIR([configure.ac])
|
|
|
|
AC_CONFIG_MACRO_DIR([m4])
|
2004-02-16 23:12:01 -08:00
|
|
|
AC_CANONICAL_BUILD
|
|
|
|
AC_CANONICAL_HOST
|
2003-09-23 01:09:32 -07:00
|
|
|
AC_ISC_POSIX
|
2007-11-04 01:29:20 -08:00
|
|
|
|
|
|
|
AM_INIT_AUTOMAKE(1.6 dist-bzip2)
|
2003-09-23 01:09:32 -07:00
|
|
|
AM_CONFIG_HEADER(config.h)
|
2009-04-11 00:10:12 -07:00
|
|
|
AC_GNU_SOURCE
|
2003-09-23 01:09:32 -07:00
|
|
|
|
2007-11-04 01:29:20 -08:00
|
|
|
AC_LIBTOOL_WIN32_DLL
|
|
|
|
define([AC_LIBTOOL_LANG_F77_CONFIG], [:])dnl
|
|
|
|
AC_PROG_LIBTOOL
|
2007-08-26 04:17:21 -07:00
|
|
|
|
2007-11-12 23:05:12 -08:00
|
|
|
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);}'`
|
2007-11-04 01:29:20 -08:00
|
|
|
version_info=`expr $VMAJ + $VMIN`":$VMIC:$VMIN"
|
2009-04-22 07:08:21 -07:00
|
|
|
release="ver-pre-svn-01"
|
2009-04-21 07:17:42 -07:00
|
|
|
ecore_config_release_info="-release $release"
|
|
|
|
ecore_con_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_ipc_release_info="-release $release"
|
|
|
|
ecore_job_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_wince_release_info="-release $release"
|
|
|
|
ecore_x_release_info="-release $release"
|
2007-11-04 01:29:20 -08:00
|
|
|
AC_SUBST(version_info)
|
2009-04-17 03:01:45 -07:00
|
|
|
AC_SUBST(ecore_config_release_info)
|
|
|
|
AC_SUBST(ecore_con_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_ipc_release_info)
|
|
|
|
AC_SUBST(ecore_job_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)
|
2003-09-23 01:09:32 -07:00
|
|
|
|
2009-03-13 09:35:16 -07:00
|
|
|
AC_DEFINE_UNQUOTED(SHARED_LIB_SUFFIX, "$shrext_cmds", [Suffix for shared objects])
|
|
|
|
|
|
|
|
|
|
|
|
### Default options with respect to host
|
|
|
|
|
|
|
|
# dependencies and options
|
|
|
|
want_curl="no"
|
|
|
|
want_abstract_sockets="no"
|
|
|
|
want_gnutls="no"
|
|
|
|
want_openssl="no"
|
|
|
|
want_cipher="no"
|
|
|
|
want_signature="no"
|
|
|
|
want_poll="yes"
|
|
|
|
want_inotify="no"
|
|
|
|
want_tslib="no"
|
|
|
|
|
|
|
|
# core modules
|
|
|
|
want_ecore_job="yes"
|
|
|
|
want_ecore_txt="yes"
|
|
|
|
want_ecore_con="no"
|
|
|
|
want_ecore_ipc="no"
|
|
|
|
want_ecore_file="yes"
|
|
|
|
want_ecore_config="no"
|
|
|
|
want_ecore_imf="no"
|
2009-03-19 10:40:51 -07:00
|
|
|
want_ecore_input="yes"
|
2009-03-13 09:35:16 -07:00
|
|
|
|
|
|
|
# graphic system modules
|
|
|
|
want_evas_simple_x11="no"
|
|
|
|
want_ecore_x_xcb="no"
|
|
|
|
want_ecore_x="no"
|
|
|
|
want_ecore_win32="no"
|
|
|
|
want_ecore_quartz="no"
|
|
|
|
want_ecore_sdl="no"
|
|
|
|
want_ecore_fb="no"
|
|
|
|
want_ecore_directfb="no"
|
|
|
|
want_ecore_wince="no"
|
|
|
|
|
|
|
|
# ecore_evas modules
|
|
|
|
want_ecore_evas="yes"
|
|
|
|
want_ecore_evas_software_buffer="yes"
|
|
|
|
want_ecore_evas_software_x11="no"
|
|
|
|
want_ecore_evas_xrender_x11="no"
|
|
|
|
want_ecore_evas_opengl_x11="no"
|
|
|
|
want_ecore_evas_software_16_x11="no"
|
|
|
|
want_ecore_evas_software_xcb="no"
|
|
|
|
want_ecore_evas_xrender_xcb="no"
|
2009-04-22 20:24:16 -07:00
|
|
|
want_ecore_evas_software_gdi="no"
|
2009-03-13 09:35:16 -07:00
|
|
|
want_ecore_evas_software_ddraw="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_software_sdl="no"
|
|
|
|
want_ecore_evas_directfb="no"
|
|
|
|
want_ecore_evas_fb="no"
|
|
|
|
want_ecore_evas_software_16_wince="no"
|
|
|
|
|
|
|
|
case "$host_os" in
|
|
|
|
mingw32ce* | cegcc*)
|
|
|
|
want_ecore_wince="yes"
|
|
|
|
want_ecore_evas_software_16_wince="yes"
|
|
|
|
;;
|
|
|
|
mingw*)
|
|
|
|
want_curl="yes"
|
|
|
|
want_ecore_imf="yes"
|
|
|
|
want_ecore_win32="yes"
|
2009-04-22 20:24:16 -07:00
|
|
|
want_ecore_evas_software_gdi="yes"
|
2009-03-13 09:35:16 -07:00
|
|
|
want_ecore_evas_software_ddraw="yes"
|
|
|
|
want_ecore_evas_direct3d="yes"
|
|
|
|
want_ecore_evas_opengl_glew="yes"
|
|
|
|
want_ecore_evas_software_16_ddraw="auto"
|
|
|
|
want_ecore_evas_software_sdl="yes"
|
|
|
|
;;
|
|
|
|
darwin*)
|
|
|
|
want_curl="yes"
|
|
|
|
want_gnutls="auto"
|
|
|
|
want_openssl="auto"
|
|
|
|
want_ecore_con="yes"
|
|
|
|
want_ecore_ipc="yes"
|
|
|
|
want_ecore_config="yes"
|
|
|
|
want_ecore_imf="yes"
|
|
|
|
want_ecore_quartz="yes"
|
|
|
|
want_ecore_evas_quartz="yes"
|
|
|
|
want_ecore_evas_software_sdl="yes"
|
|
|
|
;;
|
|
|
|
*)
|
|
|
|
want_curl="yes"
|
|
|
|
want_abstract_sockets="yes"
|
|
|
|
want_gnutls="auto"
|
|
|
|
want_openssl="auto"
|
|
|
|
want_cipher="yes"
|
|
|
|
want_signature="yes"
|
|
|
|
want_inotify="yes"
|
|
|
|
want_tslib="yes"
|
|
|
|
want_ecore_con="yes"
|
|
|
|
want_ecore_ipc="yes"
|
|
|
|
want_ecore_config="yes"
|
|
|
|
want_ecore_imf="yes"
|
|
|
|
want_ecore_x="yes"
|
|
|
|
want_ecore_evas_software_x11="yes"
|
|
|
|
want_ecore_evas_xrender_x11="yes"
|
|
|
|
want_ecore_evas_opengl_x11="yes"
|
|
|
|
want_ecore_evas_software_16_x11="yes"
|
|
|
|
want_ecore_evas_software_xcb="yes"
|
|
|
|
want_ecore_evas_xrender_xcb="yes"
|
|
|
|
want_ecore_evas_software_sdl="yes"
|
|
|
|
want_ecore_evas_directfb="yes"
|
|
|
|
want_ecore_evas_fb="yes"
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|
|
|
|
requirements_ecore=""
|
2007-03-21 08:30:23 -07:00
|
|
|
requirements_ecore_con=""
|
|
|
|
requirements_ecore_config=""
|
2007-03-31 04:11:02 -07:00
|
|
|
requirements_ecore_directfb=""
|
2009-03-13 09:35:16 -07:00
|
|
|
requirements_ecore_evas=""
|
2007-03-21 08:30:23 -07:00
|
|
|
requirements_ecore_fb=""
|
|
|
|
requirements_ecore_file=""
|
2009-03-13 09:35:16 -07:00
|
|
|
requirements_ecore_imf=""
|
|
|
|
requirements_ecore_imf_evas=""
|
2009-03-19 10:40:51 -07:00
|
|
|
requirements_ecore_input=""
|
2007-03-21 08:30:23 -07:00
|
|
|
requirements_ecore_ipc=""
|
|
|
|
requirements_ecore_job=""
|
2009-03-13 09:35:16 -07:00
|
|
|
requirements_ecore_quartz=""
|
|
|
|
requirements_ecore_sdl=""
|
2007-03-21 08:30:23 -07:00
|
|
|
requirements_ecore_txt=""
|
|
|
|
requirements_ecore_x=""
|
2007-08-26 04:17:21 -07:00
|
|
|
requirements_ecore_win32=""
|
2008-05-30 22:05:01 -07:00
|
|
|
requirements_ecore_wince=""
|
2007-03-21 08:30:23 -07:00
|
|
|
|
2007-03-24 03:41:31 -07:00
|
|
|
|
2009-03-13 09:35:16 -07:00
|
|
|
### Additional options to configure
|
2008-10-13 08:59:19 -07:00
|
|
|
|
2009-03-13 09:35:16 -07:00
|
|
|
# abstract sockets (ecore_con.c)
|
|
|
|
AC_ARG_ENABLE([abstract-sockets],
|
|
|
|
[AC_HELP_STRING([--disable-abstract-sockets], [disable abstract sockets.])],
|
|
|
|
[
|
|
|
|
if test "x${enableval}" = "xyes" ; then
|
|
|
|
want_abstract_sockets="yes"
|
|
|
|
else
|
|
|
|
want_abstract_sockets="no"
|
|
|
|
fi
|
|
|
|
],
|
|
|
|
[want_abstract_sockets="yes"])
|
2008-05-25 22:16:34 -07:00
|
|
|
|
2009-03-13 09:35:16 -07:00
|
|
|
if test "x${want_abstract_sockets}" = "xyes" ; then
|
|
|
|
AC_DEFINE([HAVE_ABSTRACT_SOCKETS], [1], [Have abstract sockets namespace])
|
|
|
|
fi
|
2007-11-05 11:12:59 -08:00
|
|
|
|
2009-03-13 09:35:16 -07:00
|
|
|
# Simple X11 build/link
|
2008-10-30 08:26:11 -07:00
|
|
|
|
2009-03-13 09:35:16 -07:00
|
|
|
AC_ARG_ENABLE(simple-x11,
|
|
|
|
AC_HELP_STRING([--enable-simple-x11], [enable simple x11 linking]),
|
|
|
|
[want_evas_simple_x11=$enableval])
|
2008-10-30 08:26:11 -07:00
|
|
|
|
2007-11-05 11:12:59 -08:00
|
|
|
|
2009-03-13 09:35:16 -07:00
|
|
|
### Checks for programs
|
2007-11-05 11:12:59 -08:00
|
|
|
|
2009-03-13 09:35:16 -07:00
|
|
|
m4_ifdef([AC_PROG_OBJC],
|
|
|
|
[
|
|
|
|
AC_PROG_OBJC
|
|
|
|
_AM_DEPENDENCIES(OBJC)
|
|
|
|
],
|
|
|
|
[
|
|
|
|
AC_CHECK_TOOL([OBJC], [gcc])
|
|
|
|
AC_SUBST([OBJC])
|
|
|
|
AC_SUBST([OBJCFLAGS])
|
|
|
|
])
|
|
|
|
AC_PROG_CXX
|
|
|
|
AC_PROG_CC
|
2007-11-05 11:12:59 -08:00
|
|
|
|
2009-04-10 03:32:50 -07:00
|
|
|
have_gnu_objc=${ac_cv_objc_compiler_gnu}
|
|
|
|
|
2009-03-13 09:35:16 -07:00
|
|
|
# doxygen program for documentation building
|
2007-11-05 11:12:59 -08:00
|
|
|
|
2009-03-13 09:35:16 -07:00
|
|
|
EFL_CHECK_DOXYGEN([build_doc="yes"], [build_doc="no"])
|
2004-10-20 10:51:29 -07:00
|
|
|
|
2009-03-13 09:35:16 -07:00
|
|
|
# The first call to PKG_CHECK_MODULES is done conditionally,
|
|
|
|
# so we should include this here:
|
|
|
|
PKG_PROG_PKG_CONFIG
|
2007-11-05 11:21:16 -08:00
|
|
|
|
|
|
|
|
2009-03-13 09:35:16 -07:00
|
|
|
### Checks for libraries
|
2007-11-05 11:21:16 -08:00
|
|
|
|
2009-03-13 09:35:16 -07:00
|
|
|
# Evil library for compilation on Windows
|
|
|
|
|
|
|
|
case "$host_os" in
|
|
|
|
mingw* | cegcc*)
|
|
|
|
PKG_CHECK_MODULES([EVIL], [evil])
|
|
|
|
AC_DEFINE(HAVE_EVIL, 1, [Set to 1 if Evil library is installed])
|
|
|
|
requirements_ecore="evil ${requirements_ecore}"
|
|
|
|
requirements_ecore_evas="evil ${requirements_ecore_evas}"
|
|
|
|
requirements_ecore_file="evil ${requirements_ecore_file}"
|
|
|
|
requirements_ecore_imf="evil ${requirements_ecore_imf}"
|
|
|
|
requirements_ecore_imf_evas="evil ${requirements_ecore_imf_evas}"
|
|
|
|
requirements_ecore_job="evil ${requirements_ecore_job}"
|
|
|
|
requirements_ecore_txt="evil ${requirements_ecore_txt}"
|
|
|
|
EFL_ECORE_BUILD="-DEFL_ECORE_BUILD"
|
|
|
|
EFL_ECORE_JOB_BUILD="-DEFL_ECORE_JOB_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"
|
2009-03-19 10:40:51 -07:00
|
|
|
EFL_ECORE_INPUT_BUILD="-DEFL_ECORE_INPUT_BUILD"
|
2009-03-13 09:35:16 -07:00
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|
|
|
|
have_win32=""
|
|
|
|
have_wince=""
|
|
|
|
case "$host_os" in
|
|
|
|
mingw32ce* | cegcc*)
|
|
|
|
EFL_ECORE_WINCE_BUILD="-DEFL_ECORE_WINCE_BUILD"
|
|
|
|
requirements_ecore_wince="evil ${requirements_ecore_wince}"
|
|
|
|
have_wince="yes"
|
|
|
|
;;
|
|
|
|
mingw*)
|
|
|
|
EFL_ECORE_WIN32_BUILD="-DEFL_ECORE_WIN32_BUILD"
|
|
|
|
EFL_ECORE_SDL_BUILD="-DEFL_ECORE_SDL_BUILD"
|
|
|
|
requirements_ecore_win32="evil ${requirements_ecore_win32}"
|
|
|
|
requirements_ecore_sdl="evil ${requirements_ecore_sdl}"
|
|
|
|
have_win32="yes"
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|
|
|
|
AC_SUBST(EFL_ECORE_BUILD)
|
|
|
|
AC_SUBST(EFL_ECORE_JOB_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)
|
2009-03-19 10:40:51 -07:00
|
|
|
AC_SUBST(EFL_ECORE_INPUT_BUILD)
|
2009-03-13 09:35:16 -07:00
|
|
|
AC_SUBST(EFL_ECORE_WINCE_BUILD)
|
|
|
|
AC_SUBST(EFL_ECORE_WIN32_BUILD)
|
|
|
|
AC_SUBST(EFL_ECORE_SDL_BUILD)
|
|
|
|
|
|
|
|
AM_CONDITIONAL(ECORE_HAVE_WINCE, test "x${have_wince}" = "xyes")
|
|
|
|
AM_CONDITIONAL(ECORE_HAVE_WIN32, test "x${have_win32}" = "xyes")
|
|
|
|
|
|
|
|
WIN32_LIBS=""
|
|
|
|
case "$host_os" in
|
|
|
|
mingw32ce* | cegcc*)
|
|
|
|
WIN32_LIBS="-lws2"
|
|
|
|
dlopen_libs="-ldl"
|
|
|
|
;;
|
|
|
|
mingw*)
|
|
|
|
WIN32_LIBS="-lws2_32"
|
|
|
|
dlopen_libs="-ldl"
|
|
|
|
;;
|
|
|
|
*)
|
|
|
|
AC_CHECK_LIB(dl, dlopen, dlopen_libs=-ldl)
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
AC_SUBST(WIN32_LIBS)
|
|
|
|
AC_SUBST(dlopen_libs)
|
|
|
|
|
|
|
|
# Eina library
|
|
|
|
|
|
|
|
PKG_CHECK_MODULES(EINA, [eina-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_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}"
|
2009-03-19 10:40:51 -07:00
|
|
|
requirements_ecore_input="ecore eina-0 ${requirements_ecore_input}"
|
2009-03-13 09:35:16 -07:00
|
|
|
requirements_ecore_ipc="ecore eina-0 ${requirements_ecore_ipc}"
|
|
|
|
requirements_ecore_job="ecore eina-0 ${requirements_ecore_job}"
|
|
|
|
requirements_ecore_quartz="ecore eina-0 ${requirements_ecore_quartz}"
|
|
|
|
requirements_ecore_sdl="ecore eina-0 ${requirements_ecore_sdl}"
|
|
|
|
requirements_ecore_x="ecore eina-0 ${requirements_ecore_x}"
|
|
|
|
requirements_ecore_win32="ecore eina-0 ${requirements_ecore_win32}"
|
|
|
|
requirements_ecore_wince="ecore eina-0 ${requirements_ecore_wince}"
|
|
|
|
|
|
|
|
|
|
|
|
# iconv library (ecore_txt)
|
2007-11-05 11:21:16 -08:00
|
|
|
|
2005-10-28 20:30:23 -07:00
|
|
|
iconv_cflags=""
|
|
|
|
iconv_libs=""
|
2007-03-31 04:11:02 -07:00
|
|
|
have_iconv="no"
|
2009-03-13 09:35:16 -07:00
|
|
|
AC_ARG_WITH([iconv-link],
|
|
|
|
AC_HELP_STRING([--with-iconv-link=ICONV_LINK], [explicitly specify an iconv link option]),
|
|
|
|
[
|
2005-10-28 20:30:23 -07:00
|
|
|
iconv_libs=$withval
|
2007-03-31 04:11:02 -07:00
|
|
|
have_iconv="yes"
|
2009-03-13 09:35:16 -07:00
|
|
|
]
|
2005-09-05 01:40:50 -07:00
|
|
|
)
|
2004-11-07 18:48:12 -08:00
|
|
|
|
2009-03-13 09:35:16 -07:00
|
|
|
if test "x${have_iconv}" = "xno" ; then
|
|
|
|
AC_CHECK_LIB(c, iconv,
|
|
|
|
[have_iconv="yes"] )
|
2007-08-26 04:17:21 -07:00
|
|
|
|
2009-03-13 09:35:16 -07:00
|
|
|
if ! test "x${have_iconv}" = "xyes" ; then
|
|
|
|
AC_CHECK_LIB(iconv, iconv,
|
|
|
|
[
|
|
|
|
iconv_libs="-liconv"
|
|
|
|
have_iconv="yes"
|
|
|
|
])
|
|
|
|
fi
|
2008-12-09 05:31:38 -08:00
|
|
|
|
2009-03-13 09:35:16 -07:00
|
|
|
if test "x$have_iconv" != "xyes"; then
|
|
|
|
AC_CHECK_LIB(iconv_plug, iconv,
|
|
|
|
[
|
|
|
|
iconv_libs="-liconv -liconv_plug"
|
|
|
|
have_iconv="yes"
|
|
|
|
])
|
|
|
|
fi
|
2009-04-10 07:23:19 -07:00
|
|
|
|
|
|
|
# force the iconv library on mac os x
|
|
|
|
case "$host_os" in
|
|
|
|
darwin*)
|
|
|
|
iconv_libs="/usr/lib/libiconv.la"
|
|
|
|
have_iconv="yes"
|
|
|
|
;;
|
|
|
|
esac
|
2005-10-28 20:30:23 -07:00
|
|
|
fi
|
2007-11-05 08:51:04 -08:00
|
|
|
AC_MSG_CHECKING(for explicit iconv link options)
|
|
|
|
AC_MSG_RESULT($iconv_libs)
|
2003-12-15 20:57:42 -08:00
|
|
|
|
|
|
|
AC_SUBST(iconv_cflags)
|
|
|
|
AC_SUBST(iconv_libs)
|
|
|
|
|
2003-09-23 01:09:32 -07:00
|
|
|
|
2009-03-13 09:35:16 -07:00
|
|
|
# SDL library (ecore_sdl)
|
2007-11-05 11:54:24 -08:00
|
|
|
|
2009-03-13 09:35:16 -07:00
|
|
|
have_sdl="no"
|
|
|
|
SDL_CONFIG="sdl-config"
|
|
|
|
AC_ARG_WITH([sdl-config],
|
|
|
|
[AC_HELP_STRING([--with-sdl-config=PATH], [use sdl-config specified])],
|
|
|
|
[
|
|
|
|
SDL_CONFIG=$withval
|
|
|
|
AC_MSG_NOTICE([using ${SDL_CONFIG} for sdl-config])
|
|
|
|
])
|
|
|
|
|
|
|
|
AC_PATH_PROG([SDL_CONFIG], ["sdl-config"], [""], [$PATH])
|
|
|
|
|
|
|
|
if test -z "$SDL_CONFIG" ; then
|
|
|
|
SDL_CFLAGS=`$SDL_CONFIG --cflags`
|
|
|
|
SDL_LIBS=`$SDL_CONFIG --libs`
|
|
|
|
AC_SUBST(SDL_CFLAGS)
|
|
|
|
AC_SUBST(SDL_LIBS)
|
|
|
|
have_sdl="no"
|
|
|
|
else
|
2009-03-14 20:13:17 -07:00
|
|
|
PKG_CHECK_MODULES([SDL], [sdl >= 1.2.0], [have_sdl="yes"], [have_sdl="no"])
|
2009-03-13 09:35:16 -07:00
|
|
|
fi
|
2007-11-05 11:54:24 -08:00
|
|
|
|
2009-03-13 09:35:16 -07:00
|
|
|
if test "x${have_sdl}" = "xyes" ; then
|
|
|
|
PKG_CHECK_EXISTS([sdl >= 1.3.0],
|
|
|
|
[AC_DEFINE(BUILD_ECORE_EVAS_SDL_130, 1, [Support for SVN SDL])])
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
# DirectFB library (ecore_directfb)
|
|
|
|
|
|
|
|
PKG_CHECK_MODULES([DIRECTFB], [directfb >= 0.9.16],
|
|
|
|
[
|
|
|
|
have_directfb="yes"
|
|
|
|
requirements_ecore_directfb="evas ${requirements_ecore_directfb}"
|
|
|
|
],
|
|
|
|
[have_directfb="no"])
|
|
|
|
|
|
|
|
|
|
|
|
# Eet library (ecore_config)
|
|
|
|
|
|
|
|
PKG_CHECK_MODULES(EET, [eet >= 1.0.0],
|
|
|
|
[ have_eet="yes" ],
|
|
|
|
[ have_eet="no" ])
|
2007-12-18 21:54:29 -08:00
|
|
|
|
2009-03-13 09:35:16 -07:00
|
|
|
|
|
|
|
# Xlib and XCB (ecore_x)
|
2008-05-30 12:35:14 -07:00
|
|
|
|
2008-07-23 03:00:01 -07:00
|
|
|
have_x="no"
|
Here is ecore_x with XCB backend.
* The XCB backend is disabled by default during the
configuration. To enable it, add --enable-ecore-x-xcb. See the
messages that configure displays when it finishes.
* The way XCB is detected, and used in src/lib/ecore_x/Makefile.am
should be improved
* Any program that uses ecore_evas does not need to be modified.
Any program that uses ecore_x may need some changes. That is,
adding some functions (_prefetch and _fetch ones). No other
change is needed. See the documention of any _get functions, as
these are the ones that need those functions.
* There are some missing parts, especially everything that involves
the keyboard, as porting Xlib functions related to strings (utf8
stuff, XKeysymToString, etc...) is an horror. So keyboard events
are not working yet.
* I tried to write as much documentation as I could. But there is
certainly some missing doc here and there.
there are certainly other things that I have forgotten.
Improvements of that backend:
* the creation of an ecore_evas is faster. Especially when done over
an ssh connection (on my computer, 7-10s with Xlib, 1.5s with XCB,
over an ssh)
* A Window Manager should be more responsive. But it's not tomorrow
that e17 will use it :)
Have fun !
SVN revision: 29500
2007-04-13 10:15:19 -07:00
|
|
|
have_ecore_x="no"
|
2008-07-23 03:00:01 -07:00
|
|
|
have_ecore_x_xlib="no"
|
Here is ecore_x with XCB backend.
* The XCB backend is disabled by default during the
configuration. To enable it, add --enable-ecore-x-xcb. See the
messages that configure displays when it finishes.
* The way XCB is detected, and used in src/lib/ecore_x/Makefile.am
should be improved
* Any program that uses ecore_evas does not need to be modified.
Any program that uses ecore_x may need some changes. That is,
adding some functions (_prefetch and _fetch ones). No other
change is needed. See the documention of any _get functions, as
these are the ones that need those functions.
* There are some missing parts, especially everything that involves
the keyboard, as porting Xlib functions related to strings (utf8
stuff, XKeysymToString, etc...) is an horror. So keyboard events
are not working yet.
* I tried to write as much documentation as I could. But there is
certainly some missing doc here and there.
there are certainly other things that I have forgotten.
Improvements of that backend:
* the creation of an ecore_evas is faster. Especially when done over
an ssh connection (on my computer, 7-10s with Xlib, 1.5s with XCB,
over an ssh)
* A Window Manager should be more responsive. But it's not tomorrow
that e17 will use it :)
Have fun !
SVN revision: 29500
2007-04-13 10:15:19 -07:00
|
|
|
have_ecore_x_xcb="no"
|
|
|
|
|
2008-07-23 03:00:01 -07:00
|
|
|
x_dir="";
|
|
|
|
x_includes="";
|
|
|
|
x_cflags="";
|
|
|
|
x_libs="";
|
|
|
|
|
Here is ecore_x with XCB backend.
* The XCB backend is disabled by default during the
configuration. To enable it, add --enable-ecore-x-xcb. See the
messages that configure displays when it finishes.
* The way XCB is detected, and used in src/lib/ecore_x/Makefile.am
should be improved
* Any program that uses ecore_evas does not need to be modified.
Any program that uses ecore_x may need some changes. That is,
adding some functions (_prefetch and _fetch ones). No other
change is needed. See the documention of any _get functions, as
these are the ones that need those functions.
* There are some missing parts, especially everything that involves
the keyboard, as porting Xlib functions related to strings (utf8
stuff, XKeysymToString, etc...) is an horror. So keyboard events
are not working yet.
* I tried to write as much documentation as I could. But there is
certainly some missing doc here and there.
there are certainly other things that I have forgotten.
Improvements of that backend:
* the creation of an ecore_evas is faster. Especially when done over
an ssh connection (on my computer, 7-10s with Xlib, 1.5s with XCB,
over an ssh)
* A Window Manager should be more responsive. But it's not tomorrow
that e17 will use it :)
Have fun !
SVN revision: 29500
2007-04-13 10:15:19 -07:00
|
|
|
AC_ARG_ENABLE(ecore-x-xcb,
|
2009-03-13 09:35:16 -07:00
|
|
|
[AC_HELP_STRING([--enable-ecore-x-xcb],
|
|
|
|
[enable the ecore_x module with XCB backend. [[default=disabled]]])],
|
|
|
|
[want_ecore_x_xcb=$enableval],
|
|
|
|
[want_ecore_x_xcb="no"])
|
Here is ecore_x with XCB backend.
* The XCB backend is disabled by default during the
configuration. To enable it, add --enable-ecore-x-xcb. See the
messages that configure displays when it finishes.
* The way XCB is detected, and used in src/lib/ecore_x/Makefile.am
should be improved
* Any program that uses ecore_evas does not need to be modified.
Any program that uses ecore_x may need some changes. That is,
adding some functions (_prefetch and _fetch ones). No other
change is needed. See the documention of any _get functions, as
these are the ones that need those functions.
* There are some missing parts, especially everything that involves
the keyboard, as porting Xlib functions related to strings (utf8
stuff, XKeysymToString, etc...) is an horror. So keyboard events
are not working yet.
* I tried to write as much documentation as I could. But there is
certainly some missing doc here and there.
there are certainly other things that I have forgotten.
Improvements of that backend:
* the creation of an ecore_evas is faster. Especially when done over
an ssh connection (on my computer, 7-10s with Xlib, 1.5s with XCB,
over an ssh)
* A Window Manager should be more responsive. But it's not tomorrow
that e17 will use it :)
Have fun !
SVN revision: 29500
2007-04-13 10:15:19 -07:00
|
|
|
|
|
|
|
AC_MSG_CHECKING(whether ecore_x with XCB backend is to be built)
|
|
|
|
AC_MSG_RESULT($want_ecore_x_xcb)
|
|
|
|
|
|
|
|
if test "x$want_ecore_x_xcb" = "xyes" ; then
|
|
|
|
PKG_CHECK_MODULES(XCB, xcb xcb-icccm xcb-image xcb-keysyms,
|
|
|
|
[ have_ecore_x_xcb="yes" ],
|
|
|
|
[ have_ecore_x_xcb="no" ])
|
|
|
|
|
|
|
|
if test "x$have_ecore_x_xcb" = "xyes" ; then
|
2007-10-06 01:37:34 -07:00
|
|
|
PKG_CHECK_MODULES(XCB_COMPOSITE, xcb-composite,
|
|
|
|
[ have_ecore_x_xcb_composite="yes"
|
2008-07-23 03:00:01 -07:00
|
|
|
AC_DEFINE(ECORE_XCB_COMPOSITE, 1, [Build support for XCB composite]) ],
|
2007-10-06 01:37:34 -07:00
|
|
|
[ have_ecore_x_xcb_composite="no" ])
|
|
|
|
|
Here is ecore_x with XCB backend.
* The XCB backend is disabled by default during the
configuration. To enable it, add --enable-ecore-x-xcb. See the
messages that configure displays when it finishes.
* The way XCB is detected, and used in src/lib/ecore_x/Makefile.am
should be improved
* Any program that uses ecore_evas does not need to be modified.
Any program that uses ecore_x may need some changes. That is,
adding some functions (_prefetch and _fetch ones). No other
change is needed. See the documention of any _get functions, as
these are the ones that need those functions.
* There are some missing parts, especially everything that involves
the keyboard, as porting Xlib functions related to strings (utf8
stuff, XKeysymToString, etc...) is an horror. So keyboard events
are not working yet.
* I tried to write as much documentation as I could. But there is
certainly some missing doc here and there.
there are certainly other things that I have forgotten.
Improvements of that backend:
* the creation of an ecore_evas is faster. Especially when done over
an ssh connection (on my computer, 7-10s with Xlib, 1.5s with XCB,
over an ssh)
* A Window Manager should be more responsive. But it's not tomorrow
that e17 will use it :)
Have fun !
SVN revision: 29500
2007-04-13 10:15:19 -07:00
|
|
|
PKG_CHECK_MODULES(XCB_DAMAGE, xcb-damage,
|
|
|
|
[ have_ecore_x_xcb_damage="yes"
|
2008-07-23 03:00:01 -07:00
|
|
|
AC_DEFINE(ECORE_XCB_DAMAGE, 1, [Build support for XCB damage]) ],
|
Here is ecore_x with XCB backend.
* The XCB backend is disabled by default during the
configuration. To enable it, add --enable-ecore-x-xcb. See the
messages that configure displays when it finishes.
* The way XCB is detected, and used in src/lib/ecore_x/Makefile.am
should be improved
* Any program that uses ecore_evas does not need to be modified.
Any program that uses ecore_x may need some changes. That is,
adding some functions (_prefetch and _fetch ones). No other
change is needed. See the documention of any _get functions, as
these are the ones that need those functions.
* There are some missing parts, especially everything that involves
the keyboard, as porting Xlib functions related to strings (utf8
stuff, XKeysymToString, etc...) is an horror. So keyboard events
are not working yet.
* I tried to write as much documentation as I could. But there is
certainly some missing doc here and there.
there are certainly other things that I have forgotten.
Improvements of that backend:
* the creation of an ecore_evas is faster. Especially when done over
an ssh connection (on my computer, 7-10s with Xlib, 1.5s with XCB,
over an ssh)
* A Window Manager should be more responsive. But it's not tomorrow
that e17 will use it :)
Have fun !
SVN revision: 29500
2007-04-13 10:15:19 -07:00
|
|
|
[ have_ecore_x_xcb_damage="no" ])
|
|
|
|
|
|
|
|
PKG_CHECK_MODULES(XCB_DPMS, xcb-dpms,
|
|
|
|
[ have_ecore_x_xcb_dpms="yes"
|
2008-07-23 03:00:01 -07:00
|
|
|
AC_DEFINE(ECORE_XCB_DPMS, 1, [Build support for XCB dpms]) ],
|
Here is ecore_x with XCB backend.
* The XCB backend is disabled by default during the
configuration. To enable it, add --enable-ecore-x-xcb. See the
messages that configure displays when it finishes.
* The way XCB is detected, and used in src/lib/ecore_x/Makefile.am
should be improved
* Any program that uses ecore_evas does not need to be modified.
Any program that uses ecore_x may need some changes. That is,
adding some functions (_prefetch and _fetch ones). No other
change is needed. See the documention of any _get functions, as
these are the ones that need those functions.
* There are some missing parts, especially everything that involves
the keyboard, as porting Xlib functions related to strings (utf8
stuff, XKeysymToString, etc...) is an horror. So keyboard events
are not working yet.
* I tried to write as much documentation as I could. But there is
certainly some missing doc here and there.
there are certainly other things that I have forgotten.
Improvements of that backend:
* the creation of an ecore_evas is faster. Especially when done over
an ssh connection (on my computer, 7-10s with Xlib, 1.5s with XCB,
over an ssh)
* A Window Manager should be more responsive. But it's not tomorrow
that e17 will use it :)
Have fun !
SVN revision: 29500
2007-04-13 10:15:19 -07:00
|
|
|
[ have_ecore_x_xcb_dpms="no" ])
|
|
|
|
|
|
|
|
PKG_CHECK_MODULES(XCB_RANDR, xcb-randr,
|
|
|
|
[ have_ecore_x_xcb_randr="yes"
|
2008-07-23 03:00:01 -07:00
|
|
|
AC_DEFINE(ECORE_XCB_RANDR, 1, [Build support for XCB randr]) ],
|
Here is ecore_x with XCB backend.
* The XCB backend is disabled by default during the
configuration. To enable it, add --enable-ecore-x-xcb. See the
messages that configure displays when it finishes.
* The way XCB is detected, and used in src/lib/ecore_x/Makefile.am
should be improved
* Any program that uses ecore_evas does not need to be modified.
Any program that uses ecore_x may need some changes. That is,
adding some functions (_prefetch and _fetch ones). No other
change is needed. See the documention of any _get functions, as
these are the ones that need those functions.
* There are some missing parts, especially everything that involves
the keyboard, as porting Xlib functions related to strings (utf8
stuff, XKeysymToString, etc...) is an horror. So keyboard events
are not working yet.
* I tried to write as much documentation as I could. But there is
certainly some missing doc here and there.
there are certainly other things that I have forgotten.
Improvements of that backend:
* the creation of an ecore_evas is faster. Especially when done over
an ssh connection (on my computer, 7-10s with Xlib, 1.5s with XCB,
over an ssh)
* A Window Manager should be more responsive. But it's not tomorrow
that e17 will use it :)
Have fun !
SVN revision: 29500
2007-04-13 10:15:19 -07:00
|
|
|
[ have_ecore_x_xcb_randr="no" ])
|
|
|
|
|
|
|
|
PKG_CHECK_MODULES(XCB_RENDER, xcb-render,
|
|
|
|
[ have_ecore_x_xcb_render="yes"
|
2008-07-23 03:00:01 -07:00
|
|
|
AC_DEFINE(ECORE_XCB_RENDER, 1, [Build support for XCB render]) ],
|
Here is ecore_x with XCB backend.
* The XCB backend is disabled by default during the
configuration. To enable it, add --enable-ecore-x-xcb. See the
messages that configure displays when it finishes.
* The way XCB is detected, and used in src/lib/ecore_x/Makefile.am
should be improved
* Any program that uses ecore_evas does not need to be modified.
Any program that uses ecore_x may need some changes. That is,
adding some functions (_prefetch and _fetch ones). No other
change is needed. See the documention of any _get functions, as
these are the ones that need those functions.
* There are some missing parts, especially everything that involves
the keyboard, as porting Xlib functions related to strings (utf8
stuff, XKeysymToString, etc...) is an horror. So keyboard events
are not working yet.
* I tried to write as much documentation as I could. But there is
certainly some missing doc here and there.
there are certainly other things that I have forgotten.
Improvements of that backend:
* the creation of an ecore_evas is faster. Especially when done over
an ssh connection (on my computer, 7-10s with Xlib, 1.5s with XCB,
over an ssh)
* A Window Manager should be more responsive. But it's not tomorrow
that e17 will use it :)
Have fun !
SVN revision: 29500
2007-04-13 10:15:19 -07:00
|
|
|
[ have_ecore_x_xcb_render="no" ])
|
|
|
|
|
|
|
|
PKG_CHECK_MODULES(XCB_SCREENSAVER, xcb-screensaver,
|
|
|
|
[ have_ecore_x_xcb_screensaver="yes"
|
2008-07-23 03:00:01 -07:00
|
|
|
AC_DEFINE(ECORE_XCB_SCREENSAVER, 1, [Build support for XCB screensaver]) ],
|
Here is ecore_x with XCB backend.
* The XCB backend is disabled by default during the
configuration. To enable it, add --enable-ecore-x-xcb. See the
messages that configure displays when it finishes.
* The way XCB is detected, and used in src/lib/ecore_x/Makefile.am
should be improved
* Any program that uses ecore_evas does not need to be modified.
Any program that uses ecore_x may need some changes. That is,
adding some functions (_prefetch and _fetch ones). No other
change is needed. See the documention of any _get functions, as
these are the ones that need those functions.
* There are some missing parts, especially everything that involves
the keyboard, as porting Xlib functions related to strings (utf8
stuff, XKeysymToString, etc...) is an horror. So keyboard events
are not working yet.
* I tried to write as much documentation as I could. But there is
certainly some missing doc here and there.
there are certainly other things that I have forgotten.
Improvements of that backend:
* the creation of an ecore_evas is faster. Especially when done over
an ssh connection (on my computer, 7-10s with Xlib, 1.5s with XCB,
over an ssh)
* A Window Manager should be more responsive. But it's not tomorrow
that e17 will use it :)
Have fun !
SVN revision: 29500
2007-04-13 10:15:19 -07:00
|
|
|
[ have_ecore_x_xcb_screensaver="no" ])
|
|
|
|
|
|
|
|
PKG_CHECK_MODULES(XCB_SHAPE, xcb-shape,
|
|
|
|
[ have_ecore_x_xcb_shape="yes"
|
2008-07-23 03:00:01 -07:00
|
|
|
AC_DEFINE(ECORE_XCB_SHAPE, 1, [Build support for XCB shape]) ],
|
Here is ecore_x with XCB backend.
* The XCB backend is disabled by default during the
configuration. To enable it, add --enable-ecore-x-xcb. See the
messages that configure displays when it finishes.
* The way XCB is detected, and used in src/lib/ecore_x/Makefile.am
should be improved
* Any program that uses ecore_evas does not need to be modified.
Any program that uses ecore_x may need some changes. That is,
adding some functions (_prefetch and _fetch ones). No other
change is needed. See the documention of any _get functions, as
these are the ones that need those functions.
* There are some missing parts, especially everything that involves
the keyboard, as porting Xlib functions related to strings (utf8
stuff, XKeysymToString, etc...) is an horror. So keyboard events
are not working yet.
* I tried to write as much documentation as I could. But there is
certainly some missing doc here and there.
there are certainly other things that I have forgotten.
Improvements of that backend:
* the creation of an ecore_evas is faster. Especially when done over
an ssh connection (on my computer, 7-10s with Xlib, 1.5s with XCB,
over an ssh)
* A Window Manager should be more responsive. But it's not tomorrow
that e17 will use it :)
Have fun !
SVN revision: 29500
2007-04-13 10:15:19 -07:00
|
|
|
[ have_ecore_x_xcb_shape="no" ])
|
|
|
|
|
|
|
|
PKG_CHECK_MODULES(XCB_SYNC, xcb-sync,
|
|
|
|
[ have_ecore_x_xcb_sync="yes"
|
2008-07-23 03:00:01 -07:00
|
|
|
AC_DEFINE(ECORE_XCB_SYNC, 1, [Build support for XCB sync]) ],
|
Here is ecore_x with XCB backend.
* The XCB backend is disabled by default during the
configuration. To enable it, add --enable-ecore-x-xcb. See the
messages that configure displays when it finishes.
* The way XCB is detected, and used in src/lib/ecore_x/Makefile.am
should be improved
* Any program that uses ecore_evas does not need to be modified.
Any program that uses ecore_x may need some changes. That is,
adding some functions (_prefetch and _fetch ones). No other
change is needed. See the documention of any _get functions, as
these are the ones that need those functions.
* There are some missing parts, especially everything that involves
the keyboard, as porting Xlib functions related to strings (utf8
stuff, XKeysymToString, etc...) is an horror. So keyboard events
are not working yet.
* I tried to write as much documentation as I could. But there is
certainly some missing doc here and there.
there are certainly other things that I have forgotten.
Improvements of that backend:
* the creation of an ecore_evas is faster. Especially when done over
an ssh connection (on my computer, 7-10s with Xlib, 1.5s with XCB,
over an ssh)
* A Window Manager should be more responsive. But it's not tomorrow
that e17 will use it :)
Have fun !
SVN revision: 29500
2007-04-13 10:15:19 -07:00
|
|
|
[ have_ecore_x_xcb_sync="no" ])
|
|
|
|
|
|
|
|
PKG_CHECK_MODULES(XCB_XFIXES, xcb-xfixes,
|
|
|
|
[ have_ecore_x_xcb_xfixes="yes"
|
2008-07-23 03:00:01 -07:00
|
|
|
AC_DEFINE(ECORE_XCB_FIXES, 1, [Build support for XCB xfixes]) ],
|
Here is ecore_x with XCB backend.
* The XCB backend is disabled by default during the
configuration. To enable it, add --enable-ecore-x-xcb. See the
messages that configure displays when it finishes.
* The way XCB is detected, and used in src/lib/ecore_x/Makefile.am
should be improved
* Any program that uses ecore_evas does not need to be modified.
Any program that uses ecore_x may need some changes. That is,
adding some functions (_prefetch and _fetch ones). No other
change is needed. See the documention of any _get functions, as
these are the ones that need those functions.
* There are some missing parts, especially everything that involves
the keyboard, as porting Xlib functions related to strings (utf8
stuff, XKeysymToString, etc...) is an horror. So keyboard events
are not working yet.
* I tried to write as much documentation as I could. But there is
certainly some missing doc here and there.
there are certainly other things that I have forgotten.
Improvements of that backend:
* the creation of an ecore_evas is faster. Especially when done over
an ssh connection (on my computer, 7-10s with Xlib, 1.5s with XCB,
over an ssh)
* A Window Manager should be more responsive. But it's not tomorrow
that e17 will use it :)
Have fun !
SVN revision: 29500
2007-04-13 10:15:19 -07:00
|
|
|
[ have_ecore_x_xcb_xfixes="no" ])
|
|
|
|
|
|
|
|
PKG_CHECK_MODULES(XCB_XINERAMA, xcb-xinerama,
|
|
|
|
[ have_ecore_x_xcb_xinerama="yes"
|
2008-07-23 03:00:01 -07:00
|
|
|
AC_DEFINE(ECORE_XCB_XINERAMA, 1, [Build support for XCB xinerama]) ],
|
Here is ecore_x with XCB backend.
* The XCB backend is disabled by default during the
configuration. To enable it, add --enable-ecore-x-xcb. See the
messages that configure displays when it finishes.
* The way XCB is detected, and used in src/lib/ecore_x/Makefile.am
should be improved
* Any program that uses ecore_evas does not need to be modified.
Any program that uses ecore_x may need some changes. That is,
adding some functions (_prefetch and _fetch ones). No other
change is needed. See the documention of any _get functions, as
these are the ones that need those functions.
* There are some missing parts, especially everything that involves
the keyboard, as porting Xlib functions related to strings (utf8
stuff, XKeysymToString, etc...) is an horror. So keyboard events
are not working yet.
* I tried to write as much documentation as I could. But there is
certainly some missing doc here and there.
there are certainly other things that I have forgotten.
Improvements of that backend:
* the creation of an ecore_evas is faster. Especially when done over
an ssh connection (on my computer, 7-10s with Xlib, 1.5s with XCB,
over an ssh)
* A Window Manager should be more responsive. But it's not tomorrow
that e17 will use it :)
Have fun !
SVN revision: 29500
2007-04-13 10:15:19 -07:00
|
|
|
[ have_ecore_x_xcb_xinerama="no" ])
|
|
|
|
|
|
|
|
PKG_CHECK_MODULES(XCB_XPRINT, xcb-xprint,
|
|
|
|
[ have_ecore_x_xcb_xprint="yes"
|
2008-07-23 03:00:01 -07:00
|
|
|
AC_DEFINE(ECORE_XCB_XPRINT, 1, [Build support for XCB xprint]) ],
|
Here is ecore_x with XCB backend.
* The XCB backend is disabled by default during the
configuration. To enable it, add --enable-ecore-x-xcb. See the
messages that configure displays when it finishes.
* The way XCB is detected, and used in src/lib/ecore_x/Makefile.am
should be improved
* Any program that uses ecore_evas does not need to be modified.
Any program that uses ecore_x may need some changes. That is,
adding some functions (_prefetch and _fetch ones). No other
change is needed. See the documention of any _get functions, as
these are the ones that need those functions.
* There are some missing parts, especially everything that involves
the keyboard, as porting Xlib functions related to strings (utf8
stuff, XKeysymToString, etc...) is an horror. So keyboard events
are not working yet.
* I tried to write as much documentation as I could. But there is
certainly some missing doc here and there.
there are certainly other things that I have forgotten.
Improvements of that backend:
* the creation of an ecore_evas is faster. Especially when done over
an ssh connection (on my computer, 7-10s with Xlib, 1.5s with XCB,
over an ssh)
* A Window Manager should be more responsive. But it's not tomorrow
that e17 will use it :)
Have fun !
SVN revision: 29500
2007-04-13 10:15:19 -07:00
|
|
|
[ have_ecore_x_xcb_xprint="no" ])
|
|
|
|
|
2008-03-28 07:38:35 -07:00
|
|
|
PKG_CHECK_MODULES(XCB_XTEST, xcb-xtest,
|
|
|
|
[ have_ecore_x_xcb_xtest="yes"
|
2008-07-23 03:00:01 -07:00
|
|
|
AC_DEFINE(ECORE_XCB_XTEST, 1, [Build support for XCB xtest]) ],
|
2008-03-28 07:38:35 -07:00
|
|
|
[ have_ecore_x_xcb_xtest="no" ])
|
|
|
|
|
2008-07-23 03:00:01 -07:00
|
|
|
AC_DEFINE(HAVE_ECORE_X_XCB, 1, [Defined to 1 if XCB is enabled.])
|
|
|
|
|
|
|
|
x_cflags=$XCB_CFLAGS
|
|
|
|
x_libs=$XCB_LIBS
|
|
|
|
have_x="yes"
|
Here is ecore_x with XCB backend.
* The XCB backend is disabled by default during the
configuration. To enable it, add --enable-ecore-x-xcb. See the
messages that configure displays when it finishes.
* The way XCB is detected, and used in src/lib/ecore_x/Makefile.am
should be improved
* Any program that uses ecore_evas does not need to be modified.
Any program that uses ecore_x may need some changes. That is,
adding some functions (_prefetch and _fetch ones). No other
change is needed. See the documention of any _get functions, as
these are the ones that need those functions.
* There are some missing parts, especially everything that involves
the keyboard, as porting Xlib functions related to strings (utf8
stuff, XKeysymToString, etc...) is an horror. So keyboard events
are not working yet.
* I tried to write as much documentation as I could. But there is
certainly some missing doc here and there.
there are certainly other things that I have forgotten.
Improvements of that backend:
* the creation of an ecore_evas is faster. Especially when done over
an ssh connection (on my computer, 7-10s with Xlib, 1.5s with XCB,
over an ssh)
* A Window Manager should be more responsive. But it's not tomorrow
that e17 will use it :)
Have fun !
SVN revision: 29500
2007-04-13 10:15:19 -07:00
|
|
|
|
|
|
|
have_ecore_x_xcb_define="-DHAVE_ECORE_X_XCB"
|
|
|
|
AC_SUBST(have_ecore_x_xcb_define)
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
2008-07-23 03:00:01 -07:00
|
|
|
if ! test "x$have_ecore_x_xcb" = "xyes" ; then
|
2007-11-05 08:51:04 -08:00
|
|
|
AC_PATH_XTRA
|
|
|
|
AC_CHECK_HEADER(X11/X.h,
|
2005-09-05 01:40:50 -07:00
|
|
|
[
|
2007-12-18 21:54:29 -08:00
|
|
|
if test "x$want_evas_simple_x11" = "xyes"; then
|
|
|
|
x_libs="${x_libs} -lX11 -lXext"
|
|
|
|
else
|
|
|
|
x_dir=${x_dir:-/usr/X11R6}
|
|
|
|
x_cflags=${x_cflags:--I${x_includes:-$x_dir/include}}
|
|
|
|
x_libs="${x_libs:--L${x_libraries:-$x_dir/lib}} -lX11 -lXext"
|
|
|
|
fi
|
2008-07-23 03:00:01 -07:00
|
|
|
have_ecore_x_xlib="yes"
|
2005-09-05 01:40:50 -07:00
|
|
|
]
|
|
|
|
)
|
2008-05-30 12:35:14 -07:00
|
|
|
|
2008-07-23 03:00:01 -07:00
|
|
|
if test "x$have_ecore_x_xlib" = "xyes"; then
|
2007-11-05 08:51:04 -08:00
|
|
|
Xcursor_libs=""
|
|
|
|
Xcursor_cflags=""
|
|
|
|
use_Xcursor="no"
|
|
|
|
PCFLAGS=$CFLAGS
|
2008-03-10 22:12:47 -07:00
|
|
|
CFLAGS="$x_cflags $x_includes"
|
2007-11-05 08:51:04 -08:00
|
|
|
AC_CHECK_HEADER(X11/Xcursor/Xcursor.h,
|
|
|
|
[
|
|
|
|
AC_CHECK_LIB(Xcursor, XcursorImageLoadCursor,
|
|
|
|
[
|
|
|
|
AC_DEFINE(ECORE_XCURSOR, 1, [Build support for Xcursor])
|
|
|
|
Xcursor_cflags=""
|
|
|
|
Xcursor_libs="-lXcursor"
|
|
|
|
use_Xcursor="yes"
|
|
|
|
], [
|
|
|
|
Xcursor_cflags=""
|
|
|
|
Xcursor_libs=""
|
|
|
|
use_Xcursor="no"
|
|
|
|
], [
|
|
|
|
$x_libs -lXrender
|
|
|
|
]
|
|
|
|
)
|
|
|
|
], [
|
|
|
|
Xcursor_cflags=""
|
|
|
|
Xcursor_libs=""
|
|
|
|
use_Xcursor="no"
|
|
|
|
], [
|
|
|
|
#include <X11/Xlib.h>
|
|
|
|
]
|
|
|
|
)
|
|
|
|
CFLAGS=$PCFLAGS
|
2008-05-30 12:35:14 -07:00
|
|
|
|
2007-11-05 08:51:04 -08:00
|
|
|
AC_SUBST(Xcursor_cflags)
|
|
|
|
AC_SUBST(Xcursor_libs)
|
2008-05-30 12:35:14 -07:00
|
|
|
|
2009-03-13 09:35:16 -07:00
|
|
|
ECORE_CHECK_X_EXTENSION([Xkb], [XKB.h], [X11], [XkbSetDetectableAutoRepeat])
|
2007-11-05 08:51:04 -08:00
|
|
|
ECORE_CHECK_X_EXTENSION([Xcomposite], [Xcomposite.h], [Xcomposite], [XCompositeQueryExtension])
|
|
|
|
ECORE_CHECK_X_EXTENSION([Xdamage], [Xdamage.h], [Xdamage], [XDamageSubtract])
|
|
|
|
ECORE_CHECK_X_EXTENSION([Xdpms], [dpms.h], [Xdpms], [DPMSQueryExtension])
|
|
|
|
if test "x$use_xdpms" = "xno" ; then
|
|
|
|
ECORE_CHECK_X_EXTENSION([Xdpms], [dpms.h], [Xext], [DPMSQueryExtension])
|
|
|
|
fi
|
|
|
|
ECORE_CHECK_X_EXTENSION([Xfixes], [Xfixes.h], [Xfixes], [XFixesExpandRegion])
|
|
|
|
ECORE_CHECK_X_EXTENSION([Xinerama], [Xinerama.h], [Xinerama], [XineramaQueryScreens])
|
|
|
|
ECORE_CHECK_X_EXTENSION([Xprint], [Print.h], [Xp], [XpQueryScreens])
|
|
|
|
ECORE_CHECK_X_EXTENSION([Xrandr], [Xrandr.h], [Xrandr], [XRRSizes])
|
|
|
|
ECORE_CHECK_X_EXTENSION([Xrender], [Xrender.h], [Xrender], [XRenderFindVisualFormat])
|
2008-03-28 07:38:35 -07:00
|
|
|
ECORE_CHECK_X_EXTENSION([Xtest], [XTest.h], [Xtst], [XTestFakeKeyEvent])
|
2007-11-05 08:51:04 -08:00
|
|
|
ECORE_CHECK_X_EXTENSION([Xss], [scrnsaver.h], [Xss], [XScreenSaverSelectInput])
|
2008-07-23 03:00:01 -07:00
|
|
|
|
|
|
|
AC_DEFINE(HAVE_ECORE_X_XLIB, 1, [Defined to 1 if Xlib is enabled.])
|
|
|
|
have_x="yes"
|
|
|
|
|
|
|
|
have_ecore_x_xlib="yes"
|
2007-03-15 15:21:28 -07:00
|
|
|
fi
|
Here is ecore_x with XCB backend.
* The XCB backend is disabled by default during the
configuration. To enable it, add --enable-ecore-x-xcb. See the
messages that configure displays when it finishes.
* The way XCB is detected, and used in src/lib/ecore_x/Makefile.am
should be improved
* Any program that uses ecore_evas does not need to be modified.
Any program that uses ecore_x may need some changes. That is,
adding some functions (_prefetch and _fetch ones). No other
change is needed. See the documention of any _get functions, as
these are the ones that need those functions.
* There are some missing parts, especially everything that involves
the keyboard, as porting Xlib functions related to strings (utf8
stuff, XKeysymToString, etc...) is an horror. So keyboard events
are not working yet.
* I tried to write as much documentation as I could. But there is
certainly some missing doc here and there.
there are certainly other things that I have forgotten.
Improvements of that backend:
* the creation of an ecore_evas is faster. Especially when done over
an ssh connection (on my computer, 7-10s with Xlib, 1.5s with XCB,
over an ssh)
* A Window Manager should be more responsive. But it's not tomorrow
that e17 will use it :)
Have fun !
SVN revision: 29500
2007-04-13 10:15:19 -07:00
|
|
|
fi
|
|
|
|
|
2008-07-23 03:00:01 -07:00
|
|
|
AC_SUBST(x_cflags)
|
|
|
|
AC_SUBST(x_includes)
|
|
|
|
AC_SUBST(x_libs)
|
|
|
|
|
2009-03-13 09:35:16 -07:00
|
|
|
AM_CONDITIONAL(BUILD_ECORE_X_XLIB, test $have_ecore_x_xlib = yes)
|
|
|
|
AM_CONDITIONAL(BUILD_ECORE_X_XCB, test $have_ecore_x_xcb = yes)
|
2008-07-23 03:00:01 -07:00
|
|
|
|
2008-05-30 12:35:14 -07:00
|
|
|
|
2009-03-13 09:35:16 -07:00
|
|
|
# Evas library (ecore_evas and ecore_imf_evas)
|
2007-03-23 16:04:32 -07:00
|
|
|
|
2009-03-13 09:35:16 -07:00
|
|
|
PKG_CHECK_MODULES([EVAS], [evas >= 0.9.9],
|
|
|
|
[
|
|
|
|
have_evas="yes"
|
|
|
|
requirements_ecore_evas="evas ${requirements_ecore_evas}"
|
|
|
|
],
|
|
|
|
[have_evas="no"])
|
2008-05-30 12:35:14 -07:00
|
|
|
|
|
|
|
|
2009-03-13 09:35:16 -07:00
|
|
|
### Checks for header files
|
2007-06-21 15:49:36 -07:00
|
|
|
|
2009-03-13 09:35:16 -07:00
|
|
|
AC_HEADER_SYS_WAIT
|
2007-11-05 12:23:39 -08:00
|
|
|
|
2009-03-13 09:35:16 -07:00
|
|
|
case "$host_os" in
|
|
|
|
mingw* | cegcc*)
|
|
|
|
AC_DEFINE(HAVE_DLFCN_H, 1, [Define to 1 if you have the <dlfcn.h> header file.])
|
|
|
|
AC_DEFINE(HAVE_SYS_MMAN_H, 1, [Define to 1 if you have the <sys/mman.h> header file.])
|
|
|
|
AC_DEFINE(HAVE_SYS_TIME_H, 1, [Define to 1 if you have the <sys/time.h> header file.])
|
|
|
|
;;
|
|
|
|
*)
|
|
|
|
AC_CHECK_HEADERS([dlfcn.h features.h langinfo.h locale.h netdb.h netinet/in.h sys/time.h sys/mman.h signal.h sys/resource.h])
|
|
|
|
;;
|
|
|
|
esac
|
2008-05-30 12:35:14 -07:00
|
|
|
|
2009-03-13 09:35:16 -07:00
|
|
|
# Framebuffer (ecore_fb)
|
|
|
|
have_fb="no"
|
|
|
|
AC_CHECK_HEADER([linux/fb.h],
|
|
|
|
[AC_CHECK_HEADER([linux/input.h], [have_fb="yes"])])
|
2008-07-23 03:00:01 -07:00
|
|
|
|
2009-03-13 09:35:16 -07:00
|
|
|
# Quartz header files (ecore_quartz)
|
2008-07-23 03:00:01 -07:00
|
|
|
|
2009-04-09 23:31:58 -07:00
|
|
|
quartz_ldflags="";
|
2009-03-13 09:35:16 -07:00
|
|
|
have_quartz="no"
|
|
|
|
|
2009-04-09 23:31:58 -07:00
|
|
|
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])
|
|
|
|
fi
|
|
|
|
|
|
|
|
AC_SUBST(quartz_ldflags)
|
2009-03-13 09:35:16 -07:00
|
|
|
|
|
|
|
### Checks for types
|
|
|
|
AC_CHECK_SIZEOF(int, 4)
|
|
|
|
AC_CHECK_SIZEOF(long, 4)
|
2008-07-16 23:06:34 -07:00
|
|
|
|
2008-07-23 03:00:01 -07:00
|
|
|
|
2009-03-13 09:35:16 -07:00
|
|
|
### Checks for structures
|
2007-06-21 15:49:36 -07:00
|
|
|
|
2007-11-21 04:16:16 -08:00
|
|
|
|
2009-03-13 09:35:16 -07:00
|
|
|
### Checks for compiler characteristics
|
|
|
|
AM_PROG_CC_STDC
|
|
|
|
AC_C_CONST
|
|
|
|
AC_C_BIGENDIAN
|
|
|
|
AC_HEADER_STDC
|
|
|
|
AC_C___ATTRIBUTE__
|
2007-11-05 11:54:24 -08:00
|
|
|
|
2009-03-13 09:35:16 -07:00
|
|
|
WIN32_CPPFLAGS=""
|
|
|
|
WIN32_CFLAGS=""
|
|
|
|
case "$host_os" in
|
|
|
|
mingw32ce*)
|
|
|
|
WIN32_CPPFLAGS="-D_WIN32_WCE=0x0420"
|
|
|
|
;;
|
|
|
|
cegcc*)
|
|
|
|
WIN32_CPPFLAGS="-D_WIN32_WCE=0x0420"
|
|
|
|
WIN32_CFLAGS="-mwin32"
|
|
|
|
;;
|
|
|
|
mingw*)
|
|
|
|
WIN32_CPPFLAGS="-D_WIN32_WINNT=0x0500"
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
AC_SUBST(WIN32_CPPFLAGS)
|
|
|
|
AC_SUBST(WIN32_CFLAGS)
|
2008-07-16 23:06:34 -07:00
|
|
|
|
|
|
|
|
2009-03-13 09:35:16 -07:00
|
|
|
### Checks for linker characteristics
|
2008-07-16 23:06:34 -07:00
|
|
|
|
2009-03-13 09:35:16 -07:00
|
|
|
# use --enable-auto-import on Windows
|
2007-11-05 12:03:28 -08:00
|
|
|
|
2009-03-13 09:35:16 -07:00
|
|
|
lt_enable_auto_import=""
|
|
|
|
case "$host_os" in
|
|
|
|
mingw* | cegcc*)
|
|
|
|
lt_enable_auto_import="-Wl,--enable-auto-import"
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
AC_SUBST(lt_enable_auto_import)
|
2008-05-30 22:05:01 -07:00
|
|
|
|
2009-03-13 09:35:16 -07:00
|
|
|
### Checks for library functions
|
|
|
|
AC_FUNC_ALLOCA
|
|
|
|
AC_CHECK_FUNCS(gettimeofday strlcpy)
|
2008-06-06 06:57:03 -07:00
|
|
|
|
2009-04-11 00:10:12 -07:00
|
|
|
have_atfile_source=auto
|
|
|
|
AC_ARG_ENABLE(atfile-source,
|
|
|
|
AC_HELP_STRING([--disable-atfile-source],
|
|
|
|
[disable use of atfile source functions as openat and mkdirat @<:@default=detect@:>@]),
|
|
|
|
[have_atfile_source=$enableval], [have_atfile_source=auto])
|
|
|
|
|
|
|
|
if test "x$have_atfile_source" != "xno"; then
|
|
|
|
AC_CHECK_FUNCS(mkdirat,
|
|
|
|
[
|
|
|
|
have_atfile_source=yes
|
|
|
|
AC_DEFINE(HAVE_ATFILE_SOURCE, 1, [mkdirat exists])
|
|
|
|
],
|
|
|
|
[
|
|
|
|
if test "x$have_atfile_source" = "xyes"; then
|
|
|
|
AC_MSG_ERROR([required atfile-source but no mkdirat()])
|
|
|
|
fi
|
|
|
|
have_atfile_source=no
|
|
|
|
])
|
|
|
|
fi
|
2008-05-30 22:05:01 -07:00
|
|
|
|
2009-03-13 09:35:16 -07:00
|
|
|
### Ecore modules
|
2007-11-05 11:54:24 -08:00
|
|
|
|
2009-03-13 09:35:16 -07:00
|
|
|
## Core modules
|
|
|
|
|
|
|
|
# ecore_job
|
|
|
|
ECORE_CHECK_MODULE([Job], [${want_ecore_job}])
|
|
|
|
|
|
|
|
# ecore_txt
|
|
|
|
ECORE_CHECK_MODULE([Txt], [${want_ecore_txt}], [$have_iconv],
|
|
|
|
[ecore_txt_libs="$ecore_txt_libs $iconv_libs"])
|
|
|
|
|
|
|
|
# ecore_con
|
|
|
|
ECORE_CHECK_MODULE([Con], [${want_ecore_con}])
|
|
|
|
|
|
|
|
have_curl="no"
|
|
|
|
have_gnutls="no"
|
|
|
|
have_openssl="no"
|
|
|
|
if test "x${have_ecore_con}" = "xyes" ; then
|
|
|
|
requirements_ecore_con="ecore ${requirements_ecore_con}"
|
2008-05-30 12:35:14 -07:00
|
|
|
|
2009-03-13 09:35:16 -07:00
|
|
|
ECORE_CHECK_CURL([${want_curl}],
|
2007-11-05 11:54:24 -08:00
|
|
|
[
|
2009-03-13 09:35:16 -07:00
|
|
|
requirements_ecore_con="libcurl ${requirements_ecore_con}"
|
|
|
|
have_curl="yes"
|
|
|
|
],
|
|
|
|
[have_curl="no"])
|
|
|
|
|
|
|
|
ECORE_CHECK_GNUTLS([${want_gnutls}],
|
|
|
|
[have_gnutls="yes"],
|
|
|
|
[have_gnutls="no"])
|
|
|
|
|
|
|
|
ECORE_CHECK_OPENSSL([${want_openssl}],
|
|
|
|
[have_openssl="yes"],
|
|
|
|
[have_openssl="no"])
|
|
|
|
|
|
|
|
if test "x${have_gnutls}" = "xyes" ; then
|
|
|
|
requirements_ecore_con="gnutls ${requirements_ecore_con}"
|
|
|
|
# no need to add it to req_ecore_ipc, since they
|
|
|
|
# depends on ecore_con anyway.
|
|
|
|
else
|
|
|
|
if test "x${have_openssl}" = "xyes" ; then
|
|
|
|
requirements_ecore_con="openssl ${requirements_ecore_con}"
|
|
|
|
# no need to add it to req_ecore_ipc, since they
|
|
|
|
# depends on ecore_con anyway.
|
|
|
|
fi
|
|
|
|
fi
|
2005-10-15 03:37:37 -07:00
|
|
|
fi
|
|
|
|
|
2009-03-13 09:35:16 -07:00
|
|
|
# ecore_ipc
|
|
|
|
ECORE_CHECK_MODULE([Ipc], [${want_ecore_ipc}], [$have_ecore_con],
|
|
|
|
[requirements_ecore_ipc="ecore-con ${requirements_ecore_ipc}"])
|
|
|
|
|
|
|
|
# ecore_file
|
|
|
|
ECORE_CHECK_MODULE([File], [${want_ecore_file}])
|
|
|
|
|
|
|
|
have_poll="no"
|
|
|
|
have_inotify="no"
|
|
|
|
if test "x${have_ecore_file}" = "xyes" ; then
|
|
|
|
ECORE_CHECK_POLL([${want_poll}], [have_poll="yes"], [have_poll="no"])
|
|
|
|
ECORE_CHECK_INOTIFY([${want_inotify}], [have_inotify="yes"], [have_inotify="no"])
|
|
|
|
|
|
|
|
if test "x${have_ecore_con}" = "xyes" ; then
|
|
|
|
requirements_ecore_file="${requirements_ecore_con} ${requirements_ecore_file}"
|
|
|
|
fi
|
2007-11-05 11:54:24 -08:00
|
|
|
fi
|
2008-05-30 12:35:14 -07:00
|
|
|
|
2009-03-13 09:35:16 -07:00
|
|
|
# ecore_config
|
|
|
|
ecore_config_deps="no"
|
|
|
|
if test "x$have_eet" = "xyes" -a "x$have_ecore_ipc" = "xyes" ; then
|
|
|
|
ecore_config_deps="yes"
|
2003-12-15 21:54:46 -08:00
|
|
|
fi
|
|
|
|
|
2009-03-13 09:35:16 -07:00
|
|
|
ECORE_CHECK_MODULE([Config], [${want_ecore_config}], [$ecore_config_deps],
|
|
|
|
[requirements_ecore_config="ecore-ipc eet ecore ${requirements_ecore_config}"])
|
2008-03-10 22:12:47 -07:00
|
|
|
|
2009-03-13 09:35:16 -07:00
|
|
|
# ecore_imf
|
|
|
|
|
|
|
|
ECORE_CHECK_MODULE([IMF], [${want_ecore_imf}])
|
|
|
|
|
|
|
|
# ecore_imf_evas
|
|
|
|
|
|
|
|
ecore_imf_evas_deps="no"
|
|
|
|
if test "x${have_ecore_imf}" = "xyes" -a "x${have_evas}" = "xyes" ; then
|
|
|
|
ecore_imf_evas_deps="yes"
|
2007-07-16 00:23:11 -07:00
|
|
|
fi
|
|
|
|
|
2009-03-13 09:35:16 -07:00
|
|
|
ECORE_CHECK_MODULE([IMF_EVAS], [${want_ecore_imf}], [${ecore_imf_evas_deps}],
|
2009-03-19 10:40:51 -07:00
|
|
|
[requirements_ecore_imf_evas="ecore-imf evas ${requirements_ecore_imf_evas}"])
|
|
|
|
|
|
|
|
# ecore_input
|
|
|
|
ECORE_CHECK_MODULE([Input], [${want_ecore_input}], [${have_evas}],
|
|
|
|
[requirements_ecore_input="evas ${requirements_ecore_input}"])
|
2008-09-19 19:08:50 -07:00
|
|
|
|
2009-03-13 09:35:16 -07:00
|
|
|
## Graphic systems
|
|
|
|
|
|
|
|
# ecore_x{cb}
|
|
|
|
|
2009-03-19 10:40:51 -07:00
|
|
|
ecore_x_deps="no"
|
2009-04-10 03:40:12 -07:00
|
|
|
if test "x${have_x}" = "xyes" -a \
|
|
|
|
"x${have_ecore_input}" = "xyes" -a \
|
2009-04-10 03:32:50 -07:00
|
|
|
"x${have_ecore_txt}" = "xyes" ; then
|
2009-03-19 10:40:51 -07:00
|
|
|
ecore_x_deps="yes"
|
|
|
|
fi
|
|
|
|
|
|
|
|
ECORE_CHECK_MODULE([X], [${want_ecore_x}], [${ecore_x_deps}],
|
|
|
|
[
|
|
|
|
ecore_x_libs="$ecore_x_libs $x_libs"
|
2009-04-10 03:32:50 -07:00
|
|
|
requirements_ecore_x="ecore-input ecore-txt ${requirements_ecore_x}"
|
2009-03-19 10:40:51 -07:00
|
|
|
])
|
2009-03-13 09:35:16 -07:00
|
|
|
|
|
|
|
# ecore_win32
|
|
|
|
|
|
|
|
ECORE_CHECK_MODULE([Win32], [${want_ecore_win32}], [yes],
|
|
|
|
[ecore_win32_libs="-lole32 -lgdi32"])
|
|
|
|
AC_SUBST(ecore_win32_libs)
|
|
|
|
|
|
|
|
# ecore_quartz
|
|
|
|
|
|
|
|
ECORE_CHECK_MODULE([QUARTZ], [${want_ecore_quartz}], [$have_quartz])
|
|
|
|
|
|
|
|
# ecore_sdl
|
|
|
|
|
2009-03-19 10:40:51 -07:00
|
|
|
ecore_sdl_deps="no"
|
|
|
|
if test "x${have_sdl}" = "xyes" -a "x${have_ecore_input}" = "xyes" ; then
|
|
|
|
ecore_sdl_deps="yes"
|
|
|
|
fi
|
|
|
|
|
|
|
|
ECORE_CHECK_MODULE([SDL], [${want_ecore_sdl}], [${ecore_sdl_deps}],
|
2009-03-19 11:40:21 -07:00
|
|
|
[requirements_ecore_sdl="ecore-input ${requirements_ecore_sdl}"])
|
2009-03-13 09:35:16 -07:00
|
|
|
|
|
|
|
# ecore_fb
|
|
|
|
ECORE_CHECK_MODULE([FB], [${want_ecore_fb}], [$have_fb])
|
|
|
|
|
|
|
|
if test "x${have_ecore_fb}" = "xyes" ; then
|
|
|
|
ECORE_CHECK_TSLIB([${want_tslib}], [have_tslib="no"], [have_tslib="no"])
|
2008-09-19 19:08:50 -07:00
|
|
|
fi
|
|
|
|
|
2009-03-13 09:35:16 -07:00
|
|
|
# ecore_directfb
|
2005-01-08 10:40:32 -08:00
|
|
|
|
2009-03-13 09:35:16 -07:00
|
|
|
ECORE_CHECK_MODULE([DirectFB], [${want_ecore_directfb}], [${have_directfb}],
|
|
|
|
[requirements_ecore_directfb="directfb ${requirements_ecore_directfb}"])
|
|
|
|
|
|
|
|
# ecore_wince
|
|
|
|
|
|
|
|
ECORE_CHECK_MODULE([WinCE], [${want_ecore_wince}])
|
|
|
|
|
|
|
|
## Ecore Evas
|
|
|
|
|
|
|
|
# ecore_evas
|
|
|
|
|
2009-03-19 10:40:51 -07:00
|
|
|
ECORE_CHECK_MODULE([Evas], [${want_ecore_evas}], [$have_ecore_input],
|
2009-03-19 11:40:21 -07:00
|
|
|
[requirements_ecore_evas="ecore-input ${requirements_ecore_evas}"])
|
2009-03-13 09:35:16 -07:00
|
|
|
|
|
|
|
# ecore_evas_buffer
|
|
|
|
|
|
|
|
ECORE_EVAS_CHECK_MODULE([software-buffer],
|
|
|
|
[${want_ecore_evas_software_buffer}],
|
|
|
|
[Software Buffer],
|
|
|
|
[yes])
|
|
|
|
|
|
|
|
# ecore_evas_x11
|
|
|
|
|
|
|
|
# ecore_evas_software_x11
|
|
|
|
|
|
|
|
ecore_evas_xlib_deps="no"
|
|
|
|
if test "x${have_ecore_x}" = "xyes" -a "x${have_ecore_x_xlib}" = "xyes" ; then
|
|
|
|
ecore_evas_xlib_deps="yes"
|
2005-01-08 10:40:32 -08:00
|
|
|
fi
|
|
|
|
|
2009-03-13 09:35:16 -07:00
|
|
|
ECORE_EVAS_CHECK_MODULE([software-x11],
|
|
|
|
[${want_ecore_evas_software_x11}],
|
|
|
|
[Software Xlib],
|
|
|
|
[${ecore_evas_xlib_deps}])
|
2007-08-26 04:17:21 -07:00
|
|
|
|
2009-03-13 09:35:16 -07:00
|
|
|
# ecore_evas_xrender_x11
|
2007-08-26 04:17:21 -07:00
|
|
|
|
2009-03-13 09:35:16 -07:00
|
|
|
ECORE_EVAS_CHECK_MODULE([xrender-x11],
|
|
|
|
[${want_ecore_evas_xrender_x11}],
|
|
|
|
[XRender Xlib],
|
|
|
|
[${ecore_evas_xlib_deps}])
|
|
|
|
|
|
|
|
# ecore_evas_opengl_x11
|
|
|
|
|
|
|
|
ECORE_EVAS_CHECK_MODULE([opengl-x11],
|
|
|
|
[${want_ecore_evas_opengl_x11}],
|
|
|
|
[OpenGL Xlib],
|
|
|
|
[${ecore_evas_xlib_deps}])
|
|
|
|
|
|
|
|
# ecore_evas_software_x11 16 bits
|
|
|
|
|
|
|
|
ECORE_EVAS_CHECK_MODULE([software-16-x11],
|
|
|
|
[${want_ecore_evas_software_16_x11}],
|
|
|
|
[Software Xlib 16 bits],
|
|
|
|
[${ecore_evas_xlib_deps}])
|
|
|
|
|
|
|
|
# ecore_evas_software_xcb
|
|
|
|
|
|
|
|
ecore_evas_xcb_deps="no"
|
|
|
|
if test "x${have_ecore_x}" = "xyes" -a "x${have_ecore_x_xcb}" = "xyes" ; then
|
|
|
|
ecore_evas_xcb_deps="yes"
|
2005-06-17 16:52:32 -07:00
|
|
|
fi
|
|
|
|
|
2009-03-13 09:35:16 -07:00
|
|
|
ECORE_EVAS_CHECK_MODULE([software-xcb],
|
|
|
|
[${want_ecore_evas_software_xcb}],
|
|
|
|
[Software XCB],
|
|
|
|
[${ecore_evas_xcb_deps}])
|
|
|
|
|
|
|
|
# ecore_evas_xrender_xcb
|
|
|
|
|
|
|
|
ECORE_EVAS_CHECK_MODULE([xrender-xcb],
|
|
|
|
[${want_ecore_evas_xrender_xcb}],
|
|
|
|
[XRender XCB],
|
|
|
|
[${ecore_evas_xcb_deps}])
|
|
|
|
|
|
|
|
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_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}"
|
|
|
|
fi
|
|
|
|
|
|
|
|
# ecore_evas_win32
|
2007-11-21 14:20:16 -08:00
|
|
|
|
2009-04-22 20:24:16 -07:00
|
|
|
ECORE_EVAS_CHECK_MODULE([software-gdi],
|
|
|
|
[${want_ecore_evas_software_gdi}],
|
|
|
|
[Software GDI],
|
|
|
|
[${have_ecore_win32}])
|
|
|
|
|
2009-03-13 09:35:16 -07:00
|
|
|
ECORE_EVAS_CHECK_MODULE([software-ddraw],
|
|
|
|
[${want_ecore_evas_software_ddraw}],
|
|
|
|
[Software DirectDraw],
|
|
|
|
[${have_ecore_win32}])
|
|
|
|
|
|
|
|
ECORE_EVAS_CHECK_MODULE([direct3d],
|
|
|
|
[${want_ecore_evas_direct3d}],
|
|
|
|
[Direct3d],
|
|
|
|
[${have_ecore_win32}])
|
|
|
|
|
|
|
|
ECORE_EVAS_CHECK_MODULE([opengl-glew],
|
|
|
|
[${want_ecore_evas_opengl_glew}],
|
|
|
|
[Glew OpenGL],
|
|
|
|
[${have_ecore_win32}])
|
|
|
|
|
|
|
|
ECORE_EVAS_CHECK_MODULE([software-16-ddraw],
|
|
|
|
[${want_ecore_evas_software_16_ddraw}],
|
|
|
|
[16 bpp Software DirectDraw],
|
|
|
|
[${have_ecore_win32}])
|
|
|
|
|
2009-04-22 20:24:16 -07:00
|
|
|
if test "x${have_ecore_evas_software_gdi}" = "xyes" -o \
|
|
|
|
"x${have_ecore_evas_software_ddraw}" = "xyes" -o \
|
2009-03-13 09:35:16 -07:00
|
|
|
"x${have_ecore_evas_direct3d}" = "xyes" -o \
|
|
|
|
"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}"
|
2007-11-21 14:20:16 -08:00
|
|
|
fi
|
|
|
|
|
2009-03-13 09:35:16 -07:00
|
|
|
# ecore_evas_quartz
|
2007-11-19 10:27:11 -08:00
|
|
|
|
2009-03-13 09:35:16 -07:00
|
|
|
ECORE_EVAS_CHECK_MODULE([quartz],
|
|
|
|
[${want_ecore_evas_quartz}],
|
|
|
|
[Quartz],
|
|
|
|
[${have_ecore_quartz}],
|
|
|
|
[requirements_ecore_evas="ecore-quartz ${requirements_ecore_evas}"])
|
|
|
|
|
|
|
|
# ecore_evas_software_sdl
|
|
|
|
|
|
|
|
ECORE_EVAS_CHECK_MODULE([software-sdl],
|
|
|
|
[${want_ecore_evas_software_sdl}],
|
|
|
|
[Software SDL],
|
|
|
|
[${have_ecore_sdl}],
|
|
|
|
[requirements_ecore_evas="ecore-sdl ${requirements_ecore_evas}"])
|
|
|
|
|
|
|
|
# ecore_evas_directfb
|
|
|
|
|
|
|
|
ECORE_EVAS_CHECK_MODULE([directfb],
|
|
|
|
[${want_ecore_evas_directfb}],
|
|
|
|
[DirectFB],
|
|
|
|
[${have_ecore_directfb}],
|
|
|
|
[requirements_ecore_evas="ecore-directfb ${requirements_ecore_evas}"])
|
|
|
|
|
|
|
|
# ecore_evas_fb
|
|
|
|
|
|
|
|
ECORE_EVAS_CHECK_MODULE([fb],
|
|
|
|
[${want_ecore_evas_fb}],
|
|
|
|
[Linux Framebuffer],
|
|
|
|
[${have_ecore_fb}],
|
|
|
|
[requirements_ecore_evas="ecore-fb ${requirements_ecore_evas}"])
|
|
|
|
|
|
|
|
# ecore_evas_wince
|
|
|
|
|
|
|
|
ECORE_EVAS_CHECK_MODULE([software-16-wince],
|
|
|
|
[${want_ecore_evas_software_16_wince}],
|
|
|
|
[16 bpp Software Windows CE],
|
|
|
|
[${have_ecore_wince}],
|
|
|
|
[requirements_ecore_evas="ecore-wince ${requirements_ecore_evas}"])
|
2009-01-11 02:20:22 -08:00
|
|
|
|
2009-03-13 09:35:16 -07:00
|
|
|
|
|
|
|
|
|
|
|
### requirements
|
|
|
|
|
|
|
|
AC_SUBST(requirements_ecore)
|
2007-03-21 08:30:23 -07:00
|
|
|
AC_SUBST(requirements_ecore_con)
|
|
|
|
AC_SUBST(requirements_ecore_config)
|
|
|
|
AC_SUBST(requirements_ecore_directfb)
|
|
|
|
AC_SUBST(requirements_ecore_evas)
|
|
|
|
AC_SUBST(requirements_ecore_fb)
|
|
|
|
AC_SUBST(requirements_ecore_file)
|
2009-03-13 09:35:16 -07:00
|
|
|
AC_SUBST(requirements_ecore_imf)
|
|
|
|
AC_SUBST(requirements_ecore_imf_evas)
|
2009-03-19 10:40:51 -07:00
|
|
|
AC_SUBST(requirements_ecore_input)
|
2007-03-21 08:30:23 -07:00
|
|
|
AC_SUBST(requirements_ecore_ipc)
|
|
|
|
AC_SUBST(requirements_ecore_job)
|
2009-03-13 09:35:16 -07:00
|
|
|
AC_SUBST(requirements_ecore_quartz)
|
|
|
|
AC_SUBST(requirements_ecore_sdl)
|
2007-03-21 08:30:23 -07:00
|
|
|
AC_SUBST(requirements_ecore_txt)
|
|
|
|
AC_SUBST(requirements_ecore_x)
|
2009-03-13 09:35:16 -07:00
|
|
|
AC_SUBST(requirements_ecore_win32)
|
|
|
|
AC_SUBST(requirements_ecore_wince)
|
2007-03-23 13:25:18 -07:00
|
|
|
|
2003-09-23 01:09:32 -07:00
|
|
|
AC_OUTPUT([
|
|
|
|
Makefile
|
2007-03-21 08:30:23 -07:00
|
|
|
ecore-con.pc
|
|
|
|
ecore-config.pc
|
|
|
|
ecore-directfb.pc
|
|
|
|
ecore-evas.pc
|
|
|
|
ecore-fb.pc
|
|
|
|
ecore-file.pc
|
2007-11-19 10:27:11 -08:00
|
|
|
ecore-imf.pc
|
2007-11-21 14:20:16 -08:00
|
|
|
ecore-imf-evas.pc
|
2007-03-21 08:30:23 -07:00
|
|
|
ecore-ipc.pc
|
|
|
|
ecore-job.pc
|
|
|
|
ecore-txt.pc
|
|
|
|
ecore-x.pc
|
2009-03-16 09:24:43 -07:00
|
|
|
ecore-input.pc
|
2007-08-26 04:17:21 -07:00
|
|
|
ecore-win32.pc
|
2007-07-16 00:23:11 -07:00
|
|
|
ecore-sdl.pc
|
2008-09-19 19:08:50 -07:00
|
|
|
ecore-quartz.pc
|
2008-05-30 22:05:01 -07:00
|
|
|
ecore-wince.pc
|
2004-07-11 01:08:03 -07:00
|
|
|
ecore.pc
|
2009-01-11 02:20:22 -08:00
|
|
|
doc/ecore.dox
|
|
|
|
doc/Makefile
|
2003-09-23 01:09:32 -07:00
|
|
|
src/Makefile
|
2006-10-28 04:41:53 -07:00
|
|
|
src/bin/Makefile
|
2003-09-23 01:09:32 -07:00
|
|
|
src/lib/Makefile
|
|
|
|
src/lib/ecore/Makefile
|
|
|
|
src/lib/ecore_job/Makefile
|
|
|
|
src/lib/ecore_x/Makefile
|
2008-07-23 03:00:01 -07:00
|
|
|
src/lib/ecore_x/xlib/Makefile
|
|
|
|
src/lib/ecore_x/xcb/Makefile
|
2003-09-23 01:09:32 -07:00
|
|
|
src/lib/ecore_fb/Makefile
|
2007-07-16 00:23:11 -07:00
|
|
|
src/lib/ecore_sdl/Makefile
|
2008-09-19 19:08:50 -07:00
|
|
|
src/lib/ecore_quartz/Makefile
|
2003-09-23 01:09:32 -07:00
|
|
|
src/lib/ecore_evas/Makefile
|
|
|
|
src/lib/ecore_con/Makefile
|
2007-11-19 10:27:11 -08:00
|
|
|
src/lib/ecore_imf/Makefile
|
2007-11-21 14:20:16 -08:00
|
|
|
src/lib/ecore_imf_evas/Makefile
|
2009-03-16 09:24:43 -07:00
|
|
|
src/lib/ecore_input/Makefile
|
2003-09-23 01:09:32 -07:00
|
|
|
src/lib/ecore_ipc/Makefile
|
2003-10-09 00:49:59 -07:00
|
|
|
src/lib/ecore_txt/Makefile
|
2003-12-05 07:02:17 -08:00
|
|
|
src/lib/ecore_config/Makefile
|
2005-02-20 04:18:09 -08:00
|
|
|
src/lib/ecore_file/Makefile
|
2005-10-15 03:37:37 -07:00
|
|
|
src/lib/ecore_directfb/Makefile
|
2007-08-26 04:17:21 -07:00
|
|
|
src/lib/ecore_win32/Makefile
|
2008-05-30 22:05:01 -07:00
|
|
|
src/lib/ecore_wince/Makefile
|
2005-03-10 07:19:43 -08:00
|
|
|
README
|
|
|
|
ecore.spec
|
|
|
|
])
|
2004-01-02 11:08:32 -08:00
|
|
|
|
|
|
|
echo
|
|
|
|
echo "$PACKAGE $VERSION"
|
|
|
|
echo
|
|
|
|
echo "Optional Modules:"
|
|
|
|
echo
|
2008-07-18 10:31:27 -07:00
|
|
|
echo " Core:"
|
|
|
|
echo
|
2009-03-13 09:35:16 -07:00
|
|
|
echo " Ecore........................: always"
|
2005-10-02 23:45:45 -07:00
|
|
|
echo " Ecore_Job....................: $have_ecore_job"
|
|
|
|
echo " Ecore_Txt....................: $have_ecore_txt"
|
2008-07-18 10:31:27 -07:00
|
|
|
echo " Ecore_Con....................: $have_ecore_con"
|
|
|
|
if test "x$have_ecore_con" = "xyes" ; then
|
2008-10-30 08:26:11 -07:00
|
|
|
echo -n " OpenSSL....................: $have_openssl"
|
|
|
|
if test "x$have_gnutls" = "xyes" ; then
|
|
|
|
echo " (disabled)"
|
|
|
|
else
|
|
|
|
echo
|
|
|
|
fi
|
|
|
|
echo " GnuTLS.....................: $have_gnutls"
|
2008-07-18 10:31:27 -07:00
|
|
|
echo " CURL.......................: $have_curl"
|
2008-12-04 20:48:12 -08:00
|
|
|
echo " Abstract Sockets...........: $want_abstract_sockets"
|
2008-07-18 10:31:27 -07:00
|
|
|
fi
|
|
|
|
echo " Ecore_Ipc....................: $have_ecore_ipc"
|
2009-03-13 09:35:16 -07:00
|
|
|
if test "x$have_ecore_ipc" = "xyes" ; then
|
2008-10-30 08:26:11 -07:00
|
|
|
echo -n " OpenSSL....................: $have_openssl"
|
|
|
|
if test "x$have_gnutls" = "xyes" ; then
|
|
|
|
echo " (disabled)"
|
|
|
|
else
|
|
|
|
echo
|
|
|
|
fi
|
|
|
|
echo " GnuTLS.....................: $have_gnutls"
|
2008-07-18 10:31:27 -07:00
|
|
|
fi
|
2009-03-13 09:35:16 -07:00
|
|
|
echo " Ecore_File...................: $have_ecore_file"
|
|
|
|
if test "x$have_ecore_file" = "xyes" ; then
|
|
|
|
echo " Inotify....................: $have_inotify"
|
|
|
|
echo " Poll.......................: $have_poll"
|
|
|
|
echo " CURL.......................: $have_curl"
|
|
|
|
fi
|
2008-07-18 10:31:27 -07:00
|
|
|
echo " Ecore_Config.................: $have_ecore_config"
|
|
|
|
echo " Ecore_IMF....................: $have_ecore_imf"
|
|
|
|
echo " Ecore_IMF_Evas...............: $have_ecore_imf_evas"
|
2009-03-19 10:40:51 -07:00
|
|
|
echo " Ecore_Input..................: $have_ecore_input"
|
2008-07-18 10:31:27 -07:00
|
|
|
|
|
|
|
echo
|
|
|
|
echo " Graphic systems:"
|
|
|
|
echo
|
2007-11-05 11:54:24 -08:00
|
|
|
|
2008-07-23 03:00:01 -07:00
|
|
|
if test "x$have_ecore_x" = "xyes" ; then
|
|
|
|
if test "x$have_ecore_x_xcb" = "xyes" ; then
|
|
|
|
echo " Ecore_X (XCB backend)........: $have_ecore_x_xcb"
|
|
|
|
echo " Xprint.....................: $have_ecore_x_xcb_xprint"
|
|
|
|
echo " Xinerama...................: $have_ecore_x_xcb_xinerama"
|
|
|
|
echo " Xrandr.....................: $have_ecore_x_xcb_randr"
|
|
|
|
echo " Xscreensaver...............: $have_ecore_x_xcb_screensaver"
|
|
|
|
echo " Xshape.....................: $have_ecore_x_xcb_shape"
|
|
|
|
echo " Xsync......................: $have_ecore_x_xcb_sync"
|
|
|
|
echo " Xrender....................: $have_ecore_x_xcb_render"
|
|
|
|
echo " Xcomposite.................: $have_ecore_x_xcb_composite"
|
|
|
|
echo " Xfixes.....................: $have_ecore_x_xcb_xfixes"
|
|
|
|
echo " Xdamage....................: $have_ecore_x_xcb_damage"
|
|
|
|
echo " Xdpms......................: $have_ecore_x_xcb_dpms"
|
|
|
|
echo " Xtest......................: $have_ecore_x_xcb_xtest"
|
|
|
|
else
|
2008-07-18 10:31:27 -07:00
|
|
|
echo " Ecore_X (Xlib backend).......: $have_ecore_x"
|
|
|
|
echo " Xcursor....................: $use_Xcursor"
|
2009-03-13 09:35:16 -07:00
|
|
|
echo " Xkb........................: $use_xkb"
|
2008-07-18 10:31:27 -07:00
|
|
|
echo " Xprint.....................: $use_xprint"
|
|
|
|
echo " Xinerama...................: $use_xinerama"
|
|
|
|
echo " Xrandr.....................: $use_xrandr"
|
|
|
|
echo " Xscreensaver...............: $use_xss"
|
|
|
|
echo " Xrender....................: $use_xrender"
|
|
|
|
echo " Xcomposite.................: $use_xcomposite"
|
|
|
|
echo " Xfixes.....................: $use_xfixes"
|
|
|
|
echo " Xdamage....................: $use_xdamage"
|
|
|
|
echo " Xdpms......................: $use_xdpms"
|
|
|
|
echo " Xtest......................: $use_xtest"
|
|
|
|
fi
|
2008-07-23 03:00:01 -07:00
|
|
|
else
|
|
|
|
echo " Ecore_X......................: $have_ecore_x"
|
Here is ecore_x with XCB backend.
* The XCB backend is disabled by default during the
configuration. To enable it, add --enable-ecore-x-xcb. See the
messages that configure displays when it finishes.
* The way XCB is detected, and used in src/lib/ecore_x/Makefile.am
should be improved
* Any program that uses ecore_evas does not need to be modified.
Any program that uses ecore_x may need some changes. That is,
adding some functions (_prefetch and _fetch ones). No other
change is needed. See the documention of any _get functions, as
these are the ones that need those functions.
* There are some missing parts, especially everything that involves
the keyboard, as porting Xlib functions related to strings (utf8
stuff, XKeysymToString, etc...) is an horror. So keyboard events
are not working yet.
* I tried to write as much documentation as I could. But there is
certainly some missing doc here and there.
there are certainly other things that I have forgotten.
Improvements of that backend:
* the creation of an ecore_evas is faster. Especially when done over
an ssh connection (on my computer, 7-10s with Xlib, 1.5s with XCB,
over an ssh)
* A Window Manager should be more responsive. But it's not tomorrow
that e17 will use it :)
Have fun !
SVN revision: 29500
2007-04-13 10:15:19 -07:00
|
|
|
fi
|
2008-06-26 02:53:25 -07:00
|
|
|
echo " Ecore_Win32..................: $have_ecore_win32"
|
2008-09-19 19:08:50 -07:00
|
|
|
echo " Ecore_Quartz.................: $have_ecore_quartz"
|
2009-03-13 09:35:16 -07:00
|
|
|
echo " Ecore_SDL....................: $have_ecore_sdl"
|
2008-07-18 10:31:27 -07:00
|
|
|
echo " Ecore_FB.....................: $have_ecore_fb"
|
2009-03-13 09:35:16 -07:00
|
|
|
if test "x${have_ecore_fb}" = "xyes" ; then
|
|
|
|
echo " Touchscreen................: $have_tslib"
|
|
|
|
fi
|
|
|
|
echo " Ecore_DirectFB...............: $have_ecore_directfb"
|
2008-07-18 10:31:27 -07:00
|
|
|
echo " Ecore_WinCE..................: $have_ecore_wince"
|
2007-11-05 11:54:24 -08:00
|
|
|
|
2008-07-18 10:31:27 -07:00
|
|
|
echo
|
|
|
|
echo " Ecore Evas:"
|
|
|
|
echo
|
2007-11-19 10:27:11 -08:00
|
|
|
|
2008-07-18 10:31:27 -07:00
|
|
|
echo " Ecore_Evas...................: $have_ecore_evas"
|
2009-03-13 09:35:16 -07:00
|
|
|
if test "x${have_ecore_evas}" = "xyes" ; then
|
|
|
|
echo " Software Memory Buffer.....: $have_ecore_evas_software_buffer"
|
2008-07-23 03:00:01 -07:00
|
|
|
echo " Software X11...............: $have_ecore_evas_software_x11"
|
|
|
|
echo " XRender X11................: $have_ecore_evas_xrender_x11"
|
|
|
|
echo " OpenGL X11.................: $have_ecore_evas_opengl_x11"
|
|
|
|
echo " Software XCB...............: $have_ecore_evas_software_xcb"
|
|
|
|
echo " XRender XCB................: $have_ecore_evas_xrender_xcb"
|
2009-04-22 20:24:16 -07:00
|
|
|
echo " Software GDI...............: $have_ecore_evas_software_gdi"
|
2008-07-18 10:31:27 -07:00
|
|
|
echo " Software DirectDraw........: $have_ecore_evas_software_ddraw"
|
|
|
|
echo " Direct3D...................: $have_ecore_evas_direct3d"
|
|
|
|
echo " OpenGL Glew................: $have_ecore_evas_opengl_glew"
|
2008-09-19 19:08:50 -07:00
|
|
|
echo " Quartz.....................: $have_ecore_evas_quartz"
|
2009-03-13 09:35:16 -07:00
|
|
|
echo " Software SDL...............: $have_ecore_evas_software_sdl"
|
|
|
|
echo " DirectFB...................: $have_ecore_evas_directfb"
|
2008-07-18 10:31:27 -07:00
|
|
|
echo " Software Framebuffer.......: $have_ecore_evas_fb"
|
2008-07-23 03:00:01 -07:00
|
|
|
echo " Software 16bit X11.........: $have_ecore_evas_software_16_x11"
|
2008-07-18 10:31:27 -07:00
|
|
|
echo " Software 16bit DirectDraw..: $have_ecore_evas_software_16_ddraw"
|
|
|
|
echo " Software 16bit WinCE.......: $have_ecore_evas_software_16_wince"
|
|
|
|
fi
|
2004-01-02 11:08:32 -08:00
|
|
|
echo
|
2009-01-11 02:20:22 -08:00
|
|
|
echo " Documentation.................: ${build_doc}"
|
|
|
|
echo
|
2009-03-13 09:35:16 -07:00
|
|
|
echo " Compilation...................: make (gmake on some systems)"
|
|
|
|
if test "x${build_doc}" = "xyes" ; then
|
|
|
|
echo " Build of the documentation....: make doc"
|
|
|
|
fi
|
|
|
|
echo
|
|
|
|
echo " Installation..................: make install"
|
|
|
|
echo
|
|
|
|
echo " prefix.....................: $prefix"
|
2004-01-02 11:08:32 -08:00
|
|
|
echo
|