From 5512dc3fb98b3269624549ba7ad52b74e52b2987 Mon Sep 17 00:00:00 2001 From: Gustavo Sverzut Barbieri Date: Wed, 10 Oct 2012 20:06:45 +0000 Subject: [PATCH] efl: libjpeg and zlib are mandatory. TODO: we should have a better way to check those without requiring the check for efl_lib_zlib and efl_lib_libjpeg. SVN revision: 77794 --- configure.ac | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index abef03ae78..9092fa5844 100644 --- a/configure.ac +++ b/configure.ac @@ -692,6 +692,11 @@ fi # libjpeg and zlib EFL_CHECK_LIBS([EET], [libjpeg zlib]) +# TODO: better way to force those instead of is secondary check +if test "x${efl_lib_zlib}" != "xyes" -o "x${efl_lib_libjpeg}" != "xyes" ; then + AC_MSG_ERROR([Required EET libraries were not found.]) +fi + # Eina library @@ -743,10 +748,6 @@ esac ### Check availability -if test "x${efl_lib_zlib}" = "xyes" && test "x${efl_lib_libjpeg}" = "xyes" ; then - efl_have_eet="yes" -fi - #### End of Eet