aboutsummaryrefslogtreecommitdiff
path: root/sim/configure.ac
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-11-18 19:10:28 -0500
committerMike Frysinger <vapier@gentoo.org>2021-11-18 19:45:54 -0500
commitfb2c495f94fd5a87db2960a28e0c264fb94bfa29 (patch)
tree67fd2fb7a0165406e7d23f3fd6741718399318b6 /sim/configure.ac
parenta6e8dea6862f09ae7fef6266142de2868a4e7a1d (diff)
downloadfsf-binutils-gdb-fb2c495f94fd5a87db2960a28e0c264fb94bfa29.zip
fsf-binutils-gdb-fb2c495f94fd5a87db2960a28e0c264fb94bfa29.tar.gz
fsf-binutils-gdb-fb2c495f94fd5a87db2960a28e0c264fb94bfa29.tar.bz2
sim: avoid installing headers when there is no sim
If we aren't building any sims, don't install the sim headers as they won't be useful to anyone.
Diffstat (limited to 'sim/configure.ac')
-rw-r--r--sim/configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/sim/configure.ac b/sim/configure.ac
index 00d1e8d..86a800b 100644
--- a/sim/configure.ac
+++ b/sim/configure.ac
@@ -155,6 +155,7 @@ if test "${enable_sim}" != no; then
fi
fi
AM_CONDITIONAL([SIM_ENABLE_IGEN], [test "$sim_igen" = "yes"])
+AM_CONDITIONAL([ENABLE_SIM], [test -n "$SIM_SUBDIRS"])
dnl Standard (and optional) simulator options.
dnl Eventually all simulators will support these.