Don't break the build if we don't have the gnutls libraries.
This commit is contained in:
parent
d6dcbe70e2
commit
036dc38d03
3 changed files with 329 additions and 212 deletions
|
@ -1,3 +1,8 @@
|
|||
2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
|
||||
|
||||
* configure.in (HAVE_GNUTLS): Don't break if we don't have the
|
||||
gnutls libraries.
|
||||
|
||||
2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
|
||||
|
||||
* configure.in: Set up GnuTLS.
|
||||
|
|
|
@ -2002,10 +2002,13 @@ AC_SUBST(LIBSELINUX_LIBS)
|
|||
|
||||
HAVE_GNUTLS=no
|
||||
if test "${with_gnutls}" = "yes" ; then
|
||||
PKG_CHECK_MODULES([LIBGNUTLS], [gnutls >= 2.2.4])
|
||||
AC_DEFINE(HAVE_GNUTLS)
|
||||
HAVE_GNUTLS=yes
|
||||
PKG_CHECK_MODULES([LIBGNUTLS], [gnutls >= 2.2.4], HAVE_GNUTLS=yes, HAVE_GNUTLS=no)
|
||||
if test "${HAVE_GNUTLS}" = "yes"; then
|
||||
AC_DEFINE(HAVE_GNUTLS)
|
||||
fi
|
||||
fi
|
||||
AC_SUBST(LIBGNUTLS_LIBS)
|
||||
AC_SUBST(LIBGNUTLS_CFLAGS)
|
||||
|
||||
dnl Do not put whitespace before the #include statements below.
|
||||
dnl Older compilers (eg sunos4 cc) choke on it.
|
||||
|
|
Loading…
Add table
Reference in a new issue