summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2014-09-18 17:30:28 +0100
committerXiang, Haihao <haihao.xiang@intel.com>2014-10-10 14:42:20 +0800
commit9d82243bfbe960b41bcd9809a7b2e0b931b51511 (patch)
tree1b29a8fc5918b10f3ff7fdf12d53d23530140d77
parent53fac6481ffa0fdf0c791968b2b184f569cec265 (diff)
downloadlibva-9d82243bfbe960b41bcd9809a7b2e0b931b51511.tar.gz
configure: use top_builddir for wayland_scanner_rules
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@gmail.com> (cherry picked from commit a7764ff09f2de8bf67afde4b3a3e852ba76b6a42)
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 561215b..3e1ee73 100644
--- a/configure.ac
+++ b/configure.ac
@@ -278,7 +278,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)])
# We only need the headers, we don't link against the DRM libraries