--- a/configure.ac 2014-05-09 00:29:24.000000000 -0400 +++ b/configure.ac 2015-04-16 23:23:05.476711585 -0400 @@ -275,14 +275,13 @@ if test "$USE_WAYLAND" = "yes"; then AC_DEFINE([HAVE_VA_WAYLAND], [1], [Defined to 1 if VA/Wayland API is built]) + m4_ifdef([WAYLAND_SCANNER_RULES], + [WAYLAND_SCANNER_RULES(['$(top_srcdir)/va/wayland/protocol'])], + [wayland_scanner_rules=""; AC_SUBST(wayland_scanner_rules)]) fi fi AM_CONDITIONAL(USE_WAYLAND, test "$USE_WAYLAND" = "yes") -m4_ifdef([WAYLAND_SCANNER_RULES], - [WAYLAND_SCANNER_RULES(['$(top_srcdir)/va/wayland/protocol'])], - [wayland_scanner_rules=""; AC_SUBST(wayland_scanner_rules)]) - pkgconfigdir=${libdir}/pkgconfig AC_SUBST(pkgconfigdir)