summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2012-12-04 17:40:58 +0000
committerVincent Torri <vincent.torri@gmail.com>2012-12-04 17:40:58 +0000
commit81c86b19f6b432c5d6701bd025d5b2cf308fba4c (patch)
tree44f76300c96fddf3be01d97afb3025227350ee92 /configure.ac
parent633e29c5a50fa1a1087df88d8d9859c79a83e486 (diff)
merge: eio + fix compilation on windows + minor fixes + po files
don't move eio to IN-EFL right now SVN revision: 80180
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac130
1 files changed, 123 insertions, 7 deletions
diff --git a/configure.ac b/configure.ac
index d973639..b7d0254 100644
--- a/configure.ac
+++ b/configure.ac
@@ -109,7 +109,7 @@ requirements_libs_ecore_wince=""
109requirements_libs_ecore_x="" 109requirements_libs_ecore_x=""
110requirements_libs_ecore_evas="" 110requirements_libs_ecore_evas=""
111requirements_libs_embryo="" 111requirements_libs_embryo=""
112#requirements_libs_eio="" 112requirements_libs_eio=""
113#requirements_libs_edje="" 113#requirements_libs_edje=""
114#requirements_libs_efreet="" 114#requirements_libs_efreet=""
115#requirements_libs_e_dbus="" 115#requirements_libs_e_dbus=""
@@ -139,7 +139,7 @@ requirements_pc_ecore_wince=""
139requirements_pc_ecore_x="" 139requirements_pc_ecore_x=""
140requirements_pc_ecore_evas="" 140requirements_pc_ecore_evas=""
141requirements_pc_embryo="" 141requirements_pc_embryo=""
142#requirements_pc_eio="" 142requirements_pc_eio=""
143#requirements_pc_edje="" 143#requirements_pc_edje=""
144#requirements_pc_efreet="" 144#requirements_pc_efreet=""
145#requirements_pc_e_dbus="" 145#requirements_pc_e_dbus=""
@@ -159,7 +159,6 @@ requirements_pc_deps_ecore_sdl=""
159requirements_pc_deps_ecore_wayland="" 159requirements_pc_deps_ecore_wayland=""
160requirements_pc_deps_ecore_evas="" 160requirements_pc_deps_ecore_evas=""
161requirements_pc_deps_embryo="" 161requirements_pc_deps_embryo=""
162#requirements_pc_deps_eio=""
163#requirements_pc_deps_edje="" 162#requirements_pc_deps_edje=""
164#requirements_pc_deps_efreet="" 163#requirements_pc_deps_efreet=""
165#requirements_pc_deps_e_dbus="" 164#requirements_pc_deps_e_dbus=""
@@ -189,7 +188,7 @@ AC_SUBST([requirements_libs_ecore_wince])
189AC_SUBST([requirements_libs_ecore_x]) 188AC_SUBST([requirements_libs_ecore_x])
190AC_SUBST([requirements_libs_ecore_evas]) 189AC_SUBST([requirements_libs_ecore_evas])
191AC_SUBST([requirements_libs_embryo]) 190AC_SUBST([requirements_libs_embryo])
192#AC_SUBST([requirements_libs_eio]) 191AC_SUBST([requirements_libs_eio])
193#AC_SUBST([requirements_libs_edje]) 192#AC_SUBST([requirements_libs_edje])
194#AC_SUBST([requirements_libs_efreet]) 193#AC_SUBST([requirements_libs_efreet])
195#AC_SUBST([requirements_libs_e_dbus]) 194#AC_SUBST([requirements_libs_e_dbus])
@@ -219,7 +218,7 @@ AC_SUBST([requirements_pc_ecore_wince])
219AC_SUBST([requirements_pc_ecore_x]) 218AC_SUBST([requirements_pc_ecore_x])
220AC_SUBST([requirements_pc_ecore_evas]) 219AC_SUBST([requirements_pc_ecore_evas])
221AC_SUBST([requirements_pc_embryo]) 220AC_SUBST([requirements_pc_embryo])
222#AC_SUBST([requirements_pc_eio]) 221AC_SUBST([requirements_pc_eio])
223#AC_SUBST([requirements_pc_edje]) 222#AC_SUBST([requirements_pc_edje])
224#AC_SUBST([requirements_pc_efreet]) 223#AC_SUBST([requirements_pc_efreet])
225#AC_SUBST([requirements_pc_e_dbus]) 224#AC_SUBST([requirements_pc_e_dbus])
@@ -3770,6 +3769,7 @@ AC_MSG_NOTICE([Ecore_Evas checks])
3770### Default values 3769### Default values
3771 3770
3772have_ecore_evas="yes" 3771have_ecore_evas="yes"
3772have_extn="yes"
3773 3773
3774want_ecore_evas_software_buffer="yes" 3774want_ecore_evas_software_buffer="yes"
3775want_ecore_evas_software_x11="no" 3775want_ecore_evas_software_x11="no"
@@ -3796,6 +3796,7 @@ case "$host_os" in
3796 want_ecore_evas_software_ddraw="yes" 3796 want_ecore_evas_software_ddraw="yes"
3797 want_ecore_evas_software_sdl="yes" 3797 want_ecore_evas_software_sdl="yes"
3798 want_ecore_evas_gl_sdl="yes" 3798 want_ecore_evas_gl_sdl="yes"
3799 want_ecore_evas_extn="no"
3799 ;; 3800 ;;
3800 darwin*) 3801 darwin*)
3801 want_ecore_evas_software_sdl="yes" 3802 want_ecore_evas_software_sdl="yes"
@@ -3862,10 +3863,10 @@ ECORE_EVAS_CHECK_MODULE_FULL([ews],
3862 3863
3863# ecore_evas_extn 3864# ecore_evas_extn
3864 3865
3865have_extn="yes"
3866if test "x${have_ecore_ipc}" = "xno" || \ 3866if test "x${have_ecore_ipc}" = "xno" || \
3867 test "x${have_ecore_evas_software_buffer}" = "xno" || \ 3867 test "x${have_ecore_evas_software_buffer}" = "xno" || \
3868 test "x${have_shm_open}" = "xno" ; then 3868 test "x${have_shm_open}" = "xno" || \
3869 test "x${have_windows}" = "xyes" ; then
3869 have_extn="no" 3870 have_extn="no"
3870fi 3871fi
3871 3872
@@ -4049,6 +4050,116 @@ fi
4049#### End of Ecore_Evas 4050#### End of Ecore_Evas
4050 4051
4051 4052
4053#### Eio
4054
4055AC_MSG_NOTICE([Eio checks])
4056
4057### Additional options to configure
4058
4059### Default values
4060
4061### Checks for programs
4062
4063### Checks for libraries
4064
4065requirements_pc_eio="ecore >= ${PACKAGE_VERSION} eet >= ${PACKAGE_VERSION} eina >= ${PACKAGE_VERSION} ${requirements_pc_eio}"
4066
4067### Checks for header files
4068
4069AC_CHECK_HEADERS([grp.h pwd.h])
4070
4071### Checks for types
4072
4073### Checks for structures
4074
4075### Checks for compiler characteristics
4076
4077### Checks for linker characteristics
4078
4079### Checks for library functions
4080
4081AC_CHECK_FUNCS([fchmod chown getpwnam getgrnam])
4082
4083# Check for splice system call
4084
4085AC_MSG_CHECKING([whether to use splice for file copy])
4086AC_TRY_LINK(
4087 [
4088#if defined(HAVE_UNISTD_H)
4089# include <unistd.h>
4090#endif
4091#include <fcntl.h>
4092 ],
4093 [
4094long ret = splice(0,0,1,0,400,0);
4095 ],
4096 [have_splice="yes"],
4097 [have_splice="no"])
4098AC_MSG_RESULT([${have_splice}])
4099
4100if test "x${have_splice}" = "xyes" ; then
4101 AC_DEFINE([HAVE_SPLICE], [1], [Define to mention that splice syscall is supported])
4102fi
4103
4104# Check for lstat
4105
4106AC_MSG_CHECKING([whether lstat is available])
4107AC_TRY_LINK(
4108 [
4109#include <sys/types.h>
4110#include <sys/stat.h>
4111#if defined(HAVE_UNISTD_H)
4112# include <unistd.h>
4113#endif
4114 ],
4115 [
4116struct stat st;
4117lstat("/tmp", &st);
4118 ],
4119 [have_lstat="yes"],
4120 [have_lstat="no"])
4121AC_MSG_RESULT([${have_lstat}])
4122
4123if test "x${have_lstat}" = "xyes" ; then
4124 AC_DEFINE([HAVE_LSTAT], [1], [Define to mention that lstat syscall is supported])
4125fi
4126
4127# extended attribute
4128
4129AC_MSG_CHECKING([for extended attributes])
4130
4131AC_COMPILE_IFELSE(
4132 [AC_LANG_PROGRAM(
4133 [[
4134#include <stdlib.h>
4135#include <sys/types.h>
4136#include <sys/xattr.h>
4137 ]],
4138 [[
4139size_t tmp = listxattr("/", NULL, 0);
4140tmp = getxattr("/", "user.ethumb.md5", NULL, 0);
4141setxattr("/", "user.ethumb.md5", NULL, 0, 0);
4142 ]])],
4143 [
4144 AC_DEFINE([HAVE_XATTR], [1], [Define to 1 if you have the `listxattr', `setxattr' and `getxattr' functions.])
4145 have_xattr="yes"
4146 ],
4147 [have_xattr="no"])
4148
4149AC_MSG_RESULT([${have_xattr}])
4150
4151# Check for inotify specificity
4152have_inotify="no"
4153have_notify_win32="no"
4154EIO_CHECK_INOTIFY([have_inotify="yes"], [have_inotify="no"])
4155EIO_CHECK_NOTIFY_WIN32([have_notify_win32="yes"], [have_notify_win32="no"])
4156
4157AM_CONDITIONAL([EIO_HAVE_INOTIFY], [test "x${have_inotify}" = "xyes"])
4158AM_CONDITIONAL([EIO_HAVE_WINCHANGE], [test "x${have_notify_win32}" = "xyes"])
4159
4160#### End of Eio
4161
4162
4052AC_CONFIG_FILES([ 4163AC_CONFIG_FILES([
4053Makefile 4164Makefile
4054data/Makefile 4165data/Makefile
@@ -4104,6 +4215,7 @@ pc/ecore-evas.pc
4104pc/ecore-imf.pc 4215pc/ecore-imf.pc
4105pc/ecore-imf-evas.pc 4216pc/ecore-imf-evas.pc
4106pc/embryo.pc 4217pc/embryo.pc
4218pc/eio.pc
4107$po_makefile_in 4219$po_makefile_in
4108]) 4220])
4109 4221
@@ -4327,6 +4439,10 @@ echo " Ecore_Evas...................: $have_ecore_evas"
4327 echo " Extn (Plug/socket Extn)....: $have_ecore_evas_extn" 4439 echo " Extn (Plug/socket Extn)....: $have_ecore_evas_extn"
4328#fi 4440#fi
4329echo 4441echo
4442echo "Eio"
4443echo " Inotify..............: ${have_inotify}"
4444echo " Windows notification.: ${have_notify_win32}"
4445echo
4330echo "Tests..................: ${_efl_enable_tests}" 4446echo "Tests..................: ${_efl_enable_tests}"
4331if test "x${_efl_enable_tests}" = "xyes"; then 4447if test "x${_efl_enable_tests}" = "xyes"; then
4332echo " Coverage...........: ${_efl_enable_coverage}" 4448echo " Coverage...........: ${_efl_enable_coverage}"