summaryrefslogtreecommitdiff
path: root/legacy/eina
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2010-04-03 21:23:28 +0000
committerVincent Torri <vincent.torri@gmail.com>2010-04-03 21:23:28 +0000
commit4bce4509dc8cbe4a5c5e16d33db8990362482a85 (patch)
tree0d51185092825beaf047bab1d29e5152fffa96c6 /legacy/eina
parent5120168d529a69f52d6f19b345d67f662bfff990 (diff)
remove cegcc compiler support
SVN revision: 47740
Diffstat (limited to 'legacy/eina')
-rw-r--r--legacy/eina/configure.ac25
1 files changed, 9 insertions, 16 deletions
diff --git a/legacy/eina/configure.ac b/legacy/eina/configure.ac
index 77d0e9602c..8d4ca53803 100644
--- a/legacy/eina/configure.ac
+++ b/legacy/eina/configure.ac
@@ -37,7 +37,7 @@ AC_DEFINE_UNQUOTED(MODULE_ARCH, "$MODULE_ARCH", "Module architecture")
37requirement_eina="" 37requirement_eina=""
38 38
39case "$host_os" in 39case "$host_os" in
40 mingw32ce* | cegcc*) 40 mingw32ce*)
41 MODULE_ARCH="$host_os-$host_cpu" 41 MODULE_ARCH="$host_os-$host_cpu"
42 ;; 42 ;;
43 *) 43 *)
@@ -217,7 +217,7 @@ EFL_CHECK_DOXYGEN([build_doc="yes"], [build_doc="no"])
217 217
218EFL_EINA_BUILD="" 218EFL_EINA_BUILD=""
219case "$host_os" in 219case "$host_os" in
220 mingw* | cegcc*) 220 mingw*)
221 PKG_CHECK_MODULES([EVIL], [evil]) 221 PKG_CHECK_MODULES([EVIL], [evil])
222 AC_DEFINE(HAVE_EVIL, 1, [Set to 1 if evil package is installed]) 222 AC_DEFINE(HAVE_EVIL, 1, [Set to 1 if evil package is installed])
223 requirement_eina="evil" 223 requirement_eina="evil"
@@ -269,23 +269,16 @@ AC_C___ATTRIBUTE__
269AC_PROG_CC_STDC 269AC_PROG_CC_STDC
270 270
271EINA_CPPFLAGS="" 271EINA_CPPFLAGS=""
272EINA_CFLAGS=""
272case "$host_os" in 273case "$host_os" in
273 mingw32ce* | cegcc*) 274 mingw32ce*)
274 EINA_CPPFLAGS="-D_WIN32_WCE=0x0420" 275 EINA_CPPFLAGS="-D_WIN32_WCE=0x0420"
276 EINA_CFLAGS="${EVIL_CFLAGS}"
275 ;; 277 ;;
276 mingw*) 278 mingw*)
277 EINA_CPPFLAGS="-D_WIN32_WINNT=0x0500" 279 EINA_CPPFLAGS="-D_WIN32_WINNT=0x0501"
278 ;;
279esac
280
281EINA_CFLAGS=
282case "${host_os}" in
283 cegcc*)
284 EINA_CFLAGS="${EVIL_CFLAGS} -mwin32"
285 ;;
286 mingw*)
287 EINA_CFLAGS="${EVIL_CFLAGS}" 280 EINA_CFLAGS="${EVIL_CFLAGS}"
288 ;; 281 ;;
289esac 282esac
290 283
291if ! test "x${VMIC}" = "x" ; then 284if ! test "x${VMIC}" = "x" ; then
@@ -303,7 +296,7 @@ AC_SUBST(EINA_CFLAGS)
303EINA_LIBS= 296EINA_LIBS=
304lt_enable_auto_import="" 297lt_enable_auto_import=""
305case "${host_os}" in 298case "${host_os}" in
306 mingw* | cegcc*) 299 mingw*)
307 EINA_LIBS="-ldl ${EVIL_LIBS} -lm" 300 EINA_LIBS="-ldl ${EVIL_LIBS} -lm"
308 lt_enable_auto_import="-Wl,--enable-auto-import" 301 lt_enable_auto_import="-Wl,--enable-auto-import"
309 ;; 302 ;;
@@ -336,7 +329,7 @@ AC_CHECK_FUNCS(strlcpy)
336#dlopen and dladdr 329#dlopen and dladdr
337dlopen_libs="" 330dlopen_libs=""
338case "$host_os" in 331case "$host_os" in
339 mingw* | cegcc*) 332 mingw*)
340# managed by evil 333# managed by evil
341 AC_DEFINE(HAVE_DLADDR) 334 AC_DEFINE(HAVE_DLADDR)
342 ;; 335 ;;