Ticket #50831: config.log

File config.log, 88.2 KB (added by szhorvat (Szabolcs Horvát), 8 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.13, 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
8
9## --------- ##
10## Platform. ##
11## --------- ##
12
13hostname = hawkeye.local
14uname -m = x86_64
15uname -r = 15.3.0
16uname -s = Darwin
17uname -v = Darwin Kernel Version 15.3.0: Thu Dec 10 18:40:58 PST 2015; root:xnu-3248.30.4~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 15.3.0: Thu Dec 10 18:40:58 PST 2015; root:xnu-3248.30.4~1/RELEASE_X86_64
27Kernel configured for up to 8 processors.
284 processors are physically available.
298 processors are logically available.
30Processor type: x86_64h (Intel x86-64h Haswell)
31Processors active: 0 1 2 3 4 5 6 7
32Primary memory available: 16.00 gigabytes
33Default processor set: 338 tasks, 1813 threads, 8 processors
34Load average: 5.74, Mach factor: 3.04
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:2692: checking build system type
52configure:2706: result: x86_64-apple-darwin15.3.0
53configure:2726: checking host system type
54configure:2739: result: x86_64-apple-darwin15.3.0
55configure:2759: checking target system type
56configure:2772: result: x86_64-apple-darwin15.3.0
57configure:2815: checking for a BSD-compatible install
58configure:2883: result: /usr/bin/install -c
59configure:2894: checking whether build environment is sane
60configure:2949: result: yes
61configure:3100: checking for a thread-safe mkdir -p
62configure:3139: result: /opt/local/bin/gmkdir -p
63configure:3146: checking for gawk
64configure:3176: result: no
65configure:3146: checking for mawk
66configure:3176: result: no
67configure:3146: checking for nawk
68configure:3176: result: no
69configure:3146: checking for awk
70configure:3162: found /usr/bin/awk
71configure:3173: result: awk
72configure:3184: checking whether make sets $(MAKE)
73configure:3206: result: yes
74configure:3235: checking whether make supports nested variables
75configure:3252: result: yes
76configure:3389: checking whether make supports nested variables
77configure:3406: result: yes
78configure:3429: checking for style of include used by make
79configure:3457: result: GNU
80configure:3528: checking for gcc
81configure:3555: result: /usr/bin/clang
82configure:3784: checking for C compiler version
83configure:3793: /usr/bin/clang --version >&5
84Apple LLVM version 7.0.2 (clang-700.1.81)
85Target: x86_64-apple-darwin15.3.0
86Thread model: posix
87configure:3804: $? = 0
88configure:3793: /usr/bin/clang -v >&5
89Apple LLVM version 7.0.2 (clang-700.1.81)
90Target: x86_64-apple-darwin15.3.0
91Thread model: posix
92configure:3804: $? = 0
93configure:3793: /usr/bin/clang -V >&5
94clang: error: argument to '-V' is missing (expected 1 value)
95clang: error: no input files
96configure:3804: $? = 1
97configure:3793: /usr/bin/clang -qversion >&5
98clang: error: unknown argument: '-qversion'
99clang: error: no input files
100configure:3804: $? = 1
101configure:3824: checking whether the C compiler works
102configure:3846: /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
103configure:3850: $? = 0
104configure:3898: result: yes
105configure:3901: checking for C compiler default output file name
106configure:3903: result: a.out
107configure:3909: checking for suffix of executables
108configure:3916: /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
109configure:3920: $? = 0
110configure:3942: result:
111configure:3964: checking whether we are cross compiling
112configure:3972: /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
113configure:3976: $? = 0
114configure:3983: ./conftest
115configure:3987: $? = 0
116configure:4002: result: no
117configure:4007: checking for suffix of object files
118configure:4029: /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
119configure:4033: $? = 0
120configure:4054: result: o
121configure:4058: checking whether we are using the GNU C compiler
122configure:4077: /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
123configure:4077: $? = 0
124configure:4086: result: yes
125configure:4095: checking whether /usr/bin/clang accepts -g
126configure:4115: /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
127configure:4115: $? = 0
128configure:4156: result: yes
129configure:4173: checking for /usr/bin/clang option to accept ISO C89
130configure:4236: /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
131configure:4236: $? = 0
132configure:4249: result: none needed
133configure:4274: checking whether /usr/bin/clang understands -c and -o together
134configure:4296: /usr/bin/clang -c conftest.c -o conftest2.o
135configure:4299: $? = 0
136configure:4296: /usr/bin/clang -c conftest.c -o conftest2.o
137configure:4299: $? = 0
138configure:4311: result: yes
139configure:4330: checking dependency style of /usr/bin/clang
140configure:4441: result: gcc3
141configure:4462: checking for library containing strerror
142configure:4493: /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
143conftest.c:18:6: warning: incompatible redeclaration of library function 'strerror' [-Wincompatible-library-redeclaration]
144char strerror ();
145     ^
146conftest.c:18:6: note: 'strerror' is a builtin with type 'char *(int)'
1471 warning generated.
148configure:4493: $? = 0
149configure:4510: result: none required
150configure:4525: checking how to run the C preprocessor
151configure:4556: /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
152configure:4556: $? = 0
153configure:4570: /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
154conftest.c:11:10: fatal error: 'ac_nonexistent.h' file not found
155#include <ac_nonexistent.h>
156         ^
1571 error generated.
158configure:4570: $? = 1
159configure: failed program was:
160| /* confdefs.h */
161| #define PACKAGE_NAME "graph-tool"
162| #define PACKAGE_TARNAME "graph-tool"
163| #define PACKAGE_VERSION "2.13"
164| #define PACKAGE_STRING "graph-tool 2.13"
165| #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues"
166| #define PACKAGE_URL "http://graph-tool.skewed.de"
167| #define PACKAGE "graph-tool"
168| #define VERSION "2.13"
169| /* end confdefs.h.  */
170| #include <ac_nonexistent.h>
171configure:4595: result: /usr/bin/clang -E
172configure:4615: /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
173configure:4615: $? = 0
174configure:4629: /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
175conftest.c:11:10: fatal error: 'ac_nonexistent.h' file not found
176#include <ac_nonexistent.h>
177         ^
1781 error generated.
179configure:4629: $? = 1
180configure: failed program was:
181| /* confdefs.h */
182| #define PACKAGE_NAME "graph-tool"
183| #define PACKAGE_TARNAME "graph-tool"
184| #define PACKAGE_VERSION "2.13"
185| #define PACKAGE_STRING "graph-tool 2.13"
186| #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues"
187| #define PACKAGE_URL "http://graph-tool.skewed.de"
188| #define PACKAGE "graph-tool"
189| #define VERSION "2.13"
190| /* end confdefs.h.  */
191| #include <ac_nonexistent.h>
192configure:4658: checking for grep that handles long lines and -e
193configure:4716: result: /opt/local/bin/grep
194configure:4721: checking for egrep
195configure:4783: result: /opt/local/bin/grep -E
196configure:4788: checking for ANSI C header files
197configure:4808: /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
198configure:4808: $? = 0
199configure:4881: /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
200configure:4881: $? = 0
201configure:4881: ./conftest
202configure:4881: $? = 0
203configure:4892: result: yes
204configure:4905: checking for sys/types.h
205configure:4905: /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
206configure:4905: $? = 0
207configure:4905: result: yes
208configure:4905: checking for sys/stat.h
209configure:4905: /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
210configure:4905: $? = 0
211configure:4905: result: yes
212configure:4905: checking for stdlib.h
213configure:4905: /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
214configure:4905: $? = 0
215configure:4905: result: yes
216configure:4905: checking for string.h
217configure:4905: /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
218configure:4905: $? = 0
219configure:4905: result: yes
220configure:4905: checking for memory.h
221configure:4905: /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
222configure:4905: $? = 0
223configure:4905: result: yes
224configure:4905: checking for strings.h
225configure:4905: /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
226configure:4905: $? = 0
227configure:4905: result: yes
228configure:4905: checking for inttypes.h
229configure:4905: /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
230configure:4905: $? = 0
231configure:4905: result: yes
232configure:4905: checking for stdint.h
233configure:4905: /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
234configure:4905: $? = 0
235configure:4905: result: yes
236configure:4905: checking for unistd.h
237configure:4905: /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
238configure:4905: $? = 0
239configure:4905: result: yes
240configure:4918: checking minix/config.h usability
241configure:4918: /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
242conftest.c:54:10: fatal error: 'minix/config.h' file not found
243#include <minix/config.h>
244         ^
2451 error generated.
246configure:4918: $? = 1
247configure: failed program was:
248| /* confdefs.h */
249| #define PACKAGE_NAME "graph-tool"
250| #define PACKAGE_TARNAME "graph-tool"
251| #define PACKAGE_VERSION "2.13"
252| #define PACKAGE_STRING "graph-tool 2.13"
253| #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues"
254| #define PACKAGE_URL "http://graph-tool.skewed.de"
255| #define PACKAGE "graph-tool"
256| #define VERSION "2.13"
257| #define STDC_HEADERS 1
258| #define HAVE_SYS_TYPES_H 1
259| #define HAVE_SYS_STAT_H 1
260| #define HAVE_STDLIB_H 1
261| #define HAVE_STRING_H 1
262| #define HAVE_MEMORY_H 1
263| #define HAVE_STRINGS_H 1
264| #define HAVE_INTTYPES_H 1
265| #define HAVE_STDINT_H 1
266| #define HAVE_UNISTD_H 1
267| /* end confdefs.h.  */
268| #include <stdio.h>
269| #ifdef HAVE_SYS_TYPES_H
270| # include <sys/types.h>
271| #endif
272| #ifdef HAVE_SYS_STAT_H
273| # include <sys/stat.h>
274| #endif
275| #ifdef STDC_HEADERS
276| # include <stdlib.h>
277| # include <stddef.h>
278| #else
279| # ifdef HAVE_STDLIB_H
280| #  include <stdlib.h>
281| # endif
282| #endif
283| #ifdef HAVE_STRING_H
284| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
285| #  include <memory.h>
286| # endif
287| # include <string.h>
288| #endif
289| #ifdef HAVE_STRINGS_H
290| # include <strings.h>
291| #endif
292| #ifdef HAVE_INTTYPES_H
293| # include <inttypes.h>
294| #endif
295| #ifdef HAVE_STDINT_H
296| # include <stdint.h>
297| #endif
298| #ifdef HAVE_UNISTD_H
299| # include <unistd.h>
300| #endif
301| #include <minix/config.h>
302configure:4918: result: no
303configure:4918: checking minix/config.h presence
304configure:4918: /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
305conftest.c:21:10: fatal error: 'minix/config.h' file not found
306#include <minix/config.h>
307         ^
3081 error generated.
309configure:4918: $? = 1
310configure: failed program was:
311| /* confdefs.h */
312| #define PACKAGE_NAME "graph-tool"
313| #define PACKAGE_TARNAME "graph-tool"
314| #define PACKAGE_VERSION "2.13"
315| #define PACKAGE_STRING "graph-tool 2.13"
316| #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues"
317| #define PACKAGE_URL "http://graph-tool.skewed.de"
318| #define PACKAGE "graph-tool"
319| #define VERSION "2.13"
320| #define STDC_HEADERS 1
321| #define HAVE_SYS_TYPES_H 1
322| #define HAVE_SYS_STAT_H 1
323| #define HAVE_STDLIB_H 1
324| #define HAVE_STRING_H 1
325| #define HAVE_MEMORY_H 1
326| #define HAVE_STRINGS_H 1
327| #define HAVE_INTTYPES_H 1
328| #define HAVE_STDINT_H 1
329| #define HAVE_UNISTD_H 1
330| /* end confdefs.h.  */
331| #include <minix/config.h>
332configure:4918: result: no
333configure:4918: checking for minix/config.h
334configure:4918: result: no
335configure:4939: checking whether it is safe to define __EXTENSIONS__
336configure:4957: /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
337configure:4957: $? = 0
338configure:4964: result: yes
339configure:5090: checking for C++ compiler version
340configure:5099: /usr/bin/clang++ --version >&5
341Apple LLVM version 7.0.2 (clang-700.1.81)
342Target: x86_64-apple-darwin15.3.0
343Thread model: posix
344configure:5110: $? = 0
345configure:5099: /usr/bin/clang++ -v >&5
346Apple LLVM version 7.0.2 (clang-700.1.81)
347Target: x86_64-apple-darwin15.3.0
348Thread model: posix
349configure:5110: $? = 0
350configure:5099: /usr/bin/clang++ -V >&5
351clang: error: argument to '-V' is missing (expected 1 value)
352clang: error: no input files
353configure:5110: $? = 1
354configure:5099: /usr/bin/clang++ -qversion >&5
355clang: error: unknown argument: '-qversion'
356clang: error: no input files
357configure:5110: $? = 1
358configure:5114: checking whether we are using the GNU C++ compiler
359configure:5133: /usr/bin/clang++ -c -pipe -Os -std=c++14 -stdlib=libc++ -arch x86_64 -stdlib=libc++ -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/.. conftest.cpp >&5
360configure:5133: $? = 0
361configure:5142: result: yes
362configure:5151: checking whether /usr/bin/clang++ accepts -g
363configure:5171: /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
364configure:5171: $? = 0
365configure:5212: result: yes
366configure:5237: checking dependency style of /usr/bin/clang++
367configure:5348: result: gcc3
368configure:5373: checking for /usr/bin/clang option to accept ISO C99
369configure:5522: /usr/bin/clang++ -c -pipe -Os -std=c++14 -stdlib=libc++ -arch x86_64 -stdlib=libc++ -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/.. conftest.cpp >&5
370conftest.cpp:76:29: error: expected ')'
371test_restrict (ccp restrict text)
372                            ^
373conftest.cpp:76:15: note: to match this '('
374test_restrict (ccp restrict text)
375              ^
376conftest.cpp:81:30: error: use of undeclared identifier 'text'
377  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
378                             ^
379conftest.cpp:125:3: error: unknown type name '_Bool'
380  _Bool success = false;
381  ^
382conftest.cpp:130:17: error: expected ';' at end of declaration
383  char *restrict newvar = "Another string";
384                ^
385                ;
386conftest.cpp:137:28: error: cannot initialize a variable of type 'struct incomplete_array *' with an rvalue of type 'void *'
387  struct incomplete_array *ia =
388                           ^
389conftest.cpp:156:59: error: use of undeclared identifier 'newvar'
390  return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
391                                                          ^
3926 errors generated.
393configure:5522: $? = 1
394configure: failed program was:
395| /* confdefs.h */
396| #define PACKAGE_NAME "graph-tool"
397| #define PACKAGE_TARNAME "graph-tool"
398| #define PACKAGE_VERSION "2.13"
399| #define PACKAGE_STRING "graph-tool 2.13"
400| #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues"
401| #define PACKAGE_URL "http://graph-tool.skewed.de"
402| #define PACKAGE "graph-tool"
403| #define VERSION "2.13"
404| #define STDC_HEADERS 1
405| #define HAVE_SYS_TYPES_H 1
406| #define HAVE_SYS_STAT_H 1
407| #define HAVE_STDLIB_H 1
408| #define HAVE_STRING_H 1
409| #define HAVE_MEMORY_H 1
410| #define HAVE_STRINGS_H 1
411| #define HAVE_INTTYPES_H 1
412| #define HAVE_STDINT_H 1
413| #define HAVE_UNISTD_H 1
414| #define __EXTENSIONS__ 1
415| #define _ALL_SOURCE 1
416| #define _GNU_SOURCE 1
417| #define _POSIX_PTHREAD_SEMANTICS 1
418| #define _TANDEM_SOURCE 1
419| /* end confdefs.h.  */
420| #include <stdarg.h>
421| #include <stdbool.h>
422| #include <stdlib.h>
423| #include <wchar.h>
424| #include <stdio.h>
425|
426| // Check varargs macros.  These examples are taken from C99 6.10.3.5.
427| #define debug(...) fprintf (stderr, __VA_ARGS__)
428| #define showlist(...) puts (#__VA_ARGS__)
429| #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
430| static void
431| test_varargs_macros (void)
432| {
433|   int x = 1234;
434|   int y = 5678;
435|   debug ("Flag");
436|   debug ("X = %d\n", x);
437|   showlist (The first, second, and third items.);
438|   report (x>y, "x is %d but y is %d", x, y);
439| }
440|
441| // Check long long types.
442| #define BIG64 18446744073709551615ull
443| #define BIG32 4294967295ul
444| #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
445| #if !BIG_OK
446|   your preprocessor is broken;
447| #endif
448| #if BIG_OK
449| #else
450|   your preprocessor is broken;
451| #endif
452| static long long int bignum = -9223372036854775807LL;
453| static unsigned long long int ubignum = BIG64;
454|
455| struct incomplete_array
456| {
457|   int datasize;
458|   double data[];
459| };
460|
461| struct named_init {
462|   int number;
463|   const wchar_t *name;
464|   double average;
465| };
466|
467| typedef const char *ccp;
468|
469| static inline int
470| test_restrict (ccp restrict text)
471| {
472|   // See if C++-style comments work.
473|   // Iterate through items via the restricted pointer.
474|   // Also check for declarations in for loops.
475|   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
476|     continue;
477|   return 0;
478| }
479|
480| // Check varargs and va_copy.
481| static void
482| test_varargs (const char *format, ...)
483| {
484|   va_list args;
485|   va_start (args, format);
486|   va_list args_copy;
487|   va_copy (args_copy, args);
488|
489|   const char *str;
490|   int number;
491|   float fnumber;
492|
493|   while (*format)
494|     {
495|       switch (*format++)
496|       {
497|       case 's': // string
498|         str = va_arg (args_copy, const char *);
499|         break;
500|       case 'd': // int
501|         number = va_arg (args_copy, int);
502|         break;
503|       case 'f': // float
504|         fnumber = va_arg (args_copy, double);
505|         break;
506|       default:
507|         break;
508|       }
509|     }
510|   va_end (args_copy);
511|   va_end (args);
512| }
513|
514| int
515| main ()
516| {
517|
518|   // Check bool.
519|   _Bool success = false;
520|
521|   // Check restrict.
522|   if (test_restrict ("String literal") == 0)
523|     success = true;
524|   char *restrict newvar = "Another string";
525|
526|   // Check varargs.
527|   test_varargs ("s, d' f .", "string", 65, 34.234);
528|   test_varargs_macros ();
529|
530|   // Check flexible array members.
531|   struct incomplete_array *ia =
532|     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
533|   ia->datasize = 10;
534|   for (int i = 0; i < ia->datasize; ++i)
535|     ia->data[i] = i * 1.234;
536|
537|   // Check named initializers.
538|   struct named_init ni = {
539|     .number = 34,
540|     .name = L"Test wide string",
541|     .average = 543.34343,
542|   };
543|
544|   ni.number = 58;
545|
546|   int dynamic_array[ni.number];
547|   dynamic_array[ni.number - 1] = 543;
548|
549|   // work around unused variable warnings
550|   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
551|         || dynamic_array[ni.number - 1] != 543);
552|
553|   ;
554|   return 0;
555| }
556configure:5522: /usr/bin/clang++ -c -pipe -Os -std=c++14 -stdlib=libc++ -arch x86_64 -stdlib=libc++ -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/.. conftest.cpp >&5
557conftest.cpp:76:29: error: expected ')'
558test_restrict (ccp restrict text)
559                            ^
560conftest.cpp:76:15: note: to match this '('
561test_restrict (ccp restrict text)
562              ^
563conftest.cpp:81:30: error: use of undeclared identifier 'text'
564  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
565                             ^
566conftest.cpp:125:3: error: unknown type name '_Bool'
567  _Bool success = false;
568  ^
569conftest.cpp:130:17: error: expected ';' at end of declaration
570  char *restrict newvar = "Another string";
571                ^
572                ;
573conftest.cpp:137:28: error: cannot initialize a variable of type 'struct incomplete_array *' with an rvalue of type 'void *'
574  struct incomplete_array *ia =
575                           ^
576conftest.cpp:156:59: error: use of undeclared identifier 'newvar'
577  return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
578                                                          ^
5796 errors generated.
580configure:5522: $? = 1
581configure: failed program was:
582| /* confdefs.h */
583| #define PACKAGE_NAME "graph-tool"
584| #define PACKAGE_TARNAME "graph-tool"
585| #define PACKAGE_VERSION "2.13"
586| #define PACKAGE_STRING "graph-tool 2.13"
587| #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues"
588| #define PACKAGE_URL "http://graph-tool.skewed.de"
589| #define PACKAGE "graph-tool"
590| #define VERSION "2.13"
591| #define STDC_HEADERS 1
592| #define HAVE_SYS_TYPES_H 1
593| #define HAVE_SYS_STAT_H 1
594| #define HAVE_STDLIB_H 1
595| #define HAVE_STRING_H 1
596| #define HAVE_MEMORY_H 1
597| #define HAVE_STRINGS_H 1
598| #define HAVE_INTTYPES_H 1
599| #define HAVE_STDINT_H 1
600| #define HAVE_UNISTD_H 1
601| #define __EXTENSIONS__ 1
602| #define _ALL_SOURCE 1
603| #define _GNU_SOURCE 1
604| #define _POSIX_PTHREAD_SEMANTICS 1
605| #define _TANDEM_SOURCE 1
606| /* end confdefs.h.  */
607| #include <stdarg.h>
608| #include <stdbool.h>
609| #include <stdlib.h>
610| #include <wchar.h>
611| #include <stdio.h>
612|
613| // Check varargs macros.  These examples are taken from C99 6.10.3.5.
614| #define debug(...) fprintf (stderr, __VA_ARGS__)
615| #define showlist(...) puts (#__VA_ARGS__)
616| #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
617| static void
618| test_varargs_macros (void)
619| {
620|   int x = 1234;
621|   int y = 5678;
622|   debug ("Flag");
623|   debug ("X = %d\n", x);
624|   showlist (The first, second, and third items.);
625|   report (x>y, "x is %d but y is %d", x, y);
626| }
627|
628| // Check long long types.
629| #define BIG64 18446744073709551615ull
630| #define BIG32 4294967295ul
631| #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
632| #if !BIG_OK
633|   your preprocessor is broken;
634| #endif
635| #if BIG_OK
636| #else
637|   your preprocessor is broken;
638| #endif
639| static long long int bignum = -9223372036854775807LL;
640| static unsigned long long int ubignum = BIG64;
641|
642| struct incomplete_array
643| {
644|   int datasize;
645|   double data[];
646| };
647|
648| struct named_init {
649|   int number;
650|   const wchar_t *name;
651|   double average;
652| };
653|
654| typedef const char *ccp;
655|
656| static inline int
657| test_restrict (ccp restrict text)
658| {
659|   // See if C++-style comments work.
660|   // Iterate through items via the restricted pointer.
661|   // Also check for declarations in for loops.
662|   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
663|     continue;
664|   return 0;
665| }
666|
667| // Check varargs and va_copy.
668| static void
669| test_varargs (const char *format, ...)
670| {
671|   va_list args;
672|   va_start (args, format);
673|   va_list args_copy;
674|   va_copy (args_copy, args);
675|
676|   const char *str;
677|   int number;
678|   float fnumber;
679|
680|   while (*format)
681|     {
682|       switch (*format++)
683|       {
684|       case 's': // string
685|         str = va_arg (args_copy, const char *);
686|         break;
687|       case 'd': // int
688|         number = va_arg (args_copy, int);
689|         break;
690|       case 'f': // float
691|         fnumber = va_arg (args_copy, double);
692|         break;
693|       default:
694|         break;
695|       }
696|     }
697|   va_end (args_copy);
698|   va_end (args);
699| }
700|
701| int
702| main ()
703| {
704|
705|   // Check bool.
706|   _Bool success = false;
707|
708|   // Check restrict.
709|   if (test_restrict ("String literal") == 0)
710|     success = true;
711|   char *restrict newvar = "Another string";
712|
713|   // Check varargs.
714|   test_varargs ("s, d' f .", "string", 65, 34.234);
715|   test_varargs_macros ();
716|
717|   // Check flexible array members.
718|   struct incomplete_array *ia =
719|     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
720|   ia->datasize = 10;
721|   for (int i = 0; i < ia->datasize; ++i)
722|     ia->data[i] = i * 1.234;
723|
724|   // Check named initializers.
725|   struct named_init ni = {
726|     .number = 34,
727|     .name = L"Test wide string",
728|     .average = 543.34343,
729|   };
730|
731|   ni.number = 58;
732|
733|   int dynamic_array[ni.number];
734|   dynamic_array[ni.number - 1] = 543;
735|
736|   // work around unused variable warnings
737|   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
738|         || dynamic_array[ni.number - 1] != 543);
739|
740|   ;
741|   return 0;
742| }
743configure:5522: /usr/bin/clang++ -c -pipe -Os -std=c++14 -stdlib=libc++ -arch x86_64 -stdlib=libc++ -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/.. conftest.cpp >&5
744conftest.cpp:76:29: error: expected ')'
745test_restrict (ccp restrict text)
746                            ^
747conftest.cpp:76:15: note: to match this '('
748test_restrict (ccp restrict text)
749              ^
750conftest.cpp:81:30: error: use of undeclared identifier 'text'
751  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
752                             ^
753conftest.cpp:125:3: error: unknown type name '_Bool'
754  _Bool success = false;
755  ^
756conftest.cpp:130:17: error: expected ';' at end of declaration
757  char *restrict newvar = "Another string";
758                ^
759                ;
760conftest.cpp:137:28: error: cannot initialize a variable of type 'struct incomplete_array *' with an rvalue of type 'void *'
761  struct incomplete_array *ia =
762                           ^
763conftest.cpp:156:59: error: use of undeclared identifier 'newvar'
764  return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
765                                                          ^
7666 errors generated.
767configure:5522: $? = 1
768configure: failed program was:
769| /* confdefs.h */
770| #define PACKAGE_NAME "graph-tool"
771| #define PACKAGE_TARNAME "graph-tool"
772| #define PACKAGE_VERSION "2.13"
773| #define PACKAGE_STRING "graph-tool 2.13"
774| #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues"
775| #define PACKAGE_URL "http://graph-tool.skewed.de"
776| #define PACKAGE "graph-tool"
777| #define VERSION "2.13"
778| #define STDC_HEADERS 1
779| #define HAVE_SYS_TYPES_H 1
780| #define HAVE_SYS_STAT_H 1
781| #define HAVE_STDLIB_H 1
782| #define HAVE_STRING_H 1
783| #define HAVE_MEMORY_H 1
784| #define HAVE_STRINGS_H 1
785| #define HAVE_INTTYPES_H 1
786| #define HAVE_STDINT_H 1
787| #define HAVE_UNISTD_H 1
788| #define __EXTENSIONS__ 1
789| #define _ALL_SOURCE 1
790| #define _GNU_SOURCE 1
791| #define _POSIX_PTHREAD_SEMANTICS 1
792| #define _TANDEM_SOURCE 1
793| /* end confdefs.h.  */
794| #include <stdarg.h>
795| #include <stdbool.h>
796| #include <stdlib.h>
797| #include <wchar.h>
798| #include <stdio.h>
799|
800| // Check varargs macros.  These examples are taken from C99 6.10.3.5.
801| #define debug(...) fprintf (stderr, __VA_ARGS__)
802| #define showlist(...) puts (#__VA_ARGS__)
803| #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
804| static void
805| test_varargs_macros (void)
806| {
807|   int x = 1234;
808|   int y = 5678;
809|   debug ("Flag");
810|   debug ("X = %d\n", x);
811|   showlist (The first, second, and third items.);
812|   report (x>y, "x is %d but y is %d", x, y);
813| }
814|
815| // Check long long types.
816| #define BIG64 18446744073709551615ull
817| #define BIG32 4294967295ul
818| #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
819| #if !BIG_OK
820|   your preprocessor is broken;
821| #endif
822| #if BIG_OK
823| #else
824|   your preprocessor is broken;
825| #endif
826| static long long int bignum = -9223372036854775807LL;
827| static unsigned long long int ubignum = BIG64;
828|
829| struct incomplete_array
830| {
831|   int datasize;
832|   double data[];
833| };
834|
835| struct named_init {
836|   int number;
837|   const wchar_t *name;
838|   double average;
839| };
840|
841| typedef const char *ccp;
842|
843| static inline int
844| test_restrict (ccp restrict text)
845| {
846|   // See if C++-style comments work.
847|   // Iterate through items via the restricted pointer.
848|   // Also check for declarations in for loops.
849|   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
850|     continue;
851|   return 0;
852| }
853|
854| // Check varargs and va_copy.
855| static void
856| test_varargs (const char *format, ...)
857| {
858|   va_list args;
859|   va_start (args, format);
860|   va_list args_copy;
861|   va_copy (args_copy, args);
862|
863|   const char *str;
864|   int number;
865|   float fnumber;
866|
867|   while (*format)
868|     {
869|       switch (*format++)
870|       {
871|       case 's': // string
872|         str = va_arg (args_copy, const char *);
873|         break;
874|       case 'd': // int
875|         number = va_arg (args_copy, int);
876|         break;
877|       case 'f': // float
878|         fnumber = va_arg (args_copy, double);
879|         break;
880|       default:
881|         break;
882|       }
883|     }
884|   va_end (args_copy);
885|   va_end (args);
886| }
887|
888| int
889| main ()
890| {
891|
892|   // Check bool.
893|   _Bool success = false;
894|
895|   // Check restrict.
896|   if (test_restrict ("String literal") == 0)
897|     success = true;
898|   char *restrict newvar = "Another string";
899|
900|   // Check varargs.
901|   test_varargs ("s, d' f .", "string", 65, 34.234);
902|   test_varargs_macros ();
903|
904|   // Check flexible array members.
905|   struct incomplete_array *ia =
906|     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
907|   ia->datasize = 10;
908|   for (int i = 0; i < ia->datasize; ++i)
909|     ia->data[i] = i * 1.234;
910|
911|   // Check named initializers.
912|   struct named_init ni = {
913|     .number = 34,
914|     .name = L"Test wide string",
915|     .average = 543.34343,
916|   };
917|
918|   ni.number = 58;
919|
920|   int dynamic_array[ni.number];
921|   dynamic_array[ni.number - 1] = 543;
922|
923|   // work around unused variable warnings
924|   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
925|         || dynamic_array[ni.number - 1] != 543);
926|
927|   ;
928|   return 0;
929| }
930configure:5522: /usr/bin/clang++ -c -pipe -Os -std=c++14 -stdlib=libc++ -arch x86_64 -stdlib=libc++ -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/.. conftest.cpp >&5
931conftest.cpp:76:29: error: expected ')'
932test_restrict (ccp restrict text)
933                            ^
934conftest.cpp:76:15: note: to match this '('
935test_restrict (ccp restrict text)
936              ^
937conftest.cpp:81:30: error: use of undeclared identifier 'text'
938  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
939                             ^
940conftest.cpp:125:3: error: unknown type name '_Bool'
941  _Bool success = false;
942  ^
943conftest.cpp:130:17: error: expected ';' at end of declaration
944  char *restrict newvar = "Another string";
945                ^
946                ;
947conftest.cpp:137:28: error: cannot initialize a variable of type 'struct incomplete_array *' with an rvalue of type 'void *'
948  struct incomplete_array *ia =
949                           ^
950conftest.cpp:156:59: error: use of undeclared identifier 'newvar'
951  return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
952                                                          ^
9536 errors generated.
954configure:5522: $? = 1
955configure: failed program was:
956| /* confdefs.h */
957| #define PACKAGE_NAME "graph-tool"
958| #define PACKAGE_TARNAME "graph-tool"
959| #define PACKAGE_VERSION "2.13"
960| #define PACKAGE_STRING "graph-tool 2.13"
961| #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues"
962| #define PACKAGE_URL "http://graph-tool.skewed.de"
963| #define PACKAGE "graph-tool"
964| #define VERSION "2.13"
965| #define STDC_HEADERS 1
966| #define HAVE_SYS_TYPES_H 1
967| #define HAVE_SYS_STAT_H 1
968| #define HAVE_STDLIB_H 1
969| #define HAVE_STRING_H 1
970| #define HAVE_MEMORY_H 1
971| #define HAVE_STRINGS_H 1
972| #define HAVE_INTTYPES_H 1
973| #define HAVE_STDINT_H 1
974| #define HAVE_UNISTD_H 1
975| #define __EXTENSIONS__ 1
976| #define _ALL_SOURCE 1
977| #define _GNU_SOURCE 1
978| #define _POSIX_PTHREAD_SEMANTICS 1
979| #define _TANDEM_SOURCE 1
980| /* end confdefs.h.  */
981| #include <stdarg.h>
982| #include <stdbool.h>
983| #include <stdlib.h>
984| #include <wchar.h>
985| #include <stdio.h>
986|
987| // Check varargs macros.  These examples are taken from C99 6.10.3.5.
988| #define debug(...) fprintf (stderr, __VA_ARGS__)
989| #define showlist(...) puts (#__VA_ARGS__)
990| #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
991| static void
992| test_varargs_macros (void)
993| {
994|   int x = 1234;
995|   int y = 5678;
996|   debug ("Flag");
997|   debug ("X = %d\n", x);
998|   showlist (The first, second, and third items.);
999|   report (x>y, "x is %d but y is %d", x, y);
1000| }
1001|
1002| // Check long long types.
1003| #define BIG64 18446744073709551615ull
1004| #define BIG32 4294967295ul
1005| #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
1006| #if !BIG_OK
1007|   your preprocessor is broken;
1008| #endif
1009| #if BIG_OK
1010| #else
1011|   your preprocessor is broken;
1012| #endif
1013| static long long int bignum = -9223372036854775807LL;
1014| static unsigned long long int ubignum = BIG64;
1015|
1016| struct incomplete_array
1017| {
1018|   int datasize;
1019|   double data[];
1020| };
1021|
1022| struct named_init {
1023|   int number;
1024|   const wchar_t *name;
1025|   double average;
1026| };
1027|
1028| typedef const char *ccp;
1029|
1030| static inline int
1031| test_restrict (ccp restrict text)
1032| {
1033|   // See if C++-style comments work.
1034|   // Iterate through items via the restricted pointer.
1035|   // Also check for declarations in for loops.
1036|   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
1037|     continue;
1038|   return 0;
1039| }
1040|
1041| // Check varargs and va_copy.
1042| static void
1043| test_varargs (const char *format, ...)
1044| {
1045|   va_list args;
1046|   va_start (args, format);
1047|   va_list args_copy;
1048|   va_copy (args_copy, args);
1049|
1050|   const char *str;
1051|   int number;
1052|   float fnumber;
1053|
1054|   while (*format)
1055|     {
1056|       switch (*format++)
1057|       {
1058|       case 's': // string
1059|         str = va_arg (args_copy, const char *);
1060|         break;
1061|       case 'd': // int
1062|         number = va_arg (args_copy, int);
1063|         break;
1064|       case 'f': // float
1065|         fnumber = va_arg (args_copy, double);
1066|         break;
1067|       default:
1068|         break;
1069|       }
1070|     }
1071|   va_end (args_copy);
1072|   va_end (args);
1073| }
1074|
1075| int
1076| main ()
1077| {
1078|
1079|   // Check bool.
1080|   _Bool success = false;
1081|
1082|   // Check restrict.
1083|   if (test_restrict ("String literal") == 0)
1084|     success = true;
1085|   char *restrict newvar = "Another string";
1086|
1087|   // Check varargs.
1088|   test_varargs ("s, d' f .", "string", 65, 34.234);
1089|   test_varargs_macros ();
1090|
1091|   // Check flexible array members.
1092|   struct incomplete_array *ia =
1093|     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
1094|   ia->datasize = 10;
1095|   for (int i = 0; i < ia->datasize; ++i)
1096|     ia->data[i] = i * 1.234;
1097|
1098|   // Check named initializers.
1099|   struct named_init ni = {
1100|     .number = 34,
1101|     .name = L"Test wide string",
1102|     .average = 543.34343,
1103|   };
1104|
1105|   ni.number = 58;
1106|
1107|   int dynamic_array[ni.number];
1108|   dynamic_array[ni.number - 1] = 543;
1109|
1110|   // work around unused variable warnings
1111|   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
1112|         || dynamic_array[ni.number - 1] != 543);
1113|
1114|   ;
1115|   return 0;
1116| }
1117configure:5522: /usr/bin/clang++ -c -pipe -Os -std=c++14 -stdlib=libc++ -arch x86_64 -stdlib=libc++ -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/.. conftest.cpp >&5
1118conftest.cpp:76:29: error: expected ')'
1119test_restrict (ccp restrict text)
1120                            ^
1121conftest.cpp:76:15: note: to match this '('
1122test_restrict (ccp restrict text)
1123              ^
1124conftest.cpp:81:30: error: use of undeclared identifier 'text'
1125  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
1126                             ^
1127conftest.cpp:125:3: error: unknown type name '_Bool'
1128  _Bool success = false;
1129  ^
1130conftest.cpp:130:17: error: expected ';' at end of declaration
1131  char *restrict newvar = "Another string";
1132                ^
1133                ;
1134conftest.cpp:137:28: error: cannot initialize a variable of type 'struct incomplete_array *' with an rvalue of type 'void *'
1135  struct incomplete_array *ia =
1136                           ^
1137conftest.cpp:156:59: error: use of undeclared identifier 'newvar'
1138  return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
1139                                                          ^
11406 errors generated.
1141configure:5522: $? = 1
1142configure: failed program was:
1143| /* confdefs.h */
1144| #define PACKAGE_NAME "graph-tool"
1145| #define PACKAGE_TARNAME "graph-tool"
1146| #define PACKAGE_VERSION "2.13"
1147| #define PACKAGE_STRING "graph-tool 2.13"
1148| #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues"
1149| #define PACKAGE_URL "http://graph-tool.skewed.de"
1150| #define PACKAGE "graph-tool"
1151| #define VERSION "2.13"
1152| #define STDC_HEADERS 1
1153| #define HAVE_SYS_TYPES_H 1
1154| #define HAVE_SYS_STAT_H 1
1155| #define HAVE_STDLIB_H 1
1156| #define HAVE_STRING_H 1
1157| #define HAVE_MEMORY_H 1
1158| #define HAVE_STRINGS_H 1
1159| #define HAVE_INTTYPES_H 1
1160| #define HAVE_STDINT_H 1
1161| #define HAVE_UNISTD_H 1
1162| #define __EXTENSIONS__ 1
1163| #define _ALL_SOURCE 1
1164| #define _GNU_SOURCE 1
1165| #define _POSIX_PTHREAD_SEMANTICS 1
1166| #define _TANDEM_SOURCE 1
1167| /* end confdefs.h.  */
1168| #include <stdarg.h>
1169| #include <stdbool.h>
1170| #include <stdlib.h>
1171| #include <wchar.h>
1172| #include <stdio.h>
1173|
1174| // Check varargs macros.  These examples are taken from C99 6.10.3.5.
1175| #define debug(...) fprintf (stderr, __VA_ARGS__)
1176| #define showlist(...) puts (#__VA_ARGS__)
1177| #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
1178| static void
1179| test_varargs_macros (void)
1180| {
1181|   int x = 1234;
1182|   int y = 5678;
1183|   debug ("Flag");
1184|   debug ("X = %d\n", x);
1185|   showlist (The first, second, and third items.);
1186|   report (x>y, "x is %d but y is %d", x, y);
1187| }
1188|
1189| // Check long long types.
1190| #define BIG64 18446744073709551615ull
1191| #define BIG32 4294967295ul
1192| #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
1193| #if !BIG_OK
1194|   your preprocessor is broken;
1195| #endif
1196| #if BIG_OK
1197| #else
1198|   your preprocessor is broken;
1199| #endif
1200| static long long int bignum = -9223372036854775807LL;
1201| static unsigned long long int ubignum = BIG64;
1202|
1203| struct incomplete_array
1204| {
1205|   int datasize;
1206|   double data[];
1207| };
1208|
1209| struct named_init {
1210|   int number;
1211|   const wchar_t *name;
1212|   double average;
1213| };
1214|
1215| typedef const char *ccp;
1216|
1217| static inline int
1218| test_restrict (ccp restrict text)
1219| {
1220|   // See if C++-style comments work.
1221|   // Iterate through items via the restricted pointer.
1222|   // Also check for declarations in for loops.
1223|   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
1224|     continue;
1225|   return 0;
1226| }
1227|
1228| // Check varargs and va_copy.
1229| static void
1230| test_varargs (const char *format, ...)
1231| {
1232|   va_list args;
1233|   va_start (args, format);
1234|   va_list args_copy;
1235|   va_copy (args_copy, args);
1236|
1237|   const char *str;
1238|   int number;
1239|   float fnumber;
1240|
1241|   while (*format)
1242|     {
1243|       switch (*format++)
1244|       {
1245|       case 's': // string
1246|         str = va_arg (args_copy, const char *);
1247|         break;
1248|       case 'd': // int
1249|         number = va_arg (args_copy, int);
1250|         break;
1251|       case 'f': // float
1252|         fnumber = va_arg (args_copy, double);
1253|         break;
1254|       default:
1255|         break;
1256|       }
1257|     }
1258|   va_end (args_copy);
1259|   va_end (args);
1260| }
1261|
1262| int
1263| main ()
1264| {
1265|
1266|   // Check bool.
1267|   _Bool success = false;
1268|
1269|   // Check restrict.
1270|   if (test_restrict ("String literal") == 0)
1271|     success = true;
1272|   char *restrict newvar = "Another string";
1273|
1274|   // Check varargs.
1275|   test_varargs ("s, d' f .", "string", 65, 34.234);
1276|   test_varargs_macros ();
1277|
1278|   // Check flexible array members.
1279|   struct incomplete_array *ia =
1280|     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
1281|   ia->datasize = 10;
1282|   for (int i = 0; i < ia->datasize; ++i)
1283|     ia->data[i] = i * 1.234;
1284|
1285|   // Check named initializers.
1286|   struct named_init ni = {
1287|     .number = 34,
1288|     .name = L"Test wide string",
1289|     .average = 543.34343,
1290|   };
1291|
1292|   ni.number = 58;
1293|
1294|   int dynamic_array[ni.number];
1295|   dynamic_array[ni.number - 1] = 543;
1296|
1297|   // work around unused variable warnings
1298|   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
1299|         || dynamic_array[ni.number - 1] != 543);
1300|
1301|   ;
1302|   return 0;
1303| }
1304configure:5522: /usr/bin/clang++ -c -pipe -Os -std=c++14 -stdlib=libc++ -arch x86_64 -stdlib=libc++ -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/.. conftest.cpp >&5
1305conftest.cpp:76:29: error: expected ')'
1306test_restrict (ccp restrict text)
1307                            ^
1308conftest.cpp:76:15: note: to match this '('
1309test_restrict (ccp restrict text)
1310              ^
1311conftest.cpp:81:30: error: use of undeclared identifier 'text'
1312  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
1313                             ^
1314conftest.cpp:125:3: error: unknown type name '_Bool'
1315  _Bool success = false;
1316  ^
1317conftest.cpp:130:17: error: expected ';' at end of declaration
1318  char *restrict newvar = "Another string";
1319                ^
1320                ;
1321conftest.cpp:137:28: error: cannot initialize a variable of type 'struct incomplete_array *' with an rvalue of type 'void *'
1322  struct incomplete_array *ia =
1323                           ^
1324conftest.cpp:156:59: error: use of undeclared identifier 'newvar'
1325  return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
1326                                                          ^
13276 errors generated.
1328configure:5522: $? = 1
1329configure: failed program was:
1330| /* confdefs.h */
1331| #define PACKAGE_NAME "graph-tool"
1332| #define PACKAGE_TARNAME "graph-tool"
1333| #define PACKAGE_VERSION "2.13"
1334| #define PACKAGE_STRING "graph-tool 2.13"
1335| #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues"
1336| #define PACKAGE_URL "http://graph-tool.skewed.de"
1337| #define PACKAGE "graph-tool"
1338| #define VERSION "2.13"
1339| #define STDC_HEADERS 1
1340| #define HAVE_SYS_TYPES_H 1
1341| #define HAVE_SYS_STAT_H 1
1342| #define HAVE_STDLIB_H 1
1343| #define HAVE_STRING_H 1
1344| #define HAVE_MEMORY_H 1
1345| #define HAVE_STRINGS_H 1
1346| #define HAVE_INTTYPES_H 1
1347| #define HAVE_STDINT_H 1
1348| #define HAVE_UNISTD_H 1
1349| #define __EXTENSIONS__ 1
1350| #define _ALL_SOURCE 1
1351| #define _GNU_SOURCE 1
1352| #define _POSIX_PTHREAD_SEMANTICS 1
1353| #define _TANDEM_SOURCE 1
1354| /* end confdefs.h.  */
1355| #include <stdarg.h>
1356| #include <stdbool.h>
1357| #include <stdlib.h>
1358| #include <wchar.h>
1359| #include <stdio.h>
1360|
1361| // Check varargs macros.  These examples are taken from C99 6.10.3.5.
1362| #define debug(...) fprintf (stderr, __VA_ARGS__)
1363| #define showlist(...) puts (#__VA_ARGS__)
1364| #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
1365| static void
1366| test_varargs_macros (void)
1367| {
1368|   int x = 1234;
1369|   int y = 5678;
1370|   debug ("Flag");
1371|   debug ("X = %d\n", x);
1372|   showlist (The first, second, and third items.);
1373|   report (x>y, "x is %d but y is %d", x, y);
1374| }
1375|
1376| // Check long long types.
1377| #define BIG64 18446744073709551615ull
1378| #define BIG32 4294967295ul
1379| #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
1380| #if !BIG_OK
1381|   your preprocessor is broken;
1382| #endif
1383| #if BIG_OK
1384| #else
1385|   your preprocessor is broken;
1386| #endif
1387| static long long int bignum = -9223372036854775807LL;
1388| static unsigned long long int ubignum = BIG64;
1389|
1390| struct incomplete_array
1391| {
1392|   int datasize;
1393|   double data[];
1394| };
1395|
1396| struct named_init {
1397|   int number;
1398|   const wchar_t *name;
1399|   double average;
1400| };
1401|
1402| typedef const char *ccp;
1403|
1404| static inline int
1405| test_restrict (ccp restrict text)
1406| {
1407|   // See if C++-style comments work.
1408|   // Iterate through items via the restricted pointer.
1409|   // Also check for declarations in for loops.
1410|   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
1411|     continue;
1412|   return 0;
1413| }
1414|
1415| // Check varargs and va_copy.
1416| static void
1417| test_varargs (const char *format, ...)
1418| {
1419|   va_list args;
1420|   va_start (args, format);
1421|   va_list args_copy;
1422|   va_copy (args_copy, args);
1423|
1424|   const char *str;
1425|   int number;
1426|   float fnumber;
1427|
1428|   while (*format)
1429|     {
1430|       switch (*format++)
1431|       {
1432|       case 's': // string
1433|         str = va_arg (args_copy, const char *);
1434|         break;
1435|       case 'd': // int
1436|         number = va_arg (args_copy, int);
1437|         break;
1438|       case 'f': // float
1439|         fnumber = va_arg (args_copy, double);
1440|         break;
1441|       default:
1442|         break;
1443|       }
1444|     }
1445|   va_end (args_copy);
1446|   va_end (args);
1447| }
1448|
1449| int
1450| main ()
1451| {
1452|
1453|   // Check bool.
1454|   _Bool success = false;
1455|
1456|   // Check restrict.
1457|   if (test_restrict ("String literal") == 0)
1458|     success = true;
1459|   char *restrict newvar = "Another string";
1460|
1461|   // Check varargs.
1462|   test_varargs ("s, d' f .", "string", 65, 34.234);
1463|   test_varargs_macros ();
1464|
1465|   // Check flexible array members.
1466|   struct incomplete_array *ia =
1467|     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
1468|   ia->datasize = 10;
1469|   for (int i = 0; i < ia->datasize; ++i)
1470|     ia->data[i] = i * 1.234;
1471|
1472|   // Check named initializers.
1473|   struct named_init ni = {
1474|     .number = 34,
1475|     .name = L"Test wide string",
1476|     .average = 543.34343,
1477|   };
1478|
1479|   ni.number = 58;
1480|
1481|   int dynamic_array[ni.number];
1482|   dynamic_array[ni.number - 1] = 543;
1483|
1484|   // work around unused variable warnings
1485|   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
1486|         || dynamic_array[ni.number - 1] != 543);
1487|
1488|   ;
1489|   return 0;
1490| }
1491configure:5522: /usr/bin/clang++ -c -pipe -Os -std=c++14 -stdlib=libc++ -arch x86_64 -stdlib=libc++ -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/.. conftest.cpp >&5
1492conftest.cpp:76:29: error: expected ')'
1493test_restrict (ccp restrict text)
1494                            ^
1495conftest.cpp:76:15: note: to match this '('
1496test_restrict (ccp restrict text)
1497              ^
1498conftest.cpp:81:30: error: use of undeclared identifier 'text'
1499  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
1500                             ^
1501conftest.cpp:125:3: error: unknown type name '_Bool'
1502  _Bool success = false;
1503  ^
1504conftest.cpp:130:17: error: expected ';' at end of declaration
1505  char *restrict newvar = "Another string";
1506                ^
1507                ;
1508conftest.cpp:137:28: error: cannot initialize a variable of type 'struct incomplete_array *' with an rvalue of type 'void *'
1509  struct incomplete_array *ia =
1510                           ^
1511conftest.cpp:156:59: error: use of undeclared identifier 'newvar'
1512  return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
1513                                                          ^
15146 errors generated.
1515configure:5522: $? = 1
1516configure: failed program was:
1517| /* confdefs.h */
1518| #define PACKAGE_NAME "graph-tool"
1519| #define PACKAGE_TARNAME "graph-tool"
1520| #define PACKAGE_VERSION "2.13"
1521| #define PACKAGE_STRING "graph-tool 2.13"
1522| #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues"
1523| #define PACKAGE_URL "http://graph-tool.skewed.de"
1524| #define PACKAGE "graph-tool"
1525| #define VERSION "2.13"
1526| #define STDC_HEADERS 1
1527| #define HAVE_SYS_TYPES_H 1
1528| #define HAVE_SYS_STAT_H 1
1529| #define HAVE_STDLIB_H 1
1530| #define HAVE_STRING_H 1
1531| #define HAVE_MEMORY_H 1
1532| #define HAVE_STRINGS_H 1
1533| #define HAVE_INTTYPES_H 1
1534| #define HAVE_STDINT_H 1
1535| #define HAVE_UNISTD_H 1
1536| #define __EXTENSIONS__ 1
1537| #define _ALL_SOURCE 1
1538| #define _GNU_SOURCE 1
1539| #define _POSIX_PTHREAD_SEMANTICS 1
1540| #define _TANDEM_SOURCE 1
1541| /* end confdefs.h.  */
1542| #include <stdarg.h>
1543| #include <stdbool.h>
1544| #include <stdlib.h>
1545| #include <wchar.h>
1546| #include <stdio.h>
1547|
1548| // Check varargs macros.  These examples are taken from C99 6.10.3.5.
1549| #define debug(...) fprintf (stderr, __VA_ARGS__)
1550| #define showlist(...) puts (#__VA_ARGS__)
1551| #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
1552| static void
1553| test_varargs_macros (void)
1554| {
1555|   int x = 1234;
1556|   int y = 5678;
1557|   debug ("Flag");
1558|   debug ("X = %d\n", x);
1559|   showlist (The first, second, and third items.);
1560|   report (x>y, "x is %d but y is %d", x, y);
1561| }
1562|
1563| // Check long long types.
1564| #define BIG64 18446744073709551615ull
1565| #define BIG32 4294967295ul
1566| #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
1567| #if !BIG_OK
1568|   your preprocessor is broken;
1569| #endif
1570| #if BIG_OK
1571| #else
1572|   your preprocessor is broken;
1573| #endif
1574| static long long int bignum = -9223372036854775807LL;
1575| static unsigned long long int ubignum = BIG64;
1576|
1577| struct incomplete_array
1578| {
1579|   int datasize;
1580|   double data[];
1581| };
1582|
1583| struct named_init {
1584|   int number;
1585|   const wchar_t *name;
1586|   double average;
1587| };
1588|
1589| typedef const char *ccp;
1590|
1591| static inline int
1592| test_restrict (ccp restrict text)
1593| {
1594|   // See if C++-style comments work.
1595|   // Iterate through items via the restricted pointer.
1596|   // Also check for declarations in for loops.
1597|   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
1598|     continue;
1599|   return 0;
1600| }
1601|
1602| // Check varargs and va_copy.
1603| static void
1604| test_varargs (const char *format, ...)
1605| {
1606|   va_list args;
1607|   va_start (args, format);
1608|   va_list args_copy;
1609|   va_copy (args_copy, args);
1610|
1611|   const char *str;
1612|   int number;
1613|   float fnumber;
1614|
1615|   while (*format)
1616|     {
1617|       switch (*format++)
1618|       {
1619|       case 's': // string
1620|         str = va_arg (args_copy, const char *);
1621|         break;
1622|       case 'd': // int
1623|         number = va_arg (args_copy, int);
1624|         break;
1625|       case 'f': // float
1626|         fnumber = va_arg (args_copy, double);
1627|         break;
1628|       default:
1629|         break;
1630|       }
1631|     }
1632|   va_end (args_copy);
1633|   va_end (args);
1634| }
1635|
1636| int
1637| main ()
1638| {
1639|
1640|   // Check bool.
1641|   _Bool success = false;
1642|
1643|   // Check restrict.
1644|   if (test_restrict ("String literal") == 0)
1645|     success = true;
1646|   char *restrict newvar = "Another string";
1647|
1648|   // Check varargs.
1649|   test_varargs ("s, d' f .", "string", 65, 34.234);
1650|   test_varargs_macros ();
1651|
1652|   // Check flexible array members.
1653|   struct incomplete_array *ia =
1654|     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
1655|   ia->datasize = 10;
1656|   for (int i = 0; i < ia->datasize; ++i)
1657|     ia->data[i] = i * 1.234;
1658|
1659|   // Check named initializers.
1660|   struct named_init ni = {
1661|     .number = 34,
1662|     .name = L"Test wide string",
1663|     .average = 543.34343,
1664|   };
1665|
1666|   ni.number = 58;
1667|
1668|   int dynamic_array[ni.number];
1669|   dynamic_array[ni.number - 1] = 543;
1670|
1671|   // work around unused variable warnings
1672|   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
1673|         || dynamic_array[ni.number - 1] != 543);
1674|
1675|   ;
1676|   return 0;
1677| }
1678configure:5538: result: unsupported
1679configure:5548: checking for /usr/bin/clang option to accept ISO C89
1680configure:5624: result: none needed
1681configure:5643: checking for /usr/bin/clang option to accept ISO Standard C
1682configure:5654: result: none needed
1683configure:5667: checking how to run the C++ preprocessor
1684configure:5694: /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
1685configure:5694: $? = 0
1686configure:5708: /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
1687conftest.cpp:26:10: fatal error: 'ac_nonexistent.h' file not found
1688#include <ac_nonexistent.h>
1689         ^
16901 error generated.
1691configure:5708: $? = 1
1692configure: failed program was:
1693| /* confdefs.h */
1694| #define PACKAGE_NAME "graph-tool"
1695| #define PACKAGE_TARNAME "graph-tool"
1696| #define PACKAGE_VERSION "2.13"
1697| #define PACKAGE_STRING "graph-tool 2.13"
1698| #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues"
1699| #define PACKAGE_URL "http://graph-tool.skewed.de"
1700| #define PACKAGE "graph-tool"
1701| #define VERSION "2.13"
1702| #define STDC_HEADERS 1
1703| #define HAVE_SYS_TYPES_H 1
1704| #define HAVE_SYS_STAT_H 1
1705| #define HAVE_STDLIB_H 1
1706| #define HAVE_STRING_H 1
1707| #define HAVE_MEMORY_H 1
1708| #define HAVE_STRINGS_H 1
1709| #define HAVE_INTTYPES_H 1
1710| #define HAVE_STDINT_H 1
1711| #define HAVE_UNISTD_H 1
1712| #define __EXTENSIONS__ 1
1713| #define _ALL_SOURCE 1
1714| #define _GNU_SOURCE 1
1715| #define _POSIX_PTHREAD_SEMANTICS 1
1716| #define _TANDEM_SOURCE 1
1717| /* end confdefs.h.  */
1718| #include <ac_nonexistent.h>
1719configure:5733: result: /usr/bin/clang++ -E
1720configure:5753: /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
1721configure:5753: $? = 0
1722configure:5767: /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
1723conftest.cpp:26:10: fatal error: 'ac_nonexistent.h' file not found
1724#include <ac_nonexistent.h>
1725         ^
17261 error generated.
1727configure:5767: $? = 1
1728configure: failed program was:
1729| /* confdefs.h */
1730| #define PACKAGE_NAME "graph-tool"
1731| #define PACKAGE_TARNAME "graph-tool"
1732| #define PACKAGE_VERSION "2.13"
1733| #define PACKAGE_STRING "graph-tool 2.13"
1734| #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues"
1735| #define PACKAGE_URL "http://graph-tool.skewed.de"
1736| #define PACKAGE "graph-tool"
1737| #define VERSION "2.13"
1738| #define STDC_HEADERS 1
1739| #define HAVE_SYS_TYPES_H 1
1740| #define HAVE_SYS_STAT_H 1
1741| #define HAVE_STDLIB_H 1
1742| #define HAVE_STRING_H 1
1743| #define HAVE_MEMORY_H 1
1744| #define HAVE_STRINGS_H 1
1745| #define HAVE_INTTYPES_H 1
1746| #define HAVE_STDINT_H 1
1747| #define HAVE_UNISTD_H 1
1748| #define __EXTENSIONS__ 1
1749| #define _ALL_SOURCE 1
1750| #define _GNU_SOURCE 1
1751| #define _POSIX_PTHREAD_SEMANTICS 1
1752| #define _TANDEM_SOURCE 1
1753| /* end confdefs.h.  */
1754| #include <ac_nonexistent.h>
1755configure:5796: checking for ANSI C header files
1756configure:5900: result: yes
1757configure:5986: checking how to print strings
1758configure:6013: result: printf
1759configure:6034: checking for a sed that does not truncate output
1760configure:6098: result: /usr/bin/sed
1761configure:6116: checking for fgrep
1762configure:6178: result: /opt/local/bin/grep -F
1763configure:6213: checking for ld used by /usr/bin/clang
1764configure:6280: result: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
1765configure:6287: checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld
1766configure:6302: result: no
1767configure:6314: checking for BSD- or MS-compatible name lister (nm)
1768configure:6368: result: /opt/local/bin/nm
1769configure:6498: checking the name lister (/opt/local/bin/nm) interface
1770configure:6505: /usr/bin/clang++ -c -pipe -Os -std=c++14 -stdlib=libc++ -arch x86_64 -stdlib=libc++ -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/.. conftest.cpp >&5
1771configure:6508: /opt/local/bin/nm "conftest.o"
1772configure:6511: output
17730000000000000000 S _some_variable
1774configure:6518: result: BSD nm
1775configure:6521: checking whether ln -s works
1776configure:6525: result: yes
1777configure:6533: checking the maximum length of command line arguments
1778configure:6664: result: 196608
1779configure:6712: checking how to convert x86_64-apple-darwin15.3.0 file names to x86_64-apple-darwin15.3.0 format
1780configure:6752: result: func_convert_file_noop
1781configure:6759: checking how to convert x86_64-apple-darwin15.3.0 file names to toolchain format
1782configure:6779: result: func_convert_file_noop
1783configure:6786: checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files
1784configure:6793: result: -r
1785configure:6867: checking for objdump
1786configure:6897: result: no
1787configure:6926: checking how to recognize dependent libraries
1788configure:7126: result: pass_all
1789configure:7211: checking for dlltool
1790configure:7241: result: no
1791configure:7271: checking how to associate runtime and link libraries
1792configure:7298: result: printf %s\n
1793configure:7358: checking for ar
1794configure:7374: found /opt/local/bin/ar
1795configure:7385: result: ar
1796configure:7422: checking for archiver @FILE support
1797configure:7439: /usr/bin/clang++ -c -pipe -Os -std=c++14 -stdlib=libc++ -arch x86_64 -stdlib=libc++ -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/.. conftest.cpp >&5
1798configure:7439: $? = 0
1799configure:7442: ar cru libconftest.a @conftest.lst >&5
1800ar: @conftest.lst: No such file or directory
1801configure:7445: $? = 1
1802configure:7465: result: no
1803configure:7523: checking for strip
1804configure:7539: found /opt/local/bin/strip
1805configure:7550: result: strip
1806configure:7622: checking for ranlib
1807configure:7638: found /opt/local/bin/ranlib
1808configure:7649: result: ranlib
1809configure:7751: checking command to parse /opt/local/bin/nm output from /usr/bin/clang object
1810configure:7904: /usr/bin/clang++ -c -pipe -Os -std=c++14 -stdlib=libc++ -arch x86_64 -stdlib=libc++ -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/.. conftest.cpp >&5
1811configure:7907: $? = 0
1812configure:7911: /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
1813configure:7914: $? = 0
1814cannot find nm_test_var in conftest.nm
1815configure:7904: /usr/bin/clang++ -c -pipe -Os -std=c++14 -stdlib=libc++ -arch x86_64 -stdlib=libc++ -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/.. conftest.cpp >&5
1816configure:7907: $? = 0
1817configure:7911: /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
1818configure:7914: $? = 0
1819configure:7980: /usr/bin/clang++ -o conftest -pipe -Os -std=c++14 -stdlib=libc++ -arch x86_64 -stdlib=libc++ -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
1820configure:7983: $? = 0
1821configure:8021: result: ok
1822configure:8068: checking for sysroot
1823configure:8098: result: no
1824configure:8105: checking for a working dd
1825configure:8143: result: /bin/dd
1826configure:8147: checking how to truncate binary pipes
1827configure:8162: result: /bin/dd bs=4096 count=1
1828configure:8491: checking for mt
1829configure:8521: result: no
1830configure:8541: checking if : is a manifest tool
1831configure:8547: : '-?'
1832configure:8555: result: no
1833configure:8611: checking for dsymutil
1834configure:8627: found /usr/bin/dsymutil
1835configure:8638: result: dsymutil
1836configure:8703: checking for nmedit
1837configure:8719: found /opt/local/bin/nmedit
1838configure:8730: result: nmedit
1839configure:8795: checking for lipo
1840configure:8811: found /opt/local/bin/lipo
1841configure:8822: result: lipo
1842configure:8887: checking for otool
1843configure:8903: found /opt/local/bin/otool
1844configure:8914: result: otool
1845configure:8979: checking for otool64
1846configure:9009: result: no
1847configure:9054: checking for -single_module linker flag
1848/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
1849configure:9087: result: yes
1850configure:9090: checking for -exported_symbols_list linker flag
1851configure:9110: /usr/bin/clang++ -o conftest -pipe -Os -std=c++14 -stdlib=libc++ -arch x86_64 -stdlib=libc++ -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
1852configure:9110: $? = 0
1853configure:9120: result: yes
1854configure:9123: checking for -force_load linker flag
1855/usr/bin/clang -pipe -Os -arch x86_64 -c -o conftest.o conftest.c
1856ar cru libconftest.a conftest.o
1857ranlib libconftest.a
1858/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
1859configure:9155: result: yes
1860configure:9229: checking for dlfcn.h
1861configure:9229: /usr/bin/clang++ -c -pipe -Os -std=c++14 -stdlib=libc++ -arch x86_64 -stdlib=libc++ -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/.. conftest.cpp >&5
1862configure:9229: $? = 0
1863configure:9229: result: yes
1864configure:9465: checking for objdir
1865configure:9480: result: .libs
1866configure:9740: checking if /usr/bin/clang supports -fno-rtti -fno-exceptions
1867configure:9758: /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
1868configure:9762: $? = 0
1869configure:9775: result: yes
1870configure:10133: checking for /usr/bin/clang option to produce PIC
1871configure:10140: result: -fno-common -DPIC
1872configure:10148: checking if /usr/bin/clang PIC flag -fno-common -DPIC works
1873configure:10166: /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
1874configure:10170: $? = 0
1875configure:10183: result: yes
1876configure:10212: checking if /usr/bin/clang static flag -static works
1877configure:10240: result: no
1878configure:10255: checking if /usr/bin/clang supports -c -o file.o
1879configure:10276: /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
1880configure:10280: $? = 0
1881configure:10302: result: yes
1882configure:10310: checking if /usr/bin/clang supports -c -o file.o
1883configure:10357: result: yes
1884configure:10390: checking whether the /usr/bin/clang linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries
1885configure:11649: result: yes
1886configure:11889: checking dynamic linker characteristics
1887configure:12707: result: darwin15.3.0 dyld
1888configure:12829: checking how to hardcode library paths into programs
1889configure:12854: result: immediate
1890configure:13402: checking whether stripping libraries is possible
1891configure:13416: result: yes
1892configure:13442: checking if libtool supports shared libraries
1893configure:13444: result: yes
1894configure:13447: checking whether to build shared libraries
1895configure:13472: result: yes
1896configure:13475: checking whether to build static libraries
1897configure:13479: result: no
1898configure:13502: checking how to run the C++ preprocessor
1899configure:13568: result: /usr/bin/clang++ -E
1900configure:13588: /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
1901configure:13588: $? = 0
1902configure:13602: /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
1903conftest.cpp:29:10: fatal error: 'ac_nonexistent.h' file not found
1904#include <ac_nonexistent.h>
1905         ^
19061 error generated.
1907configure:13602: $? = 1
1908configure: failed program was:
1909| /* confdefs.h */
1910| #define PACKAGE_NAME "graph-tool"
1911| #define PACKAGE_TARNAME "graph-tool"
1912| #define PACKAGE_VERSION "2.13"
1913| #define PACKAGE_STRING "graph-tool 2.13"
1914| #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues"
1915| #define PACKAGE_URL "http://graph-tool.skewed.de"
1916| #define PACKAGE "graph-tool"
1917| #define VERSION "2.13"
1918| #define STDC_HEADERS 1
1919| #define HAVE_SYS_TYPES_H 1
1920| #define HAVE_SYS_STAT_H 1
1921| #define HAVE_STDLIB_H 1
1922| #define HAVE_STRING_H 1
1923| #define HAVE_MEMORY_H 1
1924| #define HAVE_STRINGS_H 1
1925| #define HAVE_INTTYPES_H 1
1926| #define HAVE_STDINT_H 1
1927| #define HAVE_UNISTD_H 1
1928| #define __EXTENSIONS__ 1
1929| #define _ALL_SOURCE 1
1930| #define _GNU_SOURCE 1
1931| #define _POSIX_PTHREAD_SEMANTICS 1
1932| #define _TANDEM_SOURCE 1
1933| #define STDC_HEADERS 1
1934| #define HAVE_DLFCN_H 1
1935| #define LT_OBJDIR ".libs/"
1936| /* end confdefs.h.  */
1937| #include <ac_nonexistent.h>
1938configure:13764: checking for ld used by /usr/bin/clang++
1939configure:13831: result: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
1940configure:13838: checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld
1941configure:13853: result: no
1942configure:13908: checking whether the /usr/bin/clang++ linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries
1943configure:14981: result: yes
1944configure:15017: /usr/bin/clang++ -c -pipe -Os -std=c++14 -stdlib=libc++ -arch x86_64 -stdlib=libc++ -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/.. conftest.cpp >&5
1945configure:15020: $? = 0
1946configure:15501: checking for /usr/bin/clang++ option to produce PIC
1947configure:15508: result: -fno-common -DPIC
1948configure:15516: checking if /usr/bin/clang++ PIC flag -fno-common -DPIC works
1949configure:15534: /usr/bin/clang++ -c -pipe -Os -std=c++14 -stdlib=libc++ -arch x86_64 -stdlib=libc++ -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
1950configure:15538: $? = 0
1951configure:15551: result: yes
1952configure:15574: checking if /usr/bin/clang++ static flag -static works
1953configure:15602: result: no
1954configure:15614: checking if /usr/bin/clang++ supports -c -o file.o
1955configure:15635: /usr/bin/clang++ -c -pipe -Os -std=c++14 -stdlib=libc++ -arch x86_64 -stdlib=libc++ -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
1956configure:15639: $? = 0
1957configure:15661: result: yes
1958configure:15666: checking if /usr/bin/clang++ supports -c -o file.o
1959configure:15713: result: yes
1960configure:15743: checking whether the /usr/bin/clang++ linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries
1961configure:15783: result: yes
1962configure:15924: checking dynamic linker characteristics
1963configure:16669: result: darwin15.3.0 dyld
1964configure:16734: checking how to hardcode library paths into programs
1965configure:16759: result: immediate
1966configure:16876: checking for pkg-config
1967configure:16894: found /opt/local/bin/pkg-config
1968configure:16906: result: /opt/local/bin/pkg-config
1969configure:16931: checking pkg-config is at least version 0.9.0
1970configure:16934: result: yes
1971configure:16965: checking whether /usr/bin/clang++ supports C++14 features by default
1972configure:17379: /usr/bin/clang++ -c -pipe -Os -std=c++14 -stdlib=libc++ -arch x86_64 -stdlib=libc++ -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/.. conftest.cpp >&5
1973configure:17379: $? = 0
1974configure:17386: result: yes
1975configure:17860: checking whether to enable debug info
1976configure:17880: result: no
1977configure:17890: checking whether to enable function inlining...
1978configure:17910: result: yes
1979configure:17925: checking whether to enable optimizations
1980configure:17941: result: yes
1981configure:17947: checking whether to enable symbol visibility manipulation
1982configure:17963: result: yes
1983configure:17989: checking whether to enable parallel algorithms with openmp
1984configure:18010: result: no
1985configure:18018: checking whether to enable cairo drawing
1986configure:18032: result: yes
1987configure:18044: checking for main in -lm
1988configure:18063: /usr/bin/clang++ -o conftest -Wall -Wextra -ftemplate-backtrace-limit=0 -pipe -Os -std=c++14 -stdlib=libc++ -arch x86_64 -stdlib=libc++ -DNDEBUG -ftemplate-depth-250 -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
1989configure:18063: $? = 0
1990configure:18072: result: yes
1991configure:18084: checking for main in -lbz2
1992configure:18103: /usr/bin/clang++ -o conftest -Wall -Wextra -ftemplate-backtrace-limit=0 -pipe -Os -std=c++14 -stdlib=libc++ -arch x86_64 -stdlib=libc++ -DNDEBUG -ftemplate-depth-250 -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
1993configure:18103: $? = 0
1994configure:18112: result: yes
1995configure:18124: checking for main in -lexpat
1996configure:18143: /usr/bin/clang++ -o conftest -Wall -Wextra -ftemplate-backtrace-limit=0 -pipe -Os -std=c++14 -stdlib=libc++ -arch x86_64 -stdlib=libc++ -DNDEBUG -ftemplate-depth-250 -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
1997configure:18143: $? = 0
1998configure:18152: result: yes
1999configure:18175: checking whether /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 version is >= 2.6
2000configure:18186: /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)
2001configure:18189: $? = 0
2002configure:18191: result: yes
2003configure:18284: checking for /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 version
2004configure:18291: result: 2.7
2005configure:18303: checking for /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 platform
2006configure:18310: result: darwin
2007configure:18336: checking for /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 script directory
2008configure:18371: result: ${prefix}/lib/python2.7/site-packages
2009configure:18380: checking for /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 extension module directory
2010configure:18415: result: ${exec_prefix}/lib/python2.7/site-packages
2011configure:18440: checking for python2.7
2012configure:18470: result: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
2013configure:18486: checking for a version of Python >= '2.1.0'
2014configure:18512: result: yes
2015configure:18520: checking for a version of Python == '2.7.11'
2016configure:18526: result: yes
2017configure:18543: checking for the distutils Python package
2018configure:18547: result: yes
2019configure:18561: checking for Python include path
2020configure:18577: result: -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7
2021configure:18584: checking for Python library path
2022configure:18661: result: -L/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib -lpython2.7
2023configure:18668: checking for Python site-packages path
2024configure:18674: result: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages
2025configure:18681: checking python extra libraries
2026configure:18688: result: -L/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/.. -lpython2.7
2027configure:18695: checking python extra linking flags
2028configure:18702: result: -u _PyMac_Error Python.framework/Versions/2.7/Python
2029configure:18709: checking consistency of all components of python development environment
2030configure:18737: /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 -L/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/.. -lpython2.7 conftest.c -lexpat -lbz2 -lm  -L/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib -lpython2.7 -u _PyMac_Error Python.framework/Versions/2.7/Python -u _PyMac_Error Python.framework/Versions/2.7/Python >&5
2031clang: error: no such file or directory: 'Python.framework/Versions/2.7/Python'
2032clang: error: no such file or directory: 'Python.framework/Versions/2.7/Python'
2033configure:18737: $? = 1
2034configure: failed program was:
2035| /* confdefs.h */
2036| #define PACKAGE_NAME "graph-tool"
2037| #define PACKAGE_TARNAME "graph-tool"
2038| #define PACKAGE_VERSION "2.13"
2039| #define PACKAGE_STRING "graph-tool 2.13"
2040| #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues"
2041| #define PACKAGE_URL "http://graph-tool.skewed.de"
2042| #define PACKAGE "graph-tool"
2043| #define VERSION "2.13"
2044| #define STDC_HEADERS 1
2045| #define HAVE_SYS_TYPES_H 1
2046| #define HAVE_SYS_STAT_H 1
2047| #define HAVE_STDLIB_H 1
2048| #define HAVE_STRING_H 1
2049| #define HAVE_MEMORY_H 1
2050| #define HAVE_STRINGS_H 1
2051| #define HAVE_INTTYPES_H 1
2052| #define HAVE_STDINT_H 1
2053| #define HAVE_UNISTD_H 1
2054| #define __EXTENSIONS__ 1
2055| #define _ALL_SOURCE 1
2056| #define _GNU_SOURCE 1
2057| #define _POSIX_PTHREAD_SEMANTICS 1
2058| #define _TANDEM_SOURCE 1
2059| #define STDC_HEADERS 1
2060| #define HAVE_DLFCN_H 1
2061| #define LT_OBJDIR ".libs/"
2062| #define OPENMP_MIN_THRESH 300
2063| #define HAVE_LIBM 1
2064| #define HAVE_LIBBZ2 1
2065| #define HAVE_LIBEXPAT 1
2066| #define HAVE_PYTHON "2.7"
2067| /* end confdefs.h.  */
2068|
2069|               #include <Python.h>
2070| int
2071| main ()
2072| {
2073| Py_Initialize();
2074|   ;
2075|   return 0;
2076| }
2077|
2078configure:18755: result: no
2079configure:18759: 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.13':
2080configure:18761: error:
2081  Could not link test program to Python. Maybe the main Python library has been
2082  installed in some non-standard library path. If so, pass it to configure,
2083  via the LIBS environment variable.
2084  Example: ./configure LIBS="-L/usr/non-standard-path/python/lib"
2085  ============================================================================
2086   ERROR!
2087   You probably have to install the development version of the Python package
2088   for your distribution.  The exact name of this package varies among them.
2089  ============================================================================
2090
2091See `config.log' for more details
2092
2093## ---------------- ##
2094## Cache variables. ##
2095## ---------------- ##
2096
2097ac_cv_build=x86_64-apple-darwin15.3.0
2098ac_cv_c_compiler_gnu=yes
2099ac_cv_cxx_compiler_gnu=yes
2100ac_cv_env_CAIROMM_CFLAGS_set=
2101ac_cv_env_CAIROMM_CFLAGS_value=
2102ac_cv_env_CAIROMM_LIBS_set=
2103ac_cv_env_CAIROMM_LIBS_value=
2104ac_cv_env_CCC_set=
2105ac_cv_env_CCC_value=
2106ac_cv_env_CC_set=set
2107ac_cv_env_CC_value=/usr/bin/clang
2108ac_cv_env_CFLAGS_set=set
2109ac_cv_env_CFLAGS_value='-pipe -Os -arch x86_64'
2110ac_cv_env_CPPFLAGS_set=set
2111ac_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/..'
2112ac_cv_env_CPP_set=
2113ac_cv_env_CPP_value=
2114ac_cv_env_CXXCPP_set=
2115ac_cv_env_CXXCPP_value=
2116ac_cv_env_CXXFLAGS_set=set
2117ac_cv_env_CXXFLAGS_value='-pipe -Os -std=c++14 -stdlib=libc++ -arch x86_64 -stdlib=libc++'
2118ac_cv_env_CXX_set=set
2119ac_cv_env_CXX_value=/usr/bin/clang++
2120ac_cv_env_LDFLAGS_set=set
2121ac_cv_env_LDFLAGS_value='-L/opt/local/lib -Wl,-headerpad_max_install_names -L/opt/local/lib -arch x86_64'
2122ac_cv_env_LIBS_set=
2123ac_cv_env_LIBS_value=
2124ac_cv_env_LT_SYS_LIBRARY_PATH_set=
2125ac_cv_env_LT_SYS_LIBRARY_PATH_value=
2126ac_cv_env_PKG_CONFIG_LIBDIR_set=
2127ac_cv_env_PKG_CONFIG_LIBDIR_value=
2128ac_cv_env_PKG_CONFIG_PATH_set=
2129ac_cv_env_PKG_CONFIG_PATH_value=
2130ac_cv_env_PKG_CONFIG_set=
2131ac_cv_env_PKG_CONFIG_value=
2132ac_cv_env_PYTHON_VERSION_set=set
2133ac_cv_env_PYTHON_VERSION_value=2.7
2134ac_cv_env_PYTHON_set=set
2135ac_cv_env_PYTHON_value=/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
2136ac_cv_env_SPARSEHASH_CFLAGS_set=
2137ac_cv_env_SPARSEHASH_CFLAGS_value=
2138ac_cv_env_SPARSEHASH_LIBS_set=
2139ac_cv_env_SPARSEHASH_LIBS_value=
2140ac_cv_env_build_alias_set=
2141ac_cv_env_build_alias_value=
2142ac_cv_env_host_alias_set=
2143ac_cv_env_host_alias_value=
2144ac_cv_env_target_alias_set=
2145ac_cv_env_target_alias_value=
2146ac_cv_header_dlfcn_h=yes
2147ac_cv_header_inttypes_h=yes
2148ac_cv_header_memory_h=yes
2149ac_cv_header_minix_config_h=no
2150ac_cv_header_stdc=yes
2151ac_cv_header_stdint_h=yes
2152ac_cv_header_stdlib_h=yes
2153ac_cv_header_string_h=yes
2154ac_cv_header_strings_h=yes
2155ac_cv_header_sys_stat_h=yes
2156ac_cv_header_sys_types_h=yes
2157ac_cv_header_unistd_h=yes
2158ac_cv_host=x86_64-apple-darwin15.3.0
2159ac_cv_lib_bz2_main=yes
2160ac_cv_lib_expat_main=yes
2161ac_cv_lib_m_main=yes
2162ac_cv_objext=o
2163ac_cv_path_EGREP='/opt/local/bin/grep -E'
2164ac_cv_path_FGREP='/opt/local/bin/grep -F'
2165ac_cv_path_GREP=/opt/local/bin/grep
2166ac_cv_path_PYTHON=/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
2167ac_cv_path_SED=/usr/bin/sed
2168ac_cv_path_ac_pt_PKG_CONFIG=/opt/local/bin/pkg-config
2169ac_cv_path_lt_DD=/bin/dd
2170ac_cv_path_mkdir=/opt/local/bin/gmkdir
2171ac_cv_prog_AWK=awk
2172ac_cv_prog_CPP='/usr/bin/clang -E'
2173ac_cv_prog_CXXCPP='/usr/bin/clang++ -E'
2174ac_cv_prog_ac_ct_AR=ar
2175ac_cv_prog_ac_ct_CC=/usr/bin/clang
2176ac_cv_prog_ac_ct_DSYMUTIL=dsymutil
2177ac_cv_prog_ac_ct_LIPO=lipo
2178ac_cv_prog_ac_ct_NMEDIT=nmedit
2179ac_cv_prog_ac_ct_OTOOL=otool
2180ac_cv_prog_ac_ct_RANLIB=ranlib
2181ac_cv_prog_ac_ct_STRIP=strip
2182ac_cv_prog_cc_c89=
2183ac_cv_prog_cc_c99=no
2184ac_cv_prog_cc_g=yes
2185ac_cv_prog_cc_stdc=
2186ac_cv_prog_cxx_g=yes
2187ac_cv_prog_make_make_set=yes
2188ac_cv_safe_to_define___extensions__=yes
2189ac_cv_search_strerror='none required'
2190ac_cv_target=x86_64-apple-darwin15.3.0
2191am_cv_CC_dependencies_compiler_type=gcc3
2192am_cv_CXX_dependencies_compiler_type=gcc3
2193am_cv_make_support_nested_variables=yes
2194am_cv_prog_cc_c_o=yes
2195am_cv_python_platform=darwin
2196am_cv_python_pyexecdir='${exec_prefix}/lib/python2.7/site-packages'
2197am_cv_python_pythondir='${prefix}/lib/python2.7/site-packages'
2198am_cv_python_version=2.7
2199ax_cv_cxx_compile_cxx14=yes
2200lt_cv_apple_cc_single_mod=yes
2201lt_cv_ar_at_file=no
2202lt_cv_deplibs_check_method=pass_all
2203lt_cv_file_magic_cmd='$MAGIC_CMD'
2204lt_cv_file_magic_test_file=
2205lt_cv_ld_exported_symbols_list=yes
2206lt_cv_ld_force_load=yes
2207lt_cv_ld_reload_flag=-r
2208lt_cv_nm_interface='BSD nm'
2209lt_cv_objdir=.libs
2210lt_cv_path_LD=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
2211lt_cv_path_LDCXX=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
2212lt_cv_path_NM=/opt/local/bin/nm
2213lt_cv_path_mainfest_tool=no
2214lt_cv_prog_compiler_c_o=yes
2215lt_cv_prog_compiler_c_o_CXX=yes
2216lt_cv_prog_compiler_pic='-fno-common -DPIC'
2217lt_cv_prog_compiler_pic_CXX='-fno-common -DPIC'
2218lt_cv_prog_compiler_pic_works=yes
2219lt_cv_prog_compiler_pic_works_CXX=yes
2220lt_cv_prog_compiler_rtti_exceptions=yes
2221lt_cv_prog_compiler_static_works=no
2222lt_cv_prog_compiler_static_works_CXX=no
2223lt_cv_prog_gnu_ld=no
2224lt_cv_prog_gnu_ldcxx=no
2225lt_cv_sharedlib_from_linklib_cmd='printf %s\n'
2226lt_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'\'''
2227lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \(.*\) .*$/  {"\1", (void *) 0},/p'\'' -e '\''s/^[BCDEGRST][BCDEGRST]* .* \(.*\)$/  {"\1", (void *) \&\1},/p'\'''
2228lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \(.*\) .*$/  {"\1", (void *) 0},/p'\'' -e '\''s/^[BCDEGRST][BCDEGRST]* .* \(lib.*\)$/  {"\1", (void *) \&\1},/p'\'' -e '\''s/^[BCDEGRST][BCDEGRST]* .* \(.*\)$/  {"lib\1", (void *) \&\1},/p'\'''
2229lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[BCDEGRST][BCDEGRST]* .* \(.*\)$/extern char \1;/p'\'''
2230lt_cv_sys_global_symbol_to_import=
2231lt_cv_sys_max_cmd_len=196608
2232lt_cv_to_host_file_cmd=func_convert_file_noop
2233lt_cv_to_tool_file_cmd=func_convert_file_noop
2234lt_cv_truncate_bin='/bin/dd bs=4096 count=1'
2235
2236## ----------------- ##
2237## Output variables. ##
2238## ----------------- ##
2239
2240ACLOCAL='${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.13/missing aclocal-1.15'
2241AMDEPBACKSLASH='\'
2242AMDEP_FALSE='#'
2243AMDEP_TRUE=''
2244AMTAR='$${TAR-tar}'
2245AM_BACKSLASH='\'
2246AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2247AM_DEFAULT_VERBOSITY='0'
2248AM_V='$(V)'
2249AR='ar'
2250AUTOCONF='${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.13/missing autoconf'
2251AUTOHEADER='${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.13/missing autoheader'
2252AUTOMAKE='${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.13/missing automake-1.15'
2253AWK='awk'
2254BOOST_COROUTINE_LIB=''
2255BOOST_CPPFLAGS=''
2256BOOST_GRAPH_LIB=''
2257BOOST_IOSTREAMS_LIB=''
2258BOOST_LDFLAGS=''
2259BOOST_PYTHON_LIB=''
2260BOOST_REGEX_LIB=''
2261CAIROMM_CFLAGS=''
2262CAIROMM_LIBS=''
2263CC='/usr/bin/clang'
2264CCDEPMODE='depmode=gcc3'
2265CFLAGS='-pipe -Os -arch x86_64'
2266CGAL_FLAGS=''
2267CGAL_LIBADD=''
2268CPP='/usr/bin/clang -E'
2269CPPFLAGS='-I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/..'
2270CXX='/usr/bin/clang++'
2271CXXCPP='/usr/bin/clang++ -E'
2272CXXDEPMODE='depmode=gcc3'
2273CXXFLAGS='-Wall -Wextra -ftemplate-backtrace-limit=0 -pipe -Os -std=c++14 -stdlib=libc++ -arch x86_64 -stdlib=libc++ -DNDEBUG -ftemplate-depth-250 -Wno-deprecated -Wno-unknown-pragmas -O3 -fvisibility=default -fvisibility-inlines-hidden -Wno-unknown-pragmas'
2274CYGPATH_W='echo'
2275DEFS=''
2276DEPDIR='.deps'
2277DLLTOOL='false'
2278DSYMUTIL='dsymutil'
2279DUMPBIN=''
2280ECHO_C='\c'
2281ECHO_N=''
2282ECHO_T=''
2283EGREP='/opt/local/bin/grep -E'
2284EXEEXT=''
2285FGREP='/opt/local/bin/grep -F'
2286GRAPH_TOOL_VERSION_MAJOR='2'
2287GRAPH_TOOL_VERSION_MINOR='13'
2288GREP='/opt/local/bin/grep'
2289HAVE_CXX14=''
2290INSTALL_DATA='${INSTALL} -m 644'
2291INSTALL_PROGRAM='${INSTALL}'
2292INSTALL_SCRIPT='${INSTALL}'
2293INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
2294LD='/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld'
2295LDFLAGS='-L/opt/local/lib -Wl,-headerpad_max_install_names -L/opt/local/lib -arch x86_64'
2296LIBOBJS=''
2297LIBS='-lexpat -lbz2 -lm '
2298LIBTOOL='$(SHELL) $(top_builddir)/libtool'
2299LIPO='lipo'
2300LN_S='ln -s'
2301LTLIBOBJS=''
2302LT_SYS_LIBRARY_PATH=''
2303MAKEINFO='${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.13/missing makeinfo'
2304MANIFEST_TOOL=':'
2305MKDIR_P='/opt/local/bin/gmkdir -p'
2306MOD_CPPFLAGS=''
2307MOD_DIR=''
2308MOD_LDFLAGS=''
2309MOD_LIBADD=''
2310NM='/opt/local/bin/nm'
2311NMEDIT='nmedit'
2312NO_INLINE_FALSE=''
2313NO_INLINE_TRUE='#'
2314NO_PREFIX_PACKAGE_DATA_DIR=''
2315NO_PREFIX_PACKAGE_DOC_DIR=''
2316OBJDUMP='false'
2317OBJEXT='o'
2318OPENMP_LDFLAGS=''
2319OTOOL64=':'
2320OTOOL='otool'
2321PACKAGE='graph-tool'
2322PACKAGE_BUGREPORT='http://graph-tool.skewed.de/issues'
2323PACKAGE_DATA_DIR=''
2324PACKAGE_DOC_DIR=''
2325PACKAGE_NAME='graph-tool'
2326PACKAGE_STRING='graph-tool 2.13'
2327PACKAGE_TARNAME='graph-tool'
2328PACKAGE_URL='http://graph-tool.skewed.de'
2329PACKAGE_VERSION='2.13'
2330PATH_SEPARATOR=':'
2331PKG_CONFIG='/opt/local/bin/pkg-config'
2332PKG_CONFIG_LIBDIR=''
2333PKG_CONFIG_PATH=''
2334PYTHON='/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7'
2335PYTHON_CPPFLAGS='-I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7'
2336PYTHON_EXEC_PREFIX='${exec_prefix}'
2337PYTHON_EXTRA_LDFLAGS='-L/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/.. -lpython2.7'
2338PYTHON_EXTRA_LIBS='-u _PyMac_Error Python.framework/Versions/2.7/Python'
2339PYTHON_FULL_VERSION='2.7.11'
2340PYTHON_LIBS='-L/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib -lpython2.7'
2341PYTHON_PLATFORM='darwin'
2342PYTHON_PREFIX='${prefix}'
2343PYTHON_SITE_PKG='/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages'
2344PYTHON_VERSION='2.7'
2345RANLIB='ranlib'
2346SED='/usr/bin/sed'
2347SET_MAKE=''
2348SHELL='/bin/sh'
2349SPARSEHASH_CFLAGS=''
2350SPARSEHASH_LIBS=''
2351STRIP='strip'
2352VERSION='2.13'
2353ac_ct_AR='ar'
2354ac_ct_CC='/usr/bin/clang'
2355ac_ct_CXX=''
2356ac_ct_DUMPBIN=''
2357am__EXEEXT_FALSE=''
2358am__EXEEXT_TRUE=''
2359am__fastdepCC_FALSE='#'
2360am__fastdepCC_TRUE=''
2361am__fastdepCXX_FALSE='#'
2362am__fastdepCXX_TRUE=''
2363am__include='include'
2364am__isrc=''
2365am__leading_dot='.'
2366am__nodep='_no'
2367am__quote=''
2368am__tar='$${TAR-tar} chof - "$$tardir"'
2369am__untar='$${TAR-tar} xf -'
2370bindir='${exec_prefix}/bin'
2371build='x86_64-apple-darwin15.3.0'
2372build_alias=''
2373build_cpu='x86_64'
2374build_os='darwin15.3.0'
2375build_vendor='apple'
2376datadir='${datarootdir}'
2377datarootdir='${prefix}/share'
2378docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
2379dvidir='${docdir}'
2380exec_prefix='/opt/local/Library/Frameworks/Python.framework/Versions/2.7'
2381host='x86_64-apple-darwin15.3.0'
2382host_alias=''
2383host_cpu='x86_64'
2384host_os='darwin15.3.0'
2385host_vendor='apple'
2386htmldir='${docdir}'
2387includedir='${prefix}/include'
2388infodir='${datarootdir}/info'
2389install_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.13/install-sh'
2390libdir='${exec_prefix}/lib'
2391libexecdir='${exec_prefix}/libexec'
2392localedir='${datarootdir}/locale'
2393localstatedir='${prefix}/var'
2394mandir='${datarootdir}/man'
2395mkdir_p='$(MKDIR_P)'
2396oldincludedir='/usr/include'
2397pdfdir='${docdir}'
2398pkgconfig_libdir=''
2399pkgconfig_libfile=''
2400pkgconfigdir='${libdir}/pkgconfig'
2401pkgpyexecdir='${pyexecdir}/graph-tool'
2402pkgpythondir='${pythondir}/graph-tool'
2403prefix='/opt/local'
2404program_transform_name='s,x,x,'
2405psdir='${docdir}'
2406pyexecdir='${exec_prefix}/lib/python2.7/site-packages'
2407pythondir='${prefix}/lib/python2.7/site-packages'
2408sbindir='${exec_prefix}/sbin'
2409sharedstatedir='${prefix}/com'
2410sysconfdir='${prefix}/etc'
2411target='x86_64-apple-darwin15.3.0'
2412target_alias=''
2413target_cpu='x86_64'
2414target_os='darwin15.3.0'
2415target_vendor='apple'
2416
2417## ----------- ##
2418## confdefs.h. ##
2419## ----------- ##
2420
2421/* confdefs.h */
2422#define PACKAGE_NAME "graph-tool"
2423#define PACKAGE_TARNAME "graph-tool"
2424#define PACKAGE_VERSION "2.13"
2425#define PACKAGE_STRING "graph-tool 2.13"
2426#define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues"
2427#define PACKAGE_URL "http://graph-tool.skewed.de"
2428#define PACKAGE "graph-tool"
2429#define VERSION "2.13"
2430#define STDC_HEADERS 1
2431#define HAVE_SYS_TYPES_H 1
2432#define HAVE_SYS_STAT_H 1
2433#define HAVE_STDLIB_H 1
2434#define HAVE_STRING_H 1
2435#define HAVE_MEMORY_H 1
2436#define HAVE_STRINGS_H 1
2437#define HAVE_INTTYPES_H 1
2438#define HAVE_STDINT_H 1
2439#define HAVE_UNISTD_H 1
2440#define __EXTENSIONS__ 1
2441#define _ALL_SOURCE 1
2442#define _GNU_SOURCE 1
2443#define _POSIX_PTHREAD_SEMANTICS 1
2444#define _TANDEM_SOURCE 1
2445#define STDC_HEADERS 1
2446#define HAVE_DLFCN_H 1
2447#define LT_OBJDIR ".libs/"
2448#define OPENMP_MIN_THRESH 300
2449#define HAVE_LIBM 1
2450#define HAVE_LIBBZ2 1
2451#define HAVE_LIBEXPAT 1
2452#define HAVE_PYTHON "2.7"
2453
2454configure: exit 1