This is a fix to the bug https://bugs.freedesktop.org/show_bug.cgi?id=78688.
Signed-off-by: Srivardhan Hebbar <sri.heb...@samsung.com> --- configure.ac | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 031a26f..89965e2 100644 --- a/configure.ac +++ b/configure.ac @@ -498,7 +498,9 @@ if test "x$have_lcms" = xyes; then fi AM_CONDITIONAL(HAVE_LCMS, [test "x$have_lcms" = xyes]) -AC_PATH_PROG([wayland_scanner], [wayland-scanner]) +WAYLAND_SCANNER_PREFIX=`$PKG_CONFIG --variable=prefix wayland-scanner` +AC_PATH_PROG([wayland_scanner], [wayland-scanner],, + [${WAYLAND_SCANNER_PREFIX}/bin$PATH_SEPARATOR$PATH]) if test x$wayland_scanner = x; then AC_MSG_ERROR([wayland-scanner is needed to compile weston]) fi -- 1.7.9.5 _______________________________________________ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/wayland-devel