aboutsummaryrefslogtreecommitdiffstats
path: root/erts/configure.in
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2015-09-09 18:17:12 +0200
committerRickard Green <[email protected]>2015-09-09 18:17:12 +0200
commit79da6e851e98729d103979ba466d47f4fa4421b2 (patch)
tree784997a4dd25c42715151ede2c4e55257badd9ca /erts/configure.in
parent4cfc35b1ef3667885b8de9df53b8ab8429117865 (diff)
parente4dedc6cffb5025161d9a6295523b215e5a165c7 (diff)
downloadotp-79da6e851e98729d103979ba466d47f4fa4421b2.tar.gz
otp-79da6e851e98729d103979ba466d47f4fa4421b2.tar.bz2
otp-79da6e851e98729d103979ba466d47f4fa4421b2.zip
Merge branch 'rickard/disable-saved-compile-time/OTP-12971' into maint
* rickard/disable-saved-compile-time/OTP-12971: Add configure switch --disable-saved-compile-time Conflicts: HOWTO/INSTALL.md
Diffstat (limited to 'erts/configure.in')
-rw-r--r--erts/configure.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/erts/configure.in b/erts/configure.in
index 22ca7ec17d..4fb725ff00 100644
--- a/erts/configure.in
+++ b/erts/configure.in
@@ -342,6 +342,15 @@ AS_HELP_STRING([--enable-systemd], [enable systemd support in epmd]),
[],
[enable_systemd=no])
+AC_ARG_ENABLE(saved-compile-time,
+AS_HELP_STRING([--disable-saved-compile-time], [disable saved compile time]),
+[ case "$enableval" in
+ no) save_compile_time=0 ;;
+ *) save_compile_time=1 ;;
+ esac ], save_compile_time=1)
+
+AC_DEFINE_UNQUOTED(ERTS_SAVED_COMPILE_TIME, $save_compile_time, [Save compile time?])
+
dnl Magic test for clearcase.
OTP_RELEASE=
if test "${ERLANG_COMMERCIAL_BUILD}" != ""; then