[Libva] [PATCH 3/7] configure: use top_builddir for wayland_scanner_rules

Emil Velikov emil.l.velikov at gmail.com
Thu Sep 18 09:30:28 PDT 2014


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.velikov at 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



More information about the Libva mailing list