Commit b8cb9195 authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

configure: Fix the check for CAPI support.

AC_CHECK_LIB sets the variable to "no", not an empty string. Hence compilation would fail if headers were present but libraries were missing. Signed-off-by: 's avatarZebediah Figura <zfigura@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 7b27e60e
...@@ -17498,7 +17498,7 @@ fi ...@@ -17498,7 +17498,7 @@ fi
CPPFLAGS=$ac_save_CPPFLAGS CPPFLAGS=$ac_save_CPPFLAGS
fi fi
if test "x$ac_cv_lib_capi20_capi20_register" = "x" if test "x$ac_cv_lib_capi20_capi20_register" != xyes
then : then :
case "x$with_capi" in case "x$with_capi" in
x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;; x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
......
...@@ -1667,7 +1667,7 @@ then ...@@ -1667,7 +1667,7 @@ then
AC_CHECK_LIB(capi20,capi20_register,[:],[CAPI20_LIBS=""],[$CAPI20_LIBS]) AC_CHECK_LIB(capi20,capi20_register,[:],[CAPI20_LIBS=""],[$CAPI20_LIBS])
fi]) fi])
fi fi
WINE_NOTICE_WITH(capi,[test "x$ac_cv_lib_capi20_capi20_register" = "x"], WINE_NOTICE_WITH(capi,[test "x$ac_cv_lib_capi20_capi20_register" != xyes],
[libcapi20 ${notice_platform}development files not found, ISDN won't be supported.], [libcapi20 ${notice_platform}development files not found, ISDN won't be supported.],
[enable_capi2032]) [enable_capi2032])
......
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