Commit 6a460ed1 authored by Stefan Hajnoczi's avatar Stefan Hajnoczi Committed by Peter Maydell
Browse files

configure: disable Archipelago by default and warn about libxseg GPLv3 license



libxseg has changed license to GPLv3.  QEMU includes GPL "v2 only" code
which is not compatible with GPLv3.  This means the resulting binaries
may not be redistributable!

Disable Archipelago (libxseg) by default to prevent accidental license
violations.  Also warn if linking against libxseg is enabled to remind
the user.

Note that this commit does not constitute any advice about software
licensing.  If you have doubts you should consult a lawyer.

Cc: Chrysostomos Nanakos <cnanakos@grnet.gr>
Suggested-by: default avatarKevin Wolf <kwolf@redhat.com>
Reported-by: default avatarAndreas Färber <afaerber@suse.de>
Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: default avatarAndreas Färber <afaerber@suse.de>
Message-id: 1428587538-8765-1-git-send-email-stefanha@redhat.com
Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
parent a6f2cb03
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -327,7 +327,7 @@ seccomp=""
glusterfs=""
glusterfs_discard="no"
glusterfs_zerofill="no"
archipelago=""
archipelago="no"
gtk=""
gtkabi=""
vte=""
@@ -3173,6 +3173,12 @@ EOF
        archipelago="yes"
        libs_tools="$archipelago_libs $libs_tools"
        libs_softmmu="$archipelago_libs $libs_softmmu"

	echo "WARNING: Please check the licenses of QEMU and libxseg carefully."
	echo "GPLv3 versions of libxseg may not be compatible with QEMU's"
	echo "license and therefore prevent redistribution."
	echo
	echo "To disable Archipelago, use --disable-archipelago"
    else
      if test "$archipelago" = "yes" ; then
        feature_not_found "Archipelago backend support" "Install libxseg devel"