1 | This file contains any messages produced by compilers while |
---|
2 | running configure, to aid debugging if configure makes a mistake. |
---|
3 | |
---|
4 | It was created by configure, which was |
---|
5 | generated by GNU Autoconf 2.71. Invocation command line was |
---|
6 | |
---|
7 | $ ./configure --prefix=/opt/local --with-Tcl=/opt/local --with-Tcl-ver=8.4 --with-tk=/opt/local --with-tk-ver=8.4 --prefix=/opt/local 'CPPFLAGS=-I/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_otcl/otcl/work/tcl8.4.9/generic/' 'CFLAGS=-I/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_otcl/otcl/work/tcl8.4.9/generic/' LDFLAGS=-L/opt/local/lib |
---|
8 | |
---|
9 | ## --------- ## |
---|
10 | ## Platform. ## |
---|
11 | ## --------- ## |
---|
12 | |
---|
13 | hostname = 570657-MITLL |
---|
14 | uname -m = x86_64 |
---|
15 | uname -r = 22.5.0 |
---|
16 | uname -s = Darwin |
---|
17 | uname -v = Darwin Kernel Version 22.5.0: Thu Jun 8 22:22:22 PDT 2023; root:xnu-8796.121.3~7/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 22.5.0: Thu Jun 8 22:22:22 PDT 2023; root:xnu-8796.121.3~7/RELEASE_X86_64 |
---|
27 | Kernel configured for up to 20 processors. |
---|
28 | 10 processors are physically available. |
---|
29 | 20 processors are logically available. |
---|
30 | Processor type: x86_64h (Intel x86-64h Haswell) |
---|
31 | Processors active: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
---|
32 | Primary memory available: 64.00 gigabytes |
---|
33 | Default processor set: 985 tasks, 5180 threads, 20 processors |
---|
34 | Load average: 2.93, Mach factor: 17.05 |
---|
35 | /bin/machine = unknown |
---|
36 | /usr/bin/oslevel = unknown |
---|
37 | /bin/universe = unknown |
---|
38 | |
---|
39 | PATH: /opt/local/bin/ |
---|
40 | PATH: /opt/local/sbin/ |
---|
41 | PATH: /bin/ |
---|
42 | PATH: /sbin/ |
---|
43 | PATH: /usr/bin/ |
---|
44 | PATH: /usr/sbin/ |
---|
45 | |
---|
46 | |
---|
47 | ## ----------- ## |
---|
48 | ## Core tests. ## |
---|
49 | ## ----------- ## |
---|
50 | |
---|
51 | configure:2546: looking for aux files: install-sh config.guess config.sub |
---|
52 | configure:2559: trying ./ |
---|
53 | configure:2570: ./install-sh found |
---|
54 | configure:2588: ./config.guess found |
---|
55 | configure:2588: ./config.sub found |
---|
56 | configure:2781: checking build system type |
---|
57 | configure:2796: result: i386-apple-darwin22.5.0 |
---|
58 | configure:2816: checking host system type |
---|
59 | configure:2830: result: i386-apple-darwin22.5.0 |
---|
60 | configure:2850: checking target system type |
---|
61 | configure:2864: result: i386-apple-darwin22.5.0 |
---|
62 | configure:2954: checking for gcc |
---|
63 | configure:2986: result: /usr/bin/clang |
---|
64 | configure:3339: checking for C compiler version |
---|
65 | configure:3348: /usr/bin/clang --version >&5 |
---|
66 | Apple clang version 14.0.3 (clang-1403.0.22.14.1) |
---|
67 | Target: x86_64-apple-darwin22.5.0 |
---|
68 | Thread model: posix |
---|
69 | InstalledDir: /Library/Developer/CommandLineTools/usr/bin |
---|
70 | configure:3359: $? = 0 |
---|
71 | configure:3348: /usr/bin/clang -v >&5 |
---|
72 | Apple clang version 14.0.3 (clang-1403.0.22.14.1) |
---|
73 | Target: x86_64-apple-darwin22.5.0 |
---|
74 | Thread model: posix |
---|
75 | InstalledDir: /Library/Developer/CommandLineTools/usr/bin |
---|
76 | configure:3359: $? = 0 |
---|
77 | configure:3348: /usr/bin/clang -V >&5 |
---|
78 | clang: error: argument to '-V' is missing (expected 1 value) |
---|
79 | clang: error: no input files |
---|
80 | configure:3359: $? = 1 |
---|
81 | configure:3348: /usr/bin/clang -qversion >&5 |
---|
82 | clang: error: unknown argument '-qversion'; did you mean '--version'? |
---|
83 | clang: error: no input files |
---|
84 | configure:3359: $? = 1 |
---|
85 | configure:3348: /usr/bin/clang -version >&5 |
---|
86 | clang: error: unknown argument '-version'; did you mean '--version'? |
---|
87 | clang: error: no input files |
---|
88 | configure:3359: $? = 1 |
---|
89 | configure:3379: checking whether the C compiler works |
---|
90 | configure:3401: /usr/bin/clang -I/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_otcl/otcl/work/tcl8.4.9/generic/ -I/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_otcl/otcl/work/tcl8.4.9/generic/ -L/opt/local/lib conftest.c >&5 |
---|
91 | configure:3405: $? = 0 |
---|
92 | configure:3455: result: yes |
---|
93 | configure:3458: checking for C compiler default output file name |
---|
94 | configure:3460: result: a.out |
---|
95 | configure:3466: checking for suffix of executables |
---|
96 | configure:3473: /usr/bin/clang -o conftest -I/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_otcl/otcl/work/tcl8.4.9/generic/ -I/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_otcl/otcl/work/tcl8.4.9/generic/ -L/opt/local/lib conftest.c >&5 |
---|
97 | configure:3477: $? = 0 |
---|
98 | configure:3500: result: |
---|
99 | configure:3522: checking whether we are cross compiling |
---|
100 | configure:3530: /usr/bin/clang -o conftest -I/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_otcl/otcl/work/tcl8.4.9/generic/ -I/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_otcl/otcl/work/tcl8.4.9/generic/ -L/opt/local/lib conftest.c >&5 |
---|
101 | configure:3534: $? = 0 |
---|
102 | configure:3541: ./conftest |
---|
103 | configure:3545: $? = 0 |
---|
104 | configure:3560: result: no |
---|
105 | configure:3565: checking for suffix of object files |
---|
106 | configure:3588: /usr/bin/clang -c -I/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_otcl/otcl/work/tcl8.4.9/generic/ -I/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_otcl/otcl/work/tcl8.4.9/generic/ conftest.c >&5 |
---|
107 | configure:3592: $? = 0 |
---|
108 | configure:3614: result: o |
---|
109 | configure:3618: checking whether the compiler supports GNU C |
---|
110 | configure:3638: /usr/bin/clang -c -I/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_otcl/otcl/work/tcl8.4.9/generic/ -I/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_otcl/otcl/work/tcl8.4.9/generic/ conftest.c >&5 |
---|
111 | configure:3638: $? = 0 |
---|
112 | configure:3648: result: yes |
---|
113 | configure:3659: checking whether /usr/bin/clang accepts -g |
---|
114 | configure:3680: /usr/bin/clang -c -g -I/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_otcl/otcl/work/tcl8.4.9/generic/ conftest.c >&5 |
---|
115 | configure:3680: $? = 0 |
---|
116 | configure:3724: result: yes |
---|
117 | configure:3744: checking for /usr/bin/clang option to enable C11 features |
---|
118 | configure:3759: /usr/bin/clang -c -I/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_otcl/otcl/work/tcl8.4.9/generic/ -I/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_otcl/otcl/work/tcl8.4.9/generic/ conftest.c >&5 |
---|
119 | conftest.c:23:14: warning: a function declaration without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] |
---|
120 | static char *e (p, i) |
---|
121 | ^ |
---|
122 | 1 warning generated. |
---|
123 | configure:3759: $? = 0 |
---|
124 | configure:3777: result: none needed |
---|
125 | configure:4015: checking for C++ compiler version |
---|
126 | configure:4024: /usr/bin/clang++ --version >&5 |
---|
127 | Apple clang version 14.0.3 (clang-1403.0.22.14.1) |
---|
128 | Target: x86_64-apple-darwin22.5.0 |
---|
129 | Thread model: posix |
---|
130 | InstalledDir: /Library/Developer/CommandLineTools/usr/bin |
---|
131 | configure:4035: $? = 0 |
---|
132 | configure:4024: /usr/bin/clang++ -v >&5 |
---|
133 | Apple clang version 14.0.3 (clang-1403.0.22.14.1) |
---|
134 | Target: x86_64-apple-darwin22.5.0 |
---|
135 | Thread model: posix |
---|
136 | InstalledDir: /Library/Developer/CommandLineTools/usr/bin |
---|
137 | configure:4035: $? = 0 |
---|
138 | configure:4024: /usr/bin/clang++ -V >&5 |
---|
139 | clang: error: argument to '-V' is missing (expected 1 value) |
---|
140 | clang: error: no input files |
---|
141 | configure:4035: $? = 1 |
---|
142 | configure:4024: /usr/bin/clang++ -qversion >&5 |
---|
143 | clang: error: unknown argument '-qversion'; did you mean '--version'? |
---|
144 | clang: error: no input files |
---|
145 | configure:4035: $? = 1 |
---|
146 | configure:4039: checking whether the compiler supports GNU C++ |
---|
147 | configure:4059: /usr/bin/clang++ -c -pipe -Os -stdlib=libc++ -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch x86_64 -I/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_otcl/otcl/work/tcl8.4.9/generic/ conftest.cpp >&5 |
---|
148 | configure:4059: $? = 0 |
---|
149 | configure:4069: result: yes |
---|
150 | configure:4080: checking whether /usr/bin/clang++ accepts -g |
---|
151 | configure:4101: /usr/bin/clang++ -c -g -I/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_otcl/otcl/work/tcl8.4.9/generic/ conftest.cpp >&5 |
---|
152 | configure:4101: $? = 0 |
---|
153 | configure:4145: result: yes |
---|
154 | configure:4165: checking for /usr/bin/clang++ option to enable C++11 features |
---|
155 | configure:4180: /usr/bin/clang++ -c -pipe -Os -stdlib=libc++ -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch x86_64 -I/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_otcl/otcl/work/tcl8.4.9/generic/ conftest.cpp >&5 |
---|
156 | conftest.cpp:55:3: error: "Compiler does not advertise C++11 conformance" |
---|
157 | # error "Compiler does not advertise C++11 conformance" |
---|
158 | ^ |
---|
159 | conftest.cpp:60:3: error: unknown type name 'constexpr' |
---|
160 | constexpr int get_val() { return 20; } |
---|
161 | ^ |
---|
162 | conftest.cpp:72:17: error: delegating constructors are permitted only in C++11 |
---|
163 | delegate(): delegate(2354) {} |
---|
164 | ^~~~~~~~ |
---|
165 | conftest.cpp:83:26: warning: 'override' keyword is a C++11 extension [-Wc++11-extensions] |
---|
166 | virtual int getval() override final { return this->n * 2; } |
---|
167 | ^ |
---|
168 | conftest.cpp:83:35: warning: 'final' keyword is a C++11 extension [-Wc++11-extensions] |
---|
169 | virtual int getval() override final { return this->n * 2; } |
---|
170 | ^ |
---|
171 | conftest.cpp:90:16: warning: defaulted function definitions are a C++11 extension [-Wc++11-extensions] |
---|
172 | nocopy() = default; |
---|
173 | ^ |
---|
174 | conftest.cpp:91:29: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions] |
---|
175 | nocopy(const nocopy&) = delete; |
---|
176 | ^ |
---|
177 | conftest.cpp:92:41: warning: deleted function definitions are a C++11 extension [-Wc++11-extensions] |
---|
178 | nocopy & operator=(const nocopy&) = delete; |
---|
179 | ^ |
---|
180 | conftest.cpp:104:25: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions] |
---|
181 | template <typename V> auto sum(V first) -> V |
---|
182 | ^ |
---|
183 | conftest.cpp:104:25: error: 'auto' not allowed in function return type |
---|
184 | template <typename V> auto sum(V first) -> V |
---|
185 | ^~~~ |
---|
186 | conftest.cpp:104:42: error: expected ';' at end of declaration |
---|
187 | template <typename V> auto sum(V first) -> V |
---|
188 | ^ |
---|
189 | ; |
---|
190 | conftest.cpp:104:43: error: cannot use arrow operator on a type |
---|
191 | template <typename V> auto sum(V first) -> V |
---|
192 | ^ |
---|
193 | conftest.cpp:108:33: warning: variadic templates are a C++11 extension [-Wc++11-extensions] |
---|
194 | template <typename V, typename... Args> auto sum(V first, Args... rest) -> V |
---|
195 | ^ |
---|
196 | conftest.cpp:108:43: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions] |
---|
197 | template <typename V, typename... Args> auto sum(V first, Args... rest) -> V |
---|
198 | ^ |
---|
199 | conftest.cpp:108:43: error: 'auto' not allowed in function return type |
---|
200 | template <typename V, typename... Args> auto sum(V first, Args... rest) -> V |
---|
201 | ^~~~ |
---|
202 | conftest.cpp:108:74: error: expected ';' at end of declaration |
---|
203 | template <typename V, typename... Args> auto sum(V first, Args... rest) -> V |
---|
204 | ^ |
---|
205 | ; |
---|
206 | conftest.cpp:108:75: error: cannot use arrow operator on a type |
---|
207 | template <typename V, typename... Args> auto sum(V first, Args... rest) -> V |
---|
208 | ^ |
---|
209 | conftest.cpp:132:3: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions] |
---|
210 | auto a1 = 6538; |
---|
211 | ^ |
---|
212 | conftest.cpp:133:3: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions] |
---|
213 | auto a2 = 48573953.4; |
---|
214 | ^ |
---|
215 | conftest.cpp:134:3: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions] |
---|
216 | auto a3 = "String literal"; |
---|
217 | ^ |
---|
218 | conftest.cpp:137:8: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions] |
---|
219 | for (auto i = a3; *i; ++i) { total += *i; } |
---|
220 | ^ |
---|
221 | conftest.cpp:153:8: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions] |
---|
222 | for (auto &x : array) { x += 23; } |
---|
223 | ^ |
---|
224 | conftest.cpp:153:16: warning: range-based for loop is a C++11 extension [-Wc++11-extensions] |
---|
225 | for (auto &x : array) { x += 23; } |
---|
226 | ^ |
---|
227 | conftest.cpp:158:17: error: expected expression |
---|
228 | assert (eval ([](int x) { return x*2; }, 21) == 42); |
---|
229 | ^ |
---|
230 | conftest.cpp:160:17: error: expected expression |
---|
231 | assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0); |
---|
232 | ^ |
---|
233 | conftest.cpp:162:17: error: expected expression |
---|
234 | assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0); |
---|
235 | ^ |
---|
236 | conftest.cpp:168:3: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions] |
---|
237 | auto a = sum(1); |
---|
238 | ^ |
---|
239 | conftest.cpp:168:12: error: no matching function for call to 'sum' |
---|
240 | auto a = sum(1); |
---|
241 | ^~~ |
---|
242 | conftest.cpp:169:3: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions] |
---|
243 | auto b = sum(1, 2); |
---|
244 | ^ |
---|
245 | conftest.cpp:169:12: error: no matching function for call to 'sum' |
---|
246 | auto b = sum(1, 2); |
---|
247 | ^~~ |
---|
248 | conftest.cpp:170:3: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions] |
---|
249 | auto c = sum(1.0, 2.0, 3.0); |
---|
250 | ^ |
---|
251 | conftest.cpp:170:12: error: no matching function for call to 'sum' |
---|
252 | auto c = sum(1.0, 2.0, 3.0); |
---|
253 | ^~~ |
---|
254 | conftest.cpp:175:25: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse] |
---|
255 | cxx11test::delegate d2(); |
---|
256 | ^~ |
---|
257 | conftest.cpp:175:25: note: remove parentheses to declare a variable |
---|
258 | cxx11test::delegate d2(); |
---|
259 | ^~ |
---|
260 | conftest.cpp:188:16: error: found '<::' after a template name which forms the digraph '<:' (aka '[') and a ':', did you mean '< ::'? |
---|
261 | test_template<::test_template<int>> v(test_template<int>(12)); |
---|
262 | ^~~ |
---|
263 | < :: |
---|
264 | conftest.cpp:188:36: error: a space is required between consecutive right angle brackets (use '> >') |
---|
265 | test_template<::test_template<int>> v(test_template<int>(12)); |
---|
266 | ^~ |
---|
267 | > > |
---|
268 | conftest.cpp:192:22: error: use of undeclared identifier 'u8' |
---|
269 | char const *utf8 = u8"UTF-8 string \u2500"; |
---|
270 | ^ |
---|
271 | conftest.cpp:192:24: error: expected ';' at end of declaration |
---|
272 | char const *utf8 = u8"UTF-8 string \u2500"; |
---|
273 | ^ |
---|
274 | ; |
---|
275 | fatal error: too many errors emitted, stopping now [-ferror-limit=] |
---|
276 | 18 warnings and 20 errors generated. |
---|
277 | configure:4180: $? = 1 |
---|
278 | configure: failed program was: |
---|
279 | | /* confdefs.h */ |
---|
280 | | #define PACKAGE_NAME "" |
---|
281 | | #define PACKAGE_TARNAME "" |
---|
282 | | #define PACKAGE_VERSION "" |
---|
283 | | #define PACKAGE_STRING "" |
---|
284 | | #define PACKAGE_BUGREPORT "" |
---|
285 | | #define PACKAGE_URL "" |
---|
286 | | /* end confdefs.h. */ |
---|
287 | | |
---|
288 | | // Does the compiler advertise C++98 conformance? |
---|
289 | | #if !defined __cplusplus || __cplusplus < 199711L |
---|
290 | | # error "Compiler does not advertise C++98 conformance" |
---|
291 | | #endif |
---|
292 | | |
---|
293 | | // These inclusions are to reject old compilers that |
---|
294 | | // lack the unsuffixed header files. |
---|
295 | | #include <cstdlib> |
---|
296 | | #include <exception> |
---|
297 | | |
---|
298 | | // <cassert> and <cstring> are *not* freestanding headers in C++98. |
---|
299 | | extern void assert (int); |
---|
300 | | namespace std { |
---|
301 | | extern int strcmp (const char *, const char *); |
---|
302 | | } |
---|
303 | | |
---|
304 | | // Namespaces, exceptions, and templates were all added after "C++ 2.0". |
---|
305 | | using std::exception; |
---|
306 | | using std::strcmp; |
---|
307 | | |
---|
308 | | namespace { |
---|
309 | | |
---|
310 | | void test_exception_syntax() |
---|
311 | | { |
---|
312 | | try { |
---|
313 | | throw "test"; |
---|
314 | | } catch (const char *s) { |
---|
315 | | // Extra parentheses suppress a warning when building autoconf itself, |
---|
316 | | // due to lint rules shared with more typical C programs. |
---|
317 | | assert (!(strcmp) (s, "test")); |
---|
318 | | } |
---|
319 | | } |
---|
320 | | |
---|
321 | | template <typename T> struct test_template |
---|
322 | | { |
---|
323 | | T const val; |
---|
324 | | explicit test_template(T t) : val(t) {} |
---|
325 | | template <typename U> T add(U u) { return static_cast<T>(u) + val; } |
---|
326 | | }; |
---|
327 | | |
---|
328 | | } // anonymous namespace |
---|
329 | | |
---|
330 | | |
---|
331 | | // Does the compiler advertise C++ 2011 conformance? |
---|
332 | | #if !defined __cplusplus || __cplusplus < 201103L |
---|
333 | | # error "Compiler does not advertise C++11 conformance" |
---|
334 | | #endif |
---|
335 | | |
---|
336 | | namespace cxx11test |
---|
337 | | { |
---|
338 | | constexpr int get_val() { return 20; } |
---|
339 | | |
---|
340 | | struct testinit |
---|
341 | | { |
---|
342 | | int i; |
---|
343 | | double d; |
---|
344 | | }; |
---|
345 | | |
---|
346 | | class delegate |
---|
347 | | { |
---|
348 | | public: |
---|
349 | | delegate(int n) : n(n) {} |
---|
350 | | delegate(): delegate(2354) {} |
---|
351 | | |
---|
352 | | virtual int getval() { return this->n; }; |
---|
353 | | protected: |
---|
354 | | int n; |
---|
355 | | }; |
---|
356 | | |
---|
357 | | class overridden : public delegate |
---|
358 | | { |
---|
359 | | public: |
---|
360 | | overridden(int n): delegate(n) {} |
---|
361 | | virtual int getval() override final { return this->n * 2; } |
---|
362 | | }; |
---|
363 | | |
---|
364 | | class nocopy |
---|
365 | | { |
---|
366 | | public: |
---|
367 | | nocopy(int i): i(i) {} |
---|
368 | | nocopy() = default; |
---|
369 | | nocopy(const nocopy&) = delete; |
---|
370 | | nocopy & operator=(const nocopy&) = delete; |
---|
371 | | private: |
---|
372 | | int i; |
---|
373 | | }; |
---|
374 | | |
---|
375 | | // for testing lambda expressions |
---|
376 | | template <typename Ret, typename Fn> Ret eval(Fn f, Ret v) |
---|
377 | | { |
---|
378 | | return f(v); |
---|
379 | | } |
---|
380 | | |
---|
381 | | // for testing variadic templates and trailing return types |
---|
382 | | template <typename V> auto sum(V first) -> V |
---|
383 | | { |
---|
384 | | return first; |
---|
385 | | } |
---|
386 | | template <typename V, typename... Args> auto sum(V first, Args... rest) -> V |
---|
387 | | { |
---|
388 | | return first + sum(rest...); |
---|
389 | | } |
---|
390 | | } |
---|
391 | | |
---|
392 | | |
---|
393 | | int |
---|
394 | | main (int argc, char **argv) |
---|
395 | | { |
---|
396 | | int ok = 0; |
---|
397 | | |
---|
398 | | assert (argc); |
---|
399 | | assert (! argv[0]); |
---|
400 | | { |
---|
401 | | test_exception_syntax (); |
---|
402 | | test_template<double> tt (2.0); |
---|
403 | | assert (tt.add (4) == 6.0); |
---|
404 | | assert (true && !false); |
---|
405 | | } |
---|
406 | | |
---|
407 | | |
---|
408 | | { |
---|
409 | | // Test auto and decltype |
---|
410 | | auto a1 = 6538; |
---|
411 | | auto a2 = 48573953.4; |
---|
412 | | auto a3 = "String literal"; |
---|
413 | | |
---|
414 | | int total = 0; |
---|
415 | | for (auto i = a3; *i; ++i) { total += *i; } |
---|
416 | | |
---|
417 | | decltype(a2) a4 = 34895.034; |
---|
418 | | } |
---|
419 | | { |
---|
420 | | // Test constexpr |
---|
421 | | short sa[cxx11test::get_val()] = { 0 }; |
---|
422 | | } |
---|
423 | | { |
---|
424 | | // Test initializer lists |
---|
425 | | cxx11test::testinit il = { 4323, 435234.23544 }; |
---|
426 | | } |
---|
427 | | { |
---|
428 | | // Test range-based for |
---|
429 | | int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3, |
---|
430 | | 14, 19, 17, 8, 6, 20, 16, 2, 11, 1}; |
---|
431 | | for (auto &x : array) { x += 23; } |
---|
432 | | } |
---|
433 | | { |
---|
434 | | // Test lambda expressions |
---|
435 | | using cxx11test::eval; |
---|
436 | | assert (eval ([](int x) { return x*2; }, 21) == 42); |
---|
437 | | double d = 2.0; |
---|
438 | | assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0); |
---|
439 | | assert (d == 5.0); |
---|
440 | | assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0); |
---|
441 | | assert (d == 5.0); |
---|
442 | | } |
---|
443 | | { |
---|
444 | | // Test use of variadic templates |
---|
445 | | using cxx11test::sum; |
---|
446 | | auto a = sum(1); |
---|
447 | | auto b = sum(1, 2); |
---|
448 | | auto c = sum(1.0, 2.0, 3.0); |
---|
449 | | } |
---|
450 | | { |
---|
451 | | // Test constructor delegation |
---|
452 | | cxx11test::delegate d1; |
---|
453 | | cxx11test::delegate d2(); |
---|
454 | | cxx11test::delegate d3(45); |
---|
455 | | } |
---|
456 | | { |
---|
457 | | // Test override and final |
---|
458 | | cxx11test::overridden o1(55464); |
---|
459 | | } |
---|
460 | | { |
---|
461 | | // Test nullptr |
---|
462 | | char *c = nullptr; |
---|
463 | | } |
---|
464 | | { |
---|
465 | | // Test template brackets |
---|
466 | | test_template<::test_template<int>> v(test_template<int>(12)); |
---|
467 | | } |
---|
468 | | { |
---|
469 | | // Unicode literals |
---|
470 | | char const *utf8 = u8"UTF-8 string \u2500"; |
---|
471 | | char16_t const *utf16 = u"UTF-8 string \u2500"; |
---|
472 | | char32_t const *utf32 = U"UTF-32 string \u2500"; |
---|
473 | | } |
---|
474 | | |
---|
475 | | return ok; |
---|
476 | | } |
---|
477 | | |
---|
478 | configure:4198: result: none needed |
---|
479 | configure:4267: checking for stdio.h |
---|
480 | configure:4267: /usr/bin/clang -c -I/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_otcl/otcl/work/tcl8.4.9/generic/ -I/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_otcl/otcl/work/tcl8.4.9/generic/ conftest.c >&5 |
---|
481 | configure:4267: $? = 0 |
---|
482 | configure:4267: result: yes |
---|
483 | configure:4267: checking for stdlib.h |
---|
484 | configure:4267: /usr/bin/clang -c -I/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_otcl/otcl/work/tcl8.4.9/generic/ -I/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_otcl/otcl/work/tcl8.4.9/generic/ conftest.c >&5 |
---|
485 | configure:4267: $? = 0 |
---|
486 | configure:4267: result: yes |
---|
487 | configure:4267: checking for string.h |
---|
488 | configure:4267: /usr/bin/clang -c -I/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_otcl/otcl/work/tcl8.4.9/generic/ -I/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_otcl/otcl/work/tcl8.4.9/generic/ conftest.c >&5 |
---|
489 | configure:4267: $? = 0 |
---|
490 | configure:4267: result: yes |
---|
491 | configure:4267: checking for inttypes.h |
---|
492 | configure:4267: /usr/bin/clang -c -I/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_otcl/otcl/work/tcl8.4.9/generic/ -I/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_otcl/otcl/work/tcl8.4.9/generic/ conftest.c >&5 |
---|
493 | configure:4267: $? = 0 |
---|
494 | configure:4267: result: yes |
---|
495 | configure:4267: checking for stdint.h |
---|
496 | configure:4267: /usr/bin/clang -c -I/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_otcl/otcl/work/tcl8.4.9/generic/ -I/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_otcl/otcl/work/tcl8.4.9/generic/ conftest.c >&5 |
---|
497 | configure:4267: $? = 0 |
---|
498 | configure:4267: result: yes |
---|
499 | configure:4267: checking for strings.h |
---|
500 | configure:4267: /usr/bin/clang -c -I/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_otcl/otcl/work/tcl8.4.9/generic/ -I/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_otcl/otcl/work/tcl8.4.9/generic/ conftest.c >&5 |
---|
501 | configure:4267: $? = 0 |
---|
502 | configure:4267: result: yes |
---|
503 | configure:4267: checking for sys/stat.h |
---|
504 | configure:4267: /usr/bin/clang -c -I/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_otcl/otcl/work/tcl8.4.9/generic/ -I/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_otcl/otcl/work/tcl8.4.9/generic/ conftest.c >&5 |
---|
505 | configure:4267: $? = 0 |
---|
506 | configure:4267: result: yes |
---|
507 | configure:4267: checking for sys/types.h |
---|
508 | configure:4267: /usr/bin/clang -c -I/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_otcl/otcl/work/tcl8.4.9/generic/ -I/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_otcl/otcl/work/tcl8.4.9/generic/ conftest.c >&5 |
---|
509 | configure:4267: $? = 0 |
---|
510 | configure:4267: result: yes |
---|
511 | configure:4267: checking for unistd.h |
---|
512 | configure:4267: /usr/bin/clang -c -I/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_otcl/otcl/work/tcl8.4.9/generic/ -I/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_otcl/otcl/work/tcl8.4.9/generic/ conftest.c >&5 |
---|
513 | configure:4267: $? = 0 |
---|
514 | configure:4267: result: yes |
---|
515 | configure:4292: checking for grep that handles long lines and -e |
---|
516 | configure:4356: result: /opt/local/bin/ggrep |
---|
517 | configure:4364: checking for egrep |
---|
518 | configure:4432: result: /opt/local/bin/ggrep -E |
---|
519 | configure:4438: checking for string.h |
---|
520 | configure:4438: result: yes |
---|
521 | configure:4455: checking for main in -lXbsd |
---|
522 | configure:4475: /usr/bin/clang -o conftest -I/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_otcl/otcl/work/tcl8.4.9/generic/ -I/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_otcl/otcl/work/tcl8.4.9/generic/ -L/opt/local/lib conftest.c -lXbsd >&5 |
---|
523 | ld: library not found for -lXbsd |
---|
524 | clang: error: linker command failed with exit code 1 (use -v to see invocation) |
---|
525 | configure:4475: $? = 1 |
---|
526 | configure: failed program was: |
---|
527 | | /* confdefs.h */ |
---|
528 | | #define PACKAGE_NAME "" |
---|
529 | | #define PACKAGE_TARNAME "" |
---|
530 | | #define PACKAGE_VERSION "" |
---|
531 | | #define PACKAGE_STRING "" |
---|
532 | | #define PACKAGE_BUGREPORT "" |
---|
533 | | #define PACKAGE_URL "" |
---|
534 | | #define HAVE_STDIO_H 1 |
---|
535 | | #define HAVE_STDLIB_H 1 |
---|
536 | | #define HAVE_STRING_H 1 |
---|
537 | | #define HAVE_INTTYPES_H 1 |
---|
538 | | #define HAVE_STDINT_H 1 |
---|
539 | | #define HAVE_STRINGS_H 1 |
---|
540 | | #define HAVE_SYS_STAT_H 1 |
---|
541 | | #define HAVE_SYS_TYPES_H 1 |
---|
542 | | #define HAVE_UNISTD_H 1 |
---|
543 | | #define STDC_HEADERS 1 |
---|
544 | | #define HAVE_STRING_H 1 |
---|
545 | | /* end confdefs.h. */ |
---|
546 | | |
---|
547 | | |
---|
548 | | int |
---|
549 | | main (void) |
---|
550 | | { |
---|
551 | | return main (); |
---|
552 | | ; |
---|
553 | | return 0; |
---|
554 | | } |
---|
555 | configure:4485: result: no |
---|
556 | configure:4492: checking for socket in -lsocket |
---|
557 | configure:4515: /usr/bin/clang -o conftest -I/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_otcl/otcl/work/tcl8.4.9/generic/ -I/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_otcl/otcl/work/tcl8.4.9/generic/ -L/opt/local/lib conftest.c -lsocket >&5 |
---|
558 | ld: library not found for -lsocket |
---|
559 | clang: error: linker command failed with exit code 1 (use -v to see invocation) |
---|
560 | configure:4515: $? = 1 |
---|
561 | configure: failed program was: |
---|
562 | | /* confdefs.h */ |
---|
563 | | #define PACKAGE_NAME "" |
---|
564 | | #define PACKAGE_TARNAME "" |
---|
565 | | #define PACKAGE_VERSION "" |
---|
566 | | #define PACKAGE_STRING "" |
---|
567 | | #define PACKAGE_BUGREPORT "" |
---|
568 | | #define PACKAGE_URL "" |
---|
569 | | #define HAVE_STDIO_H 1 |
---|
570 | | #define HAVE_STDLIB_H 1 |
---|
571 | | #define HAVE_STRING_H 1 |
---|
572 | | #define HAVE_INTTYPES_H 1 |
---|
573 | | #define HAVE_STDINT_H 1 |
---|
574 | | #define HAVE_STRINGS_H 1 |
---|
575 | | #define HAVE_SYS_STAT_H 1 |
---|
576 | | #define HAVE_SYS_TYPES_H 1 |
---|
577 | | #define HAVE_UNISTD_H 1 |
---|
578 | | #define STDC_HEADERS 1 |
---|
579 | | #define HAVE_STRING_H 1 |
---|
580 | | /* end confdefs.h. */ |
---|
581 | | |
---|
582 | | /* Override any GCC internal prototype to avoid an error. |
---|
583 | | Use char because int might match the return type of a GCC |
---|
584 | | builtin and then its argument prototype would still apply. */ |
---|
585 | | char socket (); |
---|
586 | | int |
---|
587 | | main (void) |
---|
588 | | { |
---|
589 | | return socket (); |
---|
590 | | ; |
---|
591 | | return 0; |
---|
592 | | } |
---|
593 | configure:4525: result: no |
---|
594 | configure:4532: checking for gethostbyname in -lnsl |
---|
595 | configure:4555: /usr/bin/clang -o conftest -I/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_otcl/otcl/work/tcl8.4.9/generic/ -I/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_otcl/otcl/work/tcl8.4.9/generic/ -L/opt/local/lib conftest.c -lnsl >&5 |
---|
596 | ld: library not found for -lnsl |
---|
597 | clang: error: linker command failed with exit code 1 (use -v to see invocation) |
---|
598 | configure:4555: $? = 1 |
---|
599 | configure: failed program was: |
---|
600 | | /* confdefs.h */ |
---|
601 | | #define PACKAGE_NAME "" |
---|
602 | | #define PACKAGE_TARNAME "" |
---|
603 | | #define PACKAGE_VERSION "" |
---|
604 | | #define PACKAGE_STRING "" |
---|
605 | | #define PACKAGE_BUGREPORT "" |
---|
606 | | #define PACKAGE_URL "" |
---|
607 | | #define HAVE_STDIO_H 1 |
---|
608 | | #define HAVE_STDLIB_H 1 |
---|
609 | | #define HAVE_STRING_H 1 |
---|
610 | | #define HAVE_INTTYPES_H 1 |
---|
611 | | #define HAVE_STDINT_H 1 |
---|
612 | | #define HAVE_STRINGS_H 1 |
---|
613 | | #define HAVE_SYS_STAT_H 1 |
---|
614 | | #define HAVE_SYS_TYPES_H 1 |
---|
615 | | #define HAVE_UNISTD_H 1 |
---|
616 | | #define STDC_HEADERS 1 |
---|
617 | | #define HAVE_STRING_H 1 |
---|
618 | | /* end confdefs.h. */ |
---|
619 | | |
---|
620 | | /* Override any GCC internal prototype to avoid an error. |
---|
621 | | Use char because int might match the return type of a GCC |
---|
622 | | builtin and then its argument prototype would still apply. */ |
---|
623 | | char gethostbyname (); |
---|
624 | | int |
---|
625 | | main (void) |
---|
626 | | { |
---|
627 | | return gethostbyname (); |
---|
628 | | ; |
---|
629 | | return 0; |
---|
630 | | } |
---|
631 | configure:4565: result: no |
---|
632 | configure:4572: checking for dcgettext in -lintl |
---|
633 | configure:4595: /usr/bin/clang -o conftest -I/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_otcl/otcl/work/tcl8.4.9/generic/ -I/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_otcl/otcl/work/tcl8.4.9/generic/ -L/opt/local/lib conftest.c -lintl >&5 |
---|
634 | configure:4595: $? = 0 |
---|
635 | configure:4605: result: yes |
---|
636 | configure:4612: checking for getnodebyname in -ldnet_stub |
---|
637 | configure:4635: /usr/bin/clang -o conftest -I/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_otcl/otcl/work/tcl8.4.9/generic/ -I/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_otcl/otcl/work/tcl8.4.9/generic/ -L/opt/local/lib conftest.c -ldnet_stub >&5 |
---|
638 | ld: library not found for -ldnet_stub |
---|
639 | clang: error: linker command failed with exit code 1 (use -v to see invocation) |
---|
640 | configure:4635: $? = 1 |
---|
641 | configure: failed program was: |
---|
642 | | /* confdefs.h */ |
---|
643 | | #define PACKAGE_NAME "" |
---|
644 | | #define PACKAGE_TARNAME "" |
---|
645 | | #define PACKAGE_VERSION "" |
---|
646 | | #define PACKAGE_STRING "" |
---|
647 | | #define PACKAGE_BUGREPORT "" |
---|
648 | | #define PACKAGE_URL "" |
---|
649 | | #define HAVE_STDIO_H 1 |
---|
650 | | #define HAVE_STDLIB_H 1 |
---|
651 | | #define HAVE_STRING_H 1 |
---|
652 | | #define HAVE_INTTYPES_H 1 |
---|
653 | | #define HAVE_STDINT_H 1 |
---|
654 | | #define HAVE_STRINGS_H 1 |
---|
655 | | #define HAVE_SYS_STAT_H 1 |
---|
656 | | #define HAVE_SYS_TYPES_H 1 |
---|
657 | | #define HAVE_UNISTD_H 1 |
---|
658 | | #define STDC_HEADERS 1 |
---|
659 | | #define HAVE_STRING_H 1 |
---|
660 | | /* end confdefs.h. */ |
---|
661 | | |
---|
662 | | /* Override any GCC internal prototype to avoid an error. |
---|
663 | | Use char because int might match the return type of a GCC |
---|
664 | | builtin and then its argument prototype would still apply. */ |
---|
665 | | char getnodebyname (); |
---|
666 | | int |
---|
667 | | main (void) |
---|
668 | | { |
---|
669 | | return getnodebyname (); |
---|
670 | | ; |
---|
671 | | return 0; |
---|
672 | | } |
---|
673 | configure:4645: result: no |
---|
674 | configure:4796: checking standard STL is available |
---|
675 | configure:4822: /usr/bin/clang++ -c -pipe -Os -stdlib=libc++ -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch x86_64 -I/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_otcl/otcl/work/tcl8.4.9/generic/ conftest.cpp >&5 |
---|
676 | conftest.cpp:21:11: fatal error: 'hash_map' file not found |
---|
677 | #include <hash_map> |
---|
678 | ^~~~~~~~~~ |
---|
679 | 1 error generated. |
---|
680 | configure:4822: $? = 1 |
---|
681 | configure: failed program was: |
---|
682 | | /* confdefs.h */ |
---|
683 | | #define PACKAGE_NAME "" |
---|
684 | | #define PACKAGE_TARNAME "" |
---|
685 | | #define PACKAGE_VERSION "" |
---|
686 | | #define PACKAGE_STRING "" |
---|
687 | | #define PACKAGE_BUGREPORT "" |
---|
688 | | #define PACKAGE_URL "" |
---|
689 | | #define HAVE_STDIO_H 1 |
---|
690 | | #define HAVE_STDLIB_H 1 |
---|
691 | | #define HAVE_STRING_H 1 |
---|
692 | | #define HAVE_INTTYPES_H 1 |
---|
693 | | #define HAVE_STDINT_H 1 |
---|
694 | | #define HAVE_STRINGS_H 1 |
---|
695 | | #define HAVE_SYS_STAT_H 1 |
---|
696 | | #define HAVE_SYS_TYPES_H 1 |
---|
697 | | #define HAVE_UNISTD_H 1 |
---|
698 | | #define STDC_HEADERS 1 |
---|
699 | | #define HAVE_STRING_H 1 |
---|
700 | | /* end confdefs.h. */ |
---|
701 | | #include <list> |
---|
702 | | #include <hash_map> |
---|
703 | | template <class _T> class tlist : public list <_T> {}; |
---|
704 | | |
---|
705 | | int |
---|
706 | | main (void) |
---|
707 | | { |
---|
708 | | return 0; |
---|
709 | | |
---|
710 | | ; |
---|
711 | | return 0; |
---|
712 | | } |
---|
713 | configure:4828: result: no |
---|
714 | configure:4894: checking for Tcl.h |
---|
715 | configure:4904: result: -I/opt/local/include |
---|
716 | configure:4910: checking for libTcl |
---|
717 | configure:4921: result: -L/opt/local/lib -lTcl |
---|
718 | configure:5386: checking for tk.h |
---|
719 | configure:5430: result: -I/opt/local/include |
---|
720 | configure:5436: checking for libtk8.4 |
---|
721 | configure:5496: result: -L/opt/local/lib -ltk |
---|
722 | configure:5502: checking for tk.tcl |
---|
723 | configure:5533: result: no |
---|
724 | configure:5551: error: Installation of tk seems incomplete or can't be found automatically. |
---|
725 | Please correct the problem by telling configure where tk is |
---|
726 | using the argument --with-tk=/path/to/package |
---|
727 | (perhaps after installing it), |
---|
728 | or the package is not required, disable it with --with-tk=no. |
---|
729 | |
---|
730 | ## ---------------- ## |
---|
731 | ## Cache variables. ## |
---|
732 | ## ---------------- ## |
---|
733 | |
---|
734 | ac_cv_build=i386-apple-darwin22.5.0 |
---|
735 | ac_cv_c_compiler_gnu=yes |
---|
736 | ac_cv_cxx_compiler_gnu=yes |
---|
737 | ac_cv_env_CCC_set= |
---|
738 | ac_cv_env_CCC_value= |
---|
739 | ac_cv_env_CC_set=set |
---|
740 | ac_cv_env_CC_value=/usr/bin/clang |
---|
741 | ac_cv_env_CFLAGS_set=set |
---|
742 | ac_cv_env_CFLAGS_value='-I/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_otcl/otcl/work/tcl8.4.9/generic/' |
---|
743 | ac_cv_env_CPPFLAGS_set=set |
---|
744 | ac_cv_env_CPPFLAGS_value='-I/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_otcl/otcl/work/tcl8.4.9/generic/' |
---|
745 | ac_cv_env_CPP_set= |
---|
746 | ac_cv_env_CPP_value= |
---|
747 | ac_cv_env_CXXFLAGS_set=set |
---|
748 | ac_cv_env_CXXFLAGS_value='-pipe -Os -stdlib=libc++ -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch x86_64' |
---|
749 | ac_cv_env_CXX_set=set |
---|
750 | ac_cv_env_CXX_value=/usr/bin/clang++ |
---|
751 | ac_cv_env_LDFLAGS_set=set |
---|
752 | ac_cv_env_LDFLAGS_value=-L/opt/local/lib |
---|
753 | ac_cv_env_LIBS_set= |
---|
754 | ac_cv_env_LIBS_value= |
---|
755 | ac_cv_env_build_alias_set= |
---|
756 | ac_cv_env_build_alias_value= |
---|
757 | ac_cv_env_host_alias_set= |
---|
758 | ac_cv_env_host_alias_value= |
---|
759 | ac_cv_env_target_alias_set= |
---|
760 | ac_cv_env_target_alias_value= |
---|
761 | ac_cv_header_inttypes_h=yes |
---|
762 | ac_cv_header_stdint_h=yes |
---|
763 | ac_cv_header_stdio_h=yes |
---|
764 | ac_cv_header_stdlib_h=yes |
---|
765 | ac_cv_header_string_h=yes |
---|
766 | ac_cv_header_strings_h=yes |
---|
767 | ac_cv_header_sys_stat_h=yes |
---|
768 | ac_cv_header_sys_types_h=yes |
---|
769 | ac_cv_header_unistd_h=yes |
---|
770 | ac_cv_host=i386-apple-darwin22.5.0 |
---|
771 | ac_cv_lib_Xbsd_main=no |
---|
772 | ac_cv_lib_dnet_stub_getnodebyname=no |
---|
773 | ac_cv_lib_intl_dcgettext=yes |
---|
774 | ac_cv_lib_nsl_gethostbyname=no |
---|
775 | ac_cv_lib_socket_socket=no |
---|
776 | ac_cv_objext=o |
---|
777 | ac_cv_path_EGREP='/opt/local/bin/ggrep -E' |
---|
778 | ac_cv_path_GREP=/opt/local/bin/ggrep |
---|
779 | ac_cv_prog_ac_ct_CC=/usr/bin/clang |
---|
780 | ac_cv_prog_cc_c11= |
---|
781 | ac_cv_prog_cc_g=yes |
---|
782 | ac_cv_prog_cc_stdc= |
---|
783 | ac_cv_prog_cxx_11=no |
---|
784 | ac_cv_prog_cxx_g=yes |
---|
785 | ac_cv_prog_cxx_stdcxx= |
---|
786 | ac_cv_target=i386-apple-darwin22.5.0 |
---|
787 | |
---|
788 | ## ----------------- ## |
---|
789 | ## Output variables. ## |
---|
790 | ## ----------------- ## |
---|
791 | |
---|
792 | CC='/usr/bin/clang' |
---|
793 | CFLAGS='-I/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_otcl/otcl/work/tcl8.4.9/generic/' |
---|
794 | CPP='' |
---|
795 | CPPFLAGS='-I/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_otcl/otcl/work/tcl8.4.9/generic/' |
---|
796 | CXX='/usr/bin/clang++' |
---|
797 | CXXFLAGS='-pipe -Os -stdlib=libc++ -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch x86_64' |
---|
798 | DEFS='' |
---|
799 | DL_LIBS='' |
---|
800 | ECHO_C='\c' |
---|
801 | ECHO_N='' |
---|
802 | ECHO_T='' |
---|
803 | EGREP='/opt/local/bin/ggrep -E' |
---|
804 | EXEEXT='' |
---|
805 | GREP='/opt/local/bin/ggrep' |
---|
806 | INSTALL_DATA='' |
---|
807 | INSTALL_PROGRAM='' |
---|
808 | INSTALL_SCRIPT='' |
---|
809 | INST_OLIBSH='' |
---|
810 | LDFLAGS='-L/opt/local/lib' |
---|
811 | LIBOBJS='' |
---|
812 | LIBS='' |
---|
813 | LTLIBOBJS='' |
---|
814 | OBJEXT='o' |
---|
815 | PACKAGE_BUGREPORT='' |
---|
816 | PACKAGE_NAME='' |
---|
817 | PACKAGE_STRING='' |
---|
818 | PACKAGE_TARNAME='' |
---|
819 | PACKAGE_URL='' |
---|
820 | PACKAGE_VERSION='' |
---|
821 | PATH_SEPARATOR=':' |
---|
822 | RANLIB='' |
---|
823 | SHELL='/bin/sh' |
---|
824 | SHLD_FLAGS='' |
---|
825 | SHLIB_CFLAGS='' |
---|
826 | SHLIB_LD='' |
---|
827 | SHLIB_SUFFIX='' |
---|
828 | V_ALL='otclsh' |
---|
829 | V_AR='ar cr' |
---|
830 | V_BROKEN_OBJ='strtol.o strtoul.o' |
---|
831 | V_CCOPT='' |
---|
832 | V_DEFINE=' -DNDEBUG' |
---|
833 | V_DEFINES='-DHAVE_LIBTK8_4 -DHAVE_TK_H ' |
---|
834 | V_INCLUDE='' |
---|
835 | V_INCLUDES='-I/opt/local/include ' |
---|
836 | V_INCLUDE_BTCL='-I/opt/local/include' |
---|
837 | V_INCLUDE_X11='' |
---|
838 | V_LIB=' -lintl' |
---|
839 | V_LIBRARY_TK='' |
---|
840 | V_LIBS='-L/opt/local/lib -ltk ' |
---|
841 | V_LIB_BTCL='-L/opt/local/lib -lTcl' |
---|
842 | V_LIB_OTCL='' |
---|
843 | V_LIB_TCL='' |
---|
844 | V_LIB_TCLCL='' |
---|
845 | V_LIB_TK='-L/opt/local/lib -ltk' |
---|
846 | V_LIB_X11='' |
---|
847 | V_LSSCRIPT='' |
---|
848 | V_NS_TCL_LIB_STL='' |
---|
849 | V_OBJ='' |
---|
850 | V_OBJ_CRYPT='' |
---|
851 | V_RANLIB='ranlib' |
---|
852 | V_SHELL='' |
---|
853 | V_SIGRET='void' |
---|
854 | V_STATIC='' |
---|
855 | V_STLOBJ='' |
---|
856 | V_TARCMD='tar cfh' |
---|
857 | V_TAR_EXTRA='' |
---|
858 | V_TAR_TARGET='' |
---|
859 | V_TCL2CPP='' |
---|
860 | V_TKDOSNAMES='' |
---|
861 | ac_ct_CC='/usr/bin/clang' |
---|
862 | ac_ct_CXX='' |
---|
863 | bindir='${exec_prefix}/bin' |
---|
864 | build='i386-apple-darwin22.5.0' |
---|
865 | build_alias='' |
---|
866 | build_cpu='i386' |
---|
867 | build_os='darwin22.5.0' |
---|
868 | build_vendor='apple' |
---|
869 | datadir='${datarootdir}' |
---|
870 | datarootdir='${prefix}/share' |
---|
871 | docdir='${datarootdir}/doc/${PACKAGE}' |
---|
872 | dvidir='${docdir}' |
---|
873 | exec_prefix='NONE' |
---|
874 | host='i386-apple-darwin22.5.0' |
---|
875 | host_alias='' |
---|
876 | host_cpu='i386' |
---|
877 | host_os='darwin22.5.0' |
---|
878 | host_vendor='apple' |
---|
879 | htmldir='${docdir}' |
---|
880 | includedir='${prefix}/include' |
---|
881 | infodir='${datarootdir}/info' |
---|
882 | libdir='${exec_prefix}/lib' |
---|
883 | libexecdir='${exec_prefix}/libexec' |
---|
884 | localedir='${datarootdir}/locale' |
---|
885 | localstatedir='${prefix}/var' |
---|
886 | mandir='${datarootdir}/man' |
---|
887 | oldincludedir='/usr/include' |
---|
888 | pdfdir='${docdir}' |
---|
889 | prefix='/opt/local' |
---|
890 | program_transform_name='s,x,x,' |
---|
891 | psdir='${docdir}' |
---|
892 | runstatedir='${localstatedir}/run' |
---|
893 | sbindir='${exec_prefix}/sbin' |
---|
894 | sharedstatedir='${prefix}/com' |
---|
895 | sysconfdir='${prefix}/etc' |
---|
896 | target='i386-apple-darwin22.5.0' |
---|
897 | target_alias='' |
---|
898 | target_cpu='i386' |
---|
899 | target_os='darwin22.5.0' |
---|
900 | target_vendor='apple' |
---|
901 | |
---|
902 | ## ----------- ## |
---|
903 | ## confdefs.h. ## |
---|
904 | ## ----------- ## |
---|
905 | |
---|
906 | /* confdefs.h */ |
---|
907 | #define PACKAGE_NAME "" |
---|
908 | #define PACKAGE_TARNAME "" |
---|
909 | #define PACKAGE_VERSION "" |
---|
910 | #define PACKAGE_STRING "" |
---|
911 | #define PACKAGE_BUGREPORT "" |
---|
912 | #define PACKAGE_URL "" |
---|
913 | #define HAVE_STDIO_H 1 |
---|
914 | #define HAVE_STDLIB_H 1 |
---|
915 | #define HAVE_STRING_H 1 |
---|
916 | #define HAVE_INTTYPES_H 1 |
---|
917 | #define HAVE_STDINT_H 1 |
---|
918 | #define HAVE_STRINGS_H 1 |
---|
919 | #define HAVE_SYS_STAT_H 1 |
---|
920 | #define HAVE_SYS_TYPES_H 1 |
---|
921 | #define HAVE_UNISTD_H 1 |
---|
922 | #define STDC_HEADERS 1 |
---|
923 | #define HAVE_STRING_H 1 |
---|
924 | #define HAVE_TK_H 1 |
---|
925 | #define HAVE_LIBTK8_4 1 |
---|
926 | |
---|
927 | configure: exit 1 |
---|