source: s10k/CommonLibs/zlib-1.2.8/configure.log@ 1172

Last change on this file since 1172 was 1097, checked in by s10k, 7 years ago

added quazip / zlib pre-compiled for macos (if you want you can always compile them yourself with the source)

  • Property svn:eol-style set to native
File size: 3.6 KB
Line 
1--------------------
2./configure
3Sat Sep 17 11:33:47 WEST 2016
4Checking for gcc...
5=== ztest1268.c ===
6extern int getchar();
7int hello() {return getchar();}
8===
9gcc -c ztest1268.c
10... using gcc
11
12Checking for obsessive-compulsive compiler options...
13=== ztest1268.c ===
14int foo() { return 0; }
15===
16gcc -c -O3 ztest1268.c
17
18Checking for shared library support...
19=== ztest1268.c ===
20extern int getchar();
21int hello() {return getchar();}
22===
23gcc -w -c -O3 -fPIC ztest1268.c
24gcc -dynamiclib -install_name ${exec_prefix}/lib/libz.1.dylib -compatibility_version 1 -current_version 1.2.8 -O3 -fPIC -o ztest1268.dylib ztest1268.o
25Building shared library libz.1.2.8.dylib with gcc.
26
27=== ztest1268.c ===
28#include <sys/types.h>
29off64_t dummy = 0;
30===
31gcc -c -O3 -D_LARGEFILE64_SOURCE=1 ztest1268.c
32ztest1268.c:2:1: error: unknown type name 'off64_t'; did you mean 'off_t'?
33off64_t dummy = 0;
34^~~~~~~
35off_t
36/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/sys/_types/_off_t.h:30:25: note: 'off_t' declared here
37typedef __darwin_off_t off_t;
38 ^
391 error generated.
40(exit code 1)
41Checking for off64_t... No.
42
43=== ztest1268.c ===
44#include <stdio.h>
45int main(void) {
46 fseeko(NULL, 0, 0);
47 return 0;
48}
49===
50gcc -O3 -o ztest1268 ztest1268.c
51Checking for fseeko... Yes.
52
53=== ztest1268.c ===
54#include <string.h>
55#include <errno.h>
56int main() { return strlen(strerror(errno)); }
57===
58gcc -O3 -o ztest1268 ztest1268.c
59Checking for strerror... Yes.
60
61=== ztest1268.c ===
62#include <unistd.h>
63int main() { return 0; }
64===
65gcc -c -O3 ztest1268.c
66Checking for unistd.h... Yes.
67
68=== ztest1268.c ===
69#include <stdarg.h>
70int main() { return 0; }
71===
72gcc -c -O3 ztest1268.c
73Checking for stdarg.h... Yes.
74
75=== ztest1268.c ===
76#include <stdio.h>
77#include <stdarg.h>
78#include "zconf.h"
79int main()
80{
81#ifndef STDC
82 choke me
83#endif
84 return 0;
85}
86===
87gcc -c -O3 ztest1268.c
88Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
89
90=== ztest1268.c ===
91#include <stdio.h>
92#include <stdarg.h>
93int mytest(const char *fmt, ...)
94{
95 char buf[20];
96 va_list ap;
97 va_start(ap, fmt);
98 vsnprintf(buf, sizeof(buf), fmt, ap);
99 va_end(ap);
100 return 0;
101}
102int main()
103{
104 return (mytest("Hello%d\n", 1));
105}
106===
107gcc -O3 -o ztest1268 ztest1268.c
108Checking for vsnprintf() in stdio.h... Yes.
109
110=== ztest1268.c ===
111#include <stdio.h>
112#include <stdarg.h>
113int mytest(const char *fmt, ...)
114{
115 int n;
116 char buf[20];
117 va_list ap;
118 va_start(ap, fmt);
119 n = vsnprintf(buf, sizeof(buf), fmt, ap);
120 va_end(ap);
121 return n;
122}
123int main()
124{
125 return (mytest("Hello%d\n", 1));
126}
127===
128gcc -c -O3 ztest1268.c
129Checking for return value of vsnprintf()... Yes.
130
131=== ztest1268.c ===
132#define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
133int ZLIB_INTERNAL foo;
134int main()
135{
136 return 0;
137}
138===
139gcc -c -O3 ztest1268.c
140Checking for attribute(visibility) support... Yes.
141
142ALL = static shared
143AR = libtool
144ARFLAGS = -o
145CC = gcc
146CFLAGS = -O3 -DHAVE_HIDDEN
147CPP = gcc -E
148EXE =
149LDCONFIG = ldconfig
150LDFLAGS =
151LDSHARED = gcc -dynamiclib -install_name ${exec_prefix}/lib/libz.1.dylib -compatibility_version 1 -current_version 1.2.8
152LDSHAREDLIBC = -lc
153OBJC = $(OBJZ) $(OBJG)
154PIC_OBJC = $(PIC_OBJZ) $(PIC_OBJG)
155RANLIB = ranlib
156SFLAGS = -O3 -fPIC -DHAVE_HIDDEN
157SHAREDLIB = libz.dylib
158SHAREDLIBM = libz.1.dylib
159SHAREDLIBV = libz.1.2.8.dylib
160STATICLIB = libz.a
161TEST = all teststatic testshared
162VER = 1.2.8
163Z_U4 =
164exec_prefix = ${prefix}
165includedir = ${prefix}/include
166libdir = ${exec_prefix}/lib
167mandir = ${prefix}/share/man
168prefix = /usr/local
169sharedlibdir = ${libdir}
170uname = Darwin
171--------------------
172
173
Note: See TracBrowser for help on using the repository browser.