Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : libs/embryo

Dir     : e17/libs/embryo


Modified Files:
        configure.in 


Log Message:
 * make cegcc aware of the _WIN32 macro
 * fix warning

===================================================================
RCS file: /cvs/e/e17/libs/embryo/configure.in,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -3 -r1.64 -r1.65
--- configure.in        21 Mar 2008 17:18:25 -0000      1.64
+++ configure.in        22 Mar 2008 08:31:38 -0000      1.65
@@ -33,6 +33,7 @@
 
 AC_CHECK_FUNCS(gettimeofday)
 
+WIN32_CFLAGS=""
 create_shared_lib=""
 case "$host_os" in
        mingw|mingw32*|cegcc)
@@ -40,9 +41,13 @@
                AC_DEFINE(HAVE_EVIL, 1, [Set to 1 if evil package is installed])
                dnl needed for correct definition of EAPI
                AC_DEFINE(EFL_EMBRYO_BUILD, 1, [Define to mention that embryo 
is built])
+               if test "x$host_os" = "xcegcc" ; then
+                       WIN32_CFLAGS="-mwin32"
+               fi
                create_shared_lib="-no-undefined"
                ;;
 esac
+AC_SUBST(WIN32_CFLAGS)
 AC_SUBST(create_shared_lib)
 
 AC_CHECK_HEADERS(fnmatch.h,, AC_MSG_ERROR([Cannot find fnmatch.h. Make sure 
your CFLAGS environment variable contains include lines for the location of 
this file]))



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