Module: wine Branch: master Commit: 13a3340bc22b85f7294dfb72d9bc2410b804ce16 URL: https://source.winehq.org/git/wine.git/?a=commit;h=13a3340bc22b85f7294dfb72d...
Author: Alexandre Julliard julliard@winehq.org Date: Wed Dec 1 16:54:07 2021 +0100
configure: Fix the netapi check.
Signed-off-by: Alexandre Julliard julliard@winehq.org
---
configure | 2 +- configure.ac | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure b/configure index aec64ea0232..8e3ec2a1363 100755 --- a/configure +++ b/configure @@ -17346,7 +17346,7 @@ fi CPPFLAGS=$ac_save_CPPFLAGS
fi -if test "x$ac_cv_lib_soname_netapi" != xyes +if test "x$ac_cv_lib_soname_netapi" = "x" then : case "x$with_netapi" in x) as_fn_append wine_notices "|libnetapi not found, Samba NetAPI won't be supported." ;; diff --git a/configure.ac b/configure.ac index aa5396e8d06..9d88ea7cf6e 100644 --- a/configure.ac +++ b/configure.ac @@ -1684,7 +1684,7 @@ then WINE_PACKAGE_FLAGS(NETAPI,[netapi],,,, [WINE_CHECK_SONAME(netapi,libnetapi_init,,[AC_DEFINE_UNQUOTED(SONAME_LIBNETAPI,["libnetapi.$LIBEXT"])],[$NETAPI_LIBS])]) fi -WINE_NOTICE_WITH(netapi,[test "x$ac_cv_lib_soname_netapi" != xyes], +WINE_NOTICE_WITH(netapi,[test "x$ac_cv_lib_soname_netapi" = "x"], [libnetapi not found, Samba NetAPI won't be supported.], [enable_netapi])