Alexandre Julliard : configure: Fix the libsane notice check.

Alexandre Julliard julliard at winehq.org
Mon Nov 1 16:38:01 CDT 2021


Module: wine
Branch: master
Commit: 677107378ee979f33d88f02a828e2c0576e33281
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=677107378ee979f33d88f02a828e2c0576e33281

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Sun Oct 31 10:02:20 2021 +0100

configure: Fix the libsane notice check.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51951
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 configure    | 2 +-
 configure.ac | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure b/configure
index 0156a507439..167d5f161cd 100755
--- a/configure
+++ b/configure
@@ -13345,7 +13345,7 @@ fi
 CPPFLAGS=$ac_save_CPPFLAGS
 
 fi
-if test "x$ac_cv_lib_soname_sane" = "x"; then :
+if test "$ac_cv_lib_sane_sane_init" != "yes"; then :
   case "x$with_sane" in
   x)   as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
   xno) ;;
diff --git a/configure.ac b/configure.ac
index ab55c72a238..c8c09d834f1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1348,7 +1348,7 @@ then
         [AC_CHECK_HEADER(sane/sane.h,
             [AC_CHECK_LIB(sane,sane_init,[:],,[$SANE_LIBS])])])
 fi
-WINE_NOTICE_WITH(sane,[test "x$ac_cv_lib_soname_sane" = "x"],
+WINE_NOTICE_WITH(sane,[test "$ac_cv_lib_sane_sane_init" != "yes"],
                  [libsane ${notice_platform}development files not found, scanners won't be supported.],
                  [enable_sane_ds])
 




More information about the wine-cvs mailing list