]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - config-scripts/cups-ssl.m4
Fix RPM build issues (STR #4459)
[thirdparty/cups.git] / config-scripts / cups-ssl.m4
index 444d7c36431223362098649b1a0f2e663fc9ca28..a2ce831c0dff5ef26b2ba2c5e9642994aa06fea2 100644 (file)
@@ -78,6 +78,11 @@ if test x$enable_ssl != xno; then
        if test $have_ssl = 1; then
            CUPS_SERVERCERT="ssl/server.crt"
            CUPS_SERVERKEY="ssl/server.key"
+
+           SAVELIBS="$LIBS"
+           LIBS="$LIBS $SSLLIBS"
+           AC_CHECK_FUNC(gnutls_transport_set_pull_timeout_function, AC_DEFINE(HAVE_GNUTLS_TRANSPORT_SET_PULL_TIMEOUT_FUNCTION))
+           LIBS="$SAVELIBS"
        fi
     fi
 fi