Skip to content
Snippets Groups Projects
Commit d267a658 authored by Elizabeth Figura's avatar Elizabeth Figura Committed by Alexandre Julliard
Browse files

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: default avatarZebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard's avatarAlexandre Julliard <julliard@winehq.org>
(cherry picked from commit b8cb9195)
Signed-off-by: default avatarMichael Stefaniuc <mstefani@winehq.org>
parent 1267fe6f
No related branches found
No related tags found
No related merge requests found
......@@ -17609,7 +17609,7 @@ fi
CPPFLAGS=$ac_save_CPPFLAGS
 
fi
if test "x$ac_cv_lib_capi20_capi20_register" = "x"
if test "x$ac_cv_lib_capi20_capi20_register" != xyes
then :
case "x$with_capi" in
x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
......
......@@ -1648,7 +1648,7 @@ then
AC_CHECK_LIB(capi20,capi20_register,[:],[CAPI20_LIBS=""],[$CAPI20_LIBS])
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.],
[enable_capi2032])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment