configure: Fix the netapi check.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
(cherry picked from commit 13a3340bc2)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
This commit is contained in:
Alexandre Julliard 2021-12-01 16:54:07 +01:00 committed by Michael Stefaniuc
parent 71dc3ca16e
commit 795035c0ec
2 changed files with 2 additions and 2 deletions

2
configure vendored
View File

@ -16460,7 +16460,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." ;;

View File

@ -1930,7 +1930,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])