From 795035c0ecfb983b1cb12c46419d531a9dfb4651 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Wed, 1 Dec 2021 16:54:07 +0100 Subject: [PATCH] configure: Fix the netapi check. Signed-off-by: Alexandre Julliard (cherry picked from commit 13a3340bc22b85f7294dfb72d9bc2410b804ce16) Signed-off-by: Michael Stefaniuc --- configure | 2 +- configure.ac | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index ef010a831af..50f9fce99b2 100755 --- a/configure +++ b/configure @@ -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." ;; diff --git a/configure.ac b/configure.ac index e4c9c7edfef..32d3e5c5441 100644 --- a/configure.ac +++ b/configure.ac @@ -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])