aboutsummaryrefslogtreecommitdiff
path: root/configure (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Pass LDFLAGS to link tests in configure.Khem Raj10 days1-6/+6
| | | | | | | | LDFLAGS may contain critical flags without which linking won't succeed. Ensure that all configure tests involving link-time checks use LDFLAGS along with CFLAGS so that the tests perform correctly. Without this some tests may fail, resulting in incorrect configure results.
* Add the architecture to the shared compile flags in configure.Nicolas Cellier10 days1-0/+1
|
* Vectorize the CRC-32 calculation on the s390x.Ilya Leoshkevich11 days1-0/+70
| | | | | | | | | Use vector extensions when compiling for s390x and binutils knows about them. At runtime, check whether kernel supports vector extensions (it has to be not just the CPU, but also the kernel) and choose between the regular and the vectorized implementations. Co-authored-by: Eduard Stefes <eddy@linux.ibm.com>
* Add --undefined option to ./configure for UBSan checker.Mark Adler2026-01-101-0/+5
|
* Prevent the use of insecure functions without an explicit request.Mark Adler2026-01-051-3/+14
| | | | | | | | | | | ZLIB_INSECURE must be defined in order to compile code that uses the insecure functions vsprintf() or sprintf(). This would occur only if the standard vsnprintf() or snprintf() functions are not available. Providing the --insecure option to ./configure will define ZLIB_INSECURE. A flag is added to zlibCompileFlags() to indicate that gzprintf() is not implemented due to the need for the use of an insecure function, but ZLIB_INSECURE was not defined.
* Look for gcov in configure only if coverage was requested.Mark Adler2025-12-081-24/+26
|
* 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
|