-------------------- ./../configure --prefix=/dev/env/DJDIR --static Sun Oct 1 17:59:50 GMT 2023 Checking for gcc... === ztest16348.c === extern int getchar(); int hello() {return getchar();} === gcc -c ztest16348.c ... using gcc Checking for obsessive-compulsive compiler options... === ztest16348.c === int foo() { return 0; } === gcc -c -O3 ztest16348.c Building static library libz.a version 1.3 with gcc. === ztest16348.c === #include #include size_t dummy = 0; === gcc -c -O3 ztest16348.c Checking for size_t... Yes. === ztest16348.c === #include off64_t dummy = 0; === gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest16348.c Checking for off64_t... Yes. Checking for fseeko... Yes. === ztest16348.c === #include #include int main() { return strlen(strerror(errno)); } === gcc -O3 -D_LARGEFILE64_SOURCE=1 -o ztest16348 ztest16348.c Checking for strerror... Yes. === ztest16348.c === #include int main() { return 0; } === gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest16348.c Checking for unistd.h... Yes. === ztest16348.c === #include int main() { return 0; } === gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest16348.c Checking for stdarg.h... Yes. === ztest16348.c === #include #include #include "zconf.h" int main() { #ifndef STDC choke me #endif return 0; } === gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest16348.c Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf(). === ztest16348.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 ztest16348 ztest16348.c Checking for vsnprintf() in stdio.h... Yes. === ztest16348.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 ztest16348.c Checking for return value of vsnprintf()... Yes. === ztest16348.c === #define ZLIB_INTERNAL __attribute__((visibility ("hidden"))) int ZLIB_INTERNAL foo; int main() { return 0; } === gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest16348.c ztest16348.c:6: warning: visibility attribute not supported in this configuration; ignored Checking for attribute(visibility) support... No. ALL = static all64 AR = ar ARFLAGS = rc CC = gcc CFLAGS = -O3 -D_LARGEFILE64_SOURCE=1 CPP = EXE = .exe LDCONFIG = ldconfig LDFLAGS = LDSHARED = gcc LDSHAREDLIBC = -lc OBJC = $(OBJZ) $(OBJG) PIC_OBJC = $(PIC_OBJZ) $(PIC_OBJG) RANLIB = ranlib SFLAGS = -O3 -fPIC -D_LARGEFILE64_SOURCE=1 SHAREDLIB = SHAREDLIBM = SHAREDLIBV = STATICLIB = libz.a TEST = all teststatic test64 VER = 1.3 SRCDIR = ./../ exec_prefix = ${prefix} includedir = ${prefix}/include libdir = ${exec_prefix}/lib mandir = ${prefix}/share/man prefix = /dev/env/DJDIR sharedlibdir = ${libdir} uname = MS-DOS --------------------