path: root/configure.in
diff options
authorJason Woodward2007-06-18 01:06:50 +0000
committerJason Woodward2007-06-18 01:06:50 +0000
commit57a8eb86b7c8633c38f0aa88e3efd5adeceb196f (patch)
treed1e1f33f595059ed6fea7871346f5e0d9a42d5fb /configure.in
parent72160f3a6f1e9eb37b5e49f255730be6d80b8dc3 (diff)
* download checksum signatures and attempt to verify
* german updates by Manfred * updated translations * configure tries to detect if libslapt has built in gpgme support * Added "Verification" tab to preferences to add GPG-KEYs for each source
Diffstat (limited to 'configure.in')
1 files changed, 6 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index a44ac12..7b64225 100644
--- a/configure.in
+++ b/configure.in
@@ -33,7 +33,12 @@ AC_CHECK_HEADER(curl/curl.h, [], [AC_MSG_ERROR(libcurl headers are missing)])
AC_CHECK_HEADER(slapt.h, [], [AC_MSG_ERROR(libslapt headers are missing)])
AC_CHECK_LIB(z,gzopen, [LIBS="$LIBS -lz"], [AC_MSG_ERROR(libz is missing)])
AC_CHECK_LIB(curl,curl_global_init, [LIBS="$LIBS `curl-config --libs`"], [AC_MSG_ERROR(curl libs are missing)])
-AC_CHECK_LIB(gpgme,gpgme_new, [LIBS="$LIBS `gpgme-config --libs`"], [AC_MSG_WARN(gpg support disabled)])
+AC_CHECK_LIB(gpgme,gpgme_new, [
+ LIBS="$LIBS `gpgme-config --libs`"
+ AC_CHECK_LIB(slapt,slapt_add_pkg_source_gpg_key,
+ [AC_DEFINE(SLAPT_HAS_GPGME, 1, [libslapt has builtin gpgme support])],
+ [AC_MSG_WARN(libslapt does not have gpgme support)])
+], [AC_MSG_WARN(gpg support disabled)])
AC_CHECK_LIB(slapt,slapt_strerror, [], [AC_MSG_ERROR(libslapt 0.9.12 or greater is required)])
LIBS="$LIBS -lglib-2.0 -lgthread-2.0"