Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Check that HAVE_UNISTD_H and HAVE_STDARG_H are not defined as 0. | Mark Adler | 2025-02-13 | 1 | -2/+2 |
| | |||||
* | Disable make cover if no gcov was found. | Vollstrecker | 2025-01-31 | 1 | -6/+8 |
| | |||||
* | Support clang without version suffix for coverage testing. | Vollstrecker | 2025-01-31 | 1 | -6/+20 |
| | |||||
* | Adjust coverage testing to the llvm gcov calling convention. | Vollstrecker | 2025-01-31 | 1 | -5/+24 |
| | |||||
* | Add Haiku to configure for proper LDSHARED settings. | Oscar Lesta | 2024-10-07 | 1 | -1/+1 |
| | |||||
* | Add -fPIC to compiler options for static library build on Android. | qyt | 2024-03-29 | 1 | -2/+2 |
| | |||||
* | Enable build of shared library on AIX. | Aleksei Shpakovskii | 2024-01-23 | 1 | -0/+1 |
| | |||||
* | Ignore unknown options in configure. | Mark Adler | 2024-01-23 | 1 | -4/+5 |
| | |||||
* | Remove -w compile option in configure test. | Mark Adler | 2024-01-20 | 1 | -1/+1 |
| | | | | Not all C compilers have a -w option. | ||||
* | Use updated zconf.h when building out of directory with configure. | Dan Kegel | 2024-01-19 | 1 | -1/+1 |
| | |||||
* | Limit the length of Darwin shared library version number. | Mark Adler | 2023-08-18 | 1 | -2/+2 |
| | |||||
* | Fix version numbering for Darwin shared library. | Mark Adler | 2023-08-18 | 1 | -2/+3 |
| | |||||
* | zlib 1.3v1.3 | Mark Adler | 2023-08-18 | 1 | -3/+1 |
| | |||||
* | Look for a cross-compile libtool first in configure. | OldWorldOrdr | 2023-08-17 | 1 | -1/+3 |
| | | | | Permit cross-compilation for Darwin. | ||||
* | Add memory sanitizer to configure (--memory). | Mark Adler | 2023-08-12 | 1 | -5/+11 |
| | | | | | | This also adds --address for the address sanitizer, in addition to the existing --sanitizer. -fno-omit-frame-pointer has been added for both sanitizers to improve the error reporting. | ||||
* | Fix some spelling errors. | Dimitri Papadopoulos | 2023-08-03 | 1 | -1/+1 |
| | |||||
* | Remove K&R function definitions from zlib. | Mark Adler | 2023-04-15 | 1 | -2/+2 |
| | | | | | | | C2X has removed K&R definitions from the C function syntax. Though the standard has not yet been approved, some high-profile compilers are now issuing warnings when such definitions are encountered. | ||||
* | Turn off C2X warning about deprecated K&R function syntax. | Mark Adler | 2023-04-13 | 1 | -2/+2 |
| | | | | This is a temporary workaround before excising the K&R prototypes. | ||||
* | Minor formatting changes in configure. | Mark Adler | 2022-10-10 | 1 | -24/+25 |
| | | | | No code changes. | ||||
* | Fix linking on AIX with gcc. | Mark Adler | 2022-10-10 | 1 | -0/+2 |
| | |||||
* | Turn off RWX segment warnings on sparc systems. | Mark Adler | 2022-10-10 | 1 | -0/+7 |
| | |||||
* | Remove vestigial line from configure. | Mark Adler | 2022-10-09 | 1 | -1/+0 |
| | |||||
* | Search for system name in CHOST instead of trying to extract it. | Mark Adler | 2022-10-09 | 1 | -5/+5 |
| | |||||
* | Remove bypass of MinGW gcc case in configure. | Mark Adler | 2022-10-09 | 1 | -3/+1 |
| | |||||
* | Remove deleted assembler code references. | Mark Adler | 2022-10-06 | 1 | -15/+0 |
| | | | | | | The code was removed, but the builds that used the code were not updated. This fixes that. Thanks to Adenilson and toxieainc for the patches. | ||||
* | Remove -pedantic from configure -w compile options. | Mark Adler | 2022-10-06 | 1 | -2/+2 |
| | |||||
* | Add -g when debugging with -fsanitize=address to include symbols. | Mark Adler | 2022-07-31 | 1 | -1/+1 |
| | |||||
* | Fix configure issue that discarded provided CC definition. | Mark Adler | 2022-03-28 | 1 | -0/+3 |
| | |||||
* | Check for cc masquerading as gcc or clang in configure. | Mark Adler | 2022-03-27 | 1 | -2/+8 |
| | |||||
* | Separate out address sanitizing from warnings in configure. | Mark Adler | 2022-03-27 | 1 | -2/+7 |
| | |||||
* | Speed up software CRC-32 computation by a factor of 1.5 to 3. | Mark Adler | 2018-12-26 | 1 | -19/+14 |
| | | | | | | | | Use the interleaved method of Kadatch and Jenkins in order to make use of pipelined instructions through multiple ALUs in a single core. This also speeds up and simplifies the combination of CRCs, and updates the functions to pre-calculate and use an operator for CRC combination. | ||||
* | Add address checking in clang to -w option of configure. | Mark Adler | 2017-02-18 | 1 | -2/+2 |
| | |||||
* | Avoid the need for ssize_t. | Mark Adler | 2016-12-31 | 1 | -21/+1 |
| | | | | | | | | Limit read() and write() requests to sizes that fit in an int. This allows storing the return value in an int, and avoiding the need to use or construct an ssize_t type. This is required for Microsoft C, whose _read and _write functions take an unsigned request and return an int. | ||||
* | Detect clang in cc version. | Mark Adler | 2016-12-30 | 1 | -0/+1 |
| | |||||
* | Fix compile option for when z_size_t needs to be a long long. | Mark Adler | 2016-12-04 | 1 | -1/+1 |
| | |||||
* | Create z_size_t and z_ssize_t types. | Mark Adler | 2016-12-04 | 1 | -12/+94 |
| | | | | | | Normally these are set to size_t and ssize_t. But if they do not exist, then they are set to the smallest integer type that can contain a pointer. size_t is unsigned and ssize_t is signed. | ||||
* | Add --debug (-d) option to ./configure to define ZLIB_DEBUG. | Mark Adler | 2016-12-04 | 1 | -0/+6 |
| | |||||
* | Add --warn option to ./configure, instead of environment variable. | Mark Adler | 2016-10-11 | 1 | -1/+3 |
| | |||||
* | Allow building zlib outside of the source directory. | Mark Adler | 2015-08-02 | 1 | -9/+28 |
| | | | | | | | | | | To build, simply run configure from the source directory by specifying its path. That path will be used to find the source files. The source directory will not be touched. All new and modified files will be made in the current directory. Discovered in the process that not all makes understand % or $<, and not all compilers understand -include or -I-. This required a larger Makefile.in with explicit dependencies. | ||||
* | Remove runtime check in configure for four-byte integer type. | Mark Adler | 2013-03-23 | 1 | -26/+0 |
| | | | | | | | | | | That didn't work when cross-compiling. Simply rely on limits.h. If a compiler does not have limits.h, then zconf.h.in should be modified to define Z_U4 as an unsiged four-byte integer type in order for crc32() to be fast. This also simplifies and makes more portable to check for a four- byte type using limits.h. | ||||
* | Fix configure for Sun shell. | Mark Adler | 2013-03-23 | 1 | -1/+3 |
| | |||||
* | Clean up the usage of z_const and respect const usage within zlib. | Mark Adler | 2012-08-13 | 1 | -2/+8 |
| | | | | | | | | | This patch allows zlib to compile cleanly with the -Wcast-qual gcc warning enabled, but only if ZLIB_CONST is defined, which adds const to next_in and msg in z_stream and in the in_func prototype. A --const option is added to ./configure which adds -DZLIB_CONST to the compile flags, and adds -Wcast-qual to the compile flags when ZLIBGCCWARN is set in the environment. | ||||
* | Fix configure check for veracity of compiler error return codes. | Mark Adler | 2012-06-09 | 1 | -58/+85 |
| | | | | | | | | | | | | There were two problems before that this fixes. One was that the check for the compiler error return code preceded the determination of the compiler and its options. The other was that the checks for compiler and library characteristics could be fooled if the error options were set to reject K&R-style C. configure now aborts if the compiler produces a hard error on K&R-style C. In addition, aborts of configure are now consistent, and remove any temporary files. | ||||
* | Delete "--version" file if created by "ar --version" [Richard G.]. | Mark Adler | 2012-06-09 | 1 | -1/+1 |
| | |||||
* | Cleaner check for whether libtool is Apple or not on Darwin. | Mark Adler | 2012-06-09 | 1 | -1/+1 |
| | |||||
* | On Darwin, only use /usr/bin/libtool if libtool is not Apple. | Mark Adler | 2012-06-09 | 1 | -1/+5 |
| | | | | | | | | | The original change was to always use /usr/bin/libtool on Darwin, in order to avoid using a GNU libtool installed by the user in the path ahead of Apple's libtool. However someone might install a more recent Apple libtool ahead of /usr/bin/libtool. This commit checks to see if libtool is Apple, and uses /usr/bin/libtool if it isn't. | ||||
* | Force the native libtool in Mac OS X to avoid GNU libtool [Beebe]. | Mark Adler | 2012-05-01 | 1 | -1/+1 |
| | |||||
* | Fix location of executable for finding a four-byte integer. | Mark Adler | 2012-04-29 | 1 | -1/+1 |
| | |||||
* | Fix type mismatch between get_crc_table() and crc_table. | Mark Adler | 2012-04-29 | 1 | -0/+27 |
| | | | | | | | | | | | | | crc_table is made using a four-byte integer (when that can be determined). However get_crc_table() returned a pointer to an unsigned long, which could be eight bytes. This fixes that by creating a new z_crc_t type for the crc_table. This type is also used for the BYFOUR crc calculations that depend on a four-byte type. The four-byte type can now be determined by ./configure, which also solves a problem where ./configure --solo would never use BYFOUR. No the Z_U4 #define indicates that four- byte integer was found either by ./configure or by zconf.h. | ||||
* | Remove -R. from Solaris shared build (possible security issue). | Mark Adler | 2012-04-22 | 1 | -1/+1 |
| |