|
From: <csi...@li...> - 2008-05-26 11:21:36
|
Revision: 1313
http://csipc2.svn.sourceforge.net/csipc2/?rev=1313&view=rev
Author: warcamel
Date: 2008-05-26 04:21:31 -0700 (Mon, 26 May 2008)
Log Message:
-----------
- added check for gnutls
Modified Paths:
--------------
trunk/configure.in
Modified: trunk/configure.in
===================================================================
--- trunk/configure.in 2008-05-26 09:48:51 UTC (rev 1312)
+++ trunk/configure.in 2008-05-26 11:21:31 UTC (rev 1313)
@@ -173,6 +173,25 @@
AM_CONDITIONAL(MAKE_GTK_SUPPORT, test "x$enable_gtk2" = "xyes")
+### Checking for GNUTLS
+AC_MSG_CHECKING(for gnutls)
+if $(pkg-config --exists gnutls); then
+ AC_MSG_RESULT(yes)
+ AC_MSG_CHECKING(for gnutls libraries)
+ GNUTLS_LIBS=$(pkg-config --libs gnutls)
+ AC_MSG_RESULT(${GNUTLS_LIBS})
+ AC_MSG_CHECKING(for gnutls headers)
+ GNUTLS_INCS=$(pkg-config --cflags gnutls)
+ AC_MSG_RESULT(${GNUTLS_INCS})
+else
+ AC_MSG_RESULT(no)
+ AC_MSG_ERROR([Could not find gnutls-devel package])
+fi
+AC_SUBST(GNUTLS_LIBS)
+AC_SUBST(GNUTLS_INCS)
+
+
+
### Check availability of functions, headers and libraries
AC_FUNC_MALLOC
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|