configure: Fix the netapi check.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2021-12-01 16:54:07 +01:00
parent 8d6c33c3bf
commit 13a3340bc2
2 changed files with 2 additions and 2 deletions

2
configure vendored
View File

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

View File

@ -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])