Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : libs/eet

Dir     : e17/libs/eet


Modified Files:
        configure.in 


Log Message:
remove trailing spaces and factorize Windows detection

===================================================================
RCS file: /cvs/e/e17/libs/eet/configure.in,v
retrieving revision 1.87
retrieving revision 1.88
diff -u -3 -r1.87 -r1.88
--- configure.in        28 Mar 2008 14:37:29 -0000      1.87
+++ configure.in        29 Mar 2008 07:28:18 -0000      1.88
@@ -34,21 +34,17 @@
 WIN32_LIBS=""
 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_EET_BUILD, 1, [Define to mention that eet is 
built])
-               WIN32_LIBS="-lws2_32"
-               create_shared_lib="-no-undefined "
-               ;;
-       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_EET_BUILD, 1, [Define to mention that eet is 
built])
-               WIN32_CFLAGS="-mwin32"
-               WIN32_LIBS="-lws2"
+               if test "$host_os" = "cegcc" ; then
+                       WIN32_CFLAGS="-mwin32"
+                       WIN32_LIBS="-lws2"
+               else
+                       WIN32_LIBS="-lws2_32"
+               fi
                create_shared_lib="-no-undefined "
                ;;
 esac



-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to