summaryrefslogtreecommitdiffstats
path: root/src/testdisk.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testdisk.c')
-rw-r--r--src/testdisk.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/testdisk.c b/src/testdisk.c
index 1e594e9..21c67f8 100644
--- a/src/testdisk.c
+++ b/src/testdisk.c
@@ -117,7 +117,9 @@ static void display_version(void)
printf("\n");
printf("Version: %s\n", VERSION);
printf("Compiler: %s\n", get_compiler());
+#ifdef RECORD_COMPILATION_DATE
printf("Compilation date: %s\n", get_compilation_date());
+#endif
printf("ext2fs lib: %s, ntfs lib: %s, reiserfs lib: %s, ewf lib: %s, curses lib: %s\n",
td_ext2fs_version(), td_ntfs_version(), td_reiserfs_version(), td_ewf_version(), td_curses_version());
printf("OS: %s\n" , get_os());
@@ -404,7 +406,9 @@ int main( int argc, char **argv )
log_info("TestDisk %s, Data Recovery Utility, %s\nChristophe GRENIER <grenier@cgsecurity.org>\nhttp://www.cgsecurity.org\n", VERSION, TESTDISKDATE);
log_info("OS: %s\n" , get_os());
log_info("Compiler: %s\n", get_compiler());
+#ifdef RECORD_COMPILATION_DATE
log_info("Compilation date: %s\n", get_compilation_date());
+#endif
log_info("ext2fs lib: %s, ntfs lib: %s, reiserfs lib: %s, ewf lib: %s, curses lib: %s\n",
td_ext2fs_version(), td_ntfs_version(), td_reiserfs_version(), td_ewf_version(), td_curses_version());
#if defined(__CYGWIN__) || defined(__MINGW32__) || defined(DJGPP)