diff options
author | Björn Gustavsson <[email protected]> | 2017-05-17 11:34:45 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2017-05-17 11:34:45 +0200 |
commit | 79fd4b7c7b77330accae77f0ff90843ea5aed20d (patch) | |
tree | 0a930757513be7e674c5cbb0dadf5b02fd7c8b1f /erts/configure.in | |
parent | a29bb639a5a0acf7da4d4fa65e4dd7c9cdcadb3c (diff) | |
parent | f3e32131000fc081cbaf2a1ca15f265783fbc040 (diff) | |
download | otp-79fd4b7c7b77330accae77f0ff90843ea5aed20d.tar.gz otp-79fd4b7c7b77330accae77f0ff90843ea5aed20d.tar.bz2 otp-79fd4b7c7b77330accae77f0ff90843ea5aed20d.zip |
Merge pull request #1463 from bjorng/bjorn/simplify-building-lcnt/OTP-14407
Simplify building a lock-counting emulator
Diffstat (limited to 'erts/configure.in')
-rw-r--r-- | erts/configure.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/erts/configure.in b/erts/configure.in index c82ebaa74c..830e3d7776 100644 --- a/erts/configure.in +++ b/erts/configure.in @@ -1002,6 +1002,7 @@ else fi FLAVORS= +TYPES=opt ERTS_BUILD_SMP_EMU=$enable_smp_support AC_MSG_CHECKING(whether an emulator with smp support should be built) case $ERTS_BUILD_SMP_EMU in @@ -1210,6 +1211,7 @@ esac AC_SUBST(ERTS_BUILD_PLAIN_EMU) AC_SUBST(FLAVORS) +AC_SUBST(TYPES) case "$ERTS_BUILD_PLAIN_EMU-$ERTS_BUILD_SMP_EMU" in no-no) @@ -1365,7 +1367,7 @@ else AC_MSG_CHECKING(whether lock counters should be enabled) AC_MSG_RESULT($enable_lock_count) if test "x$enable_lock_count" != "xno"; then - EMU_THR_DEFS="$EMU_THR_DEFS -DERTS_ENABLE_LOCK_COUNT" + TYPES="$TYPES lcnt" fi case $host_os in |