From: Kamil Domański Date: Thu, 10 Dec 2015 10:14:08 +0000 (+0100) Subject: Skip GPL-only symbols test when cross-compiling X-Git-Tag: zfs-0.8.0-rc1~152^2~131 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=61bbbd9a775a5517af513e5014edbdd73a32f7e4;p=zfs Skip GPL-only symbols test when cross-compiling 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 --- 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]) ], [ + ], [ ]) ])