efl: fix sdl check and simplify jpeg saver check for windows

SVN revision: 80492
This commit is contained in:
Gustavo Sverzut Barbieri 2012-12-07 19:16:03 +00:00
parent 64a9af8fe8
commit e197a0453d
1 changed files with 8 additions and 11 deletions

View File

@ -1138,7 +1138,7 @@ AC_ARG_ENABLE([sdl],
],
[want_sdl="no"])
if test "${want_sdl}"; then
if test "${want_sdl}" = "yes"; then
EFL_PKG_CHECK_STRICT([sdl >= 1.2.0])
fi
@ -1665,16 +1665,13 @@ EVAS_CHECK_IMAGE_LOADER([XPM], [${want_evas_image_loader_xpm}])
dnl Windows has no sigsetjmp function, nor equivalent.
dnl So we disable the jpeg saver.
dnl TODO: must find a workaround
case "$host_os" in
mingw*)
;;
*)
if test "x${have_evas_image_loader_jpeg}" = "xyes" || test "x${have_evas_image_loader_jpeg}" = "xstatic"; then
AC_DEFINE([EVAS_BUILD_SAVER_JPEG], [1], [Build JPEG saver])
have_evas_image_saver_jpeg="yes"
fi
;;
esac
if test "${have_windows}" = "yes"; then
have_evas_image_saver_jpeg="no"
elif test "x${have_evas_image_loader_jpeg}" = "xyes" || \
test "x${have_evas_image_loader_jpeg}" = "xstatic"; then
AC_DEFINE([EVAS_BUILD_SAVER_JPEG], [1], [Build JPEG saver])
have_evas_image_saver_jpeg="yes"
fi
AM_CONDITIONAL([BUILD_SAVER_JPEG], [test "x${have_evas_image_saver_jpeg}" = "xyes"])