[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL v5 33/44] configure: don't allow plugins to be enabled for a non-T
From: |
Alex Bennée |
Subject: |
[PULL v5 33/44] configure: don't allow plugins to be enabled for a non-TCG build |
Date: |
Wed, 14 Jul 2021 16:00:25 +0100 |
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210709143005.1554-30-alex.bennee@linaro.org>
diff --git a/configure b/configure
index 4d0a2bfdd8..e2a353ce1c 100755
--- a/configure
+++ b/configure
@@ -1110,6 +1110,7 @@ for opt do
--enable-cap-ng) cap_ng="enabled"
;;
--disable-tcg) tcg="disabled"
+ plugins="no"
;;
--enable-tcg) tcg="enabled"
;;
@@ -1575,6 +1576,11 @@ for opt do
esac
done
+# test for any invalid configuration combinations
+if test "$plugins" = "yes" -a "$tcg" = "disabled"; then
+ error_exit "Can't enable plugins on non-TCG builds"
+fi
+
case $git_submodules_action in
update|validate)
if test ! -e "$source_path/.git"; then
--
2.20.1
- [PULL v5 34/44] configure: add an explicit static and plugins check, (continued)
- [PULL v5 34/44] configure: add an explicit static and plugins check, Alex Bennée, 2021/07/14
- [PULL v5 26/44] tests/vm: update NetBSD to 9.2, Alex Bennée, 2021/07/14
- [PULL v5 24/44] tests/docker: expand ubuntu2004 package list, Alex Bennée, 2021/07/14
- [PULL v5 40/44] plugins: Added a new cache modelling plugin, Alex Bennée, 2021/07/14
- [PULL v5 22/44] tests/docker: expand fedora package list, Alex Bennée, 2021/07/14
- [PULL v5 30/44] meson.build: move TCG plugin summary output, Alex Bennée, 2021/07/14
- [PULL v5 20/44] tests/docker: remove mingw packages from Fedora, Alex Bennée, 2021/07/14
- [PULL v5 43/44] docs/devel: Added cache plugin to the plugins docs, Alex Bennée, 2021/07/14
- [PULL v5 41/44] plugins/cache: Enable cache parameterization, Alex Bennée, 2021/07/14
- [PULL v5 31/44] meson.build: relax the libdl test to one for the function dlopen, Alex Bennée, 2021/07/14
- [PULL v5 33/44] configure: don't allow plugins to be enabled for a non-TCG build,
Alex Bennée <=
- [PULL v5 19/44] tests/docker: fix mistakes in ubuntu package lists, Alex Bennée, 2021/07/14
- [PULL v5 25/44] tests/docker: expand opensuse-leap package list, Alex Bennée, 2021/07/14
- [PULL v5 21/44] tests/docker: expand centos8 package list, Alex Bennée, 2021/07/14
- [PULL v5 29/44] plugins: fix-up handling of internal hostaddr for 32 bit, Alex Bennée, 2021/07/14
- [PULL v5 15/44] tests/docker: remove FEATURES env var from templates, Alex Bennée, 2021/07/14
- [PULL v5 27/44] tests/vm: update openbsd to release 6.9, Alex Bennée, 2021/07/14
- [PULL v5 18/44] tests/docker: fix mistakes in fedora package list, Alex Bennée, 2021/07/14
- [PULL v5 16/44] tests/docker: fix sorting in package lists, Alex Bennée, 2021/07/14
- [PULL v5 17/44] tests/docker: fix mistakes in centos package lists, Alex Bennée, 2021/07/14
- [PULL v5 37/44] contrib/plugins: enable -Wall for building plugins, Alex Bennée, 2021/07/14