From 79c76d578fa4d0f54da5c9d199dc61dea91801e1 Mon Sep 17 00:00:00 2001
From: Andre Maroneze <andre.maroneze@cea.fr>
Date: Tue, 18 Jan 2022 11:15:12 +0100
Subject: [PATCH] [configure] fix plugin interdependencies

---
 configure.in | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/configure.in b/configure.in
index a4895377d4a..54d56f2f332 100644
--- a/configure.in
+++ b/configure.in
@@ -742,6 +742,7 @@ check_plugin(from_analysis,src/plugins/from,[support for from analysis],yes)
 
 plugin_require(from_analysis,eva)
 plugin_require(from_analysis,callgraph)
+plugin_require(from_analysis,postdominators)
 
 # gui
 #####
@@ -807,6 +808,13 @@ plugin_require(pdg,callgraph)
 check_plugin(postdominators,src/plugins/postdominators,
              [support for postdominators plugin],yes)
 
+# reduc
+############
+
+check_plugin(reduc,src/plugins/reduc,[support for reduc plugin],yes)
+plugin_require(reduc,eva)
+plugin_require(reduc,inout)
+
 # rte
 #####
 
@@ -848,7 +856,7 @@ plugin_require(sparecode,users)
 
 check_plugin(users,src/plugins/users,[support for users analysis],yes)
 plugin_require(users,eva)
-plugin_use(users,callgraph)
+plugin_require(users,callgraph)
 
 # value
 #######
-- 
GitLab