diff options
author | Rickard Green <[email protected]> | 2015-09-09 17:41:41 +0200 |
---|---|---|
committer | Rickard Green <[email protected]> | 2015-09-09 18:11:19 +0200 |
commit | e4dedc6cffb5025161d9a6295523b215e5a165c7 (patch) | |
tree | 4b99cbcd48a069514e39e20efb867dcc39c0eff7 /erts/emulator/utils/make_version | |
parent | 6b4c2dbd1b4a30f421611987acec6315c62ac9d5 (diff) | |
download | otp-e4dedc6cffb5025161d9a6295523b215e5a165c7.tar.gz otp-e4dedc6cffb5025161d9a6295523b215e5a165c7.tar.bz2 otp-e4dedc6cffb5025161d9a6295523b215e5a165c7.zip |
Add configure switch --disable-saved-compile-time
Diffstat (limited to 'erts/emulator/utils/make_version')
-rwxr-xr-x | erts/emulator/utils/make_version | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/erts/emulator/utils/make_version b/erts/emulator/utils/make_version index 3461dc1637..37bdff181a 100755 --- a/erts/emulator/utils/make_version +++ b/erts/emulator/utils/make_version @@ -59,7 +59,11 @@ print FILE <<EOF; #define ERLANG_OTP_RELEASE "$release" #define ERLANG_OTP_VERSION "$otp_version" #define ERLANG_VERSION "$version" -#define ERLANG_COMPILE_DATE "$time_str" +#if ERTS_SAVED_COMPILE_TIME +# define ERLANG_COMPILE_DATE "$time_str" +#else +# define ERLANG_COMPILE_DATE "" +#endif #define ERLANG_ARCHITECTURE "$architecture" EOF |