prelude-manager/master: Correct GnuTLS pkg-config check

[email protected] Fri, 29 Jan 2010 18:39:22 +0100 (CET)
Newsgroups gmane.comp.security.ids.prelude.cvs
Message-ID <[email protected]>
commit a024a2799561e692929386f2ca45b536938987a6
Author: Yoann Vandoorselaere <[email protected]>
Date:   Tue Jan 19 15:34:59 2010 +0100

    Correct GnuTLS pkg-config check


========================================

 configure.in |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

========================================

diff --git a/configure.in b/configure.in
index 8b61354..c275608 100644
--- a/configure.in
+++ b/configure.in
@@ -78,9 +78,8 @@ dnl * Check for GnuTLS.                              *
 dnl **************************************************
 GNUTLS_MIN_VERSION=1.0.17
 
-PKG_CHECK_EXISTS(gnutls,
-                 [PKG_CHECK_MODULES([LIBGNUTLS], [gnutls >= $GNUTLS_MIN_VERSION])],
-                 [AM_PATH_LIBGNUTLS($GNUTLS_MIN_VERSION, [], [AC_MSG_ERROR(libgnutls is required in order to build prelude-manager.)])])
+PKG_CHECK_MODULES([LIBGNUTLS], [gnutls >= $GNUTLS_MIN_VERSION], [],
+                  [AM_PATH_LIBGNUTLS($GNUTLS_MIN_VERSION, [], [AC_MSG_ERROR($LIBGNUTLS_PKG_ERRORS)])])
 
 old_LIBS=$LIBS
 old_CPPFLAGS=$CPPFLAGS
_______________________________________________
Prelude-cvslog site list
[email protected]
http://lists.prelude-ids.org/mailman/listinfo/prelude-cvslog