summaryrefslogtreecommitdiff
path: root/configure
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Update ./configure for Solaris, support --64 [Mooney].Mark Adler2012-04-221-9/+22
|
* Add more comments to configure.Mark Adler2012-04-011-1/+33
|
* Recognize clang as gcc.Mark Adler2012-03-141-0/+1
|
* Simplify test and use of gcc hidden attribute.Mark Adler2012-03-031-7/+3
|
* Improve the detection of no hidden visibility attribute.Mark Adler2012-02-191-2/+14
|
* Test for existence of strerror.Mark Adler2012-02-181-1/+15
| | | | | | SunOS 4.1 claims that it is __STDC__, but it does not have strerror in string.h. Instead of using __STDC__, this puts a direct test for strerror in configure, and uses that information in gzguts.h.
* Use name in GCC_CLASSIC as C compiler for coverage testing, if set.Mark Adler2012-02-041-0/+3
| | | | | | | | Apple removed support for gcov in the default gcc compiler chain, when they moved to llvm. This can be circumvented in XCode 4.2 by using the gcc chain with gcc-4.2. This patch allows setting GCC_CLASSIC to the name of a real gcc executable (e.g. "gcc-4.2") to allow coverage testing.
* Use the -m option on ldconfig for BSD systems [Tobias].Mark Adler2012-01-291-1/+4
|
* Add the generation of configure.log by ./configure.Mark Adler2012-01-281-100/+159
|
* Have ./configure use the compiler return code for error indication.Mark Adler2012-01-161-14/+30
| | | | | | | | | | | Previously ./configure would use any output on stderr as an indication that the compilation failed. However if some compiler wrapper uses stderr for some other purpose, e.g. distcc for nodes going down, then ./configure would not properly configure the build. This problem was noted by Mike Frysinger. For backwards compatibility, ./configure will revert to the old way, i.e. checking for anything on stderr, if when it deliberately runs the compiler with an error, a zero exit status is returned.
* Split off AR options in Makefile.in and configure.Mark Adler2011-11-131-5/+8
| | | | | Adds ARFLAGS variable for options, where AR is now just the command name. So now $(AR) $(ARFLAGS) is used to build the static library.
* Add --cover option to ./configure for gcc coverage testing.Mark Adler2011-10-091-1/+7
| | | | | | | | This adds the -fprofile-arcs and -ftest-coverage options when compiling the source code for the static library. Those same options must then be used when linking the static library into an executable. This updates Makefile.in to remove and .gitignore to ignore the files generated when testing coverage.
* Add a ./config --solo option to make zlib subset with no libary useMark Adler2011-10-071-0/+16
| | | | | | | | A common request has been the ability to compile zlib to require no other libraries. This --solo option provides that ability. The price is that the gz*, compress*, and uncompress functions are eliminated, and that the user must provide memory allocation and free routines to deflate and inflate when initializing.
* zlib 1.2.5.1v1.2.5.1Mark Adler2011-09-111-10/+31
|
* zlib 1.2.5v1.2.5Mark Adler2011-09-091-1/+5
|
* zlib 1.2.4.5v1.2.4.5Mark Adler2011-09-091-11/+18
|
* zlib 1.2.4.4v1.2.4.4Mark Adler2011-09-091-39/+35
|
* zlib 1.2.4.3v1.2.4.3Mark Adler2011-09-091-5/+29
|