summaryrefslogtreecommitdiff
path: root/configure.ac
Commit message (Collapse)AuthorAgeFilesLines
* Reduce overlinking per pkg-config spec (#1870)HEADmasterEnji Cooper2023-05-121-1/+1
| | | | | | | | libssl isn't required for libarchive. Remove libssl so the installed .pc file doesn't cause consumers to subsequently overlink libssl into their code. This doesn't affect how the code is linked -- only consumers of the pkg-config specified spec.
* Update autotools and fix warnings (#1815)Rose2023-01-091-3/+2
| | | | We do not need to check TIME_WITH_SYS_TIME anymore. We can check HAVE_SYS_TIME_H and not bother checking for C99.
* replace time64 functions with normal ones (#1830)Rosen Penev2023-01-091-3/+19
| | | | | | | | | Otherwise there are 32/64-bit pointer conversions going on. In Windows since MSVC2005, time_t has been 64-bit. MinGW needs a hack to get 64-bit time_t. Signed-off-by: Rosen Penev <rosenp@gmail.com> Signed-off-by: Rosen Penev <rosenp@gmail.com>
* Only add "iconv" to the .pc file if needed (#1825)Peter Pentchev2022-12-281-1/+3
| | | | | | | | | | | | | | | | | Hi, Thanks for writing and maintaining libarchive! What do you think about this trivial change that does not add "iconv" to the pkg-config file's list of required packages unless it is actually needed? On at least Debian GNU/Linux systems, the iconv(3) function is part of the system C library and there is no Debian package that installs an iconv.pc file, so I had to make this change to the Debian package of libarchive. Thanks again, and keep up the great work! G'luck, Peter
* Libarchive 3.6.3devMartin Matuska2022-12-091-2/+2
|
* Release 3.6.2v3.6.2Martin Matuska2022-12-091-1/+1
|
* Hide internal symbols on platforms that support visibility annotations (see ↵Yuri Gribov2022-07-271-0/+12
| | | | discussion in gh-1017).
* autotools: Fix static linking when openssl is enabled in windowsBiswapriyo Nath2022-04-131-0/+4
| | | | | | | This adds Requires.private field in pkgconfig file. Using that field, pkgconfig pulls all the private cflags or libs while static linking. OpenSSL static libraries require some windows system libraies. Otherwise static liking fails with libarchive.
* Merge pull request #1714 from Biswa96/win32-opensslMartin Matuška2022-04-111-18/+1
|\ | | | | Revert "Fix check for openssl on Windows"
| * Revert "Fix check for openssl on Windows"Biswapriyo Nath2022-04-091-18/+1
| | | | | | | | | | | | | | | | | | | | | | This reverts commit 045e5c5a4460020e513516a5d1f3087094e67da3 For Windows platform, openssl 1.0.2 and earlier versions have eay64 and eay32 libraries[1]. But from openssl 1.1.0 and above versions have same library name[2] (libcrypto and libssl) like other unix-like platforms. [1]: https://wiki.openssl.org/index.php/Compilation_and_Installation#OpenSSL_1.0.2 [2]: https://wiki.openssl.org/index.php/Compilation_and_Installation#OpenSSL_1.1.0
* | Libarchive 3.6.2devMartin Matuska2022-04-081-2/+2
| |
* | Release 3.6.1Martin Matuska2022-04-081-1/+1
|/
* build: fix detection of readdir_r() and dirfd() in configure.acMartin Matuska2022-03-101-2/+2
| | | | Fixes #1537
* Libarchive 3.6.1devMartin Matuska2022-02-141-2/+2
|
* Release 3.6.0v3.6.0Martin Matuska2022-02-091-1/+1
|
* Libarchive 3.6.0devMartin Matuska2022-02-081-2/+2
|
* Merge pull request #1625 from evelikov/gc-sectionsMartin Matuška2022-01-031-0/+16
|\ | | | | Instrument gcc/clang to discard unused code during link
| * autotools: enable -fdata/function-sections and --gc-sectionsEmil Velikov2021-11-211-0/+16
| | | | | | | | | | | | | | | | | | | | Analogue to the parent cmake commit, with linker flag detection. The former two split the functions and data into separate sections within the object file. Which makes it easier for the latter to properly garbage collect and discard unused sections. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
* | Merge pull request #1649 from petris/masterMartin Matuška2022-01-031-1/+3
|\ \ | | | | | | Support libzstd compiled with compressor disabled
| * | Support libzstd compiled with compressor disabledPetr Malat2021-12-231-1/+3
| |/ | | | | | | | | | | | | | | | | ZSTD library can be compiled with the compressor disabled, which is handy on space restricted systems as the compressor accounts for more than two thirds of the library size. Detect this case and use libzstd for the decompression only. Compression will be done using zstd binary if it's available.
* | define printf format specifiers if not presentlinear cannon2021-12-191-0/+3
|/
* Libarchive 3.5.3devMartin Matuska2021-08-231-2/+2
|
* Release 3.5.2v3.5.2Martin Matuska2021-08-221-1/+1
|
* Fix extracting hardlinks to symlinksMartin Matuska2021-08-211-1/+1
| | | | | | | | On platforms that support the linkat(2) function we can safely write hardlinks to symlinks as linkat(2) does not follow symlinks by default. Fixes #1044
* NetBSD provides a statfs symbol for binary compatibility but does notChristos Zoulas2021-05-081-0/+7
| | | | provide a visible struct statfs. Check for that.
* Not all statfs's have f_iosizeChristos Zoulas2021-03-291-0/+7
|
* configure.ac: remove trailing charactersAlexandre Janniaux2021-01-111-1/+1
|
* configure.ac: add AC_PROG_CPPAlexandre Janniaux2021-01-111-0/+1
| | | | | | Otherwise, the preprocessor is not detected and it leads to failure with empty $CPP variable being used on la_TYPE_UID_T, leading to a cascade of detection errors and redefinition of some types.
* Libarchive 3.5.2devMartin Matuska2020-12-261-2/+2
|
* Release 3.5.1v3.5.13.5.1Martin Matuska2020-12-261-1/+1
|
* Use built-in strnlen on platforms where not availableMartin Matuska2020-12-081-2/+2
| | | | Fixes #1464
* Libarchive 3.5.1devMartin Matuska2020-12-011-2/+2
|
* Release 3.5.0v3.5.0Martin Matuska2020-12-011-2/+2
|
* Avoid mismatch between library and test crypto configurationAlex Richardson2020-09-171-0/+2
| | | | | | | | | | | | | | I was investigating libarchive test failures on FreeBSD and it turns out we get a reproducible SIGBUS for test_archive_m5, etc. Debugging this shows that libarchive and the tests disagree when it comes to the definition of archive_md5_ctx: libarchive assumes it's the OpenSSL type whereas the test use the libmd type. The latter is not necessarily aligned enough to store a pointer (16 bytes for CHERI RISC-V), so we were crashing when storing EVP_MD_CTX* to an 8-byte-aligned archive_md5_ctx. To avoid problems like this in the future, add a new macro to the config header and use that to ensure that all configuration check macros have been defined in archive_digest_private.h.
* don't force windows versions if they are set in the environmentSteve Lhomme2020-06-191-3/+17
|
* configure.ac: check if flags are needed for c99goshhhy2020-05-241-0/+1
| | | some older and more obscure compilers (e.g. mipspro on irix) default to the strictest standard they know instead of the most permissive. since libarchive uses c99 features in several places throughout, but does not pass appropriate cflags to parse c99 code, it will fail to compile from the configure script on these systems. this change will have autoconf check if any flags are needed for the c compiler to accept c99 code, and add them to cflags.
* Libarchive 3.4.4devMartin Matuska2020-05-201-2/+2
|
* Libarchive 3.4.3v3.4.3Martin Matuska2020-05-201-1/+1
|
* Libarchive 3.4.3devMartin Matuska2020-02-121-2/+2
|
* Libarchive 3.4.2v3.4.2Martin Matuska2020-02-111-1/+1
|
* Windows: use _localtime64_s and _gmtime64_s where appropriateMartin Matuska2020-01-131-1/+1
|
* Add mbed TLS as optional crypto providerMartin Matuska2020-01-031-2/+19
| | | | | Make Nettle optional and OpenSSL default Fixes #1301
* Libarchive 3.4.2devMartin Matuska2019-12-301-2/+2
|
* Libarchive 3.4.1v3.4.1Martin Matuska2019-12-301-1/+1
|
* Have "make dist" create .tar.gz, .tar.xz and .zip distribution filesMartin Matuska2019-11-201-1/+1
| | | | Fixes #1277
* Set up 3.4.1devMartin Matuska2019-06-111-2/+2
|
* 3.4.0v3.4.0Martin Matuska2019-06-111-2/+2
|
* archive_write_disk_posix: check_symlinks_fsobj() without chdir()Martin Matuska2019-05-261-1/+1
| | | | only on platforms with openat(), fstatat() and unlinkat() support
* archive_read_support_format_rar5: enable blake2 support via libb2Martin Matuska2018-10-061-0/+10
|
* Don't disable -lcrypto if all hashes are provided by libcJoerg Sonnenberger2018-09-041-6/+1
| | | | | Since libarchive contains AES support nowadays, libcrypto will be needed even if all hashes are provided otherwise.