summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2012-10-25 22:01:28 +0000
committerVincent Torri <vincent.torri@gmail.com>2012-10-25 22:01:28 +0000
commitaac3e95ccf38aabcd988956ba66cd084729c5289 (patch)
treee708a235c140fdda7a68b18ae3c95c0a33f1bf74 /configure.ac
parentc6365626448479f2aff4cb376ab886b6892345f3 (diff)
merge: -Wl,--enable-auto-import is useless with recent versions of gcc on Windows
SVN revision: 78495
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac91
1 files changed, 76 insertions, 15 deletions
diff --git a/configure.ac b/configure.ac
index c2765183cb..ea49b5406e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -55,33 +55,98 @@ requirements_libs_evil=""
55requirements_libs_eina="" 55requirements_libs_eina=""
56requirements_libs_eo="" 56requirements_libs_eo=""
57requirements_libs_eet="" 57requirements_libs_eet=""
58#requirements_libs_evas=""
59#requirements_libs_ecore=""
60#requirements_libs_embryo=""
61#requirements_libs_eio=""
62#requirements_libs_edje=""
63#requirements_libs_efreet=""
64#requirements_libs_e_dbus=""
65#requirements_libs_eeze=""
66#requirements_libs_emotion=""
67#requirements_libs_ethumb=""
68#requirements_libs_elementary=""
58 69
59requirements_libs_deps_evil="" 70requirements_libs_deps_evil=""
60requirements_libs_deps_eina="" 71requirements_libs_deps_eina=""
61requirements_libs_deps_eo="" 72requirements_libs_deps_eo=""
62requirements_libs_deps_eet="" 73requirements_libs_deps_eet=""
74#requirements_libs_deps_evas=""
75#requirements_libs_deps_ecore=""
76#requirements_libs_deps_embryo=""
77#requirements_libs_deps_eio=""
78#requirements_libs_deps_edje=""
79#requirements_libs_deps_efreet=""
80#requirements_libs_deps_e_dbus=""
81#requirements_libs_deps_eeze=""
82#requirements_libs_deps_emotion=""
83#requirements_libs_deps_ethumb=""
84#requirements_libs_deps_elementary=""
63 85
64requirements_pc_eina="" 86requirements_pc_eina=""
65requirements_pc_eo="" 87requirements_pc_eo=""
66requirements_pc_eet="" 88requirements_pc_eet=""
89#requirements_pc_evas=""
90#requirements_pc_ecore=""
91#requirements_pc_embryo=""
92#requirements_pc_eio=""
93#requirements_pc_edje=""
94#requirements_pc_efreet=""
95#requirements_pc_e_dbus=""
96#requirements_pc_eeze=""
97#requirements_pc_emotion=""
98#requirements_pc_ethumb=""
99#requirements_pc_elementary=""
67 100
68requirements_pc_deps_eina="" 101requirements_pc_deps_eina=""
69requirements_pc_deps_eo="" 102requirements_pc_deps_eo=""
70requirements_pc_deps_eet="" 103requirements_pc_deps_eet=""
104#requirements_pc_deps_evas=""
105#requirements_pc_deps_ecore=""
106#requirements_pc_deps_embryo=""
107#requirements_pc_deps_eio=""
108#requirements_pc_deps_edje=""
109#requirements_pc_deps_efreet=""
110#requirements_pc_deps_e_dbus=""
111#requirements_pc_deps_eeze=""
112#requirements_pc_deps_emotion=""
113#requirements_pc_deps_ethumb=""
114#requirements_pc_deps_elementary=""
71 115
72AC_SUBST([requirements_libs_evil]) 116AC_SUBST([requirements_libs_evil])
73AC_SUBST([requirements_libs_eina]) 117AC_SUBST([requirements_libs_eina])
74AC_SUBST([requirements_libs_eo]) 118AC_SUBST([requirements_libs_eo])
75AC_SUBST([requirements_libs_eet]) 119AC_SUBST([requirements_libs_eet])
120#AC_SUBST([requirements_libs_evas])
121#AC_SUBST([requirements_libs_ecore])
122#AC_SUBST([requirements_libs_embryo])
123#AC_SUBST([requirements_libs_eio])
124#AC_SUBST([requirements_libs_edje])
125#AC_SUBST([requirements_libs_efreet])
126#AC_SUBST([requirements_libs_e_dbus])
127#AC_SUBST([requirements_libs_eeze])
128#AC_SUBST([requirements_libs_emotion])
129#AC_SUBST([requirements_libs_ethumb])
130#AC_SUBST([requirements_libs_elementary])
76 131
77AC_SUBST([requirements_pc_eina]) 132AC_SUBST([requirements_pc_eina])
78AC_SUBST([requirements_pc_eo]) 133AC_SUBST([requirements_pc_eo])
79AC_SUBST([requirements_pc_eet]) 134AC_SUBST([requirements_pc_eet])
135#AC_SUBST([requirements_pc_evas])
136#AC_SUBST([requirements_pc_ecore])
137#AC_SUBST([requirements_pc_embryo])
138#AC_SUBST([requirements_pc_eio])
139#AC_SUBST([requirements_pc_edje])
140#AC_SUBST([requirements_pc_efreet])
141#AC_SUBST([requirements_pc_e_dbus])
142#AC_SUBST([requirements_pc_eeze])
143#AC_SUBST([requirements_pc_emotion])
144#AC_SUBST([requirements_pc_ethumb])
145#AC_SUBST([requirements_pc_elementary])
80 146
81 147
82AC_CANONICAL_HOST 148AC_CANONICAL_HOST
83 149
84
85# TODO: move me to m4 file that setups module/so related variables 150# TODO: move me to m4 file that setups module/so related variables
86have_wince="no" 151have_wince="no"
87have_win32="no" 152have_win32="no"
@@ -93,12 +158,18 @@ case "$host_os" in
93 mingw32ce*) 158 mingw32ce*)
94 have_wince="yes" 159 have_wince="yes"
95 have_windows="yes" 160 have_windows="yes"
161 want_efreet="no"
162 want_e_dbus="no"
163 want_eeze="no"
164 want_emotion="no"
165 want_ethumb="no"
96 MODULE_ARCH="$host_os-$host_cpu" 166 MODULE_ARCH="$host_os-$host_cpu"
97 MODULE_EXT=".dll" 167 MODULE_EXT=".dll"
98 ;; 168 ;;
99 mingw*) 169 mingw*)
100 have_win32="yes" 170 have_win32="yes"
101 have_windows="yes" 171 have_windows="yes"
172 want_eeze="no"
102 MODULE_ARCH="$host_os-$host_cpu-v_maj.v_min.v_mic" 173 MODULE_ARCH="$host_os-$host_cpu-v_maj.v_min.v_mic"
103 MODULE_EXT=".dll" 174 MODULE_EXT=".dll"
104 ;; 175 ;;
@@ -134,6 +205,8 @@ case "${build_profile}" in
134 ;; 205 ;;
135esac 206esac
136 207
208# TODO: add some build "profile" (server, full, etc...)
209
137 210
138#### Checks for programs 211#### Checks for programs
139 212
@@ -230,17 +303,6 @@ AC_C_INLINE
230 303
231#### Checks for linker characteristics 304#### Checks for linker characteristics
232 305
233# TODO: do we really need this? maybe setup in the specific m4 file that
234# does the windows related variables? Do we need to manually specify this
235# for every module? it's annoying and easy to forget!
236lt_enable_auto_import=""
237case "${host_os}" in
238 mingw*)
239 lt_enable_auto_import="-Wl,--enable-auto-import"
240 ;;
241esac
242AC_SUBST([lt_enable_auto_import])
243
244 306
245#### Checks for library functions 307#### Checks for library functions
246 308
@@ -539,6 +601,7 @@ EINA_CHECK_MODULE([one-big], [static], [one big])
539 601
540 602
541#### Eet 603#### Eet
604
542AC_MSG_NOTICE([Eet checks]) 605AC_MSG_NOTICE([Eet checks])
543 606
544### Default values 607### Default values
@@ -642,6 +705,7 @@ fi
642# libjpeg and zlib 705# libjpeg and zlib
643 706
644EFL_CHECK_LIBS([EET], [libjpeg zlib]) 707EFL_CHECK_LIBS([EET], [libjpeg zlib])
708
645# TODO: better way to force those instead of is secondary check 709# TODO: better way to force those instead of is secondary check
646if test "x${efl_lib_zlib}" != "xyes" -o "x${efl_lib_libjpeg}" != "xyes" ; then 710if test "x${efl_lib_zlib}" != "xyes" -o "x${efl_lib_libjpeg}" != "xyes" ; then
647 AC_MSG_ERROR([Required EET libraries were not found.]) 711 AC_MSG_ERROR([Required EET libraries were not found.])
@@ -658,12 +722,10 @@ PKG_CHECK_MODULES([EET], [${requirements_pc_deps_eet}])
658 722
659case "$host_os" in 723case "$host_os" in
660 mingw32ce*) 724 mingw32ce*)
661# TODO: are these needed here? parts of this are replicated for EVERY LIB :-(
662 requirements_libs_eet="${requirements_libs_eet} -lws2" 725 requirements_libs_eet="${requirements_libs_eet} -lws2"
663 requirements_libs_deps_eet="${requirements_libs_deps_eet} -lws2" 726 requirements_libs_deps_eet="${requirements_libs_deps_eet} -lws2"
664 ;; 727 ;;
665 mingw*) 728 mingw*)
666# TODO: are these needed here? parts of this are replicated for EVERY LIB :-(
667 requirements_libs_eet="${requirements_libs_eet} -lws2_32" 729 requirements_libs_eet="${requirements_libs_eet} -lws2_32"
668 requirements_libs_deps_eet="${requirements_libs_deps_eet} -lws2_32" 730 requirements_libs_deps_eet="${requirements_libs_deps_eet} -lws2_32"
669 ;; 731 ;;
@@ -687,7 +749,6 @@ case "${host_os}" in
687 openbsd*) 749 openbsd*)
688 ;; 750 ;;
689 *) 751 *)
690# TODO: here? Why don't do everywhere or let user specify it?
691 EFL_CHECK_LINKER_FLAGS([EET], [-Wl,--as-needed]) 752 EFL_CHECK_LINKER_FLAGS([EET], [-Wl,--as-needed])
692 ;; 753 ;;
693esac 754esac