Ticket #40072: config.log

File config.log, 84.0 KB (added by absima@…, 11 years ago)
Line 
1This file contains any messages produced by compilers while
2running configure, to aid debugging if configure makes a mistake.
3
4It was created by graph-tool configure 2.2.24, which was
5generated 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
13hostname = Simachews-MacBook-Pro.local
14uname -m = x86_64
15uname -r = 12.4.0
16uname -s = Darwin
17uname -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
27Kernel configured for up to 2 processors.
282 processors are physically available.
292 processors are logically available.
30Processor type: i486 (Intel 80486)
31Processors active: 0 1
32Primary memory available: 8.00 gigabytes
33Default processor set: 123 tasks, 616 threads, 2 processors
34Load average: 1.00, Mach factor: 1.01
35/bin/machine           = unknown
36/usr/bin/oslevel       = unknown
37/bin/universe          = unknown
38
39PATH: /opt/local/bin
40PATH: /opt/local/sbin
41PATH: /bin
42PATH: /sbin
43PATH: /usr/bin
44PATH: /usr/sbin
45
46
47## ----------- ##
48## Core tests. ##
49## ----------- ##
50
51configure:2671: checking for a BSD-compatible install
52configure:2739: result: /usr/bin/install -c
53configure:2750: checking whether build environment is sane
54configure:2805: result: yes
55configure:2956: checking for a thread-safe mkdir -p
56configure:2995: result: ./install-sh -c -d
57configure:3002: checking for gawk
58configure:3032: result: no
59configure:3002: checking for mawk
60configure:3032: result: no
61configure:3002: checking for nawk
62configure:3032: result: no
63configure:3002: checking for awk
64configure:3018: found /usr/bin/awk
65configure:3029: result: awk
66configure:3040: checking whether make sets $(MAKE)
67configure:3062: result: yes
68configure:3091: checking whether make supports nested variables
69configure:3108: result: yes
70configure:3198: checking whether make supports nested variables
71configure:3215: result: yes
72configure:3238: checking for style of include used by make
73configure:3266: result: GNU
74configure:3337: checking for gcc
75configure:3364: result: /usr/bin/clang
76configure:3593: checking for C compiler version
77configure:3602: /usr/bin/clang --version >&5
78Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn)
79Target: x86_64-apple-darwin12.4.0
80Thread model: posix
81configure:3613: $? = 0
82configure:3602: /usr/bin/clang -v >&5
83Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn)
84Target: x86_64-apple-darwin12.4.0
85Thread model: posix
86configure:3613: $? = 0
87configure:3602: /usr/bin/clang -V >&5
88clang: error: argument to '-V' is missing (expected 1 value)
89clang: error: no input files
90configure:3613: $? = 1
91configure:3602: /usr/bin/clang -qversion >&5
92clang: error: no input files
93configure:3613: $? = 1
94configure:3633: checking whether the C compiler works
95configure: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
96configure:3659: $? = 0
97configure:3707: result: yes
98configure:3710: checking for C compiler default output file name
99configure:3712: result: a.out
100configure:3718: checking for suffix of executables
101configure: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
102configure:3729: $? = 0
103configure:3751: result:
104configure:3773: checking whether we are cross compiling
105configure: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
106configure:3785: $? = 0
107configure:3792: ./conftest
108configure:3796: $? = 0
109configure:3811: result: no
110configure:3816: checking for suffix of object files
111configure: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
112configure:3842: $? = 0
113configure:3863: result: o
114configure:3867: checking whether we are using the GNU C compiler
115configure: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
116configure:3886: $? = 0
117configure:3895: result: yes
118configure:3904: checking whether /usr/bin/clang accepts -g
119configure: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
120configure:3924: $? = 0
121configure:3965: result: yes
122configure:3982: checking for /usr/bin/clang option to accept ISO C89
123configure: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
124configure:4045: $? = 0
125configure:4058: result: none needed
126configure:4080: checking dependency style of /usr/bin/clang
127configure:4191: result: gcc3
128configure:4207: checking whether /usr/bin/clang and cc understand -c and -o together
129configure:4238: /usr/bin/clang -c conftest.c -o conftest2.o >&5
130configure:4242: $? = 0
131configure:4248: /usr/bin/clang -c conftest.c -o conftest2.o >&5
132configure:4252: $? = 0
133configure:4263: cc -c conftest.c >&5
134configure:4267: $? = 0
135configure:4275: cc -c conftest.c -o conftest2.o >&5
136configure:4279: $? = 0
137configure:4285: cc -c conftest.c -o conftest2.o >&5
138configure:4289: $? = 0
139configure:4307: result: yes
140configure:4337: checking for library containing strerror
141configure: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
142conftest.c:18:6: warning: incompatible redeclaration of library function 'strerror'
143char strerror ();
144     ^
145conftest.c:18:6: note: 'strerror' is a builtin with type 'char *(int)'
1461 warning generated.
147configure:4368: $? = 0
148configure:4385: result: none required
149configure:4400: checking how to run the C preprocessor
150configure: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
151configure:4431: $? = 0
152configure: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
153conftest.c:11:10: fatal error: 'ac_nonexistent.h' file not found
154#include <ac_nonexistent.h>
155         ^
1561 error generated.
157configure:4445: $? = 1
158configure: 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>
170configure:4470: result: /usr/bin/clang -E
171configure: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
172configure:4490: $? = 0
173configure: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
174conftest.c:11:10: fatal error: 'ac_nonexistent.h' file not found
175#include <ac_nonexistent.h>
176         ^
1771 error generated.
178configure:4504: $? = 1
179configure: 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>
191configure:4533: checking for grep that handles long lines and -e
192configure:4591: result: /usr/bin/grep
193configure:4596: checking for egrep
194configure:4658: result: /usr/bin/grep -E
195configure:4663: checking for ANSI C header files
196configure: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
197configure:4683: $? = 0
198configure: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
199configure:4756: $? = 0
200configure:4756: ./conftest
201configure:4756: $? = 0
202configure:4767: result: yes
203configure:4780: checking for sys/types.h
204configure: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
205configure:4780: $? = 0
206configure:4780: result: yes
207configure:4780: checking for sys/stat.h
208configure: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
209configure:4780: $? = 0
210configure:4780: result: yes
211configure:4780: checking for stdlib.h
212configure: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
213configure:4780: $? = 0
214configure:4780: result: yes
215configure:4780: checking for string.h
216configure: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
217configure:4780: $? = 0
218configure:4780: result: yes
219configure:4780: checking for memory.h
220configure: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
221configure:4780: $? = 0
222configure:4780: result: yes
223configure:4780: checking for strings.h
224configure: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
225configure:4780: $? = 0
226configure:4780: result: yes
227configure:4780: checking for inttypes.h
228configure: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
229configure:4780: $? = 0
230configure:4780: result: yes
231configure:4780: checking for stdint.h
232configure: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
233configure:4780: $? = 0
234configure:4780: result: yes
235configure:4780: checking for unistd.h
236configure: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
237configure:4780: $? = 0
238configure:4780: result: yes
239configure:4793: checking minix/config.h usability
240configure: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
241conftest.c:54:10: fatal error: 'minix/config.h' file not found
242#include <minix/config.h>
243         ^
2441 error generated.
245configure:4793: $? = 1
246configure: 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>
301configure:4793: result: no
302configure:4793: checking minix/config.h presence
303configure: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
304conftest.c:21:10: fatal error: 'minix/config.h' file not found
305#include <minix/config.h>
306         ^
3071 error generated.
308configure:4793: $? = 1
309configure: 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>
331configure:4793: result: no
332configure:4793: checking for minix/config.h
333configure:4793: result: no
334configure:4814: checking whether it is safe to define __EXTENSIONS__
335configure: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
336configure:4832: $? = 0
337configure:4839: result: yes
338configure:4965: checking for C++ compiler version
339configure:4974: /usr/bin/clang++ --version >&5
340Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn)
341Target: x86_64-apple-darwin12.4.0
342Thread model: posix
343configure:4985: $? = 0
344configure:4974: /usr/bin/clang++ -v >&5
345Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn)
346Target: x86_64-apple-darwin12.4.0
347Thread model: posix
348configure:4985: $? = 0
349configure:4974: /usr/bin/clang++ -V >&5
350clang: error: argument to '-V' is missing (expected 1 value)
351clang: error: no input files
352configure:4985: $? = 1
353configure:4974: /usr/bin/clang++ -qversion >&5
354clang: error: no input files
355configure:4985: $? = 1
356configure:4989: checking whether we are using the GNU C++ compiler
357configure: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
358configure:5008: $? = 0
359configure:5017: result: yes
360configure:5026: checking whether /usr/bin/clang++ accepts -g
361configure: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
362configure:5046: $? = 0
363configure:5087: result: yes
364configure:5112: checking dependency style of /usr/bin/clang++
365configure:5223: result: gcc3
366configure:5248: checking for /usr/bin/clang option to accept ISO C99
367configure: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
368conftest.cpp:76:29: error: expected ')'
369test_restrict (ccp restrict text)
370                            ^
371conftest.cpp:76:15: note: to match this '('
372test_restrict (ccp restrict text)
373              ^
374conftest.cpp:81:30: error: use of undeclared identifier 'text'
375  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
376                             ^
377conftest.cpp:130:17: error: expected ';' at end of declaration
378  char *restrict newvar = "Another string";
379                ^
380                ;
381conftest.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                           ^
384conftest.cpp:156:59: error: use of undeclared identifier 'newvar'
385  return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
386                                                          ^
3875 errors generated.
388configure:5397: $? = 1
389configure: 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| }
551configure: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
552conftest.cpp:76:29: error: expected ')'
553test_restrict (ccp restrict text)
554                            ^
555conftest.cpp:76:15: note: to match this '('
556test_restrict (ccp restrict text)
557              ^
558conftest.cpp:81:30: error: use of undeclared identifier 'text'
559  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
560                             ^
561conftest.cpp:130:17: error: expected ';' at end of declaration
562  char *restrict newvar = "Another string";
563                ^
564                ;
565conftest.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                           ^
568conftest.cpp:156:59: error: use of undeclared identifier 'newvar'
569  return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
570                                                          ^
5715 errors generated.
572configure:5397: $? = 1
573configure: 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| }
735configure: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
736conftest.cpp:76:29: error: expected ')'
737test_restrict (ccp restrict text)
738                            ^
739conftest.cpp:76:15: note: to match this '('
740test_restrict (ccp restrict text)
741              ^
742conftest.cpp:81:30: error: use of undeclared identifier 'text'
743  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
744                             ^
745conftest.cpp:130:17: error: expected ';' at end of declaration
746  char *restrict newvar = "Another string";
747                ^
748                ;
749conftest.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                           ^
752conftest.cpp:156:59: error: use of undeclared identifier 'newvar'
753  return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
754                                                          ^
7555 errors generated.
756configure:5397: $? = 1
757configure: 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| }
919configure: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
920conftest.cpp:76:29: error: expected ')'
921test_restrict (ccp restrict text)
922                            ^
923conftest.cpp:76:15: note: to match this '('
924test_restrict (ccp restrict text)
925              ^
926conftest.cpp:81:30: error: use of undeclared identifier 'text'
927  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
928                             ^
929conftest.cpp:130:17: error: expected ';' at end of declaration
930  char *restrict newvar = "Another string";
931                ^
932                ;
933conftest.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                           ^
936conftest.cpp:156:59: error: use of undeclared identifier 'newvar'
937  return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
938                                                          ^
9395 errors generated.
940configure:5397: $? = 1
941configure: 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| }
1103configure: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
1104conftest.cpp:76:29: error: expected ')'
1105test_restrict (ccp restrict text)
1106                            ^
1107conftest.cpp:76:15: note: to match this '('
1108test_restrict (ccp restrict text)
1109              ^
1110conftest.cpp:81:30: error: use of undeclared identifier 'text'
1111  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
1112                             ^
1113conftest.cpp:130:17: error: expected ';' at end of declaration
1114  char *restrict newvar = "Another string";
1115                ^
1116                ;
1117conftest.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                           ^
1120conftest.cpp:156:59: error: use of undeclared identifier 'newvar'
1121  return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
1122                                                          ^
11235 errors generated.
1124configure:5397: $? = 1
1125configure: 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| }
1287configure: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
1288conftest.cpp:76:29: error: expected ')'
1289test_restrict (ccp restrict text)
1290                            ^
1291conftest.cpp:76:15: note: to match this '('
1292test_restrict (ccp restrict text)
1293              ^
1294conftest.cpp:81:30: error: use of undeclared identifier 'text'
1295  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
1296                             ^
1297conftest.cpp:130:17: error: expected ';' at end of declaration
1298  char *restrict newvar = "Another string";
1299                ^
1300                ;
1301conftest.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                           ^
1304conftest.cpp:156:59: error: use of undeclared identifier 'newvar'
1305  return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
1306                                                          ^
13075 errors generated.
1308configure:5397: $? = 1
1309configure: 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| }
1471configure: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
1472conftest.cpp:76:29: error: expected ')'
1473test_restrict (ccp restrict text)
1474                            ^
1475conftest.cpp:76:15: note: to match this '('
1476test_restrict (ccp restrict text)
1477              ^
1478conftest.cpp:81:30: error: use of undeclared identifier 'text'
1479  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
1480                             ^
1481conftest.cpp:130:17: error: expected ';' at end of declaration
1482  char *restrict newvar = "Another string";
1483                ^
1484                ;
1485conftest.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                           ^
1488conftest.cpp:156:59: error: use of undeclared identifier 'newvar'
1489  return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
1490                                                          ^
14915 errors generated.
1492configure:5397: $? = 1
1493configure: 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| }
1655configure:5413: result: unsupported
1656configure:5423: checking for /usr/bin/clang option to accept ISO C89
1657configure:5499: result: none needed
1658configure:5518: checking for /usr/bin/clang option to accept ISO Standard C
1659configure:5529: result: none needed
1660configure:5542: checking how to run the C++ preprocessor
1661configure: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
1662configure:5569: $? = 0
1663configure: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
1664conftest.cpp:26:10: fatal error: 'ac_nonexistent.h' file not found
1665#include <ac_nonexistent.h>
1666         ^
16671 error generated.
1668configure:5583: $? = 1
1669configure: 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>
1696configure:5608: result: /usr/bin/clang++ -E
1697configure: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
1698configure:5628: $? = 0
1699configure: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
1700conftest.cpp:26:10: fatal error: 'ac_nonexistent.h' file not found
1701#include <ac_nonexistent.h>
1702         ^
17031 error generated.
1704configure:5642: $? = 1
1705configure: 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>
1732configure:5671: checking for ANSI C header files
1733configure:5775: result: yes
1734configure:5843: checking build system type
1735configure:5857: result: x86_64-apple-darwin12.4.0
1736configure:5877: checking host system type
1737configure:5890: result: x86_64-apple-darwin12.4.0
1738configure:5931: checking how to print strings
1739configure:5958: result: printf
1740configure:5979: checking for a sed that does not truncate output
1741configure:6043: result: /usr/bin/sed
1742configure:6061: checking for fgrep
1743configure:6123: result: /usr/bin/grep -F
1744configure:6158: checking for ld used by /usr/bin/clang
1745configure:6225: result: /usr/bin/ld
1746configure:6232: checking if the linker (/usr/bin/ld) is GNU ld
1747configure:6247: result: no
1748configure:6259: checking for BSD- or MS-compatible name lister (nm)
1749configure:6308: result: /opt/local/bin/nm
1750configure:6438: checking the name lister (/opt/local/bin/nm) interface
1751configure: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
1752configure:6448: /opt/local/bin/nm "conftest.o"
1753configure:6451: output
17540000000000000000 S _some_variable
1755configure:6458: result: BSD nm
1756configure:6461: checking whether ln -s works
1757configure:6465: result: yes
1758configure:6473: checking the maximum length of command line arguments
1759configure:6603: result: 196608
1760configure:6620: checking whether the shell understands some XSI constructs
1761configure:6630: result: yes
1762configure:6634: checking whether the shell understands "+="
1763configure:6640: result: yes
1764configure:6675: checking how to convert x86_64-apple-darwin12.4.0 file names to x86_64-apple-darwin12.4.0 format
1765configure:6715: result: func_convert_file_noop
1766configure:6722: checking how to convert x86_64-apple-darwin12.4.0 file names to toolchain format
1767configure:6742: result: func_convert_file_noop
1768configure:6749: checking for /usr/bin/ld option to reload object files
1769configure:6756: result: -r
1770configure:6830: checking for objdump
1771configure:6860: result: no
1772configure:6889: checking how to recognize dependent libraries
1773configure:7091: result: pass_all
1774configure:7176: checking for dlltool
1775configure:7206: result: no
1776configure:7236: checking how to associate runtime and link libraries
1777configure:7263: result: printf %s\n
1778configure:7323: checking for ar
1779configure:7339: found /opt/local/bin/ar
1780configure:7350: result: ar
1781configure:7387: checking for archiver @FILE support
1782configure: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
1783configure:7404: $? = 0
1784configure:7407: ar cru libconftest.a @conftest.lst >&5
1785ar: @conftest.lst: No such file or directory
1786configure:7410: $? = 1
1787configure:7430: result: no
1788configure:7488: checking for strip
1789configure:7504: found /opt/local/bin/strip
1790configure:7515: result: strip
1791configure:7587: checking for ranlib
1792configure:7603: found /opt/local/bin/ranlib
1793configure:7614: result: ranlib
1794configure:7716: checking command to parse /opt/local/bin/nm output from /usr/bin/clang object
1795configure: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
1796configure:7839: $? = 0
1797configure: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
1798configure:7846: $? = 0
1799cannot find nm_test_var in conftest.nm
1800configure: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
1801configure:7839: $? = 0
1802configure: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
1803configure:7846: $? = 0
1804configure: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
1805configure:7915: $? = 0
1806configure:7953: result: ok
1807configure:7990: checking for sysroot
1808configure:8020: result: no
1809configure:8276: checking for mt
1810configure:8306: result: no
1811configure:8326: checking if : is a manifest tool
1812configure:8332: : '-?'
1813configure:8340: result: no
1814configure:8396: checking for dsymutil
1815configure:8412: found /usr/bin/dsymutil
1816configure:8423: result: dsymutil
1817configure:8488: checking for nmedit
1818configure:8504: found /opt/local/bin/nmedit
1819configure:8515: result: nmedit
1820configure:8580: checking for lipo
1821configure:8596: found /opt/local/bin/lipo
1822configure:8607: result: lipo
1823configure:8672: checking for otool
1824configure:8688: found /opt/local/bin/otool
1825configure:8699: result: otool
1826configure:8764: checking for otool64
1827configure:8794: result: no
1828configure: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
1830configure:8872: result: yes
1831configure:8875: checking for -exported_symbols_list linker flag
1832configure: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
1833configure:8895: $? = 0
1834configure:8905: result: yes
1835configure:8908: checking for -force_load linker flag
1836/usr/bin/clang -pipe -Os -arch x86_64 -c -o conftest.o conftest.c
1837ar cru libconftest.a conftest.o
1838ranlib 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
1840configure:8940: result: yes
1841configure:8979: checking for dlfcn.h
1842configure: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
1843configure:8979: $? = 0
1844configure:8979: result: yes
1845configure:9165: checking for objdir
1846configure:9180: result: .libs
1847configure:9447: checking if /usr/bin/clang supports -fno-rtti -fno-exceptions
1848configure: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
1849configure:9469: $? = 0
1850configure:9482: result: yes
1851configure:9809: checking for /usr/bin/clang option to produce PIC
1852configure:9816: result: -fno-common -DPIC
1853configure:9824: checking if /usr/bin/clang PIC flag -fno-common -DPIC works
1854configure: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
1855configure:9846: $? = 0
1856configure:9859: result: yes
1857configure:9888: checking if /usr/bin/clang static flag -static works
1858configure:9916: result: no
1859configure:9931: checking if /usr/bin/clang supports -c -o file.o
1860configure: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
1861configure:9956: $? = 0
1862configure:9978: result: yes
1863configure:9986: checking if /usr/bin/clang supports -c -o file.o
1864configure:10033: result: yes
1865configure:10066: checking whether the /usr/bin/clang linker (/usr/bin/ld) supports shared libraries
1866configure:11219: result: yes
1867configure:11459: checking dynamic linker characteristics
1868configure:12205: result: darwin12.4.0 dyld
1869configure:12312: checking how to hardcode library paths into programs
1870configure:12337: result: immediate
1871configure:12877: checking whether stripping libraries is possible
1872configure:12891: result: yes
1873configure:12917: checking if libtool supports shared libraries
1874configure:12919: result: yes
1875configure:12922: checking whether to build shared libraries
1876configure:12943: result: yes
1877configure:12946: checking whether to build static libraries
1878configure:12950: result: no
1879configure:12973: checking how to run the C++ preprocessor
1880configure:13039: result: /usr/bin/clang++ -E
1881configure: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
1882configure:13059: $? = 0
1883configure: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
1884conftest.cpp:29:10: fatal error: 'ac_nonexistent.h' file not found
1885#include <ac_nonexistent.h>
1886         ^
18871 error generated.
1888configure:13073: $? = 1
1889configure: 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>
1919configure:13242: checking for ld used by /usr/bin/clang++
1920configure:13309: result: /usr/bin/ld
1921configure:13316: checking if the linker (/usr/bin/ld) is GNU ld
1922configure:13331: result: no
1923configure:13386: checking whether the /usr/bin/clang++ linker (/usr/bin/ld) supports shared libraries
1924configure:14391: result: yes
1925configure: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
1926configure:14430: $? = 0
1927configure:14950: checking for /usr/bin/clang++ option to produce PIC
1928configure:14957: result: -fno-common -DPIC
1929configure:14965: checking if /usr/bin/clang++ PIC flag -fno-common -DPIC works
1930configure: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
1931configure:14987: $? = 0
1932configure:15000: result: yes
1933configure:15023: checking if /usr/bin/clang++ static flag -static works
1934configure:15051: result: no
1935configure:15063: checking if /usr/bin/clang++ supports -c -o file.o
1936configure: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
1937configure:15088: $? = 0
1938configure:15110: result: yes
1939configure:15115: checking if /usr/bin/clang++ supports -c -o file.o
1940configure:15162: result: yes
1941configure:15192: checking whether the /usr/bin/clang++ linker (/usr/bin/ld) supports shared libraries
1942configure:15228: result: yes
1943configure:15369: checking dynamic linker characteristics
1944configure:16049: result: darwin12.4.0 dyld
1945configure:16102: checking how to hardcode library paths into programs
1946configure:16127: result: immediate
1947configure:16189: checking target system type
1948configure:16202: result: x86_64-apple-darwin12.4.0
1949configure:16232: checking whether to enable debug info...
1950configure:16250: result: no
1951configure:16260: checking whether to enable function inlining...
1952configure:16280: result: yes
1953configure:16295: checking whether to enable optimizations...
1954configure:16311: result: yes
1955configure:16317: checking whether to enable symbol visibility manipulation...
1956configure:16333: result: yes
1957configure:16341: checking whether to enable graph filtering...
1958configure:16358: result: yes
1959configure:16366: checking whether to enable parallel algorithms with openmp...
1960configure:16387: result: no
1961configure:16395: checking whether to enable cairo drawing...
1962configure:16409: result: yes
1963configure:16416: checking whether to enable sparsehash...
1964configure:16422: result: no
1965configure:16442: checking for main in -lm
1966configure: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
1967configure:16461: $? = 0
1968configure:16470: result: yes
1969configure:16482: checking for main in -lbz2
1970configure: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
1971configure:16501: $? = 0
1972configure:16510: result: yes
1973configure:16522: checking for main in -lexpat
1974configure: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
1975configure:16541: $? = 0
1976configure:16550: result: yes
1977configure:16573: checking whether /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 version is >= 2.6
1978configure: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)
1979configure:16587: $? = 0
1980configure:16589: result: yes
1981configure:16682: checking for /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 version
1982configure:16689: result: 2.7
1983configure:16701: checking for /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 platform
1984configure:16708: result: darwin
1985configure:16734: checking for /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 script directory
1986configure:16769: result: ${prefix}/lib/python2.7/site-packages
1987configure:16778: checking for /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 extension module directory
1988configure:16813: result: ${exec_prefix}/lib/python2.7/site-packages
1989configure:16838: checking for python2.7
1990configure:16868: result: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
1991configure:16884: checking for a version of Python >= '2.1.0'
1992configure:16910: result: yes
1993configure:16918: checking for a version of Python == '2.7.5'
1994configure:16924: result: yes
1995configure:16941: checking for the distutils Python package
1996configure:16945: result: yes
1997configure:16959: checking for Python include path
1998configure:16969: result: -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7
1999configure:16976: checking for Python library path
2000configure:17061: result: -L/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/.. -lpython2.7
2001configure:17068: checking for Python site-packages path
2002configure:17074: result: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages
2003configure:17081: checking python extra libraries
2004configure:17088: result:  -ldl  -framework CoreFoundation
2005configure:17095: checking python extra linking flags
2006configure:17102: result: -u _PyMac_Error Python.framework/Versions/2.7/Python
2007configure:17109: checking consistency of all components of python development environment
2008configure: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
2009clang: error: no such file or directory: 'Python.framework/Versions/2.7/Python'
2010configure:17135: $? = 1
2011configure: 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|
2053configure:17152: result: no
2054configure: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':
2055configure: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
2066See `config.log' for more details
2067
2068## ---------------- ##
2069## Cache variables. ##
2070## ---------------- ##
2071
2072ac_cv_build=x86_64-apple-darwin12.4.0
2073ac_cv_c_compiler_gnu=yes
2074ac_cv_cxx_compiler_gnu=yes
2075ac_cv_env_CAIROMM_CFLAGS_set=
2076ac_cv_env_CAIROMM_CFLAGS_value=
2077ac_cv_env_CAIROMM_LIBS_set=
2078ac_cv_env_CAIROMM_LIBS_value=
2079ac_cv_env_CCC_set=
2080ac_cv_env_CCC_value=
2081ac_cv_env_CC_set=set
2082ac_cv_env_CC_value=/usr/bin/clang
2083ac_cv_env_CFLAGS_set=set
2084ac_cv_env_CFLAGS_value='-pipe -Os -arch x86_64'
2085ac_cv_env_CPPFLAGS_set=set
2086ac_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/..'
2087ac_cv_env_CPP_set=
2088ac_cv_env_CPP_value=
2089ac_cv_env_CXXCPP_set=
2090ac_cv_env_CXXCPP_value=
2091ac_cv_env_CXXFLAGS_set=set
2092ac_cv_env_CXXFLAGS_value='-pipe -Os -arch x86_64'
2093ac_cv_env_CXX_set=set
2094ac_cv_env_CXX_value=/usr/bin/clang++
2095ac_cv_env_LDFLAGS_set=set
2096ac_cv_env_LDFLAGS_value='-L/opt/local/lib -Wl,-headerpad_max_install_names -L/opt/local/lib -arch x86_64'
2097ac_cv_env_LIBS_set=
2098ac_cv_env_LIBS_value=
2099ac_cv_env_PKG_CONFIG_LIBDIR_set=
2100ac_cv_env_PKG_CONFIG_LIBDIR_value=
2101ac_cv_env_PKG_CONFIG_PATH_set=
2102ac_cv_env_PKG_CONFIG_PATH_value=
2103ac_cv_env_PKG_CONFIG_set=
2104ac_cv_env_PKG_CONFIG_value=
2105ac_cv_env_PYTHON_VERSION_set=set
2106ac_cv_env_PYTHON_VERSION_value=2.7
2107ac_cv_env_PYTHON_set=set
2108ac_cv_env_PYTHON_value=/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
2109ac_cv_env_build_alias_set=
2110ac_cv_env_build_alias_value=
2111ac_cv_env_host_alias_set=
2112ac_cv_env_host_alias_value=
2113ac_cv_env_target_alias_set=
2114ac_cv_env_target_alias_value=
2115ac_cv_header_dlfcn_h=yes
2116ac_cv_header_inttypes_h=yes
2117ac_cv_header_memory_h=yes
2118ac_cv_header_minix_config_h=no
2119ac_cv_header_stdc=yes
2120ac_cv_header_stdint_h=yes
2121ac_cv_header_stdlib_h=yes
2122ac_cv_header_string_h=yes
2123ac_cv_header_strings_h=yes
2124ac_cv_header_sys_stat_h=yes
2125ac_cv_header_sys_types_h=yes
2126ac_cv_header_unistd_h=yes
2127ac_cv_host=x86_64-apple-darwin12.4.0
2128ac_cv_lib_bz2_main=yes
2129ac_cv_lib_expat_main=yes
2130ac_cv_lib_m_main=yes
2131ac_cv_objext=o
2132ac_cv_path_EGREP='/usr/bin/grep -E'
2133ac_cv_path_FGREP='/usr/bin/grep -F'
2134ac_cv_path_GREP=/usr/bin/grep
2135ac_cv_path_PYTHON=/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
2136ac_cv_path_SED=/usr/bin/sed
2137ac_cv_prog_AWK=awk
2138ac_cv_prog_CPP='/usr/bin/clang -E'
2139ac_cv_prog_CXXCPP='/usr/bin/clang++ -E'
2140ac_cv_prog_ac_ct_AR=ar
2141ac_cv_prog_ac_ct_CC=/usr/bin/clang
2142ac_cv_prog_ac_ct_DSYMUTIL=dsymutil
2143ac_cv_prog_ac_ct_LIPO=lipo
2144ac_cv_prog_ac_ct_NMEDIT=nmedit
2145ac_cv_prog_ac_ct_OTOOL=otool
2146ac_cv_prog_ac_ct_RANLIB=ranlib
2147ac_cv_prog_ac_ct_STRIP=strip
2148ac_cv_prog_cc__usr_bin_clang_c_o=yes
2149ac_cv_prog_cc_c89=
2150ac_cv_prog_cc_c99=no
2151ac_cv_prog_cc_g=yes
2152ac_cv_prog_cc_stdc=
2153ac_cv_prog_cxx_g=yes
2154ac_cv_prog_make_make_set=yes
2155ac_cv_safe_to_define___extensions__=yes
2156ac_cv_search_strerror='none required'
2157ac_cv_target=x86_64-apple-darwin12.4.0
2158am_cv_CC_dependencies_compiler_type=gcc3
2159am_cv_CXX_dependencies_compiler_type=gcc3
2160am_cv_make_support_nested_variables=yes
2161am_cv_python_platform=darwin
2162am_cv_python_pyexecdir='${exec_prefix}/lib/python2.7/site-packages'
2163am_cv_python_pythondir='${prefix}/lib/python2.7/site-packages'
2164am_cv_python_version=2.7
2165lt_cv_apple_cc_single_mod=yes
2166lt_cv_ar_at_file=no
2167lt_cv_deplibs_check_method=pass_all
2168lt_cv_file_magic_cmd='$MAGIC_CMD'
2169lt_cv_file_magic_test_file=
2170lt_cv_ld_exported_symbols_list=yes
2171lt_cv_ld_force_load=yes
2172lt_cv_ld_reload_flag=-r
2173lt_cv_nm_interface='BSD nm'
2174lt_cv_objdir=.libs
2175lt_cv_path_LD=/usr/bin/ld
2176lt_cv_path_LDCXX=/usr/bin/ld
2177lt_cv_path_NM=/opt/local/bin/nm
2178lt_cv_path_mainfest_tool=no
2179lt_cv_prog_compiler_c_o=yes
2180lt_cv_prog_compiler_c_o_CXX=yes
2181lt_cv_prog_compiler_pic='-fno-common -DPIC'
2182lt_cv_prog_compiler_pic_CXX='-fno-common -DPIC'
2183lt_cv_prog_compiler_pic_works=yes
2184lt_cv_prog_compiler_pic_works_CXX=yes
2185lt_cv_prog_compiler_rtti_exceptions=yes
2186lt_cv_prog_compiler_static_works=no
2187lt_cv_prog_compiler_static_works_CXX=no
2188lt_cv_prog_gnu_ld=no
2189lt_cv_prog_gnu_ldcxx=no
2190lt_cv_sharedlib_from_linklib_cmd='printf %s\n'
2191lt_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'\'''
2192lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/  {\"\1\", (void *) 0},/p'\'' -e '\''s/^[BCDEGRST]* \([^ ]*\) \([^ ]*\)$/  {"\2", (void *) \&\2},/p'\'''
2193lt_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'\'''
2194lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[BCDEGRST]* .* \(.*\)$/extern char \1;/p'\'''
2195lt_cv_sys_max_cmd_len=196608
2196lt_cv_to_host_file_cmd=func_convert_file_noop
2197lt_cv_to_tool_file_cmd=func_convert_file_noop
2198
2199## ----------------- ##
2200## Output variables. ##
2201## ----------------- ##
2202
2203ACLOCAL='${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'
2204AMDEPBACKSLASH='\'
2205AMDEP_FALSE='#'
2206AMDEP_TRUE=''
2207AMTAR='$${TAR-tar}'
2208AM_BACKSLASH='\'
2209AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2210AM_DEFAULT_VERBOSITY='0'
2211AM_V='$(V)'
2212AR='ar'
2213AUTOCONF='${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'
2214AUTOHEADER='${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'
2215AUTOMAKE='${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'
2216AWK='awk'
2217BOOST_CPPFLAGS=''
2218BOOST_GRAPH_LIB=''
2219BOOST_IOSTREAMS_LIB=''
2220BOOST_LDFLAGS=''
2221BOOST_PYTHON_LIB=''
2222BOOST_REGEX_LIB=''
2223CAIROMM_CFLAGS=''
2224CAIROMM_LIBS=''
2225CC='/usr/bin/clang'
2226CCDEPMODE='depmode=gcc3'
2227CFLAGS='-pipe -Os -arch x86_64'
2228CGAL_FLAGS=''
2229CGAL_LIBADD=''
2230CPP='/usr/bin/clang -E'
2231CPPFLAGS='-I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/..'
2232CXX='/usr/bin/clang++'
2233CXXCPP='/usr/bin/clang++ -E'
2234CXXDEPMODE='depmode=gcc3'
2235CXXFLAGS='-Wall -Wextra -pipe -Os -arch x86_64 -ftemplate-depth-150 -Wno-deprecated -Wno-unknown-pragmas -O3 -fvisibility=default -fvisibility-inlines-hidden -Wno-unknown-pragmas'
2236CYGPATH_W='echo'
2237DEFS=''
2238DEPDIR='.deps'
2239DLLTOOL='false'
2240DSYMUTIL='dsymutil'
2241DUMPBIN=''
2242ECHO_C='\c'
2243ECHO_N=''
2244ECHO_T=''
2245EGREP='/usr/bin/grep -E'
2246EXEEXT=''
2247FGREP='/usr/bin/grep -F'
2248GRAPH_TOOL_VERSION_MAJOR='2'
2249GRAPH_TOOL_VERSION_MICRO='24'
2250GRAPH_TOOL_VERSION_MINOR='2'
2251GREP='/usr/bin/grep'
2252INSTALL_DATA='${INSTALL} -m 644'
2253INSTALL_PROGRAM='${INSTALL}'
2254INSTALL_SCRIPT='${INSTALL}'
2255INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
2256LD='/usr/bin/ld'
2257LDFLAGS='-L/opt/local/lib -Wl,-headerpad_max_install_names -L/opt/local/lib -arch x86_64'
2258LIBOBJS=''
2259LIBS='-lexpat -lbz2 -lm '
2260LIBTOOL='$(SHELL) $(top_builddir)/libtool'
2261LIPO='lipo'
2262LN_S='ln -s'
2263LTLIBOBJS=''
2264MAKEINFO='${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'
2265MANIFEST_TOOL=':'
2266MKDIR_P='./install-sh -c -d'
2267MOD_CPPFLAGS=''
2268MOD_DIR=''
2269MOD_LDFLAGS=''
2270MOD_LIBADD=''
2271NM='/opt/local/bin/nm'
2272NMEDIT='nmedit'
2273NO_INLINE_FALSE=''
2274NO_INLINE_TRUE='#'
2275NO_PREFIX_PACKAGE_DATA_DIR=''
2276NO_PREFIX_PACKAGE_DOC_DIR=''
2277OBJDUMP='false'
2278OBJEXT='o'
2279OPENMP_LDFLAGS=''
2280OTOOL64=':'
2281OTOOL='otool'
2282PACKAGE='graph-tool'
2283PACKAGE_BUGREPORT='http://graph-tool.skewed.de'
2284PACKAGE_DATA_DIR=''
2285PACKAGE_DOC_DIR=''
2286PACKAGE_NAME='graph-tool'
2287PACKAGE_STRING='graph-tool 2.2.24'
2288PACKAGE_TARNAME='graph-tool'
2289PACKAGE_URL=''
2290PACKAGE_VERSION='2.2.24'
2291PATH_SEPARATOR=':'
2292PKG_CONFIG=''
2293PKG_CONFIG_LIBDIR=''
2294PKG_CONFIG_PATH=''
2295PYTHON='/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7'
2296PYTHON_CPPFLAGS='-I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7'
2297PYTHON_EXEC_PREFIX='${exec_prefix}'
2298PYTHON_EXTRA_LDFLAGS='-u _PyMac_Error Python.framework/Versions/2.7/Python'
2299PYTHON_EXTRA_LIBS=' -ldl  -framework CoreFoundation'
2300PYTHON_FULL_VERSION='2.7.5'
2301PYTHON_LDFLAGS='-L/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/.. -lpython2.7'
2302PYTHON_PLATFORM='darwin'
2303PYTHON_PREFIX='${prefix}'
2304PYTHON_SITE_PKG='/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages'
2305PYTHON_VERSION='2.7'
2306RANLIB='ranlib'
2307SED='/usr/bin/sed'
2308SET_MAKE=''
2309SHELL='/bin/sh'
2310STRIP='strip'
2311VERSION='2.2.24'
2312ac_ct_AR='ar'
2313ac_ct_CC='/usr/bin/clang'
2314ac_ct_CXX=''
2315ac_ct_DUMPBIN=''
2316am__EXEEXT_FALSE=''
2317am__EXEEXT_TRUE=''
2318am__fastdepCC_FALSE='#'
2319am__fastdepCC_TRUE=''
2320am__fastdepCXX_FALSE='#'
2321am__fastdepCXX_TRUE=''
2322am__include='include'
2323am__isrc=''
2324am__leading_dot='.'
2325am__nodep='_no'
2326am__quote=''
2327am__tar='$${TAR-tar} chof - "$$tardir"'
2328am__untar='$${TAR-tar} xf -'
2329bindir='${exec_prefix}/bin'
2330build='x86_64-apple-darwin12.4.0'
2331build_alias=''
2332build_cpu='x86_64'
2333build_os='darwin12.4.0'
2334build_vendor='apple'
2335datadir='${datarootdir}'
2336datarootdir='${prefix}/share'
2337docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
2338dvidir='${docdir}'
2339exec_prefix='/opt/local/Library/Frameworks/Python.framework/Versions/2.7'
2340host='x86_64-apple-darwin12.4.0'
2341host_alias=''
2342host_cpu='x86_64'
2343host_os='darwin12.4.0'
2344host_vendor='apple'
2345htmldir='${docdir}'
2346includedir='${prefix}/include'
2347infodir='${datarootdir}/info'
2348install_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'
2349libdir='${exec_prefix}/lib'
2350libexecdir='${exec_prefix}/libexec'
2351localedir='${datarootdir}/locale'
2352localstatedir='${prefix}/var'
2353mandir='${datarootdir}/man'
2354mkdir_p='$(MKDIR_P)'
2355oldincludedir='/usr/include'
2356pdfdir='${docdir}'
2357pkgpyexecdir='${pyexecdir}/graph-tool'
2358pkgpythondir='${pythondir}/graph-tool'
2359prefix='/opt/local'
2360program_transform_name='s,x,x,'
2361psdir='${docdir}'
2362pyexecdir='${exec_prefix}/lib/python2.7/site-packages'
2363pythondir='${prefix}/lib/python2.7/site-packages'
2364sbindir='${exec_prefix}/sbin'
2365sharedstatedir='${prefix}/com'
2366sysconfdir='${prefix}/etc'
2367target='x86_64-apple-darwin12.4.0'
2368target_alias=''
2369target_cpu='x86_64'
2370target_os='darwin12.4.0'
2371target_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
2408configure: exit 1