Ticket #56843: config.log

File config.log, 89.3 KB (added by bakergilx (Dennis Baker), 6 years ago)

config log

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.27, 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/3.6 --enable-openmp
8
9## --------- ##
10## Platform. ##
11## --------- ##
12
13hostname = Gandalf2.local
14uname -m = x86_64
15uname -r = 17.7.0
16uname -s = Darwin
17uname -v = Darwin Kernel Version 17.7.0: Thu Jun 21 22:53:14 PDT 2018; root:xnu-4570.71.2~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 17.7.0: Thu Jun 21 22:53:14 PDT 2018; root:xnu-4570.71.2~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: 399 tasks, 1569 threads, 8 processors
34Load average: 3.45, Mach factor: 4.82
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:2718: checking build system type
52configure:2732: result: x86_64-apple-darwin17.7.0
53configure:2752: checking host system type
54configure:2765: result: x86_64-apple-darwin17.7.0
55configure:2785: checking target system type
56configure:2798: result: x86_64-apple-darwin17.7.0
57configure:2840: checking for a BSD-compatible install
58configure:2908: result: /usr/bin/install -c
59configure:2919: checking whether build environment is sane
60configure:2974: result: yes
61configure:3125: checking for a thread-safe mkdir -p
62configure:3164: result: build-aux/install-sh -c -d
63configure:3171: checking for gawk
64configure:3187: found /opt/local/bin/gawk
65configure:3198: result: gawk
66configure:3209: checking whether make sets $(MAKE)
67configure:3231: result: yes
68configure:3260: checking whether make supports nested variables
69configure:3277: result: yes
70configure:3356: checking how to create a pax tar archive
71configure:3367: tar --version
72bsdtar 2.8.3 - libarchive 2.8.3
73configure:3370: $? = 0
74configure:3410: tardir=conftest.dir && eval tar --format=posix -chf - "$tardir" >conftest.tar
75configure:3413: $? = 0
76configure:3417: tar -xf - <conftest.tar
77configure:3420: $? = 0
78configure:3422: cat conftest.dir/file
79GrepMe
80configure:3425: $? = 0
81configure:3438: result: gnutar
82configure:3499: checking whether make supports nested variables
83configure:3516: result: yes
84configure:3539: checking for style of include used by make
85configure:3567: result: GNU
86configure:3638: checking for gcc
87configure:3665: result: /opt/local/bin/clang-mp-6.0
88configure:3894: checking for C compiler version
89configure:3903: /opt/local/bin/clang-mp-6.0 --version >&5
90clang version 6.0.0 (tags/RELEASE_600/final)
91Target: x86_64-apple-darwin17.7.0
92Thread model: posix
93InstalledDir: /opt/local/libexec/llvm-6.0/bin
94configure:3914: $? = 0
95configure:3903: /opt/local/bin/clang-mp-6.0 -v >&5
96clang version 6.0.0 (tags/RELEASE_600/final)
97Target: x86_64-apple-darwin17.7.0
98Thread model: posix
99InstalledDir: /opt/local/libexec/llvm-6.0/bin
100configure:3914: $? = 0
101configure:3903: /opt/local/bin/clang-mp-6.0 -V >&5
102clang: error: argument to '-V' is missing (expected 1 value)
103clang: error: no input files
104configure:3914: $? = 1
105configure:3903: /opt/local/bin/clang-mp-6.0 -qversion >&5
106clang: error: unknown argument: '-qversion'
107clang: error: no input files
108configure:3914: $? = 1
109configure:3934: checking whether the C compiler works
110configure:3956: /opt/local/bin/clang-mp-6.0 -pipe -Os -arch x86_64 -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m/.. -L/opt/local/lib -Wl,-headerpad_max_install_names -L/opt/local/lib -arch x86_64 conftest.c  >&5
111configure:3960: $? = 0
112configure:4008: result: yes
113configure:4011: checking for C compiler default output file name
114configure:4013: result: a.out
115configure:4019: checking for suffix of executables
116configure:4026: /opt/local/bin/clang-mp-6.0 -o conftest -pipe -Os -arch x86_64 -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m/.. -L/opt/local/lib -Wl,-headerpad_max_install_names -L/opt/local/lib -arch x86_64 conftest.c  >&5
117configure:4030: $? = 0
118configure:4052: result:
119configure:4074: checking whether we are cross compiling
120configure:4082: /opt/local/bin/clang-mp-6.0 -o conftest -pipe -Os -arch x86_64 -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m/.. -L/opt/local/lib -Wl,-headerpad_max_install_names -L/opt/local/lib -arch x86_64 conftest.c  >&5
121configure:4086: $? = 0
122configure:4093: ./conftest
123configure:4097: $? = 0
124configure:4112: result: no
125configure:4117: checking for suffix of object files
126configure:4139: /opt/local/bin/clang-mp-6.0 -c -pipe -Os -arch x86_64 -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m/.. conftest.c >&5
127configure:4143: $? = 0
128configure:4164: result: o
129configure:4168: checking whether we are using the GNU C compiler
130configure:4187: /opt/local/bin/clang-mp-6.0 -c -pipe -Os -arch x86_64 -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m/.. conftest.c >&5
131configure:4187: $? = 0
132configure:4196: result: yes
133configure:4205: checking whether /opt/local/bin/clang-mp-6.0 accepts -g
134configure:4225: /opt/local/bin/clang-mp-6.0 -c -g -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m/.. conftest.c >&5
135configure:4225: $? = 0
136configure:4266: result: yes
137configure:4283: checking for /opt/local/bin/clang-mp-6.0 option to accept ISO C89
138configure:4346: /opt/local/bin/clang-mp-6.0  -c -pipe -Os -arch x86_64 -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m/.. conftest.c >&5
139configure:4346: $? = 0
140configure:4359: result: none needed
141configure:4384: checking whether /opt/local/bin/clang-mp-6.0 understands -c and -o together
142configure:4406: /opt/local/bin/clang-mp-6.0 -c conftest.c -o conftest2.o
143configure:4409: $? = 0
144configure:4406: /opt/local/bin/clang-mp-6.0 -c conftest.c -o conftest2.o
145configure:4409: $? = 0
146configure:4421: result: yes
147configure:4440: checking dependency style of /opt/local/bin/clang-mp-6.0
148configure:4551: result: gcc3
149configure:4571: checking for library containing strerror
150configure:4602: /opt/local/bin/clang-mp-6.0 -o conftest -pipe -Os -arch x86_64 -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m/.. -L/opt/local/lib -Wl,-headerpad_max_install_names -L/opt/local/lib -arch x86_64 conftest.c  >&5
151conftest.c:18:6: warning: incompatible redeclaration of library function 'strerror' [-Wincompatible-library-redeclaration]
152char strerror ();
153     ^
154conftest.c:18:6: note: 'strerror' is a builtin with type 'char *(int)'
1551 warning generated.
156configure:4602: $? = 0
157configure:4619: result: none required
158configure:4634: checking how to run the C preprocessor
159configure:4665: /opt/local/bin/clang-mp-6.0 -E -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m/.. conftest.c
160configure:4665: $? = 0
161configure:4679: /opt/local/bin/clang-mp-6.0 -E -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m/.. conftest.c
162conftest.c:11:10: fatal error: 'ac_nonexistent.h' file not found
163#include <ac_nonexistent.h>
164         ^~~~~~~~~~~~~~~~~~
1651 error generated.
166configure:4679: $? = 1
167configure: failed program was:
168| /* confdefs.h */
169| #define PACKAGE_NAME "graph-tool"
170| #define PACKAGE_TARNAME "graph-tool"
171| #define PACKAGE_VERSION "2.27"
172| #define PACKAGE_STRING "graph-tool 2.27"
173| #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues"
174| #define PACKAGE_URL "http://graph-tool.skewed.de"
175| #define PACKAGE "graph-tool"
176| #define VERSION "2.27"
177| /* end confdefs.h.  */
178| #include <ac_nonexistent.h>
179configure:4704: result: /opt/local/bin/clang-mp-6.0 -E
180configure:4724: /opt/local/bin/clang-mp-6.0 -E -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m/.. conftest.c
181configure:4724: $? = 0
182configure:4738: /opt/local/bin/clang-mp-6.0 -E -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m/.. conftest.c
183conftest.c:11:10: fatal error: 'ac_nonexistent.h' file not found
184#include <ac_nonexistent.h>
185         ^~~~~~~~~~~~~~~~~~
1861 error generated.
187configure:4738: $? = 1
188configure: failed program was:
189| /* confdefs.h */
190| #define PACKAGE_NAME "graph-tool"
191| #define PACKAGE_TARNAME "graph-tool"
192| #define PACKAGE_VERSION "2.27"
193| #define PACKAGE_STRING "graph-tool 2.27"
194| #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues"
195| #define PACKAGE_URL "http://graph-tool.skewed.de"
196| #define PACKAGE "graph-tool"
197| #define VERSION "2.27"
198| /* end confdefs.h.  */
199| #include <ac_nonexistent.h>
200configure:4767: checking for grep that handles long lines and -e
201configure:4825: result: /opt/local/bin/grep
202configure:4830: checking for egrep
203configure:4892: result: /opt/local/bin/grep -E
204configure:4897: checking for ANSI C header files
205configure:4917: /opt/local/bin/clang-mp-6.0 -c -pipe -Os -arch x86_64 -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m/.. conftest.c >&5
206configure:4917: $? = 0
207configure:4990: /opt/local/bin/clang-mp-6.0 -o conftest -pipe -Os -arch x86_64 -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m/.. -L/opt/local/lib -Wl,-headerpad_max_install_names -L/opt/local/lib -arch x86_64 conftest.c  >&5
208configure:4990: $? = 0
209configure:4990: ./conftest
210configure:4990: $? = 0
211configure:5001: result: yes
212configure:5014: checking for sys/types.h
213configure:5014: /opt/local/bin/clang-mp-6.0 -c -pipe -Os -arch x86_64 -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m/.. conftest.c >&5
214configure:5014: $? = 0
215configure:5014: result: yes
216configure:5014: checking for sys/stat.h
217configure:5014: /opt/local/bin/clang-mp-6.0 -c -pipe -Os -arch x86_64 -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m/.. conftest.c >&5
218configure:5014: $? = 0
219configure:5014: result: yes
220configure:5014: checking for stdlib.h
221configure:5014: /opt/local/bin/clang-mp-6.0 -c -pipe -Os -arch x86_64 -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m/.. conftest.c >&5
222configure:5014: $? = 0
223configure:5014: result: yes
224configure:5014: checking for string.h
225configure:5014: /opt/local/bin/clang-mp-6.0 -c -pipe -Os -arch x86_64 -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m/.. conftest.c >&5
226configure:5014: $? = 0
227configure:5014: result: yes
228configure:5014: checking for memory.h
229configure:5014: /opt/local/bin/clang-mp-6.0 -c -pipe -Os -arch x86_64 -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m/.. conftest.c >&5
230configure:5014: $? = 0
231configure:5014: result: yes
232configure:5014: checking for strings.h
233configure:5014: /opt/local/bin/clang-mp-6.0 -c -pipe -Os -arch x86_64 -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m/.. conftest.c >&5
234configure:5014: $? = 0
235configure:5014: result: yes
236configure:5014: checking for inttypes.h
237configure:5014: /opt/local/bin/clang-mp-6.0 -c -pipe -Os -arch x86_64 -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m/.. conftest.c >&5
238configure:5014: $? = 0
239configure:5014: result: yes
240configure:5014: checking for stdint.h
241configure:5014: /opt/local/bin/clang-mp-6.0 -c -pipe -Os -arch x86_64 -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m/.. conftest.c >&5
242configure:5014: $? = 0
243configure:5014: result: yes
244configure:5014: checking for unistd.h
245configure:5014: /opt/local/bin/clang-mp-6.0 -c -pipe -Os -arch x86_64 -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m/.. conftest.c >&5
246configure:5014: $? = 0
247configure:5014: result: yes
248configure:5027: checking minix/config.h usability
249configure:5027: /opt/local/bin/clang-mp-6.0 -c -pipe -Os -arch x86_64 -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m/.. conftest.c >&5
250conftest.c:54:10: fatal error: 'minix/config.h' file not found
251#include <minix/config.h>
252         ^~~~~~~~~~~~~~~~
2531 error generated.
254configure:5027: $? = 1
255configure: failed program was:
256| /* confdefs.h */
257| #define PACKAGE_NAME "graph-tool"
258| #define PACKAGE_TARNAME "graph-tool"
259| #define PACKAGE_VERSION "2.27"
260| #define PACKAGE_STRING "graph-tool 2.27"
261| #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues"
262| #define PACKAGE_URL "http://graph-tool.skewed.de"
263| #define PACKAGE "graph-tool"
264| #define VERSION "2.27"
265| #define STDC_HEADERS 1
266| #define HAVE_SYS_TYPES_H 1
267| #define HAVE_SYS_STAT_H 1
268| #define HAVE_STDLIB_H 1
269| #define HAVE_STRING_H 1
270| #define HAVE_MEMORY_H 1
271| #define HAVE_STRINGS_H 1
272| #define HAVE_INTTYPES_H 1
273| #define HAVE_STDINT_H 1
274| #define HAVE_UNISTD_H 1
275| /* end confdefs.h.  */
276| #include <stdio.h>
277| #ifdef HAVE_SYS_TYPES_H
278| # include <sys/types.h>
279| #endif
280| #ifdef HAVE_SYS_STAT_H
281| # include <sys/stat.h>
282| #endif
283| #ifdef STDC_HEADERS
284| # include <stdlib.h>
285| # include <stddef.h>
286| #else
287| # ifdef HAVE_STDLIB_H
288| #  include <stdlib.h>
289| # endif
290| #endif
291| #ifdef HAVE_STRING_H
292| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
293| #  include <memory.h>
294| # endif
295| # include <string.h>
296| #endif
297| #ifdef HAVE_STRINGS_H
298| # include <strings.h>
299| #endif
300| #ifdef HAVE_INTTYPES_H
301| # include <inttypes.h>
302| #endif
303| #ifdef HAVE_STDINT_H
304| # include <stdint.h>
305| #endif
306| #ifdef HAVE_UNISTD_H
307| # include <unistd.h>
308| #endif
309| #include <minix/config.h>
310configure:5027: result: no
311configure:5027: checking minix/config.h presence
312configure:5027: /opt/local/bin/clang-mp-6.0 -E -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m/.. conftest.c
313conftest.c:21:10: fatal error: 'minix/config.h' file not found
314#include <minix/config.h>
315         ^~~~~~~~~~~~~~~~
3161 error generated.
317configure:5027: $? = 1
318configure: failed program was:
319| /* confdefs.h */
320| #define PACKAGE_NAME "graph-tool"
321| #define PACKAGE_TARNAME "graph-tool"
322| #define PACKAGE_VERSION "2.27"
323| #define PACKAGE_STRING "graph-tool 2.27"
324| #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues"
325| #define PACKAGE_URL "http://graph-tool.skewed.de"
326| #define PACKAGE "graph-tool"
327| #define VERSION "2.27"
328| #define STDC_HEADERS 1
329| #define HAVE_SYS_TYPES_H 1
330| #define HAVE_SYS_STAT_H 1
331| #define HAVE_STDLIB_H 1
332| #define HAVE_STRING_H 1
333| #define HAVE_MEMORY_H 1
334| #define HAVE_STRINGS_H 1
335| #define HAVE_INTTYPES_H 1
336| #define HAVE_STDINT_H 1
337| #define HAVE_UNISTD_H 1
338| /* end confdefs.h.  */
339| #include <minix/config.h>
340configure:5027: result: no
341configure:5027: checking for minix/config.h
342configure:5027: result: no
343configure:5048: checking whether it is safe to define __EXTENSIONS__
344configure:5066: /opt/local/bin/clang-mp-6.0 -c -pipe -Os -arch x86_64 -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m/.. conftest.c >&5
345configure:5066: $? = 0
346configure:5073: result: yes
347configure:5199: checking for C++ compiler version
348configure:5208: /opt/local/bin/clang++-mp-6.0 --version >&5
349clang version 6.0.0 (tags/RELEASE_600/final)
350Target: x86_64-apple-darwin17.7.0
351Thread model: posix
352InstalledDir: /opt/local/libexec/llvm-6.0/bin
353configure:5219: $? = 0
354configure:5208: /opt/local/bin/clang++-mp-6.0 -v >&5
355clang version 6.0.0 (tags/RELEASE_600/final)
356Target: x86_64-apple-darwin17.7.0
357Thread model: posix
358InstalledDir: /opt/local/libexec/llvm-6.0/bin
359configure:5219: $? = 0
360configure:5208: /opt/local/bin/clang++-mp-6.0 -V >&5
361clang: error: argument to '-V' is missing (expected 1 value)
362clang: error: no input files
363configure:5219: $? = 1
364configure:5208: /opt/local/bin/clang++-mp-6.0 -qversion >&5
365clang: error: unknown argument: '-qversion'
366clang: error: no input files
367configure:5219: $? = 1
368configure:5223: checking whether we are using the GNU C++ compiler
369configure:5242: /opt/local/bin/clang++-mp-6.0 -c -pipe -Os -std=c++14 -stdlib=libc++ -arch x86_64 -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m/.. conftest.cpp >&5
370configure:5242: $? = 0
371configure:5251: result: yes
372configure:5260: checking whether /opt/local/bin/clang++-mp-6.0 accepts -g
373configure:5280: /opt/local/bin/clang++-mp-6.0 -c -g -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m/.. conftest.cpp >&5
374configure:5280: $? = 0
375configure:5321: result: yes
376configure:5346: checking dependency style of /opt/local/bin/clang++-mp-6.0
377configure:5457: result: gcc3
378configure:5482: checking for /opt/local/bin/clang-mp-6.0 option to accept ISO C99
379configure:5631: /opt/local/bin/clang++-mp-6.0 -c -pipe -Os -std=c++14 -stdlib=libc++ -arch x86_64 -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m/.. conftest.cpp >&5
380conftest.cpp:76:29: error: expected ')'
381test_restrict (ccp restrict text)
382                            ^
383conftest.cpp:76:15: note: to match this '('
384test_restrict (ccp restrict text)
385              ^
386conftest.cpp:81:30: error: use of undeclared identifier 'text'
387  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
388                             ^
389conftest.cpp:125:3: error: unknown type name '_Bool'
390  _Bool success = false;
391  ^
392conftest.cpp:130:17: error: expected ';' at end of declaration
393  char *restrict newvar = "Another string";
394                ^
395                ;
396conftest.cpp:137:28: error: cannot initialize a variable of type 'struct incomplete_array *' with an rvalue of type 'void *'
397  struct incomplete_array *ia =
398                           ^
399conftest.cpp:156:59: error: use of undeclared identifier 'newvar'
400  return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
401                                                          ^
4026 errors generated.
403configure:5631: $? = 1
404configure: failed program was:
405| /* confdefs.h */
406| #define PACKAGE_NAME "graph-tool"
407| #define PACKAGE_TARNAME "graph-tool"
408| #define PACKAGE_VERSION "2.27"
409| #define PACKAGE_STRING "graph-tool 2.27"
410| #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues"
411| #define PACKAGE_URL "http://graph-tool.skewed.de"
412| #define PACKAGE "graph-tool"
413| #define VERSION "2.27"
414| #define STDC_HEADERS 1
415| #define HAVE_SYS_TYPES_H 1
416| #define HAVE_SYS_STAT_H 1
417| #define HAVE_STDLIB_H 1
418| #define HAVE_STRING_H 1
419| #define HAVE_MEMORY_H 1
420| #define HAVE_STRINGS_H 1
421| #define HAVE_INTTYPES_H 1
422| #define HAVE_STDINT_H 1
423| #define HAVE_UNISTD_H 1
424| #define __EXTENSIONS__ 1
425| #define _ALL_SOURCE 1
426| #define _GNU_SOURCE 1
427| #define _POSIX_PTHREAD_SEMANTICS 1
428| #define _TANDEM_SOURCE 1
429| /* end confdefs.h.  */
430| #include <stdarg.h>
431| #include <stdbool.h>
432| #include <stdlib.h>
433| #include <wchar.h>
434| #include <stdio.h>
435|
436| // Check varargs macros.  These examples are taken from C99 6.10.3.5.
437| #define debug(...) fprintf (stderr, __VA_ARGS__)
438| #define showlist(...) puts (#__VA_ARGS__)
439| #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
440| static void
441| test_varargs_macros (void)
442| {
443|   int x = 1234;
444|   int y = 5678;
445|   debug ("Flag");
446|   debug ("X = %d\n", x);
447|   showlist (The first, second, and third items.);
448|   report (x>y, "x is %d but y is %d", x, y);
449| }
450|
451| // Check long long types.
452| #define BIG64 18446744073709551615ull
453| #define BIG32 4294967295ul
454| #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
455| #if !BIG_OK
456|   your preprocessor is broken;
457| #endif
458| #if BIG_OK
459| #else
460|   your preprocessor is broken;
461| #endif
462| static long long int bignum = -9223372036854775807LL;
463| static unsigned long long int ubignum = BIG64;
464|
465| struct incomplete_array
466| {
467|   int datasize;
468|   double data[];
469| };
470|
471| struct named_init {
472|   int number;
473|   const wchar_t *name;
474|   double average;
475| };
476|
477| typedef const char *ccp;
478|
479| static inline int
480| test_restrict (ccp restrict text)
481| {
482|   // See if C++-style comments work.
483|   // Iterate through items via the restricted pointer.
484|   // Also check for declarations in for loops.
485|   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
486|     continue;
487|   return 0;
488| }
489|
490| // Check varargs and va_copy.
491| static void
492| test_varargs (const char *format, ...)
493| {
494|   va_list args;
495|   va_start (args, format);
496|   va_list args_copy;
497|   va_copy (args_copy, args);
498|
499|   const char *str;
500|   int number;
501|   float fnumber;
502|
503|   while (*format)
504|     {
505|       switch (*format++)
506|       {
507|       case 's': // string
508|         str = va_arg (args_copy, const char *);
509|         break;
510|       case 'd': // int
511|         number = va_arg (args_copy, int);
512|         break;
513|       case 'f': // float
514|         fnumber = va_arg (args_copy, double);
515|         break;
516|       default:
517|         break;
518|       }
519|     }
520|   va_end (args_copy);
521|   va_end (args);
522| }
523|
524| int
525| main ()
526| {
527|
528|   // Check bool.
529|   _Bool success = false;
530|
531|   // Check restrict.
532|   if (test_restrict ("String literal") == 0)
533|     success = true;
534|   char *restrict newvar = "Another string";
535|
536|   // Check varargs.
537|   test_varargs ("s, d' f .", "string", 65, 34.234);
538|   test_varargs_macros ();
539|
540|   // Check flexible array members.
541|   struct incomplete_array *ia =
542|     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
543|   ia->datasize = 10;
544|   for (int i = 0; i < ia->datasize; ++i)
545|     ia->data[i] = i * 1.234;
546|
547|   // Check named initializers.
548|   struct named_init ni = {
549|     .number = 34,
550|     .name = L"Test wide string",
551|     .average = 543.34343,
552|   };
553|
554|   ni.number = 58;
555|
556|   int dynamic_array[ni.number];
557|   dynamic_array[ni.number - 1] = 543;
558|
559|   // work around unused variable warnings
560|   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
561|         || dynamic_array[ni.number - 1] != 543);
562|
563|   ;
564|   return 0;
565| }
566configure:5631: /opt/local/bin/clang++-mp-6.0 -c -pipe -Os -std=c++14 -stdlib=libc++ -arch x86_64 -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m/.. conftest.cpp >&5
567conftest.cpp:76:29: error: expected ')'
568test_restrict (ccp restrict text)
569                            ^
570conftest.cpp:76:15: note: to match this '('
571test_restrict (ccp restrict text)
572              ^
573conftest.cpp:81:30: error: use of undeclared identifier 'text'
574  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
575                             ^
576conftest.cpp:125:3: error: unknown type name '_Bool'
577  _Bool success = false;
578  ^
579conftest.cpp:130:17: error: expected ';' at end of declaration
580  char *restrict newvar = "Another string";
581                ^
582                ;
583conftest.cpp:137:28: error: cannot initialize a variable of type 'struct incomplete_array *' with an rvalue of type 'void *'
584  struct incomplete_array *ia =
585                           ^
586conftest.cpp:156:59: error: use of undeclared identifier 'newvar'
587  return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
588                                                          ^
5896 errors generated.
590configure:5631: $? = 1
591configure: failed program was:
592| /* confdefs.h */
593| #define PACKAGE_NAME "graph-tool"
594| #define PACKAGE_TARNAME "graph-tool"
595| #define PACKAGE_VERSION "2.27"
596| #define PACKAGE_STRING "graph-tool 2.27"
597| #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues"
598| #define PACKAGE_URL "http://graph-tool.skewed.de"
599| #define PACKAGE "graph-tool"
600| #define VERSION "2.27"
601| #define STDC_HEADERS 1
602| #define HAVE_SYS_TYPES_H 1
603| #define HAVE_SYS_STAT_H 1
604| #define HAVE_STDLIB_H 1
605| #define HAVE_STRING_H 1
606| #define HAVE_MEMORY_H 1
607| #define HAVE_STRINGS_H 1
608| #define HAVE_INTTYPES_H 1
609| #define HAVE_STDINT_H 1
610| #define HAVE_UNISTD_H 1
611| #define __EXTENSIONS__ 1
612| #define _ALL_SOURCE 1
613| #define _GNU_SOURCE 1
614| #define _POSIX_PTHREAD_SEMANTICS 1
615| #define _TANDEM_SOURCE 1
616| /* end confdefs.h.  */
617| #include <stdarg.h>
618| #include <stdbool.h>
619| #include <stdlib.h>
620| #include <wchar.h>
621| #include <stdio.h>
622|
623| // Check varargs macros.  These examples are taken from C99 6.10.3.5.
624| #define debug(...) fprintf (stderr, __VA_ARGS__)
625| #define showlist(...) puts (#__VA_ARGS__)
626| #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
627| static void
628| test_varargs_macros (void)
629| {
630|   int x = 1234;
631|   int y = 5678;
632|   debug ("Flag");
633|   debug ("X = %d\n", x);
634|   showlist (The first, second, and third items.);
635|   report (x>y, "x is %d but y is %d", x, y);
636| }
637|
638| // Check long long types.
639| #define BIG64 18446744073709551615ull
640| #define BIG32 4294967295ul
641| #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
642| #if !BIG_OK
643|   your preprocessor is broken;
644| #endif
645| #if BIG_OK
646| #else
647|   your preprocessor is broken;
648| #endif
649| static long long int bignum = -9223372036854775807LL;
650| static unsigned long long int ubignum = BIG64;
651|
652| struct incomplete_array
653| {
654|   int datasize;
655|   double data[];
656| };
657|
658| struct named_init {
659|   int number;
660|   const wchar_t *name;
661|   double average;
662| };
663|
664| typedef const char *ccp;
665|
666| static inline int
667| test_restrict (ccp restrict text)
668| {
669|   // See if C++-style comments work.
670|   // Iterate through items via the restricted pointer.
671|   // Also check for declarations in for loops.
672|   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
673|     continue;
674|   return 0;
675| }
676|
677| // Check varargs and va_copy.
678| static void
679| test_varargs (const char *format, ...)
680| {
681|   va_list args;
682|   va_start (args, format);
683|   va_list args_copy;
684|   va_copy (args_copy, args);
685|
686|   const char *str;
687|   int number;
688|   float fnumber;
689|
690|   while (*format)
691|     {
692|       switch (*format++)
693|       {
694|       case 's': // string
695|         str = va_arg (args_copy, const char *);
696|         break;
697|       case 'd': // int
698|         number = va_arg (args_copy, int);
699|         break;
700|       case 'f': // float
701|         fnumber = va_arg (args_copy, double);
702|         break;
703|       default:
704|         break;
705|       }
706|     }
707|   va_end (args_copy);
708|   va_end (args);
709| }
710|
711| int
712| main ()
713| {
714|
715|   // Check bool.
716|   _Bool success = false;
717|
718|   // Check restrict.
719|   if (test_restrict ("String literal") == 0)
720|     success = true;
721|   char *restrict newvar = "Another string";
722|
723|   // Check varargs.
724|   test_varargs ("s, d' f .", "string", 65, 34.234);
725|   test_varargs_macros ();
726|
727|   // Check flexible array members.
728|   struct incomplete_array *ia =
729|     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
730|   ia->datasize = 10;
731|   for (int i = 0; i < ia->datasize; ++i)
732|     ia->data[i] = i * 1.234;
733|
734|   // Check named initializers.
735|   struct named_init ni = {
736|     .number = 34,
737|     .name = L"Test wide string",
738|     .average = 543.34343,
739|   };
740|
741|   ni.number = 58;
742|
743|   int dynamic_array[ni.number];
744|   dynamic_array[ni.number - 1] = 543;
745|
746|   // work around unused variable warnings
747|   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
748|         || dynamic_array[ni.number - 1] != 543);
749|
750|   ;
751|   return 0;
752| }
753configure:5631: /opt/local/bin/clang++-mp-6.0 -c -pipe -Os -std=c++14 -stdlib=libc++ -arch x86_64 -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m/.. conftest.cpp >&5
754conftest.cpp:76:29: error: expected ')'
755test_restrict (ccp restrict text)
756                            ^
757conftest.cpp:76:15: note: to match this '('
758test_restrict (ccp restrict text)
759              ^
760conftest.cpp:81:30: error: use of undeclared identifier 'text'
761  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
762                             ^
763conftest.cpp:125:3: error: unknown type name '_Bool'
764  _Bool success = false;
765  ^
766conftest.cpp:130:17: error: expected ';' at end of declaration
767  char *restrict newvar = "Another string";
768                ^
769                ;
770conftest.cpp:137:28: error: cannot initialize a variable of type 'struct incomplete_array *' with an rvalue of type 'void *'
771  struct incomplete_array *ia =
772                           ^
773conftest.cpp:156:59: error: use of undeclared identifier 'newvar'
774  return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
775                                                          ^
7766 errors generated.
777configure:5631: $? = 1
778configure: failed program was:
779| /* confdefs.h */
780| #define PACKAGE_NAME "graph-tool"
781| #define PACKAGE_TARNAME "graph-tool"
782| #define PACKAGE_VERSION "2.27"
783| #define PACKAGE_STRING "graph-tool 2.27"
784| #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues"
785| #define PACKAGE_URL "http://graph-tool.skewed.de"
786| #define PACKAGE "graph-tool"
787| #define VERSION "2.27"
788| #define STDC_HEADERS 1
789| #define HAVE_SYS_TYPES_H 1
790| #define HAVE_SYS_STAT_H 1
791| #define HAVE_STDLIB_H 1
792| #define HAVE_STRING_H 1
793| #define HAVE_MEMORY_H 1
794| #define HAVE_STRINGS_H 1
795| #define HAVE_INTTYPES_H 1
796| #define HAVE_STDINT_H 1
797| #define HAVE_UNISTD_H 1
798| #define __EXTENSIONS__ 1
799| #define _ALL_SOURCE 1
800| #define _GNU_SOURCE 1
801| #define _POSIX_PTHREAD_SEMANTICS 1
802| #define _TANDEM_SOURCE 1
803| /* end confdefs.h.  */
804| #include <stdarg.h>
805| #include <stdbool.h>
806| #include <stdlib.h>
807| #include <wchar.h>
808| #include <stdio.h>
809|
810| // Check varargs macros.  These examples are taken from C99 6.10.3.5.
811| #define debug(...) fprintf (stderr, __VA_ARGS__)
812| #define showlist(...) puts (#__VA_ARGS__)
813| #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
814| static void
815| test_varargs_macros (void)
816| {
817|   int x = 1234;
818|   int y = 5678;
819|   debug ("Flag");
820|   debug ("X = %d\n", x);
821|   showlist (The first, second, and third items.);
822|   report (x>y, "x is %d but y is %d", x, y);
823| }
824|
825| // Check long long types.
826| #define BIG64 18446744073709551615ull
827| #define BIG32 4294967295ul
828| #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
829| #if !BIG_OK
830|   your preprocessor is broken;
831| #endif
832| #if BIG_OK
833| #else
834|   your preprocessor is broken;
835| #endif
836| static long long int bignum = -9223372036854775807LL;
837| static unsigned long long int ubignum = BIG64;
838|
839| struct incomplete_array
840| {
841|   int datasize;
842|   double data[];
843| };
844|
845| struct named_init {
846|   int number;
847|   const wchar_t *name;
848|   double average;
849| };
850|
851| typedef const char *ccp;
852|
853| static inline int
854| test_restrict (ccp restrict text)
855| {
856|   // See if C++-style comments work.
857|   // Iterate through items via the restricted pointer.
858|   // Also check for declarations in for loops.
859|   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
860|     continue;
861|   return 0;
862| }
863|
864| // Check varargs and va_copy.
865| static void
866| test_varargs (const char *format, ...)
867| {
868|   va_list args;
869|   va_start (args, format);
870|   va_list args_copy;
871|   va_copy (args_copy, args);
872|
873|   const char *str;
874|   int number;
875|   float fnumber;
876|
877|   while (*format)
878|     {
879|       switch (*format++)
880|       {
881|       case 's': // string
882|         str = va_arg (args_copy, const char *);
883|         break;
884|       case 'd': // int
885|         number = va_arg (args_copy, int);
886|         break;
887|       case 'f': // float
888|         fnumber = va_arg (args_copy, double);
889|         break;
890|       default:
891|         break;
892|       }
893|     }
894|   va_end (args_copy);
895|   va_end (args);
896| }
897|
898| int
899| main ()
900| {
901|
902|   // Check bool.
903|   _Bool success = false;
904|
905|   // Check restrict.
906|   if (test_restrict ("String literal") == 0)
907|     success = true;
908|   char *restrict newvar = "Another string";
909|
910|   // Check varargs.
911|   test_varargs ("s, d' f .", "string", 65, 34.234);
912|   test_varargs_macros ();
913|
914|   // Check flexible array members.
915|   struct incomplete_array *ia =
916|     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
917|   ia->datasize = 10;
918|   for (int i = 0; i < ia->datasize; ++i)
919|     ia->data[i] = i * 1.234;
920|
921|   // Check named initializers.
922|   struct named_init ni = {
923|     .number = 34,
924|     .name = L"Test wide string",
925|     .average = 543.34343,
926|   };
927|
928|   ni.number = 58;
929|
930|   int dynamic_array[ni.number];
931|   dynamic_array[ni.number - 1] = 543;
932|
933|   // work around unused variable warnings
934|   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
935|         || dynamic_array[ni.number - 1] != 543);
936|
937|   ;
938|   return 0;
939| }
940configure:5631: /opt/local/bin/clang++-mp-6.0 -c -pipe -Os -std=c++14 -stdlib=libc++ -arch x86_64 -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m/.. conftest.cpp >&5
941conftest.cpp:76:29: error: expected ')'
942test_restrict (ccp restrict text)
943                            ^
944conftest.cpp:76:15: note: to match this '('
945test_restrict (ccp restrict text)
946              ^
947conftest.cpp:81:30: error: use of undeclared identifier 'text'
948  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
949                             ^
950conftest.cpp:125:3: error: unknown type name '_Bool'
951  _Bool success = false;
952  ^
953conftest.cpp:130:17: error: expected ';' at end of declaration
954  char *restrict newvar = "Another string";
955                ^
956                ;
957conftest.cpp:137:28: error: cannot initialize a variable of type 'struct incomplete_array *' with an rvalue of type 'void *'
958  struct incomplete_array *ia =
959                           ^
960conftest.cpp:156:59: error: use of undeclared identifier 'newvar'
961  return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
962                                                          ^
9636 errors generated.
964configure:5631: $? = 1
965configure: failed program was:
966| /* confdefs.h */
967| #define PACKAGE_NAME "graph-tool"
968| #define PACKAGE_TARNAME "graph-tool"
969| #define PACKAGE_VERSION "2.27"
970| #define PACKAGE_STRING "graph-tool 2.27"
971| #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues"
972| #define PACKAGE_URL "http://graph-tool.skewed.de"
973| #define PACKAGE "graph-tool"
974| #define VERSION "2.27"
975| #define STDC_HEADERS 1
976| #define HAVE_SYS_TYPES_H 1
977| #define HAVE_SYS_STAT_H 1
978| #define HAVE_STDLIB_H 1
979| #define HAVE_STRING_H 1
980| #define HAVE_MEMORY_H 1
981| #define HAVE_STRINGS_H 1
982| #define HAVE_INTTYPES_H 1
983| #define HAVE_STDINT_H 1
984| #define HAVE_UNISTD_H 1
985| #define __EXTENSIONS__ 1
986| #define _ALL_SOURCE 1
987| #define _GNU_SOURCE 1
988| #define _POSIX_PTHREAD_SEMANTICS 1
989| #define _TANDEM_SOURCE 1
990| /* end confdefs.h.  */
991| #include <stdarg.h>
992| #include <stdbool.h>
993| #include <stdlib.h>
994| #include <wchar.h>
995| #include <stdio.h>
996|
997| // Check varargs macros.  These examples are taken from C99 6.10.3.5.
998| #define debug(...) fprintf (stderr, __VA_ARGS__)
999| #define showlist(...) puts (#__VA_ARGS__)
1000| #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
1001| static void
1002| test_varargs_macros (void)
1003| {
1004|   int x = 1234;
1005|   int y = 5678;
1006|   debug ("Flag");
1007|   debug ("X = %d\n", x);
1008|   showlist (The first, second, and third items.);
1009|   report (x>y, "x is %d but y is %d", x, y);
1010| }
1011|
1012| // Check long long types.
1013| #define BIG64 18446744073709551615ull
1014| #define BIG32 4294967295ul
1015| #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
1016| #if !BIG_OK
1017|   your preprocessor is broken;
1018| #endif
1019| #if BIG_OK
1020| #else
1021|   your preprocessor is broken;
1022| #endif
1023| static long long int bignum = -9223372036854775807LL;
1024| static unsigned long long int ubignum = BIG64;
1025|
1026| struct incomplete_array
1027| {
1028|   int datasize;
1029|   double data[];
1030| };
1031|
1032| struct named_init {
1033|   int number;
1034|   const wchar_t *name;
1035|   double average;
1036| };
1037|
1038| typedef const char *ccp;
1039|
1040| static inline int
1041| test_restrict (ccp restrict text)
1042| {
1043|   // See if C++-style comments work.
1044|   // Iterate through items via the restricted pointer.
1045|   // Also check for declarations in for loops.
1046|   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
1047|     continue;
1048|   return 0;
1049| }
1050|
1051| // Check varargs and va_copy.
1052| static void
1053| test_varargs (const char *format, ...)
1054| {
1055|   va_list args;
1056|   va_start (args, format);
1057|   va_list args_copy;
1058|   va_copy (args_copy, args);
1059|
1060|   const char *str;
1061|   int number;
1062|   float fnumber;
1063|
1064|   while (*format)
1065|     {
1066|       switch (*format++)
1067|       {
1068|       case 's': // string
1069|         str = va_arg (args_copy, const char *);
1070|         break;
1071|       case 'd': // int
1072|         number = va_arg (args_copy, int);
1073|         break;
1074|       case 'f': // float
1075|         fnumber = va_arg (args_copy, double);
1076|         break;
1077|       default:
1078|         break;
1079|       }
1080|     }
1081|   va_end (args_copy);
1082|   va_end (args);
1083| }
1084|
1085| int
1086| main ()
1087| {
1088|
1089|   // Check bool.
1090|   _Bool success = false;
1091|
1092|   // Check restrict.
1093|   if (test_restrict ("String literal") == 0)
1094|     success = true;
1095|   char *restrict newvar = "Another string";
1096|
1097|   // Check varargs.
1098|   test_varargs ("s, d' f .", "string", 65, 34.234);
1099|   test_varargs_macros ();
1100|
1101|   // Check flexible array members.
1102|   struct incomplete_array *ia =
1103|     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
1104|   ia->datasize = 10;
1105|   for (int i = 0; i < ia->datasize; ++i)
1106|     ia->data[i] = i * 1.234;
1107|
1108|   // Check named initializers.
1109|   struct named_init ni = {
1110|     .number = 34,
1111|     .name = L"Test wide string",
1112|     .average = 543.34343,
1113|   };
1114|
1115|   ni.number = 58;
1116|
1117|   int dynamic_array[ni.number];
1118|   dynamic_array[ni.number - 1] = 543;
1119|
1120|   // work around unused variable warnings
1121|   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
1122|         || dynamic_array[ni.number - 1] != 543);
1123|
1124|   ;
1125|   return 0;
1126| }
1127configure:5631: /opt/local/bin/clang++-mp-6.0 -c -pipe -Os -std=c++14 -stdlib=libc++ -arch x86_64 -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m/.. conftest.cpp >&5
1128conftest.cpp:76:29: error: expected ')'
1129test_restrict (ccp restrict text)
1130                            ^
1131conftest.cpp:76:15: note: to match this '('
1132test_restrict (ccp restrict text)
1133              ^
1134conftest.cpp:81:30: error: use of undeclared identifier 'text'
1135  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
1136                             ^
1137conftest.cpp:125:3: error: unknown type name '_Bool'
1138  _Bool success = false;
1139  ^
1140conftest.cpp:130:17: error: expected ';' at end of declaration
1141  char *restrict newvar = "Another string";
1142                ^
1143                ;
1144conftest.cpp:137:28: error: cannot initialize a variable of type 'struct incomplete_array *' with an rvalue of type 'void *'
1145  struct incomplete_array *ia =
1146                           ^
1147conftest.cpp:156:59: error: use of undeclared identifier 'newvar'
1148  return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
1149                                                          ^
11506 errors generated.
1151configure:5631: $? = 1
1152configure: failed program was:
1153| /* confdefs.h */
1154| #define PACKAGE_NAME "graph-tool"
1155| #define PACKAGE_TARNAME "graph-tool"
1156| #define PACKAGE_VERSION "2.27"
1157| #define PACKAGE_STRING "graph-tool 2.27"
1158| #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues"
1159| #define PACKAGE_URL "http://graph-tool.skewed.de"
1160| #define PACKAGE "graph-tool"
1161| #define VERSION "2.27"
1162| #define STDC_HEADERS 1
1163| #define HAVE_SYS_TYPES_H 1
1164| #define HAVE_SYS_STAT_H 1
1165| #define HAVE_STDLIB_H 1
1166| #define HAVE_STRING_H 1
1167| #define HAVE_MEMORY_H 1
1168| #define HAVE_STRINGS_H 1
1169| #define HAVE_INTTYPES_H 1
1170| #define HAVE_STDINT_H 1
1171| #define HAVE_UNISTD_H 1
1172| #define __EXTENSIONS__ 1
1173| #define _ALL_SOURCE 1
1174| #define _GNU_SOURCE 1
1175| #define _POSIX_PTHREAD_SEMANTICS 1
1176| #define _TANDEM_SOURCE 1
1177| /* end confdefs.h.  */
1178| #include <stdarg.h>
1179| #include <stdbool.h>
1180| #include <stdlib.h>
1181| #include <wchar.h>
1182| #include <stdio.h>
1183|
1184| // Check varargs macros.  These examples are taken from C99 6.10.3.5.
1185| #define debug(...) fprintf (stderr, __VA_ARGS__)
1186| #define showlist(...) puts (#__VA_ARGS__)
1187| #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
1188| static void
1189| test_varargs_macros (void)
1190| {
1191|   int x = 1234;
1192|   int y = 5678;
1193|   debug ("Flag");
1194|   debug ("X = %d\n", x);
1195|   showlist (The first, second, and third items.);
1196|   report (x>y, "x is %d but y is %d", x, y);
1197| }
1198|
1199| // Check long long types.
1200| #define BIG64 18446744073709551615ull
1201| #define BIG32 4294967295ul
1202| #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
1203| #if !BIG_OK
1204|   your preprocessor is broken;
1205| #endif
1206| #if BIG_OK
1207| #else
1208|   your preprocessor is broken;
1209| #endif
1210| static long long int bignum = -9223372036854775807LL;
1211| static unsigned long long int ubignum = BIG64;
1212|
1213| struct incomplete_array
1214| {
1215|   int datasize;
1216|   double data[];
1217| };
1218|
1219| struct named_init {
1220|   int number;
1221|   const wchar_t *name;
1222|   double average;
1223| };
1224|
1225| typedef const char *ccp;
1226|
1227| static inline int
1228| test_restrict (ccp restrict text)
1229| {
1230|   // See if C++-style comments work.
1231|   // Iterate through items via the restricted pointer.
1232|   // Also check for declarations in for loops.
1233|   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
1234|     continue;
1235|   return 0;
1236| }
1237|
1238| // Check varargs and va_copy.
1239| static void
1240| test_varargs (const char *format, ...)
1241| {
1242|   va_list args;
1243|   va_start (args, format);
1244|   va_list args_copy;
1245|   va_copy (args_copy, args);
1246|
1247|   const char *str;
1248|   int number;
1249|   float fnumber;
1250|
1251|   while (*format)
1252|     {
1253|       switch (*format++)
1254|       {
1255|       case 's': // string
1256|         str = va_arg (args_copy, const char *);
1257|         break;
1258|       case 'd': // int
1259|         number = va_arg (args_copy, int);
1260|         break;
1261|       case 'f': // float
1262|         fnumber = va_arg (args_copy, double);
1263|         break;
1264|       default:
1265|         break;
1266|       }
1267|     }
1268|   va_end (args_copy);
1269|   va_end (args);
1270| }
1271|
1272| int
1273| main ()
1274| {
1275|
1276|   // Check bool.
1277|   _Bool success = false;
1278|
1279|   // Check restrict.
1280|   if (test_restrict ("String literal") == 0)
1281|     success = true;
1282|   char *restrict newvar = "Another string";
1283|
1284|   // Check varargs.
1285|   test_varargs ("s, d' f .", "string", 65, 34.234);
1286|   test_varargs_macros ();
1287|
1288|   // Check flexible array members.
1289|   struct incomplete_array *ia =
1290|     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
1291|   ia->datasize = 10;
1292|   for (int i = 0; i < ia->datasize; ++i)
1293|     ia->data[i] = i * 1.234;
1294|
1295|   // Check named initializers.
1296|   struct named_init ni = {
1297|     .number = 34,
1298|     .name = L"Test wide string",
1299|     .average = 543.34343,
1300|   };
1301|
1302|   ni.number = 58;
1303|
1304|   int dynamic_array[ni.number];
1305|   dynamic_array[ni.number - 1] = 543;
1306|
1307|   // work around unused variable warnings
1308|   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
1309|         || dynamic_array[ni.number - 1] != 543);
1310|
1311|   ;
1312|   return 0;
1313| }
1314configure:5631: /opt/local/bin/clang++-mp-6.0 -c -pipe -Os -std=c++14 -stdlib=libc++ -arch x86_64 -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m/.. conftest.cpp >&5
1315conftest.cpp:76:29: error: expected ')'
1316test_restrict (ccp restrict text)
1317                            ^
1318conftest.cpp:76:15: note: to match this '('
1319test_restrict (ccp restrict text)
1320              ^
1321conftest.cpp:81:30: error: use of undeclared identifier 'text'
1322  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
1323                             ^
1324conftest.cpp:125:3: error: unknown type name '_Bool'
1325  _Bool success = false;
1326  ^
1327conftest.cpp:130:17: error: expected ';' at end of declaration
1328  char *restrict newvar = "Another string";
1329                ^
1330                ;
1331conftest.cpp:137:28: error: cannot initialize a variable of type 'struct incomplete_array *' with an rvalue of type 'void *'
1332  struct incomplete_array *ia =
1333                           ^
1334conftest.cpp:156:59: error: use of undeclared identifier 'newvar'
1335  return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
1336                                                          ^
13376 errors generated.
1338configure:5631: $? = 1
1339configure: failed program was:
1340| /* confdefs.h */
1341| #define PACKAGE_NAME "graph-tool"
1342| #define PACKAGE_TARNAME "graph-tool"
1343| #define PACKAGE_VERSION "2.27"
1344| #define PACKAGE_STRING "graph-tool 2.27"
1345| #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues"
1346| #define PACKAGE_URL "http://graph-tool.skewed.de"
1347| #define PACKAGE "graph-tool"
1348| #define VERSION "2.27"
1349| #define STDC_HEADERS 1
1350| #define HAVE_SYS_TYPES_H 1
1351| #define HAVE_SYS_STAT_H 1
1352| #define HAVE_STDLIB_H 1
1353| #define HAVE_STRING_H 1
1354| #define HAVE_MEMORY_H 1
1355| #define HAVE_STRINGS_H 1
1356| #define HAVE_INTTYPES_H 1
1357| #define HAVE_STDINT_H 1
1358| #define HAVE_UNISTD_H 1
1359| #define __EXTENSIONS__ 1
1360| #define _ALL_SOURCE 1
1361| #define _GNU_SOURCE 1
1362| #define _POSIX_PTHREAD_SEMANTICS 1
1363| #define _TANDEM_SOURCE 1
1364| /* end confdefs.h.  */
1365| #include <stdarg.h>
1366| #include <stdbool.h>
1367| #include <stdlib.h>
1368| #include <wchar.h>
1369| #include <stdio.h>
1370|
1371| // Check varargs macros.  These examples are taken from C99 6.10.3.5.
1372| #define debug(...) fprintf (stderr, __VA_ARGS__)
1373| #define showlist(...) puts (#__VA_ARGS__)
1374| #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
1375| static void
1376| test_varargs_macros (void)
1377| {
1378|   int x = 1234;
1379|   int y = 5678;
1380|   debug ("Flag");
1381|   debug ("X = %d\n", x);
1382|   showlist (The first, second, and third items.);
1383|   report (x>y, "x is %d but y is %d", x, y);
1384| }
1385|
1386| // Check long long types.
1387| #define BIG64 18446744073709551615ull
1388| #define BIG32 4294967295ul
1389| #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
1390| #if !BIG_OK
1391|   your preprocessor is broken;
1392| #endif
1393| #if BIG_OK
1394| #else
1395|   your preprocessor is broken;
1396| #endif
1397| static long long int bignum = -9223372036854775807LL;
1398| static unsigned long long int ubignum = BIG64;
1399|
1400| struct incomplete_array
1401| {
1402|   int datasize;
1403|   double data[];
1404| };
1405|
1406| struct named_init {
1407|   int number;
1408|   const wchar_t *name;
1409|   double average;
1410| };
1411|
1412| typedef const char *ccp;
1413|
1414| static inline int
1415| test_restrict (ccp restrict text)
1416| {
1417|   // See if C++-style comments work.
1418|   // Iterate through items via the restricted pointer.
1419|   // Also check for declarations in for loops.
1420|   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
1421|     continue;
1422|   return 0;
1423| }
1424|
1425| // Check varargs and va_copy.
1426| static void
1427| test_varargs (const char *format, ...)
1428| {
1429|   va_list args;
1430|   va_start (args, format);
1431|   va_list args_copy;
1432|   va_copy (args_copy, args);
1433|
1434|   const char *str;
1435|   int number;
1436|   float fnumber;
1437|
1438|   while (*format)
1439|     {
1440|       switch (*format++)
1441|       {
1442|       case 's': // string
1443|         str = va_arg (args_copy, const char *);
1444|         break;
1445|       case 'd': // int
1446|         number = va_arg (args_copy, int);
1447|         break;
1448|       case 'f': // float
1449|         fnumber = va_arg (args_copy, double);
1450|         break;
1451|       default:
1452|         break;
1453|       }
1454|     }
1455|   va_end (args_copy);
1456|   va_end (args);
1457| }
1458|
1459| int
1460| main ()
1461| {
1462|
1463|   // Check bool.
1464|   _Bool success = false;
1465|
1466|   // Check restrict.
1467|   if (test_restrict ("String literal") == 0)
1468|     success = true;
1469|   char *restrict newvar = "Another string";
1470|
1471|   // Check varargs.
1472|   test_varargs ("s, d' f .", "string", 65, 34.234);
1473|   test_varargs_macros ();
1474|
1475|   // Check flexible array members.
1476|   struct incomplete_array *ia =
1477|     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
1478|   ia->datasize = 10;
1479|   for (int i = 0; i < ia->datasize; ++i)
1480|     ia->data[i] = i * 1.234;
1481|
1482|   // Check named initializers.
1483|   struct named_init ni = {
1484|     .number = 34,
1485|     .name = L"Test wide string",
1486|     .average = 543.34343,
1487|   };
1488|
1489|   ni.number = 58;
1490|
1491|   int dynamic_array[ni.number];
1492|   dynamic_array[ni.number - 1] = 543;
1493|
1494|   // work around unused variable warnings
1495|   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
1496|         || dynamic_array[ni.number - 1] != 543);
1497|
1498|   ;
1499|   return 0;
1500| }
1501configure:5631: /opt/local/bin/clang++-mp-6.0 -c -pipe -Os -std=c++14 -stdlib=libc++ -arch x86_64 -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m/.. conftest.cpp >&5
1502conftest.cpp:76:29: error: expected ')'
1503test_restrict (ccp restrict text)
1504                            ^
1505conftest.cpp:76:15: note: to match this '('
1506test_restrict (ccp restrict text)
1507              ^
1508conftest.cpp:81:30: error: use of undeclared identifier 'text'
1509  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
1510                             ^
1511conftest.cpp:125:3: error: unknown type name '_Bool'
1512  _Bool success = false;
1513  ^
1514conftest.cpp:130:17: error: expected ';' at end of declaration
1515  char *restrict newvar = "Another string";
1516                ^
1517                ;
1518conftest.cpp:137:28: error: cannot initialize a variable of type 'struct incomplete_array *' with an rvalue of type 'void *'
1519  struct incomplete_array *ia =
1520                           ^
1521conftest.cpp:156:59: error: use of undeclared identifier 'newvar'
1522  return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
1523                                                          ^
15246 errors generated.
1525configure:5631: $? = 1
1526configure: failed program was:
1527| /* confdefs.h */
1528| #define PACKAGE_NAME "graph-tool"
1529| #define PACKAGE_TARNAME "graph-tool"
1530| #define PACKAGE_VERSION "2.27"
1531| #define PACKAGE_STRING "graph-tool 2.27"
1532| #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues"
1533| #define PACKAGE_URL "http://graph-tool.skewed.de"
1534| #define PACKAGE "graph-tool"
1535| #define VERSION "2.27"
1536| #define STDC_HEADERS 1
1537| #define HAVE_SYS_TYPES_H 1
1538| #define HAVE_SYS_STAT_H 1
1539| #define HAVE_STDLIB_H 1
1540| #define HAVE_STRING_H 1
1541| #define HAVE_MEMORY_H 1
1542| #define HAVE_STRINGS_H 1
1543| #define HAVE_INTTYPES_H 1
1544| #define HAVE_STDINT_H 1
1545| #define HAVE_UNISTD_H 1
1546| #define __EXTENSIONS__ 1
1547| #define _ALL_SOURCE 1
1548| #define _GNU_SOURCE 1
1549| #define _POSIX_PTHREAD_SEMANTICS 1
1550| #define _TANDEM_SOURCE 1
1551| /* end confdefs.h.  */
1552| #include <stdarg.h>
1553| #include <stdbool.h>
1554| #include <stdlib.h>
1555| #include <wchar.h>
1556| #include <stdio.h>
1557|
1558| // Check varargs macros.  These examples are taken from C99 6.10.3.5.
1559| #define debug(...) fprintf (stderr, __VA_ARGS__)
1560| #define showlist(...) puts (#__VA_ARGS__)
1561| #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
1562| static void
1563| test_varargs_macros (void)
1564| {
1565|   int x = 1234;
1566|   int y = 5678;
1567|   debug ("Flag");
1568|   debug ("X = %d\n", x);
1569|   showlist (The first, second, and third items.);
1570|   report (x>y, "x is %d but y is %d", x, y);
1571| }
1572|
1573| // Check long long types.
1574| #define BIG64 18446744073709551615ull
1575| #define BIG32 4294967295ul
1576| #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
1577| #if !BIG_OK
1578|   your preprocessor is broken;
1579| #endif
1580| #if BIG_OK
1581| #else
1582|   your preprocessor is broken;
1583| #endif
1584| static long long int bignum = -9223372036854775807LL;
1585| static unsigned long long int ubignum = BIG64;
1586|
1587| struct incomplete_array
1588| {
1589|   int datasize;
1590|   double data[];
1591| };
1592|
1593| struct named_init {
1594|   int number;
1595|   const wchar_t *name;
1596|   double average;
1597| };
1598|
1599| typedef const char *ccp;
1600|
1601| static inline int
1602| test_restrict (ccp restrict text)
1603| {
1604|   // See if C++-style comments work.
1605|   // Iterate through items via the restricted pointer.
1606|   // Also check for declarations in for loops.
1607|   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
1608|     continue;
1609|   return 0;
1610| }
1611|
1612| // Check varargs and va_copy.
1613| static void
1614| test_varargs (const char *format, ...)
1615| {
1616|   va_list args;
1617|   va_start (args, format);
1618|   va_list args_copy;
1619|   va_copy (args_copy, args);
1620|
1621|   const char *str;
1622|   int number;
1623|   float fnumber;
1624|
1625|   while (*format)
1626|     {
1627|       switch (*format++)
1628|       {
1629|       case 's': // string
1630|         str = va_arg (args_copy, const char *);
1631|         break;
1632|       case 'd': // int
1633|         number = va_arg (args_copy, int);
1634|         break;
1635|       case 'f': // float
1636|         fnumber = va_arg (args_copy, double);
1637|         break;
1638|       default:
1639|         break;
1640|       }
1641|     }
1642|   va_end (args_copy);
1643|   va_end (args);
1644| }
1645|
1646| int
1647| main ()
1648| {
1649|
1650|   // Check bool.
1651|   _Bool success = false;
1652|
1653|   // Check restrict.
1654|   if (test_restrict ("String literal") == 0)
1655|     success = true;
1656|   char *restrict newvar = "Another string";
1657|
1658|   // Check varargs.
1659|   test_varargs ("s, d' f .", "string", 65, 34.234);
1660|   test_varargs_macros ();
1661|
1662|   // Check flexible array members.
1663|   struct incomplete_array *ia =
1664|     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
1665|   ia->datasize = 10;
1666|   for (int i = 0; i < ia->datasize; ++i)
1667|     ia->data[i] = i * 1.234;
1668|
1669|   // Check named initializers.
1670|   struct named_init ni = {
1671|     .number = 34,
1672|     .name = L"Test wide string",
1673|     .average = 543.34343,
1674|   };
1675|
1676|   ni.number = 58;
1677|
1678|   int dynamic_array[ni.number];
1679|   dynamic_array[ni.number - 1] = 543;
1680|
1681|   // work around unused variable warnings
1682|   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
1683|         || dynamic_array[ni.number - 1] != 543);
1684|
1685|   ;
1686|   return 0;
1687| }
1688configure:5647: result: unsupported
1689configure:5657: checking for /opt/local/bin/clang-mp-6.0 option to accept ISO C89
1690configure:5733: result: none needed
1691configure:5752: checking for /opt/local/bin/clang-mp-6.0 option to accept ISO Standard C
1692configure:5763: result: none needed
1693configure:5776: checking how to run the C++ preprocessor
1694configure:5803: /opt/local/bin/clang++-mp-6.0 -E -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m/.. conftest.cpp
1695configure:5803: $? = 0
1696configure:5817: /opt/local/bin/clang++-mp-6.0 -E -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m/.. conftest.cpp
1697conftest.cpp:26:10: fatal error: 'ac_nonexistent.h' file not found
1698#include <ac_nonexistent.h>
1699         ^~~~~~~~~~~~~~~~~~
17001 error generated.
1701configure:5817: $? = 1
1702configure: failed program was:
1703| /* confdefs.h */
1704| #define PACKAGE_NAME "graph-tool"
1705| #define PACKAGE_TARNAME "graph-tool"
1706| #define PACKAGE_VERSION "2.27"
1707| #define PACKAGE_STRING "graph-tool 2.27"
1708| #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues"
1709| #define PACKAGE_URL "http://graph-tool.skewed.de"
1710| #define PACKAGE "graph-tool"
1711| #define VERSION "2.27"
1712| #define STDC_HEADERS 1
1713| #define HAVE_SYS_TYPES_H 1
1714| #define HAVE_SYS_STAT_H 1
1715| #define HAVE_STDLIB_H 1
1716| #define HAVE_STRING_H 1
1717| #define HAVE_MEMORY_H 1
1718| #define HAVE_STRINGS_H 1
1719| #define HAVE_INTTYPES_H 1
1720| #define HAVE_STDINT_H 1
1721| #define HAVE_UNISTD_H 1
1722| #define __EXTENSIONS__ 1
1723| #define _ALL_SOURCE 1
1724| #define _GNU_SOURCE 1
1725| #define _POSIX_PTHREAD_SEMANTICS 1
1726| #define _TANDEM_SOURCE 1
1727| /* end confdefs.h.  */
1728| #include <ac_nonexistent.h>
1729configure:5842: result: /opt/local/bin/clang++-mp-6.0 -E
1730configure:5862: /opt/local/bin/clang++-mp-6.0 -E -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m/.. conftest.cpp
1731configure:5862: $? = 0
1732configure:5876: /opt/local/bin/clang++-mp-6.0 -E -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m/.. conftest.cpp
1733conftest.cpp:26:10: fatal error: 'ac_nonexistent.h' file not found
1734#include <ac_nonexistent.h>
1735         ^~~~~~~~~~~~~~~~~~
17361 error generated.
1737configure:5876: $? = 1
1738configure: failed program was:
1739| /* confdefs.h */
1740| #define PACKAGE_NAME "graph-tool"
1741| #define PACKAGE_TARNAME "graph-tool"
1742| #define PACKAGE_VERSION "2.27"
1743| #define PACKAGE_STRING "graph-tool 2.27"
1744| #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues"
1745| #define PACKAGE_URL "http://graph-tool.skewed.de"
1746| #define PACKAGE "graph-tool"
1747| #define VERSION "2.27"
1748| #define STDC_HEADERS 1
1749| #define HAVE_SYS_TYPES_H 1
1750| #define HAVE_SYS_STAT_H 1
1751| #define HAVE_STDLIB_H 1
1752| #define HAVE_STRING_H 1
1753| #define HAVE_MEMORY_H 1
1754| #define HAVE_STRINGS_H 1
1755| #define HAVE_INTTYPES_H 1
1756| #define HAVE_STDINT_H 1
1757| #define HAVE_UNISTD_H 1
1758| #define __EXTENSIONS__ 1
1759| #define _ALL_SOURCE 1
1760| #define _GNU_SOURCE 1
1761| #define _POSIX_PTHREAD_SEMANTICS 1
1762| #define _TANDEM_SOURCE 1
1763| /* end confdefs.h.  */
1764| #include <ac_nonexistent.h>
1765configure:5905: checking for ANSI C header files
1766configure:6009: result: yes
1767configure:6095: checking how to print strings
1768configure:6122: result: printf
1769configure:6143: checking for a sed that does not truncate output
1770configure:6207: result: /opt/local/bin/gsed
1771configure:6225: checking for fgrep
1772configure:6287: result: /opt/local/bin/grep -F
1773configure:6322: checking for ld used by /opt/local/bin/clang-mp-6.0
1774configure:6389: result: /opt/local/libexec/llvm-6.0/bin/ld
1775configure:6396: checking if the linker (/opt/local/libexec/llvm-6.0/bin/ld) is GNU ld
1776configure:6411: result: no
1777configure:6423: checking for BSD- or MS-compatible name lister (nm)
1778configure:6477: result: /opt/local/bin/nm -B
1779configure:6607: checking the name lister (/opt/local/bin/nm -B) interface
1780configure:6614: /opt/local/bin/clang++-mp-6.0 -c -pipe -Os -std=c++14 -stdlib=libc++ -arch x86_64 -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m/.. conftest.cpp >&5
1781configure:6617: /opt/local/bin/nm -B "conftest.o"
1782configure:6620: output
17830000000000000000 S _some_variable
1784configure:6627: result: BSD nm
1785configure:6630: checking whether ln -s works
1786configure:6634: result: yes
1787configure:6642: checking the maximum length of command line arguments
1788configure:6773: result: 196608
1789configure:6821: checking how to convert x86_64-apple-darwin17.7.0 file names to x86_64-apple-darwin17.7.0 format
1790configure:6861: result: func_convert_file_noop
1791configure:6868: checking how to convert x86_64-apple-darwin17.7.0 file names to toolchain format
1792configure:6888: result: func_convert_file_noop
1793configure:6895: checking for /opt/local/libexec/llvm-6.0/bin/ld option to reload object files
1794configure:6902: result: -r
1795configure:6976: checking for objdump
1796configure:6992: found /usr/bin/objdump
1797configure:7003: result: objdump
1798configure:7035: checking how to recognize dependent libraries
1799configure:7235: result: pass_all
1800configure:7320: checking for dlltool
1801configure:7350: result: no
1802configure:7380: checking how to associate runtime and link libraries
1803configure:7407: result: printf %s\n
1804configure:7467: checking for ar
1805configure:7483: found /opt/local/bin/ar
1806configure:7494: result: ar
1807configure:7547: checking for archiver @FILE support
1808configure:7564: /opt/local/bin/clang++-mp-6.0 -c -pipe -Os -std=c++14 -stdlib=libc++ -arch x86_64 -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m/.. conftest.cpp >&5
1809configure:7564: $? = 0
1810configure:7567: ar cr libconftest.a @conftest.lst >&5
1811ar: @conftest.lst: No such file or directory
1812configure:7570: $? = 1
1813configure:7590: result: no
1814configure:7648: checking for strip
1815configure:7664: found /opt/local/bin/strip
1816configure:7675: result: strip
1817configure:7747: checking for ranlib
1818configure:7763: found /opt/local/bin/ranlib
1819configure:7774: result: ranlib
1820configure:7876: checking command to parse /opt/local/bin/nm -B output from /opt/local/bin/clang-mp-6.0 object
1821configure:8029: /opt/local/bin/clang++-mp-6.0 -c -pipe -Os -std=c++14 -stdlib=libc++ -arch x86_64 -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m/.. conftest.cpp >&5
1822configure:8032: $? = 0
1823configure:8036: /opt/local/bin/nm -B 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
1824configure:8039: $? = 0
1825cannot find nm_test_var in conftest.nm
1826configure:8029: /opt/local/bin/clang++-mp-6.0 -c -pipe -Os -std=c++14 -stdlib=libc++ -arch x86_64 -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m/.. conftest.cpp >&5
1827configure:8032: $? = 0
1828configure:8036: /opt/local/bin/nm -B 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
1829configure:8039: $? = 0
1830configure:8105: /opt/local/bin/clang++-mp-6.0 -o conftest -pipe -Os -std=c++14 -stdlib=libc++ -arch x86_64 -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m/.. -L/opt/local/lib -Wl,-headerpad_max_install_names -L/opt/local/lib -arch x86_64 conftest.cpp conftstm.o >&5
1831configure:8108: $? = 0
1832configure:8146: result: ok
1833configure:8193: checking for sysroot
1834configure:8223: result: no
1835configure:8230: checking for a working dd
1836configure:8268: result: /bin/dd
1837configure:8272: checking how to truncate binary pipes
1838configure:8287: result: /bin/dd bs=4096 count=1
1839configure:8616: checking for mt
1840configure:8646: result: no
1841configure:8666: checking if : is a manifest tool
1842configure:8672: : '-?'
1843configure:8680: result: no
1844configure:8736: checking for dsymutil
1845configure:8752: found /usr/bin/dsymutil
1846configure:8763: result: dsymutil
1847configure:8828: checking for nmedit
1848configure:8844: found /opt/local/bin/nmedit
1849configure:8855: result: nmedit
1850configure:8920: checking for lipo
1851configure:8936: found /opt/local/bin/lipo
1852configure:8947: result: lipo
1853configure:9012: checking for otool
1854configure:9028: found /opt/local/bin/otool
1855configure:9039: result: otool
1856configure:9104: checking for otool64
1857configure:9134: result: no
1858configure:9179: checking for -single_module linker flag
1859/opt/local/bin/clang-mp-6.0 -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
1860configure:9212: result: yes
1861configure:9215: checking for -exported_symbols_list linker flag
1862configure:9235: /opt/local/bin/clang++-mp-6.0 -o conftest -pipe -Os -std=c++14 -stdlib=libc++ -arch x86_64 -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m/.. -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
1863configure:9235: $? = 0
1864configure:9245: result: yes
1865configure:9248: checking for -force_load linker flag
1866/opt/local/bin/clang-mp-6.0 -pipe -Os -arch x86_64 -c -o conftest.o conftest.c
1867ar cr libconftest.a conftest.o
1868ranlib libconftest.a
1869/opt/local/bin/clang-mp-6.0 -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
1870configure:9280: result: yes
1871configure:9354: checking for dlfcn.h
1872configure:9354: /opt/local/bin/clang++-mp-6.0 -c -pipe -Os -std=c++14 -stdlib=libc++ -arch x86_64 -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m/.. conftest.cpp >&5
1873configure:9354: $? = 0
1874configure:9354: result: yes
1875configure:9590: checking for objdir
1876configure:9605: result: .libs
1877configure:9865: checking if /opt/local/bin/clang-mp-6.0 supports -fno-rtti -fno-exceptions
1878configure:9883: /opt/local/bin/clang-mp-6.0 -c -pipe -Os -arch x86_64 -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m/.. -fno-rtti -fno-exceptions conftest.c >&5
1879configure:9887: $? = 0
1880configure:9900: result: yes
1881configure:10258: checking for /opt/local/bin/clang-mp-6.0 option to produce PIC
1882configure:10265: result: -fno-common -DPIC
1883configure:10273: checking if /opt/local/bin/clang-mp-6.0 PIC flag -fno-common -DPIC works
1884configure:10291: /opt/local/bin/clang-mp-6.0 -c -pipe -Os -arch x86_64 -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m/.. -fno-common -DPIC -DPIC conftest.c >&5
1885configure:10295: $? = 0
1886configure:10308: result: yes
1887configure:10337: checking if /opt/local/bin/clang-mp-6.0 static flag -static works
1888configure:10365: result: no
1889configure:10380: checking if /opt/local/bin/clang-mp-6.0 supports -c -o file.o
1890configure:10401: /opt/local/bin/clang-mp-6.0 -c -pipe -Os -arch x86_64 -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m/.. -o out/conftest2.o conftest.c >&5
1891configure:10405: $? = 0
1892configure:10427: result: yes
1893configure:10435: checking if /opt/local/bin/clang-mp-6.0 supports -c -o file.o
1894configure:10482: result: yes
1895configure:10515: checking whether the /opt/local/bin/clang-mp-6.0 linker (/opt/local/libexec/llvm-6.0/bin/ld) supports shared libraries
1896configure:11776: result: yes
1897configure:12016: checking dynamic linker characteristics
1898configure:12834: result: darwin17.7.0 dyld
1899configure:12956: checking how to hardcode library paths into programs
1900configure:12981: result: immediate
1901configure:13529: checking whether stripping libraries is possible
1902configure:13546: result: yes
1903configure:13580: checking if libtool supports shared libraries
1904configure:13582: result: yes
1905configure:13585: checking whether to build shared libraries
1906configure:13610: result: yes
1907configure:13613: checking whether to build static libraries
1908configure:13617: result: no
1909configure:13640: checking how to run the C++ preprocessor
1910configure:13706: result: /opt/local/bin/clang++-mp-6.0 -E
1911configure:13726: /opt/local/bin/clang++-mp-6.0 -E -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m/.. conftest.cpp
1912configure:13726: $? = 0
1913configure:13740: /opt/local/bin/clang++-mp-6.0 -E -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m/.. conftest.cpp
1914conftest.cpp:29:10: fatal error: 'ac_nonexistent.h' file not found
1915#include <ac_nonexistent.h>
1916         ^~~~~~~~~~~~~~~~~~
19171 error generated.
1918configure:13740: $? = 1
1919configure: failed program was:
1920| /* confdefs.h */
1921| #define PACKAGE_NAME "graph-tool"
1922| #define PACKAGE_TARNAME "graph-tool"
1923| #define PACKAGE_VERSION "2.27"
1924| #define PACKAGE_STRING "graph-tool 2.27"
1925| #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues"
1926| #define PACKAGE_URL "http://graph-tool.skewed.de"
1927| #define PACKAGE "graph-tool"
1928| #define VERSION "2.27"
1929| #define STDC_HEADERS 1
1930| #define HAVE_SYS_TYPES_H 1
1931| #define HAVE_SYS_STAT_H 1
1932| #define HAVE_STDLIB_H 1
1933| #define HAVE_STRING_H 1
1934| #define HAVE_MEMORY_H 1
1935| #define HAVE_STRINGS_H 1
1936| #define HAVE_INTTYPES_H 1
1937| #define HAVE_STDINT_H 1
1938| #define HAVE_UNISTD_H 1
1939| #define __EXTENSIONS__ 1
1940| #define _ALL_SOURCE 1
1941| #define _GNU_SOURCE 1
1942| #define _POSIX_PTHREAD_SEMANTICS 1
1943| #define _TANDEM_SOURCE 1
1944| #define STDC_HEADERS 1
1945| #define HAVE_DLFCN_H 1
1946| #define LT_OBJDIR ".libs/"
1947| /* end confdefs.h.  */
1948| #include <ac_nonexistent.h>
1949configure:13902: checking for ld used by /opt/local/bin/clang++-mp-6.0
1950configure:13969: result: /opt/local/libexec/llvm-6.0/bin/ld
1951configure:13976: checking if the linker (/opt/local/libexec/llvm-6.0/bin/ld) is GNU ld
1952configure:13991: result: no
1953configure:14046: checking whether the /opt/local/bin/clang++-mp-6.0 linker (/opt/local/libexec/llvm-6.0/bin/ld) supports shared libraries
1954configure:15120: result: yes
1955configure:15156: /opt/local/bin/clang++-mp-6.0 -c -pipe -Os -std=c++14 -stdlib=libc++ -arch x86_64 -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m/.. conftest.cpp >&5
1956configure:15159: $? = 0
1957configure:15640: checking for /opt/local/bin/clang++-mp-6.0 option to produce PIC
1958configure:15647: result: -fno-common -DPIC
1959configure:15655: checking if /opt/local/bin/clang++-mp-6.0 PIC flag -fno-common -DPIC works
1960configure:15673: /opt/local/bin/clang++-mp-6.0 -c -pipe -Os -std=c++14 -stdlib=libc++ -arch x86_64 -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m/.. -fno-common -DPIC -DPIC conftest.cpp >&5
1961configure:15677: $? = 0
1962configure:15690: result: yes
1963configure:15713: checking if /opt/local/bin/clang++-mp-6.0 static flag -static works
1964configure:15741: result: no
1965configure:15753: checking if /opt/local/bin/clang++-mp-6.0 supports -c -o file.o
1966configure:15774: /opt/local/bin/clang++-mp-6.0 -c -pipe -Os -std=c++14 -stdlib=libc++ -arch x86_64 -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m/.. -o out/conftest2.o conftest.cpp >&5
1967configure:15778: $? = 0
1968configure:15800: result: yes
1969configure:15805: checking if /opt/local/bin/clang++-mp-6.0 supports -c -o file.o
1970configure:15852: result: yes
1971configure:15882: checking whether the /opt/local/bin/clang++-mp-6.0 linker (/opt/local/libexec/llvm-6.0/bin/ld) supports shared libraries
1972configure:15922: result: yes
1973configure:16063: checking dynamic linker characteristics
1974configure:16808: result: darwin17.7.0 dyld
1975configure:16873: checking how to hardcode library paths into programs
1976configure:16898: result: immediate
1977configure:17015: checking for pkg-config
1978configure:17033: found /opt/local/bin/pkg-config
1979configure:17045: result: /opt/local/bin/pkg-config
1980configure:17070: checking pkg-config is at least version 0.9.0
1981configure:17073: result: yes
1982configure:17104: checking whether /opt/local/bin/clang++-mp-6.0 supports C++14 features by default
1983configure:17518: /opt/local/bin/clang++-mp-6.0 -c -pipe -Os -std=c++14 -stdlib=libc++ -arch x86_64 -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m/.. conftest.cpp >&5
1984configure:17518: $? = 0
1985configure:17525: result: yes
1986configure:18002: checking whether to enable debug info
1987configure:18021: result: no
1988configure:18035: checking whether to enable parallel algorithms with openmp
1989configure:18040: result: yes
1990configure:18045: checking for OpenMP flag of C++ compiler
1991configure:18090: /opt/local/bin/clang++-mp-6.0 -o conftest -O3 -fvisibility=default -fvisibility-inlines-hidden -Wno-deprecated -Wall -Wextra -ftemplate-backtrace-limit=0 -pipe -Os -std=c++14 -stdlib=libc++ -arch x86_64 -fopenmp -DNDEBUG -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m/.. -L/opt/local/lib -Wl,-headerpad_max_install_names -L/opt/local/lib -arch x86_64 conftest.cpp  >&5
1992configure:18090: $? = 0
1993configure:18099: result: -fopenmp
1994configure:18201: checking whether to enable cairo drawing
1995configure:18214: result: yes
1996configure:18309: checking for Expat XML Parser headers in /usr/include
1997configure:18333: /opt/local/bin/clang++-mp-6.0 -c -fopenmp -O3 -fvisibility=default -fvisibility-inlines-hidden -Wno-deprecated -Wall -Wextra -ftemplate-backtrace-limit=0 -pipe -Os -std=c++14 -stdlib=libc++ -arch x86_64 -DNDEBUG -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m/.. -I/usr/include conftest.cpp >&5
1998configure:18333: $? = 0
1999configure:18337: result: found
2000configure:18358: checking for Expat XML Parser libraries
2001configure:18386: /opt/local/bin/clang++-mp-6.0 -o conftest -fopenmp -O3 -fvisibility=default -fvisibility-inlines-hidden -Wno-deprecated -Wall -Wextra -ftemplate-backtrace-limit=0 -pipe -Os -std=c++14 -stdlib=libc++ -arch x86_64 -DNDEBUG -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m/.. -I/usr/include -L/opt/local/lib -Wl,-headerpad_max_install_names -L/opt/local/lib -arch x86_64 -L/usr/lib conftest.cpp  -lexpat >&5
2002configure:18386: $? = 0
2003configure:18391: result: found
2004configure:18417: checking for Expat XML Parser
2005configure:18432: result: yes
2006configure:18518: checking whether /opt/local/Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6 version is >= 2.7
2007configure:18529: /opt/local/Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6 -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.7'.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)
2008configure:18532: $? = 0
2009configure:18534: result: yes
2010configure:18627: checking for /opt/local/Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6 version
2011configure:18634: result: 3.6
2012configure:18646: checking for /opt/local/Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6 platform
2013configure:18653: result: darwin
2014configure:18679: checking for /opt/local/Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6 script directory
2015configure:18714: result: ${prefix}/lib/python3.6/site-packages
2016configure:18723: checking for /opt/local/Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6 extension module directory
2017configure:18758: result: ${exec_prefix}/lib/python3.6/site-packages
2018configure:18782: checking for python3.6
2019configure:18812: result: /opt/local/Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6
2020configure:18828: checking for a version of Python >= '2.1.0'
2021configure:18854: result: yes
2022configure:18862: checking for a version of Python == '3.6.6'
2023configure:18868: result: yes
2024configure:18885: checking for the distutils Python package
2025configure:18889: result: yes
2026configure:18903: checking for Python include path
2027configure:18919: result: -I/opt/local/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m
2028configure:18926: checking for Python library path
2029configure:19003: result: -L/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib -lpython3.6m
2030configure:19010: checking for Python site-packages path
2031configure:19016: result: /opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages
2032configure:19023: checking python extra libraries
2033configure:19030: result: -Wl,-stack_size,1000000 -framework CoreFoundation /opt/local/Library/Frameworks/Python.framework/Versions/3.6/Python
2034configure:19037: checking python extra linking flags
2035configure:19044: result: -L/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/.. -lpython3.6
2036configure:19051: checking consistency of all components of python development environment
2037configure:19079: /opt/local/bin/clang-mp-6.0 -o conftest -pipe -Os -arch x86_64 -DNDEBUG -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m/.. -I/opt/local/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m -L/opt/local/lib -Wl,-headerpad_max_install_names -L/opt/local/lib -arch x86_64 -L/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/.. -lpython3.6 conftest.c  -L/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib -lpython3.6m -Wl,-stack_size,1000000 -framework CoreFoundation /opt/local/Library/Frameworks/Python.framework/Versions/3.6/Python -Wl,-stack_size,1000000 -framework CoreFoundation /opt/local/Library/Frameworks/Python.framework/Versions/3.6/Python >&5
2038ld: unexpected token: !tapi-tbd-v3 file '/System/Library/Frameworks//CoreFoundation.framework/CoreFoundation.tbd' for architecture x86_64
2039clang: error: linker command failed with exit code 1 (use -v to see invocation)
2040configure:19079: $? = 1
2041configure: failed program was:
2042| /* confdefs.h */
2043| #define PACKAGE_NAME "graph-tool"
2044| #define PACKAGE_TARNAME "graph-tool"
2045| #define PACKAGE_VERSION "2.27"
2046| #define PACKAGE_STRING "graph-tool 2.27"
2047| #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues"
2048| #define PACKAGE_URL "http://graph-tool.skewed.de"
2049| #define PACKAGE "graph-tool"
2050| #define VERSION "2.27"
2051| #define STDC_HEADERS 1
2052| #define HAVE_SYS_TYPES_H 1
2053| #define HAVE_SYS_STAT_H 1
2054| #define HAVE_STDLIB_H 1
2055| #define HAVE_STRING_H 1
2056| #define HAVE_MEMORY_H 1
2057| #define HAVE_STRINGS_H 1
2058| #define HAVE_INTTYPES_H 1
2059| #define HAVE_STDINT_H 1
2060| #define HAVE_UNISTD_H 1
2061| #define __EXTENSIONS__ 1
2062| #define _ALL_SOURCE 1
2063| #define _GNU_SOURCE 1
2064| #define _POSIX_PTHREAD_SEMANTICS 1
2065| #define _TANDEM_SOURCE 1
2066| #define STDC_HEADERS 1
2067| #define HAVE_DLFCN_H 1
2068| #define LT_OBJDIR ".libs/"
2069| #define HAVE_CXX14 1
2070| #define OPENMP_MIN_THRESH 300
2071| #define HAVE_OPENMP 1
2072| #define HAVE_PYTHON "3.6"
2073| /* end confdefs.h.  */
2074|
2075|               #include <Python.h>
2076| int
2077| main ()
2078| {
2079| Py_Initialize();
2080|   ;
2081|   return 0;
2082| }
2083|
2084configure:19097: result: no
2085configure:19101: error: in `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-graph-tool/py36-graph-tool/work/graph-tool-2.27':
2086configure:19103: error:
2087  Could not link test program to Python. Maybe the main Python library has been
2088  installed in some non-standard library path. If so, pass it to configure,
2089  via the LIBS environment variable.
2090  Example: ./configure LIBS="-L/usr/non-standard-path/python/lib"
2091  ============================================================================
2092   ERROR!
2093   You probably have to install the development version of the Python package
2094   for your distribution.  The exact name of this package varies among them.
2095  ============================================================================
2096
2097See `config.log' for more details
2098
2099## ---------------- ##
2100## Cache variables. ##
2101## ---------------- ##
2102
2103ac_cv_build=x86_64-apple-darwin17.7.0
2104ac_cv_c_compiler_gnu=yes
2105ac_cv_cxx_compiler_gnu=yes
2106ac_cv_env_CAIROMM_CFLAGS_set=
2107ac_cv_env_CAIROMM_CFLAGS_value=
2108ac_cv_env_CAIROMM_LIBS_set=
2109ac_cv_env_CAIROMM_LIBS_value=
2110ac_cv_env_CCC_set=
2111ac_cv_env_CCC_value=
2112ac_cv_env_CC_set=set
2113ac_cv_env_CC_value=/opt/local/bin/clang-mp-6.0
2114ac_cv_env_CFLAGS_set=set
2115ac_cv_env_CFLAGS_value='-pipe -Os -arch x86_64'
2116ac_cv_env_CPPFLAGS_set=set
2117ac_cv_env_CPPFLAGS_value='-I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m/..'
2118ac_cv_env_CPP_set=
2119ac_cv_env_CPP_value=
2120ac_cv_env_CXXCPP_set=
2121ac_cv_env_CXXCPP_value=
2122ac_cv_env_CXXFLAGS_set=set
2123ac_cv_env_CXXFLAGS_value='-pipe -Os -std=c++14 -stdlib=libc++ -arch x86_64'
2124ac_cv_env_CXX_set=set
2125ac_cv_env_CXX_value=/opt/local/bin/clang++-mp-6.0
2126ac_cv_env_LDFLAGS_set=set
2127ac_cv_env_LDFLAGS_value='-L/opt/local/lib -Wl,-headerpad_max_install_names -L/opt/local/lib -arch x86_64'
2128ac_cv_env_LIBS_set=
2129ac_cv_env_LIBS_value=
2130ac_cv_env_LT_SYS_LIBRARY_PATH_set=
2131ac_cv_env_LT_SYS_LIBRARY_PATH_value=
2132ac_cv_env_PKG_CONFIG_LIBDIR_set=
2133ac_cv_env_PKG_CONFIG_LIBDIR_value=
2134ac_cv_env_PKG_CONFIG_PATH_set=
2135ac_cv_env_PKG_CONFIG_PATH_value=
2136ac_cv_env_PKG_CONFIG_set=
2137ac_cv_env_PKG_CONFIG_value=
2138ac_cv_env_PYTHON_VERSION_set=set
2139ac_cv_env_PYTHON_VERSION_value=3.6
2140ac_cv_env_PYTHON_set=set
2141ac_cv_env_PYTHON_value=/opt/local/Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6
2142ac_cv_env_SPARSEHASH_CFLAGS_set=
2143ac_cv_env_SPARSEHASH_CFLAGS_value=
2144ac_cv_env_SPARSEHASH_LIBS_set=
2145ac_cv_env_SPARSEHASH_LIBS_value=
2146ac_cv_env_build_alias_set=
2147ac_cv_env_build_alias_value=
2148ac_cv_env_host_alias_set=
2149ac_cv_env_host_alias_value=
2150ac_cv_env_target_alias_set=
2151ac_cv_env_target_alias_value=
2152ac_cv_header_dlfcn_h=yes
2153ac_cv_header_inttypes_h=yes
2154ac_cv_header_memory_h=yes
2155ac_cv_header_minix_config_h=no
2156ac_cv_header_stdc=yes
2157ac_cv_header_stdint_h=yes
2158ac_cv_header_stdlib_h=yes
2159ac_cv_header_string_h=yes
2160ac_cv_header_strings_h=yes
2161ac_cv_header_sys_stat_h=yes
2162ac_cv_header_sys_types_h=yes
2163ac_cv_header_unistd_h=yes
2164ac_cv_host=x86_64-apple-darwin17.7.0
2165ac_cv_objext=o
2166ac_cv_path_EGREP='/opt/local/bin/grep -E'
2167ac_cv_path_FGREP='/opt/local/bin/grep -F'
2168ac_cv_path_GREP=/opt/local/bin/grep
2169ac_cv_path_PYTHON=/opt/local/Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6
2170ac_cv_path_SED=/opt/local/bin/gsed
2171ac_cv_path_ac_pt_PKG_CONFIG=/opt/local/bin/pkg-config
2172ac_cv_path_lt_DD=/bin/dd
2173ac_cv_prog_AWK=gawk
2174ac_cv_prog_CPP='/opt/local/bin/clang-mp-6.0 -E'
2175ac_cv_prog_CXXCPP='/opt/local/bin/clang++-mp-6.0 -E'
2176ac_cv_prog_ac_ct_AR=ar
2177ac_cv_prog_ac_ct_CC=/opt/local/bin/clang-mp-6.0
2178ac_cv_prog_ac_ct_DSYMUTIL=dsymutil
2179ac_cv_prog_ac_ct_LIPO=lipo
2180ac_cv_prog_ac_ct_NMEDIT=nmedit
2181ac_cv_prog_ac_ct_OBJDUMP=objdump
2182ac_cv_prog_ac_ct_OTOOL=otool
2183ac_cv_prog_ac_ct_RANLIB=ranlib
2184ac_cv_prog_ac_ct_STRIP=strip
2185ac_cv_prog_cc_c89=
2186ac_cv_prog_cc_c99=no
2187ac_cv_prog_cc_g=yes
2188ac_cv_prog_cc_stdc=
2189ac_cv_prog_cxx_g=yes
2190ac_cv_prog_make_make_set=yes
2191ac_cv_safe_to_define___extensions__=yes
2192ac_cv_search_strerror='none required'
2193ac_cv_target=x86_64-apple-darwin17.7.0
2194am_cv_CC_dependencies_compiler_type=gcc3
2195am_cv_CXX_dependencies_compiler_type=gcc3
2196am_cv_make_support_nested_variables=yes
2197am_cv_prog_cc_c_o=yes
2198am_cv_prog_tar_pax=gnutar
2199am_cv_python_platform=darwin
2200am_cv_python_pyexecdir='${exec_prefix}/lib/python3.6/site-packages'
2201am_cv_python_pythondir='${prefix}/lib/python3.6/site-packages'
2202am_cv_python_version=3.6
2203ax_cv_cxx_compile_cxx14=yes
2204ax_cv_cxx_openmp=-fopenmp
2205lt_cv_apple_cc_single_mod=yes
2206lt_cv_ar_at_file=no
2207lt_cv_deplibs_check_method=pass_all
2208lt_cv_file_magic_cmd='$MAGIC_CMD'
2209lt_cv_file_magic_test_file=
2210lt_cv_ld_exported_symbols_list=yes
2211lt_cv_ld_force_load=yes
2212lt_cv_ld_reload_flag=-r
2213lt_cv_nm_interface='BSD nm'
2214lt_cv_objdir=.libs
2215lt_cv_path_LD=/opt/local/libexec/llvm-6.0/bin/ld
2216lt_cv_path_LDCXX=/opt/local/libexec/llvm-6.0/bin/ld
2217lt_cv_path_NM='/opt/local/bin/nm -B'
2218lt_cv_path_mainfest_tool=no
2219lt_cv_prog_compiler_c_o=yes
2220lt_cv_prog_compiler_c_o_CXX=yes
2221lt_cv_prog_compiler_pic='-fno-common -DPIC'
2222lt_cv_prog_compiler_pic_CXX='-fno-common -DPIC'
2223lt_cv_prog_compiler_pic_works=yes
2224lt_cv_prog_compiler_pic_works_CXX=yes
2225lt_cv_prog_compiler_rtti_exceptions=yes
2226lt_cv_prog_compiler_static_works=no
2227lt_cv_prog_compiler_static_works_CXX=no
2228lt_cv_prog_gnu_ld=no
2229lt_cv_prog_gnu_ldcxx=no
2230lt_cv_sharedlib_from_linklib_cmd='printf %s\n'
2231lt_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'\'''
2232lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \(.*\) .*$/  {"\1", (void *) 0},/p'\'' -e '\''s/^[BCDEGRST][BCDEGRST]* .* \(.*\)$/  {"\1", (void *) \&\1},/p'\'''
2233lt_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'\'''
2234lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[BCDEGRST][BCDEGRST]* .* \(.*\)$/extern char \1;/p'\'''
2235lt_cv_sys_global_symbol_to_import=
2236lt_cv_sys_max_cmd_len=196608
2237lt_cv_to_host_file_cmd=func_convert_file_noop
2238lt_cv_to_tool_file_cmd=func_convert_file_noop
2239lt_cv_truncate_bin='/bin/dd bs=4096 count=1'
2240
2241## ----------------- ##
2242## Output variables. ##
2243## ----------------- ##
2244
2245ACLOCAL='${SHELL} /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-graph-tool/py36-graph-tool/work/graph-tool-2.27/build-aux/missing aclocal-1.15'
2246AMDEPBACKSLASH='\'
2247AMDEP_FALSE='#'
2248AMDEP_TRUE=''
2249AMTAR='$${TAR-tar}'
2250AM_BACKSLASH='\'
2251AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2252AM_DEFAULT_VERBOSITY='0'
2253AM_V='$(V)'
2254AR='ar'
2255AUTOCONF='${SHELL} /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-graph-tool/py36-graph-tool/work/graph-tool-2.27/build-aux/missing autoconf'
2256AUTOHEADER='${SHELL} /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-graph-tool/py36-graph-tool/work/graph-tool-2.27/build-aux/missing autoheader'
2257AUTOMAKE='${SHELL} /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-graph-tool/py36-graph-tool/work/graph-tool-2.27/build-aux/missing automake-1.15'
2258AWK='gawk'
2259BOOST_CONTEXT_LIB=''
2260BOOST_COROUTINE_LIB=''
2261BOOST_CPPFLAGS=''
2262BOOST_GRAPH_LIB=''
2263BOOST_IOSTREAMS_LIB=''
2264BOOST_LDFLAGS=''
2265BOOST_PYTHON_LIB=''
2266BOOST_REGEX_LIB=''
2267BOOST_THREAD_LIB=''
2268CAIROMM_CFLAGS=''
2269CAIROMM_LIBS=''
2270CC='/opt/local/bin/clang-mp-6.0'
2271CCDEPMODE='depmode=gcc3'
2272CFLAGS='-pipe -Os -arch x86_64'
2273CGAL_CPPFLAGS=''
2274CGAL_FLAGS=''
2275CGAL_LDFLAGS=''
2276CPP='/opt/local/bin/clang-mp-6.0 -E'
2277CPPFLAGS='-DNDEBUG -I/opt/local/include -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m/..'
2278CXX='/opt/local/bin/clang++-mp-6.0'
2279CXXCPP='/opt/local/bin/clang++-mp-6.0 -E'
2280CXXDEPMODE='depmode=gcc3'
2281CXXFLAGS='-fopenmp -O3 -fvisibility=default -fvisibility-inlines-hidden -Wno-deprecated -Wall -Wextra -ftemplate-backtrace-limit=0 -pipe -Os -std=c++14 -stdlib=libc++ -arch x86_64'
2282CYGPATH_W='echo'
2283DEFS=''
2284DEPDIR='.deps'
2285DLLTOOL='false'
2286DSYMUTIL='dsymutil'
2287DUMPBIN=''
2288ECHO_C='\c'
2289ECHO_N=''
2290ECHO_T=''
2291EGREP='/opt/local/bin/grep -E'
2292EXEEXT=''
2293EXPAT_CFLAGS='-I/usr/include'
2294EXPAT_LDFLAGS='-L/usr/lib'
2295EXPAT_LIBS='-lexpat'
2296EXPAT_VERSION=''
2297FGREP='/opt/local/bin/grep -F'
2298GRAPH_TOOL_VERSION_MAJOR='2'
2299GRAPH_TOOL_VERSION_MINOR='27'
2300GREP='/opt/local/bin/grep'
2301HAVE_CXX14='1'
2302INSTALL_DATA='${INSTALL} -m 644'
2303INSTALL_PROGRAM='${INSTALL}'
2304INSTALL_SCRIPT='${INSTALL}'
2305INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
2306LD='/opt/local/libexec/llvm-6.0/bin/ld'
2307LDFLAGS='-L/opt/local/lib -Wl,-headerpad_max_install_names -L/opt/local/lib -arch x86_64'
2308LIBOBJS=''
2309LIBS=''
2310LIBTOOL='$(SHELL) $(top_builddir)/libtool'
2311LIPO='lipo'
2312LN_S='ln -s'
2313LTLIBOBJS=''
2314LT_SYS_LIBRARY_PATH=''
2315MAKEINFO='${SHELL} /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-graph-tool/py36-graph-tool/work/graph-tool-2.27/build-aux/missing makeinfo'
2316MANIFEST_TOOL=':'
2317MKDIR_P='build-aux/install-sh -c -d'
2318MOD_CPPFLAGS=''
2319MOD_DIR=''
2320MOD_LDFLAGS=''
2321MOD_LIBADD=''
2322NM='/opt/local/bin/nm -B'
2323NMEDIT='nmedit'
2324NO_PREFIX_PACKAGE_DATA_DIR=''
2325NO_PREFIX_PACKAGE_DOC_DIR=''
2326OBJDUMP='objdump'
2327OBJEXT='o'
2328OTOOL64=':'
2329OTOOL='otool'
2330PACKAGE='graph-tool'
2331PACKAGE_BUGREPORT='http://graph-tool.skewed.de/issues'
2332PACKAGE_DATA_DIR=''
2333PACKAGE_DOC_DIR=''
2334PACKAGE_NAME='graph-tool'
2335PACKAGE_STRING='graph-tool 2.27'
2336PACKAGE_TARNAME='graph-tool'
2337PACKAGE_URL='http://graph-tool.skewed.de'
2338PACKAGE_VERSION='2.27'
2339PATH_SEPARATOR=':'
2340PKG_CONFIG='/opt/local/bin/pkg-config'
2341PKG_CONFIG_LIBDIR=''
2342PKG_CONFIG_PATH=''
2343PYTHON='/opt/local/Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6'
2344PYTHON_CPPFLAGS='-I/opt/local/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m'
2345PYTHON_EXEC_PREFIX='${exec_prefix}'
2346PYTHON_EXTRA_LDFLAGS='-L/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/.. -lpython3.6'
2347PYTHON_EXTRA_LIBS='-Wl,-stack_size,1000000 -framework CoreFoundation /opt/local/Library/Frameworks/Python.framework/Versions/3.6/Python'
2348PYTHON_FULL_VERSION='3.6.6'
2349PYTHON_LIBS='-L/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib -lpython3.6m'
2350PYTHON_PLATFORM='darwin'
2351PYTHON_PREFIX='${prefix}'
2352PYTHON_SITE_PKG='/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages'
2353PYTHON_VERSION='3.6'
2354RANLIB='ranlib'
2355SED='/opt/local/bin/gsed'
2356SET_MAKE=''
2357SHELL='/bin/sh'
2358SPARSEHASH_CFLAGS=''
2359SPARSEHASH_LIBS=''
2360STRIP='strip'
2361VERSION='2.27'
2362ac_ct_AR='ar'
2363ac_ct_CC='/opt/local/bin/clang-mp-6.0'
2364ac_ct_CXX=''
2365ac_ct_DUMPBIN=''
2366am__EXEEXT_FALSE=''
2367am__EXEEXT_TRUE=''
2368am__fastdepCC_FALSE='#'
2369am__fastdepCC_TRUE=''
2370am__fastdepCXX_FALSE='#'
2371am__fastdepCXX_TRUE=''
2372am__include='include'
2373am__isrc=''
2374am__leading_dot='.'
2375am__nodep='_no'
2376am__quote=''
2377am__tar='tar --format=posix -chf - "$$tardir"'
2378am__untar='tar -xf -'
2379bindir='${exec_prefix}/bin'
2380build='x86_64-apple-darwin17.7.0'
2381build_alias=''
2382build_cpu='x86_64'
2383build_os='darwin17.7.0'
2384build_vendor='apple'
2385datadir='${datarootdir}'
2386datarootdir='${prefix}/share'
2387docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
2388dvidir='${docdir}'
2389exec_prefix='/opt/local/Library/Frameworks/Python.framework/Versions/3.6'
2390host='x86_64-apple-darwin17.7.0'
2391host_alias=''
2392host_cpu='x86_64'
2393host_os='darwin17.7.0'
2394host_vendor='apple'
2395htmldir='${docdir}'
2396includedir='${prefix}/include'
2397infodir='${datarootdir}/info'
2398install_sh='${SHELL} /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-graph-tool/py36-graph-tool/work/graph-tool-2.27/build-aux/install-sh'
2399libdir='${exec_prefix}/lib'
2400libexecdir='${exec_prefix}/libexec'
2401localedir='${datarootdir}/locale'
2402localstatedir='${prefix}/var'
2403mandir='${datarootdir}/man'
2404mkdir_p='$(MKDIR_P)'
2405oldincludedir='/usr/include'
2406pdfdir='${docdir}'
2407pkgconfig_libdir=''
2408pkgconfig_libfile=''
2409pkgconfigdir='${libdir}/pkgconfig'
2410pkgpyexecdir='${pyexecdir}/graph-tool'
2411pkgpythondir='${pythondir}/graph-tool'
2412prefix='/opt/local'
2413program_transform_name='s,x,x,'
2414psdir='${docdir}'
2415pyexecdir='${exec_prefix}/lib/python3.6/site-packages'
2416pythondir='${prefix}/lib/python3.6/site-packages'
2417sbindir='${exec_prefix}/sbin'
2418sharedstatedir='${prefix}/com'
2419sysconfdir='${prefix}/etc'
2420target='x86_64-apple-darwin17.7.0'
2421target_alias=''
2422target_cpu='x86_64'
2423target_os='darwin17.7.0'
2424target_vendor='apple'
2425
2426## ----------- ##
2427## confdefs.h. ##
2428## ----------- ##
2429
2430/* confdefs.h */
2431#define PACKAGE_NAME "graph-tool"
2432#define PACKAGE_TARNAME "graph-tool"
2433#define PACKAGE_VERSION "2.27"
2434#define PACKAGE_STRING "graph-tool 2.27"
2435#define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues"
2436#define PACKAGE_URL "http://graph-tool.skewed.de"
2437#define PACKAGE "graph-tool"
2438#define VERSION "2.27"
2439#define STDC_HEADERS 1
2440#define HAVE_SYS_TYPES_H 1
2441#define HAVE_SYS_STAT_H 1
2442#define HAVE_STDLIB_H 1
2443#define HAVE_STRING_H 1
2444#define HAVE_MEMORY_H 1
2445#define HAVE_STRINGS_H 1
2446#define HAVE_INTTYPES_H 1
2447#define HAVE_STDINT_H 1
2448#define HAVE_UNISTD_H 1
2449#define __EXTENSIONS__ 1
2450#define _ALL_SOURCE 1
2451#define _GNU_SOURCE 1
2452#define _POSIX_PTHREAD_SEMANTICS 1
2453#define _TANDEM_SOURCE 1
2454#define STDC_HEADERS 1
2455#define HAVE_DLFCN_H 1
2456#define LT_OBJDIR ".libs/"
2457#define HAVE_CXX14 1
2458#define OPENMP_MIN_THRESH 300
2459#define HAVE_OPENMP 1
2460#define HAVE_PYTHON "3.6"
2461
2462configure: exit 1