<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 18 February 2016 at 14:38, Quentin Glidic <span dir="ltr"><<a href="mailto:sardemff7+wayland@sardemff7.net" target="_blank">sardemff7+wayland@sardemff7.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 18/02/2016 13:29, Jussi Kukkonen wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
There's nothing in the build that requires knowledge of target or<br>
host architecture, yet the calls will fail if the host cpu is not<br>
recognised (which happens when e.g. Yocto builds for "allarch").<br>
<br>
Signed-off-by: Jussi Kukkonen <<a href="mailto:jussi.kukkonen@intel.com" target="_blank">jussi.kukkonen@intel.com</a>><br>
---<br>
<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a> | 3 ---<br>
1 file changed, 3 deletions(-)<br>
<br>
diff --git a/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a> b/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a><br>
index 90cce42..596093b 100644<br>
--- a/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a><br>
+++ b/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a><br>
@@ -15,9 +15,6 @@ AC_CONFIG_MACRO_DIR([m4])<br>
<br>
AC_SUBST([WAYLAND_PROTOCOLS_VERSION], [wayland_protocols_version])<br>
<br>
-AC_CANONICAL_HOST<br>
-AC_CANONICAL_BUILD<br>
-<br>
AC_ARG_VAR([wayland_scanner], [The wayland-scanner executable])<br>
AC_PATH_PROG([wayland_scanner], [wayland-scanner])<br>
if test x$wayland_scanner = x; then<br>
<br>
</blockquote>
<br></span>
These two calls are needed, see a few lines below:<br>
"if test x$host = x$build; then"<br>
$host and $build are only populated if we call these macros.<br>
<br>
Nacked-by: Quentin Glidic <<a href="mailto:sardemff7%2Bgit@sardemff7.net" target="_blank">sardemff7+git@sardemff7.net</a>><span class="HOEnZb"><font color="#888888"><br>
<br></font></span></blockquote><div><br></div><div>Oops, you're correct and I may be becoming blind. I'll have to figure out another solution to this.</div><div><br></div><div>Thanks, Jussi</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="HOEnZb"><font color="#888888">
-- <br>
<br>
Quentin “Sardem FF7” Glidic<br>
</font></span></blockquote></div><br></div></div>