testdisk, photorec: report iconv usage

This commit is contained in:
Christophe Grenier 2023-02-19 09:11:47 +01:00
parent 593d540676
commit f13286f198
3 changed files with 11 additions and 1 deletions

View file

@ -6,7 +6,7 @@ AC_INIT([testdisk],[7.2-WIP],[grenier@cgsecurity.org])
AC_LANG(C)
sinclude(acx_pthread.m4)
sinclude(mkdir.m4)
TESTDISKDATE="January 2023"
TESTDISKDATE="February 2023"
AC_SUBST(TESTDISKDATE)
AC_DEFINE_UNQUOTED([TESTDISKDATE],"$TESTDISKDATE",[Date of release])
AC_CONFIG_AUX_DIR(config)

View file

@ -144,6 +144,11 @@ static void display_version(void)
#endif
printf("ext2fs lib: %s, ntfs lib: %s, ewf lib: %s, libjpeg: %s, curses lib: %s, zlib: %s\n",
td_ext2fs_version(), td_ntfs_version(), td_ewf_version(), td_jpeg_version(), td_curses_version(), td_zlib_version());
#ifdef HAVE_ICONV
printf("iconv support: yes\n");
#else
printf("iconv support: no\n");
#endif
printf("OS: %s\n" , get_os());
}
#endif

View file

@ -134,6 +134,11 @@ static void display_version(void)
#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());
#ifdef HAVE_ICONV
printf("iconv support: yes\n");
#else
printf("iconv support: no\n");
#endif
printf("OS: %s\n" , get_os());
}