aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@gmail.com>2012-10-10 20:06:45 +0000
committerGustavo Sverzut Barbieri <barbieri@gmail.com>2012-10-10 20:06:45 +0000
commit5512dc3fb98b3269624549ba7ad52b74e52b2987 (patch)
tree3f59ff17b820c397d0c6d815ffe37d6e7a475f4a /configure.ac
parentchecking for NULL=0 is too much. (diff)
downloadefl-5512dc3fb98b3269624549ba7ad52b74e52b2987.tar.gz
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
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac9
1 files 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