summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@gmail.com>2012-10-10 17:59:15 +0000
committerGustavo Sverzut Barbieri <barbieri@gmail.com>2012-10-10 17:59:15 +0000
commitb82e878656f76195be22574eae06b59d92b3c24c (patch)
tree8ee20f51598412585a6e016aebd7b604d9b1cc6b /configure.ac
parentf19a04365128554a5ab7f0821a7649a94e01c412 (diff)
add some TODO/comments for vtorri.
Vincent, please check those and take some action. I'm not sure about the windows stuff, but we should find a way to make it more automatic than what it is right now. SVN revision: 77769
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac55
1 files changed, 35 insertions, 20 deletions
diff --git a/configure.ac b/configure.ac
index 9407f78..69f3c1d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -85,6 +85,7 @@ AC_SUBST([requirements_pc_eet])
85 85
86AC_CANONICAL_HOST 86AC_CANONICAL_HOST
87 87
88# TODO: move me to m4 file that setups module/so related variables
88have_wince="no" 89have_wince="no"
89have_win32="no" 90have_win32="no"
90have_windows="no" 91have_windows="no"
@@ -113,6 +114,7 @@ esac
113AC_DEFINE_UNQUOTED([MODULE_ARCH], ["${MODULE_ARCH}"], ["Module architecture"]) 114AC_DEFINE_UNQUOTED([MODULE_ARCH], ["${MODULE_ARCH}"], ["Module architecture"])
114AC_DEFINE_UNQUOTED([SHARED_LIB_SUFFIX], ["${MODULE_EXT}"], [Suffix for shared objects]) 115AC_DEFINE_UNQUOTED([SHARED_LIB_SUFFIX], ["${MODULE_EXT}"], [Suffix for shared objects])
115 116
117# TODO: move me to m4 file that setups the windows related variables
116AM_CONDITIONAL([HAVE_WINCE], [test "x${have_wince}" = "xyes"]) 118AM_CONDITIONAL([HAVE_WINCE], [test "x${have_wince}" = "xyes"])
117AM_CONDITIONAL([HAVE_WIN32], [test "x${have_win32}" = "xyes"]) 119AM_CONDITIONAL([HAVE_WIN32], [test "x${have_win32}" = "xyes"])
118AM_CONDITIONAL([HAVE_WINDOWS], [test "x${have_windows}" = "xyes"]) 120AM_CONDITIONAL([HAVE_WINDOWS], [test "x${have_windows}" = "xyes"])
@@ -202,6 +204,9 @@ AC_C_INLINE
202 204
203#### Checks for linker characteristics 205#### Checks for linker characteristics
204 206
207# TODO: do we really need this? maybe setup in the specific m4 file that
208# does the windows related variables? Do we need to manually specify this
209# for every module? it's annoying and easy to forget!
205lt_enable_auto_import="" 210lt_enable_auto_import=""
206case "${host_os}" in 211case "${host_os}" in
207 mingw*) 212 mingw*)
@@ -233,6 +238,7 @@ EFL_SELECT_WINDOWS_VERSION
233 238
234### Checks for libraries 239### Checks for libraries
235 240
241# TODO: are these needed here? parts of this are replicated for EVERY LIB :-(
236EVIL_LIBS="" 242EVIL_LIBS=""
237EVIL_DLFCN_LIBS="" 243EVIL_DLFCN_LIBS=""
238case "$host_os" in 244case "$host_os" in
@@ -438,7 +444,8 @@ AC_MSG_RESULT([${want_valgrind}])
438EFL_EINA_BUILD="" 444EFL_EINA_BUILD=""
439case "$host_os" in 445case "$host_os" in
440 mingw*) 446 mingw*)
441 AC_DEFINE([HAVE_EVIL], [1], [Set to 1 if Evil package is installed]) 447# TODO: WHAT? evil was build before, so it should already define this
448# AC_DEFINE([HAVE_EVIL], [1], [Set to 1 if Evil package is installed])
442 requirements_pc_eina="${requirements_pc_eina} evil" 449 requirements_pc_eina="${requirements_pc_eina} evil"
443 EFL_EINA_BUILD="-DEFL_EINA_BUILD" 450 EFL_EINA_BUILD="-DEFL_EINA_BUILD"
444 ;; 451 ;;
@@ -449,22 +456,24 @@ AC_SUBST([EFL_EINA_BUILD])
449 456
450case "$host_vendor" in 457case "$host_vendor" in
451 ps3*) 458 ps3*)
452 PKG_CHECK_EXISTS([escape]) 459# TODO: add back whenever escape is merged into efl single tree
453 AC_DEFINE([HAVE_ESCAPE], [1], [Set to 1 if Escape package is installed]) 460# PKG_CHECK_EXISTS([escape])
454 requirements_pc_eina="${requirements_pc_eina} escape" 461# AC_DEFINE([HAVE_ESCAPE], [1], [Set to 1 if Escape package is installed])
462# requirements_pc_eina="${requirements_pc_eina} escape"
455 ;; 463 ;;
456esac 464esac
457 465
458# Exotic library for compilation on Coyote 466# Exotic library for compilation on Coyote
459 467
460PKG_CHECK_EXISTS([exotic], 468# TODO: add back whenever exotic is merged into efl single tree
461 [ 469#PKG_CHECK_EXISTS([exotic],
462 enable_exotic="yes" 470# [
463 AC_DEFINE([HAVE_EXOTIC_H], [1], [Define to 1 if you have Exotic.]) 471# enable_exotic="yes"
464 EINA_CONFIGURE_HAVE_EXOTIC="#define EINA_HAVE_EXOTIC" 472# AC_DEFINE([HAVE_EXOTIC_H], [1], [Define to 1 if you have Exotic.])
465 requirements_pc_eina="exotic ${requirements_pc_eina}" 473# EINA_CONFIGURE_HAVE_EXOTIC="#define EINA_HAVE_EXOTIC"
466 ], 474# requirements_pc_eina="exotic ${requirements_pc_eina}"
467 [enable_exotic="no"]) 475# ],
476# [enable_exotic="no"])
468 477
469AM_CONDITIONAL([EINA_HAVE_EXOTIC], [test "x${enable_exotic}" = "xyes"]) 478AM_CONDITIONAL([EINA_HAVE_EXOTIC], [test "x${enable_exotic}" = "xyes"])
470AC_SUBST([EINA_CONFIGURE_HAVE_EXOTIC]) 479AC_SUBST([EINA_CONFIGURE_HAVE_EXOTIC])
@@ -815,7 +824,8 @@ AC_MSG_RESULT([${want_signature}])
815EFL_EET_BUILD="" 824EFL_EET_BUILD=""
816case "$host_os" in 825case "$host_os" in
817 mingw*) 826 mingw*)
818 AC_DEFINE([HAVE_EVIL], [1], [Set to 1 if Evil package is installed]) 827# TODO: WHAT? evil was build before, so it should already define this
828# AC_DEFINE([HAVE_EVIL], [1], [Set to 1 if Evil package is installed])
819 requirements_pc_eet="evil ${requirements_pc_eet}" 829 requirements_pc_eet="evil ${requirements_pc_eet}"
820 EFL_EET_BUILD="-DEFL_EET_BUILD" 830 EFL_EET_BUILD="-DEFL_EET_BUILD"
821 ;; 831 ;;
@@ -824,13 +834,14 @@ AC_SUBST(EFL_EET_BUILD)
824 834
825# Exotic library for compilation on Coyote 835# Exotic library for compilation on Coyote
826 836
827PKG_CHECK_EXISTS([exotic], 837# TODO: add back whenever exotic is merged into efl single tree
828 [ 838#PKG_CHECK_EXISTS([exotic],
829 enable_exotic="yes" 839# [
830 AC_DEFINE([HAVE_EXOTIC_H], [1], [Define to 1 if you have Exotic.]) 840# enable_exotic="yes"
831 requirements_pc_eet="exotic ${requirements_pc_eet}" 841# AC_DEFINE([HAVE_EXOTIC_H], [1], [Define to 1 if you have Exotic.])
832 ], 842# requirements_pc_eet="exotic ${requirements_pc_eet}"
833 [enable_exotic="no"]) 843# ],
844# [enable_exotic="no"])
834 845
835## Secure layer 846## Secure layer
836 847
@@ -992,10 +1003,12 @@ PKG_CHECK_MODULES([EET], [${requirements_pc_deps_eet}])
992 1003
993case "$host_os" in 1004case "$host_os" in
994 mingw32ce*) 1005 mingw32ce*)
1006# TODO: are these needed here? parts of this are replicated for EVERY LIB :-(
995 requirements_libs_eet="${requirements_libs_eet} -lws2" 1007 requirements_libs_eet="${requirements_libs_eet} -lws2"
996 requirements_libs_deps_eet="${requirements_libs_deps_eet} -lws2" 1008 requirements_libs_deps_eet="${requirements_libs_deps_eet} -lws2"
997 ;; 1009 ;;
998 mingw*) 1010 mingw*)
1011# TODO: are these needed here? parts of this are replicated for EVERY LIB :-(
999 requirements_libs_eet="${requirements_libs_eet} -lws2_32" 1012 requirements_libs_eet="${requirements_libs_eet} -lws2_32"
1000 requirements_libs_deps_eet="${requirements_libs_deps_eet} -lws2_32" 1013 requirements_libs_deps_eet="${requirements_libs_deps_eet} -lws2_32"
1001 ;; 1014 ;;
@@ -1045,6 +1058,7 @@ case "${host_os}" in
1045 openbsd*) 1058 openbsd*)
1046 ;; 1059 ;;
1047 *) 1060 *)
1061# TODO: here? Why don't do everywhere or let user specify it?
1048 EFL_CHECK_LINKER_FLAGS([EET], [-Wl,--as-needed]) 1062 EFL_CHECK_LINKER_FLAGS([EET], [-Wl,--as-needed])
1049 ;; 1063 ;;
1050esac 1064esac
@@ -1076,6 +1090,7 @@ AC_MSG_NOTICE([Eo checks])
1076 1090
1077# Eina library 1091# Eina library
1078 1092
1093# TODO: really? do we need this? it's a local eina!
1079requirements_pc_eo="eina >= 1.7.99" 1094requirements_pc_eo="eina >= 1.7.99"
1080 1095
1081AC_ARG_VAR([EO_CFLAGS], [preprocessor flags for Eo]) 1096AC_ARG_VAR([EO_CFLAGS], [preprocessor flags for Eo])