|
|
87cf9a |
diff -up cups-1.6.2/config-scripts/cups-ssl.m4.no-gcry cups-1.6.2/config-scripts/cups-ssl.m4
|
|
|
87cf9a |
--- cups-1.6.2/config-scripts/cups-ssl.m4.no-gcry 2013-06-26 17:26:41.415750243 +0100
|
|
|
87cf9a |
+++ cups-1.6.2/config-scripts/cups-ssl.m4 2013-06-26 17:26:41.467750445 +0100
|
|
|
87cf9a |
@@ -93,7 +93,6 @@ if test x$enable_ssl != xno; then
|
|
|
87cf9a |
dnl Then look for GNU TLS...
|
|
|
87cf9a |
if test $have_ssl = 0 -a "x$enable_gnutls" != "xno" -a "x$PKGCONFIG" != x; then
|
|
|
87cf9a |
AC_PATH_PROG(LIBGNUTLSCONFIG,libgnutls-config)
|
|
|
87cf9a |
- AC_PATH_PROG(LIBGCRYPTCONFIG,libgcrypt-config)
|
|
|
87cf9a |
if $PKGCONFIG --exists gnutls; then
|
|
|
87cf9a |
have_ssl=1
|
|
|
87cf9a |
SSLLIBS=`$PKGCONFIG --libs gnutls`
|
|
|
87cf9a |
@@ -111,14 +110,6 @@ if test x$enable_ssl != xno; then
|
|
|
87cf9a |
if test $have_ssl = 1; then
|
|
|
87cf9a |
CUPS_SERVERCERT="ssl/server.crt"
|
|
|
87cf9a |
CUPS_SERVERKEY="ssl/server.key"
|
|
|
87cf9a |
-
|
|
|
87cf9a |
- if $PKGCONFIG --exists gcrypt; then
|
|
|
87cf9a |
- SSLLIBS="$SSLLIBS `$PKGCONFIG --libs gcrypt`"
|
|
|
87cf9a |
- SSLFLAGS="$SSLFLAGS `$PKGCONFIG --cflags gcrypt`"
|
|
|
87cf9a |
- elif test "x$LIBGCRYPTCONFIG" != x; then
|
|
|
87cf9a |
- SSLLIBS="$SSLLIBS `$LIBGCRYPTCONFIG --libs`"
|
|
|
87cf9a |
- SSLFLAGS="$SSLFLAGS `$LIBGCRYPTCONFIG --cflags`"
|
|
|
87cf9a |
- fi
|
|
|
87cf9a |
fi
|
|
|
87cf9a |
fi
|
|
|
87cf9a |
|
|
|
87cf9a |
diff -up cups-1.6.2/cups/http-private.h.no-gcry cups-1.6.2/cups/http-private.h
|
|
|
87cf9a |
--- cups-1.6.2/cups/http-private.h.no-gcry 2012-12-17 22:17:08.000000000 +0000
|
|
|
87cf9a |
+++ cups-1.6.2/cups/http-private.h 2013-06-26 17:26:41.468750449 +0100
|
|
|
87cf9a |
@@ -78,7 +78,6 @@ typedef int socklen_t;
|
|
|
87cf9a |
# elif defined HAVE_GNUTLS
|
|
|
87cf9a |
# include <gnutls/gnutls.h>
|
|
|
87cf9a |
# include <gnutls/x509.h>
|
|
|
87cf9a |
-# include <gcrypt.h>
|
|
|
87cf9a |
# elif defined(HAVE_CDSASSL)
|
|
|
87cf9a |
# include <CoreFoundation/CoreFoundation.h>
|
|
|
87cf9a |
# include <Security/Security.h>
|