Reverting my band aid and bring in the real fix provided by Vincent.
SVN revision: 73139
AC_MSG_RESULT([${have_signature}])
# libjpeg and zlib
-EFL_CHECK_LIBS([eet], [libjpeg])
-AC_CHECK_HEADER([zlib.h],
- [dummy="yes"],
- [AC_MSG_ERROR("Cannot find zlib.h. Make sure your CFLAGS environment variable contains include lines for the location of this file")])
+EFL_CHECK_LIBS([eet], [libjpeg zlib])
# Eina library
requirements_pc_[]m4_defn([DOWNEFL])="${requirements_pc_[]m4_defn([DOWNEFL])} zlib"
],
[
- AC_MSG_ERROR(["Cannot find zlib.PC. Make sure your PKG_CONFIG_PATH environment variable contains include lines for the location of this file"])
_efl_have_lib="no"
])
AC_DEFUN([EFL_CHECK_LIBS],
[
m4_foreach_w([lib], [$2], [EFL_CHECK_LIB($1, m4_defn([lib]))])
-])
\ No newline at end of file
+])