From 711470117625dcfa04116857e642886695cebc73 Mon Sep 17 00:00:00 2001 From: Leandro Dorileo Date: Tue, 20 Jan 2015 13:43:17 -0200 Subject: [PATCH] remove zlib dependency libmagic doesn't need zlib any more so we don't need to check for it with ac_check_lib macro. Requiring zlib (an unused dependency) will force us to install zlib on tizen-ivi, since we don't need/use it we better remove the explicit dependency from configure.ac. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 58e752f..a580a64 100644 --- a/configure.ac +++ b/configure.ac @@ -99,7 +99,7 @@ AC_ARG_ENABLE([magic], if test "$enable_magic" = "yes"; then AC_CHECK_HEADERS([magic.h], [], [AC_MSG_ERROR([libmagic magic.h header file not found])]) AC_CHECK_LIB([magic], [magic_open], [AC_SUBST([LIBMAGIC], [-lmagic])], - [AC_MSG_ERROR([libmagic library or magic_open function not found])], [-lz]) + [AC_MSG_ERROR([libmagic library or magic_open function not found])]) fi # plugins declarations -- 2.7.4