From: Peter Korsgaard Date: Sun, 05 Apr 2015 00:03:15 +0200 Subject: [Buildroot] [PATCH 1/1] package/libva-intel-driver: Fix build In-Reply-To: (Bernd Kuhls's message of "Thu, 02 Apr 2015 22:12:27 +0200") References: <1427818214-14760-1-git-send-email-bernd.kuhls@t-online.de> <20150331234038.5fe3b78b@free-electrons.com> Message-ID: <87egnzo8kc.fsf@dell.be.48ers.dk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net >>>>> "Bernd" == Bernd Kuhls writes: > Thomas Petazzoni @public.gmane.org> wrote in news:20150331234038.5fe3b78b at free-electrons.com: >> Can you comment a bit more on why this is needed? Your commit lo says >> "needed to produce a working configure script", but a quick look at the >> build failures only points to the wayland dependency problem. > Hi, > when you compare the configure script delivered by libva-intel-driver and the > one generated by our autoreconf you will see some huge differences. > The upstream configure script does not honour --disable-wayland, instead it > always assumes wayland support for a reason I do not know. Maybe the line > m4_ifdef([WAYLAND_SCANNER_RULES], > in configure.ac, line 170, is not interpreted correctly by the autoconf tools > used upstream. Running autoreconf in buildroot fixes the build error. Ahh, I get it now. This is not really about a wrongly generated configure script, but simply because the WAYLAND_SCANNER handling is outside the wayland conditional. There is an open bugzilla entry about it upstream: https://bugs.freedesktop.org/show_bug.cgi?id=79478 WAYLAND_SCANNER_RULES is provided by wayland, so the reason why running autoreconf fixes the issue is that it will only get expanded if built after wayland. Committed with a more detailed commit message, thanks. -- Bye, Peter Korsgaard