diff options
author | Alexey Yakovenko <waker@users.sourceforge.net> | 2014-02-12 10:58:46 +0100 |
---|---|---|
committer | Alexey Yakovenko <waker@users.sourceforge.net> | 2014-02-12 10:58:46 +0100 |
commit | 32080655635dc0f508272c86d76bee1c07260021 (patch) | |
tree | 54183bfe626a4eafd4fcc5870acff6cf787afa81 /configure.ac | |
parent | f95d3956a31a573152fb78c38e437b0401a88361 (diff) |
use pkgconfig for libzip
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 1 insertions, 3 deletions
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"], [ |