diff options
author | Jay Berkenbilt <ejb@ql.org> | 2012-06-24 21:26:28 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2012-06-24 21:56:50 +0200 |
commit | 8318d81ada86d4ec8e343c47103932b6bbe45a42 (patch) | |
tree | a1ff22dc1584d84829d32c7b1d8698a332877763 /configure.ac | |
parent | 781c313058e26b6ab6fda060a652a395d27cdb7a (diff) | |
download | qpdf-8318d81ada86d4ec8e343c47103932b6bbe45a42.tar.zst |
Fix and test support for files >= 4 GB
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 21481311..3fe85fe7 100644 --- a/configure.ac +++ b/configure.ac @@ -54,6 +54,14 @@ if test "$BUILD_INTERNAL_LIBS" = "0"; then AC_SEARCH_LIBS(pcre_compile,pcre,,[MISSING_PCRE=1; MISSING_ANY=1]) fi +LARGE_FILE_TEST_PATH= +AC_SUBST(LARGE_FILE_TEST_PATH) +AC_ARG_WITH(large-file-test-path, + AS_HELP_STRING([--with-large-file-test-path=path], + [To enable testing of files > 4GB, give the path to a directory with at least 11 GB free. The test suite will write temporary files to this directory. Alternatively, just set the LARGE_FILE_TEST_PATH environment variable to the path before running the test suite.]), + [LARGE_FILE_TEST_PATH=$withval], + [LARGE_FILE_TEST_PATH=]) + AC_SYS_LARGEFILE AC_FUNC_FSEEKO AC_TYPE_UINT16_T |