-------------------- ./configure Fri Feb 7 02:04:45 BRT 2014 Checking for gcc... === ztest4428.c === extern int getchar(); int hello() {return getchar();} === gcc -c ztest4428.c ... using gcc Checking for obsessive-compulsive compiler options... === ztest4428.c === int foo() { return 0; } === gcc -c -O3 ztest4428.c Checking for shared library support... === ztest4428.c === extern int getchar(); int hello() {return getchar();} === gcc -w -c -O3 -fPIC ztest4428.c gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map -O3 -fPIC -o ztest4428.so ztest4428.o Building shared library libz.so.1.2.11 with gcc. === ztest4428.c === #include #include size_t dummy = 0; === gcc -c -O3 ztest4428.c Checking for size_t... Yes. === ztest4428.c === #include off64_t dummy = 0; === gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest4428.c Checking for off64_t... Yes. Checking for fseeko... Yes. === ztest4428.c === #include #include int main() { return strlen(strerror(errno)); } === gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest4428 ztest4428.c Checking for strerror... Yes. === ztest4428.c === #include int main() { return 0; } === gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest4428.c Checking for unistd.h... Yes. === ztest4428.c === #include int main() { return 0; } === gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest4428.c Checking for stdarg.h... Yes. === ztest4428.c === #include #include #include "zconf.h" int main() { #ifndef STDC choke me #endif return 0; } === gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest4428.c Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf(). === ztest4428.c === #include #include int mytest(const char *fmt, ...) { char buf[20]; va_list ap; va_start(ap, fmt); vsnprintf(buf, sizeof(buf), fmt, ap); va_end(ap); return 0; } int main() { return (mytest("Hello%d\n", 1)); } === gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest4428 ztest4428.c Checking for vsnprintf() in stdio.h... Yes. === ztest4428.c === #include #include int mytest(const char *fmt, ...) { int n; char buf[20]; va_list ap; va_start(ap, fmt); n = vsnprintf(buf, sizeof(buf), fmt, ap); va_end(ap); return n; } int main() { return (mytest("Hello%d\n", 1)); } === gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest4428.c Checking for return value of vsnprintf()... Yes. === ztest4428.c === #define ZLIB_INTERNAL __attribute__((visibility ("hidden"))) int ZLIB_INTERNAL foo; int main() { return 0; } === gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest4428.c Checking for attribute(visibility) support... Yes. ALL = static shared all64 AR = ar ARFLAGS = rc CC = gcc CFLAGS = -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN CPP = gcc -E EXE = LDCONFIG = ldconfig LDFLAGS = LDSHARED = gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map LDSHAREDLIBC = -lc OBJC = $(OBJZ) $(OBJG) PIC_OBJC = $(PIC_OBJZ) $(PIC_OBJG) RANLIB = ranlib SFLAGS = -O3 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN SHAREDLIB = libz.so SHAREDLIBM = libz.so.1 SHAREDLIBV = libz.so.1.2.11 STATICLIB = libz.a TEST = all teststatic testshared test64 VER = 1.2.11 Z_U4 = SRCDIR = exec_prefix = ${prefix} includedir = ${prefix}/include libdir = ${exec_prefix}/lib mandir = ${prefix}/share/man prefix = /usr/local sharedlibdir = ${libdir} uname = Linux -------------------- -------------------- ./configure Wed Sep 20 16:40:10 BRT 2017 Checking for gcc... === ztest4734.c === extern int getchar(); int hello() {return getchar();} === gcc -c ztest4734.c ... using gcc Checking for obsessive-compulsive compiler options... === ztest4734.c === int foo() { return 0; } === gcc -c -O3 ztest4734.c Checking for shared library support... === ztest4734.c === extern int getchar(); int hello() {return getchar();} === gcc -w -c -O3 -fPIC ztest4734.c gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map -O3 -fPIC -o ztest4734.so ztest4734.o Building shared library libz.so.1.2.11 with gcc. === ztest4734.c === #include #include size_t dummy = 0; === gcc -c -O3 ztest4734.c Checking for size_t... Yes. === ztest4734.c === #include off64_t dummy = 0; === gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest4734.c Checking for off64_t... Yes. Checking for fseeko... Yes. === ztest4734.c === #include #include int main() { return strlen(strerror(errno)); } === gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest4734 ztest4734.c Checking for strerror... Yes. === ztest4734.c === #include int main() { return 0; } === gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest4734.c Checking for unistd.h... Yes. === ztest4734.c === #include int main() { return 0; } === gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest4734.c Checking for stdarg.h... Yes. === ztest4734.c === #include #include #include "zconf.h" int main() { #ifndef STDC choke me #endif return 0; } === gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest4734.c Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf(). === ztest4734.c === #include #include int mytest(const char *fmt, ...) { char buf[20]; va_list ap; va_start(ap, fmt); vsnprintf(buf, sizeof(buf), fmt, ap); va_end(ap); return 0; } int main() { return (mytest("Hello%d\n", 1)); } === gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest4734 ztest4734.c Checking for vsnprintf() in stdio.h... Yes. === ztest4734.c === #include #include int mytest(const char *fmt, ...) { int n; char buf[20]; va_list ap; va_start(ap, fmt); n = vsnprintf(buf, sizeof(buf), fmt, ap); va_end(ap); return n; } int main() { return (mytest("Hello%d\n", 1)); } === gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest4734.c Checking for return value of vsnprintf()... Yes. === ztest4734.c === #define ZLIB_INTERNAL __attribute__((visibility ("hidden"))) int ZLIB_INTERNAL foo; int main() { return 0; } === gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest4734.c Checking for attribute(visibility) support... Yes. ALL = static shared all64 AR = ar ARFLAGS = rc CC = gcc CFLAGS = -O3 -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN CPP = gcc -E EXE = LDCONFIG = ldconfig LDFLAGS = LDSHARED = gcc -shared -Wl,-soname,libz.so.1,--version-script,zlib.map LDSHAREDLIBC = -lc OBJC = $(OBJZ) $(OBJG) PIC_OBJC = $(PIC_OBJZ) $(PIC_OBJG) RANLIB = ranlib SFLAGS = -O3 -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN SHAREDLIB = libz.so SHAREDLIBM = libz.so.1 SHAREDLIBV = libz.so.1.2.11 STATICLIB = libz.a TEST = all teststatic testshared test64 VER = 1.2.11 Z_U4 = SRCDIR = exec_prefix = ${prefix} includedir = ${prefix}/include libdir = ${exec_prefix}/lib mandir = ${prefix}/share/man prefix = /usr/local sharedlibdir = ${libdir} uname = Linux --------------------