configure.ac: give a big warning for missing gnutls
Austin English
austinenglish at gmail.com
Wed Feb 12 15:45:16 CST 2014
Not only is it insecure, it breaks several applications when it is missing.
--
-Austin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20140212/d1efd9b0/attachment.html>
-------------- next part --------------
diff --git a/configure b/configure
index 937dbdf..bb68c51 100755
--- a/configure
+++ b/configure
@@ -11203,7 +11203,7 @@ test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)
fi
if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
case "x$with_gnutls" in
- x) as_fn_append wine_notices "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
+ x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
xno) ;;
*) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
diff --git a/configure.ac b/configure.ac
index a425490..32730f3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1346,7 +1346,7 @@ then
[WINE_CHECK_SONAME(gnutls,gnutls_global_init,,[GNUTLS_CFLAGS=""],[$GNUTLS_LIBS])])],
[GNUTLS_CFLAGS=""])])
fi
-WINE_NOTICE_WITH(gnutls,[test "x$ac_cv_lib_soname_gnutls" = "x"],
+WINE_WARNING_WITH(gnutls,[test "x$ac_cv_lib_soname_gnutls" = "x"],
[libgnutls ${notice_platform}development files not found, no schannel support.])
dnl **** Check which curses lib to use ***
More information about the wine-patches
mailing list