Skip to content

Commit 02a1ffe

Browse files
committed
Report libArchive support
1 parent 4ed44d7 commit 02a1ffe

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/api/tesseractmain.cpp

+7
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@
4141
#include <omp.h>
4242
#endif
4343

44+
#if defined(HAVE_LIBARCHIVE)
45+
#include <archive.h>
46+
#endif
47+
4448
#if defined(_WIN32)
4549
#include <fcntl.h>
4650
#include <io.h>
@@ -123,6 +127,9 @@ static void PrintVersionInfo() {
123127
#ifdef _OPENMP
124128
printf(" Found OpenMP %d\n", _OPENMP);
125129
#endif
130+
#if defined(HAVE_LIBARCHIVE)
131+
printf(" Found %s", archive_version_details() );
132+
#endif
126133

127134
}
128135

0 commit comments

Comments
 (0)