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