From 61bbbd9a775a5517af513e5014edbdd73a32f7e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kamil=20Doma=C5=84ski?= Date: Thu, 10 Dec 2015 11:14:08 +0100 Subject: [PATCH] Skip GPL-only symbols test when cross-compiling MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This test depends on being able to execute the resulting binary which will be impossible when cross-compiling. Instead make a worst case assumption which allows the build to continue as recommended by the autoconf manual. https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.69/html_node/Runtime.html Signed-off-by: Kamil DomaƄski Signed-off-by: Brian Behlendorf Signed-off-by: tuxoko Closes zfsonlinux/spl#507 Closes zfsonlinux/zfs#4075 --- config/spl-build.m4 | 1 + 1 file changed, 1 insertion(+) diff --git a/config/spl-build.m4 b/config/spl-build.m4 index daa9eb714..748e9e16d 100644 --- a/config/spl-build.m4 +++ b/config/spl-build.m4 @@ -683,6 +683,7 @@ AC_DEFUN([SPL_AC_TEST_MODULE], AC_DEFINE([SPL_IS_GPL_COMPATIBLE], [1], [Define to 1 if GPL-only symbols can be used]) ], [ + ], [ ]) ])