mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-03 02:22:18 +00:00
configure: Only build Wayland if linux/input.h is present.
This commit is contained in:
parent
52618e1d3c
commit
83e80e9b60
2
configure
vendored
2
configure
vendored
|
@ -15710,7 +15710,7 @@ fi
|
|||
CPPFLAGS=$ac_save_CPPFLAGS
|
||||
|
||||
fi
|
||||
if test -z "$WAYLAND_CLIENT_LIBS" -o -z "$WAYLAND_SCANNER"
|
||||
if test -z "$WAYLAND_CLIENT_LIBS" -o -z "$WAYLAND_SCANNER" -o "$ac_cv_header_linux_input_h" = "no"
|
||||
then :
|
||||
case "x$with_wayland" in
|
||||
x) as_fn_append wine_notices "|Wayland ${notice_platform}development files not found, the Wayland driver won't be supported." ;;
|
||||
|
|
|
@ -1373,7 +1373,7 @@ then
|
|||
[`test -n "$PKG_CONFIG" && $PKG_CONFIG --variable=wayland_scanner wayland-scanner 2>/dev/null`])],
|
||||
[WAYLAND_CLIENT_LIBS=""],[$WAYLAND_CLIENT_LIBS])])])
|
||||
fi
|
||||
WINE_NOTICE_WITH(wayland, [test -z "$WAYLAND_CLIENT_LIBS" -o -z "$WAYLAND_SCANNER"],
|
||||
WINE_NOTICE_WITH(wayland, [test -z "$WAYLAND_CLIENT_LIBS" -o -z "$WAYLAND_SCANNER" -o "$ac_cv_header_linux_input_h" = "no"],
|
||||
[Wayland ${notice_platform}development files not found, the Wayland driver won't be supported.],
|
||||
[enable_winewayland_drv])
|
||||
|
||||
|
|
Loading…
Reference in a new issue