Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : libs/evas

Dir     : e17/libs/evas


Modified Files:
        configure.in 


Log Message:
 * Remove Windows code in evas_module.c and use evilness instead
 * Allow Windows Mobile to correctly load dll's
 * Use correct scheme for EAPI on Windows and include config.h when necessary
 * add -mwin32 to compiler flags when compiling with cegcc

===================================================================
RCS file: /cvs/e/e17/libs/evas/configure.in,v
retrieving revision 1.250
retrieving revision 1.251
diff -u -3 -r1.250 -r1.251
--- configure.in        9 Mar 2008 13:21:15 -0000       1.250
+++ configure.in        14 Mar 2008 16:49:47 -0000      1.251
@@ -35,12 +35,23 @@
 AC_SUBST(MODULE_ARCH)
 AC_DEFINE_UNQUOTED(MODULE_ARCH, "$MODULE_ARCH", "Module architecture")
 
+PKG_PROG_PKG_CONFIG
+
+WIN32_CFLAGS=""
 create_shared_lib=""
 case "$host_os" in
-        mingw|mingw32)
+        mingw|mingw32*|cegcc)
+               PKG_CHECK_MODULES(EVIL, evil)
+               AC_DEFINE(HAVE_EVIL, 1, [Set to 1 if evil package is installed])
+               dnl needed for correct definition of EAPI
+               AC_DEFINE(EFL_EVAS_BUILD, 1, [Define to mention that evas is 
built])
+                if test "$host_os" = "cegcc" ; then
+                        WIN32_CFLAGS="-mwin32"
+                fi
                 create_shared_lib="-no-undefined "
                 ;;
 esac
+AC_SUBST(WIN32_CFLAGS)
 AC_SUBST(create_shared_lib)
 
 x_dir=""



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to