#1046. Adding support to exiv2 --verbose --version to report have_unicode_path

v0.27.3
Robin Mills 10 years ago
parent 20c3b6328e
commit 6e4f04ff23

@ -238,36 +238,37 @@ static void output(std::ostream& os,const exv_grep_keys_t& keys,const char* name
"unknown";
#endif
int have_regex =0;
int have_gmtime_r =0;
int have_inttypes =0;
int have_libintl =0;
int have_lensdata =0;
int have_iconv =0;
int have_memory =0;
int have_memset =0;
int have_lstat =0;
int have_stdbool =0;
int have_stdint =0;
int have_stdlib =0;
int have_strlib =0;
int have_strchr =0;
int have_strerror =0;
int have_strerror_r =0;
int have_strings_h =0;
int have_strtol =0;
int have_mmap =0;
int have_munmap =0;
int have_sys_stat =0;
int have_timegm =0;
int have_unistd_h =0;
int have_sys_mman =0;
int have_libz =0;
int have_xmptoolkit =0;
int have_bool =0;
int have_strings =0;
int have_sys_types =0;
int have_unistd =0;
int have_regex =0;
int have_gmtime_r =0;
int have_inttypes =0;
int have_libintl =0;
int have_lensdata =0;
int have_iconv =0;
int have_memory =0;
int have_memset =0;
int have_lstat =0;
int have_stdbool =0;
int have_stdint =0;
int have_stdlib =0;
int have_strlib =0;
int have_strchr =0;
int have_strerror =0;
int have_strerror_r =0;
int have_strings_h =0;
int have_strtol =0;
int have_mmap =0;
int have_munmap =0;
int have_sys_stat =0;
int have_timegm =0;
int have_unistd_h =0;
int have_sys_mman =0;
int have_libz =0;
int have_xmptoolkit =0;
int have_bool =0;
int have_strings =0;
int have_sys_types =0;
int have_unistd =0;
int have_unicode_path=0;
#if EXV_HAVE_DECL_STRERROR_R
have_strerror_r=1;
@ -397,6 +398,10 @@ static void output(std::ostream& os,const exv_grep_keys_t& keys,const char* name
have_unistd=1;
#endif
#if EXV_UNICODE_PATH
have_unicode_path=1;
#endif
#if defined(WIN32) || defined(__CYGWIN__) || defined(__MINGW__)
// enumerate loaded libraries and determine path to executable
HMODULE handles[200];
@ -471,37 +476,38 @@ static void output(std::ostream& os,const exv_grep_keys_t& keys,const char* name
output(os,keys,"library",*lib);
}
output(os,keys,"have_regex" ,have_regex );
output(os,keys,"have_strerror_r",have_strerror_r);
output(os,keys,"have_gmtime_r" ,have_gmtime_r );
output(os,keys,"have_inttypes" ,have_inttypes );
output(os,keys,"have_libintl" ,have_libintl );
output(os,keys,"have_lensdata" ,have_lensdata );
output(os,keys,"have_iconv" ,have_iconv );
output(os,keys,"have_memory" ,have_memory );
output(os,keys,"have_memset" ,have_memset );
output(os,keys,"have_lstat" ,have_lstat );
output(os,keys,"have_stdbool" ,have_stdbool );
output(os,keys,"have_stdint" ,have_stdint );
output(os,keys,"have_stdlib" ,have_stdlib );
output(os,keys,"have_strlib" ,have_strlib );
output(os,keys,"have_strchr" ,have_strchr );
output(os,keys,"have_strerror" ,have_strerror );
output(os,keys,"have_strerror_r",have_strerror_r);
output(os,keys,"have_strings_h" ,have_strings_h );
output(os,keys,"have_strtol" ,have_strtol );
output(os,keys,"have_mmap" ,have_mmap );
output(os,keys,"have_munmap" ,have_munmap );
output(os,keys,"have_sys_stat" ,have_sys_stat );
output(os,keys,"have_timegm" ,have_timegm );
output(os,keys,"have_unistd_h" ,have_unistd_h );
output(os,keys,"have_sys_mman" ,have_sys_mman );
output(os,keys,"have_libz" ,have_libz );
output(os,keys,"have_xmptoolkit",have_xmptoolkit);
output(os,keys,"have_bool" ,have_bool );
output(os,keys,"have_strings" ,have_strings );
output(os,keys,"have_sys_types" ,have_sys_types );
output(os,keys,"have_unistd" ,have_unistd );
output(os,keys,"have_regex" ,have_regex );
output(os,keys,"have_strerror_r" ,have_strerror_r );
output(os,keys,"have_gmtime_r" ,have_gmtime_r );
output(os,keys,"have_inttypes" ,have_inttypes );
output(os,keys,"have_libintl" ,have_libintl );
output(os,keys,"have_lensdata" ,have_lensdata );
output(os,keys,"have_iconv" ,have_iconv );
output(os,keys,"have_memory" ,have_memory );
output(os,keys,"have_memset" ,have_memset );
output(os,keys,"have_lstat" ,have_lstat );
output(os,keys,"have_stdbool" ,have_stdbool );
output(os,keys,"have_stdint" ,have_stdint );
output(os,keys,"have_stdlib" ,have_stdlib );
output(os,keys,"have_strlib" ,have_strlib );
output(os,keys,"have_strchr" ,have_strchr );
output(os,keys,"have_strerror" ,have_strerror );
output(os,keys,"have_strerror_r" ,have_strerror_r );
output(os,keys,"have_strings_h" ,have_strings_h );
output(os,keys,"have_strtol" ,have_strtol );
output(os,keys,"have_mmap" ,have_mmap );
output(os,keys,"have_munmap" ,have_munmap );
output(os,keys,"have_sys_stat" ,have_sys_stat );
output(os,keys,"have_timegm" ,have_timegm );
output(os,keys,"have_unistd_h" ,have_unistd_h );
output(os,keys,"have_sys_mman" ,have_sys_mman );
output(os,keys,"have_libz" ,have_libz );
output(os,keys,"have_xmptoolkit" ,have_xmptoolkit );
output(os,keys,"have_bool" ,have_bool );
output(os,keys,"have_strings" ,have_strings );
output(os,keys,"have_sys_types" ,have_sys_types );
output(os,keys,"have_unistd" ,have_unistd );
output(os,keys,"have_unicode_path" ,have_unicode_path);
#if defined(__linux__)
dlclose(ph);

Loading…
Cancel
Save