diff options
-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"], [ |