1 | This file contains any messages produced by compilers while |
---|
2 | running configure, to aid debugging if configure makes a mistake. |
---|
3 | |
---|
4 | It was created by graph-tool configure 2.2.24, which was |
---|
5 | generated by GNU Autoconf 2.69. Invocation command line was |
---|
6 | |
---|
7 | $ ./configure --prefix=/opt/local --with-boost=/opt/local --exec-prefix=/opt/local/Library/Frameworks/Python.framework/Versions/2.7 --disable-sparsehash |
---|
8 | |
---|
9 | ## --------- ## |
---|
10 | ## Platform. ## |
---|
11 | ## --------- ## |
---|
12 | |
---|
13 | hostname = Simachews-MacBook-Pro.local |
---|
14 | uname -m = x86_64 |
---|
15 | uname -r = 12.4.0 |
---|
16 | uname -s = Darwin |
---|
17 | uname -v = Darwin Kernel Version 12.4.0: Wed May 1 17:57:12 PDT 2013; root:xnu-2050.24.15~1/RELEASE_X86_64 |
---|
18 | |
---|
19 | /usr/bin/uname -p = i386 |
---|
20 | /bin/uname -X = unknown |
---|
21 | |
---|
22 | /bin/arch = unknown |
---|
23 | /usr/bin/arch -k = unknown |
---|
24 | /usr/convex/getsysinfo = unknown |
---|
25 | /usr/bin/hostinfo = Mach kernel version: |
---|
26 | Darwin Kernel Version 12.4.0: Wed May 1 17:57:12 PDT 2013; root:xnu-2050.24.15~1/RELEASE_X86_64 |
---|
27 | Kernel configured for up to 2 processors. |
---|
28 | 2 processors are physically available. |
---|
29 | 2 processors are logically available. |
---|
30 | Processor type: i486 (Intel 80486) |
---|
31 | Processors active: 0 1 |
---|
32 | Primary memory available: 8.00 gigabytes |
---|
33 | Default processor set: 123 tasks, 616 threads, 2 processors |
---|
34 | Load average: 1.00, Mach factor: 1.01 |
---|
35 | /bin/machine = unknown |
---|
36 | /usr/bin/oslevel = unknown |
---|
37 | /bin/universe = unknown |
---|
38 | |
---|
39 | PATH: /opt/local/bin |
---|
40 | PATH: /opt/local/sbin |
---|
41 | PATH: /bin |
---|
42 | PATH: /sbin |
---|
43 | PATH: /usr/bin |
---|
44 | PATH: /usr/sbin |
---|
45 | |
---|
46 | |
---|
47 | ## ----------- ## |
---|
48 | ## Core tests. ## |
---|
49 | ## ----------- ## |
---|
50 | |
---|
51 | configure:2671: checking for a BSD-compatible install |
---|
52 | configure:2739: result: /usr/bin/install -c |
---|
53 | configure:2750: checking whether build environment is sane |
---|
54 | configure:2805: result: yes |
---|
55 | configure:2956: checking for a thread-safe mkdir -p |
---|
56 | configure:2995: result: ./install-sh -c -d |
---|
57 | configure:3002: checking for gawk |
---|
58 | configure:3032: result: no |
---|
59 | configure:3002: checking for mawk |
---|
60 | configure:3032: result: no |
---|
61 | configure:3002: checking for nawk |
---|
62 | configure:3032: result: no |
---|
63 | configure:3002: checking for awk |
---|
64 | configure:3018: found /usr/bin/awk |
---|
65 | configure:3029: result: awk |
---|
66 | configure:3040: checking whether make sets $(MAKE) |
---|
67 | configure:3062: result: yes |
---|
68 | configure:3091: checking whether make supports nested variables |
---|
69 | configure:3108: result: yes |
---|
70 | configure:3198: checking whether make supports nested variables |
---|
71 | configure:3215: result: yes |
---|
72 | configure:3238: checking for style of include used by make |
---|
73 | configure:3266: result: GNU |
---|
74 | configure:3337: checking for gcc |
---|
75 | configure:3364: result: /usr/bin/clang |
---|
76 | configure:3593: checking for C compiler version |
---|
77 | configure:3602: /usr/bin/clang --version >&5 |
---|
78 | Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn) |
---|
79 | Target: x86_64-apple-darwin12.4.0 |
---|
80 | Thread model: posix |
---|
81 | configure:3613: $? = 0 |
---|
82 | configure:3602: /usr/bin/clang -v >&5 |
---|
83 | Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn) |
---|
84 | Target: x86_64-apple-darwin12.4.0 |
---|
85 | Thread model: posix |
---|
86 | configure:3613: $? = 0 |
---|
87 | configure:3602: /usr/bin/clang -V >&5 |
---|
88 | clang: error: argument to '-V' is missing (expected 1 value) |
---|
89 | clang: error: no input files |
---|
90 | configure:3613: $? = 1 |
---|
91 | configure:3602: /usr/bin/clang -qversion >&5 |
---|
92 | clang: error: no input files |
---|
93 | configure:3613: $? = 1 |
---|
94 | configure:3633: checking whether the C compiler works |
---|
95 | configure:3655: /usr/bin/clang -pipe -Os -arch x86_64 -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/.. -L/opt/local/lib -Wl,-headerpad_max_install_names -L/opt/local/lib -arch x86_64 conftest.c >&5 |
---|
96 | configure:3659: $? = 0 |
---|
97 | configure:3707: result: yes |
---|
98 | configure:3710: checking for C compiler default output file name |
---|
99 | configure:3712: result: a.out |
---|
100 | configure:3718: checking for suffix of executables |
---|
101 | configure:3725: /usr/bin/clang -o conftest -pipe -Os -arch x86_64 -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/.. -L/opt/local/lib -Wl,-headerpad_max_install_names -L/opt/local/lib -arch x86_64 conftest.c >&5 |
---|
102 | configure:3729: $? = 0 |
---|
103 | configure:3751: result: |
---|
104 | configure:3773: checking whether we are cross compiling |
---|
105 | configure:3781: /usr/bin/clang -o conftest -pipe -Os -arch x86_64 -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/.. -L/opt/local/lib -Wl,-headerpad_max_install_names -L/opt/local/lib -arch x86_64 conftest.c >&5 |
---|
106 | configure:3785: $? = 0 |
---|
107 | configure:3792: ./conftest |
---|
108 | configure:3796: $? = 0 |
---|
109 | configure:3811: result: no |
---|
110 | configure:3816: checking for suffix of object files |
---|
111 | configure:3838: /usr/bin/clang -c -pipe -Os -arch x86_64 -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/.. conftest.c >&5 |
---|
112 | configure:3842: $? = 0 |
---|
113 | configure:3863: result: o |
---|
114 | configure:3867: checking whether we are using the GNU C compiler |
---|
115 | configure:3886: /usr/bin/clang -c -pipe -Os -arch x86_64 -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/.. conftest.c >&5 |
---|
116 | configure:3886: $? = 0 |
---|
117 | configure:3895: result: yes |
---|
118 | configure:3904: checking whether /usr/bin/clang accepts -g |
---|
119 | configure:3924: /usr/bin/clang -c -g -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/.. conftest.c >&5 |
---|
120 | configure:3924: $? = 0 |
---|
121 | configure:3965: result: yes |
---|
122 | configure:3982: checking for /usr/bin/clang option to accept ISO C89 |
---|
123 | configure:4045: /usr/bin/clang -c -pipe -Os -arch x86_64 -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/.. conftest.c >&5 |
---|
124 | configure:4045: $? = 0 |
---|
125 | configure:4058: result: none needed |
---|
126 | configure:4080: checking dependency style of /usr/bin/clang |
---|
127 | configure:4191: result: gcc3 |
---|
128 | configure:4207: checking whether /usr/bin/clang and cc understand -c and -o together |
---|
129 | configure:4238: /usr/bin/clang -c conftest.c -o conftest2.o >&5 |
---|
130 | configure:4242: $? = 0 |
---|
131 | configure:4248: /usr/bin/clang -c conftest.c -o conftest2.o >&5 |
---|
132 | configure:4252: $? = 0 |
---|
133 | configure:4263: cc -c conftest.c >&5 |
---|
134 | configure:4267: $? = 0 |
---|
135 | configure:4275: cc -c conftest.c -o conftest2.o >&5 |
---|
136 | configure:4279: $? = 0 |
---|
137 | configure:4285: cc -c conftest.c -o conftest2.o >&5 |
---|
138 | configure:4289: $? = 0 |
---|
139 | configure:4307: result: yes |
---|
140 | configure:4337: checking for library containing strerror |
---|
141 | configure:4368: /usr/bin/clang -o conftest -pipe -Os -arch x86_64 -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/.. -L/opt/local/lib -Wl,-headerpad_max_install_names -L/opt/local/lib -arch x86_64 conftest.c >&5 |
---|
142 | conftest.c:18:6: warning: incompatible redeclaration of library function 'strerror' |
---|
143 | char strerror (); |
---|
144 | ^ |
---|
145 | conftest.c:18:6: note: 'strerror' is a builtin with type 'char *(int)' |
---|
146 | 1 warning generated. |
---|
147 | configure:4368: $? = 0 |
---|
148 | configure:4385: result: none required |
---|
149 | configure:4400: checking how to run the C preprocessor |
---|
150 | configure:4431: /usr/bin/clang -E -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/.. conftest.c |
---|
151 | configure:4431: $? = 0 |
---|
152 | configure:4445: /usr/bin/clang -E -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/.. conftest.c |
---|
153 | conftest.c:11:10: fatal error: 'ac_nonexistent.h' file not found |
---|
154 | #include <ac_nonexistent.h> |
---|
155 | ^ |
---|
156 | 1 error generated. |
---|
157 | configure:4445: $? = 1 |
---|
158 | configure: failed program was: |
---|
159 | | /* confdefs.h */ |
---|
160 | | #define PACKAGE_NAME "graph-tool" |
---|
161 | | #define PACKAGE_TARNAME "graph-tool" |
---|
162 | | #define PACKAGE_VERSION "2.2.24" |
---|
163 | | #define PACKAGE_STRING "graph-tool 2.2.24" |
---|
164 | | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de" |
---|
165 | | #define PACKAGE_URL "" |
---|
166 | | #define PACKAGE "graph-tool" |
---|
167 | | #define VERSION "2.2.24" |
---|
168 | | /* end confdefs.h. */ |
---|
169 | | #include <ac_nonexistent.h> |
---|
170 | configure:4470: result: /usr/bin/clang -E |
---|
171 | configure:4490: /usr/bin/clang -E -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/.. conftest.c |
---|
172 | configure:4490: $? = 0 |
---|
173 | configure:4504: /usr/bin/clang -E -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/.. conftest.c |
---|
174 | conftest.c:11:10: fatal error: 'ac_nonexistent.h' file not found |
---|
175 | #include <ac_nonexistent.h> |
---|
176 | ^ |
---|
177 | 1 error generated. |
---|
178 | configure:4504: $? = 1 |
---|
179 | configure: failed program was: |
---|
180 | | /* confdefs.h */ |
---|
181 | | #define PACKAGE_NAME "graph-tool" |
---|
182 | | #define PACKAGE_TARNAME "graph-tool" |
---|
183 | | #define PACKAGE_VERSION "2.2.24" |
---|
184 | | #define PACKAGE_STRING "graph-tool 2.2.24" |
---|
185 | | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de" |
---|
186 | | #define PACKAGE_URL "" |
---|
187 | | #define PACKAGE "graph-tool" |
---|
188 | | #define VERSION "2.2.24" |
---|
189 | | /* end confdefs.h. */ |
---|
190 | | #include <ac_nonexistent.h> |
---|
191 | configure:4533: checking for grep that handles long lines and -e |
---|
192 | configure:4591: result: /usr/bin/grep |
---|
193 | configure:4596: checking for egrep |
---|
194 | configure:4658: result: /usr/bin/grep -E |
---|
195 | configure:4663: checking for ANSI C header files |
---|
196 | configure:4683: /usr/bin/clang -c -pipe -Os -arch x86_64 -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/.. conftest.c >&5 |
---|
197 | configure:4683: $? = 0 |
---|
198 | configure:4756: /usr/bin/clang -o conftest -pipe -Os -arch x86_64 -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/.. -L/opt/local/lib -Wl,-headerpad_max_install_names -L/opt/local/lib -arch x86_64 conftest.c >&5 |
---|
199 | configure:4756: $? = 0 |
---|
200 | configure:4756: ./conftest |
---|
201 | configure:4756: $? = 0 |
---|
202 | configure:4767: result: yes |
---|
203 | configure:4780: checking for sys/types.h |
---|
204 | configure:4780: /usr/bin/clang -c -pipe -Os -arch x86_64 -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/.. conftest.c >&5 |
---|
205 | configure:4780: $? = 0 |
---|
206 | configure:4780: result: yes |
---|
207 | configure:4780: checking for sys/stat.h |
---|
208 | configure:4780: /usr/bin/clang -c -pipe -Os -arch x86_64 -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/.. conftest.c >&5 |
---|
209 | configure:4780: $? = 0 |
---|
210 | configure:4780: result: yes |
---|
211 | configure:4780: checking for stdlib.h |
---|
212 | configure:4780: /usr/bin/clang -c -pipe -Os -arch x86_64 -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/.. conftest.c >&5 |
---|
213 | configure:4780: $? = 0 |
---|
214 | configure:4780: result: yes |
---|
215 | configure:4780: checking for string.h |
---|
216 | configure:4780: /usr/bin/clang -c -pipe -Os -arch x86_64 -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/.. conftest.c >&5 |
---|
217 | configure:4780: $? = 0 |
---|
218 | configure:4780: result: yes |
---|
219 | configure:4780: checking for memory.h |
---|
220 | configure:4780: /usr/bin/clang -c -pipe -Os -arch x86_64 -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/.. conftest.c >&5 |
---|
221 | configure:4780: $? = 0 |
---|
222 | configure:4780: result: yes |
---|
223 | configure:4780: checking for strings.h |
---|
224 | configure:4780: /usr/bin/clang -c -pipe -Os -arch x86_64 -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/.. conftest.c >&5 |
---|
225 | configure:4780: $? = 0 |
---|
226 | configure:4780: result: yes |
---|
227 | configure:4780: checking for inttypes.h |
---|
228 | configure:4780: /usr/bin/clang -c -pipe -Os -arch x86_64 -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/.. conftest.c >&5 |
---|
229 | configure:4780: $? = 0 |
---|
230 | configure:4780: result: yes |
---|
231 | configure:4780: checking for stdint.h |
---|
232 | configure:4780: /usr/bin/clang -c -pipe -Os -arch x86_64 -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/.. conftest.c >&5 |
---|
233 | configure:4780: $? = 0 |
---|
234 | configure:4780: result: yes |
---|
235 | configure:4780: checking for unistd.h |
---|
236 | configure:4780: /usr/bin/clang -c -pipe -Os -arch x86_64 -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/.. conftest.c >&5 |
---|
237 | configure:4780: $? = 0 |
---|
238 | configure:4780: result: yes |
---|
239 | configure:4793: checking minix/config.h usability |
---|
240 | configure:4793: /usr/bin/clang -c -pipe -Os -arch x86_64 -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/.. conftest.c >&5 |
---|
241 | conftest.c:54:10: fatal error: 'minix/config.h' file not found |
---|
242 | #include <minix/config.h> |
---|
243 | ^ |
---|
244 | 1 error generated. |
---|
245 | configure:4793: $? = 1 |
---|
246 | configure: failed program was: |
---|
247 | | /* confdefs.h */ |
---|
248 | | #define PACKAGE_NAME "graph-tool" |
---|
249 | | #define PACKAGE_TARNAME "graph-tool" |
---|
250 | | #define PACKAGE_VERSION "2.2.24" |
---|
251 | | #define PACKAGE_STRING "graph-tool 2.2.24" |
---|
252 | | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de" |
---|
253 | | #define PACKAGE_URL "" |
---|
254 | | #define PACKAGE "graph-tool" |
---|
255 | | #define VERSION "2.2.24" |
---|
256 | | #define STDC_HEADERS 1 |
---|
257 | | #define HAVE_SYS_TYPES_H 1 |
---|
258 | | #define HAVE_SYS_STAT_H 1 |
---|
259 | | #define HAVE_STDLIB_H 1 |
---|
260 | | #define HAVE_STRING_H 1 |
---|
261 | | #define HAVE_MEMORY_H 1 |
---|
262 | | #define HAVE_STRINGS_H 1 |
---|
263 | | #define HAVE_INTTYPES_H 1 |
---|
264 | | #define HAVE_STDINT_H 1 |
---|
265 | | #define HAVE_UNISTD_H 1 |
---|
266 | | /* end confdefs.h. */ |
---|
267 | | #include <stdio.h> |
---|
268 | | #ifdef HAVE_SYS_TYPES_H |
---|
269 | | # include <sys/types.h> |
---|
270 | | #endif |
---|
271 | | #ifdef HAVE_SYS_STAT_H |
---|
272 | | # include <sys/stat.h> |
---|
273 | | #endif |
---|
274 | | #ifdef STDC_HEADERS |
---|
275 | | # include <stdlib.h> |
---|
276 | | # include <stddef.h> |
---|
277 | | #else |
---|
278 | | # ifdef HAVE_STDLIB_H |
---|
279 | | # include <stdlib.h> |
---|
280 | | # endif |
---|
281 | | #endif |
---|
282 | | #ifdef HAVE_STRING_H |
---|
283 | | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H |
---|
284 | | # include <memory.h> |
---|
285 | | # endif |
---|
286 | | # include <string.h> |
---|
287 | | #endif |
---|
288 | | #ifdef HAVE_STRINGS_H |
---|
289 | | # include <strings.h> |
---|
290 | | #endif |
---|
291 | | #ifdef HAVE_INTTYPES_H |
---|
292 | | # include <inttypes.h> |
---|
293 | | #endif |
---|
294 | | #ifdef HAVE_STDINT_H |
---|
295 | | # include <stdint.h> |
---|
296 | | #endif |
---|
297 | | #ifdef HAVE_UNISTD_H |
---|
298 | | # include <unistd.h> |
---|
299 | | #endif |
---|
300 | | #include <minix/config.h> |
---|
301 | configure:4793: result: no |
---|
302 | configure:4793: checking minix/config.h presence |
---|
303 | configure:4793: /usr/bin/clang -E -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/.. conftest.c |
---|
304 | conftest.c:21:10: fatal error: 'minix/config.h' file not found |
---|
305 | #include <minix/config.h> |
---|
306 | ^ |
---|
307 | 1 error generated. |
---|
308 | configure:4793: $? = 1 |
---|
309 | configure: failed program was: |
---|
310 | | /* confdefs.h */ |
---|
311 | | #define PACKAGE_NAME "graph-tool" |
---|
312 | | #define PACKAGE_TARNAME "graph-tool" |
---|
313 | | #define PACKAGE_VERSION "2.2.24" |
---|
314 | | #define PACKAGE_STRING "graph-tool 2.2.24" |
---|
315 | | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de" |
---|
316 | | #define PACKAGE_URL "" |
---|
317 | | #define PACKAGE "graph-tool" |
---|
318 | | #define VERSION "2.2.24" |
---|
319 | | #define STDC_HEADERS 1 |
---|
320 | | #define HAVE_SYS_TYPES_H 1 |
---|
321 | | #define HAVE_SYS_STAT_H 1 |
---|
322 | | #define HAVE_STDLIB_H 1 |
---|
323 | | #define HAVE_STRING_H 1 |
---|
324 | | #define HAVE_MEMORY_H 1 |
---|
325 | | #define HAVE_STRINGS_H 1 |
---|
326 | | #define HAVE_INTTYPES_H 1 |
---|
327 | | #define HAVE_STDINT_H 1 |
---|
328 | | #define HAVE_UNISTD_H 1 |
---|
329 | | /* end confdefs.h. */ |
---|
330 | | #include <minix/config.h> |
---|
331 | configure:4793: result: no |
---|
332 | configure:4793: checking for minix/config.h |
---|
333 | configure:4793: result: no |
---|
334 | configure:4814: checking whether it is safe to define __EXTENSIONS__ |
---|
335 | configure:4832: /usr/bin/clang -c -pipe -Os -arch x86_64 -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/.. conftest.c >&5 |
---|
336 | configure:4832: $? = 0 |
---|
337 | configure:4839: result: yes |
---|
338 | configure:4965: checking for C++ compiler version |
---|
339 | configure:4974: /usr/bin/clang++ --version >&5 |
---|
340 | Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn) |
---|
341 | Target: x86_64-apple-darwin12.4.0 |
---|
342 | Thread model: posix |
---|
343 | configure:4985: $? = 0 |
---|
344 | configure:4974: /usr/bin/clang++ -v >&5 |
---|
345 | Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn) |
---|
346 | Target: x86_64-apple-darwin12.4.0 |
---|
347 | Thread model: posix |
---|
348 | configure:4985: $? = 0 |
---|
349 | configure:4974: /usr/bin/clang++ -V >&5 |
---|
350 | clang: error: argument to '-V' is missing (expected 1 value) |
---|
351 | clang: error: no input files |
---|
352 | configure:4985: $? = 1 |
---|
353 | configure:4974: /usr/bin/clang++ -qversion >&5 |
---|
354 | clang: error: no input files |
---|
355 | configure:4985: $? = 1 |
---|
356 | configure:4989: checking whether we are using the GNU C++ compiler |
---|
357 | configure:5008: /usr/bin/clang++ -c -pipe -Os -arch x86_64 -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/.. conftest.cpp >&5 |
---|
358 | configure:5008: $? = 0 |
---|
359 | configure:5017: result: yes |
---|
360 | configure:5026: checking whether /usr/bin/clang++ accepts -g |
---|
361 | configure:5046: /usr/bin/clang++ -c -g -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/.. conftest.cpp >&5 |
---|
362 | configure:5046: $? = 0 |
---|
363 | configure:5087: result: yes |
---|
364 | configure:5112: checking dependency style of /usr/bin/clang++ |
---|
365 | configure:5223: result: gcc3 |
---|
366 | configure:5248: checking for /usr/bin/clang option to accept ISO C99 |
---|
367 | configure:5397: /usr/bin/clang++ -c -pipe -Os -arch x86_64 -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/.. conftest.cpp >&5 |
---|
368 | conftest.cpp:76:29: error: expected ')' |
---|
369 | test_restrict (ccp restrict text) |
---|
370 | ^ |
---|
371 | conftest.cpp:76:15: note: to match this '(' |
---|
372 | test_restrict (ccp restrict text) |
---|
373 | ^ |
---|
374 | conftest.cpp:81:30: error: use of undeclared identifier 'text' |
---|
375 | for (unsigned int i = 0; *(text+i) != '\0'; ++i) |
---|
376 | ^ |
---|
377 | conftest.cpp:130:17: error: expected ';' at end of declaration |
---|
378 | char *restrict newvar = "Another string"; |
---|
379 | ^ |
---|
380 | ; |
---|
381 | conftest.cpp:137:28: error: cannot initialize a variable of type 'struct incomplete_array *' with an rvalue of type 'void *' |
---|
382 | struct incomplete_array *ia = |
---|
383 | ^ |
---|
384 | conftest.cpp:156:59: error: use of undeclared identifier 'newvar' |
---|
385 | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' |
---|
386 | ^ |
---|
387 | 5 errors generated. |
---|
388 | configure:5397: $? = 1 |
---|
389 | configure: failed program was: |
---|
390 | | /* confdefs.h */ |
---|
391 | | #define PACKAGE_NAME "graph-tool" |
---|
392 | | #define PACKAGE_TARNAME "graph-tool" |
---|
393 | | #define PACKAGE_VERSION "2.2.24" |
---|
394 | | #define PACKAGE_STRING "graph-tool 2.2.24" |
---|
395 | | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de" |
---|
396 | | #define PACKAGE_URL "" |
---|
397 | | #define PACKAGE "graph-tool" |
---|
398 | | #define VERSION "2.2.24" |
---|
399 | | #define STDC_HEADERS 1 |
---|
400 | | #define HAVE_SYS_TYPES_H 1 |
---|
401 | | #define HAVE_SYS_STAT_H 1 |
---|
402 | | #define HAVE_STDLIB_H 1 |
---|
403 | | #define HAVE_STRING_H 1 |
---|
404 | | #define HAVE_MEMORY_H 1 |
---|
405 | | #define HAVE_STRINGS_H 1 |
---|
406 | | #define HAVE_INTTYPES_H 1 |
---|
407 | | #define HAVE_STDINT_H 1 |
---|
408 | | #define HAVE_UNISTD_H 1 |
---|
409 | | #define __EXTENSIONS__ 1 |
---|
410 | | #define _ALL_SOURCE 1 |
---|
411 | | #define _GNU_SOURCE 1 |
---|
412 | | #define _POSIX_PTHREAD_SEMANTICS 1 |
---|
413 | | #define _TANDEM_SOURCE 1 |
---|
414 | | /* end confdefs.h. */ |
---|
415 | | #include <stdarg.h> |
---|
416 | | #include <stdbool.h> |
---|
417 | | #include <stdlib.h> |
---|
418 | | #include <wchar.h> |
---|
419 | | #include <stdio.h> |
---|
420 | | |
---|
421 | | // Check varargs macros. These examples are taken from C99 6.10.3.5. |
---|
422 | | #define debug(...) fprintf (stderr, __VA_ARGS__) |
---|
423 | | #define showlist(...) puts (#__VA_ARGS__) |
---|
424 | | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) |
---|
425 | | static void |
---|
426 | | test_varargs_macros (void) |
---|
427 | | { |
---|
428 | | int x = 1234; |
---|
429 | | int y = 5678; |
---|
430 | | debug ("Flag"); |
---|
431 | | debug ("X = %d\n", x); |
---|
432 | | showlist (The first, second, and third items.); |
---|
433 | | report (x>y, "x is %d but y is %d", x, y); |
---|
434 | | } |
---|
435 | | |
---|
436 | | // Check long long types. |
---|
437 | | #define BIG64 18446744073709551615ull |
---|
438 | | #define BIG32 4294967295ul |
---|
439 | | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) |
---|
440 | | #if !BIG_OK |
---|
441 | | your preprocessor is broken; |
---|
442 | | #endif |
---|
443 | | #if BIG_OK |
---|
444 | | #else |
---|
445 | | your preprocessor is broken; |
---|
446 | | #endif |
---|
447 | | static long long int bignum = -9223372036854775807LL; |
---|
448 | | static unsigned long long int ubignum = BIG64; |
---|
449 | | |
---|
450 | | struct incomplete_array |
---|
451 | | { |
---|
452 | | int datasize; |
---|
453 | | double data[]; |
---|
454 | | }; |
---|
455 | | |
---|
456 | | struct named_init { |
---|
457 | | int number; |
---|
458 | | const wchar_t *name; |
---|
459 | | double average; |
---|
460 | | }; |
---|
461 | | |
---|
462 | | typedef const char *ccp; |
---|
463 | | |
---|
464 | | static inline int |
---|
465 | | test_restrict (ccp restrict text) |
---|
466 | | { |
---|
467 | | // See if C++-style comments work. |
---|
468 | | // Iterate through items via the restricted pointer. |
---|
469 | | // Also check for declarations in for loops. |
---|
470 | | for (unsigned int i = 0; *(text+i) != '\0'; ++i) |
---|
471 | | continue; |
---|
472 | | return 0; |
---|
473 | | } |
---|
474 | | |
---|
475 | | // Check varargs and va_copy. |
---|
476 | | static void |
---|
477 | | test_varargs (const char *format, ...) |
---|
478 | | { |
---|
479 | | va_list args; |
---|
480 | | va_start (args, format); |
---|
481 | | va_list args_copy; |
---|
482 | | va_copy (args_copy, args); |
---|
483 | | |
---|
484 | | const char *str; |
---|
485 | | int number; |
---|
486 | | float fnumber; |
---|
487 | | |
---|
488 | | while (*format) |
---|
489 | | { |
---|
490 | | switch (*format++) |
---|
491 | | { |
---|
492 | | case 's': // string |
---|
493 | | str = va_arg (args_copy, const char *); |
---|
494 | | break; |
---|
495 | | case 'd': // int |
---|
496 | | number = va_arg (args_copy, int); |
---|
497 | | break; |
---|
498 | | case 'f': // float |
---|
499 | | fnumber = va_arg (args_copy, double); |
---|
500 | | break; |
---|
501 | | default: |
---|
502 | | break; |
---|
503 | | } |
---|
504 | | } |
---|
505 | | va_end (args_copy); |
---|
506 | | va_end (args); |
---|
507 | | } |
---|
508 | | |
---|
509 | | int |
---|
510 | | main () |
---|
511 | | { |
---|
512 | | |
---|
513 | | // Check bool. |
---|
514 | | _Bool success = false; |
---|
515 | | |
---|
516 | | // Check restrict. |
---|
517 | | if (test_restrict ("String literal") == 0) |
---|
518 | | success = true; |
---|
519 | | char *restrict newvar = "Another string"; |
---|
520 | | |
---|
521 | | // Check varargs. |
---|
522 | | test_varargs ("s, d' f .", "string", 65, 34.234); |
---|
523 | | test_varargs_macros (); |
---|
524 | | |
---|
525 | | // Check flexible array members. |
---|
526 | | struct incomplete_array *ia = |
---|
527 | | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); |
---|
528 | | ia->datasize = 10; |
---|
529 | | for (int i = 0; i < ia->datasize; ++i) |
---|
530 | | ia->data[i] = i * 1.234; |
---|
531 | | |
---|
532 | | // Check named initializers. |
---|
533 | | struct named_init ni = { |
---|
534 | | .number = 34, |
---|
535 | | .name = L"Test wide string", |
---|
536 | | .average = 543.34343, |
---|
537 | | }; |
---|
538 | | |
---|
539 | | ni.number = 58; |
---|
540 | | |
---|
541 | | int dynamic_array[ni.number]; |
---|
542 | | dynamic_array[ni.number - 1] = 543; |
---|
543 | | |
---|
544 | | // work around unused variable warnings |
---|
545 | | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' |
---|
546 | | || dynamic_array[ni.number - 1] != 543); |
---|
547 | | |
---|
548 | | ; |
---|
549 | | return 0; |
---|
550 | | } |
---|
551 | configure:5397: /usr/bin/clang++ -c -pipe -Os -arch x86_64 -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/.. conftest.cpp >&5 |
---|
552 | conftest.cpp:76:29: error: expected ')' |
---|
553 | test_restrict (ccp restrict text) |
---|
554 | ^ |
---|
555 | conftest.cpp:76:15: note: to match this '(' |
---|
556 | test_restrict (ccp restrict text) |
---|
557 | ^ |
---|
558 | conftest.cpp:81:30: error: use of undeclared identifier 'text' |
---|
559 | for (unsigned int i = 0; *(text+i) != '\0'; ++i) |
---|
560 | ^ |
---|
561 | conftest.cpp:130:17: error: expected ';' at end of declaration |
---|
562 | char *restrict newvar = "Another string"; |
---|
563 | ^ |
---|
564 | ; |
---|
565 | conftest.cpp:137:28: error: cannot initialize a variable of type 'struct incomplete_array *' with an rvalue of type 'void *' |
---|
566 | struct incomplete_array *ia = |
---|
567 | ^ |
---|
568 | conftest.cpp:156:59: error: use of undeclared identifier 'newvar' |
---|
569 | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' |
---|
570 | ^ |
---|
571 | 5 errors generated. |
---|
572 | configure:5397: $? = 1 |
---|
573 | configure: failed program was: |
---|
574 | | /* confdefs.h */ |
---|
575 | | #define PACKAGE_NAME "graph-tool" |
---|
576 | | #define PACKAGE_TARNAME "graph-tool" |
---|
577 | | #define PACKAGE_VERSION "2.2.24" |
---|
578 | | #define PACKAGE_STRING "graph-tool 2.2.24" |
---|
579 | | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de" |
---|
580 | | #define PACKAGE_URL "" |
---|
581 | | #define PACKAGE "graph-tool" |
---|
582 | | #define VERSION "2.2.24" |
---|
583 | | #define STDC_HEADERS 1 |
---|
584 | | #define HAVE_SYS_TYPES_H 1 |
---|
585 | | #define HAVE_SYS_STAT_H 1 |
---|
586 | | #define HAVE_STDLIB_H 1 |
---|
587 | | #define HAVE_STRING_H 1 |
---|
588 | | #define HAVE_MEMORY_H 1 |
---|
589 | | #define HAVE_STRINGS_H 1 |
---|
590 | | #define HAVE_INTTYPES_H 1 |
---|
591 | | #define HAVE_STDINT_H 1 |
---|
592 | | #define HAVE_UNISTD_H 1 |
---|
593 | | #define __EXTENSIONS__ 1 |
---|
594 | | #define _ALL_SOURCE 1 |
---|
595 | | #define _GNU_SOURCE 1 |
---|
596 | | #define _POSIX_PTHREAD_SEMANTICS 1 |
---|
597 | | #define _TANDEM_SOURCE 1 |
---|
598 | | /* end confdefs.h. */ |
---|
599 | | #include <stdarg.h> |
---|
600 | | #include <stdbool.h> |
---|
601 | | #include <stdlib.h> |
---|
602 | | #include <wchar.h> |
---|
603 | | #include <stdio.h> |
---|
604 | | |
---|
605 | | // Check varargs macros. These examples are taken from C99 6.10.3.5. |
---|
606 | | #define debug(...) fprintf (stderr, __VA_ARGS__) |
---|
607 | | #define showlist(...) puts (#__VA_ARGS__) |
---|
608 | | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) |
---|
609 | | static void |
---|
610 | | test_varargs_macros (void) |
---|
611 | | { |
---|
612 | | int x = 1234; |
---|
613 | | int y = 5678; |
---|
614 | | debug ("Flag"); |
---|
615 | | debug ("X = %d\n", x); |
---|
616 | | showlist (The first, second, and third items.); |
---|
617 | | report (x>y, "x is %d but y is %d", x, y); |
---|
618 | | } |
---|
619 | | |
---|
620 | | // Check long long types. |
---|
621 | | #define BIG64 18446744073709551615ull |
---|
622 | | #define BIG32 4294967295ul |
---|
623 | | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) |
---|
624 | | #if !BIG_OK |
---|
625 | | your preprocessor is broken; |
---|
626 | | #endif |
---|
627 | | #if BIG_OK |
---|
628 | | #else |
---|
629 | | your preprocessor is broken; |
---|
630 | | #endif |
---|
631 | | static long long int bignum = -9223372036854775807LL; |
---|
632 | | static unsigned long long int ubignum = BIG64; |
---|
633 | | |
---|
634 | | struct incomplete_array |
---|
635 | | { |
---|
636 | | int datasize; |
---|
637 | | double data[]; |
---|
638 | | }; |
---|
639 | | |
---|
640 | | struct named_init { |
---|
641 | | int number; |
---|
642 | | const wchar_t *name; |
---|
643 | | double average; |
---|
644 | | }; |
---|
645 | | |
---|
646 | | typedef const char *ccp; |
---|
647 | | |
---|
648 | | static inline int |
---|
649 | | test_restrict (ccp restrict text) |
---|
650 | | { |
---|
651 | | // See if C++-style comments work. |
---|
652 | | // Iterate through items via the restricted pointer. |
---|
653 | | // Also check for declarations in for loops. |
---|
654 | | for (unsigned int i = 0; *(text+i) != '\0'; ++i) |
---|
655 | | continue; |
---|
656 | | return 0; |
---|
657 | | } |
---|
658 | | |
---|
659 | | // Check varargs and va_copy. |
---|
660 | | static void |
---|
661 | | test_varargs (const char *format, ...) |
---|
662 | | { |
---|
663 | | va_list args; |
---|
664 | | va_start (args, format); |
---|
665 | | va_list args_copy; |
---|
666 | | va_copy (args_copy, args); |
---|
667 | | |
---|
668 | | const char *str; |
---|
669 | | int number; |
---|
670 | | float fnumber; |
---|
671 | | |
---|
672 | | while (*format) |
---|
673 | | { |
---|
674 | | switch (*format++) |
---|
675 | | { |
---|
676 | | case 's': // string |
---|
677 | | str = va_arg (args_copy, const char *); |
---|
678 | | break; |
---|
679 | | case 'd': // int |
---|
680 | | number = va_arg (args_copy, int); |
---|
681 | | break; |
---|
682 | | case 'f': // float |
---|
683 | | fnumber = va_arg (args_copy, double); |
---|
684 | | break; |
---|
685 | | default: |
---|
686 | | break; |
---|
687 | | } |
---|
688 | | } |
---|
689 | | va_end (args_copy); |
---|
690 | | va_end (args); |
---|
691 | | } |
---|
692 | | |
---|
693 | | int |
---|
694 | | main () |
---|
695 | | { |
---|
696 | | |
---|
697 | | // Check bool. |
---|
698 | | _Bool success = false; |
---|
699 | | |
---|
700 | | // Check restrict. |
---|
701 | | if (test_restrict ("String literal") == 0) |
---|
702 | | success = true; |
---|
703 | | char *restrict newvar = "Another string"; |
---|
704 | | |
---|
705 | | // Check varargs. |
---|
706 | | test_varargs ("s, d' f .", "string", 65, 34.234); |
---|
707 | | test_varargs_macros (); |
---|
708 | | |
---|
709 | | // Check flexible array members. |
---|
710 | | struct incomplete_array *ia = |
---|
711 | | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); |
---|
712 | | ia->datasize = 10; |
---|
713 | | for (int i = 0; i < ia->datasize; ++i) |
---|
714 | | ia->data[i] = i * 1.234; |
---|
715 | | |
---|
716 | | // Check named initializers. |
---|
717 | | struct named_init ni = { |
---|
718 | | .number = 34, |
---|
719 | | .name = L"Test wide string", |
---|
720 | | .average = 543.34343, |
---|
721 | | }; |
---|
722 | | |
---|
723 | | ni.number = 58; |
---|
724 | | |
---|
725 | | int dynamic_array[ni.number]; |
---|
726 | | dynamic_array[ni.number - 1] = 543; |
---|
727 | | |
---|
728 | | // work around unused variable warnings |
---|
729 | | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' |
---|
730 | | || dynamic_array[ni.number - 1] != 543); |
---|
731 | | |
---|
732 | | ; |
---|
733 | | return 0; |
---|
734 | | } |
---|
735 | configure:5397: /usr/bin/clang++ -c -pipe -Os -arch x86_64 -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/.. conftest.cpp >&5 |
---|
736 | conftest.cpp:76:29: error: expected ')' |
---|
737 | test_restrict (ccp restrict text) |
---|
738 | ^ |
---|
739 | conftest.cpp:76:15: note: to match this '(' |
---|
740 | test_restrict (ccp restrict text) |
---|
741 | ^ |
---|
742 | conftest.cpp:81:30: error: use of undeclared identifier 'text' |
---|
743 | for (unsigned int i = 0; *(text+i) != '\0'; ++i) |
---|
744 | ^ |
---|
745 | conftest.cpp:130:17: error: expected ';' at end of declaration |
---|
746 | char *restrict newvar = "Another string"; |
---|
747 | ^ |
---|
748 | ; |
---|
749 | conftest.cpp:137:28: error: cannot initialize a variable of type 'struct incomplete_array *' with an rvalue of type 'void *' |
---|
750 | struct incomplete_array *ia = |
---|
751 | ^ |
---|
752 | conftest.cpp:156:59: error: use of undeclared identifier 'newvar' |
---|
753 | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' |
---|
754 | ^ |
---|
755 | 5 errors generated. |
---|
756 | configure:5397: $? = 1 |
---|
757 | configure: failed program was: |
---|
758 | | /* confdefs.h */ |
---|
759 | | #define PACKAGE_NAME "graph-tool" |
---|
760 | | #define PACKAGE_TARNAME "graph-tool" |
---|
761 | | #define PACKAGE_VERSION "2.2.24" |
---|
762 | | #define PACKAGE_STRING "graph-tool 2.2.24" |
---|
763 | | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de" |
---|
764 | | #define PACKAGE_URL "" |
---|
765 | | #define PACKAGE "graph-tool" |
---|
766 | | #define VERSION "2.2.24" |
---|
767 | | #define STDC_HEADERS 1 |
---|
768 | | #define HAVE_SYS_TYPES_H 1 |
---|
769 | | #define HAVE_SYS_STAT_H 1 |
---|
770 | | #define HAVE_STDLIB_H 1 |
---|
771 | | #define HAVE_STRING_H 1 |
---|
772 | | #define HAVE_MEMORY_H 1 |
---|
773 | | #define HAVE_STRINGS_H 1 |
---|
774 | | #define HAVE_INTTYPES_H 1 |
---|
775 | | #define HAVE_STDINT_H 1 |
---|
776 | | #define HAVE_UNISTD_H 1 |
---|
777 | | #define __EXTENSIONS__ 1 |
---|
778 | | #define _ALL_SOURCE 1 |
---|
779 | | #define _GNU_SOURCE 1 |
---|
780 | | #define _POSIX_PTHREAD_SEMANTICS 1 |
---|
781 | | #define _TANDEM_SOURCE 1 |
---|
782 | | /* end confdefs.h. */ |
---|
783 | | #include <stdarg.h> |
---|
784 | | #include <stdbool.h> |
---|
785 | | #include <stdlib.h> |
---|
786 | | #include <wchar.h> |
---|
787 | | #include <stdio.h> |
---|
788 | | |
---|
789 | | // Check varargs macros. These examples are taken from C99 6.10.3.5. |
---|
790 | | #define debug(...) fprintf (stderr, __VA_ARGS__) |
---|
791 | | #define showlist(...) puts (#__VA_ARGS__) |
---|
792 | | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) |
---|
793 | | static void |
---|
794 | | test_varargs_macros (void) |
---|
795 | | { |
---|
796 | | int x = 1234; |
---|
797 | | int y = 5678; |
---|
798 | | debug ("Flag"); |
---|
799 | | debug ("X = %d\n", x); |
---|
800 | | showlist (The first, second, and third items.); |
---|
801 | | report (x>y, "x is %d but y is %d", x, y); |
---|
802 | | } |
---|
803 | | |
---|
804 | | // Check long long types. |
---|
805 | | #define BIG64 18446744073709551615ull |
---|
806 | | #define BIG32 4294967295ul |
---|
807 | | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) |
---|
808 | | #if !BIG_OK |
---|
809 | | your preprocessor is broken; |
---|
810 | | #endif |
---|
811 | | #if BIG_OK |
---|
812 | | #else |
---|
813 | | your preprocessor is broken; |
---|
814 | | #endif |
---|
815 | | static long long int bignum = -9223372036854775807LL; |
---|
816 | | static unsigned long long int ubignum = BIG64; |
---|
817 | | |
---|
818 | | struct incomplete_array |
---|
819 | | { |
---|
820 | | int datasize; |
---|
821 | | double data[]; |
---|
822 | | }; |
---|
823 | | |
---|
824 | | struct named_init { |
---|
825 | | int number; |
---|
826 | | const wchar_t *name; |
---|
827 | | double average; |
---|
828 | | }; |
---|
829 | | |
---|
830 | | typedef const char *ccp; |
---|
831 | | |
---|
832 | | static inline int |
---|
833 | | test_restrict (ccp restrict text) |
---|
834 | | { |
---|
835 | | // See if C++-style comments work. |
---|
836 | | // Iterate through items via the restricted pointer. |
---|
837 | | // Also check for declarations in for loops. |
---|
838 | | for (unsigned int i = 0; *(text+i) != '\0'; ++i) |
---|
839 | | continue; |
---|
840 | | return 0; |
---|
841 | | } |
---|
842 | | |
---|
843 | | // Check varargs and va_copy. |
---|
844 | | static void |
---|
845 | | test_varargs (const char *format, ...) |
---|
846 | | { |
---|
847 | | va_list args; |
---|
848 | | va_start (args, format); |
---|
849 | | va_list args_copy; |
---|
850 | | va_copy (args_copy, args); |
---|
851 | | |
---|
852 | | const char *str; |
---|
853 | | int number; |
---|
854 | | float fnumber; |
---|
855 | | |
---|
856 | | while (*format) |
---|
857 | | { |
---|
858 | | switch (*format++) |
---|
859 | | { |
---|
860 | | case 's': // string |
---|
861 | | str = va_arg (args_copy, const char *); |
---|
862 | | break; |
---|
863 | | case 'd': // int |
---|
864 | | number = va_arg (args_copy, int); |
---|
865 | | break; |
---|
866 | | case 'f': // float |
---|
867 | | fnumber = va_arg (args_copy, double); |
---|
868 | | break; |
---|
869 | | default: |
---|
870 | | break; |
---|
871 | | } |
---|
872 | | } |
---|
873 | | va_end (args_copy); |
---|
874 | | va_end (args); |
---|
875 | | } |
---|
876 | | |
---|
877 | | int |
---|
878 | | main () |
---|
879 | | { |
---|
880 | | |
---|
881 | | // Check bool. |
---|
882 | | _Bool success = false; |
---|
883 | | |
---|
884 | | // Check restrict. |
---|
885 | | if (test_restrict ("String literal") == 0) |
---|
886 | | success = true; |
---|
887 | | char *restrict newvar = "Another string"; |
---|
888 | | |
---|
889 | | // Check varargs. |
---|
890 | | test_varargs ("s, d' f .", "string", 65, 34.234); |
---|
891 | | test_varargs_macros (); |
---|
892 | | |
---|
893 | | // Check flexible array members. |
---|
894 | | struct incomplete_array *ia = |
---|
895 | | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); |
---|
896 | | ia->datasize = 10; |
---|
897 | | for (int i = 0; i < ia->datasize; ++i) |
---|
898 | | ia->data[i] = i * 1.234; |
---|
899 | | |
---|
900 | | // Check named initializers. |
---|
901 | | struct named_init ni = { |
---|
902 | | .number = 34, |
---|
903 | | .name = L"Test wide string", |
---|
904 | | .average = 543.34343, |
---|
905 | | }; |
---|
906 | | |
---|
907 | | ni.number = 58; |
---|
908 | | |
---|
909 | | int dynamic_array[ni.number]; |
---|
910 | | dynamic_array[ni.number - 1] = 543; |
---|
911 | | |
---|
912 | | // work around unused variable warnings |
---|
913 | | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' |
---|
914 | | || dynamic_array[ni.number - 1] != 543); |
---|
915 | | |
---|
916 | | ; |
---|
917 | | return 0; |
---|
918 | | } |
---|
919 | configure:5397: /usr/bin/clang++ -c -pipe -Os -arch x86_64 -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/.. conftest.cpp >&5 |
---|
920 | conftest.cpp:76:29: error: expected ')' |
---|
921 | test_restrict (ccp restrict text) |
---|
922 | ^ |
---|
923 | conftest.cpp:76:15: note: to match this '(' |
---|
924 | test_restrict (ccp restrict text) |
---|
925 | ^ |
---|
926 | conftest.cpp:81:30: error: use of undeclared identifier 'text' |
---|
927 | for (unsigned int i = 0; *(text+i) != '\0'; ++i) |
---|
928 | ^ |
---|
929 | conftest.cpp:130:17: error: expected ';' at end of declaration |
---|
930 | char *restrict newvar = "Another string"; |
---|
931 | ^ |
---|
932 | ; |
---|
933 | conftest.cpp:137:28: error: cannot initialize a variable of type 'struct incomplete_array *' with an rvalue of type 'void *' |
---|
934 | struct incomplete_array *ia = |
---|
935 | ^ |
---|
936 | conftest.cpp:156:59: error: use of undeclared identifier 'newvar' |
---|
937 | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' |
---|
938 | ^ |
---|
939 | 5 errors generated. |
---|
940 | configure:5397: $? = 1 |
---|
941 | configure: failed program was: |
---|
942 | | /* confdefs.h */ |
---|
943 | | #define PACKAGE_NAME "graph-tool" |
---|
944 | | #define PACKAGE_TARNAME "graph-tool" |
---|
945 | | #define PACKAGE_VERSION "2.2.24" |
---|
946 | | #define PACKAGE_STRING "graph-tool 2.2.24" |
---|
947 | | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de" |
---|
948 | | #define PACKAGE_URL "" |
---|
949 | | #define PACKAGE "graph-tool" |
---|
950 | | #define VERSION "2.2.24" |
---|
951 | | #define STDC_HEADERS 1 |
---|
952 | | #define HAVE_SYS_TYPES_H 1 |
---|
953 | | #define HAVE_SYS_STAT_H 1 |
---|
954 | | #define HAVE_STDLIB_H 1 |
---|
955 | | #define HAVE_STRING_H 1 |
---|
956 | | #define HAVE_MEMORY_H 1 |
---|
957 | | #define HAVE_STRINGS_H 1 |
---|
958 | | #define HAVE_INTTYPES_H 1 |
---|
959 | | #define HAVE_STDINT_H 1 |
---|
960 | | #define HAVE_UNISTD_H 1 |
---|
961 | | #define __EXTENSIONS__ 1 |
---|
962 | | #define _ALL_SOURCE 1 |
---|
963 | | #define _GNU_SOURCE 1 |
---|
964 | | #define _POSIX_PTHREAD_SEMANTICS 1 |
---|
965 | | #define _TANDEM_SOURCE 1 |
---|
966 | | /* end confdefs.h. */ |
---|
967 | | #include <stdarg.h> |
---|
968 | | #include <stdbool.h> |
---|
969 | | #include <stdlib.h> |
---|
970 | | #include <wchar.h> |
---|
971 | | #include <stdio.h> |
---|
972 | | |
---|
973 | | // Check varargs macros. These examples are taken from C99 6.10.3.5. |
---|
974 | | #define debug(...) fprintf (stderr, __VA_ARGS__) |
---|
975 | | #define showlist(...) puts (#__VA_ARGS__) |
---|
976 | | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) |
---|
977 | | static void |
---|
978 | | test_varargs_macros (void) |
---|
979 | | { |
---|
980 | | int x = 1234; |
---|
981 | | int y = 5678; |
---|
982 | | debug ("Flag"); |
---|
983 | | debug ("X = %d\n", x); |
---|
984 | | showlist (The first, second, and third items.); |
---|
985 | | report (x>y, "x is %d but y is %d", x, y); |
---|
986 | | } |
---|
987 | | |
---|
988 | | // Check long long types. |
---|
989 | | #define BIG64 18446744073709551615ull |
---|
990 | | #define BIG32 4294967295ul |
---|
991 | | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) |
---|
992 | | #if !BIG_OK |
---|
993 | | your preprocessor is broken; |
---|
994 | | #endif |
---|
995 | | #if BIG_OK |
---|
996 | | #else |
---|
997 | | your preprocessor is broken; |
---|
998 | | #endif |
---|
999 | | static long long int bignum = -9223372036854775807LL; |
---|
1000 | | static unsigned long long int ubignum = BIG64; |
---|
1001 | | |
---|
1002 | | struct incomplete_array |
---|
1003 | | { |
---|
1004 | | int datasize; |
---|
1005 | | double data[]; |
---|
1006 | | }; |
---|
1007 | | |
---|
1008 | | struct named_init { |
---|
1009 | | int number; |
---|
1010 | | const wchar_t *name; |
---|
1011 | | double average; |
---|
1012 | | }; |
---|
1013 | | |
---|
1014 | | typedef const char *ccp; |
---|
1015 | | |
---|
1016 | | static inline int |
---|
1017 | | test_restrict (ccp restrict text) |
---|
1018 | | { |
---|
1019 | | // See if C++-style comments work. |
---|
1020 | | // Iterate through items via the restricted pointer. |
---|
1021 | | // Also check for declarations in for loops. |
---|
1022 | | for (unsigned int i = 0; *(text+i) != '\0'; ++i) |
---|
1023 | | continue; |
---|
1024 | | return 0; |
---|
1025 | | } |
---|
1026 | | |
---|
1027 | | // Check varargs and va_copy. |
---|
1028 | | static void |
---|
1029 | | test_varargs (const char *format, ...) |
---|
1030 | | { |
---|
1031 | | va_list args; |
---|
1032 | | va_start (args, format); |
---|
1033 | | va_list args_copy; |
---|
1034 | | va_copy (args_copy, args); |
---|
1035 | | |
---|
1036 | | const char *str; |
---|
1037 | | int number; |
---|
1038 | | float fnumber; |
---|
1039 | | |
---|
1040 | | while (*format) |
---|
1041 | | { |
---|
1042 | | switch (*format++) |
---|
1043 | | { |
---|
1044 | | case 's': // string |
---|
1045 | | str = va_arg (args_copy, const char *); |
---|
1046 | | break; |
---|
1047 | | case 'd': // int |
---|
1048 | | number = va_arg (args_copy, int); |
---|
1049 | | break; |
---|
1050 | | case 'f': // float |
---|
1051 | | fnumber = va_arg (args_copy, double); |
---|
1052 | | break; |
---|
1053 | | default: |
---|
1054 | | break; |
---|
1055 | | } |
---|
1056 | | } |
---|
1057 | | va_end (args_copy); |
---|
1058 | | va_end (args); |
---|
1059 | | } |
---|
1060 | | |
---|
1061 | | int |
---|
1062 | | main () |
---|
1063 | | { |
---|
1064 | | |
---|
1065 | | // Check bool. |
---|
1066 | | _Bool success = false; |
---|
1067 | | |
---|
1068 | | // Check restrict. |
---|
1069 | | if (test_restrict ("String literal") == 0) |
---|
1070 | | success = true; |
---|
1071 | | char *restrict newvar = "Another string"; |
---|
1072 | | |
---|
1073 | | // Check varargs. |
---|
1074 | | test_varargs ("s, d' f .", "string", 65, 34.234); |
---|
1075 | | test_varargs_macros (); |
---|
1076 | | |
---|
1077 | | // Check flexible array members. |
---|
1078 | | struct incomplete_array *ia = |
---|
1079 | | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); |
---|
1080 | | ia->datasize = 10; |
---|
1081 | | for (int i = 0; i < ia->datasize; ++i) |
---|
1082 | | ia->data[i] = i * 1.234; |
---|
1083 | | |
---|
1084 | | // Check named initializers. |
---|
1085 | | struct named_init ni = { |
---|
1086 | | .number = 34, |
---|
1087 | | .name = L"Test wide string", |
---|
1088 | | .average = 543.34343, |
---|
1089 | | }; |
---|
1090 | | |
---|
1091 | | ni.number = 58; |
---|
1092 | | |
---|
1093 | | int dynamic_array[ni.number]; |
---|
1094 | | dynamic_array[ni.number - 1] = 543; |
---|
1095 | | |
---|
1096 | | // work around unused variable warnings |
---|
1097 | | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' |
---|
1098 | | || dynamic_array[ni.number - 1] != 543); |
---|
1099 | | |
---|
1100 | | ; |
---|
1101 | | return 0; |
---|
1102 | | } |
---|
1103 | configure:5397: /usr/bin/clang++ -c -pipe -Os -arch x86_64 -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/.. conftest.cpp >&5 |
---|
1104 | conftest.cpp:76:29: error: expected ')' |
---|
1105 | test_restrict (ccp restrict text) |
---|
1106 | ^ |
---|
1107 | conftest.cpp:76:15: note: to match this '(' |
---|
1108 | test_restrict (ccp restrict text) |
---|
1109 | ^ |
---|
1110 | conftest.cpp:81:30: error: use of undeclared identifier 'text' |
---|
1111 | for (unsigned int i = 0; *(text+i) != '\0'; ++i) |
---|
1112 | ^ |
---|
1113 | conftest.cpp:130:17: error: expected ';' at end of declaration |
---|
1114 | char *restrict newvar = "Another string"; |
---|
1115 | ^ |
---|
1116 | ; |
---|
1117 | conftest.cpp:137:28: error: cannot initialize a variable of type 'struct incomplete_array *' with an rvalue of type 'void *' |
---|
1118 | struct incomplete_array *ia = |
---|
1119 | ^ |
---|
1120 | conftest.cpp:156:59: error: use of undeclared identifier 'newvar' |
---|
1121 | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' |
---|
1122 | ^ |
---|
1123 | 5 errors generated. |
---|
1124 | configure:5397: $? = 1 |
---|
1125 | configure: failed program was: |
---|
1126 | | /* confdefs.h */ |
---|
1127 | | #define PACKAGE_NAME "graph-tool" |
---|
1128 | | #define PACKAGE_TARNAME "graph-tool" |
---|
1129 | | #define PACKAGE_VERSION "2.2.24" |
---|
1130 | | #define PACKAGE_STRING "graph-tool 2.2.24" |
---|
1131 | | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de" |
---|
1132 | | #define PACKAGE_URL "" |
---|
1133 | | #define PACKAGE "graph-tool" |
---|
1134 | | #define VERSION "2.2.24" |
---|
1135 | | #define STDC_HEADERS 1 |
---|
1136 | | #define HAVE_SYS_TYPES_H 1 |
---|
1137 | | #define HAVE_SYS_STAT_H 1 |
---|
1138 | | #define HAVE_STDLIB_H 1 |
---|
1139 | | #define HAVE_STRING_H 1 |
---|
1140 | | #define HAVE_MEMORY_H 1 |
---|
1141 | | #define HAVE_STRINGS_H 1 |
---|
1142 | | #define HAVE_INTTYPES_H 1 |
---|
1143 | | #define HAVE_STDINT_H 1 |
---|
1144 | | #define HAVE_UNISTD_H 1 |
---|
1145 | | #define __EXTENSIONS__ 1 |
---|
1146 | | #define _ALL_SOURCE 1 |
---|
1147 | | #define _GNU_SOURCE 1 |
---|
1148 | | #define _POSIX_PTHREAD_SEMANTICS 1 |
---|
1149 | | #define _TANDEM_SOURCE 1 |
---|
1150 | | /* end confdefs.h. */ |
---|
1151 | | #include <stdarg.h> |
---|
1152 | | #include <stdbool.h> |
---|
1153 | | #include <stdlib.h> |
---|
1154 | | #include <wchar.h> |
---|
1155 | | #include <stdio.h> |
---|
1156 | | |
---|
1157 | | // Check varargs macros. These examples are taken from C99 6.10.3.5. |
---|
1158 | | #define debug(...) fprintf (stderr, __VA_ARGS__) |
---|
1159 | | #define showlist(...) puts (#__VA_ARGS__) |
---|
1160 | | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) |
---|
1161 | | static void |
---|
1162 | | test_varargs_macros (void) |
---|
1163 | | { |
---|
1164 | | int x = 1234; |
---|
1165 | | int y = 5678; |
---|
1166 | | debug ("Flag"); |
---|
1167 | | debug ("X = %d\n", x); |
---|
1168 | | showlist (The first, second, and third items.); |
---|
1169 | | report (x>y, "x is %d but y is %d", x, y); |
---|
1170 | | } |
---|
1171 | | |
---|
1172 | | // Check long long types. |
---|
1173 | | #define BIG64 18446744073709551615ull |
---|
1174 | | #define BIG32 4294967295ul |
---|
1175 | | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) |
---|
1176 | | #if !BIG_OK |
---|
1177 | | your preprocessor is broken; |
---|
1178 | | #endif |
---|
1179 | | #if BIG_OK |
---|
1180 | | #else |
---|
1181 | | your preprocessor is broken; |
---|
1182 | | #endif |
---|
1183 | | static long long int bignum = -9223372036854775807LL; |
---|
1184 | | static unsigned long long int ubignum = BIG64; |
---|
1185 | | |
---|
1186 | | struct incomplete_array |
---|
1187 | | { |
---|
1188 | | int datasize; |
---|
1189 | | double data[]; |
---|
1190 | | }; |
---|
1191 | | |
---|
1192 | | struct named_init { |
---|
1193 | | int number; |
---|
1194 | | const wchar_t *name; |
---|
1195 | | double average; |
---|
1196 | | }; |
---|
1197 | | |
---|
1198 | | typedef const char *ccp; |
---|
1199 | | |
---|
1200 | | static inline int |
---|
1201 | | test_restrict (ccp restrict text) |
---|
1202 | | { |
---|
1203 | | // See if C++-style comments work. |
---|
1204 | | // Iterate through items via the restricted pointer. |
---|
1205 | | // Also check for declarations in for loops. |
---|
1206 | | for (unsigned int i = 0; *(text+i) != '\0'; ++i) |
---|
1207 | | continue; |
---|
1208 | | return 0; |
---|
1209 | | } |
---|
1210 | | |
---|
1211 | | // Check varargs and va_copy. |
---|
1212 | | static void |
---|
1213 | | test_varargs (const char *format, ...) |
---|
1214 | | { |
---|
1215 | | va_list args; |
---|
1216 | | va_start (args, format); |
---|
1217 | | va_list args_copy; |
---|
1218 | | va_copy (args_copy, args); |
---|
1219 | | |
---|
1220 | | const char *str; |
---|
1221 | | int number; |
---|
1222 | | float fnumber; |
---|
1223 | | |
---|
1224 | | while (*format) |
---|
1225 | | { |
---|
1226 | | switch (*format++) |
---|
1227 | | { |
---|
1228 | | case 's': // string |
---|
1229 | | str = va_arg (args_copy, const char *); |
---|
1230 | | break; |
---|
1231 | | case 'd': // int |
---|
1232 | | number = va_arg (args_copy, int); |
---|
1233 | | break; |
---|
1234 | | case 'f': // float |
---|
1235 | | fnumber = va_arg (args_copy, double); |
---|
1236 | | break; |
---|
1237 | | default: |
---|
1238 | | break; |
---|
1239 | | } |
---|
1240 | | } |
---|
1241 | | va_end (args_copy); |
---|
1242 | | va_end (args); |
---|
1243 | | } |
---|
1244 | | |
---|
1245 | | int |
---|
1246 | | main () |
---|
1247 | | { |
---|
1248 | | |
---|
1249 | | // Check bool. |
---|
1250 | | _Bool success = false; |
---|
1251 | | |
---|
1252 | | // Check restrict. |
---|
1253 | | if (test_restrict ("String literal") == 0) |
---|
1254 | | success = true; |
---|
1255 | | char *restrict newvar = "Another string"; |
---|
1256 | | |
---|
1257 | | // Check varargs. |
---|
1258 | | test_varargs ("s, d' f .", "string", 65, 34.234); |
---|
1259 | | test_varargs_macros (); |
---|
1260 | | |
---|
1261 | | // Check flexible array members. |
---|
1262 | | struct incomplete_array *ia = |
---|
1263 | | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); |
---|
1264 | | ia->datasize = 10; |
---|
1265 | | for (int i = 0; i < ia->datasize; ++i) |
---|
1266 | | ia->data[i] = i * 1.234; |
---|
1267 | | |
---|
1268 | | // Check named initializers. |
---|
1269 | | struct named_init ni = { |
---|
1270 | | .number = 34, |
---|
1271 | | .name = L"Test wide string", |
---|
1272 | | .average = 543.34343, |
---|
1273 | | }; |
---|
1274 | | |
---|
1275 | | ni.number = 58; |
---|
1276 | | |
---|
1277 | | int dynamic_array[ni.number]; |
---|
1278 | | dynamic_array[ni.number - 1] = 543; |
---|
1279 | | |
---|
1280 | | // work around unused variable warnings |
---|
1281 | | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' |
---|
1282 | | || dynamic_array[ni.number - 1] != 543); |
---|
1283 | | |
---|
1284 | | ; |
---|
1285 | | return 0; |
---|
1286 | | } |
---|
1287 | configure:5397: /usr/bin/clang++ -c -pipe -Os -arch x86_64 -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/.. conftest.cpp >&5 |
---|
1288 | conftest.cpp:76:29: error: expected ')' |
---|
1289 | test_restrict (ccp restrict text) |
---|
1290 | ^ |
---|
1291 | conftest.cpp:76:15: note: to match this '(' |
---|
1292 | test_restrict (ccp restrict text) |
---|
1293 | ^ |
---|
1294 | conftest.cpp:81:30: error: use of undeclared identifier 'text' |
---|
1295 | for (unsigned int i = 0; *(text+i) != '\0'; ++i) |
---|
1296 | ^ |
---|
1297 | conftest.cpp:130:17: error: expected ';' at end of declaration |
---|
1298 | char *restrict newvar = "Another string"; |
---|
1299 | ^ |
---|
1300 | ; |
---|
1301 | conftest.cpp:137:28: error: cannot initialize a variable of type 'struct incomplete_array *' with an rvalue of type 'void *' |
---|
1302 | struct incomplete_array *ia = |
---|
1303 | ^ |
---|
1304 | conftest.cpp:156:59: error: use of undeclared identifier 'newvar' |
---|
1305 | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' |
---|
1306 | ^ |
---|
1307 | 5 errors generated. |
---|
1308 | configure:5397: $? = 1 |
---|
1309 | configure: failed program was: |
---|
1310 | | /* confdefs.h */ |
---|
1311 | | #define PACKAGE_NAME "graph-tool" |
---|
1312 | | #define PACKAGE_TARNAME "graph-tool" |
---|
1313 | | #define PACKAGE_VERSION "2.2.24" |
---|
1314 | | #define PACKAGE_STRING "graph-tool 2.2.24" |
---|
1315 | | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de" |
---|
1316 | | #define PACKAGE_URL "" |
---|
1317 | | #define PACKAGE "graph-tool" |
---|
1318 | | #define VERSION "2.2.24" |
---|
1319 | | #define STDC_HEADERS 1 |
---|
1320 | | #define HAVE_SYS_TYPES_H 1 |
---|
1321 | | #define HAVE_SYS_STAT_H 1 |
---|
1322 | | #define HAVE_STDLIB_H 1 |
---|
1323 | | #define HAVE_STRING_H 1 |
---|
1324 | | #define HAVE_MEMORY_H 1 |
---|
1325 | | #define HAVE_STRINGS_H 1 |
---|
1326 | | #define HAVE_INTTYPES_H 1 |
---|
1327 | | #define HAVE_STDINT_H 1 |
---|
1328 | | #define HAVE_UNISTD_H 1 |
---|
1329 | | #define __EXTENSIONS__ 1 |
---|
1330 | | #define _ALL_SOURCE 1 |
---|
1331 | | #define _GNU_SOURCE 1 |
---|
1332 | | #define _POSIX_PTHREAD_SEMANTICS 1 |
---|
1333 | | #define _TANDEM_SOURCE 1 |
---|
1334 | | /* end confdefs.h. */ |
---|
1335 | | #include <stdarg.h> |
---|
1336 | | #include <stdbool.h> |
---|
1337 | | #include <stdlib.h> |
---|
1338 | | #include <wchar.h> |
---|
1339 | | #include <stdio.h> |
---|
1340 | | |
---|
1341 | | // Check varargs macros. These examples are taken from C99 6.10.3.5. |
---|
1342 | | #define debug(...) fprintf (stderr, __VA_ARGS__) |
---|
1343 | | #define showlist(...) puts (#__VA_ARGS__) |
---|
1344 | | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) |
---|
1345 | | static void |
---|
1346 | | test_varargs_macros (void) |
---|
1347 | | { |
---|
1348 | | int x = 1234; |
---|
1349 | | int y = 5678; |
---|
1350 | | debug ("Flag"); |
---|
1351 | | debug ("X = %d\n", x); |
---|
1352 | | showlist (The first, second, and third items.); |
---|
1353 | | report (x>y, "x is %d but y is %d", x, y); |
---|
1354 | | } |
---|
1355 | | |
---|
1356 | | // Check long long types. |
---|
1357 | | #define BIG64 18446744073709551615ull |
---|
1358 | | #define BIG32 4294967295ul |
---|
1359 | | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) |
---|
1360 | | #if !BIG_OK |
---|
1361 | | your preprocessor is broken; |
---|
1362 | | #endif |
---|
1363 | | #if BIG_OK |
---|
1364 | | #else |
---|
1365 | | your preprocessor is broken; |
---|
1366 | | #endif |
---|
1367 | | static long long int bignum = -9223372036854775807LL; |
---|
1368 | | static unsigned long long int ubignum = BIG64; |
---|
1369 | | |
---|
1370 | | struct incomplete_array |
---|
1371 | | { |
---|
1372 | | int datasize; |
---|
1373 | | double data[]; |
---|
1374 | | }; |
---|
1375 | | |
---|
1376 | | struct named_init { |
---|
1377 | | int number; |
---|
1378 | | const wchar_t *name; |
---|
1379 | | double average; |
---|
1380 | | }; |
---|
1381 | | |
---|
1382 | | typedef const char *ccp; |
---|
1383 | | |
---|
1384 | | static inline int |
---|
1385 | | test_restrict (ccp restrict text) |
---|
1386 | | { |
---|
1387 | | // See if C++-style comments work. |
---|
1388 | | // Iterate through items via the restricted pointer. |
---|
1389 | | // Also check for declarations in for loops. |
---|
1390 | | for (unsigned int i = 0; *(text+i) != '\0'; ++i) |
---|
1391 | | continue; |
---|
1392 | | return 0; |
---|
1393 | | } |
---|
1394 | | |
---|
1395 | | // Check varargs and va_copy. |
---|
1396 | | static void |
---|
1397 | | test_varargs (const char *format, ...) |
---|
1398 | | { |
---|
1399 | | va_list args; |
---|
1400 | | va_start (args, format); |
---|
1401 | | va_list args_copy; |
---|
1402 | | va_copy (args_copy, args); |
---|
1403 | | |
---|
1404 | | const char *str; |
---|
1405 | | int number; |
---|
1406 | | float fnumber; |
---|
1407 | | |
---|
1408 | | while (*format) |
---|
1409 | | { |
---|
1410 | | switch (*format++) |
---|
1411 | | { |
---|
1412 | | case 's': // string |
---|
1413 | | str = va_arg (args_copy, const char *); |
---|
1414 | | break; |
---|
1415 | | case 'd': // int |
---|
1416 | | number = va_arg (args_copy, int); |
---|
1417 | | break; |
---|
1418 | | case 'f': // float |
---|
1419 | | fnumber = va_arg (args_copy, double); |
---|
1420 | | break; |
---|
1421 | | default: |
---|
1422 | | break; |
---|
1423 | | } |
---|
1424 | | } |
---|
1425 | | va_end (args_copy); |
---|
1426 | | va_end (args); |
---|
1427 | | } |
---|
1428 | | |
---|
1429 | | int |
---|
1430 | | main () |
---|
1431 | | { |
---|
1432 | | |
---|
1433 | | // Check bool. |
---|
1434 | | _Bool success = false; |
---|
1435 | | |
---|
1436 | | // Check restrict. |
---|
1437 | | if (test_restrict ("String literal") == 0) |
---|
1438 | | success = true; |
---|
1439 | | char *restrict newvar = "Another string"; |
---|
1440 | | |
---|
1441 | | // Check varargs. |
---|
1442 | | test_varargs ("s, d' f .", "string", 65, 34.234); |
---|
1443 | | test_varargs_macros (); |
---|
1444 | | |
---|
1445 | | // Check flexible array members. |
---|
1446 | | struct incomplete_array *ia = |
---|
1447 | | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); |
---|
1448 | | ia->datasize = 10; |
---|
1449 | | for (int i = 0; i < ia->datasize; ++i) |
---|
1450 | | ia->data[i] = i * 1.234; |
---|
1451 | | |
---|
1452 | | // Check named initializers. |
---|
1453 | | struct named_init ni = { |
---|
1454 | | .number = 34, |
---|
1455 | | .name = L"Test wide string", |
---|
1456 | | .average = 543.34343, |
---|
1457 | | }; |
---|
1458 | | |
---|
1459 | | ni.number = 58; |
---|
1460 | | |
---|
1461 | | int dynamic_array[ni.number]; |
---|
1462 | | dynamic_array[ni.number - 1] = 543; |
---|
1463 | | |
---|
1464 | | // work around unused variable warnings |
---|
1465 | | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' |
---|
1466 | | || dynamic_array[ni.number - 1] != 543); |
---|
1467 | | |
---|
1468 | | ; |
---|
1469 | | return 0; |
---|
1470 | | } |
---|
1471 | configure:5397: /usr/bin/clang++ -c -pipe -Os -arch x86_64 -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/.. conftest.cpp >&5 |
---|
1472 | conftest.cpp:76:29: error: expected ')' |
---|
1473 | test_restrict (ccp restrict text) |
---|
1474 | ^ |
---|
1475 | conftest.cpp:76:15: note: to match this '(' |
---|
1476 | test_restrict (ccp restrict text) |
---|
1477 | ^ |
---|
1478 | conftest.cpp:81:30: error: use of undeclared identifier 'text' |
---|
1479 | for (unsigned int i = 0; *(text+i) != '\0'; ++i) |
---|
1480 | ^ |
---|
1481 | conftest.cpp:130:17: error: expected ';' at end of declaration |
---|
1482 | char *restrict newvar = "Another string"; |
---|
1483 | ^ |
---|
1484 | ; |
---|
1485 | conftest.cpp:137:28: error: cannot initialize a variable of type 'struct incomplete_array *' with an rvalue of type 'void *' |
---|
1486 | struct incomplete_array *ia = |
---|
1487 | ^ |
---|
1488 | conftest.cpp:156:59: error: use of undeclared identifier 'newvar' |
---|
1489 | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' |
---|
1490 | ^ |
---|
1491 | 5 errors generated. |
---|
1492 | configure:5397: $? = 1 |
---|
1493 | configure: failed program was: |
---|
1494 | | /* confdefs.h */ |
---|
1495 | | #define PACKAGE_NAME "graph-tool" |
---|
1496 | | #define PACKAGE_TARNAME "graph-tool" |
---|
1497 | | #define PACKAGE_VERSION "2.2.24" |
---|
1498 | | #define PACKAGE_STRING "graph-tool 2.2.24" |
---|
1499 | | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de" |
---|
1500 | | #define PACKAGE_URL "" |
---|
1501 | | #define PACKAGE "graph-tool" |
---|
1502 | | #define VERSION "2.2.24" |
---|
1503 | | #define STDC_HEADERS 1 |
---|
1504 | | #define HAVE_SYS_TYPES_H 1 |
---|
1505 | | #define HAVE_SYS_STAT_H 1 |
---|
1506 | | #define HAVE_STDLIB_H 1 |
---|
1507 | | #define HAVE_STRING_H 1 |
---|
1508 | | #define HAVE_MEMORY_H 1 |
---|
1509 | | #define HAVE_STRINGS_H 1 |
---|
1510 | | #define HAVE_INTTYPES_H 1 |
---|
1511 | | #define HAVE_STDINT_H 1 |
---|
1512 | | #define HAVE_UNISTD_H 1 |
---|
1513 | | #define __EXTENSIONS__ 1 |
---|
1514 | | #define _ALL_SOURCE 1 |
---|
1515 | | #define _GNU_SOURCE 1 |
---|
1516 | | #define _POSIX_PTHREAD_SEMANTICS 1 |
---|
1517 | | #define _TANDEM_SOURCE 1 |
---|
1518 | | /* end confdefs.h. */ |
---|
1519 | | #include <stdarg.h> |
---|
1520 | | #include <stdbool.h> |
---|
1521 | | #include <stdlib.h> |
---|
1522 | | #include <wchar.h> |
---|
1523 | | #include <stdio.h> |
---|
1524 | | |
---|
1525 | | // Check varargs macros. These examples are taken from C99 6.10.3.5. |
---|
1526 | | #define debug(...) fprintf (stderr, __VA_ARGS__) |
---|
1527 | | #define showlist(...) puts (#__VA_ARGS__) |
---|
1528 | | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) |
---|
1529 | | static void |
---|
1530 | | test_varargs_macros (void) |
---|
1531 | | { |
---|
1532 | | int x = 1234; |
---|
1533 | | int y = 5678; |
---|
1534 | | debug ("Flag"); |
---|
1535 | | debug ("X = %d\n", x); |
---|
1536 | | showlist (The first, second, and third items.); |
---|
1537 | | report (x>y, "x is %d but y is %d", x, y); |
---|
1538 | | } |
---|
1539 | | |
---|
1540 | | // Check long long types. |
---|
1541 | | #define BIG64 18446744073709551615ull |
---|
1542 | | #define BIG32 4294967295ul |
---|
1543 | | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) |
---|
1544 | | #if !BIG_OK |
---|
1545 | | your preprocessor is broken; |
---|
1546 | | #endif |
---|
1547 | | #if BIG_OK |
---|
1548 | | #else |
---|
1549 | | your preprocessor is broken; |
---|
1550 | | #endif |
---|
1551 | | static long long int bignum = -9223372036854775807LL; |
---|
1552 | | static unsigned long long int ubignum = BIG64; |
---|
1553 | | |
---|
1554 | | struct incomplete_array |
---|
1555 | | { |
---|
1556 | | int datasize; |
---|
1557 | | double data[]; |
---|
1558 | | }; |
---|
1559 | | |
---|
1560 | | struct named_init { |
---|
1561 | | int number; |
---|
1562 | | const wchar_t *name; |
---|
1563 | | double average; |
---|
1564 | | }; |
---|
1565 | | |
---|
1566 | | typedef const char *ccp; |
---|
1567 | | |
---|
1568 | | static inline int |
---|
1569 | | test_restrict (ccp restrict text) |
---|
1570 | | { |
---|
1571 | | // See if C++-style comments work. |
---|
1572 | | // Iterate through items via the restricted pointer. |
---|
1573 | | // Also check for declarations in for loops. |
---|
1574 | | for (unsigned int i = 0; *(text+i) != '\0'; ++i) |
---|
1575 | | continue; |
---|
1576 | | return 0; |
---|
1577 | | } |
---|
1578 | | |
---|
1579 | | // Check varargs and va_copy. |
---|
1580 | | static void |
---|
1581 | | test_varargs (const char *format, ...) |
---|
1582 | | { |
---|
1583 | | va_list args; |
---|
1584 | | va_start (args, format); |
---|
1585 | | va_list args_copy; |
---|
1586 | | va_copy (args_copy, args); |
---|
1587 | | |
---|
1588 | | const char *str; |
---|
1589 | | int number; |
---|
1590 | | float fnumber; |
---|
1591 | | |
---|
1592 | | while (*format) |
---|
1593 | | { |
---|
1594 | | switch (*format++) |
---|
1595 | | { |
---|
1596 | | case 's': // string |
---|
1597 | | str = va_arg (args_copy, const char *); |
---|
1598 | | break; |
---|
1599 | | case 'd': // int |
---|
1600 | | number = va_arg (args_copy, int); |
---|
1601 | | break; |
---|
1602 | | case 'f': // float |
---|
1603 | | fnumber = va_arg (args_copy, double); |
---|
1604 | | break; |
---|
1605 | | default: |
---|
1606 | | break; |
---|
1607 | | } |
---|
1608 | | } |
---|
1609 | | va_end (args_copy); |
---|
1610 | | va_end (args); |
---|
1611 | | } |
---|
1612 | | |
---|
1613 | | int |
---|
1614 | | main () |
---|
1615 | | { |
---|
1616 | | |
---|
1617 | | // Check bool. |
---|
1618 | | _Bool success = false; |
---|
1619 | | |
---|
1620 | | // Check restrict. |
---|
1621 | | if (test_restrict ("String literal") == 0) |
---|
1622 | | success = true; |
---|
1623 | | char *restrict newvar = "Another string"; |
---|
1624 | | |
---|
1625 | | // Check varargs. |
---|
1626 | | test_varargs ("s, d' f .", "string", 65, 34.234); |
---|
1627 | | test_varargs_macros (); |
---|
1628 | | |
---|
1629 | | // Check flexible array members. |
---|
1630 | | struct incomplete_array *ia = |
---|
1631 | | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); |
---|
1632 | | ia->datasize = 10; |
---|
1633 | | for (int i = 0; i < ia->datasize; ++i) |
---|
1634 | | ia->data[i] = i * 1.234; |
---|
1635 | | |
---|
1636 | | // Check named initializers. |
---|
1637 | | struct named_init ni = { |
---|
1638 | | .number = 34, |
---|
1639 | | .name = L"Test wide string", |
---|
1640 | | .average = 543.34343, |
---|
1641 | | }; |
---|
1642 | | |
---|
1643 | | ni.number = 58; |
---|
1644 | | |
---|
1645 | | int dynamic_array[ni.number]; |
---|
1646 | | dynamic_array[ni.number - 1] = 543; |
---|
1647 | | |
---|
1648 | | // work around unused variable warnings |
---|
1649 | | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' |
---|
1650 | | || dynamic_array[ni.number - 1] != 543); |
---|
1651 | | |
---|
1652 | | ; |
---|
1653 | | return 0; |
---|
1654 | | } |
---|
1655 | configure:5413: result: unsupported |
---|
1656 | configure:5423: checking for /usr/bin/clang option to accept ISO C89 |
---|
1657 | configure:5499: result: none needed |
---|
1658 | configure:5518: checking for /usr/bin/clang option to accept ISO Standard C |
---|
1659 | configure:5529: result: none needed |
---|
1660 | configure:5542: checking how to run the C++ preprocessor |
---|
1661 | configure:5569: /usr/bin/clang++ -E -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/.. conftest.cpp |
---|
1662 | configure:5569: $? = 0 |
---|
1663 | configure:5583: /usr/bin/clang++ -E -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/.. conftest.cpp |
---|
1664 | conftest.cpp:26:10: fatal error: 'ac_nonexistent.h' file not found |
---|
1665 | #include <ac_nonexistent.h> |
---|
1666 | ^ |
---|
1667 | 1 error generated. |
---|
1668 | configure:5583: $? = 1 |
---|
1669 | configure: failed program was: |
---|
1670 | | /* confdefs.h */ |
---|
1671 | | #define PACKAGE_NAME "graph-tool" |
---|
1672 | | #define PACKAGE_TARNAME "graph-tool" |
---|
1673 | | #define PACKAGE_VERSION "2.2.24" |
---|
1674 | | #define PACKAGE_STRING "graph-tool 2.2.24" |
---|
1675 | | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de" |
---|
1676 | | #define PACKAGE_URL "" |
---|
1677 | | #define PACKAGE "graph-tool" |
---|
1678 | | #define VERSION "2.2.24" |
---|
1679 | | #define STDC_HEADERS 1 |
---|
1680 | | #define HAVE_SYS_TYPES_H 1 |
---|
1681 | | #define HAVE_SYS_STAT_H 1 |
---|
1682 | | #define HAVE_STDLIB_H 1 |
---|
1683 | | #define HAVE_STRING_H 1 |
---|
1684 | | #define HAVE_MEMORY_H 1 |
---|
1685 | | #define HAVE_STRINGS_H 1 |
---|
1686 | | #define HAVE_INTTYPES_H 1 |
---|
1687 | | #define HAVE_STDINT_H 1 |
---|
1688 | | #define HAVE_UNISTD_H 1 |
---|
1689 | | #define __EXTENSIONS__ 1 |
---|
1690 | | #define _ALL_SOURCE 1 |
---|
1691 | | #define _GNU_SOURCE 1 |
---|
1692 | | #define _POSIX_PTHREAD_SEMANTICS 1 |
---|
1693 | | #define _TANDEM_SOURCE 1 |
---|
1694 | | /* end confdefs.h. */ |
---|
1695 | | #include <ac_nonexistent.h> |
---|
1696 | configure:5608: result: /usr/bin/clang++ -E |
---|
1697 | configure:5628: /usr/bin/clang++ -E -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/.. conftest.cpp |
---|
1698 | configure:5628: $? = 0 |
---|
1699 | configure:5642: /usr/bin/clang++ -E -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/.. conftest.cpp |
---|
1700 | conftest.cpp:26:10: fatal error: 'ac_nonexistent.h' file not found |
---|
1701 | #include <ac_nonexistent.h> |
---|
1702 | ^ |
---|
1703 | 1 error generated. |
---|
1704 | configure:5642: $? = 1 |
---|
1705 | configure: failed program was: |
---|
1706 | | /* confdefs.h */ |
---|
1707 | | #define PACKAGE_NAME "graph-tool" |
---|
1708 | | #define PACKAGE_TARNAME "graph-tool" |
---|
1709 | | #define PACKAGE_VERSION "2.2.24" |
---|
1710 | | #define PACKAGE_STRING "graph-tool 2.2.24" |
---|
1711 | | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de" |
---|
1712 | | #define PACKAGE_URL "" |
---|
1713 | | #define PACKAGE "graph-tool" |
---|
1714 | | #define VERSION "2.2.24" |
---|
1715 | | #define STDC_HEADERS 1 |
---|
1716 | | #define HAVE_SYS_TYPES_H 1 |
---|
1717 | | #define HAVE_SYS_STAT_H 1 |
---|
1718 | | #define HAVE_STDLIB_H 1 |
---|
1719 | | #define HAVE_STRING_H 1 |
---|
1720 | | #define HAVE_MEMORY_H 1 |
---|
1721 | | #define HAVE_STRINGS_H 1 |
---|
1722 | | #define HAVE_INTTYPES_H 1 |
---|
1723 | | #define HAVE_STDINT_H 1 |
---|
1724 | | #define HAVE_UNISTD_H 1 |
---|
1725 | | #define __EXTENSIONS__ 1 |
---|
1726 | | #define _ALL_SOURCE 1 |
---|
1727 | | #define _GNU_SOURCE 1 |
---|
1728 | | #define _POSIX_PTHREAD_SEMANTICS 1 |
---|
1729 | | #define _TANDEM_SOURCE 1 |
---|
1730 | | /* end confdefs.h. */ |
---|
1731 | | #include <ac_nonexistent.h> |
---|
1732 | configure:5671: checking for ANSI C header files |
---|
1733 | configure:5775: result: yes |
---|
1734 | configure:5843: checking build system type |
---|
1735 | configure:5857: result: x86_64-apple-darwin12.4.0 |
---|
1736 | configure:5877: checking host system type |
---|
1737 | configure:5890: result: x86_64-apple-darwin12.4.0 |
---|
1738 | configure:5931: checking how to print strings |
---|
1739 | configure:5958: result: printf |
---|
1740 | configure:5979: checking for a sed that does not truncate output |
---|
1741 | configure:6043: result: /usr/bin/sed |
---|
1742 | configure:6061: checking for fgrep |
---|
1743 | configure:6123: result: /usr/bin/grep -F |
---|
1744 | configure:6158: checking for ld used by /usr/bin/clang |
---|
1745 | configure:6225: result: /usr/bin/ld |
---|
1746 | configure:6232: checking if the linker (/usr/bin/ld) is GNU ld |
---|
1747 | configure:6247: result: no |
---|
1748 | configure:6259: checking for BSD- or MS-compatible name lister (nm) |
---|
1749 | configure:6308: result: /opt/local/bin/nm |
---|
1750 | configure:6438: checking the name lister (/opt/local/bin/nm) interface |
---|
1751 | configure:6445: /usr/bin/clang++ -c -pipe -Os -arch x86_64 -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/.. conftest.cpp >&5 |
---|
1752 | configure:6448: /opt/local/bin/nm "conftest.o" |
---|
1753 | configure:6451: output |
---|
1754 | 0000000000000000 S _some_variable |
---|
1755 | configure:6458: result: BSD nm |
---|
1756 | configure:6461: checking whether ln -s works |
---|
1757 | configure:6465: result: yes |
---|
1758 | configure:6473: checking the maximum length of command line arguments |
---|
1759 | configure:6603: result: 196608 |
---|
1760 | configure:6620: checking whether the shell understands some XSI constructs |
---|
1761 | configure:6630: result: yes |
---|
1762 | configure:6634: checking whether the shell understands "+=" |
---|
1763 | configure:6640: result: yes |
---|
1764 | configure:6675: checking how to convert x86_64-apple-darwin12.4.0 file names to x86_64-apple-darwin12.4.0 format |
---|
1765 | configure:6715: result: func_convert_file_noop |
---|
1766 | configure:6722: checking how to convert x86_64-apple-darwin12.4.0 file names to toolchain format |
---|
1767 | configure:6742: result: func_convert_file_noop |
---|
1768 | configure:6749: checking for /usr/bin/ld option to reload object files |
---|
1769 | configure:6756: result: -r |
---|
1770 | configure:6830: checking for objdump |
---|
1771 | configure:6860: result: no |
---|
1772 | configure:6889: checking how to recognize dependent libraries |
---|
1773 | configure:7091: result: pass_all |
---|
1774 | configure:7176: checking for dlltool |
---|
1775 | configure:7206: result: no |
---|
1776 | configure:7236: checking how to associate runtime and link libraries |
---|
1777 | configure:7263: result: printf %s\n |
---|
1778 | configure:7323: checking for ar |
---|
1779 | configure:7339: found /opt/local/bin/ar |
---|
1780 | configure:7350: result: ar |
---|
1781 | configure:7387: checking for archiver @FILE support |
---|
1782 | configure:7404: /usr/bin/clang++ -c -pipe -Os -arch x86_64 -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/.. conftest.cpp >&5 |
---|
1783 | configure:7404: $? = 0 |
---|
1784 | configure:7407: ar cru libconftest.a @conftest.lst >&5 |
---|
1785 | ar: @conftest.lst: No such file or directory |
---|
1786 | configure:7410: $? = 1 |
---|
1787 | configure:7430: result: no |
---|
1788 | configure:7488: checking for strip |
---|
1789 | configure:7504: found /opt/local/bin/strip |
---|
1790 | configure:7515: result: strip |
---|
1791 | configure:7587: checking for ranlib |
---|
1792 | configure:7603: found /opt/local/bin/ranlib |
---|
1793 | configure:7614: result: ranlib |
---|
1794 | configure:7716: checking command to parse /opt/local/bin/nm output from /usr/bin/clang object |
---|
1795 | configure:7836: /usr/bin/clang++ -c -pipe -Os -arch x86_64 -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/.. conftest.cpp >&5 |
---|
1796 | configure:7839: $? = 0 |
---|
1797 | configure:7843: /opt/local/bin/nm conftest.o \| sed -n -e 's/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm |
---|
1798 | configure:7846: $? = 0 |
---|
1799 | cannot find nm_test_var in conftest.nm |
---|
1800 | configure:7836: /usr/bin/clang++ -c -pipe -Os -arch x86_64 -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/.. conftest.cpp >&5 |
---|
1801 | configure:7839: $? = 0 |
---|
1802 | configure:7843: /opt/local/bin/nm conftest.o \| sed -n -e 's/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm |
---|
1803 | configure:7846: $? = 0 |
---|
1804 | configure:7912: /usr/bin/clang++ -o conftest -pipe -Os -arch x86_64 -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/.. -L/opt/local/lib -Wl,-headerpad_max_install_names -L/opt/local/lib -arch x86_64 conftest.cpp conftstm.o >&5 |
---|
1805 | configure:7915: $? = 0 |
---|
1806 | configure:7953: result: ok |
---|
1807 | configure:7990: checking for sysroot |
---|
1808 | configure:8020: result: no |
---|
1809 | configure:8276: checking for mt |
---|
1810 | configure:8306: result: no |
---|
1811 | configure:8326: checking if : is a manifest tool |
---|
1812 | configure:8332: : '-?' |
---|
1813 | configure:8340: result: no |
---|
1814 | configure:8396: checking for dsymutil |
---|
1815 | configure:8412: found /usr/bin/dsymutil |
---|
1816 | configure:8423: result: dsymutil |
---|
1817 | configure:8488: checking for nmedit |
---|
1818 | configure:8504: found /opt/local/bin/nmedit |
---|
1819 | configure:8515: result: nmedit |
---|
1820 | configure:8580: checking for lipo |
---|
1821 | configure:8596: found /opt/local/bin/lipo |
---|
1822 | configure:8607: result: lipo |
---|
1823 | configure:8672: checking for otool |
---|
1824 | configure:8688: found /opt/local/bin/otool |
---|
1825 | configure:8699: result: otool |
---|
1826 | configure:8764: checking for otool64 |
---|
1827 | configure:8794: result: no |
---|
1828 | configure:8839: checking for -single_module linker flag |
---|
1829 | /usr/bin/clang -pipe -Os -arch x86_64 -L/opt/local/lib -Wl,-headerpad_max_install_names -L/opt/local/lib -arch x86_64 -o libconftest.dylib -dynamiclib -Wl,-single_module conftest.c |
---|
1830 | configure:8872: result: yes |
---|
1831 | configure:8875: checking for -exported_symbols_list linker flag |
---|
1832 | configure:8895: /usr/bin/clang++ -o conftest -pipe -Os -arch x86_64 -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/.. -L/opt/local/lib -Wl,-headerpad_max_install_names -L/opt/local/lib -arch x86_64 -Wl,-exported_symbols_list,conftest.sym conftest.cpp >&5 |
---|
1833 | configure:8895: $? = 0 |
---|
1834 | configure:8905: result: yes |
---|
1835 | configure:8908: checking for -force_load linker flag |
---|
1836 | /usr/bin/clang -pipe -Os -arch x86_64 -c -o conftest.o conftest.c |
---|
1837 | ar cru libconftest.a conftest.o |
---|
1838 | ranlib libconftest.a |
---|
1839 | /usr/bin/clang -pipe -Os -arch x86_64 -L/opt/local/lib -Wl,-headerpad_max_install_names -L/opt/local/lib -arch x86_64 -o conftest conftest.c -Wl,-force_load,./libconftest.a |
---|
1840 | configure:8940: result: yes |
---|
1841 | configure:8979: checking for dlfcn.h |
---|
1842 | configure:8979: /usr/bin/clang++ -c -pipe -Os -arch x86_64 -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/.. conftest.cpp >&5 |
---|
1843 | configure:8979: $? = 0 |
---|
1844 | configure:8979: result: yes |
---|
1845 | configure:9165: checking for objdir |
---|
1846 | configure:9180: result: .libs |
---|
1847 | configure:9447: checking if /usr/bin/clang supports -fno-rtti -fno-exceptions |
---|
1848 | configure:9465: /usr/bin/clang -c -pipe -Os -arch x86_64 -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/.. -fno-rtti -fno-exceptions conftest.c >&5 |
---|
1849 | configure:9469: $? = 0 |
---|
1850 | configure:9482: result: yes |
---|
1851 | configure:9809: checking for /usr/bin/clang option to produce PIC |
---|
1852 | configure:9816: result: -fno-common -DPIC |
---|
1853 | configure:9824: checking if /usr/bin/clang PIC flag -fno-common -DPIC works |
---|
1854 | configure:9842: /usr/bin/clang -c -pipe -Os -arch x86_64 -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/.. -fno-common -DPIC -DPIC conftest.c >&5 |
---|
1855 | configure:9846: $? = 0 |
---|
1856 | configure:9859: result: yes |
---|
1857 | configure:9888: checking if /usr/bin/clang static flag -static works |
---|
1858 | configure:9916: result: no |
---|
1859 | configure:9931: checking if /usr/bin/clang supports -c -o file.o |
---|
1860 | configure:9952: /usr/bin/clang -c -pipe -Os -arch x86_64 -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/.. -o out/conftest2.o conftest.c >&5 |
---|
1861 | configure:9956: $? = 0 |
---|
1862 | configure:9978: result: yes |
---|
1863 | configure:9986: checking if /usr/bin/clang supports -c -o file.o |
---|
1864 | configure:10033: result: yes |
---|
1865 | configure:10066: checking whether the /usr/bin/clang linker (/usr/bin/ld) supports shared libraries |
---|
1866 | configure:11219: result: yes |
---|
1867 | configure:11459: checking dynamic linker characteristics |
---|
1868 | configure:12205: result: darwin12.4.0 dyld |
---|
1869 | configure:12312: checking how to hardcode library paths into programs |
---|
1870 | configure:12337: result: immediate |
---|
1871 | configure:12877: checking whether stripping libraries is possible |
---|
1872 | configure:12891: result: yes |
---|
1873 | configure:12917: checking if libtool supports shared libraries |
---|
1874 | configure:12919: result: yes |
---|
1875 | configure:12922: checking whether to build shared libraries |
---|
1876 | configure:12943: result: yes |
---|
1877 | configure:12946: checking whether to build static libraries |
---|
1878 | configure:12950: result: no |
---|
1879 | configure:12973: checking how to run the C++ preprocessor |
---|
1880 | configure:13039: result: /usr/bin/clang++ -E |
---|
1881 | configure:13059: /usr/bin/clang++ -E -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/.. conftest.cpp |
---|
1882 | configure:13059: $? = 0 |
---|
1883 | configure:13073: /usr/bin/clang++ -E -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/.. conftest.cpp |
---|
1884 | conftest.cpp:29:10: fatal error: 'ac_nonexistent.h' file not found |
---|
1885 | #include <ac_nonexistent.h> |
---|
1886 | ^ |
---|
1887 | 1 error generated. |
---|
1888 | configure:13073: $? = 1 |
---|
1889 | configure: failed program was: |
---|
1890 | | /* confdefs.h */ |
---|
1891 | | #define PACKAGE_NAME "graph-tool" |
---|
1892 | | #define PACKAGE_TARNAME "graph-tool" |
---|
1893 | | #define PACKAGE_VERSION "2.2.24" |
---|
1894 | | #define PACKAGE_STRING "graph-tool 2.2.24" |
---|
1895 | | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de" |
---|
1896 | | #define PACKAGE_URL "" |
---|
1897 | | #define PACKAGE "graph-tool" |
---|
1898 | | #define VERSION "2.2.24" |
---|
1899 | | #define STDC_HEADERS 1 |
---|
1900 | | #define HAVE_SYS_TYPES_H 1 |
---|
1901 | | #define HAVE_SYS_STAT_H 1 |
---|
1902 | | #define HAVE_STDLIB_H 1 |
---|
1903 | | #define HAVE_STRING_H 1 |
---|
1904 | | #define HAVE_MEMORY_H 1 |
---|
1905 | | #define HAVE_STRINGS_H 1 |
---|
1906 | | #define HAVE_INTTYPES_H 1 |
---|
1907 | | #define HAVE_STDINT_H 1 |
---|
1908 | | #define HAVE_UNISTD_H 1 |
---|
1909 | | #define __EXTENSIONS__ 1 |
---|
1910 | | #define _ALL_SOURCE 1 |
---|
1911 | | #define _GNU_SOURCE 1 |
---|
1912 | | #define _POSIX_PTHREAD_SEMANTICS 1 |
---|
1913 | | #define _TANDEM_SOURCE 1 |
---|
1914 | | #define STDC_HEADERS 1 |
---|
1915 | | #define HAVE_DLFCN_H 1 |
---|
1916 | | #define LT_OBJDIR ".libs/" |
---|
1917 | | /* end confdefs.h. */ |
---|
1918 | | #include <ac_nonexistent.h> |
---|
1919 | configure:13242: checking for ld used by /usr/bin/clang++ |
---|
1920 | configure:13309: result: /usr/bin/ld |
---|
1921 | configure:13316: checking if the linker (/usr/bin/ld) is GNU ld |
---|
1922 | configure:13331: result: no |
---|
1923 | configure:13386: checking whether the /usr/bin/clang++ linker (/usr/bin/ld) supports shared libraries |
---|
1924 | configure:14391: result: yes |
---|
1925 | configure:14427: /usr/bin/clang++ -c -pipe -Os -arch x86_64 -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/.. conftest.cpp >&5 |
---|
1926 | configure:14430: $? = 0 |
---|
1927 | configure:14950: checking for /usr/bin/clang++ option to produce PIC |
---|
1928 | configure:14957: result: -fno-common -DPIC |
---|
1929 | configure:14965: checking if /usr/bin/clang++ PIC flag -fno-common -DPIC works |
---|
1930 | configure:14983: /usr/bin/clang++ -c -pipe -Os -arch x86_64 -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/.. -fno-common -DPIC -DPIC conftest.cpp >&5 |
---|
1931 | configure:14987: $? = 0 |
---|
1932 | configure:15000: result: yes |
---|
1933 | configure:15023: checking if /usr/bin/clang++ static flag -static works |
---|
1934 | configure:15051: result: no |
---|
1935 | configure:15063: checking if /usr/bin/clang++ supports -c -o file.o |
---|
1936 | configure:15084: /usr/bin/clang++ -c -pipe -Os -arch x86_64 -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/.. -o out/conftest2.o conftest.cpp >&5 |
---|
1937 | configure:15088: $? = 0 |
---|
1938 | configure:15110: result: yes |
---|
1939 | configure:15115: checking if /usr/bin/clang++ supports -c -o file.o |
---|
1940 | configure:15162: result: yes |
---|
1941 | configure:15192: checking whether the /usr/bin/clang++ linker (/usr/bin/ld) supports shared libraries |
---|
1942 | configure:15228: result: yes |
---|
1943 | configure:15369: checking dynamic linker characteristics |
---|
1944 | configure:16049: result: darwin12.4.0 dyld |
---|
1945 | configure:16102: checking how to hardcode library paths into programs |
---|
1946 | configure:16127: result: immediate |
---|
1947 | configure:16189: checking target system type |
---|
1948 | configure:16202: result: x86_64-apple-darwin12.4.0 |
---|
1949 | configure:16232: checking whether to enable debug info... |
---|
1950 | configure:16250: result: no |
---|
1951 | configure:16260: checking whether to enable function inlining... |
---|
1952 | configure:16280: result: yes |
---|
1953 | configure:16295: checking whether to enable optimizations... |
---|
1954 | configure:16311: result: yes |
---|
1955 | configure:16317: checking whether to enable symbol visibility manipulation... |
---|
1956 | configure:16333: result: yes |
---|
1957 | configure:16341: checking whether to enable graph filtering... |
---|
1958 | configure:16358: result: yes |
---|
1959 | configure:16366: checking whether to enable parallel algorithms with openmp... |
---|
1960 | configure:16387: result: no |
---|
1961 | configure:16395: checking whether to enable cairo drawing... |
---|
1962 | configure:16409: result: yes |
---|
1963 | configure:16416: checking whether to enable sparsehash... |
---|
1964 | configure:16422: result: no |
---|
1965 | configure:16442: checking for main in -lm |
---|
1966 | configure:16461: /usr/bin/clang++ -o conftest -Wall -Wextra -pipe -Os -arch x86_64 -ftemplate-depth-150 -Wno-deprecated -Wno-unknown-pragmas -O3 -fvisibility=default -fvisibility-inlines-hidden -Wno-unknown-pragmas -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/.. -L/opt/local/lib -Wl,-headerpad_max_install_names -L/opt/local/lib -arch x86_64 conftest.cpp -lm >&5 |
---|
1967 | configure:16461: $? = 0 |
---|
1968 | configure:16470: result: yes |
---|
1969 | configure:16482: checking for main in -lbz2 |
---|
1970 | configure:16501: /usr/bin/clang++ -o conftest -Wall -Wextra -pipe -Os -arch x86_64 -ftemplate-depth-150 -Wno-deprecated -Wno-unknown-pragmas -O3 -fvisibility=default -fvisibility-inlines-hidden -Wno-unknown-pragmas -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/.. -L/opt/local/lib -Wl,-headerpad_max_install_names -L/opt/local/lib -arch x86_64 conftest.cpp -lbz2 -lm >&5 |
---|
1971 | configure:16501: $? = 0 |
---|
1972 | configure:16510: result: yes |
---|
1973 | configure:16522: checking for main in -lexpat |
---|
1974 | configure:16541: /usr/bin/clang++ -o conftest -Wall -Wextra -pipe -Os -arch x86_64 -ftemplate-depth-150 -Wno-deprecated -Wno-unknown-pragmas -O3 -fvisibility=default -fvisibility-inlines-hidden -Wno-unknown-pragmas -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/.. -L/opt/local/lib -Wl,-headerpad_max_install_names -L/opt/local/lib -arch x86_64 conftest.cpp -lexpat -lbz2 -lm >&5 |
---|
1975 | configure:16541: $? = 0 |
---|
1976 | configure:16550: result: yes |
---|
1977 | configure:16573: checking whether /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 version is >= 2.6 |
---|
1978 | configure:16584: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 -c import sys # split strings by '.' and convert to numeric. Append some zeros # because we need at least 4 digits for the hex conversion. # map returns an iterator in Python 3.0 and a list in 2.x minver = list(map(int, '2.6'.split('.'))) + [0, 0, 0] minverhex = 0 # xrange is not present in Python 3.0 and range returns an iterator for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i] sys.exit(sys.hexversion < minverhex) |
---|
1979 | configure:16587: $? = 0 |
---|
1980 | configure:16589: result: yes |
---|
1981 | configure:16682: checking for /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 version |
---|
1982 | configure:16689: result: 2.7 |
---|
1983 | configure:16701: checking for /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 platform |
---|
1984 | configure:16708: result: darwin |
---|
1985 | configure:16734: checking for /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 script directory |
---|
1986 | configure:16769: result: ${prefix}/lib/python2.7/site-packages |
---|
1987 | configure:16778: checking for /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 extension module directory |
---|
1988 | configure:16813: result: ${exec_prefix}/lib/python2.7/site-packages |
---|
1989 | configure:16838: checking for python2.7 |
---|
1990 | configure:16868: result: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 |
---|
1991 | configure:16884: checking for a version of Python >= '2.1.0' |
---|
1992 | configure:16910: result: yes |
---|
1993 | configure:16918: checking for a version of Python == '2.7.5' |
---|
1994 | configure:16924: result: yes |
---|
1995 | configure:16941: checking for the distutils Python package |
---|
1996 | configure:16945: result: yes |
---|
1997 | configure:16959: checking for Python include path |
---|
1998 | configure:16969: result: -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 |
---|
1999 | configure:16976: checking for Python library path |
---|
2000 | configure:17061: result: -L/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/.. -lpython2.7 |
---|
2001 | configure:17068: checking for Python site-packages path |
---|
2002 | configure:17074: result: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages |
---|
2003 | configure:17081: checking python extra libraries |
---|
2004 | configure:17088: result: -ldl -framework CoreFoundation |
---|
2005 | configure:17095: checking python extra linking flags |
---|
2006 | configure:17102: result: -u _PyMac_Error Python.framework/Versions/2.7/Python |
---|
2007 | configure:17109: checking consistency of all components of python development environment |
---|
2008 | configure:17135: /usr/bin/clang -o conftest -pipe -Os -arch x86_64 -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/.. -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -L/opt/local/lib -Wl,-headerpad_max_install_names -L/opt/local/lib -arch x86_64 conftest.c -lexpat -lbz2 -lm -L/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/.. -lpython2.7 -u _PyMac_Error Python.framework/Versions/2.7/Python -ldl -framework CoreFoundation >&5 |
---|
2009 | clang: error: no such file or directory: 'Python.framework/Versions/2.7/Python' |
---|
2010 | configure:17135: $? = 1 |
---|
2011 | configure: failed program was: |
---|
2012 | | /* confdefs.h */ |
---|
2013 | | #define PACKAGE_NAME "graph-tool" |
---|
2014 | | #define PACKAGE_TARNAME "graph-tool" |
---|
2015 | | #define PACKAGE_VERSION "2.2.24" |
---|
2016 | | #define PACKAGE_STRING "graph-tool 2.2.24" |
---|
2017 | | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de" |
---|
2018 | | #define PACKAGE_URL "" |
---|
2019 | | #define PACKAGE "graph-tool" |
---|
2020 | | #define VERSION "2.2.24" |
---|
2021 | | #define STDC_HEADERS 1 |
---|
2022 | | #define HAVE_SYS_TYPES_H 1 |
---|
2023 | | #define HAVE_SYS_STAT_H 1 |
---|
2024 | | #define HAVE_STDLIB_H 1 |
---|
2025 | | #define HAVE_STRING_H 1 |
---|
2026 | | #define HAVE_MEMORY_H 1 |
---|
2027 | | #define HAVE_STRINGS_H 1 |
---|
2028 | | #define HAVE_INTTYPES_H 1 |
---|
2029 | | #define HAVE_STDINT_H 1 |
---|
2030 | | #define HAVE_UNISTD_H 1 |
---|
2031 | | #define __EXTENSIONS__ 1 |
---|
2032 | | #define _ALL_SOURCE 1 |
---|
2033 | | #define _GNU_SOURCE 1 |
---|
2034 | | #define _POSIX_PTHREAD_SEMANTICS 1 |
---|
2035 | | #define _TANDEM_SOURCE 1 |
---|
2036 | | #define STDC_HEADERS 1 |
---|
2037 | | #define HAVE_DLFCN_H 1 |
---|
2038 | | #define LT_OBJDIR ".libs/" |
---|
2039 | | #define HAVE_LIBM 1 |
---|
2040 | | #define HAVE_LIBBZ2 1 |
---|
2041 | | #define HAVE_LIBEXPAT 1 |
---|
2042 | | /* end confdefs.h. */ |
---|
2043 | | |
---|
2044 | | #include <Python.h> |
---|
2045 | | int |
---|
2046 | | main () |
---|
2047 | | { |
---|
2048 | | Py_Initialize(); |
---|
2049 | | ; |
---|
2050 | | return 0; |
---|
2051 | | } |
---|
2052 | | |
---|
2053 | configure:17152: result: no |
---|
2054 | configure:17156: error: in `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-graph-tool/py27-graph-tool/work/graph-tool-2.2.24': |
---|
2055 | configure:17158: error: |
---|
2056 | Could not link test program to Python. Maybe the main Python library has been |
---|
2057 | installed in some non-standard library path. If so, pass it to configure, |
---|
2058 | via the LDFLAGS environment variable. |
---|
2059 | Example: ./configure LDFLAGS="-L/usr/non-standard-path/python/lib" |
---|
2060 | ============================================================================ |
---|
2061 | ERROR! |
---|
2062 | You probably have to install the development version of the Python package |
---|
2063 | for your distribution. The exact name of this package varies among them. |
---|
2064 | ============================================================================ |
---|
2065 | |
---|
2066 | See `config.log' for more details |
---|
2067 | |
---|
2068 | ## ---------------- ## |
---|
2069 | ## Cache variables. ## |
---|
2070 | ## ---------------- ## |
---|
2071 | |
---|
2072 | ac_cv_build=x86_64-apple-darwin12.4.0 |
---|
2073 | ac_cv_c_compiler_gnu=yes |
---|
2074 | ac_cv_cxx_compiler_gnu=yes |
---|
2075 | ac_cv_env_CAIROMM_CFLAGS_set= |
---|
2076 | ac_cv_env_CAIROMM_CFLAGS_value= |
---|
2077 | ac_cv_env_CAIROMM_LIBS_set= |
---|
2078 | ac_cv_env_CAIROMM_LIBS_value= |
---|
2079 | ac_cv_env_CCC_set= |
---|
2080 | ac_cv_env_CCC_value= |
---|
2081 | ac_cv_env_CC_set=set |
---|
2082 | ac_cv_env_CC_value=/usr/bin/clang |
---|
2083 | ac_cv_env_CFLAGS_set=set |
---|
2084 | ac_cv_env_CFLAGS_value='-pipe -Os -arch x86_64' |
---|
2085 | ac_cv_env_CPPFLAGS_set=set |
---|
2086 | ac_cv_env_CPPFLAGS_value='-I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/..' |
---|
2087 | ac_cv_env_CPP_set= |
---|
2088 | ac_cv_env_CPP_value= |
---|
2089 | ac_cv_env_CXXCPP_set= |
---|
2090 | ac_cv_env_CXXCPP_value= |
---|
2091 | ac_cv_env_CXXFLAGS_set=set |
---|
2092 | ac_cv_env_CXXFLAGS_value='-pipe -Os -arch x86_64' |
---|
2093 | ac_cv_env_CXX_set=set |
---|
2094 | ac_cv_env_CXX_value=/usr/bin/clang++ |
---|
2095 | ac_cv_env_LDFLAGS_set=set |
---|
2096 | ac_cv_env_LDFLAGS_value='-L/opt/local/lib -Wl,-headerpad_max_install_names -L/opt/local/lib -arch x86_64' |
---|
2097 | ac_cv_env_LIBS_set= |
---|
2098 | ac_cv_env_LIBS_value= |
---|
2099 | ac_cv_env_PKG_CONFIG_LIBDIR_set= |
---|
2100 | ac_cv_env_PKG_CONFIG_LIBDIR_value= |
---|
2101 | ac_cv_env_PKG_CONFIG_PATH_set= |
---|
2102 | ac_cv_env_PKG_CONFIG_PATH_value= |
---|
2103 | ac_cv_env_PKG_CONFIG_set= |
---|
2104 | ac_cv_env_PKG_CONFIG_value= |
---|
2105 | ac_cv_env_PYTHON_VERSION_set=set |
---|
2106 | ac_cv_env_PYTHON_VERSION_value=2.7 |
---|
2107 | ac_cv_env_PYTHON_set=set |
---|
2108 | ac_cv_env_PYTHON_value=/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 |
---|
2109 | ac_cv_env_build_alias_set= |
---|
2110 | ac_cv_env_build_alias_value= |
---|
2111 | ac_cv_env_host_alias_set= |
---|
2112 | ac_cv_env_host_alias_value= |
---|
2113 | ac_cv_env_target_alias_set= |
---|
2114 | ac_cv_env_target_alias_value= |
---|
2115 | ac_cv_header_dlfcn_h=yes |
---|
2116 | ac_cv_header_inttypes_h=yes |
---|
2117 | ac_cv_header_memory_h=yes |
---|
2118 | ac_cv_header_minix_config_h=no |
---|
2119 | ac_cv_header_stdc=yes |
---|
2120 | ac_cv_header_stdint_h=yes |
---|
2121 | ac_cv_header_stdlib_h=yes |
---|
2122 | ac_cv_header_string_h=yes |
---|
2123 | ac_cv_header_strings_h=yes |
---|
2124 | ac_cv_header_sys_stat_h=yes |
---|
2125 | ac_cv_header_sys_types_h=yes |
---|
2126 | ac_cv_header_unistd_h=yes |
---|
2127 | ac_cv_host=x86_64-apple-darwin12.4.0 |
---|
2128 | ac_cv_lib_bz2_main=yes |
---|
2129 | ac_cv_lib_expat_main=yes |
---|
2130 | ac_cv_lib_m_main=yes |
---|
2131 | ac_cv_objext=o |
---|
2132 | ac_cv_path_EGREP='/usr/bin/grep -E' |
---|
2133 | ac_cv_path_FGREP='/usr/bin/grep -F' |
---|
2134 | ac_cv_path_GREP=/usr/bin/grep |
---|
2135 | ac_cv_path_PYTHON=/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 |
---|
2136 | ac_cv_path_SED=/usr/bin/sed |
---|
2137 | ac_cv_prog_AWK=awk |
---|
2138 | ac_cv_prog_CPP='/usr/bin/clang -E' |
---|
2139 | ac_cv_prog_CXXCPP='/usr/bin/clang++ -E' |
---|
2140 | ac_cv_prog_ac_ct_AR=ar |
---|
2141 | ac_cv_prog_ac_ct_CC=/usr/bin/clang |
---|
2142 | ac_cv_prog_ac_ct_DSYMUTIL=dsymutil |
---|
2143 | ac_cv_prog_ac_ct_LIPO=lipo |
---|
2144 | ac_cv_prog_ac_ct_NMEDIT=nmedit |
---|
2145 | ac_cv_prog_ac_ct_OTOOL=otool |
---|
2146 | ac_cv_prog_ac_ct_RANLIB=ranlib |
---|
2147 | ac_cv_prog_ac_ct_STRIP=strip |
---|
2148 | ac_cv_prog_cc__usr_bin_clang_c_o=yes |
---|
2149 | ac_cv_prog_cc_c89= |
---|
2150 | ac_cv_prog_cc_c99=no |
---|
2151 | ac_cv_prog_cc_g=yes |
---|
2152 | ac_cv_prog_cc_stdc= |
---|
2153 | ac_cv_prog_cxx_g=yes |
---|
2154 | ac_cv_prog_make_make_set=yes |
---|
2155 | ac_cv_safe_to_define___extensions__=yes |
---|
2156 | ac_cv_search_strerror='none required' |
---|
2157 | ac_cv_target=x86_64-apple-darwin12.4.0 |
---|
2158 | am_cv_CC_dependencies_compiler_type=gcc3 |
---|
2159 | am_cv_CXX_dependencies_compiler_type=gcc3 |
---|
2160 | am_cv_make_support_nested_variables=yes |
---|
2161 | am_cv_python_platform=darwin |
---|
2162 | am_cv_python_pyexecdir='${exec_prefix}/lib/python2.7/site-packages' |
---|
2163 | am_cv_python_pythondir='${prefix}/lib/python2.7/site-packages' |
---|
2164 | am_cv_python_version=2.7 |
---|
2165 | lt_cv_apple_cc_single_mod=yes |
---|
2166 | lt_cv_ar_at_file=no |
---|
2167 | lt_cv_deplibs_check_method=pass_all |
---|
2168 | lt_cv_file_magic_cmd='$MAGIC_CMD' |
---|
2169 | lt_cv_file_magic_test_file= |
---|
2170 | lt_cv_ld_exported_symbols_list=yes |
---|
2171 | lt_cv_ld_force_load=yes |
---|
2172 | lt_cv_ld_reload_flag=-r |
---|
2173 | lt_cv_nm_interface='BSD nm' |
---|
2174 | lt_cv_objdir=.libs |
---|
2175 | lt_cv_path_LD=/usr/bin/ld |
---|
2176 | lt_cv_path_LDCXX=/usr/bin/ld |
---|
2177 | lt_cv_path_NM=/opt/local/bin/nm |
---|
2178 | lt_cv_path_mainfest_tool=no |
---|
2179 | lt_cv_prog_compiler_c_o=yes |
---|
2180 | lt_cv_prog_compiler_c_o_CXX=yes |
---|
2181 | lt_cv_prog_compiler_pic='-fno-common -DPIC' |
---|
2182 | lt_cv_prog_compiler_pic_CXX='-fno-common -DPIC' |
---|
2183 | lt_cv_prog_compiler_pic_works=yes |
---|
2184 | lt_cv_prog_compiler_pic_works_CXX=yes |
---|
2185 | lt_cv_prog_compiler_rtti_exceptions=yes |
---|
2186 | lt_cv_prog_compiler_static_works=no |
---|
2187 | lt_cv_prog_compiler_static_works_CXX=no |
---|
2188 | lt_cv_prog_gnu_ld=no |
---|
2189 | lt_cv_prog_gnu_ldcxx=no |
---|
2190 | lt_cv_sharedlib_from_linklib_cmd='printf %s\n' |
---|
2191 | lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p'\'' | sed '\''/ __gnu_lto/d'\''' |
---|
2192 | lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[BCDEGRST]* \([^ ]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\''' |
---|
2193 | lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[BCDEGRST]* \([^ ]*\) \(lib[^ ]*\)$/ {"\2", (void *) \&\2},/p'\'' -e '\''s/^[BCDEGRST]* \([^ ]*\) \([^ ]*\)$/ {"lib\2", (void *) \&\2},/p'\''' |
---|
2194 | lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[BCDEGRST]* .* \(.*\)$/extern char \1;/p'\''' |
---|
2195 | lt_cv_sys_max_cmd_len=196608 |
---|
2196 | lt_cv_to_host_file_cmd=func_convert_file_noop |
---|
2197 | lt_cv_to_tool_file_cmd=func_convert_file_noop |
---|
2198 | |
---|
2199 | ## ----------------- ## |
---|
2200 | ## Output variables. ## |
---|
2201 | ## ----------------- ## |
---|
2202 | |
---|
2203 | ACLOCAL='${SHELL} /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-graph-tool/py27-graph-tool/work/graph-tool-2.2.24/missing aclocal-1.13' |
---|
2204 | AMDEPBACKSLASH='\' |
---|
2205 | AMDEP_FALSE='#' |
---|
2206 | AMDEP_TRUE='' |
---|
2207 | AMTAR='$${TAR-tar}' |
---|
2208 | AM_BACKSLASH='\' |
---|
2209 | AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' |
---|
2210 | AM_DEFAULT_VERBOSITY='0' |
---|
2211 | AM_V='$(V)' |
---|
2212 | AR='ar' |
---|
2213 | AUTOCONF='${SHELL} /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-graph-tool/py27-graph-tool/work/graph-tool-2.2.24/missing autoconf' |
---|
2214 | AUTOHEADER='${SHELL} /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-graph-tool/py27-graph-tool/work/graph-tool-2.2.24/missing autoheader' |
---|
2215 | AUTOMAKE='${SHELL} /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-graph-tool/py27-graph-tool/work/graph-tool-2.2.24/missing automake-1.13' |
---|
2216 | AWK='awk' |
---|
2217 | BOOST_CPPFLAGS='' |
---|
2218 | BOOST_GRAPH_LIB='' |
---|
2219 | BOOST_IOSTREAMS_LIB='' |
---|
2220 | BOOST_LDFLAGS='' |
---|
2221 | BOOST_PYTHON_LIB='' |
---|
2222 | BOOST_REGEX_LIB='' |
---|
2223 | CAIROMM_CFLAGS='' |
---|
2224 | CAIROMM_LIBS='' |
---|
2225 | CC='/usr/bin/clang' |
---|
2226 | CCDEPMODE='depmode=gcc3' |
---|
2227 | CFLAGS='-pipe -Os -arch x86_64' |
---|
2228 | CGAL_FLAGS='' |
---|
2229 | CGAL_LIBADD='' |
---|
2230 | CPP='/usr/bin/clang -E' |
---|
2231 | CPPFLAGS='-I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/..' |
---|
2232 | CXX='/usr/bin/clang++' |
---|
2233 | CXXCPP='/usr/bin/clang++ -E' |
---|
2234 | CXXDEPMODE='depmode=gcc3' |
---|
2235 | CXXFLAGS='-Wall -Wextra -pipe -Os -arch x86_64 -ftemplate-depth-150 -Wno-deprecated -Wno-unknown-pragmas -O3 -fvisibility=default -fvisibility-inlines-hidden -Wno-unknown-pragmas' |
---|
2236 | CYGPATH_W='echo' |
---|
2237 | DEFS='' |
---|
2238 | DEPDIR='.deps' |
---|
2239 | DLLTOOL='false' |
---|
2240 | DSYMUTIL='dsymutil' |
---|
2241 | DUMPBIN='' |
---|
2242 | ECHO_C='\c' |
---|
2243 | ECHO_N='' |
---|
2244 | ECHO_T='' |
---|
2245 | EGREP='/usr/bin/grep -E' |
---|
2246 | EXEEXT='' |
---|
2247 | FGREP='/usr/bin/grep -F' |
---|
2248 | GRAPH_TOOL_VERSION_MAJOR='2' |
---|
2249 | GRAPH_TOOL_VERSION_MICRO='24' |
---|
2250 | GRAPH_TOOL_VERSION_MINOR='2' |
---|
2251 | GREP='/usr/bin/grep' |
---|
2252 | INSTALL_DATA='${INSTALL} -m 644' |
---|
2253 | INSTALL_PROGRAM='${INSTALL}' |
---|
2254 | INSTALL_SCRIPT='${INSTALL}' |
---|
2255 | INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' |
---|
2256 | LD='/usr/bin/ld' |
---|
2257 | LDFLAGS='-L/opt/local/lib -Wl,-headerpad_max_install_names -L/opt/local/lib -arch x86_64' |
---|
2258 | LIBOBJS='' |
---|
2259 | LIBS='-lexpat -lbz2 -lm ' |
---|
2260 | LIBTOOL='$(SHELL) $(top_builddir)/libtool' |
---|
2261 | LIPO='lipo' |
---|
2262 | LN_S='ln -s' |
---|
2263 | LTLIBOBJS='' |
---|
2264 | MAKEINFO='${SHELL} /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-graph-tool/py27-graph-tool/work/graph-tool-2.2.24/missing makeinfo' |
---|
2265 | MANIFEST_TOOL=':' |
---|
2266 | MKDIR_P='./install-sh -c -d' |
---|
2267 | MOD_CPPFLAGS='' |
---|
2268 | MOD_DIR='' |
---|
2269 | MOD_LDFLAGS='' |
---|
2270 | MOD_LIBADD='' |
---|
2271 | NM='/opt/local/bin/nm' |
---|
2272 | NMEDIT='nmedit' |
---|
2273 | NO_INLINE_FALSE='' |
---|
2274 | NO_INLINE_TRUE='#' |
---|
2275 | NO_PREFIX_PACKAGE_DATA_DIR='' |
---|
2276 | NO_PREFIX_PACKAGE_DOC_DIR='' |
---|
2277 | OBJDUMP='false' |
---|
2278 | OBJEXT='o' |
---|
2279 | OPENMP_LDFLAGS='' |
---|
2280 | OTOOL64=':' |
---|
2281 | OTOOL='otool' |
---|
2282 | PACKAGE='graph-tool' |
---|
2283 | PACKAGE_BUGREPORT='http://graph-tool.skewed.de' |
---|
2284 | PACKAGE_DATA_DIR='' |
---|
2285 | PACKAGE_DOC_DIR='' |
---|
2286 | PACKAGE_NAME='graph-tool' |
---|
2287 | PACKAGE_STRING='graph-tool 2.2.24' |
---|
2288 | PACKAGE_TARNAME='graph-tool' |
---|
2289 | PACKAGE_URL='' |
---|
2290 | PACKAGE_VERSION='2.2.24' |
---|
2291 | PATH_SEPARATOR=':' |
---|
2292 | PKG_CONFIG='' |
---|
2293 | PKG_CONFIG_LIBDIR='' |
---|
2294 | PKG_CONFIG_PATH='' |
---|
2295 | PYTHON='/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7' |
---|
2296 | PYTHON_CPPFLAGS='-I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7' |
---|
2297 | PYTHON_EXEC_PREFIX='${exec_prefix}' |
---|
2298 | PYTHON_EXTRA_LDFLAGS='-u _PyMac_Error Python.framework/Versions/2.7/Python' |
---|
2299 | PYTHON_EXTRA_LIBS=' -ldl -framework CoreFoundation' |
---|
2300 | PYTHON_FULL_VERSION='2.7.5' |
---|
2301 | PYTHON_LDFLAGS='-L/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/.. -lpython2.7' |
---|
2302 | PYTHON_PLATFORM='darwin' |
---|
2303 | PYTHON_PREFIX='${prefix}' |
---|
2304 | PYTHON_SITE_PKG='/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages' |
---|
2305 | PYTHON_VERSION='2.7' |
---|
2306 | RANLIB='ranlib' |
---|
2307 | SED='/usr/bin/sed' |
---|
2308 | SET_MAKE='' |
---|
2309 | SHELL='/bin/sh' |
---|
2310 | STRIP='strip' |
---|
2311 | VERSION='2.2.24' |
---|
2312 | ac_ct_AR='ar' |
---|
2313 | ac_ct_CC='/usr/bin/clang' |
---|
2314 | ac_ct_CXX='' |
---|
2315 | ac_ct_DUMPBIN='' |
---|
2316 | am__EXEEXT_FALSE='' |
---|
2317 | am__EXEEXT_TRUE='' |
---|
2318 | am__fastdepCC_FALSE='#' |
---|
2319 | am__fastdepCC_TRUE='' |
---|
2320 | am__fastdepCXX_FALSE='#' |
---|
2321 | am__fastdepCXX_TRUE='' |
---|
2322 | am__include='include' |
---|
2323 | am__isrc='' |
---|
2324 | am__leading_dot='.' |
---|
2325 | am__nodep='_no' |
---|
2326 | am__quote='' |
---|
2327 | am__tar='$${TAR-tar} chof - "$$tardir"' |
---|
2328 | am__untar='$${TAR-tar} xf -' |
---|
2329 | bindir='${exec_prefix}/bin' |
---|
2330 | build='x86_64-apple-darwin12.4.0' |
---|
2331 | build_alias='' |
---|
2332 | build_cpu='x86_64' |
---|
2333 | build_os='darwin12.4.0' |
---|
2334 | build_vendor='apple' |
---|
2335 | datadir='${datarootdir}' |
---|
2336 | datarootdir='${prefix}/share' |
---|
2337 | docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
---|
2338 | dvidir='${docdir}' |
---|
2339 | exec_prefix='/opt/local/Library/Frameworks/Python.framework/Versions/2.7' |
---|
2340 | host='x86_64-apple-darwin12.4.0' |
---|
2341 | host_alias='' |
---|
2342 | host_cpu='x86_64' |
---|
2343 | host_os='darwin12.4.0' |
---|
2344 | host_vendor='apple' |
---|
2345 | htmldir='${docdir}' |
---|
2346 | includedir='${prefix}/include' |
---|
2347 | infodir='${datarootdir}/info' |
---|
2348 | install_sh='${SHELL} /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-graph-tool/py27-graph-tool/work/graph-tool-2.2.24/install-sh' |
---|
2349 | libdir='${exec_prefix}/lib' |
---|
2350 | libexecdir='${exec_prefix}/libexec' |
---|
2351 | localedir='${datarootdir}/locale' |
---|
2352 | localstatedir='${prefix}/var' |
---|
2353 | mandir='${datarootdir}/man' |
---|
2354 | mkdir_p='$(MKDIR_P)' |
---|
2355 | oldincludedir='/usr/include' |
---|
2356 | pdfdir='${docdir}' |
---|
2357 | pkgpyexecdir='${pyexecdir}/graph-tool' |
---|
2358 | pkgpythondir='${pythondir}/graph-tool' |
---|
2359 | prefix='/opt/local' |
---|
2360 | program_transform_name='s,x,x,' |
---|
2361 | psdir='${docdir}' |
---|
2362 | pyexecdir='${exec_prefix}/lib/python2.7/site-packages' |
---|
2363 | pythondir='${prefix}/lib/python2.7/site-packages' |
---|
2364 | sbindir='${exec_prefix}/sbin' |
---|
2365 | sharedstatedir='${prefix}/com' |
---|
2366 | sysconfdir='${prefix}/etc' |
---|
2367 | target='x86_64-apple-darwin12.4.0' |
---|
2368 | target_alias='' |
---|
2369 | target_cpu='x86_64' |
---|
2370 | target_os='darwin12.4.0' |
---|
2371 | target_vendor='apple' |
---|
2372 | |
---|
2373 | ## ----------- ## |
---|
2374 | ## confdefs.h. ## |
---|
2375 | ## ----------- ## |
---|
2376 | |
---|
2377 | /* confdefs.h */ |
---|
2378 | #define PACKAGE_NAME "graph-tool" |
---|
2379 | #define PACKAGE_TARNAME "graph-tool" |
---|
2380 | #define PACKAGE_VERSION "2.2.24" |
---|
2381 | #define PACKAGE_STRING "graph-tool 2.2.24" |
---|
2382 | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de" |
---|
2383 | #define PACKAGE_URL "" |
---|
2384 | #define PACKAGE "graph-tool" |
---|
2385 | #define VERSION "2.2.24" |
---|
2386 | #define STDC_HEADERS 1 |
---|
2387 | #define HAVE_SYS_TYPES_H 1 |
---|
2388 | #define HAVE_SYS_STAT_H 1 |
---|
2389 | #define HAVE_STDLIB_H 1 |
---|
2390 | #define HAVE_STRING_H 1 |
---|
2391 | #define HAVE_MEMORY_H 1 |
---|
2392 | #define HAVE_STRINGS_H 1 |
---|
2393 | #define HAVE_INTTYPES_H 1 |
---|
2394 | #define HAVE_STDINT_H 1 |
---|
2395 | #define HAVE_UNISTD_H 1 |
---|
2396 | #define __EXTENSIONS__ 1 |
---|
2397 | #define _ALL_SOURCE 1 |
---|
2398 | #define _GNU_SOURCE 1 |
---|
2399 | #define _POSIX_PTHREAD_SEMANTICS 1 |
---|
2400 | #define _TANDEM_SOURCE 1 |
---|
2401 | #define STDC_HEADERS 1 |
---|
2402 | #define HAVE_DLFCN_H 1 |
---|
2403 | #define LT_OBJDIR ".libs/" |
---|
2404 | #define HAVE_LIBM 1 |
---|
2405 | #define HAVE_LIBBZ2 1 |
---|
2406 | #define HAVE_LIBEXPAT 1 |
---|
2407 | |
---|
2408 | configure: exit 1 |
---|