Alexandre Julliard : configure: Fix the netapi check.

Alexandre Julliard julliard at winehq.org
Tue Apr 12 13:38:04 CDT 2022


Module: wine
Branch: oldstable
Commit: 795035c0ecfb983b1cb12c46419d531a9dfb4651
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=795035c0ecfb983b1cb12c46419d531a9dfb4651

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Wed Dec  1 16:54:07 2021 +0100

configure: Fix the netapi check.

Signed-off-by: Alexandre Julliard <julliard at winehq.org>
(cherry picked from commit 13a3340bc22b85f7294dfb72d9bc2410b804ce16)
Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>

---

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




More information about the wine-cvs mailing list