Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : libs/edje

Dir     : e17/libs/edje


Modified Files:
        configure.in 


Log Message:
fix autotools stuff for Windows

===================================================================
RCS file: /cvs/e/e17/libs/edje/configure.in,v
retrieving revision 1.95
retrieving revision 1.96
diff -u -3 -r1.95 -r1.96
--- configure.in        19 May 2008 00:07:11 -0000      1.95
+++ configure.in        31 May 2008 06:10:58 -0000      1.96
@@ -33,16 +33,25 @@
 
 AC_FUNC_ALLOCA
 
-create_shared_lib=""
+WIN32_CFLAGS=""
+lt_no_undefined=""
+lt_enable_auto_import=""
 edje_decc_lib=""
 case "$host_os" in
-       mingw|mingw32)
-               create_shared_lib="-no-undefined "
+       mingw*|cegcc)
+               dnl needed for correct definition of EAPI
+               AC_DEFINE(EFL_EDJE_BUILD, 1, [Define to mention that embryo is 
built])
+               if test "x$host_os" = "xcegcc" ; then
+                       WIN32_CFLAGS="-mwin32"
+                       lt_enable_auto_import="-Wl,--enable-auto-import"
+               fi
+               lt_no_undefined="-no-undefined"
                edje_decc_lib="-lole32 -luuid"
                ;;
 esac
-
-AC_SUBST(create_shared_lib)
+AC_SUBST(WIN32_CFLAGS)
+AC_SUBST(lt_no_undefined)
+AC_SUBST(lt_enable_auto_import)
 AC_SUBST(edje_decc_lib)
 
 AC_CHECK_FUNCS(realpath)



-------------------------------------------------------------------------
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