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:
parent
71dc3ca16e
commit
795035c0ec
|
@ -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." ;;
|
||||
|
|
|
@ -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])
|
||||
|
||||
|
|
Loading…
Reference in New Issue