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: Zebediah Figura <zfigura@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
7b27e60e67
commit
b8cb9195d0
|
@ -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
|
||||||
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])
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue