Autotools already copies the files appropriately, and using
top_srcdir causes the files to be generated in the source
tree rather than the build one.

Spotted by 'make dist'

Signed-off-by: Emil Velikov <emil.l.veli...@gmail.com>
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 153d018..7270d0f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -280,7 +280,7 @@ 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(['$(top_builddir)/va/wayland/protocol'])],
     [wayland_scanner_rules=""; AC_SUBST(wayland_scanner_rules)])
 
 pkgconfigdir=${libdir}/pkgconfig
-- 
2.1.0

_______________________________________________
Libva mailing list
Libva@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libva

Reply via email to