Commit 41f31686 authored by Austin English's avatar Austin English Committed by Alexandre Julliard

configure: Give a warning for missing gnutls.

parent add85f46
...@@ -11203,7 +11203,7 @@ test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\) ...@@ -11203,7 +11203,7 @@ test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)
fi fi
if test "x$ac_cv_lib_soname_gnutls" = "x"; then : if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
case "x$with_gnutls" in 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) ;; xno) ;;
*) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support. *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
This is an error since --with-gnutls was requested." "$LINENO" 5 ;; This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
......
...@@ -1346,7 +1346,7 @@ then ...@@ -1346,7 +1346,7 @@ then
[WINE_CHECK_SONAME(gnutls,gnutls_global_init,,[GNUTLS_CFLAGS=""],[$GNUTLS_LIBS])])], [WINE_CHECK_SONAME(gnutls,gnutls_global_init,,[GNUTLS_CFLAGS=""],[$GNUTLS_LIBS])])],
[GNUTLS_CFLAGS=""])]) [GNUTLS_CFLAGS=""])])
fi 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.]) [libgnutls ${notice_platform}development files not found, no schannel support.])
dnl **** Check which curses lib to use *** dnl **** Check which curses lib to use ***
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment