Skip to content
Snippets Groups Projects
Commit 13a3340b authored by Alexandre Julliard's avatar Alexandre Julliard
Browse files

configure: Fix the netapi check.

parent 8d6c33c3
No related branches found
No related tags found
No related merge requests found
......@@ -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." ;;
......
......@@ -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])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment