From 32080655635dc0f508272c86d76bee1c07260021 Mon Sep 17 00:00:00 2001 From: Alexey Yakovenko Date: Wed, 12 Feb 2014 10:58:46 +0100 Subject: use pkgconfig for libzip --- configure.ac | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 1d15a571..7fd7f68c 100644 --- a/configure.ac +++ b/configure.ac @@ -204,9 +204,7 @@ AS_IF([test "${enable_staticlink}" != "no"], [ AC_SUBST(ZIP_CFLAGS) AC_SUBST(ZIP_LIBS) ], [ - AC_CHECK_LIB([zip], [main], [HAVE_ZIP=yes]) - ZIP_LIBS="-lzip" - AC_SUBST(ZIP_LIBS) + PKG_CHECK_MODULES(ZIP, libzip, HAVE_ZIP=yes, HAVE_ZIP=no) ]) AS_IF([test "${enable_gtk3}" = "yes"], [ -- cgit v1.2.3