forked from enlightenment/efl
efl: fix sdl check and simplify jpeg saver check for windows
SVN revision: 80492
This commit is contained in:
parent
64a9af8fe8
commit
e197a0453d
15
configure.ac
15
configure.ac
|
@ -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
|
||||
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
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
AM_CONDITIONAL([BUILD_SAVER_JPEG], [test "x${have_evas_image_saver_jpeg}" = "xyes"])
|
||||
|
||||
|
|
Loading…
Reference in New Issue