aboutsummaryrefslogtreecommitdiff
path: root/configure (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Check that HAVE_UNISTD_H and HAVE_STDARG_H are not defined as 0.Mark Adler2025-02-131-2/+2
|
* Disable make cover if no gcov was found.Vollstrecker2025-01-311-6/+8
|
* Support clang without version suffix for coverage testing.Vollstrecker2025-01-311-6/+20
|
* Adjust coverage testing to the llvm gcov calling convention.Vollstrecker2025-01-311-5/+24
|
* Add Haiku to configure for proper LDSHARED settings.Oscar Lesta2024-10-071-1/+1
|
* Add -fPIC to compiler options for static library build on Android.qyt2024-03-291-2/+2
|
* Enable build of shared library on AIX.Aleksei Shpakovskii2024-01-231-0/+1
|
* Ignore unknown options in configure.Mark Adler2024-01-231-4/+5
|
* Remove -w compile option in configure test.Mark Adler2024-01-201-1/+1
| | | | Not all C compilers have a -w option.
* Use updated zconf.h when building out of directory with configure.Dan Kegel2024-01-191-1/+1
|
* Limit the length of Darwin shared library version number.Mark Adler2023-08-181-2/+2
|
* Fix version numbering for Darwin shared library.Mark Adler2023-08-181-2/+3
|
* zlib 1.3v1.3Mark Adler2023-08-181-3/+1
|
* Look for a cross-compile libtool first in configure.OldWorldOrdr2023-08-171-1/+3
| | | | Permit cross-compilation for Darwin.
* Add memory sanitizer to configure (--memory).Mark Adler2023-08-121-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 Papadopoulos2023-08-031-1/+1
|
* Remove K&R function definitions from zlib.Mark Adler2023-04-151-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 Adler2023-04-131-2/+2
| | | | This is a temporary workaround before excising the K&R prototypes.
* Minor formatting changes in configure.Mark Adler2022-10-101-24/+25
| | | | No code changes.
* Fix linking on AIX with gcc.Mark Adler2022-10-101-0/+2
|
* Turn off RWX segment warnings on sparc systems.Mark Adler2022-10-101-0/+7
|
* Remove vestigial line from configure.Mark Adler2022-10-091-1/+0
|
* Search for system name in CHOST instead of trying to extract it.Mark Adler2022-10-091-5/+5
|
* Remove bypass of MinGW gcc case in configure.Mark Adler2022-10-091-3/+1
|
* Remove deleted assembler code references.Mark Adler2022-10-061-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 Adler2022-10-061-2/+2
|
* Add -g when debugging with -fsanitize=address to include symbols.Mark Adler2022-07-311-1/+1
|
* Fix configure issue that discarded provided CC definition.Mark Adler2022-03-281-0/+3
|
* Check for cc masquerading as gcc or clang in configure.Mark Adler2022-03-271-2/+8
|
* Separate out address sanitizing from warnings in configure.Mark Adler2022-03-271-2/+7
|
* Speed up software CRC-32 computation by a factor of 1.5 to 3.Mark Adler2018-12-261-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 Adler2017-02-181-2/+2
|
* Avoid the need for ssize_t.Mark Adler2016-12-311-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 Adler2016-12-301-0/+1
|
* Fix compile option for when z_size_t needs to be a long long.Mark Adler2016-12-041-1/+1
|
* Create z_size_t and z_ssize_t types.Mark Adler2016-12-041-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 Adler2016-12-041-0/+6
|
* Add --warn option to ./configure, instead of environment variable.Mark Adler2016-10-111-1/+3
|
* Allow building zlib outside of the source directory.Mark Adler2015-08-021-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 Adler2013-03-231-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 Adler2013-03-231-1/+3
|
* Clean up the usage of z_const and respect const usage within zlib.Mark Adler2012-08-131-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 Adler2012-06-091-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 Adler2012-06-091-1/+1
|
* Cleaner check for whether libtool is Apple or not on Darwin.Mark Adler2012-06-091-1/+1
|
* On Darwin, only use /usr/bin/libtool if libtool is not Apple.Mark Adler2012-06-091-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 Adler2012-05-011-1/+1
|
* Fix location of executable for finding a four-byte integer.Mark Adler2012-04-291-1/+1
|
* Fix type mismatch between get_crc_table() and crc_table.Mark Adler2012-04-291-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 Adler2012-04-221-1/+1
|