diff options
author | Xiang, Haihao <haihao.xiang@intel.com> | 2016-05-04 16:48:15 +0800 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2016-06-03 00:20:43 +0800 |
commit | fe6280841dfaaee94e8664517420f351cd334c86 (patch) | |
tree | fe5ec7575ea5804e8e984f85d0a6c34835a61c3d /src/Makefile.am | |
parent | 8838a50dc6ab4ba3bd04282248bd8f4e10d7bee2 (diff) |
Don't check WAYLAND_SCANNER if wayland isn't used or found
checking for WAYLAND... no
checking for LIBVA_WAYLAND_DEPS... no
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for WAYLAND_SCANNER... no
configure: error: Package requirements (wayland-scanner) were not met:
No package 'wayland-scanner' found
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Reviewed-by: Sean V Kelley <sean.v.kelley@intel.com>
Diffstat (limited to 'src/Makefile.am')
-rwxr-xr-x | src/Makefile.am | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 93fb3e6..c95034c 100755 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -209,9 +209,12 @@ EXTRA_DIST += Android.mk intel_version.h.in $(PKG_VERSION_FILE) # Wayland protocol protocol_source_h = wayland-drm-client-protocol.h i965_output_wayland.c: $(protocol_source_h) -@wayland_scanner_rules@ +%-client-protocol.h : %.xml + $(AM_V_GEN)$(WAYLAND_SCANNER) client-header < $< > $@ -DIST_SUBDIRS += wayland +EXTRA_DIST += \ + wayland-drm.xml \ + $(NULL) # Extra clean files so that maintainer-clean removes *everything* MAINTAINERCLEANFILES = Makefile.in config.h.in |