remove trailing spaces and factorize Windows detection

SVN revision: 34135
This commit is contained in:
doursse 2008-03-29 07:28:18 +00:00 committed by doursse
parent 54c28a5391
commit 741b44f6e2
4 changed files with 18 additions and 22 deletions

View File

@ -34,21 +34,17 @@ WIN32_CFLAGS=""
WIN32_LIBS=""
create_shared_lib=""
case "$host_os" in
mingw|mingw32)
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)
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])
if test "$host_os" = "cegcc" ; then
WIN32_CFLAGS="-mwin32"
WIN32_LIBS="-lws2"
else
WIN32_LIBS="-lws2_32"
fi
create_shared_lib="-no-undefined "
;;
esac