-------------------- ./configure --prefix=/mnt/gold/openwrt/openwrt_2203/staging_dir/host --sysconfdir=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/etc --localstatedir=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/var --libdir=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/lib --includedir=/mnt/gold/openwrt/openwrt_2203/staging_dir/host/include --static Fri Nov 29 08:29:31 UTC 2024 ignored option: --sysconfdir ignored option: --localstatedir === ztest25973.c === extern int getchar(); int hello() {return getchar();} === gcc -c ztest25973.c ... using gcc Checking for obsessive-compulsive compiler options... === ztest25973.c === int foo() { return 0; } === gcc -c -O2 -I/mnt/gold/openwrt/openwrt_2203/staging_dir/host/include -DPIC -fPIC ztest25973.c Building static library libz.a version 1.2.11 with gcc. === ztest25973.c === #include #include size_t dummy = 0; === gcc -c -O2 -I/mnt/gold/openwrt/openwrt_2203/staging_dir/host/include -DPIC -fPIC ztest25973.c Checking for size_t... Yes. === ztest25973.c === #include off64_t dummy = 0; === gcc -c -O2 -I/mnt/gold/openwrt/openwrt_2203/staging_dir/host/include -DPIC -fPIC -D_LARGEFILE64_SOURCE=1 ztest25973.c Checking for off64_t... Yes. Checking for fseeko... Yes. === ztest25973.c === #include #include int main() { return strlen(strerror(errno)); } === gcc -O2 -I/mnt/gold/openwrt/openwrt_2203/staging_dir/host/include -DPIC -fPIC -D_LARGEFILE64_SOURCE=1 -o ztest25973 ztest25973.c Checking for strerror... Yes. === ztest25973.c === #include int main() { return 0; } === gcc -c -O2 -I/mnt/gold/openwrt/openwrt_2203/staging_dir/host/include -DPIC -fPIC -D_LARGEFILE64_SOURCE=1 ztest25973.c Checking for unistd.h... Yes. === ztest25973.c === #include int main() { return 0; } === gcc -c -O2 -I/mnt/gold/openwrt/openwrt_2203/staging_dir/host/include -DPIC -fPIC -D_LARGEFILE64_SOURCE=1 ztest25973.c Checking for stdarg.h... Yes. === ztest25973.c === #include #include #include "zconf.h" int main() { #ifndef STDC choke me #endif return 0; } === gcc -c -O2 -I/mnt/gold/openwrt/openwrt_2203/staging_dir/host/include -DPIC -fPIC -D_LARGEFILE64_SOURCE=1 ztest25973.c Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf(). === ztest25973.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 -O2 -I/mnt/gold/openwrt/openwrt_2203/staging_dir/host/include -DPIC -fPIC -D_LARGEFILE64_SOURCE=1 -o ztest25973 ztest25973.c Checking for vsnprintf() in stdio.h... Yes. === ztest25973.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 -O2 -I/mnt/gold/openwrt/openwrt_2203/staging_dir/host/include -DPIC -fPIC -D_LARGEFILE64_SOURCE=1 ztest25973.c Checking for return value of vsnprintf()... Yes. === ztest25973.c === #define ZLIB_INTERNAL __attribute__((visibility ("hidden"))) int ZLIB_INTERNAL foo; int main() { return 0; } === gcc -c -O2 -I/mnt/gold/openwrt/openwrt_2203/staging_dir/host/include -DPIC -fPIC -D_LARGEFILE64_SOURCE=1 ztest25973.c Checking for attribute(visibility) support... Yes. ALL = static all64 AR = ar ARFLAGS = rc CC = gcc CFLAGS = -O2 -I/mnt/gold/openwrt/openwrt_2203/staging_dir/host/include -DPIC -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN CPP = gcc -E EXE = LDCONFIG = ldconfig LDFLAGS = -L/mnt/gold/openwrt/openwrt_2203/staging_dir/host/lib LDSHARED = gcc LDSHAREDLIBC = -lc OBJC = $(OBJZ) $(OBJG) PIC_OBJC = $(PIC_OBJZ) $(PIC_OBJG) RANLIB = ranlib SFLAGS = -O2 -I/mnt/gold/openwrt/openwrt_2203/staging_dir/host/include -DPIC -fPIC -fPIC -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN SHAREDLIB = SHAREDLIBM = SHAREDLIBV = STATICLIB = libz.a TEST = all teststatic test64 VER = 1.2.11 Z_U4 = SRCDIR = exec_prefix = ${prefix} includedir = /mnt/gold/openwrt/openwrt_2203/staging_dir/host/include libdir = /mnt/gold/openwrt/openwrt_2203/staging_dir/host/lib mandir = ${prefix}/share/man prefix = /mnt/gold/openwrt/openwrt_2203/staging_dir/host sharedlibdir = ${libdir} uname = Linux --------------------