Commit 67710737 authored by Alexandre Julliard's avatar Alexandre Julliard

configure: Fix the libsane notice check.

parent 341cb1a9
......@@ -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) ;;
......
......@@ -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])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment