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
|
CPPFLAGS=$ac_save_CPPFLAGS
|
||||||
|
|
||||||
fi
|
fi
|
||||||
if test "x$ac_cv_lib_soname_netapi" != xyes
|
if test "x$ac_cv_lib_soname_netapi" = "x"
|
||||||
then :
|
then :
|
||||||
case "x$with_netapi" in
|
case "x$with_netapi" in
|
||||||
x) as_fn_append wine_notices "|libnetapi not found, Samba NetAPI won't be supported." ;;
|
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_PACKAGE_FLAGS(NETAPI,[netapi],,,,
|
||||||
[WINE_CHECK_SONAME(netapi,libnetapi_init,,[AC_DEFINE_UNQUOTED(SONAME_LIBNETAPI,["libnetapi.$LIBEXT"])],[$NETAPI_LIBS])])
|
[WINE_CHECK_SONAME(netapi,libnetapi_init,,[AC_DEFINE_UNQUOTED(SONAME_LIBNETAPI,["libnetapi.$LIBEXT"])],[$NETAPI_LIBS])])
|
||||||
fi
|
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.],
|
[libnetapi not found, Samba NetAPI won't be supported.],
|
||||||
[enable_netapi])
|
[enable_netapi])
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue