summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2014-07-13 10:59:40 +0200
committerCedric BAIL <c.bail@partner.samsung.com>2014-07-13 15:17:17 +0200
commit9631585f241832db7fe01ed28d6c9f2963ca050f (patch)
tree29ca1122c6423a055710474f8abd37e2e0335e26 /configure.ac
parent5080dc4dff070d7c06947b1632bc9d2c1a1dbc5c (diff)
efl: remove Windows CE support
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac87
1 files changed, 11 insertions, 76 deletions
diff --git a/configure.ac b/configure.ac
index 4a943133ee..aa545e10cd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -160,13 +160,9 @@ AC_CANONICAL_HOST
160 160
161# TODO: move me to m4 file that setups module/so related variables 161# TODO: move me to m4 file that setups module/so related variables
162case "$host_os" in 162case "$host_os" in
163 cegcc*) 163 cegcc*|mingw32ce*)
164 AC_MSG_ERROR([ceGCC compiler is not supported anymore. Exiting...]) 164 AC_MSG_ERROR([ceGCC compiler is not supported anymore. Exiting...])
165 ;; 165 ;;
166 mingw32ce*)
167 MODULE_ARCH="v"
168 MODULE_EXT=".dll"
169 ;;
170 mingw*) 166 mingw*)
171 have_win32="yes" 167 have_win32="yes"
172 have_windows="yes" 168 have_windows="yes"
@@ -189,17 +185,12 @@ AC_SUBST(EFL_VERSION_MAJOR)
189AC_SUBST(EFL_VERSION_MINOR) 185AC_SUBST(EFL_VERSION_MINOR)
190 186
191have_systemd_pkg="no" 187have_systemd_pkg="no"
192have_wince="no"
193have_win32="no" 188have_win32="no"
194have_windows="no" 189have_windows="no"
195have_darwin="no" 190have_darwin="no"
196have_linux="no" 191have_linux="no"
197have_ps3="no" 192have_ps3="no"
198case "$host_os" in 193case "$host_os" in
199 mingw32ce*)
200 have_wince="yes"
201 have_windows="yes"
202 ;;
203 mingw*|cygwin*) 194 mingw*|cygwin*)
204 # TODO: check cygwin* here 195 # TODO: check cygwin* here
205 have_win32="yes" 196 have_win32="yes"
@@ -226,7 +217,6 @@ AC_DEFINE_UNQUOTED([MODULE_ARCH], ["${MODULE_ARCH}"], ["Module architecture"])
226AC_DEFINE_UNQUOTED([SHARED_LIB_SUFFIX], ["${MODULE_EXT}"], [Suffix for shared objects]) 217AC_DEFINE_UNQUOTED([SHARED_LIB_SUFFIX], ["${MODULE_EXT}"], [Suffix for shared objects])
227 218
228# TODO: move me to m4 file that setups the windows related variables 219# TODO: move me to m4 file that setups the windows related variables
229AM_CONDITIONAL([HAVE_WINCE], [test "x${have_wince}" = "xyes"])
230AM_CONDITIONAL([HAVE_WIN32], [test "x${have_win32}" = "xyes"]) 220AM_CONDITIONAL([HAVE_WIN32], [test "x${have_win32}" = "xyes"])
231AM_CONDITIONAL([HAVE_WINDOWS], [test "x${have_windows}" = "xyes"]) 221AM_CONDITIONAL([HAVE_WINDOWS], [test "x${have_windows}" = "xyes"])
232AM_CONDITIONAL([HAVE_PS3], [test "x${have_ps3}" = "xyes"]) 222AM_CONDITIONAL([HAVE_PS3], [test "x${have_ps3}" = "xyes"])
@@ -680,14 +670,8 @@ EFL_SELECT_WINDOWS_VERSION
680 670
681### Checks for libraries 671### Checks for libraries
682 672
683EVIL_DLFCN_LIBS="" 673EFL_ADD_LIBS([EVIL], [-lole32 -lws2_32 -lsecur32 -luuid])
684if test "${have_wince}" = "xyes"; then 674EVIL_DLFCN_LIBS="-lpsapi"
685 EFL_ADD_LIBS([EVIL], [-lws2])
686 EVIL_DLFCN_LIBS="-ltoolhelp"
687else
688 EFL_ADD_LIBS([EVIL], [-lole32 -lws2_32 -lsecur32 -luuid])
689 EVIL_DLFCN_LIBS="-lpsapi"
690fi
691 675
692AC_SUBST([EVIL_DLFCN_LIBS]) 676AC_SUBST([EVIL_DLFCN_LIBS])
693 677
@@ -1529,13 +1513,6 @@ if test "${want_wayland}" = "yes" && test "${want_egl}" = "yes" && test "${with_
1529 want_evas_engine_wayland_egl="yes" 1513 want_evas_engine_wayland_egl="yes"
1530fi 1514fi
1531 1515
1532if test "${have_wince}" = "yes"; then
1533 want_fontconfig="no"
1534 want_evas_image_loader_gif="no"
1535 want_evas_image_loader_tiff="no"
1536 want_evas_image_loader_webp="no"
1537fi
1538
1539if test "${want_lua_old}" = "yes"; then 1516if test "${want_lua_old}" = "yes"; then
1540 EFL_CHECK_LUA_OLD([EVAS]) 1517 EFL_CHECK_LUA_OLD([EVAS])
1541else 1518else
@@ -2381,11 +2358,7 @@ EFL_LIB_START([Ecore_Con])
2381want_ecore_con_local_sockets="yes" 2358want_ecore_con_local_sockets="yes"
2382want_ecore_con_abstract_sockets="yes" 2359want_ecore_con_abstract_sockets="yes"
2383 2360
2384if test "${have_wince}" = "yes"; then 2361if test "${have_win32}" = "yes"; then
2385 want_cares="no"
2386 want_ecore_con_local_sockets="no"
2387 want_ecore_con_abstract_sockets="no"
2388elif test "${have_win32}" = "yes"; then
2389 want_cares="yes" 2362 want_cares="yes"
2390 want_ecore_con_abstract_sockets="no" 2363 want_ecore_con_abstract_sockets="no"
2391elif test "${have_darwin}" = "yes"; then 2364elif test "${have_darwin}" = "yes"; then
@@ -3042,37 +3015,6 @@ EFL_LIB_END([Ecore_Avahi])
3042 3015
3043#### End of Ecore_Avahi 3016#### End of Ecore_Avahi
3044 3017
3045#### Ecore_WinCE
3046EFL_LIB_START_OPTIONAL([Ecore_WinCE], [test "${have_wince}" = "yes"])
3047
3048### Additional options to configure
3049
3050### Default values
3051
3052### Checks for programs
3053
3054### Checks for libraries
3055EFL_PLATFORM_DEPEND([ECORE_WINCE], [evil])
3056EFL_INTERNAL_DEPEND_PKG([ECORE_WINCE], [ecore-input])
3057EFL_INTERNAL_DEPEND_PKG([ECORE_WINCE], [ecore])
3058EFL_INTERNAL_DEPEND_PKG([ECORE_WINCE], [eo])
3059EFL_INTERNAL_DEPEND_PKG([ECORE_WINCE], [eina])
3060
3061### Checks for header files
3062
3063### Checks for types
3064
3065### Checks for structures
3066
3067### Checks for compiler characteristics
3068
3069### Checks for linker characteristics
3070
3071### Checks for library functions
3072
3073EFL_LIB_END_OPTIONAL([Ecore_WinCE])
3074#### End of Ecore_WinCE
3075
3076 3018
3077#### Ecore_X 3019#### Ecore_X
3078EFL_LIB_START_OPTIONAL([Ecore_X], [test "${want_x11_any}" = "yes"]) 3020EFL_LIB_START_OPTIONAL([Ecore_X], [test "${want_x11_any}" = "yes"])
@@ -3369,20 +3311,15 @@ want_ecore_imf_xim="no"
3369want_ecore_imf_scim="no" 3311want_ecore_imf_scim="no"
3370want_ecore_imf_ibus="no" 3312want_ecore_imf_ibus="no"
3371want_ecore_imf_wayland="no" 3313want_ecore_imf_wayland="no"
3314want_ecore_imf="yes"
3372 3315
3373if test "${have_wince}" = "yes"; then 3316if test "${have_windows}" = "no" && test "${have_darwin}" = "no"; then
3374 want_ecore_imf="no"
3375else
3376 want_ecore_imf="yes" 3317 want_ecore_imf="yes"
3377 3318 want_ecore_imf_xim="yes"
3378 if test "${have_windows}" = "no" && test "${have_darwin}" = "no"; then 3319 want_ecore_imf_scim="yes"
3379 want_ecore_imf="yes" 3320 want_ecore_imf_ibus="yes"
3380 want_ecore_imf_xim="yes" 3321 if test "${want_wayland}" = "yes"; then
3381 want_ecore_imf_scim="yes" 3322 want_ecore_imf_wayland="yes"
3382 want_ecore_imf_ibus="yes"
3383 if test "${want_wayland}" = "yes"; then
3384 want_ecore_imf_wayland="yes"
3385 fi
3386 fi 3323 fi
3387fi 3324fi
3388 3325
@@ -4436,7 +4373,6 @@ pc/ecore-psl1ght.pc
4436pc/ecore-sdl.pc 4373pc/ecore-sdl.pc
4437pc/ecore-wayland.pc 4374pc/ecore-wayland.pc
4438pc/ecore-win32.pc 4375pc/ecore-win32.pc
4439pc/ecore-wince.pc
4440pc/ecore-x.pc 4376pc/ecore-x.pc
4441pc/ecore-evas.pc 4377pc/ecore-evas.pc
4442pc/ecore-imf.pc 4378pc/ecore-imf.pc
@@ -4591,7 +4527,6 @@ elif test "${have_darwin}" = "yes"; then
4591echo "Ecore_Cocoa.....: $efl_lib_optional_ecore_cocoa" 4527echo "Ecore_Cocoa.....: $efl_lib_optional_ecore_cocoa"
4592elif test "${have_windows}" = "yes"; then 4528elif test "${have_windows}" = "yes"; then
4593echo "Ecore_Win32.....: $have_win32" 4529echo "Ecore_Win32.....: $have_win32"
4594echo "Ecore_WinCE.....: $have_wince"
4595fi 4530fi
4596echo "Ecore_Audio.....: ${efl_lib_optional_ecore_audio} (${features_ecore_audio})" 4531echo "Ecore_Audio.....: ${efl_lib_optional_ecore_audio} (${features_ecore_audio})"
4597echo "Ecore_Avahi.....: yes (${features_ecore_avahi})" 4532echo "Ecore_Avahi.....: yes (${features_ecore_avahi})"