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 util-linux configure 2.40.1, which was |
---|
5 | generated by GNU Autoconf 2.71. Invocation command line was |
---|
6 | |
---|
7 | $ ./configure --prefix=/opt/local --disable-agetty --disable-cramfs --disable-eject --disable-fallocate --disable-fsck --disable-kill --disable-libblkid --disable-liblastlog2 --disable-libmount --disable-libuuid --disable-login --disable-losetup --disable-mount --disable-mountpoint --disable-partx --disable-pg --disable-pg-bell --disable-pivot_root --disable-schedutils --disable-silent-rules --disable-su --disable-sulogin --disable-switch_root --disable-unshare --disable-uuidd --disable-wall --enable-shared=no --without-audit --without-python |
---|
8 | |
---|
9 | ## --------- ## |
---|
10 | ## Platform. ## |
---|
11 | ## --------- ## |
---|
12 | |
---|
13 | hostname = tiger |
---|
14 | uname -m = Power Macintosh |
---|
15 | uname -r = 8.11.0 |
---|
16 | uname -s = Darwin |
---|
17 | uname -v = Darwin Kernel Version 8.11.0: Wed Oct 10 18:26:00 PDT 2007; root:xnu-792.24.17~1/RELEASE_PPC |
---|
18 | |
---|
19 | /usr/bin/uname -p = powerpc |
---|
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 8.11.0: Wed Oct 10 18:26:00 PDT 2007; root:xnu-792.24.17~1/RELEASE_PPC |
---|
27 | Kernel configured for a single processor only. |
---|
28 | 1 processor is physically available. |
---|
29 | Processor type: ppc7450 (PowerPC 7450) |
---|
30 | Processor active: 0 |
---|
31 | Primary memory available: 2.00 gigabytes |
---|
32 | Default processor set: 87 tasks, 204 threads, 1 processors |
---|
33 | Load average: 2.69, Mach factor: 0.31 |
---|
34 | /bin/machine = unknown |
---|
35 | /usr/bin/oslevel = unknown |
---|
36 | /bin/universe = unknown |
---|
37 | |
---|
38 | PATH: /opt/local/bin/ |
---|
39 | PATH: /opt/local/sbin/ |
---|
40 | PATH: /bin/ |
---|
41 | PATH: /sbin/ |
---|
42 | PATH: /usr/bin/ |
---|
43 | PATH: /usr/sbin/ |
---|
44 | |
---|
45 | |
---|
46 | ## ----------- ## |
---|
47 | ## Core tests. ## |
---|
48 | ## ----------- ## |
---|
49 | |
---|
50 | configure:3982: looking for aux files: config.rpath ltmain.sh config.guess config.sub ar-lib missing install-sh compile |
---|
51 | configure:3995: trying ./config/ |
---|
52 | configure:4024: ./config/config.rpath found |
---|
53 | configure:4024: ./config/ltmain.sh found |
---|
54 | configure:4024: ./config/config.guess found |
---|
55 | configure:4024: ./config/config.sub found |
---|
56 | configure:4024: ./config/ar-lib found |
---|
57 | configure:4024: ./config/missing found |
---|
58 | configure:4006: ./config/install-sh found |
---|
59 | configure:4024: ./config/compile found |
---|
60 | configure:4208: checking for gcc |
---|
61 | configure:4240: result: /opt/local/bin/gcc-apple-4.2 |
---|
62 | configure:4593: checking for C compiler version |
---|
63 | configure:4602: /opt/local/bin/gcc-apple-4.2 --version >&5 |
---|
64 | powerpc-apple-darwin8-gcc-apple-4.2.4 (GCC) 4.2.4 (Apple Inc. build 5666) (dot 3) (MacPorts apple-gcc42 5666.3_16+gpl3) |
---|
65 | Copyright (C) 2007 Free Software Foundation, Inc. |
---|
66 | This is free software; see the source for copying conditions. There is NO |
---|
67 | warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
---|
68 | |
---|
69 | configure:4613: $? = 0 |
---|
70 | configure:4602: /opt/local/bin/gcc-apple-4.2 -v >&5 |
---|
71 | Using built-in specs. |
---|
72 | Target: powerpc-apple-darwin8 |
---|
73 | Configured with: /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_apple-gcc42/apple-gcc42/work/objroot/src/configure --disable-checking --enable-werror --prefix=/opt/local --mandir=/opt/local/share/man --enable-languages=c,c++,objc,obj-c++ --libexecdir=/opt/local/libexec/apple-gcc42 --libdir=/opt/local/lib/apple-gcc42 --includedir=/opt/local/include/apple-gcc42 --program-suffix=-apple-4.2 --with-system-zlib --disable-nls --with-slibdir=/usr/lib --build=powerpc-apple-darwin8 --with-gxx-include-dir=/usr/include/c++/4.0.0 --host=powerpc-apple-darwin8 --target=powerpc-apple-darwin8 |
---|
74 | Thread model: posix |
---|
75 | gcc version 4.2.4 (Apple Inc. build 5666) (dot 3) (MacPorts apple-gcc42 5666.3_16+gpl3) |
---|
76 | configure:4613: $? = 0 |
---|
77 | configure:4602: /opt/local/bin/gcc-apple-4.2 -V >&5 |
---|
78 | gcc-apple-4.2: argument to `-V' is missing |
---|
79 | configure:4613: $? = 1 |
---|
80 | configure:4602: /opt/local/bin/gcc-apple-4.2 -qversion >&5 |
---|
81 | powerpc-apple-darwin8-gcc-apple-4.2.4: no input files |
---|
82 | configure:4613: $? = 1 |
---|
83 | configure:4602: /opt/local/bin/gcc-apple-4.2 -version >&5 |
---|
84 | powerpc-apple-darwin8-gcc-apple-4.2.4: no input files |
---|
85 | configure:4613: $? = 1 |
---|
86 | configure:4633: checking whether the C compiler works |
---|
87 | configure:4655: /opt/local/bin/gcc-apple-4.2 -pipe -Os -I/opt/local/include/LegacySupport -arch ppc -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport -L/opt/local/lib -Wl,-headerpad_max_install_names -lMacportsLegacySupport -arch ppc conftest.c >&5 |
---|
88 | configure:4659: $? = 0 |
---|
89 | configure:4709: result: yes |
---|
90 | configure:4712: checking for C compiler default output file name |
---|
91 | configure:4714: result: a.out |
---|
92 | configure:4720: checking for suffix of executables |
---|
93 | configure:4727: /opt/local/bin/gcc-apple-4.2 -o conftest -pipe -Os -I/opt/local/include/LegacySupport -arch ppc -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport -L/opt/local/lib -Wl,-headerpad_max_install_names -lMacportsLegacySupport -arch ppc conftest.c >&5 |
---|
94 | configure:4731: $? = 0 |
---|
95 | configure:4754: result: |
---|
96 | configure:4776: checking whether we are cross compiling |
---|
97 | configure:4784: /opt/local/bin/gcc-apple-4.2 -o conftest -pipe -Os -I/opt/local/include/LegacySupport -arch ppc -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport -L/opt/local/lib -Wl,-headerpad_max_install_names -lMacportsLegacySupport -arch ppc conftest.c >&5 |
---|
98 | configure:4788: $? = 0 |
---|
99 | configure:4795: ./conftest |
---|
100 | configure:4799: $? = 0 |
---|
101 | configure:4814: result: no |
---|
102 | configure:4819: checking for suffix of object files |
---|
103 | configure:4842: /opt/local/bin/gcc-apple-4.2 -c -pipe -Os -I/opt/local/include/LegacySupport -arch ppc -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport conftest.c >&5 |
---|
104 | configure:4846: $? = 0 |
---|
105 | configure:4868: result: o |
---|
106 | configure:4872: checking whether the compiler supports GNU C |
---|
107 | configure:4892: /opt/local/bin/gcc-apple-4.2 -c -pipe -Os -I/opt/local/include/LegacySupport -arch ppc -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport conftest.c >&5 |
---|
108 | configure:4892: $? = 0 |
---|
109 | configure:4902: result: yes |
---|
110 | configure:4913: checking whether /opt/local/bin/gcc-apple-4.2 accepts -g |
---|
111 | configure:4934: /opt/local/bin/gcc-apple-4.2 -c -g -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport conftest.c >&5 |
---|
112 | configure:4934: $? = 0 |
---|
113 | configure:4978: result: yes |
---|
114 | configure:4998: checking for /opt/local/bin/gcc-apple-4.2 option to enable C11 features |
---|
115 | configure:5013: /opt/local/bin/gcc-apple-4.2 -c -pipe -Os -I/opt/local/include/LegacySupport -arch ppc -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport conftest.c >&5 |
---|
116 | conftest.c:61:3: error: #error "Compiler does not advertise C99 conformance" |
---|
117 | conftest.c:116: error: expected ';', ',' or ')' before 'text' |
---|
118 | conftest.c:165:3: error: #error "Compiler does not advertise C11 conformance" |
---|
119 | conftest.c: In function '_Alignas': |
---|
120 | conftest.c:169: error: expected declaration specifiers before 'aligned_as_double' |
---|
121 | conftest.c:170: error: expected declaration specifiers or '...' before numeric constant |
---|
122 | conftest.c:170: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'no_special_alignment' |
---|
123 | conftest.c:171: error: storage class specified for parameter 'aligned_as_int' |
---|
124 | conftest.c:172: error: expected declaration specifiers or '...' before numeric constant |
---|
125 | conftest.c:172: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_Alignas' |
---|
126 | conftest.c:177: error: expected expression before 'int' |
---|
127 | conftest.c:177: error: enumerator value for 'int_alignment' is not an integer constant |
---|
128 | conftest.c:178: error: expected expression before 'int' |
---|
129 | conftest.c:178: error: enumerator value for 'int_array_alignment' is not an integer constant |
---|
130 | conftest.c:179: error: expected expression before 'char' |
---|
131 | conftest.c:180: error: enumerator value for 'char_alignment' is not an integer constant |
---|
132 | conftest.c:180: warning: empty declaration |
---|
133 | conftest.c:181: error: expected declaration specifiers before '_Static_assert' |
---|
134 | conftest.c:184: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'does_not_return' |
---|
135 | conftest.c:190: error: expected specifier-qualifier-list before '_Static_assert' |
---|
136 | conftest.c:193: warning: empty declaration |
---|
137 | conftest.c:197: error: parameter 'utf8_literal' is initialized |
---|
138 | conftest.c:197: error: 'syntax' undeclared (first use in this function) |
---|
139 | conftest.c:197: error: (Each undeclared identifier is reported only once |
---|
140 | conftest.c:197: error: for each function it appears in.) |
---|
141 | conftest.c:197: error: expected ',' or ';' before 'error' |
---|
142 | conftest.c:200: error: storage class specified for parameter 'long_ptr' |
---|
143 | conftest.c:201: error: storage class specified for parameter 'long_ptr' |
---|
144 | conftest.c:201: error: redefinition of parameter 'long_ptr' |
---|
145 | conftest.c:200: error: previous definition of 'long_ptr' was here |
---|
146 | conftest.c:202: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long_ptr' |
---|
147 | conftest.c:217: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token |
---|
148 | conftest.c:269: error: old-style parameter declarations in prototyped function definition |
---|
149 | conftest.c:169: error: parameter name omitted |
---|
150 | conftest.c:269: error: expected '{' at end of input |
---|
151 | configure:5013: $? = 1 |
---|
152 | configure: failed program was: |
---|
153 | | /* confdefs.h */ |
---|
154 | | #define PACKAGE_NAME "util-linux" |
---|
155 | | #define PACKAGE_TARNAME "util-linux" |
---|
156 | | #define PACKAGE_VERSION "2.40.1" |
---|
157 | | #define PACKAGE_STRING "util-linux 2.40.1" |
---|
158 | | #define PACKAGE_BUGREPORT "kzak@redhat.com" |
---|
159 | | #define PACKAGE_URL "https://www.kernel.org/pub/linux/utils/util-linux/" |
---|
160 | | /* end confdefs.h. */ |
---|
161 | | |
---|
162 | | /* Does the compiler advertise C89 conformance? |
---|
163 | | Do not test the value of __STDC__, because some compilers set it to 0 |
---|
164 | | while being otherwise adequately conformant. */ |
---|
165 | | #if !defined __STDC__ |
---|
166 | | # error "Compiler does not advertise C89 conformance" |
---|
167 | | #endif |
---|
168 | | |
---|
169 | | #include <stddef.h> |
---|
170 | | #include <stdarg.h> |
---|
171 | | struct stat; |
---|
172 | | /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */ |
---|
173 | | struct buf { int x; }; |
---|
174 | | struct buf * (*rcsopen) (struct buf *, struct stat *, int); |
---|
175 | | static char *e (p, i) |
---|
176 | | char **p; |
---|
177 | | int i; |
---|
178 | | { |
---|
179 | | return p[i]; |
---|
180 | | } |
---|
181 | | static char *f (char * (*g) (char **, int), char **p, ...) |
---|
182 | | { |
---|
183 | | char *s; |
---|
184 | | va_list v; |
---|
185 | | va_start (v,p); |
---|
186 | | s = g (p, va_arg (v,int)); |
---|
187 | | va_end (v); |
---|
188 | | return s; |
---|
189 | | } |
---|
190 | | |
---|
191 | | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
---|
192 | | function prototypes and stuff, but not \xHH hex character constants. |
---|
193 | | These do not provoke an error unfortunately, instead are silently treated |
---|
194 | | as an "x". The following induces an error, until -std is added to get |
---|
195 | | proper ANSI mode. Curiously \x00 != x always comes out true, for an |
---|
196 | | array size at least. It is necessary to write \x00 == 0 to get something |
---|
197 | | that is true only with -std. */ |
---|
198 | | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
---|
199 | | |
---|
200 | | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
---|
201 | | inside strings and character constants. */ |
---|
202 | | #define FOO(x) 'x' |
---|
203 | | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
---|
204 | | |
---|
205 | | int test (int i, double x); |
---|
206 | | struct s1 {int (*f) (int a);}; |
---|
207 | | struct s2 {int (*f) (double a);}; |
---|
208 | | int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int), |
---|
209 | | int, int); |
---|
210 | | |
---|
211 | | // Does the compiler advertise C99 conformance? |
---|
212 | | #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L |
---|
213 | | # error "Compiler does not advertise C99 conformance" |
---|
214 | | #endif |
---|
215 | | |
---|
216 | | #include <stdbool.h> |
---|
217 | | extern int puts (const char *); |
---|
218 | | extern int printf (const char *, ...); |
---|
219 | | extern int dprintf (int, const char *, ...); |
---|
220 | | extern void *malloc (size_t); |
---|
221 | | |
---|
222 | | // Check varargs macros. These examples are taken from C99 6.10.3.5. |
---|
223 | | // dprintf is used instead of fprintf to avoid needing to declare |
---|
224 | | // FILE and stderr. |
---|
225 | | #define debug(...) dprintf (2, __VA_ARGS__) |
---|
226 | | #define showlist(...) puts (#__VA_ARGS__) |
---|
227 | | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) |
---|
228 | | static void |
---|
229 | | test_varargs_macros (void) |
---|
230 | | { |
---|
231 | | int x = 1234; |
---|
232 | | int y = 5678; |
---|
233 | | debug ("Flag"); |
---|
234 | | debug ("X = %d\n", x); |
---|
235 | | showlist (The first, second, and third items.); |
---|
236 | | report (x>y, "x is %d but y is %d", x, y); |
---|
237 | | } |
---|
238 | | |
---|
239 | | // Check long long types. |
---|
240 | | #define BIG64 18446744073709551615ull |
---|
241 | | #define BIG32 4294967295ul |
---|
242 | | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) |
---|
243 | | #if !BIG_OK |
---|
244 | | #error "your preprocessor is broken" |
---|
245 | | #endif |
---|
246 | | #if BIG_OK |
---|
247 | | #else |
---|
248 | | #error "your preprocessor is broken" |
---|
249 | | #endif |
---|
250 | | static long long int bignum = -9223372036854775807LL; |
---|
251 | | static unsigned long long int ubignum = BIG64; |
---|
252 | | |
---|
253 | | struct incomplete_array |
---|
254 | | { |
---|
255 | | int datasize; |
---|
256 | | double data[]; |
---|
257 | | }; |
---|
258 | | |
---|
259 | | struct named_init { |
---|
260 | | int number; |
---|
261 | | const wchar_t *name; |
---|
262 | | double average; |
---|
263 | | }; |
---|
264 | | |
---|
265 | | typedef const char *ccp; |
---|
266 | | |
---|
267 | | static inline int |
---|
268 | | test_restrict (ccp restrict text) |
---|
269 | | { |
---|
270 | | // See if C++-style comments work. |
---|
271 | | // Iterate through items via the restricted pointer. |
---|
272 | | // Also check for declarations in for loops. |
---|
273 | | for (unsigned int i = 0; *(text+i) != '\0'; ++i) |
---|
274 | | continue; |
---|
275 | | return 0; |
---|
276 | | } |
---|
277 | | |
---|
278 | | // Check varargs and va_copy. |
---|
279 | | static bool |
---|
280 | | test_varargs (const char *format, ...) |
---|
281 | | { |
---|
282 | | va_list args; |
---|
283 | | va_start (args, format); |
---|
284 | | va_list args_copy; |
---|
285 | | va_copy (args_copy, args); |
---|
286 | | |
---|
287 | | const char *str = ""; |
---|
288 | | int number = 0; |
---|
289 | | float fnumber = 0; |
---|
290 | | |
---|
291 | | while (*format) |
---|
292 | | { |
---|
293 | | switch (*format++) |
---|
294 | | { |
---|
295 | | case 's': // string |
---|
296 | | str = va_arg (args_copy, const char *); |
---|
297 | | break; |
---|
298 | | case 'd': // int |
---|
299 | | number = va_arg (args_copy, int); |
---|
300 | | break; |
---|
301 | | case 'f': // float |
---|
302 | | fnumber = va_arg (args_copy, double); |
---|
303 | | break; |
---|
304 | | default: |
---|
305 | | break; |
---|
306 | | } |
---|
307 | | } |
---|
308 | | va_end (args_copy); |
---|
309 | | va_end (args); |
---|
310 | | |
---|
311 | | return *str && number && fnumber; |
---|
312 | | } |
---|
313 | | |
---|
314 | | |
---|
315 | | // Does the compiler advertise C11 conformance? |
---|
316 | | #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L |
---|
317 | | # error "Compiler does not advertise C11 conformance" |
---|
318 | | #endif |
---|
319 | | |
---|
320 | | // Check _Alignas. |
---|
321 | | char _Alignas (double) aligned_as_double; |
---|
322 | | char _Alignas (0) no_special_alignment; |
---|
323 | | extern char aligned_as_int; |
---|
324 | | char _Alignas (0) _Alignas (int) aligned_as_int; |
---|
325 | | |
---|
326 | | // Check _Alignof. |
---|
327 | | enum |
---|
328 | | { |
---|
329 | | int_alignment = _Alignof (int), |
---|
330 | | int_array_alignment = _Alignof (int[100]), |
---|
331 | | char_alignment = _Alignof (char) |
---|
332 | | }; |
---|
333 | | _Static_assert (0 < -_Alignof (int), "_Alignof is signed"); |
---|
334 | | |
---|
335 | | // Check _Noreturn. |
---|
336 | | int _Noreturn does_not_return (void) { for (;;) continue; } |
---|
337 | | |
---|
338 | | // Check _Static_assert. |
---|
339 | | struct test_static_assert |
---|
340 | | { |
---|
341 | | int x; |
---|
342 | | _Static_assert (sizeof (int) <= sizeof (long int), |
---|
343 | | "_Static_assert does not work in struct"); |
---|
344 | | long int y; |
---|
345 | | }; |
---|
346 | | |
---|
347 | | // Check UTF-8 literals. |
---|
348 | | #define u8 syntax error! |
---|
349 | | char const utf8_literal[] = u8"happens to be ASCII" "another string"; |
---|
350 | | |
---|
351 | | // Check duplicate typedefs. |
---|
352 | | typedef long *long_ptr; |
---|
353 | | typedef long int *long_ptr; |
---|
354 | | typedef long_ptr long_ptr; |
---|
355 | | |
---|
356 | | // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1. |
---|
357 | | struct anonymous |
---|
358 | | { |
---|
359 | | union { |
---|
360 | | struct { int i; int j; }; |
---|
361 | | struct { int k; long int l; } w; |
---|
362 | | }; |
---|
363 | | int m; |
---|
364 | | } v1; |
---|
365 | | |
---|
366 | | |
---|
367 | | int |
---|
368 | | main (int argc, char **argv) |
---|
369 | | { |
---|
370 | | int ok = 0; |
---|
371 | | |
---|
372 | | ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]); |
---|
373 | | |
---|
374 | | |
---|
375 | | // Check bool. |
---|
376 | | _Bool success = false; |
---|
377 | | success |= (argc != 0); |
---|
378 | | |
---|
379 | | // Check restrict. |
---|
380 | | if (test_restrict ("String literal") == 0) |
---|
381 | | success = true; |
---|
382 | | char *restrict newvar = "Another string"; |
---|
383 | | |
---|
384 | | // Check varargs. |
---|
385 | | success &= test_varargs ("s, d' f .", "string", 65, 34.234); |
---|
386 | | test_varargs_macros (); |
---|
387 | | |
---|
388 | | // Check flexible array members. |
---|
389 | | struct incomplete_array *ia = |
---|
390 | | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); |
---|
391 | | ia->datasize = 10; |
---|
392 | | for (int i = 0; i < ia->datasize; ++i) |
---|
393 | | ia->data[i] = i * 1.234; |
---|
394 | | |
---|
395 | | // Check named initializers. |
---|
396 | | struct named_init ni = { |
---|
397 | | .number = 34, |
---|
398 | | .name = L"Test wide string", |
---|
399 | | .average = 543.34343, |
---|
400 | | }; |
---|
401 | | |
---|
402 | | ni.number = 58; |
---|
403 | | |
---|
404 | | int dynamic_array[ni.number]; |
---|
405 | | dynamic_array[0] = argv[0][0]; |
---|
406 | | dynamic_array[ni.number - 1] = 543; |
---|
407 | | |
---|
408 | | // work around unused variable warnings |
---|
409 | | ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' |
---|
410 | | || dynamic_array[ni.number - 1] != 543); |
---|
411 | | |
---|
412 | | |
---|
413 | | _Static_assert ((offsetof (struct anonymous, i) |
---|
414 | | == offsetof (struct anonymous, w.k)), |
---|
415 | | "Anonymous union alignment botch"); |
---|
416 | | v1.i = 2; |
---|
417 | | v1.w.k = 5; |
---|
418 | | ok |= v1.i != 5; |
---|
419 | | |
---|
420 | | return ok; |
---|
421 | | } |
---|
422 | | |
---|
423 | configure:5013: /opt/local/bin/gcc-apple-4.2 -std=gnu11 -c -pipe -Os -I/opt/local/include/LegacySupport -arch ppc -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport conftest.c >&5 |
---|
424 | cc1: error: unrecognized command line option "-std=gnu11" |
---|
425 | configure:5013: $? = 1 |
---|
426 | configure: failed program was: |
---|
427 | | /* confdefs.h */ |
---|
428 | | #define PACKAGE_NAME "util-linux" |
---|
429 | | #define PACKAGE_TARNAME "util-linux" |
---|
430 | | #define PACKAGE_VERSION "2.40.1" |
---|
431 | | #define PACKAGE_STRING "util-linux 2.40.1" |
---|
432 | | #define PACKAGE_BUGREPORT "kzak@redhat.com" |
---|
433 | | #define PACKAGE_URL "https://www.kernel.org/pub/linux/utils/util-linux/" |
---|
434 | | /* end confdefs.h. */ |
---|
435 | | |
---|
436 | | /* Does the compiler advertise C89 conformance? |
---|
437 | | Do not test the value of __STDC__, because some compilers set it to 0 |
---|
438 | | while being otherwise adequately conformant. */ |
---|
439 | | #if !defined __STDC__ |
---|
440 | | # error "Compiler does not advertise C89 conformance" |
---|
441 | | #endif |
---|
442 | | |
---|
443 | | #include <stddef.h> |
---|
444 | | #include <stdarg.h> |
---|
445 | | struct stat; |
---|
446 | | /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */ |
---|
447 | | struct buf { int x; }; |
---|
448 | | struct buf * (*rcsopen) (struct buf *, struct stat *, int); |
---|
449 | | static char *e (p, i) |
---|
450 | | char **p; |
---|
451 | | int i; |
---|
452 | | { |
---|
453 | | return p[i]; |
---|
454 | | } |
---|
455 | | static char *f (char * (*g) (char **, int), char **p, ...) |
---|
456 | | { |
---|
457 | | char *s; |
---|
458 | | va_list v; |
---|
459 | | va_start (v,p); |
---|
460 | | s = g (p, va_arg (v,int)); |
---|
461 | | va_end (v); |
---|
462 | | return s; |
---|
463 | | } |
---|
464 | | |
---|
465 | | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
---|
466 | | function prototypes and stuff, but not \xHH hex character constants. |
---|
467 | | These do not provoke an error unfortunately, instead are silently treated |
---|
468 | | as an "x". The following induces an error, until -std is added to get |
---|
469 | | proper ANSI mode. Curiously \x00 != x always comes out true, for an |
---|
470 | | array size at least. It is necessary to write \x00 == 0 to get something |
---|
471 | | that is true only with -std. */ |
---|
472 | | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
---|
473 | | |
---|
474 | | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
---|
475 | | inside strings and character constants. */ |
---|
476 | | #define FOO(x) 'x' |
---|
477 | | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
---|
478 | | |
---|
479 | | int test (int i, double x); |
---|
480 | | struct s1 {int (*f) (int a);}; |
---|
481 | | struct s2 {int (*f) (double a);}; |
---|
482 | | int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int), |
---|
483 | | int, int); |
---|
484 | | |
---|
485 | | // Does the compiler advertise C99 conformance? |
---|
486 | | #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L |
---|
487 | | # error "Compiler does not advertise C99 conformance" |
---|
488 | | #endif |
---|
489 | | |
---|
490 | | #include <stdbool.h> |
---|
491 | | extern int puts (const char *); |
---|
492 | | extern int printf (const char *, ...); |
---|
493 | | extern int dprintf (int, const char *, ...); |
---|
494 | | extern void *malloc (size_t); |
---|
495 | | |
---|
496 | | // Check varargs macros. These examples are taken from C99 6.10.3.5. |
---|
497 | | // dprintf is used instead of fprintf to avoid needing to declare |
---|
498 | | // FILE and stderr. |
---|
499 | | #define debug(...) dprintf (2, __VA_ARGS__) |
---|
500 | | #define showlist(...) puts (#__VA_ARGS__) |
---|
501 | | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) |
---|
502 | | static void |
---|
503 | | test_varargs_macros (void) |
---|
504 | | { |
---|
505 | | int x = 1234; |
---|
506 | | int y = 5678; |
---|
507 | | debug ("Flag"); |
---|
508 | | debug ("X = %d\n", x); |
---|
509 | | showlist (The first, second, and third items.); |
---|
510 | | report (x>y, "x is %d but y is %d", x, y); |
---|
511 | | } |
---|
512 | | |
---|
513 | | // Check long long types. |
---|
514 | | #define BIG64 18446744073709551615ull |
---|
515 | | #define BIG32 4294967295ul |
---|
516 | | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) |
---|
517 | | #if !BIG_OK |
---|
518 | | #error "your preprocessor is broken" |
---|
519 | | #endif |
---|
520 | | #if BIG_OK |
---|
521 | | #else |
---|
522 | | #error "your preprocessor is broken" |
---|
523 | | #endif |
---|
524 | | static long long int bignum = -9223372036854775807LL; |
---|
525 | | static unsigned long long int ubignum = BIG64; |
---|
526 | | |
---|
527 | | struct incomplete_array |
---|
528 | | { |
---|
529 | | int datasize; |
---|
530 | | double data[]; |
---|
531 | | }; |
---|
532 | | |
---|
533 | | struct named_init { |
---|
534 | | int number; |
---|
535 | | const wchar_t *name; |
---|
536 | | double average; |
---|
537 | | }; |
---|
538 | | |
---|
539 | | typedef const char *ccp; |
---|
540 | | |
---|
541 | | static inline int |
---|
542 | | test_restrict (ccp restrict text) |
---|
543 | | { |
---|
544 | | // See if C++-style comments work. |
---|
545 | | // Iterate through items via the restricted pointer. |
---|
546 | | // Also check for declarations in for loops. |
---|
547 | | for (unsigned int i = 0; *(text+i) != '\0'; ++i) |
---|
548 | | continue; |
---|
549 | | return 0; |
---|
550 | | } |
---|
551 | | |
---|
552 | | // Check varargs and va_copy. |
---|
553 | | static bool |
---|
554 | | test_varargs (const char *format, ...) |
---|
555 | | { |
---|
556 | | va_list args; |
---|
557 | | va_start (args, format); |
---|
558 | | va_list args_copy; |
---|
559 | | va_copy (args_copy, args); |
---|
560 | | |
---|
561 | | const char *str = ""; |
---|
562 | | int number = 0; |
---|
563 | | float fnumber = 0; |
---|
564 | | |
---|
565 | | while (*format) |
---|
566 | | { |
---|
567 | | switch (*format++) |
---|
568 | | { |
---|
569 | | case 's': // string |
---|
570 | | str = va_arg (args_copy, const char *); |
---|
571 | | break; |
---|
572 | | case 'd': // int |
---|
573 | | number = va_arg (args_copy, int); |
---|
574 | | break; |
---|
575 | | case 'f': // float |
---|
576 | | fnumber = va_arg (args_copy, double); |
---|
577 | | break; |
---|
578 | | default: |
---|
579 | | break; |
---|
580 | | } |
---|
581 | | } |
---|
582 | | va_end (args_copy); |
---|
583 | | va_end (args); |
---|
584 | | |
---|
585 | | return *str && number && fnumber; |
---|
586 | | } |
---|
587 | | |
---|
588 | | |
---|
589 | | // Does the compiler advertise C11 conformance? |
---|
590 | | #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L |
---|
591 | | # error "Compiler does not advertise C11 conformance" |
---|
592 | | #endif |
---|
593 | | |
---|
594 | | // Check _Alignas. |
---|
595 | | char _Alignas (double) aligned_as_double; |
---|
596 | | char _Alignas (0) no_special_alignment; |
---|
597 | | extern char aligned_as_int; |
---|
598 | | char _Alignas (0) _Alignas (int) aligned_as_int; |
---|
599 | | |
---|
600 | | // Check _Alignof. |
---|
601 | | enum |
---|
602 | | { |
---|
603 | | int_alignment = _Alignof (int), |
---|
604 | | int_array_alignment = _Alignof (int[100]), |
---|
605 | | char_alignment = _Alignof (char) |
---|
606 | | }; |
---|
607 | | _Static_assert (0 < -_Alignof (int), "_Alignof is signed"); |
---|
608 | | |
---|
609 | | // Check _Noreturn. |
---|
610 | | int _Noreturn does_not_return (void) { for (;;) continue; } |
---|
611 | | |
---|
612 | | // Check _Static_assert. |
---|
613 | | struct test_static_assert |
---|
614 | | { |
---|
615 | | int x; |
---|
616 | | _Static_assert (sizeof (int) <= sizeof (long int), |
---|
617 | | "_Static_assert does not work in struct"); |
---|
618 | | long int y; |
---|
619 | | }; |
---|
620 | | |
---|
621 | | // Check UTF-8 literals. |
---|
622 | | #define u8 syntax error! |
---|
623 | | char const utf8_literal[] = u8"happens to be ASCII" "another string"; |
---|
624 | | |
---|
625 | | // Check duplicate typedefs. |
---|
626 | | typedef long *long_ptr; |
---|
627 | | typedef long int *long_ptr; |
---|
628 | | typedef long_ptr long_ptr; |
---|
629 | | |
---|
630 | | // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1. |
---|
631 | | struct anonymous |
---|
632 | | { |
---|
633 | | union { |
---|
634 | | struct { int i; int j; }; |
---|
635 | | struct { int k; long int l; } w; |
---|
636 | | }; |
---|
637 | | int m; |
---|
638 | | } v1; |
---|
639 | | |
---|
640 | | |
---|
641 | | int |
---|
642 | | main (int argc, char **argv) |
---|
643 | | { |
---|
644 | | int ok = 0; |
---|
645 | | |
---|
646 | | ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]); |
---|
647 | | |
---|
648 | | |
---|
649 | | // Check bool. |
---|
650 | | _Bool success = false; |
---|
651 | | success |= (argc != 0); |
---|
652 | | |
---|
653 | | // Check restrict. |
---|
654 | | if (test_restrict ("String literal") == 0) |
---|
655 | | success = true; |
---|
656 | | char *restrict newvar = "Another string"; |
---|
657 | | |
---|
658 | | // Check varargs. |
---|
659 | | success &= test_varargs ("s, d' f .", "string", 65, 34.234); |
---|
660 | | test_varargs_macros (); |
---|
661 | | |
---|
662 | | // Check flexible array members. |
---|
663 | | struct incomplete_array *ia = |
---|
664 | | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); |
---|
665 | | ia->datasize = 10; |
---|
666 | | for (int i = 0; i < ia->datasize; ++i) |
---|
667 | | ia->data[i] = i * 1.234; |
---|
668 | | |
---|
669 | | // Check named initializers. |
---|
670 | | struct named_init ni = { |
---|
671 | | .number = 34, |
---|
672 | | .name = L"Test wide string", |
---|
673 | | .average = 543.34343, |
---|
674 | | }; |
---|
675 | | |
---|
676 | | ni.number = 58; |
---|
677 | | |
---|
678 | | int dynamic_array[ni.number]; |
---|
679 | | dynamic_array[0] = argv[0][0]; |
---|
680 | | dynamic_array[ni.number - 1] = 543; |
---|
681 | | |
---|
682 | | // work around unused variable warnings |
---|
683 | | ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' |
---|
684 | | || dynamic_array[ni.number - 1] != 543); |
---|
685 | | |
---|
686 | | |
---|
687 | | _Static_assert ((offsetof (struct anonymous, i) |
---|
688 | | == offsetof (struct anonymous, w.k)), |
---|
689 | | "Anonymous union alignment botch"); |
---|
690 | | v1.i = 2; |
---|
691 | | v1.w.k = 5; |
---|
692 | | ok |= v1.i != 5; |
---|
693 | | |
---|
694 | | return ok; |
---|
695 | | } |
---|
696 | | |
---|
697 | configure:5026: result: unsupported |
---|
698 | configure:5044: checking for /opt/local/bin/gcc-apple-4.2 option to enable C99 features |
---|
699 | configure:5059: /opt/local/bin/gcc-apple-4.2 -c -pipe -Os -I/opt/local/include/LegacySupport -arch ppc -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport conftest.c >&5 |
---|
700 | conftest.c:61:3: error: #error "Compiler does not advertise C99 conformance" |
---|
701 | conftest.c:116: error: expected ';', ',' or ')' before 'text' |
---|
702 | conftest.c: In function 'main': |
---|
703 | conftest.c:178: error: nested functions are disabled, use -fnested-functions to re-enable |
---|
704 | conftest.c:178: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'newvar' |
---|
705 | conftest.c:178: error: 'newvar' undeclared (first use in this function) |
---|
706 | conftest.c:178: error: (Each undeclared identifier is reported only once |
---|
707 | conftest.c:178: error: for each function it appears in.) |
---|
708 | conftest.c:188: error: 'for' loop initial declaration used outside C99 mode |
---|
709 | configure:5059: $? = 1 |
---|
710 | configure: failed program was: |
---|
711 | | /* confdefs.h */ |
---|
712 | | #define PACKAGE_NAME "util-linux" |
---|
713 | | #define PACKAGE_TARNAME "util-linux" |
---|
714 | | #define PACKAGE_VERSION "2.40.1" |
---|
715 | | #define PACKAGE_STRING "util-linux 2.40.1" |
---|
716 | | #define PACKAGE_BUGREPORT "kzak@redhat.com" |
---|
717 | | #define PACKAGE_URL "https://www.kernel.org/pub/linux/utils/util-linux/" |
---|
718 | | /* end confdefs.h. */ |
---|
719 | | |
---|
720 | | /* Does the compiler advertise C89 conformance? |
---|
721 | | Do not test the value of __STDC__, because some compilers set it to 0 |
---|
722 | | while being otherwise adequately conformant. */ |
---|
723 | | #if !defined __STDC__ |
---|
724 | | # error "Compiler does not advertise C89 conformance" |
---|
725 | | #endif |
---|
726 | | |
---|
727 | | #include <stddef.h> |
---|
728 | | #include <stdarg.h> |
---|
729 | | struct stat; |
---|
730 | | /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */ |
---|
731 | | struct buf { int x; }; |
---|
732 | | struct buf * (*rcsopen) (struct buf *, struct stat *, int); |
---|
733 | | static char *e (p, i) |
---|
734 | | char **p; |
---|
735 | | int i; |
---|
736 | | { |
---|
737 | | return p[i]; |
---|
738 | | } |
---|
739 | | static char *f (char * (*g) (char **, int), char **p, ...) |
---|
740 | | { |
---|
741 | | char *s; |
---|
742 | | va_list v; |
---|
743 | | va_start (v,p); |
---|
744 | | s = g (p, va_arg (v,int)); |
---|
745 | | va_end (v); |
---|
746 | | return s; |
---|
747 | | } |
---|
748 | | |
---|
749 | | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
---|
750 | | function prototypes and stuff, but not \xHH hex character constants. |
---|
751 | | These do not provoke an error unfortunately, instead are silently treated |
---|
752 | | as an "x". The following induces an error, until -std is added to get |
---|
753 | | proper ANSI mode. Curiously \x00 != x always comes out true, for an |
---|
754 | | array size at least. It is necessary to write \x00 == 0 to get something |
---|
755 | | that is true only with -std. */ |
---|
756 | | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
---|
757 | | |
---|
758 | | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
---|
759 | | inside strings and character constants. */ |
---|
760 | | #define FOO(x) 'x' |
---|
761 | | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
---|
762 | | |
---|
763 | | int test (int i, double x); |
---|
764 | | struct s1 {int (*f) (int a);}; |
---|
765 | | struct s2 {int (*f) (double a);}; |
---|
766 | | int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int), |
---|
767 | | int, int); |
---|
768 | | |
---|
769 | | // Does the compiler advertise C99 conformance? |
---|
770 | | #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L |
---|
771 | | # error "Compiler does not advertise C99 conformance" |
---|
772 | | #endif |
---|
773 | | |
---|
774 | | #include <stdbool.h> |
---|
775 | | extern int puts (const char *); |
---|
776 | | extern int printf (const char *, ...); |
---|
777 | | extern int dprintf (int, const char *, ...); |
---|
778 | | extern void *malloc (size_t); |
---|
779 | | |
---|
780 | | // Check varargs macros. These examples are taken from C99 6.10.3.5. |
---|
781 | | // dprintf is used instead of fprintf to avoid needing to declare |
---|
782 | | // FILE and stderr. |
---|
783 | | #define debug(...) dprintf (2, __VA_ARGS__) |
---|
784 | | #define showlist(...) puts (#__VA_ARGS__) |
---|
785 | | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) |
---|
786 | | static void |
---|
787 | | test_varargs_macros (void) |
---|
788 | | { |
---|
789 | | int x = 1234; |
---|
790 | | int y = 5678; |
---|
791 | | debug ("Flag"); |
---|
792 | | debug ("X = %d\n", x); |
---|
793 | | showlist (The first, second, and third items.); |
---|
794 | | report (x>y, "x is %d but y is %d", x, y); |
---|
795 | | } |
---|
796 | | |
---|
797 | | // Check long long types. |
---|
798 | | #define BIG64 18446744073709551615ull |
---|
799 | | #define BIG32 4294967295ul |
---|
800 | | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) |
---|
801 | | #if !BIG_OK |
---|
802 | | #error "your preprocessor is broken" |
---|
803 | | #endif |
---|
804 | | #if BIG_OK |
---|
805 | | #else |
---|
806 | | #error "your preprocessor is broken" |
---|
807 | | #endif |
---|
808 | | static long long int bignum = -9223372036854775807LL; |
---|
809 | | static unsigned long long int ubignum = BIG64; |
---|
810 | | |
---|
811 | | struct incomplete_array |
---|
812 | | { |
---|
813 | | int datasize; |
---|
814 | | double data[]; |
---|
815 | | }; |
---|
816 | | |
---|
817 | | struct named_init { |
---|
818 | | int number; |
---|
819 | | const wchar_t *name; |
---|
820 | | double average; |
---|
821 | | }; |
---|
822 | | |
---|
823 | | typedef const char *ccp; |
---|
824 | | |
---|
825 | | static inline int |
---|
826 | | test_restrict (ccp restrict text) |
---|
827 | | { |
---|
828 | | // See if C++-style comments work. |
---|
829 | | // Iterate through items via the restricted pointer. |
---|
830 | | // Also check for declarations in for loops. |
---|
831 | | for (unsigned int i = 0; *(text+i) != '\0'; ++i) |
---|
832 | | continue; |
---|
833 | | return 0; |
---|
834 | | } |
---|
835 | | |
---|
836 | | // Check varargs and va_copy. |
---|
837 | | static bool |
---|
838 | | test_varargs (const char *format, ...) |
---|
839 | | { |
---|
840 | | va_list args; |
---|
841 | | va_start (args, format); |
---|
842 | | va_list args_copy; |
---|
843 | | va_copy (args_copy, args); |
---|
844 | | |
---|
845 | | const char *str = ""; |
---|
846 | | int number = 0; |
---|
847 | | float fnumber = 0; |
---|
848 | | |
---|
849 | | while (*format) |
---|
850 | | { |
---|
851 | | switch (*format++) |
---|
852 | | { |
---|
853 | | case 's': // string |
---|
854 | | str = va_arg (args_copy, const char *); |
---|
855 | | break; |
---|
856 | | case 'd': // int |
---|
857 | | number = va_arg (args_copy, int); |
---|
858 | | break; |
---|
859 | | case 'f': // float |
---|
860 | | fnumber = va_arg (args_copy, double); |
---|
861 | | break; |
---|
862 | | default: |
---|
863 | | break; |
---|
864 | | } |
---|
865 | | } |
---|
866 | | va_end (args_copy); |
---|
867 | | va_end (args); |
---|
868 | | |
---|
869 | | return *str && number && fnumber; |
---|
870 | | } |
---|
871 | | |
---|
872 | | |
---|
873 | | int |
---|
874 | | main (int argc, char **argv) |
---|
875 | | { |
---|
876 | | int ok = 0; |
---|
877 | | |
---|
878 | | ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]); |
---|
879 | | |
---|
880 | | |
---|
881 | | // Check bool. |
---|
882 | | _Bool success = false; |
---|
883 | | success |= (argc != 0); |
---|
884 | | |
---|
885 | | // Check restrict. |
---|
886 | | if (test_restrict ("String literal") == 0) |
---|
887 | | success = true; |
---|
888 | | char *restrict newvar = "Another string"; |
---|
889 | | |
---|
890 | | // Check varargs. |
---|
891 | | success &= test_varargs ("s, d' f .", "string", 65, 34.234); |
---|
892 | | test_varargs_macros (); |
---|
893 | | |
---|
894 | | // Check flexible array members. |
---|
895 | | struct incomplete_array *ia = |
---|
896 | | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); |
---|
897 | | ia->datasize = 10; |
---|
898 | | for (int i = 0; i < ia->datasize; ++i) |
---|
899 | | ia->data[i] = i * 1.234; |
---|
900 | | |
---|
901 | | // Check named initializers. |
---|
902 | | struct named_init ni = { |
---|
903 | | .number = 34, |
---|
904 | | .name = L"Test wide string", |
---|
905 | | .average = 543.34343, |
---|
906 | | }; |
---|
907 | | |
---|
908 | | ni.number = 58; |
---|
909 | | |
---|
910 | | int dynamic_array[ni.number]; |
---|
911 | | dynamic_array[0] = argv[0][0]; |
---|
912 | | dynamic_array[ni.number - 1] = 543; |
---|
913 | | |
---|
914 | | // work around unused variable warnings |
---|
915 | | ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' |
---|
916 | | || dynamic_array[ni.number - 1] != 543); |
---|
917 | | |
---|
918 | | return ok; |
---|
919 | | } |
---|
920 | | |
---|
921 | configure:5059: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -c -pipe -Os -I/opt/local/include/LegacySupport -arch ppc -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport conftest.c >&5 |
---|
922 | configure:5059: $? = 0 |
---|
923 | configure:5080: result: -std=gnu99 |
---|
924 | configure:5147: checking whether /opt/local/bin/gcc-apple-4.2 -std=gnu99 understands -c and -o together |
---|
925 | configure:5170: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -c conftest.c -o conftest2.o |
---|
926 | configure:5173: $? = 0 |
---|
927 | configure:5170: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -c conftest.c -o conftest2.o |
---|
928 | configure:5173: $? = 0 |
---|
929 | configure:5185: result: yes |
---|
930 | configure:5207: checking for stdio.h |
---|
931 | configure:5207: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -c -pipe -Os -I/opt/local/include/LegacySupport -arch ppc -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport conftest.c >&5 |
---|
932 | configure:5207: $? = 0 |
---|
933 | configure:5207: result: yes |
---|
934 | configure:5207: checking for stdlib.h |
---|
935 | configure:5207: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -c -pipe -Os -I/opt/local/include/LegacySupport -arch ppc -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport conftest.c >&5 |
---|
936 | configure:5207: $? = 0 |
---|
937 | configure:5207: result: yes |
---|
938 | configure:5207: checking for string.h |
---|
939 | configure:5207: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -c -pipe -Os -I/opt/local/include/LegacySupport -arch ppc -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport conftest.c >&5 |
---|
940 | configure:5207: $? = 0 |
---|
941 | configure:5207: result: yes |
---|
942 | configure:5207: checking for inttypes.h |
---|
943 | configure:5207: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -c -pipe -Os -I/opt/local/include/LegacySupport -arch ppc -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport conftest.c >&5 |
---|
944 | configure:5207: $? = 0 |
---|
945 | configure:5207: result: yes |
---|
946 | configure:5207: checking for stdint.h |
---|
947 | configure:5207: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -c -pipe -Os -I/opt/local/include/LegacySupport -arch ppc -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport conftest.c >&5 |
---|
948 | configure:5207: $? = 0 |
---|
949 | configure:5207: result: yes |
---|
950 | configure:5207: checking for strings.h |
---|
951 | configure:5207: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -c -pipe -Os -I/opt/local/include/LegacySupport -arch ppc -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport conftest.c >&5 |
---|
952 | configure:5207: $? = 0 |
---|
953 | configure:5207: result: yes |
---|
954 | configure:5207: checking for sys/stat.h |
---|
955 | configure:5207: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -c -pipe -Os -I/opt/local/include/LegacySupport -arch ppc -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport conftest.c >&5 |
---|
956 | configure:5207: $? = 0 |
---|
957 | configure:5207: result: yes |
---|
958 | configure:5207: checking for sys/types.h |
---|
959 | configure:5207: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -c -pipe -Os -I/opt/local/include/LegacySupport -arch ppc -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport conftest.c >&5 |
---|
960 | configure:5207: $? = 0 |
---|
961 | configure:5207: result: yes |
---|
962 | configure:5207: checking for unistd.h |
---|
963 | configure:5207: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -c -pipe -Os -I/opt/local/include/LegacySupport -arch ppc -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport conftest.c >&5 |
---|
964 | configure:5207: $? = 0 |
---|
965 | configure:5207: result: yes |
---|
966 | configure:5207: checking for wchar.h |
---|
967 | configure:5207: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -c -pipe -Os -I/opt/local/include/LegacySupport -arch ppc -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport conftest.c >&5 |
---|
968 | configure:5207: $? = 0 |
---|
969 | configure:5207: result: yes |
---|
970 | configure:5207: checking for minix/config.h |
---|
971 | configure:5207: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -c -pipe -Os -I/opt/local/include/LegacySupport -arch ppc -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport conftest.c >&5 |
---|
972 | conftest.c:47:26: error: minix/config.h: No such file or directory |
---|
973 | configure:5207: $? = 1 |
---|
974 | configure: failed program was: |
---|
975 | | /* confdefs.h */ |
---|
976 | | #define PACKAGE_NAME "util-linux" |
---|
977 | | #define PACKAGE_TARNAME "util-linux" |
---|
978 | | #define PACKAGE_VERSION "2.40.1" |
---|
979 | | #define PACKAGE_STRING "util-linux 2.40.1" |
---|
980 | | #define PACKAGE_BUGREPORT "kzak@redhat.com" |
---|
981 | | #define PACKAGE_URL "https://www.kernel.org/pub/linux/utils/util-linux/" |
---|
982 | | #define HAVE_STDIO_H 1 |
---|
983 | | #define HAVE_STDLIB_H 1 |
---|
984 | | #define HAVE_STRING_H 1 |
---|
985 | | #define HAVE_INTTYPES_H 1 |
---|
986 | | #define HAVE_STDINT_H 1 |
---|
987 | | #define HAVE_STRINGS_H 1 |
---|
988 | | #define HAVE_SYS_STAT_H 1 |
---|
989 | | #define HAVE_SYS_TYPES_H 1 |
---|
990 | | #define HAVE_UNISTD_H 1 |
---|
991 | | #define HAVE_WCHAR_H 1 |
---|
992 | | /* end confdefs.h. */ |
---|
993 | | #include <stddef.h> |
---|
994 | | #ifdef HAVE_STDIO_H |
---|
995 | | # include <stdio.h> |
---|
996 | | #endif |
---|
997 | | #ifdef HAVE_STDLIB_H |
---|
998 | | # include <stdlib.h> |
---|
999 | | #endif |
---|
1000 | | #ifdef HAVE_STRING_H |
---|
1001 | | # include <string.h> |
---|
1002 | | #endif |
---|
1003 | | #ifdef HAVE_INTTYPES_H |
---|
1004 | | # include <inttypes.h> |
---|
1005 | | #endif |
---|
1006 | | #ifdef HAVE_STDINT_H |
---|
1007 | | # include <stdint.h> |
---|
1008 | | #endif |
---|
1009 | | #ifdef HAVE_STRINGS_H |
---|
1010 | | # include <strings.h> |
---|
1011 | | #endif |
---|
1012 | | #ifdef HAVE_SYS_TYPES_H |
---|
1013 | | # include <sys/types.h> |
---|
1014 | | #endif |
---|
1015 | | #ifdef HAVE_SYS_STAT_H |
---|
1016 | | # include <sys/stat.h> |
---|
1017 | | #endif |
---|
1018 | | #ifdef HAVE_UNISTD_H |
---|
1019 | | # include <unistd.h> |
---|
1020 | | #endif |
---|
1021 | | #include <minix/config.h> |
---|
1022 | configure:5207: result: no |
---|
1023 | configure:5238: checking whether it is safe to define __EXTENSIONS__ |
---|
1024 | configure:5257: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -c -pipe -Os -I/opt/local/include/LegacySupport -arch ppc -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport conftest.c >&5 |
---|
1025 | configure:5257: $? = 0 |
---|
1026 | configure:5265: result: yes |
---|
1027 | configure:5268: checking whether _XOPEN_SOURCE should be defined |
---|
1028 | configure:5290: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -c -pipe -Os -I/opt/local/include/LegacySupport -arch ppc -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport conftest.c >&5 |
---|
1029 | configure:5290: $? = 0 |
---|
1030 | configure:5317: result: no |
---|
1031 | configure:5390: checking for a BSD-compatible install |
---|
1032 | configure:5463: result: /usr/bin/install -c |
---|
1033 | configure:5474: checking whether build environment is sane |
---|
1034 | configure:5529: result: yes |
---|
1035 | configure:5684: checking for a race-free mkdir -p |
---|
1036 | configure:5728: result: /opt/local/bin/gmkdir -p |
---|
1037 | configure:5735: checking for gawk |
---|
1038 | configure:5756: found /opt/local/bin/gawk |
---|
1039 | configure:5767: result: gawk |
---|
1040 | configure:5778: checking whether make sets $(MAKE) |
---|
1041 | configure:5801: result: yes |
---|
1042 | configure:5823: checking whether make supports the include directive |
---|
1043 | configure:5838: make -f confmf.GNU && cat confinc.out |
---|
1044 | this is the am__doit target |
---|
1045 | configure:5841: $? = 0 |
---|
1046 | configure:5860: result: yes (GNU style) |
---|
1047 | configure:5895: checking whether make supports nested variables |
---|
1048 | configure:5913: result: yes |
---|
1049 | configure:5988: checking how to create a pax tar archive |
---|
1050 | configure:5999: tar --version |
---|
1051 | tar (GNU tar) 1.14 +CVE-2006-0300 +CVE-2006-6097 |
---|
1052 | Copyright (C) 2004 Free Software Foundation, Inc. |
---|
1053 | This program comes with NO WARRANTY, to the extent permitted by law. |
---|
1054 | You may redistribute it under the terms of the GNU General Public License; |
---|
1055 | see the file named COPYING for details. |
---|
1056 | Written by John Gilmore and Jay Fenlason. |
---|
1057 | Modified to support extended attributes. |
---|
1058 | configure:6002: $? = 0 |
---|
1059 | configure:6042: tardir=conftest.dir && eval tar --format=posix -chf - "$tardir" >conftest.tar |
---|
1060 | configure:6045: $? = 0 |
---|
1061 | configure:6049: tar -xf - <conftest.tar |
---|
1062 | configure:6052: $? = 0 |
---|
1063 | configure:6054: cat conftest.dir/file |
---|
1064 | GrepMe |
---|
1065 | configure:6057: $? = 0 |
---|
1066 | configure:6071: result: gnutar |
---|
1067 | configure:6080: checking dependency style of /opt/local/bin/gcc-apple-4.2 -std=gnu99 |
---|
1068 | configure:6192: result: gcc3 |
---|
1069 | configure:6277: checking whether make supports nested variables |
---|
1070 | configure:6295: result: yes |
---|
1071 | configure:6361: checking for ar |
---|
1072 | configure:6382: found /opt/local/bin/ar |
---|
1073 | configure:6393: result: ar |
---|
1074 | configure:6419: checking the archiver (ar) interface |
---|
1075 | configure:6436: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -c -pipe -Os -I/opt/local/include/LegacySupport -arch ppc -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport conftest.c >&5 |
---|
1076 | configure:6436: $? = 0 |
---|
1077 | configure:6439: ar cru libconftest.a conftest.o >&5 |
---|
1078 | configure:6442: $? = 0 |
---|
1079 | configure:6470: result: ar |
---|
1080 | configure:6701: checking for gcc |
---|
1081 | configure:6733: result: /opt/local/bin/gcc-apple-4.2 |
---|
1082 | configure:7086: checking for C compiler version |
---|
1083 | configure:7095: /opt/local/bin/gcc-apple-4.2 --version >&5 |
---|
1084 | powerpc-apple-darwin8-gcc-apple-4.2.4 (GCC) 4.2.4 (Apple Inc. build 5666) (dot 3) (MacPorts apple-gcc42 5666.3_16+gpl3) |
---|
1085 | Copyright (C) 2007 Free Software Foundation, Inc. |
---|
1086 | This is free software; see the source for copying conditions. There is NO |
---|
1087 | warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
---|
1088 | |
---|
1089 | configure:7106: $? = 0 |
---|
1090 | configure:7095: /opt/local/bin/gcc-apple-4.2 -v >&5 |
---|
1091 | Using built-in specs. |
---|
1092 | Target: powerpc-apple-darwin8 |
---|
1093 | Configured with: /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_apple-gcc42/apple-gcc42/work/objroot/src/configure --disable-checking --enable-werror --prefix=/opt/local --mandir=/opt/local/share/man --enable-languages=c,c++,objc,obj-c++ --libexecdir=/opt/local/libexec/apple-gcc42 --libdir=/opt/local/lib/apple-gcc42 --includedir=/opt/local/include/apple-gcc42 --program-suffix=-apple-4.2 --with-system-zlib --disable-nls --with-slibdir=/usr/lib --build=powerpc-apple-darwin8 --with-gxx-include-dir=/usr/include/c++/4.0.0 --host=powerpc-apple-darwin8 --target=powerpc-apple-darwin8 |
---|
1094 | Thread model: posix |
---|
1095 | gcc version 4.2.4 (Apple Inc. build 5666) (dot 3) (MacPorts apple-gcc42 5666.3_16+gpl3) |
---|
1096 | configure:7106: $? = 0 |
---|
1097 | configure:7095: /opt/local/bin/gcc-apple-4.2 -V >&5 |
---|
1098 | gcc-apple-4.2: argument to `-V' is missing |
---|
1099 | configure:7106: $? = 1 |
---|
1100 | configure:7095: /opt/local/bin/gcc-apple-4.2 -qversion >&5 |
---|
1101 | powerpc-apple-darwin8-gcc-apple-4.2.4: no input files |
---|
1102 | configure:7106: $? = 1 |
---|
1103 | configure:7095: /opt/local/bin/gcc-apple-4.2 -version >&5 |
---|
1104 | powerpc-apple-darwin8-gcc-apple-4.2.4: no input files |
---|
1105 | configure:7106: $? = 1 |
---|
1106 | configure:7110: checking whether the compiler supports GNU C |
---|
1107 | configure:7140: result: yes |
---|
1108 | configure:7151: checking whether /opt/local/bin/gcc-apple-4.2 accepts -g |
---|
1109 | configure:7216: result: yes |
---|
1110 | configure:7236: checking for /opt/local/bin/gcc-apple-4.2 option to enable C11 features |
---|
1111 | configure:7264: result: unsupported |
---|
1112 | configure:7282: checking for /opt/local/bin/gcc-apple-4.2 option to enable C99 features |
---|
1113 | configure:7318: result: -std=gnu99 |
---|
1114 | configure:7385: checking whether /opt/local/bin/gcc-apple-4.2 -std=gnu99 understands -c and -o together |
---|
1115 | configure:7423: result: yes |
---|
1116 | configure:7446: checking for bison |
---|
1117 | configure:7467: found /opt/local/bin/bison |
---|
1118 | configure:7478: result: bison -y |
---|
1119 | configure:7490: checking for a sed that does not truncate output |
---|
1120 | configure:7560: result: /opt/local/bin/gsed |
---|
1121 | configure:7569: checking for flex |
---|
1122 | configure:7592: found /opt/local/bin/flex |
---|
1123 | configure:7604: result: /opt/local/bin/flex |
---|
1124 | configure:7614: checking for bison |
---|
1125 | configure:7637: found /opt/local/bin/bison |
---|
1126 | configure:7649: result: /opt/local/bin/bison |
---|
1127 | configure:7664: checking build system type |
---|
1128 | configure:7679: result: powerpc-apple-darwin8.11.0 |
---|
1129 | configure:7699: checking host system type |
---|
1130 | configure:7713: result: powerpc-apple-darwin8.11.0 |
---|
1131 | configure:7733: checking for an ANSI C-conforming const |
---|
1132 | configure:7800: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -c -pipe -Os -I/opt/local/include/LegacySupport -arch ppc -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport conftest.c >&5 |
---|
1133 | configure:7800: $? = 0 |
---|
1134 | configure:7808: result: yes |
---|
1135 | configure:7816: checking for working volatile |
---|
1136 | configure:7836: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -c -pipe -Os -I/opt/local/include/LegacySupport -arch ppc -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport conftest.c >&5 |
---|
1137 | configure:7836: $? = 0 |
---|
1138 | configure:7844: result: yes |
---|
1139 | configure:7858: checking how to run the C preprocessor |
---|
1140 | configure:7884: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -E -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport conftest.c |
---|
1141 | configure:7884: $? = 0 |
---|
1142 | configure:7899: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -E -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport conftest.c |
---|
1143 | conftest.c:38:28: error: ac_nonexistent.h: No such file or directory |
---|
1144 | configure:7899: $? = 1 |
---|
1145 | configure: failed program was: |
---|
1146 | | /* confdefs.h */ |
---|
1147 | | #define PACKAGE_NAME "util-linux" |
---|
1148 | | #define PACKAGE_TARNAME "util-linux" |
---|
1149 | | #define PACKAGE_VERSION "2.40.1" |
---|
1150 | | #define PACKAGE_STRING "util-linux 2.40.1" |
---|
1151 | | #define PACKAGE_BUGREPORT "kzak@redhat.com" |
---|
1152 | | #define PACKAGE_URL "https://www.kernel.org/pub/linux/utils/util-linux/" |
---|
1153 | | #define HAVE_STDIO_H 1 |
---|
1154 | | #define HAVE_STDLIB_H 1 |
---|
1155 | | #define HAVE_STRING_H 1 |
---|
1156 | | #define HAVE_INTTYPES_H 1 |
---|
1157 | | #define HAVE_STDINT_H 1 |
---|
1158 | | #define HAVE_STRINGS_H 1 |
---|
1159 | | #define HAVE_SYS_STAT_H 1 |
---|
1160 | | #define HAVE_SYS_TYPES_H 1 |
---|
1161 | | #define HAVE_UNISTD_H 1 |
---|
1162 | | #define HAVE_WCHAR_H 1 |
---|
1163 | | #define STDC_HEADERS 1 |
---|
1164 | | #define _ALL_SOURCE 1 |
---|
1165 | | #define _DARWIN_C_SOURCE 1 |
---|
1166 | | #define _GNU_SOURCE 1 |
---|
1167 | | #define _HPUX_ALT_XOPEN_SOCKET_API 1 |
---|
1168 | | #define _NETBSD_SOURCE 1 |
---|
1169 | | #define _OPENBSD_SOURCE 1 |
---|
1170 | | #define _POSIX_PTHREAD_SEMANTICS 1 |
---|
1171 | | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 |
---|
1172 | | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 |
---|
1173 | | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 |
---|
1174 | | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 |
---|
1175 | | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 |
---|
1176 | | #define __STDC_WANT_LIB_EXT2__ 1 |
---|
1177 | | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 |
---|
1178 | | #define _TANDEM_SOURCE 1 |
---|
1179 | | #define __EXTENSIONS__ 1 |
---|
1180 | | #define PACKAGE "util-linux" |
---|
1181 | | #define VERSION "2.40.1" |
---|
1182 | | /* end confdefs.h. */ |
---|
1183 | | #include <ac_nonexistent.h> |
---|
1184 | configure:7926: result: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -E |
---|
1185 | configure:7940: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -E -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport conftest.c |
---|
1186 | configure:7940: $? = 0 |
---|
1187 | configure:7955: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -E -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport conftest.c |
---|
1188 | conftest.c:38:28: error: ac_nonexistent.h: No such file or directory |
---|
1189 | configure:7955: $? = 1 |
---|
1190 | configure: failed program was: |
---|
1191 | | /* confdefs.h */ |
---|
1192 | | #define PACKAGE_NAME "util-linux" |
---|
1193 | | #define PACKAGE_TARNAME "util-linux" |
---|
1194 | | #define PACKAGE_VERSION "2.40.1" |
---|
1195 | | #define PACKAGE_STRING "util-linux 2.40.1" |
---|
1196 | | #define PACKAGE_BUGREPORT "kzak@redhat.com" |
---|
1197 | | #define PACKAGE_URL "https://www.kernel.org/pub/linux/utils/util-linux/" |
---|
1198 | | #define HAVE_STDIO_H 1 |
---|
1199 | | #define HAVE_STDLIB_H 1 |
---|
1200 | | #define HAVE_STRING_H 1 |
---|
1201 | | #define HAVE_INTTYPES_H 1 |
---|
1202 | | #define HAVE_STDINT_H 1 |
---|
1203 | | #define HAVE_STRINGS_H 1 |
---|
1204 | | #define HAVE_SYS_STAT_H 1 |
---|
1205 | | #define HAVE_SYS_TYPES_H 1 |
---|
1206 | | #define HAVE_UNISTD_H 1 |
---|
1207 | | #define HAVE_WCHAR_H 1 |
---|
1208 | | #define STDC_HEADERS 1 |
---|
1209 | | #define _ALL_SOURCE 1 |
---|
1210 | | #define _DARWIN_C_SOURCE 1 |
---|
1211 | | #define _GNU_SOURCE 1 |
---|
1212 | | #define _HPUX_ALT_XOPEN_SOCKET_API 1 |
---|
1213 | | #define _NETBSD_SOURCE 1 |
---|
1214 | | #define _OPENBSD_SOURCE 1 |
---|
1215 | | #define _POSIX_PTHREAD_SEMANTICS 1 |
---|
1216 | | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 |
---|
1217 | | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 |
---|
1218 | | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 |
---|
1219 | | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 |
---|
1220 | | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 |
---|
1221 | | #define __STDC_WANT_LIB_EXT2__ 1 |
---|
1222 | | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 |
---|
1223 | | #define _TANDEM_SOURCE 1 |
---|
1224 | | #define __EXTENSIONS__ 1 |
---|
1225 | | #define PACKAGE "util-linux" |
---|
1226 | | #define VERSION "2.40.1" |
---|
1227 | | /* end confdefs.h. */ |
---|
1228 | | #include <ac_nonexistent.h> |
---|
1229 | configure:7988: checking whether compiler handles -fno-common |
---|
1230 | configure:8013: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -E -Werror -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport -fno-common conftest.c |
---|
1231 | configure:8013: $? = 0 |
---|
1232 | configure:8026: result: yes |
---|
1233 | configure:8035: checking whether compiler handles -Wall |
---|
1234 | configure:8060: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -E -Werror -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport -Wall conftest.c |
---|
1235 | configure:8060: $? = 0 |
---|
1236 | configure:8073: result: yes |
---|
1237 | configure:8082: checking whether compiler handles -Wextra |
---|
1238 | configure:8107: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -E -Werror -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport -Wextra conftest.c |
---|
1239 | configure:8107: $? = 0 |
---|
1240 | configure:8120: result: yes |
---|
1241 | configure:8130: checking whether compiler handles -Waddress-of-packed-member |
---|
1242 | configure:8155: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -E -Werror -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport -Waddress-of-packed-member conftest.c |
---|
1243 | cc1: error: unrecognized command line option "-Waddress-of-packed-member" |
---|
1244 | configure:8155: $? = 1 |
---|
1245 | configure: failed program was: |
---|
1246 | | /* confdefs.h */ |
---|
1247 | | #define PACKAGE_NAME "util-linux" |
---|
1248 | | #define PACKAGE_TARNAME "util-linux" |
---|
1249 | | #define PACKAGE_VERSION "2.40.1" |
---|
1250 | | #define PACKAGE_STRING "util-linux 2.40.1" |
---|
1251 | | #define PACKAGE_BUGREPORT "kzak@redhat.com" |
---|
1252 | | #define PACKAGE_URL "https://www.kernel.org/pub/linux/utils/util-linux/" |
---|
1253 | | #define HAVE_STDIO_H 1 |
---|
1254 | | #define HAVE_STDLIB_H 1 |
---|
1255 | | #define HAVE_STRING_H 1 |
---|
1256 | | #define HAVE_INTTYPES_H 1 |
---|
1257 | | #define HAVE_STDINT_H 1 |
---|
1258 | | #define HAVE_STRINGS_H 1 |
---|
1259 | | #define HAVE_SYS_STAT_H 1 |
---|
1260 | | #define HAVE_SYS_TYPES_H 1 |
---|
1261 | | #define HAVE_UNISTD_H 1 |
---|
1262 | | #define HAVE_WCHAR_H 1 |
---|
1263 | | #define STDC_HEADERS 1 |
---|
1264 | | #define _ALL_SOURCE 1 |
---|
1265 | | #define _DARWIN_C_SOURCE 1 |
---|
1266 | | #define _GNU_SOURCE 1 |
---|
1267 | | #define _HPUX_ALT_XOPEN_SOCKET_API 1 |
---|
1268 | | #define _NETBSD_SOURCE 1 |
---|
1269 | | #define _OPENBSD_SOURCE 1 |
---|
1270 | | #define _POSIX_PTHREAD_SEMANTICS 1 |
---|
1271 | | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 |
---|
1272 | | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 |
---|
1273 | | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 |
---|
1274 | | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 |
---|
1275 | | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 |
---|
1276 | | #define __STDC_WANT_LIB_EXT2__ 1 |
---|
1277 | | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 |
---|
1278 | | #define _TANDEM_SOURCE 1 |
---|
1279 | | #define __EXTENSIONS__ 1 |
---|
1280 | | #define PACKAGE "util-linux" |
---|
1281 | | #define VERSION "2.40.1" |
---|
1282 | | /* end confdefs.h. */ |
---|
1283 | | |
---|
1284 | | int |
---|
1285 | | main (void) |
---|
1286 | | { |
---|
1287 | | |
---|
1288 | | ; |
---|
1289 | | return 0; |
---|
1290 | | } |
---|
1291 | configure:8168: result: no |
---|
1292 | configure:8177: checking whether compiler handles -Wdiscarded-qualifiers |
---|
1293 | configure:8202: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -E -Werror -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport -Wdiscarded-qualifiers conftest.c |
---|
1294 | cc1: error: unrecognized command line option "-Wdiscarded-qualifiers" |
---|
1295 | configure:8202: $? = 1 |
---|
1296 | configure: failed program was: |
---|
1297 | | /* confdefs.h */ |
---|
1298 | | #define PACKAGE_NAME "util-linux" |
---|
1299 | | #define PACKAGE_TARNAME "util-linux" |
---|
1300 | | #define PACKAGE_VERSION "2.40.1" |
---|
1301 | | #define PACKAGE_STRING "util-linux 2.40.1" |
---|
1302 | | #define PACKAGE_BUGREPORT "kzak@redhat.com" |
---|
1303 | | #define PACKAGE_URL "https://www.kernel.org/pub/linux/utils/util-linux/" |
---|
1304 | | #define HAVE_STDIO_H 1 |
---|
1305 | | #define HAVE_STDLIB_H 1 |
---|
1306 | | #define HAVE_STRING_H 1 |
---|
1307 | | #define HAVE_INTTYPES_H 1 |
---|
1308 | | #define HAVE_STDINT_H 1 |
---|
1309 | | #define HAVE_STRINGS_H 1 |
---|
1310 | | #define HAVE_SYS_STAT_H 1 |
---|
1311 | | #define HAVE_SYS_TYPES_H 1 |
---|
1312 | | #define HAVE_UNISTD_H 1 |
---|
1313 | | #define HAVE_WCHAR_H 1 |
---|
1314 | | #define STDC_HEADERS 1 |
---|
1315 | | #define _ALL_SOURCE 1 |
---|
1316 | | #define _DARWIN_C_SOURCE 1 |
---|
1317 | | #define _GNU_SOURCE 1 |
---|
1318 | | #define _HPUX_ALT_XOPEN_SOCKET_API 1 |
---|
1319 | | #define _NETBSD_SOURCE 1 |
---|
1320 | | #define _OPENBSD_SOURCE 1 |
---|
1321 | | #define _POSIX_PTHREAD_SEMANTICS 1 |
---|
1322 | | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 |
---|
1323 | | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 |
---|
1324 | | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 |
---|
1325 | | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 |
---|
1326 | | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 |
---|
1327 | | #define __STDC_WANT_LIB_EXT2__ 1 |
---|
1328 | | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 |
---|
1329 | | #define _TANDEM_SOURCE 1 |
---|
1330 | | #define __EXTENSIONS__ 1 |
---|
1331 | | #define PACKAGE "util-linux" |
---|
1332 | | #define VERSION "2.40.1" |
---|
1333 | | /* end confdefs.h. */ |
---|
1334 | | |
---|
1335 | | int |
---|
1336 | | main (void) |
---|
1337 | | { |
---|
1338 | | |
---|
1339 | | ; |
---|
1340 | | return 0; |
---|
1341 | | } |
---|
1342 | configure:8215: result: no |
---|
1343 | configure:8224: checking whether compiler handles -Wembedded-directive |
---|
1344 | configure:8249: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -E -Werror -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport -Wembedded-directive conftest.c |
---|
1345 | cc1: error: unrecognized command line option "-Wembedded-directive" |
---|
1346 | configure:8249: $? = 1 |
---|
1347 | configure: failed program was: |
---|
1348 | | /* confdefs.h */ |
---|
1349 | | #define PACKAGE_NAME "util-linux" |
---|
1350 | | #define PACKAGE_TARNAME "util-linux" |
---|
1351 | | #define PACKAGE_VERSION "2.40.1" |
---|
1352 | | #define PACKAGE_STRING "util-linux 2.40.1" |
---|
1353 | | #define PACKAGE_BUGREPORT "kzak@redhat.com" |
---|
1354 | | #define PACKAGE_URL "https://www.kernel.org/pub/linux/utils/util-linux/" |
---|
1355 | | #define HAVE_STDIO_H 1 |
---|
1356 | | #define HAVE_STDLIB_H 1 |
---|
1357 | | #define HAVE_STRING_H 1 |
---|
1358 | | #define HAVE_INTTYPES_H 1 |
---|
1359 | | #define HAVE_STDINT_H 1 |
---|
1360 | | #define HAVE_STRINGS_H 1 |
---|
1361 | | #define HAVE_SYS_STAT_H 1 |
---|
1362 | | #define HAVE_SYS_TYPES_H 1 |
---|
1363 | | #define HAVE_UNISTD_H 1 |
---|
1364 | | #define HAVE_WCHAR_H 1 |
---|
1365 | | #define STDC_HEADERS 1 |
---|
1366 | | #define _ALL_SOURCE 1 |
---|
1367 | | #define _DARWIN_C_SOURCE 1 |
---|
1368 | | #define _GNU_SOURCE 1 |
---|
1369 | | #define _HPUX_ALT_XOPEN_SOCKET_API 1 |
---|
1370 | | #define _NETBSD_SOURCE 1 |
---|
1371 | | #define _OPENBSD_SOURCE 1 |
---|
1372 | | #define _POSIX_PTHREAD_SEMANTICS 1 |
---|
1373 | | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 |
---|
1374 | | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 |
---|
1375 | | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 |
---|
1376 | | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 |
---|
1377 | | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 |
---|
1378 | | #define __STDC_WANT_LIB_EXT2__ 1 |
---|
1379 | | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 |
---|
1380 | | #define _TANDEM_SOURCE 1 |
---|
1381 | | #define __EXTENSIONS__ 1 |
---|
1382 | | #define PACKAGE "util-linux" |
---|
1383 | | #define VERSION "2.40.1" |
---|
1384 | | /* end confdefs.h. */ |
---|
1385 | | |
---|
1386 | | int |
---|
1387 | | main (void) |
---|
1388 | | { |
---|
1389 | | |
---|
1390 | | ; |
---|
1391 | | return 0; |
---|
1392 | | } |
---|
1393 | configure:8262: result: no |
---|
1394 | configure:8271: checking whether compiler handles -Wextra-semi |
---|
1395 | configure:8296: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -E -Werror -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport -Wextra-semi conftest.c |
---|
1396 | cc1: error: unrecognized command line option "-Wextra-semi" |
---|
1397 | configure:8296: $? = 1 |
---|
1398 | configure: failed program was: |
---|
1399 | | /* confdefs.h */ |
---|
1400 | | #define PACKAGE_NAME "util-linux" |
---|
1401 | | #define PACKAGE_TARNAME "util-linux" |
---|
1402 | | #define PACKAGE_VERSION "2.40.1" |
---|
1403 | | #define PACKAGE_STRING "util-linux 2.40.1" |
---|
1404 | | #define PACKAGE_BUGREPORT "kzak@redhat.com" |
---|
1405 | | #define PACKAGE_URL "https://www.kernel.org/pub/linux/utils/util-linux/" |
---|
1406 | | #define HAVE_STDIO_H 1 |
---|
1407 | | #define HAVE_STDLIB_H 1 |
---|
1408 | | #define HAVE_STRING_H 1 |
---|
1409 | | #define HAVE_INTTYPES_H 1 |
---|
1410 | | #define HAVE_STDINT_H 1 |
---|
1411 | | #define HAVE_STRINGS_H 1 |
---|
1412 | | #define HAVE_SYS_STAT_H 1 |
---|
1413 | | #define HAVE_SYS_TYPES_H 1 |
---|
1414 | | #define HAVE_UNISTD_H 1 |
---|
1415 | | #define HAVE_WCHAR_H 1 |
---|
1416 | | #define STDC_HEADERS 1 |
---|
1417 | | #define _ALL_SOURCE 1 |
---|
1418 | | #define _DARWIN_C_SOURCE 1 |
---|
1419 | | #define _GNU_SOURCE 1 |
---|
1420 | | #define _HPUX_ALT_XOPEN_SOCKET_API 1 |
---|
1421 | | #define _NETBSD_SOURCE 1 |
---|
1422 | | #define _OPENBSD_SOURCE 1 |
---|
1423 | | #define _POSIX_PTHREAD_SEMANTICS 1 |
---|
1424 | | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 |
---|
1425 | | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 |
---|
1426 | | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 |
---|
1427 | | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 |
---|
1428 | | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 |
---|
1429 | | #define __STDC_WANT_LIB_EXT2__ 1 |
---|
1430 | | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 |
---|
1431 | | #define _TANDEM_SOURCE 1 |
---|
1432 | | #define __EXTENSIONS__ 1 |
---|
1433 | | #define PACKAGE "util-linux" |
---|
1434 | | #define VERSION "2.40.1" |
---|
1435 | | /* end confdefs.h. */ |
---|
1436 | | |
---|
1437 | | int |
---|
1438 | | main (void) |
---|
1439 | | { |
---|
1440 | | |
---|
1441 | | ; |
---|
1442 | | return 0; |
---|
1443 | | } |
---|
1444 | configure:8309: result: no |
---|
1445 | configure:8318: checking whether compiler handles -Wformat-security |
---|
1446 | configure:8343: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -E -Werror -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport -Wformat-security conftest.c |
---|
1447 | configure:8343: $? = 0 |
---|
1448 | configure:8356: result: yes |
---|
1449 | configure:8365: checking whether compiler handles -Wimplicit-function-declaration |
---|
1450 | configure:8390: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -E -Werror -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport -Wimplicit-function-declaration conftest.c |
---|
1451 | configure:8390: $? = 0 |
---|
1452 | configure:8403: result: yes |
---|
1453 | configure:8412: checking whether compiler handles -Wmissing-declarations |
---|
1454 | configure:8437: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -E -Werror -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport -Wmissing-declarations conftest.c |
---|
1455 | configure:8437: $? = 0 |
---|
1456 | configure:8450: result: yes |
---|
1457 | configure:8459: checking whether compiler handles -Wmissing-parameter-type |
---|
1458 | configure:8484: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -E -Werror -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport -Wmissing-parameter-type conftest.c |
---|
1459 | cc1: error: unrecognized command line option "-Wmissing-parameter-type" |
---|
1460 | configure:8484: $? = 1 |
---|
1461 | configure: failed program was: |
---|
1462 | | /* confdefs.h */ |
---|
1463 | | #define PACKAGE_NAME "util-linux" |
---|
1464 | | #define PACKAGE_TARNAME "util-linux" |
---|
1465 | | #define PACKAGE_VERSION "2.40.1" |
---|
1466 | | #define PACKAGE_STRING "util-linux 2.40.1" |
---|
1467 | | #define PACKAGE_BUGREPORT "kzak@redhat.com" |
---|
1468 | | #define PACKAGE_URL "https://www.kernel.org/pub/linux/utils/util-linux/" |
---|
1469 | | #define HAVE_STDIO_H 1 |
---|
1470 | | #define HAVE_STDLIB_H 1 |
---|
1471 | | #define HAVE_STRING_H 1 |
---|
1472 | | #define HAVE_INTTYPES_H 1 |
---|
1473 | | #define HAVE_STDINT_H 1 |
---|
1474 | | #define HAVE_STRINGS_H 1 |
---|
1475 | | #define HAVE_SYS_STAT_H 1 |
---|
1476 | | #define HAVE_SYS_TYPES_H 1 |
---|
1477 | | #define HAVE_UNISTD_H 1 |
---|
1478 | | #define HAVE_WCHAR_H 1 |
---|
1479 | | #define STDC_HEADERS 1 |
---|
1480 | | #define _ALL_SOURCE 1 |
---|
1481 | | #define _DARWIN_C_SOURCE 1 |
---|
1482 | | #define _GNU_SOURCE 1 |
---|
1483 | | #define _HPUX_ALT_XOPEN_SOCKET_API 1 |
---|
1484 | | #define _NETBSD_SOURCE 1 |
---|
1485 | | #define _OPENBSD_SOURCE 1 |
---|
1486 | | #define _POSIX_PTHREAD_SEMANTICS 1 |
---|
1487 | | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 |
---|
1488 | | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 |
---|
1489 | | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 |
---|
1490 | | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 |
---|
1491 | | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 |
---|
1492 | | #define __STDC_WANT_LIB_EXT2__ 1 |
---|
1493 | | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 |
---|
1494 | | #define _TANDEM_SOURCE 1 |
---|
1495 | | #define __EXTENSIONS__ 1 |
---|
1496 | | #define PACKAGE "util-linux" |
---|
1497 | | #define VERSION "2.40.1" |
---|
1498 | | /* end confdefs.h. */ |
---|
1499 | | |
---|
1500 | | int |
---|
1501 | | main (void) |
---|
1502 | | { |
---|
1503 | | |
---|
1504 | | ; |
---|
1505 | | return 0; |
---|
1506 | | } |
---|
1507 | configure:8497: result: no |
---|
1508 | configure:8506: checking whether compiler handles -Wmissing-prototypes |
---|
1509 | configure:8531: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -E -Werror -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport -Wmissing-prototypes conftest.c |
---|
1510 | configure:8531: $? = 0 |
---|
1511 | configure:8544: result: yes |
---|
1512 | configure:8553: checking whether compiler handles -Wnested-externs |
---|
1513 | configure:8578: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -E -Werror -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport -Wnested-externs conftest.c |
---|
1514 | configure:8578: $? = 0 |
---|
1515 | configure:8591: result: yes |
---|
1516 | configure:8600: checking whether compiler handles -Wno-missing-field-initializers |
---|
1517 | configure:8625: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -E -Werror -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport -Wno-missing-field-initializers conftest.c |
---|
1518 | configure:8625: $? = 0 |
---|
1519 | configure:8638: result: yes |
---|
1520 | configure:8647: checking whether compiler handles -Wold-style-definition |
---|
1521 | configure:8672: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -E -Werror -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport -Wold-style-definition conftest.c |
---|
1522 | configure:8672: $? = 0 |
---|
1523 | configure:8685: result: yes |
---|
1524 | configure:8694: checking whether compiler handles -Wpointer-arith |
---|
1525 | configure:8719: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -E -Werror -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport -Wpointer-arith conftest.c |
---|
1526 | configure:8719: $? = 0 |
---|
1527 | configure:8732: result: yes |
---|
1528 | configure:8741: checking whether compiler handles -Wredundant-decls |
---|
1529 | configure:8766: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -E -Werror -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport -Wredundant-decls conftest.c |
---|
1530 | configure:8766: $? = 0 |
---|
1531 | configure:8779: result: yes |
---|
1532 | configure:8788: checking whether compiler handles -Wsign-compare |
---|
1533 | configure:8813: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -E -Werror -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport -Wsign-compare conftest.c |
---|
1534 | configure:8813: $? = 0 |
---|
1535 | configure:8826: result: yes |
---|
1536 | configure:8835: checking whether compiler handles -Wstrict-prototypes |
---|
1537 | configure:8860: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -E -Werror -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport -Wstrict-prototypes conftest.c |
---|
1538 | configure:8860: $? = 0 |
---|
1539 | configure:8873: result: yes |
---|
1540 | configure:8882: checking whether compiler handles -Wtype-limits |
---|
1541 | configure:8907: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -E -Werror -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport -Wtype-limits conftest.c |
---|
1542 | cc1: error: unrecognized command line option "-Wtype-limits" |
---|
1543 | configure:8907: $? = 1 |
---|
1544 | configure: failed program was: |
---|
1545 | | /* confdefs.h */ |
---|
1546 | | #define PACKAGE_NAME "util-linux" |
---|
1547 | | #define PACKAGE_TARNAME "util-linux" |
---|
1548 | | #define PACKAGE_VERSION "2.40.1" |
---|
1549 | | #define PACKAGE_STRING "util-linux 2.40.1" |
---|
1550 | | #define PACKAGE_BUGREPORT "kzak@redhat.com" |
---|
1551 | | #define PACKAGE_URL "https://www.kernel.org/pub/linux/utils/util-linux/" |
---|
1552 | | #define HAVE_STDIO_H 1 |
---|
1553 | | #define HAVE_STDLIB_H 1 |
---|
1554 | | #define HAVE_STRING_H 1 |
---|
1555 | | #define HAVE_INTTYPES_H 1 |
---|
1556 | | #define HAVE_STDINT_H 1 |
---|
1557 | | #define HAVE_STRINGS_H 1 |
---|
1558 | | #define HAVE_SYS_STAT_H 1 |
---|
1559 | | #define HAVE_SYS_TYPES_H 1 |
---|
1560 | | #define HAVE_UNISTD_H 1 |
---|
1561 | | #define HAVE_WCHAR_H 1 |
---|
1562 | | #define STDC_HEADERS 1 |
---|
1563 | | #define _ALL_SOURCE 1 |
---|
1564 | | #define _DARWIN_C_SOURCE 1 |
---|
1565 | | #define _GNU_SOURCE 1 |
---|
1566 | | #define _HPUX_ALT_XOPEN_SOCKET_API 1 |
---|
1567 | | #define _NETBSD_SOURCE 1 |
---|
1568 | | #define _OPENBSD_SOURCE 1 |
---|
1569 | | #define _POSIX_PTHREAD_SEMANTICS 1 |
---|
1570 | | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 |
---|
1571 | | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 |
---|
1572 | | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 |
---|
1573 | | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 |
---|
1574 | | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 |
---|
1575 | | #define __STDC_WANT_LIB_EXT2__ 1 |
---|
1576 | | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 |
---|
1577 | | #define _TANDEM_SOURCE 1 |
---|
1578 | | #define __EXTENSIONS__ 1 |
---|
1579 | | #define PACKAGE "util-linux" |
---|
1580 | | #define VERSION "2.40.1" |
---|
1581 | | /* end confdefs.h. */ |
---|
1582 | | |
---|
1583 | | int |
---|
1584 | | main (void) |
---|
1585 | | { |
---|
1586 | | |
---|
1587 | | ; |
---|
1588 | | return 0; |
---|
1589 | | } |
---|
1590 | configure:8920: result: no |
---|
1591 | configure:8929: checking whether compiler handles -Wuninitialized |
---|
1592 | configure:8954: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -E -Werror -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport -Wuninitialized conftest.c |
---|
1593 | cc1: warnings being treated as errors |
---|
1594 | cc1: warning: -Wuninitialized is not supported without -O |
---|
1595 | configure:8954: $? = 1 |
---|
1596 | configure: failed program was: |
---|
1597 | | /* confdefs.h */ |
---|
1598 | | #define PACKAGE_NAME "util-linux" |
---|
1599 | | #define PACKAGE_TARNAME "util-linux" |
---|
1600 | | #define PACKAGE_VERSION "2.40.1" |
---|
1601 | | #define PACKAGE_STRING "util-linux 2.40.1" |
---|
1602 | | #define PACKAGE_BUGREPORT "kzak@redhat.com" |
---|
1603 | | #define PACKAGE_URL "https://www.kernel.org/pub/linux/utils/util-linux/" |
---|
1604 | | #define HAVE_STDIO_H 1 |
---|
1605 | | #define HAVE_STDLIB_H 1 |
---|
1606 | | #define HAVE_STRING_H 1 |
---|
1607 | | #define HAVE_INTTYPES_H 1 |
---|
1608 | | #define HAVE_STDINT_H 1 |
---|
1609 | | #define HAVE_STRINGS_H 1 |
---|
1610 | | #define HAVE_SYS_STAT_H 1 |
---|
1611 | | #define HAVE_SYS_TYPES_H 1 |
---|
1612 | | #define HAVE_UNISTD_H 1 |
---|
1613 | | #define HAVE_WCHAR_H 1 |
---|
1614 | | #define STDC_HEADERS 1 |
---|
1615 | | #define _ALL_SOURCE 1 |
---|
1616 | | #define _DARWIN_C_SOURCE 1 |
---|
1617 | | #define _GNU_SOURCE 1 |
---|
1618 | | #define _HPUX_ALT_XOPEN_SOCKET_API 1 |
---|
1619 | | #define _NETBSD_SOURCE 1 |
---|
1620 | | #define _OPENBSD_SOURCE 1 |
---|
1621 | | #define _POSIX_PTHREAD_SEMANTICS 1 |
---|
1622 | | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 |
---|
1623 | | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 |
---|
1624 | | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 |
---|
1625 | | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 |
---|
1626 | | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 |
---|
1627 | | #define __STDC_WANT_LIB_EXT2__ 1 |
---|
1628 | | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 |
---|
1629 | | #define _TANDEM_SOURCE 1 |
---|
1630 | | #define __EXTENSIONS__ 1 |
---|
1631 | | #define PACKAGE "util-linux" |
---|
1632 | | #define VERSION "2.40.1" |
---|
1633 | | /* end confdefs.h. */ |
---|
1634 | | |
---|
1635 | | int |
---|
1636 | | main (void) |
---|
1637 | | { |
---|
1638 | | |
---|
1639 | | ; |
---|
1640 | | return 0; |
---|
1641 | | } |
---|
1642 | configure:8967: result: no |
---|
1643 | configure:8976: checking whether compiler handles -Wunused-but-set-parameter |
---|
1644 | configure:9001: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -E -Werror -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport -Wunused-but-set-parameter conftest.c |
---|
1645 | cc1: error: unrecognized command line option "-Wunused-but-set-parameter" |
---|
1646 | configure:9001: $? = 1 |
---|
1647 | configure: failed program was: |
---|
1648 | | /* confdefs.h */ |
---|
1649 | | #define PACKAGE_NAME "util-linux" |
---|
1650 | | #define PACKAGE_TARNAME "util-linux" |
---|
1651 | | #define PACKAGE_VERSION "2.40.1" |
---|
1652 | | #define PACKAGE_STRING "util-linux 2.40.1" |
---|
1653 | | #define PACKAGE_BUGREPORT "kzak@redhat.com" |
---|
1654 | | #define PACKAGE_URL "https://www.kernel.org/pub/linux/utils/util-linux/" |
---|
1655 | | #define HAVE_STDIO_H 1 |
---|
1656 | | #define HAVE_STDLIB_H 1 |
---|
1657 | | #define HAVE_STRING_H 1 |
---|
1658 | | #define HAVE_INTTYPES_H 1 |
---|
1659 | | #define HAVE_STDINT_H 1 |
---|
1660 | | #define HAVE_STRINGS_H 1 |
---|
1661 | | #define HAVE_SYS_STAT_H 1 |
---|
1662 | | #define HAVE_SYS_TYPES_H 1 |
---|
1663 | | #define HAVE_UNISTD_H 1 |
---|
1664 | | #define HAVE_WCHAR_H 1 |
---|
1665 | | #define STDC_HEADERS 1 |
---|
1666 | | #define _ALL_SOURCE 1 |
---|
1667 | | #define _DARWIN_C_SOURCE 1 |
---|
1668 | | #define _GNU_SOURCE 1 |
---|
1669 | | #define _HPUX_ALT_XOPEN_SOCKET_API 1 |
---|
1670 | | #define _NETBSD_SOURCE 1 |
---|
1671 | | #define _OPENBSD_SOURCE 1 |
---|
1672 | | #define _POSIX_PTHREAD_SEMANTICS 1 |
---|
1673 | | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 |
---|
1674 | | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 |
---|
1675 | | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 |
---|
1676 | | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 |
---|
1677 | | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 |
---|
1678 | | #define __STDC_WANT_LIB_EXT2__ 1 |
---|
1679 | | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 |
---|
1680 | | #define _TANDEM_SOURCE 1 |
---|
1681 | | #define __EXTENSIONS__ 1 |
---|
1682 | | #define PACKAGE "util-linux" |
---|
1683 | | #define VERSION "2.40.1" |
---|
1684 | | /* end confdefs.h. */ |
---|
1685 | | |
---|
1686 | | int |
---|
1687 | | main (void) |
---|
1688 | | { |
---|
1689 | | |
---|
1690 | | ; |
---|
1691 | | return 0; |
---|
1692 | | } |
---|
1693 | configure:9014: result: no |
---|
1694 | configure:9023: checking whether compiler handles -Wunused-but-set-variable |
---|
1695 | configure:9048: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -E -Werror -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport -Wunused-but-set-variable conftest.c |
---|
1696 | cc1: error: unrecognized command line option "-Wunused-but-set-variable" |
---|
1697 | configure:9048: $? = 1 |
---|
1698 | configure: failed program was: |
---|
1699 | | /* confdefs.h */ |
---|
1700 | | #define PACKAGE_NAME "util-linux" |
---|
1701 | | #define PACKAGE_TARNAME "util-linux" |
---|
1702 | | #define PACKAGE_VERSION "2.40.1" |
---|
1703 | | #define PACKAGE_STRING "util-linux 2.40.1" |
---|
1704 | | #define PACKAGE_BUGREPORT "kzak@redhat.com" |
---|
1705 | | #define PACKAGE_URL "https://www.kernel.org/pub/linux/utils/util-linux/" |
---|
1706 | | #define HAVE_STDIO_H 1 |
---|
1707 | | #define HAVE_STDLIB_H 1 |
---|
1708 | | #define HAVE_STRING_H 1 |
---|
1709 | | #define HAVE_INTTYPES_H 1 |
---|
1710 | | #define HAVE_STDINT_H 1 |
---|
1711 | | #define HAVE_STRINGS_H 1 |
---|
1712 | | #define HAVE_SYS_STAT_H 1 |
---|
1713 | | #define HAVE_SYS_TYPES_H 1 |
---|
1714 | | #define HAVE_UNISTD_H 1 |
---|
1715 | | #define HAVE_WCHAR_H 1 |
---|
1716 | | #define STDC_HEADERS 1 |
---|
1717 | | #define _ALL_SOURCE 1 |
---|
1718 | | #define _DARWIN_C_SOURCE 1 |
---|
1719 | | #define _GNU_SOURCE 1 |
---|
1720 | | #define _HPUX_ALT_XOPEN_SOCKET_API 1 |
---|
1721 | | #define _NETBSD_SOURCE 1 |
---|
1722 | | #define _OPENBSD_SOURCE 1 |
---|
1723 | | #define _POSIX_PTHREAD_SEMANTICS 1 |
---|
1724 | | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 |
---|
1725 | | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 |
---|
1726 | | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 |
---|
1727 | | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 |
---|
1728 | | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 |
---|
1729 | | #define __STDC_WANT_LIB_EXT2__ 1 |
---|
1730 | | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 |
---|
1731 | | #define _TANDEM_SOURCE 1 |
---|
1732 | | #define __EXTENSIONS__ 1 |
---|
1733 | | #define PACKAGE "util-linux" |
---|
1734 | | #define VERSION "2.40.1" |
---|
1735 | | /* end confdefs.h. */ |
---|
1736 | | |
---|
1737 | | int |
---|
1738 | | main (void) |
---|
1739 | | { |
---|
1740 | | |
---|
1741 | | ; |
---|
1742 | | return 0; |
---|
1743 | | } |
---|
1744 | configure:9061: result: no |
---|
1745 | configure:9070: checking whether compiler handles -Wunused-parameter |
---|
1746 | configure:9095: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -E -Werror -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport -Wunused-parameter conftest.c |
---|
1747 | configure:9095: $? = 0 |
---|
1748 | configure:9108: result: yes |
---|
1749 | configure:9117: checking whether compiler handles -Wunused-result |
---|
1750 | configure:9142: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -E -Werror -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport -Wunused-result conftest.c |
---|
1751 | cc1: error: unrecognized command line option "-Wunused-result" |
---|
1752 | configure:9142: $? = 1 |
---|
1753 | configure: failed program was: |
---|
1754 | | /* confdefs.h */ |
---|
1755 | | #define PACKAGE_NAME "util-linux" |
---|
1756 | | #define PACKAGE_TARNAME "util-linux" |
---|
1757 | | #define PACKAGE_VERSION "2.40.1" |
---|
1758 | | #define PACKAGE_STRING "util-linux 2.40.1" |
---|
1759 | | #define PACKAGE_BUGREPORT "kzak@redhat.com" |
---|
1760 | | #define PACKAGE_URL "https://www.kernel.org/pub/linux/utils/util-linux/" |
---|
1761 | | #define HAVE_STDIO_H 1 |
---|
1762 | | #define HAVE_STDLIB_H 1 |
---|
1763 | | #define HAVE_STRING_H 1 |
---|
1764 | | #define HAVE_INTTYPES_H 1 |
---|
1765 | | #define HAVE_STDINT_H 1 |
---|
1766 | | #define HAVE_STRINGS_H 1 |
---|
1767 | | #define HAVE_SYS_STAT_H 1 |
---|
1768 | | #define HAVE_SYS_TYPES_H 1 |
---|
1769 | | #define HAVE_UNISTD_H 1 |
---|
1770 | | #define HAVE_WCHAR_H 1 |
---|
1771 | | #define STDC_HEADERS 1 |
---|
1772 | | #define _ALL_SOURCE 1 |
---|
1773 | | #define _DARWIN_C_SOURCE 1 |
---|
1774 | | #define _GNU_SOURCE 1 |
---|
1775 | | #define _HPUX_ALT_XOPEN_SOCKET_API 1 |
---|
1776 | | #define _NETBSD_SOURCE 1 |
---|
1777 | | #define _OPENBSD_SOURCE 1 |
---|
1778 | | #define _POSIX_PTHREAD_SEMANTICS 1 |
---|
1779 | | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 |
---|
1780 | | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 |
---|
1781 | | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 |
---|
1782 | | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 |
---|
1783 | | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 |
---|
1784 | | #define __STDC_WANT_LIB_EXT2__ 1 |
---|
1785 | | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 |
---|
1786 | | #define _TANDEM_SOURCE 1 |
---|
1787 | | #define __EXTENSIONS__ 1 |
---|
1788 | | #define PACKAGE "util-linux" |
---|
1789 | | #define VERSION "2.40.1" |
---|
1790 | | /* end confdefs.h. */ |
---|
1791 | | |
---|
1792 | | int |
---|
1793 | | main (void) |
---|
1794 | | { |
---|
1795 | | |
---|
1796 | | ; |
---|
1797 | | return 0; |
---|
1798 | | } |
---|
1799 | configure:9155: result: no |
---|
1800 | configure:9164: checking whether compiler handles -Wunused-variable |
---|
1801 | configure:9189: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -E -Werror -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport -Wunused-variable conftest.c |
---|
1802 | configure:9189: $? = 0 |
---|
1803 | configure:9202: result: yes |
---|
1804 | configure:9211: checking whether compiler handles -Wvla |
---|
1805 | configure:9236: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -E -Werror -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport -Wvla conftest.c |
---|
1806 | cc1: error: unrecognized command line option "-Wvla" |
---|
1807 | configure:9236: $? = 1 |
---|
1808 | configure: failed program was: |
---|
1809 | | /* confdefs.h */ |
---|
1810 | | #define PACKAGE_NAME "util-linux" |
---|
1811 | | #define PACKAGE_TARNAME "util-linux" |
---|
1812 | | #define PACKAGE_VERSION "2.40.1" |
---|
1813 | | #define PACKAGE_STRING "util-linux 2.40.1" |
---|
1814 | | #define PACKAGE_BUGREPORT "kzak@redhat.com" |
---|
1815 | | #define PACKAGE_URL "https://www.kernel.org/pub/linux/utils/util-linux/" |
---|
1816 | | #define HAVE_STDIO_H 1 |
---|
1817 | | #define HAVE_STDLIB_H 1 |
---|
1818 | | #define HAVE_STRING_H 1 |
---|
1819 | | #define HAVE_INTTYPES_H 1 |
---|
1820 | | #define HAVE_STDINT_H 1 |
---|
1821 | | #define HAVE_STRINGS_H 1 |
---|
1822 | | #define HAVE_SYS_STAT_H 1 |
---|
1823 | | #define HAVE_SYS_TYPES_H 1 |
---|
1824 | | #define HAVE_UNISTD_H 1 |
---|
1825 | | #define HAVE_WCHAR_H 1 |
---|
1826 | | #define STDC_HEADERS 1 |
---|
1827 | | #define _ALL_SOURCE 1 |
---|
1828 | | #define _DARWIN_C_SOURCE 1 |
---|
1829 | | #define _GNU_SOURCE 1 |
---|
1830 | | #define _HPUX_ALT_XOPEN_SOCKET_API 1 |
---|
1831 | | #define _NETBSD_SOURCE 1 |
---|
1832 | | #define _OPENBSD_SOURCE 1 |
---|
1833 | | #define _POSIX_PTHREAD_SEMANTICS 1 |
---|
1834 | | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 |
---|
1835 | | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 |
---|
1836 | | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 |
---|
1837 | | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 |
---|
1838 | | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 |
---|
1839 | | #define __STDC_WANT_LIB_EXT2__ 1 |
---|
1840 | | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 |
---|
1841 | | #define _TANDEM_SOURCE 1 |
---|
1842 | | #define __EXTENSIONS__ 1 |
---|
1843 | | #define PACKAGE "util-linux" |
---|
1844 | | #define VERSION "2.40.1" |
---|
1845 | | /* end confdefs.h. */ |
---|
1846 | | |
---|
1847 | | int |
---|
1848 | | main (void) |
---|
1849 | | { |
---|
1850 | | |
---|
1851 | | ; |
---|
1852 | | return 0; |
---|
1853 | | } |
---|
1854 | configure:9249: result: no |
---|
1855 | configure:9258: checking whether compiler handles -Walloca |
---|
1856 | configure:9283: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -E -Werror -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport -Walloca conftest.c |
---|
1857 | cc1: error: unrecognized command line option "-Walloca" |
---|
1858 | configure:9283: $? = 1 |
---|
1859 | configure: failed program was: |
---|
1860 | | /* confdefs.h */ |
---|
1861 | | #define PACKAGE_NAME "util-linux" |
---|
1862 | | #define PACKAGE_TARNAME "util-linux" |
---|
1863 | | #define PACKAGE_VERSION "2.40.1" |
---|
1864 | | #define PACKAGE_STRING "util-linux 2.40.1" |
---|
1865 | | #define PACKAGE_BUGREPORT "kzak@redhat.com" |
---|
1866 | | #define PACKAGE_URL "https://www.kernel.org/pub/linux/utils/util-linux/" |
---|
1867 | | #define HAVE_STDIO_H 1 |
---|
1868 | | #define HAVE_STDLIB_H 1 |
---|
1869 | | #define HAVE_STRING_H 1 |
---|
1870 | | #define HAVE_INTTYPES_H 1 |
---|
1871 | | #define HAVE_STDINT_H 1 |
---|
1872 | | #define HAVE_STRINGS_H 1 |
---|
1873 | | #define HAVE_SYS_STAT_H 1 |
---|
1874 | | #define HAVE_SYS_TYPES_H 1 |
---|
1875 | | #define HAVE_UNISTD_H 1 |
---|
1876 | | #define HAVE_WCHAR_H 1 |
---|
1877 | | #define STDC_HEADERS 1 |
---|
1878 | | #define _ALL_SOURCE 1 |
---|
1879 | | #define _DARWIN_C_SOURCE 1 |
---|
1880 | | #define _GNU_SOURCE 1 |
---|
1881 | | #define _HPUX_ALT_XOPEN_SOCKET_API 1 |
---|
1882 | | #define _NETBSD_SOURCE 1 |
---|
1883 | | #define _OPENBSD_SOURCE 1 |
---|
1884 | | #define _POSIX_PTHREAD_SEMANTICS 1 |
---|
1885 | | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 |
---|
1886 | | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 |
---|
1887 | | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 |
---|
1888 | | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 |
---|
1889 | | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 |
---|
1890 | | #define __STDC_WANT_LIB_EXT2__ 1 |
---|
1891 | | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 |
---|
1892 | | #define _TANDEM_SOURCE 1 |
---|
1893 | | #define __EXTENSIONS__ 1 |
---|
1894 | | #define PACKAGE "util-linux" |
---|
1895 | | #define VERSION "2.40.1" |
---|
1896 | | /* end confdefs.h. */ |
---|
1897 | | |
---|
1898 | | int |
---|
1899 | | main (void) |
---|
1900 | | { |
---|
1901 | | |
---|
1902 | | ; |
---|
1903 | | return 0; |
---|
1904 | | } |
---|
1905 | configure:9296: result: no |
---|
1906 | configure:9368: checking whether compiler handles -Werror=sequence-point |
---|
1907 | configure:9393: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -E -Werror -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport -Werror=sequence-point conftest.c |
---|
1908 | configure:9393: $? = 0 |
---|
1909 | configure:9406: result: yes |
---|
1910 | configure:9421: checking whether compiler handles -Wno-clobbered |
---|
1911 | configure:9446: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -E -Werror -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport -Wno-clobbered conftest.c |
---|
1912 | cc1: error: unrecognized command line option "-Wno-clobbered" |
---|
1913 | configure:9446: $? = 1 |
---|
1914 | configure: failed program was: |
---|
1915 | | /* confdefs.h */ |
---|
1916 | | #define PACKAGE_NAME "util-linux" |
---|
1917 | | #define PACKAGE_TARNAME "util-linux" |
---|
1918 | | #define PACKAGE_VERSION "2.40.1" |
---|
1919 | | #define PACKAGE_STRING "util-linux 2.40.1" |
---|
1920 | | #define PACKAGE_BUGREPORT "kzak@redhat.com" |
---|
1921 | | #define PACKAGE_URL "https://www.kernel.org/pub/linux/utils/util-linux/" |
---|
1922 | | #define HAVE_STDIO_H 1 |
---|
1923 | | #define HAVE_STDLIB_H 1 |
---|
1924 | | #define HAVE_STRING_H 1 |
---|
1925 | | #define HAVE_INTTYPES_H 1 |
---|
1926 | | #define HAVE_STDINT_H 1 |
---|
1927 | | #define HAVE_STRINGS_H 1 |
---|
1928 | | #define HAVE_SYS_STAT_H 1 |
---|
1929 | | #define HAVE_SYS_TYPES_H 1 |
---|
1930 | | #define HAVE_UNISTD_H 1 |
---|
1931 | | #define HAVE_WCHAR_H 1 |
---|
1932 | | #define STDC_HEADERS 1 |
---|
1933 | | #define _ALL_SOURCE 1 |
---|
1934 | | #define _DARWIN_C_SOURCE 1 |
---|
1935 | | #define _GNU_SOURCE 1 |
---|
1936 | | #define _HPUX_ALT_XOPEN_SOCKET_API 1 |
---|
1937 | | #define _NETBSD_SOURCE 1 |
---|
1938 | | #define _OPENBSD_SOURCE 1 |
---|
1939 | | #define _POSIX_PTHREAD_SEMANTICS 1 |
---|
1940 | | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 |
---|
1941 | | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 |
---|
1942 | | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 |
---|
1943 | | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 |
---|
1944 | | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 |
---|
1945 | | #define __STDC_WANT_LIB_EXT2__ 1 |
---|
1946 | | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 |
---|
1947 | | #define _TANDEM_SOURCE 1 |
---|
1948 | | #define __EXTENSIONS__ 1 |
---|
1949 | | #define PACKAGE "util-linux" |
---|
1950 | | #define VERSION "2.40.1" |
---|
1951 | | /* end confdefs.h. */ |
---|
1952 | | |
---|
1953 | | int |
---|
1954 | | main (void) |
---|
1955 | | { |
---|
1956 | | |
---|
1957 | | ; |
---|
1958 | | return 0; |
---|
1959 | | } |
---|
1960 | configure:9459: result: no |
---|
1961 | configure:9470: checking whether compiler handles -Wno-cast-function-type |
---|
1962 | configure:9495: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -E -Werror -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport -Wno-cast-function-type conftest.c |
---|
1963 | cc1: error: unrecognized command line option "-Wno-cast-function-type" |
---|
1964 | configure:9495: $? = 1 |
---|
1965 | configure: failed program was: |
---|
1966 | | /* confdefs.h */ |
---|
1967 | | #define PACKAGE_NAME "util-linux" |
---|
1968 | | #define PACKAGE_TARNAME "util-linux" |
---|
1969 | | #define PACKAGE_VERSION "2.40.1" |
---|
1970 | | #define PACKAGE_STRING "util-linux 2.40.1" |
---|
1971 | | #define PACKAGE_BUGREPORT "kzak@redhat.com" |
---|
1972 | | #define PACKAGE_URL "https://www.kernel.org/pub/linux/utils/util-linux/" |
---|
1973 | | #define HAVE_STDIO_H 1 |
---|
1974 | | #define HAVE_STDLIB_H 1 |
---|
1975 | | #define HAVE_STRING_H 1 |
---|
1976 | | #define HAVE_INTTYPES_H 1 |
---|
1977 | | #define HAVE_STDINT_H 1 |
---|
1978 | | #define HAVE_STRINGS_H 1 |
---|
1979 | | #define HAVE_SYS_STAT_H 1 |
---|
1980 | | #define HAVE_SYS_TYPES_H 1 |
---|
1981 | | #define HAVE_UNISTD_H 1 |
---|
1982 | | #define HAVE_WCHAR_H 1 |
---|
1983 | | #define STDC_HEADERS 1 |
---|
1984 | | #define _ALL_SOURCE 1 |
---|
1985 | | #define _DARWIN_C_SOURCE 1 |
---|
1986 | | #define _GNU_SOURCE 1 |
---|
1987 | | #define _HPUX_ALT_XOPEN_SOCKET_API 1 |
---|
1988 | | #define _NETBSD_SOURCE 1 |
---|
1989 | | #define _OPENBSD_SOURCE 1 |
---|
1990 | | #define _POSIX_PTHREAD_SEMANTICS 1 |
---|
1991 | | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 |
---|
1992 | | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 |
---|
1993 | | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 |
---|
1994 | | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 |
---|
1995 | | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 |
---|
1996 | | #define __STDC_WANT_LIB_EXT2__ 1 |
---|
1997 | | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 |
---|
1998 | | #define _TANDEM_SOURCE 1 |
---|
1999 | | #define __EXTENSIONS__ 1 |
---|
2000 | | #define PACKAGE "util-linux" |
---|
2001 | | #define VERSION "2.40.1" |
---|
2002 | | /* end confdefs.h. */ |
---|
2003 | | |
---|
2004 | | int |
---|
2005 | | main (void) |
---|
2006 | | { |
---|
2007 | | |
---|
2008 | | ; |
---|
2009 | | return 0; |
---|
2010 | | } |
---|
2011 | configure:9508: result: no |
---|
2012 | configure:9931: checking for C++ compiler version |
---|
2013 | configure:9940: /opt/local/bin/g++-apple-4.2 --version >&5 |
---|
2014 | powerpc-apple-darwin8-g++-apple-4.2.4 (GCC) 4.2.4 (Apple Inc. build 5666) (dot 3) (MacPorts apple-gcc42 5666.3_16+gpl3) |
---|
2015 | Copyright (C) 2007 Free Software Foundation, Inc. |
---|
2016 | This is free software; see the source for copying conditions. There is NO |
---|
2017 | warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
---|
2018 | |
---|
2019 | configure:9951: $? = 0 |
---|
2020 | configure:9940: /opt/local/bin/g++-apple-4.2 -v >&5 |
---|
2021 | Using built-in specs. |
---|
2022 | Target: powerpc-apple-darwin8 |
---|
2023 | Configured with: /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_lang_apple-gcc42/apple-gcc42/work/objroot/src/configure --disable-checking --enable-werror --prefix=/opt/local --mandir=/opt/local/share/man --enable-languages=c,c++,objc,obj-c++ --libexecdir=/opt/local/libexec/apple-gcc42 --libdir=/opt/local/lib/apple-gcc42 --includedir=/opt/local/include/apple-gcc42 --program-suffix=-apple-4.2 --with-system-zlib --disable-nls --with-slibdir=/usr/lib --build=powerpc-apple-darwin8 --with-gxx-include-dir=/usr/include/c++/4.0.0 --host=powerpc-apple-darwin8 --target=powerpc-apple-darwin8 |
---|
2024 | Thread model: posix |
---|
2025 | gcc version 4.2.4 (Apple Inc. build 5666) (dot 3) (MacPorts apple-gcc42 5666.3_16+gpl3) |
---|
2026 | configure:9951: $? = 0 |
---|
2027 | configure:9940: /opt/local/bin/g++-apple-4.2 -V >&5 |
---|
2028 | g++-apple-4.2: argument to `-V' is missing |
---|
2029 | configure:9951: $? = 1 |
---|
2030 | configure:9940: /opt/local/bin/g++-apple-4.2 -qversion >&5 |
---|
2031 | powerpc-apple-darwin8-g++-apple-4.2.4: no input files |
---|
2032 | configure:9951: $? = 1 |
---|
2033 | configure:9955: checking whether the compiler supports GNU C++ |
---|
2034 | configure:9975: /opt/local/bin/g++-apple-4.2 -c -pipe -Os -arch ppc -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport conftest.cpp >&5 |
---|
2035 | configure:9975: $? = 0 |
---|
2036 | configure:9985: result: yes |
---|
2037 | configure:9996: checking whether /opt/local/bin/g++-apple-4.2 accepts -g |
---|
2038 | configure:10017: /opt/local/bin/g++-apple-4.2 -c -g -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport conftest.cpp >&5 |
---|
2039 | configure:10017: $? = 0 |
---|
2040 | configure:10061: result: yes |
---|
2041 | configure:10081: checking for /opt/local/bin/g++-apple-4.2 option to enable C++11 features |
---|
2042 | configure:10096: /opt/local/bin/g++-apple-4.2 -c -pipe -Os -arch ppc -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport conftest.cpp >&5 |
---|
2043 | conftest.cpp:41:3: error: #error "Compiler does not advertise C++98 conformance" |
---|
2044 | conftest.cpp:84:3: error: #error "Compiler does not advertise C++11 conformance" |
---|
2045 | conftest.cpp:89: error: expected constructor, destructor, or type conversion before 'int' |
---|
2046 | conftest.cpp: In constructor 'cxx11test::delegate::delegate()': |
---|
2047 | conftest.cpp:101: error: type 'cxx11test::delegate' is not a direct base of 'cxx11test::delegate' |
---|
2048 | conftest.cpp: At global scope: |
---|
2049 | conftest.cpp:112: error: expected ';' before 'override' |
---|
2050 | conftest.cpp:113: error: expected `;' before '}' token |
---|
2051 | conftest.cpp:119: error: invalid pure specifier (only `= 0' is allowed) before ';' token |
---|
2052 | conftest.cpp:120: error: invalid pure specifier (only `= 0' is allowed) before ';' token |
---|
2053 | conftest.cpp:121: error: invalid pure specifier (only `= 0' is allowed) before ';' token |
---|
2054 | conftest.cpp:119: error: initializer specified for non-virtual method 'cxx11test::nocopy::nocopy()' |
---|
2055 | conftest.cpp:120: error: initializer specified for non-virtual method 'cxx11test::nocopy::nocopy(const cxx11test::nocopy&)' |
---|
2056 | conftest.cpp:121: error: initializer specified for non-virtual method 'cxx11test::nocopy& cxx11test::nocopy::operator=(const cxx11test::nocopy&)' |
---|
2057 | conftest.cpp:133: error: expected initializer before '->' token |
---|
2058 | conftest.cpp:137: error: expected nested-name-specifier before '...' token |
---|
2059 | conftest.cpp:137: error: expected '>' before '...' token |
---|
2060 | conftest.cpp:137: error: 'Args' has not been declared |
---|
2061 | conftest.cpp:137: error: expected `)' before 'rest' |
---|
2062 | conftest.cpp:137: error: expected initializer before 'rest' |
---|
2063 | conftest.cpp: In function 'int main(int, char**)': |
---|
2064 | conftest.cpp:161: error: ISO C++ forbids declaration of 'a1' with no type |
---|
2065 | conftest.cpp:162: error: ISO C++ forbids declaration of 'a2' with no type |
---|
2066 | conftest.cpp:163: error: ISO C++ forbids declaration of 'a3' with no type |
---|
2067 | conftest.cpp:163: error: invalid conversion from 'const char*' to 'int' |
---|
2068 | conftest.cpp:166: error: ISO C++ forbids declaration of 'i' with no type |
---|
2069 | conftest.cpp:166: error: invalid type argument of 'unary *' |
---|
2070 | conftest.cpp:166: error: invalid type argument of 'unary *' |
---|
2071 | conftest.cpp:168: error: 'decltype' was not declared in this scope |
---|
2072 | conftest.cpp:168: error: expected `;' before 'a4' |
---|
2073 | conftest.cpp:172: error: 'get_val' is not a member of 'cxx11test' |
---|
2074 | conftest.cpp:182: error: a function-definition is not allowed here before ':' token |
---|
2075 | conftest.cpp:183: error: expected primary-expression before '}' token |
---|
2076 | conftest.cpp:183: error: expected `;' before '}' token |
---|
2077 | conftest.cpp:183: error: expected primary-expression before '}' token |
---|
2078 | conftest.cpp:183: error: expected `)' before '}' token |
---|
2079 | conftest.cpp:183: error: expected primary-expression before '}' token |
---|
2080 | conftest.cpp:183: error: expected `;' before '}' token |
---|
2081 | conftest.cpp:187: error: expected primary-expression before '[' token |
---|
2082 | conftest.cpp:187: error: expected primary-expression before ']' token |
---|
2083 | conftest.cpp:187: error: expected primary-expression before 'int' |
---|
2084 | conftest.cpp:189: error: expected primary-expression before '[' token |
---|
2085 | conftest.cpp:189: error: expected primary-expression before ']' token |
---|
2086 | conftest.cpp:189: error: expected primary-expression before 'double' |
---|
2087 | conftest.cpp:191: error: expected primary-expression before '[' token |
---|
2088 | conftest.cpp:191: error: expected primary-expression before '=' token |
---|
2089 | conftest.cpp:191: error: expected primary-expression before ']' token |
---|
2090 | conftest.cpp:191: error: expected primary-expression before 'double' |
---|
2091 | conftest.cpp:196: error: 'cxx11test::sum' has not been declared |
---|
2092 | conftest.cpp:197: error: ISO C++ forbids declaration of 'a' with no type |
---|
2093 | conftest.cpp:197: error: 'sum' was not declared in this scope |
---|
2094 | conftest.cpp:198: error: ISO C++ forbids declaration of 'b' with no type |
---|
2095 | conftest.cpp:199: error: ISO C++ forbids declaration of 'c' with no type |
---|
2096 | conftest.cpp:213: error: 'nullptr' was not declared in this scope |
---|
2097 | conftest.cpp:217: error: '>>' should be '> >' within a nested template argument list |
---|
2098 | conftest.cpp:217: error: '<::' cannot begin a template-argument list |
---|
2099 | conftest.cpp:217: note: '<:' is an alternate spelling for '['. Insert whitespace between '<' and '::' |
---|
2100 | conftest.cpp:217: note: (if you use -fpermissive G++ will accept your code) |
---|
2101 | conftest.cpp:221: error: 'u8' was not declared in this scope |
---|
2102 | conftest.cpp:221: error: expected ',' or ';' before string constant |
---|
2103 | conftest.cpp:222: error: 'char16_t' was not declared in this scope |
---|
2104 | conftest.cpp:222: error: expected `;' before 'const' |
---|
2105 | conftest.cpp:223: error: 'char32_t' was not declared in this scope |
---|
2106 | conftest.cpp:223: error: expected `;' before 'const' |
---|
2107 | configure:10096: $? = 1 |
---|
2108 | configure: failed program was: |
---|
2109 | | /* confdefs.h */ |
---|
2110 | | #define PACKAGE_NAME "util-linux" |
---|
2111 | | #define PACKAGE_TARNAME "util-linux" |
---|
2112 | | #define PACKAGE_VERSION "2.40.1" |
---|
2113 | | #define PACKAGE_STRING "util-linux 2.40.1" |
---|
2114 | | #define PACKAGE_BUGREPORT "kzak@redhat.com" |
---|
2115 | | #define PACKAGE_URL "https://www.kernel.org/pub/linux/utils/util-linux/" |
---|
2116 | | #define HAVE_STDIO_H 1 |
---|
2117 | | #define HAVE_STDLIB_H 1 |
---|
2118 | | #define HAVE_STRING_H 1 |
---|
2119 | | #define HAVE_INTTYPES_H 1 |
---|
2120 | | #define HAVE_STDINT_H 1 |
---|
2121 | | #define HAVE_STRINGS_H 1 |
---|
2122 | | #define HAVE_SYS_STAT_H 1 |
---|
2123 | | #define HAVE_SYS_TYPES_H 1 |
---|
2124 | | #define HAVE_UNISTD_H 1 |
---|
2125 | | #define HAVE_WCHAR_H 1 |
---|
2126 | | #define STDC_HEADERS 1 |
---|
2127 | | #define _ALL_SOURCE 1 |
---|
2128 | | #define _DARWIN_C_SOURCE 1 |
---|
2129 | | #define _GNU_SOURCE 1 |
---|
2130 | | #define _HPUX_ALT_XOPEN_SOCKET_API 1 |
---|
2131 | | #define _NETBSD_SOURCE 1 |
---|
2132 | | #define _OPENBSD_SOURCE 1 |
---|
2133 | | #define _POSIX_PTHREAD_SEMANTICS 1 |
---|
2134 | | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 |
---|
2135 | | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 |
---|
2136 | | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 |
---|
2137 | | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 |
---|
2138 | | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 |
---|
2139 | | #define __STDC_WANT_LIB_EXT2__ 1 |
---|
2140 | | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 |
---|
2141 | | #define _TANDEM_SOURCE 1 |
---|
2142 | | #define __EXTENSIONS__ 1 |
---|
2143 | | #define PACKAGE "util-linux" |
---|
2144 | | #define VERSION "2.40.1" |
---|
2145 | | /* end confdefs.h. */ |
---|
2146 | | |
---|
2147 | | // Does the compiler advertise C++98 conformance? |
---|
2148 | | #if !defined __cplusplus || __cplusplus < 199711L |
---|
2149 | | # error "Compiler does not advertise C++98 conformance" |
---|
2150 | | #endif |
---|
2151 | | |
---|
2152 | | // These inclusions are to reject old compilers that |
---|
2153 | | // lack the unsuffixed header files. |
---|
2154 | | #include <cstdlib> |
---|
2155 | | #include <exception> |
---|
2156 | | |
---|
2157 | | // <cassert> and <cstring> are *not* freestanding headers in C++98. |
---|
2158 | | extern void assert (int); |
---|
2159 | | namespace std { |
---|
2160 | | extern int strcmp (const char *, const char *); |
---|
2161 | | } |
---|
2162 | | |
---|
2163 | | // Namespaces, exceptions, and templates were all added after "C++ 2.0". |
---|
2164 | | using std::exception; |
---|
2165 | | using std::strcmp; |
---|
2166 | | |
---|
2167 | | namespace { |
---|
2168 | | |
---|
2169 | | void test_exception_syntax() |
---|
2170 | | { |
---|
2171 | | try { |
---|
2172 | | throw "test"; |
---|
2173 | | } catch (const char *s) { |
---|
2174 | | // Extra parentheses suppress a warning when building autoconf itself, |
---|
2175 | | // due to lint rules shared with more typical C programs. |
---|
2176 | | assert (!(strcmp) (s, "test")); |
---|
2177 | | } |
---|
2178 | | } |
---|
2179 | | |
---|
2180 | | template <typename T> struct test_template |
---|
2181 | | { |
---|
2182 | | T const val; |
---|
2183 | | explicit test_template(T t) : val(t) {} |
---|
2184 | | template <typename U> T add(U u) { return static_cast<T>(u) + val; } |
---|
2185 | | }; |
---|
2186 | | |
---|
2187 | | } // anonymous namespace |
---|
2188 | | |
---|
2189 | | |
---|
2190 | | // Does the compiler advertise C++ 2011 conformance? |
---|
2191 | | #if !defined __cplusplus || __cplusplus < 201103L |
---|
2192 | | # error "Compiler does not advertise C++11 conformance" |
---|
2193 | | #endif |
---|
2194 | | |
---|
2195 | | namespace cxx11test |
---|
2196 | | { |
---|
2197 | | constexpr int get_val() { return 20; } |
---|
2198 | | |
---|
2199 | | struct testinit |
---|
2200 | | { |
---|
2201 | | int i; |
---|
2202 | | double d; |
---|
2203 | | }; |
---|
2204 | | |
---|
2205 | | class delegate |
---|
2206 | | { |
---|
2207 | | public: |
---|
2208 | | delegate(int n) : n(n) {} |
---|
2209 | | delegate(): delegate(2354) {} |
---|
2210 | | |
---|
2211 | | virtual int getval() { return this->n; }; |
---|
2212 | | protected: |
---|
2213 | | int n; |
---|
2214 | | }; |
---|
2215 | | |
---|
2216 | | class overridden : public delegate |
---|
2217 | | { |
---|
2218 | | public: |
---|
2219 | | overridden(int n): delegate(n) {} |
---|
2220 | | virtual int getval() override final { return this->n * 2; } |
---|
2221 | | }; |
---|
2222 | | |
---|
2223 | | class nocopy |
---|
2224 | | { |
---|
2225 | | public: |
---|
2226 | | nocopy(int i): i(i) {} |
---|
2227 | | nocopy() = default; |
---|
2228 | | nocopy(const nocopy&) = delete; |
---|
2229 | | nocopy & operator=(const nocopy&) = delete; |
---|
2230 | | private: |
---|
2231 | | int i; |
---|
2232 | | }; |
---|
2233 | | |
---|
2234 | | // for testing lambda expressions |
---|
2235 | | template <typename Ret, typename Fn> Ret eval(Fn f, Ret v) |
---|
2236 | | { |
---|
2237 | | return f(v); |
---|
2238 | | } |
---|
2239 | | |
---|
2240 | | // for testing variadic templates and trailing return types |
---|
2241 | | template <typename V> auto sum(V first) -> V |
---|
2242 | | { |
---|
2243 | | return first; |
---|
2244 | | } |
---|
2245 | | template <typename V, typename... Args> auto sum(V first, Args... rest) -> V |
---|
2246 | | { |
---|
2247 | | return first + sum(rest...); |
---|
2248 | | } |
---|
2249 | | } |
---|
2250 | | |
---|
2251 | | |
---|
2252 | | int |
---|
2253 | | main (int argc, char **argv) |
---|
2254 | | { |
---|
2255 | | int ok = 0; |
---|
2256 | | |
---|
2257 | | assert (argc); |
---|
2258 | | assert (! argv[0]); |
---|
2259 | | { |
---|
2260 | | test_exception_syntax (); |
---|
2261 | | test_template<double> tt (2.0); |
---|
2262 | | assert (tt.add (4) == 6.0); |
---|
2263 | | assert (true && !false); |
---|
2264 | | } |
---|
2265 | | |
---|
2266 | | |
---|
2267 | | { |
---|
2268 | | // Test auto and decltype |
---|
2269 | | auto a1 = 6538; |
---|
2270 | | auto a2 = 48573953.4; |
---|
2271 | | auto a3 = "String literal"; |
---|
2272 | | |
---|
2273 | | int total = 0; |
---|
2274 | | for (auto i = a3; *i; ++i) { total += *i; } |
---|
2275 | | |
---|
2276 | | decltype(a2) a4 = 34895.034; |
---|
2277 | | } |
---|
2278 | | { |
---|
2279 | | // Test constexpr |
---|
2280 | | short sa[cxx11test::get_val()] = { 0 }; |
---|
2281 | | } |
---|
2282 | | { |
---|
2283 | | // Test initializer lists |
---|
2284 | | cxx11test::testinit il = { 4323, 435234.23544 }; |
---|
2285 | | } |
---|
2286 | | { |
---|
2287 | | // Test range-based for |
---|
2288 | | int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3, |
---|
2289 | | 14, 19, 17, 8, 6, 20, 16, 2, 11, 1}; |
---|
2290 | | for (auto &x : array) { x += 23; } |
---|
2291 | | } |
---|
2292 | | { |
---|
2293 | | // Test lambda expressions |
---|
2294 | | using cxx11test::eval; |
---|
2295 | | assert (eval ([](int x) { return x*2; }, 21) == 42); |
---|
2296 | | double d = 2.0; |
---|
2297 | | assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0); |
---|
2298 | | assert (d == 5.0); |
---|
2299 | | assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0); |
---|
2300 | | assert (d == 5.0); |
---|
2301 | | } |
---|
2302 | | { |
---|
2303 | | // Test use of variadic templates |
---|
2304 | | using cxx11test::sum; |
---|
2305 | | auto a = sum(1); |
---|
2306 | | auto b = sum(1, 2); |
---|
2307 | | auto c = sum(1.0, 2.0, 3.0); |
---|
2308 | | } |
---|
2309 | | { |
---|
2310 | | // Test constructor delegation |
---|
2311 | | cxx11test::delegate d1; |
---|
2312 | | cxx11test::delegate d2(); |
---|
2313 | | cxx11test::delegate d3(45); |
---|
2314 | | } |
---|
2315 | | { |
---|
2316 | | // Test override and final |
---|
2317 | | cxx11test::overridden o1(55464); |
---|
2318 | | } |
---|
2319 | | { |
---|
2320 | | // Test nullptr |
---|
2321 | | char *c = nullptr; |
---|
2322 | | } |
---|
2323 | | { |
---|
2324 | | // Test template brackets |
---|
2325 | | test_template<::test_template<int>> v(test_template<int>(12)); |
---|
2326 | | } |
---|
2327 | | { |
---|
2328 | | // Unicode literals |
---|
2329 | | char const *utf8 = u8"UTF-8 string \u2500"; |
---|
2330 | | char16_t const *utf16 = u"UTF-8 string \u2500"; |
---|
2331 | | char32_t const *utf32 = U"UTF-32 string \u2500"; |
---|
2332 | | } |
---|
2333 | | |
---|
2334 | | return ok; |
---|
2335 | | } |
---|
2336 | | |
---|
2337 | configure:10096: /opt/local/bin/g++-apple-4.2 -std=gnu++11 -c -pipe -Os -arch ppc -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport conftest.cpp >&5 |
---|
2338 | cc1plus: error: unrecognized command line option "-std=gnu++11" |
---|
2339 | configure:10096: $? = 1 |
---|
2340 | configure: failed program was: |
---|
2341 | | /* confdefs.h */ |
---|
2342 | | #define PACKAGE_NAME "util-linux" |
---|
2343 | | #define PACKAGE_TARNAME "util-linux" |
---|
2344 | | #define PACKAGE_VERSION "2.40.1" |
---|
2345 | | #define PACKAGE_STRING "util-linux 2.40.1" |
---|
2346 | | #define PACKAGE_BUGREPORT "kzak@redhat.com" |
---|
2347 | | #define PACKAGE_URL "https://www.kernel.org/pub/linux/utils/util-linux/" |
---|
2348 | | #define HAVE_STDIO_H 1 |
---|
2349 | | #define HAVE_STDLIB_H 1 |
---|
2350 | | #define HAVE_STRING_H 1 |
---|
2351 | | #define HAVE_INTTYPES_H 1 |
---|
2352 | | #define HAVE_STDINT_H 1 |
---|
2353 | | #define HAVE_STRINGS_H 1 |
---|
2354 | | #define HAVE_SYS_STAT_H 1 |
---|
2355 | | #define HAVE_SYS_TYPES_H 1 |
---|
2356 | | #define HAVE_UNISTD_H 1 |
---|
2357 | | #define HAVE_WCHAR_H 1 |
---|
2358 | | #define STDC_HEADERS 1 |
---|
2359 | | #define _ALL_SOURCE 1 |
---|
2360 | | #define _DARWIN_C_SOURCE 1 |
---|
2361 | | #define _GNU_SOURCE 1 |
---|
2362 | | #define _HPUX_ALT_XOPEN_SOCKET_API 1 |
---|
2363 | | #define _NETBSD_SOURCE 1 |
---|
2364 | | #define _OPENBSD_SOURCE 1 |
---|
2365 | | #define _POSIX_PTHREAD_SEMANTICS 1 |
---|
2366 | | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 |
---|
2367 | | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 |
---|
2368 | | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 |
---|
2369 | | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 |
---|
2370 | | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 |
---|
2371 | | #define __STDC_WANT_LIB_EXT2__ 1 |
---|
2372 | | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 |
---|
2373 | | #define _TANDEM_SOURCE 1 |
---|
2374 | | #define __EXTENSIONS__ 1 |
---|
2375 | | #define PACKAGE "util-linux" |
---|
2376 | | #define VERSION "2.40.1" |
---|
2377 | | /* end confdefs.h. */ |
---|
2378 | | |
---|
2379 | | // Does the compiler advertise C++98 conformance? |
---|
2380 | | #if !defined __cplusplus || __cplusplus < 199711L |
---|
2381 | | # error "Compiler does not advertise C++98 conformance" |
---|
2382 | | #endif |
---|
2383 | | |
---|
2384 | | // These inclusions are to reject old compilers that |
---|
2385 | | // lack the unsuffixed header files. |
---|
2386 | | #include <cstdlib> |
---|
2387 | | #include <exception> |
---|
2388 | | |
---|
2389 | | // <cassert> and <cstring> are *not* freestanding headers in C++98. |
---|
2390 | | extern void assert (int); |
---|
2391 | | namespace std { |
---|
2392 | | extern int strcmp (const char *, const char *); |
---|
2393 | | } |
---|
2394 | | |
---|
2395 | | // Namespaces, exceptions, and templates were all added after "C++ 2.0". |
---|
2396 | | using std::exception; |
---|
2397 | | using std::strcmp; |
---|
2398 | | |
---|
2399 | | namespace { |
---|
2400 | | |
---|
2401 | | void test_exception_syntax() |
---|
2402 | | { |
---|
2403 | | try { |
---|
2404 | | throw "test"; |
---|
2405 | | } catch (const char *s) { |
---|
2406 | | // Extra parentheses suppress a warning when building autoconf itself, |
---|
2407 | | // due to lint rules shared with more typical C programs. |
---|
2408 | | assert (!(strcmp) (s, "test")); |
---|
2409 | | } |
---|
2410 | | } |
---|
2411 | | |
---|
2412 | | template <typename T> struct test_template |
---|
2413 | | { |
---|
2414 | | T const val; |
---|
2415 | | explicit test_template(T t) : val(t) {} |
---|
2416 | | template <typename U> T add(U u) { return static_cast<T>(u) + val; } |
---|
2417 | | }; |
---|
2418 | | |
---|
2419 | | } // anonymous namespace |
---|
2420 | | |
---|
2421 | | |
---|
2422 | | // Does the compiler advertise C++ 2011 conformance? |
---|
2423 | | #if !defined __cplusplus || __cplusplus < 201103L |
---|
2424 | | # error "Compiler does not advertise C++11 conformance" |
---|
2425 | | #endif |
---|
2426 | | |
---|
2427 | | namespace cxx11test |
---|
2428 | | { |
---|
2429 | | constexpr int get_val() { return 20; } |
---|
2430 | | |
---|
2431 | | struct testinit |
---|
2432 | | { |
---|
2433 | | int i; |
---|
2434 | | double d; |
---|
2435 | | }; |
---|
2436 | | |
---|
2437 | | class delegate |
---|
2438 | | { |
---|
2439 | | public: |
---|
2440 | | delegate(int n) : n(n) {} |
---|
2441 | | delegate(): delegate(2354) {} |
---|
2442 | | |
---|
2443 | | virtual int getval() { return this->n; }; |
---|
2444 | | protected: |
---|
2445 | | int n; |
---|
2446 | | }; |
---|
2447 | | |
---|
2448 | | class overridden : public delegate |
---|
2449 | | { |
---|
2450 | | public: |
---|
2451 | | overridden(int n): delegate(n) {} |
---|
2452 | | virtual int getval() override final { return this->n * 2; } |
---|
2453 | | }; |
---|
2454 | | |
---|
2455 | | class nocopy |
---|
2456 | | { |
---|
2457 | | public: |
---|
2458 | | nocopy(int i): i(i) {} |
---|
2459 | | nocopy() = default; |
---|
2460 | | nocopy(const nocopy&) = delete; |
---|
2461 | | nocopy & operator=(const nocopy&) = delete; |
---|
2462 | | private: |
---|
2463 | | int i; |
---|
2464 | | }; |
---|
2465 | | |
---|
2466 | | // for testing lambda expressions |
---|
2467 | | template <typename Ret, typename Fn> Ret eval(Fn f, Ret v) |
---|
2468 | | { |
---|
2469 | | return f(v); |
---|
2470 | | } |
---|
2471 | | |
---|
2472 | | // for testing variadic templates and trailing return types |
---|
2473 | | template <typename V> auto sum(V first) -> V |
---|
2474 | | { |
---|
2475 | | return first; |
---|
2476 | | } |
---|
2477 | | template <typename V, typename... Args> auto sum(V first, Args... rest) -> V |
---|
2478 | | { |
---|
2479 | | return first + sum(rest...); |
---|
2480 | | } |
---|
2481 | | } |
---|
2482 | | |
---|
2483 | | |
---|
2484 | | int |
---|
2485 | | main (int argc, char **argv) |
---|
2486 | | { |
---|
2487 | | int ok = 0; |
---|
2488 | | |
---|
2489 | | assert (argc); |
---|
2490 | | assert (! argv[0]); |
---|
2491 | | { |
---|
2492 | | test_exception_syntax (); |
---|
2493 | | test_template<double> tt (2.0); |
---|
2494 | | assert (tt.add (4) == 6.0); |
---|
2495 | | assert (true && !false); |
---|
2496 | | } |
---|
2497 | | |
---|
2498 | | |
---|
2499 | | { |
---|
2500 | | // Test auto and decltype |
---|
2501 | | auto a1 = 6538; |
---|
2502 | | auto a2 = 48573953.4; |
---|
2503 | | auto a3 = "String literal"; |
---|
2504 | | |
---|
2505 | | int total = 0; |
---|
2506 | | for (auto i = a3; *i; ++i) { total += *i; } |
---|
2507 | | |
---|
2508 | | decltype(a2) a4 = 34895.034; |
---|
2509 | | } |
---|
2510 | | { |
---|
2511 | | // Test constexpr |
---|
2512 | | short sa[cxx11test::get_val()] = { 0 }; |
---|
2513 | | } |
---|
2514 | | { |
---|
2515 | | // Test initializer lists |
---|
2516 | | cxx11test::testinit il = { 4323, 435234.23544 }; |
---|
2517 | | } |
---|
2518 | | { |
---|
2519 | | // Test range-based for |
---|
2520 | | int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3, |
---|
2521 | | 14, 19, 17, 8, 6, 20, 16, 2, 11, 1}; |
---|
2522 | | for (auto &x : array) { x += 23; } |
---|
2523 | | } |
---|
2524 | | { |
---|
2525 | | // Test lambda expressions |
---|
2526 | | using cxx11test::eval; |
---|
2527 | | assert (eval ([](int x) { return x*2; }, 21) == 42); |
---|
2528 | | double d = 2.0; |
---|
2529 | | assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0); |
---|
2530 | | assert (d == 5.0); |
---|
2531 | | assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0); |
---|
2532 | | assert (d == 5.0); |
---|
2533 | | } |
---|
2534 | | { |
---|
2535 | | // Test use of variadic templates |
---|
2536 | | using cxx11test::sum; |
---|
2537 | | auto a = sum(1); |
---|
2538 | | auto b = sum(1, 2); |
---|
2539 | | auto c = sum(1.0, 2.0, 3.0); |
---|
2540 | | } |
---|
2541 | | { |
---|
2542 | | // Test constructor delegation |
---|
2543 | | cxx11test::delegate d1; |
---|
2544 | | cxx11test::delegate d2(); |
---|
2545 | | cxx11test::delegate d3(45); |
---|
2546 | | } |
---|
2547 | | { |
---|
2548 | | // Test override and final |
---|
2549 | | cxx11test::overridden o1(55464); |
---|
2550 | | } |
---|
2551 | | { |
---|
2552 | | // Test nullptr |
---|
2553 | | char *c = nullptr; |
---|
2554 | | } |
---|
2555 | | { |
---|
2556 | | // Test template brackets |
---|
2557 | | test_template<::test_template<int>> v(test_template<int>(12)); |
---|
2558 | | } |
---|
2559 | | { |
---|
2560 | | // Unicode literals |
---|
2561 | | char const *utf8 = u8"UTF-8 string \u2500"; |
---|
2562 | | char16_t const *utf16 = u"UTF-8 string \u2500"; |
---|
2563 | | char32_t const *utf32 = U"UTF-32 string \u2500"; |
---|
2564 | | } |
---|
2565 | | |
---|
2566 | | return ok; |
---|
2567 | | } |
---|
2568 | | |
---|
2569 | configure:10096: /opt/local/bin/g++-apple-4.2 -std=gnu++0x -c -pipe -Os -arch ppc -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport conftest.cpp >&5 |
---|
2570 | cc1plus: error: unrecognized command line option "-std=gnu++0x" |
---|
2571 | configure:10096: $? = 1 |
---|
2572 | configure: failed program was: |
---|
2573 | | /* confdefs.h */ |
---|
2574 | | #define PACKAGE_NAME "util-linux" |
---|
2575 | | #define PACKAGE_TARNAME "util-linux" |
---|
2576 | | #define PACKAGE_VERSION "2.40.1" |
---|
2577 | | #define PACKAGE_STRING "util-linux 2.40.1" |
---|
2578 | | #define PACKAGE_BUGREPORT "kzak@redhat.com" |
---|
2579 | | #define PACKAGE_URL "https://www.kernel.org/pub/linux/utils/util-linux/" |
---|
2580 | | #define HAVE_STDIO_H 1 |
---|
2581 | | #define HAVE_STDLIB_H 1 |
---|
2582 | | #define HAVE_STRING_H 1 |
---|
2583 | | #define HAVE_INTTYPES_H 1 |
---|
2584 | | #define HAVE_STDINT_H 1 |
---|
2585 | | #define HAVE_STRINGS_H 1 |
---|
2586 | | #define HAVE_SYS_STAT_H 1 |
---|
2587 | | #define HAVE_SYS_TYPES_H 1 |
---|
2588 | | #define HAVE_UNISTD_H 1 |
---|
2589 | | #define HAVE_WCHAR_H 1 |
---|
2590 | | #define STDC_HEADERS 1 |
---|
2591 | | #define _ALL_SOURCE 1 |
---|
2592 | | #define _DARWIN_C_SOURCE 1 |
---|
2593 | | #define _GNU_SOURCE 1 |
---|
2594 | | #define _HPUX_ALT_XOPEN_SOCKET_API 1 |
---|
2595 | | #define _NETBSD_SOURCE 1 |
---|
2596 | | #define _OPENBSD_SOURCE 1 |
---|
2597 | | #define _POSIX_PTHREAD_SEMANTICS 1 |
---|
2598 | | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 |
---|
2599 | | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 |
---|
2600 | | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 |
---|
2601 | | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 |
---|
2602 | | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 |
---|
2603 | | #define __STDC_WANT_LIB_EXT2__ 1 |
---|
2604 | | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 |
---|
2605 | | #define _TANDEM_SOURCE 1 |
---|
2606 | | #define __EXTENSIONS__ 1 |
---|
2607 | | #define PACKAGE "util-linux" |
---|
2608 | | #define VERSION "2.40.1" |
---|
2609 | | /* end confdefs.h. */ |
---|
2610 | | |
---|
2611 | | // Does the compiler advertise C++98 conformance? |
---|
2612 | | #if !defined __cplusplus || __cplusplus < 199711L |
---|
2613 | | # error "Compiler does not advertise C++98 conformance" |
---|
2614 | | #endif |
---|
2615 | | |
---|
2616 | | // These inclusions are to reject old compilers that |
---|
2617 | | // lack the unsuffixed header files. |
---|
2618 | | #include <cstdlib> |
---|
2619 | | #include <exception> |
---|
2620 | | |
---|
2621 | | // <cassert> and <cstring> are *not* freestanding headers in C++98. |
---|
2622 | | extern void assert (int); |
---|
2623 | | namespace std { |
---|
2624 | | extern int strcmp (const char *, const char *); |
---|
2625 | | } |
---|
2626 | | |
---|
2627 | | // Namespaces, exceptions, and templates were all added after "C++ 2.0". |
---|
2628 | | using std::exception; |
---|
2629 | | using std::strcmp; |
---|
2630 | | |
---|
2631 | | namespace { |
---|
2632 | | |
---|
2633 | | void test_exception_syntax() |
---|
2634 | | { |
---|
2635 | | try { |
---|
2636 | | throw "test"; |
---|
2637 | | } catch (const char *s) { |
---|
2638 | | // Extra parentheses suppress a warning when building autoconf itself, |
---|
2639 | | // due to lint rules shared with more typical C programs. |
---|
2640 | | assert (!(strcmp) (s, "test")); |
---|
2641 | | } |
---|
2642 | | } |
---|
2643 | | |
---|
2644 | | template <typename T> struct test_template |
---|
2645 | | { |
---|
2646 | | T const val; |
---|
2647 | | explicit test_template(T t) : val(t) {} |
---|
2648 | | template <typename U> T add(U u) { return static_cast<T>(u) + val; } |
---|
2649 | | }; |
---|
2650 | | |
---|
2651 | | } // anonymous namespace |
---|
2652 | | |
---|
2653 | | |
---|
2654 | | // Does the compiler advertise C++ 2011 conformance? |
---|
2655 | | #if !defined __cplusplus || __cplusplus < 201103L |
---|
2656 | | # error "Compiler does not advertise C++11 conformance" |
---|
2657 | | #endif |
---|
2658 | | |
---|
2659 | | namespace cxx11test |
---|
2660 | | { |
---|
2661 | | constexpr int get_val() { return 20; } |
---|
2662 | | |
---|
2663 | | struct testinit |
---|
2664 | | { |
---|
2665 | | int i; |
---|
2666 | | double d; |
---|
2667 | | }; |
---|
2668 | | |
---|
2669 | | class delegate |
---|
2670 | | { |
---|
2671 | | public: |
---|
2672 | | delegate(int n) : n(n) {} |
---|
2673 | | delegate(): delegate(2354) {} |
---|
2674 | | |
---|
2675 | | virtual int getval() { return this->n; }; |
---|
2676 | | protected: |
---|
2677 | | int n; |
---|
2678 | | }; |
---|
2679 | | |
---|
2680 | | class overridden : public delegate |
---|
2681 | | { |
---|
2682 | | public: |
---|
2683 | | overridden(int n): delegate(n) {} |
---|
2684 | | virtual int getval() override final { return this->n * 2; } |
---|
2685 | | }; |
---|
2686 | | |
---|
2687 | | class nocopy |
---|
2688 | | { |
---|
2689 | | public: |
---|
2690 | | nocopy(int i): i(i) {} |
---|
2691 | | nocopy() = default; |
---|
2692 | | nocopy(const nocopy&) = delete; |
---|
2693 | | nocopy & operator=(const nocopy&) = delete; |
---|
2694 | | private: |
---|
2695 | | int i; |
---|
2696 | | }; |
---|
2697 | | |
---|
2698 | | // for testing lambda expressions |
---|
2699 | | template <typename Ret, typename Fn> Ret eval(Fn f, Ret v) |
---|
2700 | | { |
---|
2701 | | return f(v); |
---|
2702 | | } |
---|
2703 | | |
---|
2704 | | // for testing variadic templates and trailing return types |
---|
2705 | | template <typename V> auto sum(V first) -> V |
---|
2706 | | { |
---|
2707 | | return first; |
---|
2708 | | } |
---|
2709 | | template <typename V, typename... Args> auto sum(V first, Args... rest) -> V |
---|
2710 | | { |
---|
2711 | | return first + sum(rest...); |
---|
2712 | | } |
---|
2713 | | } |
---|
2714 | | |
---|
2715 | | |
---|
2716 | | int |
---|
2717 | | main (int argc, char **argv) |
---|
2718 | | { |
---|
2719 | | int ok = 0; |
---|
2720 | | |
---|
2721 | | assert (argc); |
---|
2722 | | assert (! argv[0]); |
---|
2723 | | { |
---|
2724 | | test_exception_syntax (); |
---|
2725 | | test_template<double> tt (2.0); |
---|
2726 | | assert (tt.add (4) == 6.0); |
---|
2727 | | assert (true && !false); |
---|
2728 | | } |
---|
2729 | | |
---|
2730 | | |
---|
2731 | | { |
---|
2732 | | // Test auto and decltype |
---|
2733 | | auto a1 = 6538; |
---|
2734 | | auto a2 = 48573953.4; |
---|
2735 | | auto a3 = "String literal"; |
---|
2736 | | |
---|
2737 | | int total = 0; |
---|
2738 | | for (auto i = a3; *i; ++i) { total += *i; } |
---|
2739 | | |
---|
2740 | | decltype(a2) a4 = 34895.034; |
---|
2741 | | } |
---|
2742 | | { |
---|
2743 | | // Test constexpr |
---|
2744 | | short sa[cxx11test::get_val()] = { 0 }; |
---|
2745 | | } |
---|
2746 | | { |
---|
2747 | | // Test initializer lists |
---|
2748 | | cxx11test::testinit il = { 4323, 435234.23544 }; |
---|
2749 | | } |
---|
2750 | | { |
---|
2751 | | // Test range-based for |
---|
2752 | | int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3, |
---|
2753 | | 14, 19, 17, 8, 6, 20, 16, 2, 11, 1}; |
---|
2754 | | for (auto &x : array) { x += 23; } |
---|
2755 | | } |
---|
2756 | | { |
---|
2757 | | // Test lambda expressions |
---|
2758 | | using cxx11test::eval; |
---|
2759 | | assert (eval ([](int x) { return x*2; }, 21) == 42); |
---|
2760 | | double d = 2.0; |
---|
2761 | | assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0); |
---|
2762 | | assert (d == 5.0); |
---|
2763 | | assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0); |
---|
2764 | | assert (d == 5.0); |
---|
2765 | | } |
---|
2766 | | { |
---|
2767 | | // Test use of variadic templates |
---|
2768 | | using cxx11test::sum; |
---|
2769 | | auto a = sum(1); |
---|
2770 | | auto b = sum(1, 2); |
---|
2771 | | auto c = sum(1.0, 2.0, 3.0); |
---|
2772 | | } |
---|
2773 | | { |
---|
2774 | | // Test constructor delegation |
---|
2775 | | cxx11test::delegate d1; |
---|
2776 | | cxx11test::delegate d2(); |
---|
2777 | | cxx11test::delegate d3(45); |
---|
2778 | | } |
---|
2779 | | { |
---|
2780 | | // Test override and final |
---|
2781 | | cxx11test::overridden o1(55464); |
---|
2782 | | } |
---|
2783 | | { |
---|
2784 | | // Test nullptr |
---|
2785 | | char *c = nullptr; |
---|
2786 | | } |
---|
2787 | | { |
---|
2788 | | // Test template brackets |
---|
2789 | | test_template<::test_template<int>> v(test_template<int>(12)); |
---|
2790 | | } |
---|
2791 | | { |
---|
2792 | | // Unicode literals |
---|
2793 | | char const *utf8 = u8"UTF-8 string \u2500"; |
---|
2794 | | char16_t const *utf16 = u"UTF-8 string \u2500"; |
---|
2795 | | char32_t const *utf32 = U"UTF-32 string \u2500"; |
---|
2796 | | } |
---|
2797 | | |
---|
2798 | | return ok; |
---|
2799 | | } |
---|
2800 | | |
---|
2801 | configure:10096: /opt/local/bin/g++-apple-4.2 -std=c++11 -c -pipe -Os -arch ppc -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport conftest.cpp >&5 |
---|
2802 | cc1plus: error: unrecognized command line option "-std=c++11" |
---|
2803 | configure:10096: $? = 1 |
---|
2804 | configure: failed program was: |
---|
2805 | | /* confdefs.h */ |
---|
2806 | | #define PACKAGE_NAME "util-linux" |
---|
2807 | | #define PACKAGE_TARNAME "util-linux" |
---|
2808 | | #define PACKAGE_VERSION "2.40.1" |
---|
2809 | | #define PACKAGE_STRING "util-linux 2.40.1" |
---|
2810 | | #define PACKAGE_BUGREPORT "kzak@redhat.com" |
---|
2811 | | #define PACKAGE_URL "https://www.kernel.org/pub/linux/utils/util-linux/" |
---|
2812 | | #define HAVE_STDIO_H 1 |
---|
2813 | | #define HAVE_STDLIB_H 1 |
---|
2814 | | #define HAVE_STRING_H 1 |
---|
2815 | | #define HAVE_INTTYPES_H 1 |
---|
2816 | | #define HAVE_STDINT_H 1 |
---|
2817 | | #define HAVE_STRINGS_H 1 |
---|
2818 | | #define HAVE_SYS_STAT_H 1 |
---|
2819 | | #define HAVE_SYS_TYPES_H 1 |
---|
2820 | | #define HAVE_UNISTD_H 1 |
---|
2821 | | #define HAVE_WCHAR_H 1 |
---|
2822 | | #define STDC_HEADERS 1 |
---|
2823 | | #define _ALL_SOURCE 1 |
---|
2824 | | #define _DARWIN_C_SOURCE 1 |
---|
2825 | | #define _GNU_SOURCE 1 |
---|
2826 | | #define _HPUX_ALT_XOPEN_SOCKET_API 1 |
---|
2827 | | #define _NETBSD_SOURCE 1 |
---|
2828 | | #define _OPENBSD_SOURCE 1 |
---|
2829 | | #define _POSIX_PTHREAD_SEMANTICS 1 |
---|
2830 | | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 |
---|
2831 | | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 |
---|
2832 | | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 |
---|
2833 | | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 |
---|
2834 | | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 |
---|
2835 | | #define __STDC_WANT_LIB_EXT2__ 1 |
---|
2836 | | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 |
---|
2837 | | #define _TANDEM_SOURCE 1 |
---|
2838 | | #define __EXTENSIONS__ 1 |
---|
2839 | | #define PACKAGE "util-linux" |
---|
2840 | | #define VERSION "2.40.1" |
---|
2841 | | /* end confdefs.h. */ |
---|
2842 | | |
---|
2843 | | // Does the compiler advertise C++98 conformance? |
---|
2844 | | #if !defined __cplusplus || __cplusplus < 199711L |
---|
2845 | | # error "Compiler does not advertise C++98 conformance" |
---|
2846 | | #endif |
---|
2847 | | |
---|
2848 | | // These inclusions are to reject old compilers that |
---|
2849 | | // lack the unsuffixed header files. |
---|
2850 | | #include <cstdlib> |
---|
2851 | | #include <exception> |
---|
2852 | | |
---|
2853 | | // <cassert> and <cstring> are *not* freestanding headers in C++98. |
---|
2854 | | extern void assert (int); |
---|
2855 | | namespace std { |
---|
2856 | | extern int strcmp (const char *, const char *); |
---|
2857 | | } |
---|
2858 | | |
---|
2859 | | // Namespaces, exceptions, and templates were all added after "C++ 2.0". |
---|
2860 | | using std::exception; |
---|
2861 | | using std::strcmp; |
---|
2862 | | |
---|
2863 | | namespace { |
---|
2864 | | |
---|
2865 | | void test_exception_syntax() |
---|
2866 | | { |
---|
2867 | | try { |
---|
2868 | | throw "test"; |
---|
2869 | | } catch (const char *s) { |
---|
2870 | | // Extra parentheses suppress a warning when building autoconf itself, |
---|
2871 | | // due to lint rules shared with more typical C programs. |
---|
2872 | | assert (!(strcmp) (s, "test")); |
---|
2873 | | } |
---|
2874 | | } |
---|
2875 | | |
---|
2876 | | template <typename T> struct test_template |
---|
2877 | | { |
---|
2878 | | T const val; |
---|
2879 | | explicit test_template(T t) : val(t) {} |
---|
2880 | | template <typename U> T add(U u) { return static_cast<T>(u) + val; } |
---|
2881 | | }; |
---|
2882 | | |
---|
2883 | | } // anonymous namespace |
---|
2884 | | |
---|
2885 | | |
---|
2886 | | // Does the compiler advertise C++ 2011 conformance? |
---|
2887 | | #if !defined __cplusplus || __cplusplus < 201103L |
---|
2888 | | # error "Compiler does not advertise C++11 conformance" |
---|
2889 | | #endif |
---|
2890 | | |
---|
2891 | | namespace cxx11test |
---|
2892 | | { |
---|
2893 | | constexpr int get_val() { return 20; } |
---|
2894 | | |
---|
2895 | | struct testinit |
---|
2896 | | { |
---|
2897 | | int i; |
---|
2898 | | double d; |
---|
2899 | | }; |
---|
2900 | | |
---|
2901 | | class delegate |
---|
2902 | | { |
---|
2903 | | public: |
---|
2904 | | delegate(int n) : n(n) {} |
---|
2905 | | delegate(): delegate(2354) {} |
---|
2906 | | |
---|
2907 | | virtual int getval() { return this->n; }; |
---|
2908 | | protected: |
---|
2909 | | int n; |
---|
2910 | | }; |
---|
2911 | | |
---|
2912 | | class overridden : public delegate |
---|
2913 | | { |
---|
2914 | | public: |
---|
2915 | | overridden(int n): delegate(n) {} |
---|
2916 | | virtual int getval() override final { return this->n * 2; } |
---|
2917 | | }; |
---|
2918 | | |
---|
2919 | | class nocopy |
---|
2920 | | { |
---|
2921 | | public: |
---|
2922 | | nocopy(int i): i(i) {} |
---|
2923 | | nocopy() = default; |
---|
2924 | | nocopy(const nocopy&) = delete; |
---|
2925 | | nocopy & operator=(const nocopy&) = delete; |
---|
2926 | | private: |
---|
2927 | | int i; |
---|
2928 | | }; |
---|
2929 | | |
---|
2930 | | // for testing lambda expressions |
---|
2931 | | template <typename Ret, typename Fn> Ret eval(Fn f, Ret v) |
---|
2932 | | { |
---|
2933 | | return f(v); |
---|
2934 | | } |
---|
2935 | | |
---|
2936 | | // for testing variadic templates and trailing return types |
---|
2937 | | template <typename V> auto sum(V first) -> V |
---|
2938 | | { |
---|
2939 | | return first; |
---|
2940 | | } |
---|
2941 | | template <typename V, typename... Args> auto sum(V first, Args... rest) -> V |
---|
2942 | | { |
---|
2943 | | return first + sum(rest...); |
---|
2944 | | } |
---|
2945 | | } |
---|
2946 | | |
---|
2947 | | |
---|
2948 | | int |
---|
2949 | | main (int argc, char **argv) |
---|
2950 | | { |
---|
2951 | | int ok = 0; |
---|
2952 | | |
---|
2953 | | assert (argc); |
---|
2954 | | assert (! argv[0]); |
---|
2955 | | { |
---|
2956 | | test_exception_syntax (); |
---|
2957 | | test_template<double> tt (2.0); |
---|
2958 | | assert (tt.add (4) == 6.0); |
---|
2959 | | assert (true && !false); |
---|
2960 | | } |
---|
2961 | | |
---|
2962 | | |
---|
2963 | | { |
---|
2964 | | // Test auto and decltype |
---|
2965 | | auto a1 = 6538; |
---|
2966 | | auto a2 = 48573953.4; |
---|
2967 | | auto a3 = "String literal"; |
---|
2968 | | |
---|
2969 | | int total = 0; |
---|
2970 | | for (auto i = a3; *i; ++i) { total += *i; } |
---|
2971 | | |
---|
2972 | | decltype(a2) a4 = 34895.034; |
---|
2973 | | } |
---|
2974 | | { |
---|
2975 | | // Test constexpr |
---|
2976 | | short sa[cxx11test::get_val()] = { 0 }; |
---|
2977 | | } |
---|
2978 | | { |
---|
2979 | | // Test initializer lists |
---|
2980 | | cxx11test::testinit il = { 4323, 435234.23544 }; |
---|
2981 | | } |
---|
2982 | | { |
---|
2983 | | // Test range-based for |
---|
2984 | | int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3, |
---|
2985 | | 14, 19, 17, 8, 6, 20, 16, 2, 11, 1}; |
---|
2986 | | for (auto &x : array) { x += 23; } |
---|
2987 | | } |
---|
2988 | | { |
---|
2989 | | // Test lambda expressions |
---|
2990 | | using cxx11test::eval; |
---|
2991 | | assert (eval ([](int x) { return x*2; }, 21) == 42); |
---|
2992 | | double d = 2.0; |
---|
2993 | | assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0); |
---|
2994 | | assert (d == 5.0); |
---|
2995 | | assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0); |
---|
2996 | | assert (d == 5.0); |
---|
2997 | | } |
---|
2998 | | { |
---|
2999 | | // Test use of variadic templates |
---|
3000 | | using cxx11test::sum; |
---|
3001 | | auto a = sum(1); |
---|
3002 | | auto b = sum(1, 2); |
---|
3003 | | auto c = sum(1.0, 2.0, 3.0); |
---|
3004 | | } |
---|
3005 | | { |
---|
3006 | | // Test constructor delegation |
---|
3007 | | cxx11test::delegate d1; |
---|
3008 | | cxx11test::delegate d2(); |
---|
3009 | | cxx11test::delegate d3(45); |
---|
3010 | | } |
---|
3011 | | { |
---|
3012 | | // Test override and final |
---|
3013 | | cxx11test::overridden o1(55464); |
---|
3014 | | } |
---|
3015 | | { |
---|
3016 | | // Test nullptr |
---|
3017 | | char *c = nullptr; |
---|
3018 | | } |
---|
3019 | | { |
---|
3020 | | // Test template brackets |
---|
3021 | | test_template<::test_template<int>> v(test_template<int>(12)); |
---|
3022 | | } |
---|
3023 | | { |
---|
3024 | | // Unicode literals |
---|
3025 | | char const *utf8 = u8"UTF-8 string \u2500"; |
---|
3026 | | char16_t const *utf16 = u"UTF-8 string \u2500"; |
---|
3027 | | char32_t const *utf32 = U"UTF-32 string \u2500"; |
---|
3028 | | } |
---|
3029 | | |
---|
3030 | | return ok; |
---|
3031 | | } |
---|
3032 | | |
---|
3033 | configure:10096: /opt/local/bin/g++-apple-4.2 -std=c++0x -c -pipe -Os -arch ppc -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport conftest.cpp >&5 |
---|
3034 | cc1plus: error: unrecognized command line option "-std=c++0x" |
---|
3035 | configure:10096: $? = 1 |
---|
3036 | configure: failed program was: |
---|
3037 | | /* confdefs.h */ |
---|
3038 | | #define PACKAGE_NAME "util-linux" |
---|
3039 | | #define PACKAGE_TARNAME "util-linux" |
---|
3040 | | #define PACKAGE_VERSION "2.40.1" |
---|
3041 | | #define PACKAGE_STRING "util-linux 2.40.1" |
---|
3042 | | #define PACKAGE_BUGREPORT "kzak@redhat.com" |
---|
3043 | | #define PACKAGE_URL "https://www.kernel.org/pub/linux/utils/util-linux/" |
---|
3044 | | #define HAVE_STDIO_H 1 |
---|
3045 | | #define HAVE_STDLIB_H 1 |
---|
3046 | | #define HAVE_STRING_H 1 |
---|
3047 | | #define HAVE_INTTYPES_H 1 |
---|
3048 | | #define HAVE_STDINT_H 1 |
---|
3049 | | #define HAVE_STRINGS_H 1 |
---|
3050 | | #define HAVE_SYS_STAT_H 1 |
---|
3051 | | #define HAVE_SYS_TYPES_H 1 |
---|
3052 | | #define HAVE_UNISTD_H 1 |
---|
3053 | | #define HAVE_WCHAR_H 1 |
---|
3054 | | #define STDC_HEADERS 1 |
---|
3055 | | #define _ALL_SOURCE 1 |
---|
3056 | | #define _DARWIN_C_SOURCE 1 |
---|
3057 | | #define _GNU_SOURCE 1 |
---|
3058 | | #define _HPUX_ALT_XOPEN_SOCKET_API 1 |
---|
3059 | | #define _NETBSD_SOURCE 1 |
---|
3060 | | #define _OPENBSD_SOURCE 1 |
---|
3061 | | #define _POSIX_PTHREAD_SEMANTICS 1 |
---|
3062 | | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 |
---|
3063 | | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 |
---|
3064 | | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 |
---|
3065 | | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 |
---|
3066 | | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 |
---|
3067 | | #define __STDC_WANT_LIB_EXT2__ 1 |
---|
3068 | | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 |
---|
3069 | | #define _TANDEM_SOURCE 1 |
---|
3070 | | #define __EXTENSIONS__ 1 |
---|
3071 | | #define PACKAGE "util-linux" |
---|
3072 | | #define VERSION "2.40.1" |
---|
3073 | | /* end confdefs.h. */ |
---|
3074 | | |
---|
3075 | | // Does the compiler advertise C++98 conformance? |
---|
3076 | | #if !defined __cplusplus || __cplusplus < 199711L |
---|
3077 | | # error "Compiler does not advertise C++98 conformance" |
---|
3078 | | #endif |
---|
3079 | | |
---|
3080 | | // These inclusions are to reject old compilers that |
---|
3081 | | // lack the unsuffixed header files. |
---|
3082 | | #include <cstdlib> |
---|
3083 | | #include <exception> |
---|
3084 | | |
---|
3085 | | // <cassert> and <cstring> are *not* freestanding headers in C++98. |
---|
3086 | | extern void assert (int); |
---|
3087 | | namespace std { |
---|
3088 | | extern int strcmp (const char *, const char *); |
---|
3089 | | } |
---|
3090 | | |
---|
3091 | | // Namespaces, exceptions, and templates were all added after "C++ 2.0". |
---|
3092 | | using std::exception; |
---|
3093 | | using std::strcmp; |
---|
3094 | | |
---|
3095 | | namespace { |
---|
3096 | | |
---|
3097 | | void test_exception_syntax() |
---|
3098 | | { |
---|
3099 | | try { |
---|
3100 | | throw "test"; |
---|
3101 | | } catch (const char *s) { |
---|
3102 | | // Extra parentheses suppress a warning when building autoconf itself, |
---|
3103 | | // due to lint rules shared with more typical C programs. |
---|
3104 | | assert (!(strcmp) (s, "test")); |
---|
3105 | | } |
---|
3106 | | } |
---|
3107 | | |
---|
3108 | | template <typename T> struct test_template |
---|
3109 | | { |
---|
3110 | | T const val; |
---|
3111 | | explicit test_template(T t) : val(t) {} |
---|
3112 | | template <typename U> T add(U u) { return static_cast<T>(u) + val; } |
---|
3113 | | }; |
---|
3114 | | |
---|
3115 | | } // anonymous namespace |
---|
3116 | | |
---|
3117 | | |
---|
3118 | | // Does the compiler advertise C++ 2011 conformance? |
---|
3119 | | #if !defined __cplusplus || __cplusplus < 201103L |
---|
3120 | | # error "Compiler does not advertise C++11 conformance" |
---|
3121 | | #endif |
---|
3122 | | |
---|
3123 | | namespace cxx11test |
---|
3124 | | { |
---|
3125 | | constexpr int get_val() { return 20; } |
---|
3126 | | |
---|
3127 | | struct testinit |
---|
3128 | | { |
---|
3129 | | int i; |
---|
3130 | | double d; |
---|
3131 | | }; |
---|
3132 | | |
---|
3133 | | class delegate |
---|
3134 | | { |
---|
3135 | | public: |
---|
3136 | | delegate(int n) : n(n) {} |
---|
3137 | | delegate(): delegate(2354) {} |
---|
3138 | | |
---|
3139 | | virtual int getval() { return this->n; }; |
---|
3140 | | protected: |
---|
3141 | | int n; |
---|
3142 | | }; |
---|
3143 | | |
---|
3144 | | class overridden : public delegate |
---|
3145 | | { |
---|
3146 | | public: |
---|
3147 | | overridden(int n): delegate(n) {} |
---|
3148 | | virtual int getval() override final { return this->n * 2; } |
---|
3149 | | }; |
---|
3150 | | |
---|
3151 | | class nocopy |
---|
3152 | | { |
---|
3153 | | public: |
---|
3154 | | nocopy(int i): i(i) {} |
---|
3155 | | nocopy() = default; |
---|
3156 | | nocopy(const nocopy&) = delete; |
---|
3157 | | nocopy & operator=(const nocopy&) = delete; |
---|
3158 | | private: |
---|
3159 | | int i; |
---|
3160 | | }; |
---|
3161 | | |
---|
3162 | | // for testing lambda expressions |
---|
3163 | | template <typename Ret, typename Fn> Ret eval(Fn f, Ret v) |
---|
3164 | | { |
---|
3165 | | return f(v); |
---|
3166 | | } |
---|
3167 | | |
---|
3168 | | // for testing variadic templates and trailing return types |
---|
3169 | | template <typename V> auto sum(V first) -> V |
---|
3170 | | { |
---|
3171 | | return first; |
---|
3172 | | } |
---|
3173 | | template <typename V, typename... Args> auto sum(V first, Args... rest) -> V |
---|
3174 | | { |
---|
3175 | | return first + sum(rest...); |
---|
3176 | | } |
---|
3177 | | } |
---|
3178 | | |
---|
3179 | | |
---|
3180 | | int |
---|
3181 | | main (int argc, char **argv) |
---|
3182 | | { |
---|
3183 | | int ok = 0; |
---|
3184 | | |
---|
3185 | | assert (argc); |
---|
3186 | | assert (! argv[0]); |
---|
3187 | | { |
---|
3188 | | test_exception_syntax (); |
---|
3189 | | test_template<double> tt (2.0); |
---|
3190 | | assert (tt.add (4) == 6.0); |
---|
3191 | | assert (true && !false); |
---|
3192 | | } |
---|
3193 | | |
---|
3194 | | |
---|
3195 | | { |
---|
3196 | | // Test auto and decltype |
---|
3197 | | auto a1 = 6538; |
---|
3198 | | auto a2 = 48573953.4; |
---|
3199 | | auto a3 = "String literal"; |
---|
3200 | | |
---|
3201 | | int total = 0; |
---|
3202 | | for (auto i = a3; *i; ++i) { total += *i; } |
---|
3203 | | |
---|
3204 | | decltype(a2) a4 = 34895.034; |
---|
3205 | | } |
---|
3206 | | { |
---|
3207 | | // Test constexpr |
---|
3208 | | short sa[cxx11test::get_val()] = { 0 }; |
---|
3209 | | } |
---|
3210 | | { |
---|
3211 | | // Test initializer lists |
---|
3212 | | cxx11test::testinit il = { 4323, 435234.23544 }; |
---|
3213 | | } |
---|
3214 | | { |
---|
3215 | | // Test range-based for |
---|
3216 | | int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3, |
---|
3217 | | 14, 19, 17, 8, 6, 20, 16, 2, 11, 1}; |
---|
3218 | | for (auto &x : array) { x += 23; } |
---|
3219 | | } |
---|
3220 | | { |
---|
3221 | | // Test lambda expressions |
---|
3222 | | using cxx11test::eval; |
---|
3223 | | assert (eval ([](int x) { return x*2; }, 21) == 42); |
---|
3224 | | double d = 2.0; |
---|
3225 | | assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0); |
---|
3226 | | assert (d == 5.0); |
---|
3227 | | assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0); |
---|
3228 | | assert (d == 5.0); |
---|
3229 | | } |
---|
3230 | | { |
---|
3231 | | // Test use of variadic templates |
---|
3232 | | using cxx11test::sum; |
---|
3233 | | auto a = sum(1); |
---|
3234 | | auto b = sum(1, 2); |
---|
3235 | | auto c = sum(1.0, 2.0, 3.0); |
---|
3236 | | } |
---|
3237 | | { |
---|
3238 | | // Test constructor delegation |
---|
3239 | | cxx11test::delegate d1; |
---|
3240 | | cxx11test::delegate d2(); |
---|
3241 | | cxx11test::delegate d3(45); |
---|
3242 | | } |
---|
3243 | | { |
---|
3244 | | // Test override and final |
---|
3245 | | cxx11test::overridden o1(55464); |
---|
3246 | | } |
---|
3247 | | { |
---|
3248 | | // Test nullptr |
---|
3249 | | char *c = nullptr; |
---|
3250 | | } |
---|
3251 | | { |
---|
3252 | | // Test template brackets |
---|
3253 | | test_template<::test_template<int>> v(test_template<int>(12)); |
---|
3254 | | } |
---|
3255 | | { |
---|
3256 | | // Unicode literals |
---|
3257 | | char const *utf8 = u8"UTF-8 string \u2500"; |
---|
3258 | | char16_t const *utf16 = u"UTF-8 string \u2500"; |
---|
3259 | | char32_t const *utf32 = U"UTF-32 string \u2500"; |
---|
3260 | | } |
---|
3261 | | |
---|
3262 | | return ok; |
---|
3263 | | } |
---|
3264 | | |
---|
3265 | configure:10096: /opt/local/bin/g++-apple-4.2 -qlanglvl=extended0x -c -pipe -Os -arch ppc -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport conftest.cpp >&5 |
---|
3266 | conftest.cpp:41:3: error: #error "Compiler does not advertise C++98 conformance" |
---|
3267 | conftest.cpp:84:3: error: #error "Compiler does not advertise C++11 conformance" |
---|
3268 | conftest.cpp:89: error: expected constructor, destructor, or type conversion before 'int' |
---|
3269 | conftest.cpp: In constructor 'cxx11test::delegate::delegate()': |
---|
3270 | conftest.cpp:101: error: type 'cxx11test::delegate' is not a direct base of 'cxx11test::delegate' |
---|
3271 | conftest.cpp: At global scope: |
---|
3272 | conftest.cpp:112: error: expected ';' before 'override' |
---|
3273 | conftest.cpp:113: error: expected `;' before '}' token |
---|
3274 | conftest.cpp:119: error: invalid pure specifier (only `= 0' is allowed) before ';' token |
---|
3275 | conftest.cpp:120: error: invalid pure specifier (only `= 0' is allowed) before ';' token |
---|
3276 | conftest.cpp:121: error: invalid pure specifier (only `= 0' is allowed) before ';' token |
---|
3277 | conftest.cpp:119: error: initializer specified for non-virtual method 'cxx11test::nocopy::nocopy()' |
---|
3278 | conftest.cpp:120: error: initializer specified for non-virtual method 'cxx11test::nocopy::nocopy(const cxx11test::nocopy&)' |
---|
3279 | conftest.cpp:121: error: initializer specified for non-virtual method 'cxx11test::nocopy& cxx11test::nocopy::operator=(const cxx11test::nocopy&)' |
---|
3280 | conftest.cpp:133: error: expected initializer before '->' token |
---|
3281 | conftest.cpp:137: error: expected nested-name-specifier before '...' token |
---|
3282 | conftest.cpp:137: error: expected '>' before '...' token |
---|
3283 | conftest.cpp:137: error: 'Args' has not been declared |
---|
3284 | conftest.cpp:137: error: expected `)' before 'rest' |
---|
3285 | conftest.cpp:137: error: expected initializer before 'rest' |
---|
3286 | conftest.cpp: In function 'int main(int, char**)': |
---|
3287 | conftest.cpp:161: error: ISO C++ forbids declaration of 'a1' with no type |
---|
3288 | conftest.cpp:162: error: ISO C++ forbids declaration of 'a2' with no type |
---|
3289 | conftest.cpp:163: error: ISO C++ forbids declaration of 'a3' with no type |
---|
3290 | conftest.cpp:163: error: invalid conversion from 'const char*' to 'int' |
---|
3291 | conftest.cpp:166: error: ISO C++ forbids declaration of 'i' with no type |
---|
3292 | conftest.cpp:166: error: invalid type argument of 'unary *' |
---|
3293 | conftest.cpp:166: error: invalid type argument of 'unary *' |
---|
3294 | conftest.cpp:168: error: 'decltype' was not declared in this scope |
---|
3295 | conftest.cpp:168: error: expected `;' before 'a4' |
---|
3296 | conftest.cpp:172: error: 'get_val' is not a member of 'cxx11test' |
---|
3297 | conftest.cpp:182: error: a function-definition is not allowed here before ':' token |
---|
3298 | conftest.cpp:183: error: expected primary-expression before '}' token |
---|
3299 | conftest.cpp:183: error: expected `;' before '}' token |
---|
3300 | conftest.cpp:183: error: expected primary-expression before '}' token |
---|
3301 | conftest.cpp:183: error: expected `)' before '}' token |
---|
3302 | conftest.cpp:183: error: expected primary-expression before '}' token |
---|
3303 | conftest.cpp:183: error: expected `;' before '}' token |
---|
3304 | conftest.cpp:187: error: expected primary-expression before '[' token |
---|
3305 | conftest.cpp:187: error: expected primary-expression before ']' token |
---|
3306 | conftest.cpp:187: error: expected primary-expression before 'int' |
---|
3307 | conftest.cpp:189: error: expected primary-expression before '[' token |
---|
3308 | conftest.cpp:189: error: expected primary-expression before ']' token |
---|
3309 | conftest.cpp:189: error: expected primary-expression before 'double' |
---|
3310 | conftest.cpp:191: error: expected primary-expression before '[' token |
---|
3311 | conftest.cpp:191: error: expected primary-expression before '=' token |
---|
3312 | conftest.cpp:191: error: expected primary-expression before ']' token |
---|
3313 | conftest.cpp:191: error: expected primary-expression before 'double' |
---|
3314 | conftest.cpp:196: error: 'cxx11test::sum' has not been declared |
---|
3315 | conftest.cpp:197: error: ISO C++ forbids declaration of 'a' with no type |
---|
3316 | conftest.cpp:197: error: 'sum' was not declared in this scope |
---|
3317 | conftest.cpp:198: error: ISO C++ forbids declaration of 'b' with no type |
---|
3318 | conftest.cpp:199: error: ISO C++ forbids declaration of 'c' with no type |
---|
3319 | conftest.cpp:213: error: 'nullptr' was not declared in this scope |
---|
3320 | conftest.cpp:217: error: '>>' should be '> >' within a nested template argument list |
---|
3321 | conftest.cpp:217: error: '<::' cannot begin a template-argument list |
---|
3322 | conftest.cpp:217: note: '<:' is an alternate spelling for '['. Insert whitespace between '<' and '::' |
---|
3323 | conftest.cpp:217: note: (if you use -fpermissive G++ will accept your code) |
---|
3324 | conftest.cpp:221: error: 'u8' was not declared in this scope |
---|
3325 | conftest.cpp:221: error: expected ',' or ';' before string constant |
---|
3326 | conftest.cpp:222: error: 'char16_t' was not declared in this scope |
---|
3327 | conftest.cpp:222: error: expected `;' before 'const' |
---|
3328 | conftest.cpp:223: error: 'char32_t' was not declared in this scope |
---|
3329 | conftest.cpp:223: error: expected `;' before 'const' |
---|
3330 | configure:10096: $? = 1 |
---|
3331 | configure: failed program was: |
---|
3332 | | /* confdefs.h */ |
---|
3333 | | #define PACKAGE_NAME "util-linux" |
---|
3334 | | #define PACKAGE_TARNAME "util-linux" |
---|
3335 | | #define PACKAGE_VERSION "2.40.1" |
---|
3336 | | #define PACKAGE_STRING "util-linux 2.40.1" |
---|
3337 | | #define PACKAGE_BUGREPORT "kzak@redhat.com" |
---|
3338 | | #define PACKAGE_URL "https://www.kernel.org/pub/linux/utils/util-linux/" |
---|
3339 | | #define HAVE_STDIO_H 1 |
---|
3340 | | #define HAVE_STDLIB_H 1 |
---|
3341 | | #define HAVE_STRING_H 1 |
---|
3342 | | #define HAVE_INTTYPES_H 1 |
---|
3343 | | #define HAVE_STDINT_H 1 |
---|
3344 | | #define HAVE_STRINGS_H 1 |
---|
3345 | | #define HAVE_SYS_STAT_H 1 |
---|
3346 | | #define HAVE_SYS_TYPES_H 1 |
---|
3347 | | #define HAVE_UNISTD_H 1 |
---|
3348 | | #define HAVE_WCHAR_H 1 |
---|
3349 | | #define STDC_HEADERS 1 |
---|
3350 | | #define _ALL_SOURCE 1 |
---|
3351 | | #define _DARWIN_C_SOURCE 1 |
---|
3352 | | #define _GNU_SOURCE 1 |
---|
3353 | | #define _HPUX_ALT_XOPEN_SOCKET_API 1 |
---|
3354 | | #define _NETBSD_SOURCE 1 |
---|
3355 | | #define _OPENBSD_SOURCE 1 |
---|
3356 | | #define _POSIX_PTHREAD_SEMANTICS 1 |
---|
3357 | | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 |
---|
3358 | | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 |
---|
3359 | | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 |
---|
3360 | | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 |
---|
3361 | | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 |
---|
3362 | | #define __STDC_WANT_LIB_EXT2__ 1 |
---|
3363 | | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 |
---|
3364 | | #define _TANDEM_SOURCE 1 |
---|
3365 | | #define __EXTENSIONS__ 1 |
---|
3366 | | #define PACKAGE "util-linux" |
---|
3367 | | #define VERSION "2.40.1" |
---|
3368 | | /* end confdefs.h. */ |
---|
3369 | | |
---|
3370 | | // Does the compiler advertise C++98 conformance? |
---|
3371 | | #if !defined __cplusplus || __cplusplus < 199711L |
---|
3372 | | # error "Compiler does not advertise C++98 conformance" |
---|
3373 | | #endif |
---|
3374 | | |
---|
3375 | | // These inclusions are to reject old compilers that |
---|
3376 | | // lack the unsuffixed header files. |
---|
3377 | | #include <cstdlib> |
---|
3378 | | #include <exception> |
---|
3379 | | |
---|
3380 | | // <cassert> and <cstring> are *not* freestanding headers in C++98. |
---|
3381 | | extern void assert (int); |
---|
3382 | | namespace std { |
---|
3383 | | extern int strcmp (const char *, const char *); |
---|
3384 | | } |
---|
3385 | | |
---|
3386 | | // Namespaces, exceptions, and templates were all added after "C++ 2.0". |
---|
3387 | | using std::exception; |
---|
3388 | | using std::strcmp; |
---|
3389 | | |
---|
3390 | | namespace { |
---|
3391 | | |
---|
3392 | | void test_exception_syntax() |
---|
3393 | | { |
---|
3394 | | try { |
---|
3395 | | throw "test"; |
---|
3396 | | } catch (const char *s) { |
---|
3397 | | // Extra parentheses suppress a warning when building autoconf itself, |
---|
3398 | | // due to lint rules shared with more typical C programs. |
---|
3399 | | assert (!(strcmp) (s, "test")); |
---|
3400 | | } |
---|
3401 | | } |
---|
3402 | | |
---|
3403 | | template <typename T> struct test_template |
---|
3404 | | { |
---|
3405 | | T const val; |
---|
3406 | | explicit test_template(T t) : val(t) {} |
---|
3407 | | template <typename U> T add(U u) { return static_cast<T>(u) + val; } |
---|
3408 | | }; |
---|
3409 | | |
---|
3410 | | } // anonymous namespace |
---|
3411 | | |
---|
3412 | | |
---|
3413 | | // Does the compiler advertise C++ 2011 conformance? |
---|
3414 | | #if !defined __cplusplus || __cplusplus < 201103L |
---|
3415 | | # error "Compiler does not advertise C++11 conformance" |
---|
3416 | | #endif |
---|
3417 | | |
---|
3418 | | namespace cxx11test |
---|
3419 | | { |
---|
3420 | | constexpr int get_val() { return 20; } |
---|
3421 | | |
---|
3422 | | struct testinit |
---|
3423 | | { |
---|
3424 | | int i; |
---|
3425 | | double d; |
---|
3426 | | }; |
---|
3427 | | |
---|
3428 | | class delegate |
---|
3429 | | { |
---|
3430 | | public: |
---|
3431 | | delegate(int n) : n(n) {} |
---|
3432 | | delegate(): delegate(2354) {} |
---|
3433 | | |
---|
3434 | | virtual int getval() { return this->n; }; |
---|
3435 | | protected: |
---|
3436 | | int n; |
---|
3437 | | }; |
---|
3438 | | |
---|
3439 | | class overridden : public delegate |
---|
3440 | | { |
---|
3441 | | public: |
---|
3442 | | overridden(int n): delegate(n) {} |
---|
3443 | | virtual int getval() override final { return this->n * 2; } |
---|
3444 | | }; |
---|
3445 | | |
---|
3446 | | class nocopy |
---|
3447 | | { |
---|
3448 | | public: |
---|
3449 | | nocopy(int i): i(i) {} |
---|
3450 | | nocopy() = default; |
---|
3451 | | nocopy(const nocopy&) = delete; |
---|
3452 | | nocopy & operator=(const nocopy&) = delete; |
---|
3453 | | private: |
---|
3454 | | int i; |
---|
3455 | | }; |
---|
3456 | | |
---|
3457 | | // for testing lambda expressions |
---|
3458 | | template <typename Ret, typename Fn> Ret eval(Fn f, Ret v) |
---|
3459 | | { |
---|
3460 | | return f(v); |
---|
3461 | | } |
---|
3462 | | |
---|
3463 | | // for testing variadic templates and trailing return types |
---|
3464 | | template <typename V> auto sum(V first) -> V |
---|
3465 | | { |
---|
3466 | | return first; |
---|
3467 | | } |
---|
3468 | | template <typename V, typename... Args> auto sum(V first, Args... rest) -> V |
---|
3469 | | { |
---|
3470 | | return first + sum(rest...); |
---|
3471 | | } |
---|
3472 | | } |
---|
3473 | | |
---|
3474 | | |
---|
3475 | | int |
---|
3476 | | main (int argc, char **argv) |
---|
3477 | | { |
---|
3478 | | int ok = 0; |
---|
3479 | | |
---|
3480 | | assert (argc); |
---|
3481 | | assert (! argv[0]); |
---|
3482 | | { |
---|
3483 | | test_exception_syntax (); |
---|
3484 | | test_template<double> tt (2.0); |
---|
3485 | | assert (tt.add (4) == 6.0); |
---|
3486 | | assert (true && !false); |
---|
3487 | | } |
---|
3488 | | |
---|
3489 | | |
---|
3490 | | { |
---|
3491 | | // Test auto and decltype |
---|
3492 | | auto a1 = 6538; |
---|
3493 | | auto a2 = 48573953.4; |
---|
3494 | | auto a3 = "String literal"; |
---|
3495 | | |
---|
3496 | | int total = 0; |
---|
3497 | | for (auto i = a3; *i; ++i) { total += *i; } |
---|
3498 | | |
---|
3499 | | decltype(a2) a4 = 34895.034; |
---|
3500 | | } |
---|
3501 | | { |
---|
3502 | | // Test constexpr |
---|
3503 | | short sa[cxx11test::get_val()] = { 0 }; |
---|
3504 | | } |
---|
3505 | | { |
---|
3506 | | // Test initializer lists |
---|
3507 | | cxx11test::testinit il = { 4323, 435234.23544 }; |
---|
3508 | | } |
---|
3509 | | { |
---|
3510 | | // Test range-based for |
---|
3511 | | int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3, |
---|
3512 | | 14, 19, 17, 8, 6, 20, 16, 2, 11, 1}; |
---|
3513 | | for (auto &x : array) { x += 23; } |
---|
3514 | | } |
---|
3515 | | { |
---|
3516 | | // Test lambda expressions |
---|
3517 | | using cxx11test::eval; |
---|
3518 | | assert (eval ([](int x) { return x*2; }, 21) == 42); |
---|
3519 | | double d = 2.0; |
---|
3520 | | assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0); |
---|
3521 | | assert (d == 5.0); |
---|
3522 | | assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0); |
---|
3523 | | assert (d == 5.0); |
---|
3524 | | } |
---|
3525 | | { |
---|
3526 | | // Test use of variadic templates |
---|
3527 | | using cxx11test::sum; |
---|
3528 | | auto a = sum(1); |
---|
3529 | | auto b = sum(1, 2); |
---|
3530 | | auto c = sum(1.0, 2.0, 3.0); |
---|
3531 | | } |
---|
3532 | | { |
---|
3533 | | // Test constructor delegation |
---|
3534 | | cxx11test::delegate d1; |
---|
3535 | | cxx11test::delegate d2(); |
---|
3536 | | cxx11test::delegate d3(45); |
---|
3537 | | } |
---|
3538 | | { |
---|
3539 | | // Test override and final |
---|
3540 | | cxx11test::overridden o1(55464); |
---|
3541 | | } |
---|
3542 | | { |
---|
3543 | | // Test nullptr |
---|
3544 | | char *c = nullptr; |
---|
3545 | | } |
---|
3546 | | { |
---|
3547 | | // Test template brackets |
---|
3548 | | test_template<::test_template<int>> v(test_template<int>(12)); |
---|
3549 | | } |
---|
3550 | | { |
---|
3551 | | // Unicode literals |
---|
3552 | | char const *utf8 = u8"UTF-8 string \u2500"; |
---|
3553 | | char16_t const *utf16 = u"UTF-8 string \u2500"; |
---|
3554 | | char32_t const *utf32 = U"UTF-32 string \u2500"; |
---|
3555 | | } |
---|
3556 | | |
---|
3557 | | return ok; |
---|
3558 | | } |
---|
3559 | | |
---|
3560 | configure:10096: /opt/local/bin/g++-apple-4.2 -AA -c -pipe -Os -arch ppc -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport conftest.cpp >&5 |
---|
3561 | <command-line>: error: missing '(' after predicate |
---|
3562 | conftest.cpp:41:3: error: #error "Compiler does not advertise C++98 conformance" |
---|
3563 | conftest.cpp:84:3: error: #error "Compiler does not advertise C++11 conformance" |
---|
3564 | conftest.cpp:89: error: expected constructor, destructor, or type conversion before 'int' |
---|
3565 | conftest.cpp: In constructor 'cxx11test::delegate::delegate()': |
---|
3566 | conftest.cpp:101: error: type 'cxx11test::delegate' is not a direct base of 'cxx11test::delegate' |
---|
3567 | conftest.cpp: At global scope: |
---|
3568 | conftest.cpp:112: error: expected ';' before 'override' |
---|
3569 | conftest.cpp:113: error: expected `;' before '}' token |
---|
3570 | conftest.cpp:119: error: invalid pure specifier (only `= 0' is allowed) before ';' token |
---|
3571 | conftest.cpp:120: error: invalid pure specifier (only `= 0' is allowed) before ';' token |
---|
3572 | conftest.cpp:121: error: invalid pure specifier (only `= 0' is allowed) before ';' token |
---|
3573 | conftest.cpp:119: error: initializer specified for non-virtual method 'cxx11test::nocopy::nocopy()' |
---|
3574 | conftest.cpp:120: error: initializer specified for non-virtual method 'cxx11test::nocopy::nocopy(const cxx11test::nocopy&)' |
---|
3575 | conftest.cpp:121: error: initializer specified for non-virtual method 'cxx11test::nocopy& cxx11test::nocopy::operator=(const cxx11test::nocopy&)' |
---|
3576 | conftest.cpp:133: error: expected initializer before '->' token |
---|
3577 | conftest.cpp:137: error: expected nested-name-specifier before '...' token |
---|
3578 | conftest.cpp:137: error: expected '>' before '...' token |
---|
3579 | conftest.cpp:137: error: 'Args' has not been declared |
---|
3580 | conftest.cpp:137: error: expected `)' before 'rest' |
---|
3581 | conftest.cpp:137: error: expected initializer before 'rest' |
---|
3582 | conftest.cpp: In function 'int main(int, char**)': |
---|
3583 | conftest.cpp:161: error: ISO C++ forbids declaration of 'a1' with no type |
---|
3584 | conftest.cpp:162: error: ISO C++ forbids declaration of 'a2' with no type |
---|
3585 | conftest.cpp:163: error: ISO C++ forbids declaration of 'a3' with no type |
---|
3586 | conftest.cpp:163: error: invalid conversion from 'const char*' to 'int' |
---|
3587 | conftest.cpp:166: error: ISO C++ forbids declaration of 'i' with no type |
---|
3588 | conftest.cpp:166: error: invalid type argument of 'unary *' |
---|
3589 | conftest.cpp:166: error: invalid type argument of 'unary *' |
---|
3590 | conftest.cpp:168: error: 'decltype' was not declared in this scope |
---|
3591 | conftest.cpp:168: error: expected `;' before 'a4' |
---|
3592 | conftest.cpp:172: error: 'get_val' is not a member of 'cxx11test' |
---|
3593 | conftest.cpp:182: error: a function-definition is not allowed here before ':' token |
---|
3594 | conftest.cpp:183: error: expected primary-expression before '}' token |
---|
3595 | conftest.cpp:183: error: expected `;' before '}' token |
---|
3596 | conftest.cpp:183: error: expected primary-expression before '}' token |
---|
3597 | conftest.cpp:183: error: expected `)' before '}' token |
---|
3598 | conftest.cpp:183: error: expected primary-expression before '}' token |
---|
3599 | conftest.cpp:183: error: expected `;' before '}' token |
---|
3600 | conftest.cpp:187: error: expected primary-expression before '[' token |
---|
3601 | conftest.cpp:187: error: expected primary-expression before ']' token |
---|
3602 | conftest.cpp:187: error: expected primary-expression before 'int' |
---|
3603 | conftest.cpp:189: error: expected primary-expression before '[' token |
---|
3604 | conftest.cpp:189: error: expected primary-expression before ']' token |
---|
3605 | conftest.cpp:189: error: expected primary-expression before 'double' |
---|
3606 | conftest.cpp:191: error: expected primary-expression before '[' token |
---|
3607 | conftest.cpp:191: error: expected primary-expression before '=' token |
---|
3608 | conftest.cpp:191: error: expected primary-expression before ']' token |
---|
3609 | conftest.cpp:191: error: expected primary-expression before 'double' |
---|
3610 | conftest.cpp:196: error: 'cxx11test::sum' has not been declared |
---|
3611 | conftest.cpp:197: error: ISO C++ forbids declaration of 'a' with no type |
---|
3612 | conftest.cpp:197: error: 'sum' was not declared in this scope |
---|
3613 | conftest.cpp:198: error: ISO C++ forbids declaration of 'b' with no type |
---|
3614 | conftest.cpp:199: error: ISO C++ forbids declaration of 'c' with no type |
---|
3615 | conftest.cpp:213: error: 'nullptr' was not declared in this scope |
---|
3616 | conftest.cpp:217: error: '>>' should be '> >' within a nested template argument list |
---|
3617 | conftest.cpp:217: error: '<::' cannot begin a template-argument list |
---|
3618 | conftest.cpp:217: note: '<:' is an alternate spelling for '['. Insert whitespace between '<' and '::' |
---|
3619 | conftest.cpp:217: note: (if you use -fpermissive G++ will accept your code) |
---|
3620 | conftest.cpp:221: error: 'u8' was not declared in this scope |
---|
3621 | conftest.cpp:221: error: expected ',' or ';' before string constant |
---|
3622 | conftest.cpp:222: error: 'char16_t' was not declared in this scope |
---|
3623 | conftest.cpp:222: error: expected `;' before 'const' |
---|
3624 | conftest.cpp:223: error: 'char32_t' was not declared in this scope |
---|
3625 | conftest.cpp:223: error: expected `;' before 'const' |
---|
3626 | configure:10096: $? = 1 |
---|
3627 | configure: failed program was: |
---|
3628 | | /* confdefs.h */ |
---|
3629 | | #define PACKAGE_NAME "util-linux" |
---|
3630 | | #define PACKAGE_TARNAME "util-linux" |
---|
3631 | | #define PACKAGE_VERSION "2.40.1" |
---|
3632 | | #define PACKAGE_STRING "util-linux 2.40.1" |
---|
3633 | | #define PACKAGE_BUGREPORT "kzak@redhat.com" |
---|
3634 | | #define PACKAGE_URL "https://www.kernel.org/pub/linux/utils/util-linux/" |
---|
3635 | | #define HAVE_STDIO_H 1 |
---|
3636 | | #define HAVE_STDLIB_H 1 |
---|
3637 | | #define HAVE_STRING_H 1 |
---|
3638 | | #define HAVE_INTTYPES_H 1 |
---|
3639 | | #define HAVE_STDINT_H 1 |
---|
3640 | | #define HAVE_STRINGS_H 1 |
---|
3641 | | #define HAVE_SYS_STAT_H 1 |
---|
3642 | | #define HAVE_SYS_TYPES_H 1 |
---|
3643 | | #define HAVE_UNISTD_H 1 |
---|
3644 | | #define HAVE_WCHAR_H 1 |
---|
3645 | | #define STDC_HEADERS 1 |
---|
3646 | | #define _ALL_SOURCE 1 |
---|
3647 | | #define _DARWIN_C_SOURCE 1 |
---|
3648 | | #define _GNU_SOURCE 1 |
---|
3649 | | #define _HPUX_ALT_XOPEN_SOCKET_API 1 |
---|
3650 | | #define _NETBSD_SOURCE 1 |
---|
3651 | | #define _OPENBSD_SOURCE 1 |
---|
3652 | | #define _POSIX_PTHREAD_SEMANTICS 1 |
---|
3653 | | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 |
---|
3654 | | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 |
---|
3655 | | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 |
---|
3656 | | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 |
---|
3657 | | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 |
---|
3658 | | #define __STDC_WANT_LIB_EXT2__ 1 |
---|
3659 | | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 |
---|
3660 | | #define _TANDEM_SOURCE 1 |
---|
3661 | | #define __EXTENSIONS__ 1 |
---|
3662 | | #define PACKAGE "util-linux" |
---|
3663 | | #define VERSION "2.40.1" |
---|
3664 | | /* end confdefs.h. */ |
---|
3665 | | |
---|
3666 | | // Does the compiler advertise C++98 conformance? |
---|
3667 | | #if !defined __cplusplus || __cplusplus < 199711L |
---|
3668 | | # error "Compiler does not advertise C++98 conformance" |
---|
3669 | | #endif |
---|
3670 | | |
---|
3671 | | // These inclusions are to reject old compilers that |
---|
3672 | | // lack the unsuffixed header files. |
---|
3673 | | #include <cstdlib> |
---|
3674 | | #include <exception> |
---|
3675 | | |
---|
3676 | | // <cassert> and <cstring> are *not* freestanding headers in C++98. |
---|
3677 | | extern void assert (int); |
---|
3678 | | namespace std { |
---|
3679 | | extern int strcmp (const char *, const char *); |
---|
3680 | | } |
---|
3681 | | |
---|
3682 | | // Namespaces, exceptions, and templates were all added after "C++ 2.0". |
---|
3683 | | using std::exception; |
---|
3684 | | using std::strcmp; |
---|
3685 | | |
---|
3686 | | namespace { |
---|
3687 | | |
---|
3688 | | void test_exception_syntax() |
---|
3689 | | { |
---|
3690 | | try { |
---|
3691 | | throw "test"; |
---|
3692 | | } catch (const char *s) { |
---|
3693 | | // Extra parentheses suppress a warning when building autoconf itself, |
---|
3694 | | // due to lint rules shared with more typical C programs. |
---|
3695 | | assert (!(strcmp) (s, "test")); |
---|
3696 | | } |
---|
3697 | | } |
---|
3698 | | |
---|
3699 | | template <typename T> struct test_template |
---|
3700 | | { |
---|
3701 | | T const val; |
---|
3702 | | explicit test_template(T t) : val(t) {} |
---|
3703 | | template <typename U> T add(U u) { return static_cast<T>(u) + val; } |
---|
3704 | | }; |
---|
3705 | | |
---|
3706 | | } // anonymous namespace |
---|
3707 | | |
---|
3708 | | |
---|
3709 | | // Does the compiler advertise C++ 2011 conformance? |
---|
3710 | | #if !defined __cplusplus || __cplusplus < 201103L |
---|
3711 | | # error "Compiler does not advertise C++11 conformance" |
---|
3712 | | #endif |
---|
3713 | | |
---|
3714 | | namespace cxx11test |
---|
3715 | | { |
---|
3716 | | constexpr int get_val() { return 20; } |
---|
3717 | | |
---|
3718 | | struct testinit |
---|
3719 | | { |
---|
3720 | | int i; |
---|
3721 | | double d; |
---|
3722 | | }; |
---|
3723 | | |
---|
3724 | | class delegate |
---|
3725 | | { |
---|
3726 | | public: |
---|
3727 | | delegate(int n) : n(n) {} |
---|
3728 | | delegate(): delegate(2354) {} |
---|
3729 | | |
---|
3730 | | virtual int getval() { return this->n; }; |
---|
3731 | | protected: |
---|
3732 | | int n; |
---|
3733 | | }; |
---|
3734 | | |
---|
3735 | | class overridden : public delegate |
---|
3736 | | { |
---|
3737 | | public: |
---|
3738 | | overridden(int n): delegate(n) {} |
---|
3739 | | virtual int getval() override final { return this->n * 2; } |
---|
3740 | | }; |
---|
3741 | | |
---|
3742 | | class nocopy |
---|
3743 | | { |
---|
3744 | | public: |
---|
3745 | | nocopy(int i): i(i) {} |
---|
3746 | | nocopy() = default; |
---|
3747 | | nocopy(const nocopy&) = delete; |
---|
3748 | | nocopy & operator=(const nocopy&) = delete; |
---|
3749 | | private: |
---|
3750 | | int i; |
---|
3751 | | }; |
---|
3752 | | |
---|
3753 | | // for testing lambda expressions |
---|
3754 | | template <typename Ret, typename Fn> Ret eval(Fn f, Ret v) |
---|
3755 | | { |
---|
3756 | | return f(v); |
---|
3757 | | } |
---|
3758 | | |
---|
3759 | | // for testing variadic templates and trailing return types |
---|
3760 | | template <typename V> auto sum(V first) -> V |
---|
3761 | | { |
---|
3762 | | return first; |
---|
3763 | | } |
---|
3764 | | template <typename V, typename... Args> auto sum(V first, Args... rest) -> V |
---|
3765 | | { |
---|
3766 | | return first + sum(rest...); |
---|
3767 | | } |
---|
3768 | | } |
---|
3769 | | |
---|
3770 | | |
---|
3771 | | int |
---|
3772 | | main (int argc, char **argv) |
---|
3773 | | { |
---|
3774 | | int ok = 0; |
---|
3775 | | |
---|
3776 | | assert (argc); |
---|
3777 | | assert (! argv[0]); |
---|
3778 | | { |
---|
3779 | | test_exception_syntax (); |
---|
3780 | | test_template<double> tt (2.0); |
---|
3781 | | assert (tt.add (4) == 6.0); |
---|
3782 | | assert (true && !false); |
---|
3783 | | } |
---|
3784 | | |
---|
3785 | | |
---|
3786 | | { |
---|
3787 | | // Test auto and decltype |
---|
3788 | | auto a1 = 6538; |
---|
3789 | | auto a2 = 48573953.4; |
---|
3790 | | auto a3 = "String literal"; |
---|
3791 | | |
---|
3792 | | int total = 0; |
---|
3793 | | for (auto i = a3; *i; ++i) { total += *i; } |
---|
3794 | | |
---|
3795 | | decltype(a2) a4 = 34895.034; |
---|
3796 | | } |
---|
3797 | | { |
---|
3798 | | // Test constexpr |
---|
3799 | | short sa[cxx11test::get_val()] = { 0 }; |
---|
3800 | | } |
---|
3801 | | { |
---|
3802 | | // Test initializer lists |
---|
3803 | | cxx11test::testinit il = { 4323, 435234.23544 }; |
---|
3804 | | } |
---|
3805 | | { |
---|
3806 | | // Test range-based for |
---|
3807 | | int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3, |
---|
3808 | | 14, 19, 17, 8, 6, 20, 16, 2, 11, 1}; |
---|
3809 | | for (auto &x : array) { x += 23; } |
---|
3810 | | } |
---|
3811 | | { |
---|
3812 | | // Test lambda expressions |
---|
3813 | | using cxx11test::eval; |
---|
3814 | | assert (eval ([](int x) { return x*2; }, 21) == 42); |
---|
3815 | | double d = 2.0; |
---|
3816 | | assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0); |
---|
3817 | | assert (d == 5.0); |
---|
3818 | | assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0); |
---|
3819 | | assert (d == 5.0); |
---|
3820 | | } |
---|
3821 | | { |
---|
3822 | | // Test use of variadic templates |
---|
3823 | | using cxx11test::sum; |
---|
3824 | | auto a = sum(1); |
---|
3825 | | auto b = sum(1, 2); |
---|
3826 | | auto c = sum(1.0, 2.0, 3.0); |
---|
3827 | | } |
---|
3828 | | { |
---|
3829 | | // Test constructor delegation |
---|
3830 | | cxx11test::delegate d1; |
---|
3831 | | cxx11test::delegate d2(); |
---|
3832 | | cxx11test::delegate d3(45); |
---|
3833 | | } |
---|
3834 | | { |
---|
3835 | | // Test override and final |
---|
3836 | | cxx11test::overridden o1(55464); |
---|
3837 | | } |
---|
3838 | | { |
---|
3839 | | // Test nullptr |
---|
3840 | | char *c = nullptr; |
---|
3841 | | } |
---|
3842 | | { |
---|
3843 | | // Test template brackets |
---|
3844 | | test_template<::test_template<int>> v(test_template<int>(12)); |
---|
3845 | | } |
---|
3846 | | { |
---|
3847 | | // Unicode literals |
---|
3848 | | char const *utf8 = u8"UTF-8 string \u2500"; |
---|
3849 | | char16_t const *utf16 = u"UTF-8 string \u2500"; |
---|
3850 | | char32_t const *utf32 = U"UTF-32 string \u2500"; |
---|
3851 | | } |
---|
3852 | | |
---|
3853 | | return ok; |
---|
3854 | | } |
---|
3855 | | |
---|
3856 | configure:10109: result: unsupported |
---|
3857 | configure:10127: checking for /opt/local/bin/g++-apple-4.2 option to enable C++98 features |
---|
3858 | configure:10142: /opt/local/bin/g++-apple-4.2 -c -pipe -Os -arch ppc -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport conftest.cpp >&5 |
---|
3859 | conftest.cpp:41:3: error: #error "Compiler does not advertise C++98 conformance" |
---|
3860 | configure:10142: $? = 1 |
---|
3861 | configure: failed program was: |
---|
3862 | | /* confdefs.h */ |
---|
3863 | | #define PACKAGE_NAME "util-linux" |
---|
3864 | | #define PACKAGE_TARNAME "util-linux" |
---|
3865 | | #define PACKAGE_VERSION "2.40.1" |
---|
3866 | | #define PACKAGE_STRING "util-linux 2.40.1" |
---|
3867 | | #define PACKAGE_BUGREPORT "kzak@redhat.com" |
---|
3868 | | #define PACKAGE_URL "https://www.kernel.org/pub/linux/utils/util-linux/" |
---|
3869 | | #define HAVE_STDIO_H 1 |
---|
3870 | | #define HAVE_STDLIB_H 1 |
---|
3871 | | #define HAVE_STRING_H 1 |
---|
3872 | | #define HAVE_INTTYPES_H 1 |
---|
3873 | | #define HAVE_STDINT_H 1 |
---|
3874 | | #define HAVE_STRINGS_H 1 |
---|
3875 | | #define HAVE_SYS_STAT_H 1 |
---|
3876 | | #define HAVE_SYS_TYPES_H 1 |
---|
3877 | | #define HAVE_UNISTD_H 1 |
---|
3878 | | #define HAVE_WCHAR_H 1 |
---|
3879 | | #define STDC_HEADERS 1 |
---|
3880 | | #define _ALL_SOURCE 1 |
---|
3881 | | #define _DARWIN_C_SOURCE 1 |
---|
3882 | | #define _GNU_SOURCE 1 |
---|
3883 | | #define _HPUX_ALT_XOPEN_SOCKET_API 1 |
---|
3884 | | #define _NETBSD_SOURCE 1 |
---|
3885 | | #define _OPENBSD_SOURCE 1 |
---|
3886 | | #define _POSIX_PTHREAD_SEMANTICS 1 |
---|
3887 | | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 |
---|
3888 | | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 |
---|
3889 | | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 |
---|
3890 | | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 |
---|
3891 | | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 |
---|
3892 | | #define __STDC_WANT_LIB_EXT2__ 1 |
---|
3893 | | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 |
---|
3894 | | #define _TANDEM_SOURCE 1 |
---|
3895 | | #define __EXTENSIONS__ 1 |
---|
3896 | | #define PACKAGE "util-linux" |
---|
3897 | | #define VERSION "2.40.1" |
---|
3898 | | /* end confdefs.h. */ |
---|
3899 | | |
---|
3900 | | // Does the compiler advertise C++98 conformance? |
---|
3901 | | #if !defined __cplusplus || __cplusplus < 199711L |
---|
3902 | | # error "Compiler does not advertise C++98 conformance" |
---|
3903 | | #endif |
---|
3904 | | |
---|
3905 | | // These inclusions are to reject old compilers that |
---|
3906 | | // lack the unsuffixed header files. |
---|
3907 | | #include <cstdlib> |
---|
3908 | | #include <exception> |
---|
3909 | | |
---|
3910 | | // <cassert> and <cstring> are *not* freestanding headers in C++98. |
---|
3911 | | extern void assert (int); |
---|
3912 | | namespace std { |
---|
3913 | | extern int strcmp (const char *, const char *); |
---|
3914 | | } |
---|
3915 | | |
---|
3916 | | // Namespaces, exceptions, and templates were all added after "C++ 2.0". |
---|
3917 | | using std::exception; |
---|
3918 | | using std::strcmp; |
---|
3919 | | |
---|
3920 | | namespace { |
---|
3921 | | |
---|
3922 | | void test_exception_syntax() |
---|
3923 | | { |
---|
3924 | | try { |
---|
3925 | | throw "test"; |
---|
3926 | | } catch (const char *s) { |
---|
3927 | | // Extra parentheses suppress a warning when building autoconf itself, |
---|
3928 | | // due to lint rules shared with more typical C programs. |
---|
3929 | | assert (!(strcmp) (s, "test")); |
---|
3930 | | } |
---|
3931 | | } |
---|
3932 | | |
---|
3933 | | template <typename T> struct test_template |
---|
3934 | | { |
---|
3935 | | T const val; |
---|
3936 | | explicit test_template(T t) : val(t) {} |
---|
3937 | | template <typename U> T add(U u) { return static_cast<T>(u) + val; } |
---|
3938 | | }; |
---|
3939 | | |
---|
3940 | | } // anonymous namespace |
---|
3941 | | |
---|
3942 | | int |
---|
3943 | | main (int argc, char **argv) |
---|
3944 | | { |
---|
3945 | | int ok = 0; |
---|
3946 | | |
---|
3947 | | assert (argc); |
---|
3948 | | assert (! argv[0]); |
---|
3949 | | { |
---|
3950 | | test_exception_syntax (); |
---|
3951 | | test_template<double> tt (2.0); |
---|
3952 | | assert (tt.add (4) == 6.0); |
---|
3953 | | assert (true && !false); |
---|
3954 | | } |
---|
3955 | | |
---|
3956 | | return ok; |
---|
3957 | | } |
---|
3958 | | |
---|
3959 | configure:10142: /opt/local/bin/g++-apple-4.2 -std=gnu++98 -c -pipe -Os -arch ppc -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport conftest.cpp >&5 |
---|
3960 | conftest.cpp:41:3: error: #error "Compiler does not advertise C++98 conformance" |
---|
3961 | configure:10142: $? = 1 |
---|
3962 | configure: failed program was: |
---|
3963 | | /* confdefs.h */ |
---|
3964 | | #define PACKAGE_NAME "util-linux" |
---|
3965 | | #define PACKAGE_TARNAME "util-linux" |
---|
3966 | | #define PACKAGE_VERSION "2.40.1" |
---|
3967 | | #define PACKAGE_STRING "util-linux 2.40.1" |
---|
3968 | | #define PACKAGE_BUGREPORT "kzak@redhat.com" |
---|
3969 | | #define PACKAGE_URL "https://www.kernel.org/pub/linux/utils/util-linux/" |
---|
3970 | | #define HAVE_STDIO_H 1 |
---|
3971 | | #define HAVE_STDLIB_H 1 |
---|
3972 | | #define HAVE_STRING_H 1 |
---|
3973 | | #define HAVE_INTTYPES_H 1 |
---|
3974 | | #define HAVE_STDINT_H 1 |
---|
3975 | | #define HAVE_STRINGS_H 1 |
---|
3976 | | #define HAVE_SYS_STAT_H 1 |
---|
3977 | | #define HAVE_SYS_TYPES_H 1 |
---|
3978 | | #define HAVE_UNISTD_H 1 |
---|
3979 | | #define HAVE_WCHAR_H 1 |
---|
3980 | | #define STDC_HEADERS 1 |
---|
3981 | | #define _ALL_SOURCE 1 |
---|
3982 | | #define _DARWIN_C_SOURCE 1 |
---|
3983 | | #define _GNU_SOURCE 1 |
---|
3984 | | #define _HPUX_ALT_XOPEN_SOCKET_API 1 |
---|
3985 | | #define _NETBSD_SOURCE 1 |
---|
3986 | | #define _OPENBSD_SOURCE 1 |
---|
3987 | | #define _POSIX_PTHREAD_SEMANTICS 1 |
---|
3988 | | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 |
---|
3989 | | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 |
---|
3990 | | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 |
---|
3991 | | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 |
---|
3992 | | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 |
---|
3993 | | #define __STDC_WANT_LIB_EXT2__ 1 |
---|
3994 | | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 |
---|
3995 | | #define _TANDEM_SOURCE 1 |
---|
3996 | | #define __EXTENSIONS__ 1 |
---|
3997 | | #define PACKAGE "util-linux" |
---|
3998 | | #define VERSION "2.40.1" |
---|
3999 | | /* end confdefs.h. */ |
---|
4000 | | |
---|
4001 | | // Does the compiler advertise C++98 conformance? |
---|
4002 | | #if !defined __cplusplus || __cplusplus < 199711L |
---|
4003 | | # error "Compiler does not advertise C++98 conformance" |
---|
4004 | | #endif |
---|
4005 | | |
---|
4006 | | // These inclusions are to reject old compilers that |
---|
4007 | | // lack the unsuffixed header files. |
---|
4008 | | #include <cstdlib> |
---|
4009 | | #include <exception> |
---|
4010 | | |
---|
4011 | | // <cassert> and <cstring> are *not* freestanding headers in C++98. |
---|
4012 | | extern void assert (int); |
---|
4013 | | namespace std { |
---|
4014 | | extern int strcmp (const char *, const char *); |
---|
4015 | | } |
---|
4016 | | |
---|
4017 | | // Namespaces, exceptions, and templates were all added after "C++ 2.0". |
---|
4018 | | using std::exception; |
---|
4019 | | using std::strcmp; |
---|
4020 | | |
---|
4021 | | namespace { |
---|
4022 | | |
---|
4023 | | void test_exception_syntax() |
---|
4024 | | { |
---|
4025 | | try { |
---|
4026 | | throw "test"; |
---|
4027 | | } catch (const char *s) { |
---|
4028 | | // Extra parentheses suppress a warning when building autoconf itself, |
---|
4029 | | // due to lint rules shared with more typical C programs. |
---|
4030 | | assert (!(strcmp) (s, "test")); |
---|
4031 | | } |
---|
4032 | | } |
---|
4033 | | |
---|
4034 | | template <typename T> struct test_template |
---|
4035 | | { |
---|
4036 | | T const val; |
---|
4037 | | explicit test_template(T t) : val(t) {} |
---|
4038 | | template <typename U> T add(U u) { return static_cast<T>(u) + val; } |
---|
4039 | | }; |
---|
4040 | | |
---|
4041 | | } // anonymous namespace |
---|
4042 | | |
---|
4043 | | int |
---|
4044 | | main (int argc, char **argv) |
---|
4045 | | { |
---|
4046 | | int ok = 0; |
---|
4047 | | |
---|
4048 | | assert (argc); |
---|
4049 | | assert (! argv[0]); |
---|
4050 | | { |
---|
4051 | | test_exception_syntax (); |
---|
4052 | | test_template<double> tt (2.0); |
---|
4053 | | assert (tt.add (4) == 6.0); |
---|
4054 | | assert (true && !false); |
---|
4055 | | } |
---|
4056 | | |
---|
4057 | | return ok; |
---|
4058 | | } |
---|
4059 | | |
---|
4060 | configure:10142: /opt/local/bin/g++-apple-4.2 -std=c++98 -c -pipe -Os -arch ppc -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport conftest.cpp >&5 |
---|
4061 | conftest.cpp:41:3: error: #error "Compiler does not advertise C++98 conformance" |
---|
4062 | configure:10142: $? = 1 |
---|
4063 | configure: failed program was: |
---|
4064 | | /* confdefs.h */ |
---|
4065 | | #define PACKAGE_NAME "util-linux" |
---|
4066 | | #define PACKAGE_TARNAME "util-linux" |
---|
4067 | | #define PACKAGE_VERSION "2.40.1" |
---|
4068 | | #define PACKAGE_STRING "util-linux 2.40.1" |
---|
4069 | | #define PACKAGE_BUGREPORT "kzak@redhat.com" |
---|
4070 | | #define PACKAGE_URL "https://www.kernel.org/pub/linux/utils/util-linux/" |
---|
4071 | | #define HAVE_STDIO_H 1 |
---|
4072 | | #define HAVE_STDLIB_H 1 |
---|
4073 | | #define HAVE_STRING_H 1 |
---|
4074 | | #define HAVE_INTTYPES_H 1 |
---|
4075 | | #define HAVE_STDINT_H 1 |
---|
4076 | | #define HAVE_STRINGS_H 1 |
---|
4077 | | #define HAVE_SYS_STAT_H 1 |
---|
4078 | | #define HAVE_SYS_TYPES_H 1 |
---|
4079 | | #define HAVE_UNISTD_H 1 |
---|
4080 | | #define HAVE_WCHAR_H 1 |
---|
4081 | | #define STDC_HEADERS 1 |
---|
4082 | | #define _ALL_SOURCE 1 |
---|
4083 | | #define _DARWIN_C_SOURCE 1 |
---|
4084 | | #define _GNU_SOURCE 1 |
---|
4085 | | #define _HPUX_ALT_XOPEN_SOCKET_API 1 |
---|
4086 | | #define _NETBSD_SOURCE 1 |
---|
4087 | | #define _OPENBSD_SOURCE 1 |
---|
4088 | | #define _POSIX_PTHREAD_SEMANTICS 1 |
---|
4089 | | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 |
---|
4090 | | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 |
---|
4091 | | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 |
---|
4092 | | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 |
---|
4093 | | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 |
---|
4094 | | #define __STDC_WANT_LIB_EXT2__ 1 |
---|
4095 | | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 |
---|
4096 | | #define _TANDEM_SOURCE 1 |
---|
4097 | | #define __EXTENSIONS__ 1 |
---|
4098 | | #define PACKAGE "util-linux" |
---|
4099 | | #define VERSION "2.40.1" |
---|
4100 | | /* end confdefs.h. */ |
---|
4101 | | |
---|
4102 | | // Does the compiler advertise C++98 conformance? |
---|
4103 | | #if !defined __cplusplus || __cplusplus < 199711L |
---|
4104 | | # error "Compiler does not advertise C++98 conformance" |
---|
4105 | | #endif |
---|
4106 | | |
---|
4107 | | // These inclusions are to reject old compilers that |
---|
4108 | | // lack the unsuffixed header files. |
---|
4109 | | #include <cstdlib> |
---|
4110 | | #include <exception> |
---|
4111 | | |
---|
4112 | | // <cassert> and <cstring> are *not* freestanding headers in C++98. |
---|
4113 | | extern void assert (int); |
---|
4114 | | namespace std { |
---|
4115 | | extern int strcmp (const char *, const char *); |
---|
4116 | | } |
---|
4117 | | |
---|
4118 | | // Namespaces, exceptions, and templates were all added after "C++ 2.0". |
---|
4119 | | using std::exception; |
---|
4120 | | using std::strcmp; |
---|
4121 | | |
---|
4122 | | namespace { |
---|
4123 | | |
---|
4124 | | void test_exception_syntax() |
---|
4125 | | { |
---|
4126 | | try { |
---|
4127 | | throw "test"; |
---|
4128 | | } catch (const char *s) { |
---|
4129 | | // Extra parentheses suppress a warning when building autoconf itself, |
---|
4130 | | // due to lint rules shared with more typical C programs. |
---|
4131 | | assert (!(strcmp) (s, "test")); |
---|
4132 | | } |
---|
4133 | | } |
---|
4134 | | |
---|
4135 | | template <typename T> struct test_template |
---|
4136 | | { |
---|
4137 | | T const val; |
---|
4138 | | explicit test_template(T t) : val(t) {} |
---|
4139 | | template <typename U> T add(U u) { return static_cast<T>(u) + val; } |
---|
4140 | | }; |
---|
4141 | | |
---|
4142 | | } // anonymous namespace |
---|
4143 | | |
---|
4144 | | int |
---|
4145 | | main (int argc, char **argv) |
---|
4146 | | { |
---|
4147 | | int ok = 0; |
---|
4148 | | |
---|
4149 | | assert (argc); |
---|
4150 | | assert (! argv[0]); |
---|
4151 | | { |
---|
4152 | | test_exception_syntax (); |
---|
4153 | | test_template<double> tt (2.0); |
---|
4154 | | assert (tt.add (4) == 6.0); |
---|
4155 | | assert (true && !false); |
---|
4156 | | } |
---|
4157 | | |
---|
4158 | | return ok; |
---|
4159 | | } |
---|
4160 | | |
---|
4161 | configure:10142: /opt/local/bin/g++-apple-4.2 -qlanglvl=extended -c -pipe -Os -arch ppc -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport conftest.cpp >&5 |
---|
4162 | conftest.cpp:41:3: error: #error "Compiler does not advertise C++98 conformance" |
---|
4163 | configure:10142: $? = 1 |
---|
4164 | configure: failed program was: |
---|
4165 | | /* confdefs.h */ |
---|
4166 | | #define PACKAGE_NAME "util-linux" |
---|
4167 | | #define PACKAGE_TARNAME "util-linux" |
---|
4168 | | #define PACKAGE_VERSION "2.40.1" |
---|
4169 | | #define PACKAGE_STRING "util-linux 2.40.1" |
---|
4170 | | #define PACKAGE_BUGREPORT "kzak@redhat.com" |
---|
4171 | | #define PACKAGE_URL "https://www.kernel.org/pub/linux/utils/util-linux/" |
---|
4172 | | #define HAVE_STDIO_H 1 |
---|
4173 | | #define HAVE_STDLIB_H 1 |
---|
4174 | | #define HAVE_STRING_H 1 |
---|
4175 | | #define HAVE_INTTYPES_H 1 |
---|
4176 | | #define HAVE_STDINT_H 1 |
---|
4177 | | #define HAVE_STRINGS_H 1 |
---|
4178 | | #define HAVE_SYS_STAT_H 1 |
---|
4179 | | #define HAVE_SYS_TYPES_H 1 |
---|
4180 | | #define HAVE_UNISTD_H 1 |
---|
4181 | | #define HAVE_WCHAR_H 1 |
---|
4182 | | #define STDC_HEADERS 1 |
---|
4183 | | #define _ALL_SOURCE 1 |
---|
4184 | | #define _DARWIN_C_SOURCE 1 |
---|
4185 | | #define _GNU_SOURCE 1 |
---|
4186 | | #define _HPUX_ALT_XOPEN_SOCKET_API 1 |
---|
4187 | | #define _NETBSD_SOURCE 1 |
---|
4188 | | #define _OPENBSD_SOURCE 1 |
---|
4189 | | #define _POSIX_PTHREAD_SEMANTICS 1 |
---|
4190 | | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 |
---|
4191 | | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 |
---|
4192 | | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 |
---|
4193 | | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 |
---|
4194 | | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 |
---|
4195 | | #define __STDC_WANT_LIB_EXT2__ 1 |
---|
4196 | | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 |
---|
4197 | | #define _TANDEM_SOURCE 1 |
---|
4198 | | #define __EXTENSIONS__ 1 |
---|
4199 | | #define PACKAGE "util-linux" |
---|
4200 | | #define VERSION "2.40.1" |
---|
4201 | | /* end confdefs.h. */ |
---|
4202 | | |
---|
4203 | | // Does the compiler advertise C++98 conformance? |
---|
4204 | | #if !defined __cplusplus || __cplusplus < 199711L |
---|
4205 | | # error "Compiler does not advertise C++98 conformance" |
---|
4206 | | #endif |
---|
4207 | | |
---|
4208 | | // These inclusions are to reject old compilers that |
---|
4209 | | // lack the unsuffixed header files. |
---|
4210 | | #include <cstdlib> |
---|
4211 | | #include <exception> |
---|
4212 | | |
---|
4213 | | // <cassert> and <cstring> are *not* freestanding headers in C++98. |
---|
4214 | | extern void assert (int); |
---|
4215 | | namespace std { |
---|
4216 | | extern int strcmp (const char *, const char *); |
---|
4217 | | } |
---|
4218 | | |
---|
4219 | | // Namespaces, exceptions, and templates were all added after "C++ 2.0". |
---|
4220 | | using std::exception; |
---|
4221 | | using std::strcmp; |
---|
4222 | | |
---|
4223 | | namespace { |
---|
4224 | | |
---|
4225 | | void test_exception_syntax() |
---|
4226 | | { |
---|
4227 | | try { |
---|
4228 | | throw "test"; |
---|
4229 | | } catch (const char *s) { |
---|
4230 | | // Extra parentheses suppress a warning when building autoconf itself, |
---|
4231 | | // due to lint rules shared with more typical C programs. |
---|
4232 | | assert (!(strcmp) (s, "test")); |
---|
4233 | | } |
---|
4234 | | } |
---|
4235 | | |
---|
4236 | | template <typename T> struct test_template |
---|
4237 | | { |
---|
4238 | | T const val; |
---|
4239 | | explicit test_template(T t) : val(t) {} |
---|
4240 | | template <typename U> T add(U u) { return static_cast<T>(u) + val; } |
---|
4241 | | }; |
---|
4242 | | |
---|
4243 | | } // anonymous namespace |
---|
4244 | | |
---|
4245 | | int |
---|
4246 | | main (int argc, char **argv) |
---|
4247 | | { |
---|
4248 | | int ok = 0; |
---|
4249 | | |
---|
4250 | | assert (argc); |
---|
4251 | | assert (! argv[0]); |
---|
4252 | | { |
---|
4253 | | test_exception_syntax (); |
---|
4254 | | test_template<double> tt (2.0); |
---|
4255 | | assert (tt.add (4) == 6.0); |
---|
4256 | | assert (true && !false); |
---|
4257 | | } |
---|
4258 | | |
---|
4259 | | return ok; |
---|
4260 | | } |
---|
4261 | | |
---|
4262 | configure:10142: /opt/local/bin/g++-apple-4.2 -AA -c -pipe -Os -arch ppc -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport conftest.cpp >&5 |
---|
4263 | <command-line>: error: missing '(' after predicate |
---|
4264 | conftest.cpp:41:3: error: #error "Compiler does not advertise C++98 conformance" |
---|
4265 | configure:10142: $? = 1 |
---|
4266 | configure: failed program was: |
---|
4267 | | /* confdefs.h */ |
---|
4268 | | #define PACKAGE_NAME "util-linux" |
---|
4269 | | #define PACKAGE_TARNAME "util-linux" |
---|
4270 | | #define PACKAGE_VERSION "2.40.1" |
---|
4271 | | #define PACKAGE_STRING "util-linux 2.40.1" |
---|
4272 | | #define PACKAGE_BUGREPORT "kzak@redhat.com" |
---|
4273 | | #define PACKAGE_URL "https://www.kernel.org/pub/linux/utils/util-linux/" |
---|
4274 | | #define HAVE_STDIO_H 1 |
---|
4275 | | #define HAVE_STDLIB_H 1 |
---|
4276 | | #define HAVE_STRING_H 1 |
---|
4277 | | #define HAVE_INTTYPES_H 1 |
---|
4278 | | #define HAVE_STDINT_H 1 |
---|
4279 | | #define HAVE_STRINGS_H 1 |
---|
4280 | | #define HAVE_SYS_STAT_H 1 |
---|
4281 | | #define HAVE_SYS_TYPES_H 1 |
---|
4282 | | #define HAVE_UNISTD_H 1 |
---|
4283 | | #define HAVE_WCHAR_H 1 |
---|
4284 | | #define STDC_HEADERS 1 |
---|
4285 | | #define _ALL_SOURCE 1 |
---|
4286 | | #define _DARWIN_C_SOURCE 1 |
---|
4287 | | #define _GNU_SOURCE 1 |
---|
4288 | | #define _HPUX_ALT_XOPEN_SOCKET_API 1 |
---|
4289 | | #define _NETBSD_SOURCE 1 |
---|
4290 | | #define _OPENBSD_SOURCE 1 |
---|
4291 | | #define _POSIX_PTHREAD_SEMANTICS 1 |
---|
4292 | | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 |
---|
4293 | | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 |
---|
4294 | | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 |
---|
4295 | | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 |
---|
4296 | | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 |
---|
4297 | | #define __STDC_WANT_LIB_EXT2__ 1 |
---|
4298 | | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 |
---|
4299 | | #define _TANDEM_SOURCE 1 |
---|
4300 | | #define __EXTENSIONS__ 1 |
---|
4301 | | #define PACKAGE "util-linux" |
---|
4302 | | #define VERSION "2.40.1" |
---|
4303 | | /* end confdefs.h. */ |
---|
4304 | | |
---|
4305 | | // Does the compiler advertise C++98 conformance? |
---|
4306 | | #if !defined __cplusplus || __cplusplus < 199711L |
---|
4307 | | # error "Compiler does not advertise C++98 conformance" |
---|
4308 | | #endif |
---|
4309 | | |
---|
4310 | | // These inclusions are to reject old compilers that |
---|
4311 | | // lack the unsuffixed header files. |
---|
4312 | | #include <cstdlib> |
---|
4313 | | #include <exception> |
---|
4314 | | |
---|
4315 | | // <cassert> and <cstring> are *not* freestanding headers in C++98. |
---|
4316 | | extern void assert (int); |
---|
4317 | | namespace std { |
---|
4318 | | extern int strcmp (const char *, const char *); |
---|
4319 | | } |
---|
4320 | | |
---|
4321 | | // Namespaces, exceptions, and templates were all added after "C++ 2.0". |
---|
4322 | | using std::exception; |
---|
4323 | | using std::strcmp; |
---|
4324 | | |
---|
4325 | | namespace { |
---|
4326 | | |
---|
4327 | | void test_exception_syntax() |
---|
4328 | | { |
---|
4329 | | try { |
---|
4330 | | throw "test"; |
---|
4331 | | } catch (const char *s) { |
---|
4332 | | // Extra parentheses suppress a warning when building autoconf itself, |
---|
4333 | | // due to lint rules shared with more typical C programs. |
---|
4334 | | assert (!(strcmp) (s, "test")); |
---|
4335 | | } |
---|
4336 | | } |
---|
4337 | | |
---|
4338 | | template <typename T> struct test_template |
---|
4339 | | { |
---|
4340 | | T const val; |
---|
4341 | | explicit test_template(T t) : val(t) {} |
---|
4342 | | template <typename U> T add(U u) { return static_cast<T>(u) + val; } |
---|
4343 | | }; |
---|
4344 | | |
---|
4345 | | } // anonymous namespace |
---|
4346 | | |
---|
4347 | | int |
---|
4348 | | main (int argc, char **argv) |
---|
4349 | | { |
---|
4350 | | int ok = 0; |
---|
4351 | | |
---|
4352 | | assert (argc); |
---|
4353 | | assert (! argv[0]); |
---|
4354 | | { |
---|
4355 | | test_exception_syntax (); |
---|
4356 | | test_template<double> tt (2.0); |
---|
4357 | | assert (tt.add (4) == 6.0); |
---|
4358 | | assert (true && !false); |
---|
4359 | | } |
---|
4360 | | |
---|
4361 | | return ok; |
---|
4362 | | } |
---|
4363 | | |
---|
4364 | configure:10155: result: unsupported |
---|
4365 | configure:10180: checking dependency style of /opt/local/bin/g++-apple-4.2 |
---|
4366 | configure:10292: result: gcc3 |
---|
4367 | configure:10443: checking how to print strings |
---|
4368 | configure:10470: result: printf |
---|
4369 | configure:10491: checking for a sed that does not truncate output |
---|
4370 | configure:10561: result: /opt/local/bin/gsed |
---|
4371 | configure:10579: checking for grep that handles long lines and -e |
---|
4372 | configure:10643: result: /opt/local/bin/ggrep |
---|
4373 | configure:10648: checking for egrep |
---|
4374 | configure:10716: result: /opt/local/bin/ggrep -E |
---|
4375 | configure:10721: checking for fgrep |
---|
4376 | configure:10789: result: /opt/local/bin/ggrep -F |
---|
4377 | configure:10825: checking for ld used by /opt/local/bin/gcc-apple-4.2 -std=gnu99 |
---|
4378 | configure:10893: result: /opt/local/libexec/apple-gcc42/gcc/powerpc-apple-darwin8/4.2.4/ld |
---|
4379 | configure:10900: checking if the linker (/opt/local/libexec/apple-gcc42/gcc/powerpc-apple-darwin8/4.2.4/ld) is GNU ld |
---|
4380 | configure:10916: result: no |
---|
4381 | configure:10928: checking for BSD- or MS-compatible name lister (nm) |
---|
4382 | configure:10983: result: /usr/bin/nm -p |
---|
4383 | configure:11123: checking the name lister (/usr/bin/nm -p) interface |
---|
4384 | configure:11131: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -c -pipe -Os -I/opt/local/include/LegacySupport -arch ppc -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport conftest.c >&5 |
---|
4385 | configure:11134: /usr/bin/nm -p "conftest.o" |
---|
4386 | configure:11137: output |
---|
4387 | 00000000 D _some_variable |
---|
4388 | configure:11144: result: BSD nm |
---|
4389 | configure:11147: checking whether ln -s works |
---|
4390 | configure:11151: result: yes |
---|
4391 | configure:11159: checking the maximum length of command line arguments |
---|
4392 | configure:11291: result: 196608 |
---|
4393 | configure:11339: checking how to convert powerpc-apple-darwin8.11.0 file names to powerpc-apple-darwin8.11.0 format |
---|
4394 | configure:11380: result: func_convert_file_noop |
---|
4395 | configure:11387: checking how to convert powerpc-apple-darwin8.11.0 file names to toolchain format |
---|
4396 | configure:11408: result: func_convert_file_noop |
---|
4397 | configure:11415: checking for /opt/local/libexec/apple-gcc42/gcc/powerpc-apple-darwin8/4.2.4/ld option to reload object files |
---|
4398 | configure:11423: result: -r |
---|
4399 | configure:11502: checking for file |
---|
4400 | configure:11523: found /opt/local/bin/file |
---|
4401 | configure:11534: result: file |
---|
4402 | configure:11610: checking for objdump |
---|
4403 | configure:11645: result: no |
---|
4404 | configure:11674: checking how to recognize dependent libraries |
---|
4405 | configure:11875: result: pass_all |
---|
4406 | configure:11965: checking for dlltool |
---|
4407 | configure:12000: result: no |
---|
4408 | configure:12030: checking how to associate runtime and link libraries |
---|
4409 | configure:12058: result: printf %s\n |
---|
4410 | configure:12208: checking for archiver @FILE support |
---|
4411 | configure:12226: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -c -pipe -Os -I/opt/local/include/LegacySupport -arch ppc -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport conftest.c >&5 |
---|
4412 | configure:12226: $? = 0 |
---|
4413 | configure:12230: ar cr libconftest.a @conftest.lst >&5 |
---|
4414 | ar: @conftest.lst: No such file or directory |
---|
4415 | configure:12233: $? = 1 |
---|
4416 | configure:12253: result: no |
---|
4417 | configure:12316: checking for strip |
---|
4418 | configure:12337: found /opt/local/bin/strip |
---|
4419 | configure:12348: result: strip |
---|
4420 | configure:12425: checking for ranlib |
---|
4421 | configure:12446: found /opt/local/bin/ranlib |
---|
4422 | configure:12457: result: ranlib |
---|
4423 | configure:12559: checking command to parse /usr/bin/nm -p output from /opt/local/bin/gcc-apple-4.2 -std=gnu99 object |
---|
4424 | configure:12713: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -c -pipe -Os -I/opt/local/include/LegacySupport -arch ppc -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport conftest.c >&5 |
---|
4425 | configure:12716: $? = 0 |
---|
4426 | configure:12720: /usr/bin/nm -p conftest.o \| /opt/local/bin/gsed -n -e 's/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | /opt/local/bin/gsed '/ __gnu_lto/d' \> conftest.nm |
---|
4427 | configure:12723: $? = 0 |
---|
4428 | cannot find nm_test_var in conftest.nm |
---|
4429 | configure:12713: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -c -pipe -Os -I/opt/local/include/LegacySupport -arch ppc -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport conftest.c >&5 |
---|
4430 | configure:12716: $? = 0 |
---|
4431 | configure:12720: /usr/bin/nm -p conftest.o \| /opt/local/bin/gsed -n -e 's/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p' | /opt/local/bin/gsed '/ __gnu_lto/d' \> conftest.nm |
---|
4432 | configure:12723: $? = 0 |
---|
4433 | configure:12789: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -o conftest -pipe -Os -I/opt/local/include/LegacySupport -arch ppc -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport -L/opt/local/lib -Wl,-headerpad_max_install_names -lMacportsLegacySupport -arch ppc conftest.c conftstm.o >&5 |
---|
4434 | configure:12792: $? = 0 |
---|
4435 | configure:12830: result: ok |
---|
4436 | configure:12877: checking for sysroot |
---|
4437 | configure:12908: result: no |
---|
4438 | configure:12915: checking for a working dd |
---|
4439 | configure:12959: result: /bin/dd |
---|
4440 | configure:12963: checking how to truncate binary pipes |
---|
4441 | configure:12979: result: /bin/dd bs=4096 count=1 |
---|
4442 | configure:13316: checking for mt |
---|
4443 | configure:13351: result: no |
---|
4444 | configure:13371: checking if : is a manifest tool |
---|
4445 | configure:13378: : '-?' |
---|
4446 | configure:13386: result: no |
---|
4447 | configure:13447: checking for dsymutil |
---|
4448 | configure:13468: found /usr/bin/dsymutil |
---|
4449 | configure:13479: result: dsymutil |
---|
4450 | configure:13549: checking for nmedit |
---|
4451 | configure:13570: found /opt/local/bin/nmedit |
---|
4452 | configure:13581: result: nmedit |
---|
4453 | configure:13651: checking for lipo |
---|
4454 | configure:13672: found /opt/local/bin/lipo |
---|
4455 | configure:13683: result: lipo |
---|
4456 | configure:13753: checking for otool |
---|
4457 | configure:13774: found /opt/local/bin/otool |
---|
4458 | configure:13785: result: otool |
---|
4459 | configure:13855: checking for otool64 |
---|
4460 | configure:13876: found /usr/bin/otool64 |
---|
4461 | configure:13887: result: otool64 |
---|
4462 | configure:13935: checking for -single_module linker flag |
---|
4463 | /opt/local/bin/gcc-apple-4.2 -std=gnu99 -pipe -Os -I/opt/local/include/LegacySupport -arch ppc -L/opt/local/lib -Wl,-headerpad_max_install_names -lMacportsLegacySupport -arch ppc -o libconftest.dylib -dynamiclib -Wl,-single_module conftest.c |
---|
4464 | configure:13969: result: yes |
---|
4465 | configure:13972: checking for -exported_symbols_list linker flag |
---|
4466 | configure:13993: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -o conftest -pipe -Os -I/opt/local/include/LegacySupport -arch ppc -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport -L/opt/local/lib -Wl,-headerpad_max_install_names -lMacportsLegacySupport -arch ppc -Wl,-exported_symbols_list,conftest.sym conftest.c >&5 |
---|
4467 | configure:13993: $? = 0 |
---|
4468 | configure:14004: result: yes |
---|
4469 | configure:14007: checking for -force_load linker flag |
---|
4470 | /opt/local/bin/gcc-apple-4.2 -std=gnu99 -pipe -Os -I/opt/local/include/LegacySupport -arch ppc -c -o conftest.o conftest.c |
---|
4471 | ar cr libconftest.a conftest.o |
---|
4472 | ranlib libconftest.a |
---|
4473 | /opt/local/bin/gcc-apple-4.2 -std=gnu99 -pipe -Os -I/opt/local/include/LegacySupport -arch ppc -L/opt/local/lib -Wl,-headerpad_max_install_names -lMacportsLegacySupport -arch ppc -o conftest conftest.c -Wl,-force_load,./libconftest.a |
---|
4474 | configure:14040: result: yes |
---|
4475 | configure:14107: checking for dlfcn.h |
---|
4476 | configure:14107: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -c -pipe -Os -I/opt/local/include/LegacySupport -arch ppc -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport conftest.c >&5 |
---|
4477 | configure:14107: $? = 0 |
---|
4478 | configure:14107: result: yes |
---|
4479 | configure:14377: checking for objdir |
---|
4480 | configure:14393: result: .libs |
---|
4481 | configure:14657: checking if /opt/local/bin/gcc-apple-4.2 -std=gnu99 supports -fno-rtti -fno-exceptions |
---|
4482 | configure:14676: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -c -pipe -Os -I/opt/local/include/LegacySupport -arch ppc -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport -fno-rtti -fno-exceptions conftest.c >&5 |
---|
4483 | cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C |
---|
4484 | configure:14680: $? = 0 |
---|
4485 | configure:14693: result: no |
---|
4486 | configure:15051: checking for /opt/local/bin/gcc-apple-4.2 -std=gnu99 option to produce PIC |
---|
4487 | configure:15059: result: -fno-common -DPIC |
---|
4488 | configure:15067: checking if /opt/local/bin/gcc-apple-4.2 -std=gnu99 PIC flag -fno-common -DPIC works |
---|
4489 | configure:15086: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -c -pipe -Os -I/opt/local/include/LegacySupport -arch ppc -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport -fno-common -DPIC -DPIC conftest.c >&5 |
---|
4490 | configure:15090: $? = 0 |
---|
4491 | configure:15103: result: yes |
---|
4492 | configure:15132: checking if /opt/local/bin/gcc-apple-4.2 -std=gnu99 static flag -static works |
---|
4493 | configure:15161: result: no |
---|
4494 | configure:15176: checking if /opt/local/bin/gcc-apple-4.2 -std=gnu99 supports -c -o file.o |
---|
4495 | configure:15198: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -c -pipe -Os -I/opt/local/include/LegacySupport -arch ppc -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport -o out/conftest2.o conftest.c >&5 |
---|
4496 | configure:15202: $? = 0 |
---|
4497 | configure:15224: result: yes |
---|
4498 | configure:15232: checking if /opt/local/bin/gcc-apple-4.2 -std=gnu99 supports -c -o file.o |
---|
4499 | configure:15280: result: yes |
---|
4500 | configure:15313: checking whether the /opt/local/bin/gcc-apple-4.2 -std=gnu99 linker (/opt/local/libexec/apple-gcc42/gcc/powerpc-apple-darwin8/4.2.4/ld) supports shared libraries |
---|
4501 | configure:16581: result: yes |
---|
4502 | configure:16822: checking dynamic linker characteristics |
---|
4503 | configure:17646: result: darwin8.11.0 dyld |
---|
4504 | configure:17768: checking how to hardcode library paths into programs |
---|
4505 | configure:17793: result: immediate |
---|
4506 | configure:18345: checking whether stripping libraries is possible |
---|
4507 | configure:18362: result: yes |
---|
4508 | configure:18396: checking if libtool supports shared libraries |
---|
4509 | configure:18398: result: yes |
---|
4510 | configure:18401: checking whether to build shared libraries |
---|
4511 | configure:18426: result: no |
---|
4512 | configure:18429: checking whether to build static libraries |
---|
4513 | configure:18433: result: yes |
---|
4514 | configure:18456: checking how to run the C++ preprocessor |
---|
4515 | configure:18478: /opt/local/bin/g++-apple-4.2 -E -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport conftest.cpp |
---|
4516 | configure:18478: $? = 0 |
---|
4517 | configure:18493: /opt/local/bin/g++-apple-4.2 -E -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport conftest.cpp |
---|
4518 | conftest.cpp:40:28: error: ac_nonexistent.h: No such file or directory |
---|
4519 | configure:18493: $? = 1 |
---|
4520 | configure: failed program was: |
---|
4521 | | /* confdefs.h */ |
---|
4522 | | #define PACKAGE_NAME "util-linux" |
---|
4523 | | #define PACKAGE_TARNAME "util-linux" |
---|
4524 | | #define PACKAGE_VERSION "2.40.1" |
---|
4525 | | #define PACKAGE_STRING "util-linux 2.40.1" |
---|
4526 | | #define PACKAGE_BUGREPORT "kzak@redhat.com" |
---|
4527 | | #define PACKAGE_URL "https://www.kernel.org/pub/linux/utils/util-linux/" |
---|
4528 | | #define HAVE_STDIO_H 1 |
---|
4529 | | #define HAVE_STDLIB_H 1 |
---|
4530 | | #define HAVE_STRING_H 1 |
---|
4531 | | #define HAVE_INTTYPES_H 1 |
---|
4532 | | #define HAVE_STDINT_H 1 |
---|
4533 | | #define HAVE_STRINGS_H 1 |
---|
4534 | | #define HAVE_SYS_STAT_H 1 |
---|
4535 | | #define HAVE_SYS_TYPES_H 1 |
---|
4536 | | #define HAVE_UNISTD_H 1 |
---|
4537 | | #define HAVE_WCHAR_H 1 |
---|
4538 | | #define STDC_HEADERS 1 |
---|
4539 | | #define _ALL_SOURCE 1 |
---|
4540 | | #define _DARWIN_C_SOURCE 1 |
---|
4541 | | #define _GNU_SOURCE 1 |
---|
4542 | | #define _HPUX_ALT_XOPEN_SOCKET_API 1 |
---|
4543 | | #define _NETBSD_SOURCE 1 |
---|
4544 | | #define _OPENBSD_SOURCE 1 |
---|
4545 | | #define _POSIX_PTHREAD_SEMANTICS 1 |
---|
4546 | | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 |
---|
4547 | | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 |
---|
4548 | | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 |
---|
4549 | | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 |
---|
4550 | | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 |
---|
4551 | | #define __STDC_WANT_LIB_EXT2__ 1 |
---|
4552 | | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 |
---|
4553 | | #define _TANDEM_SOURCE 1 |
---|
4554 | | #define __EXTENSIONS__ 1 |
---|
4555 | | #define PACKAGE "util-linux" |
---|
4556 | | #define VERSION "2.40.1" |
---|
4557 | | #define HAVE_DLFCN_H 1 |
---|
4558 | | #define LT_OBJDIR ".libs/" |
---|
4559 | | /* end confdefs.h. */ |
---|
4560 | | #include <ac_nonexistent.h> |
---|
4561 | configure:18520: result: /opt/local/bin/g++-apple-4.2 -E |
---|
4562 | configure:18534: /opt/local/bin/g++-apple-4.2 -E -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport conftest.cpp |
---|
4563 | configure:18534: $? = 0 |
---|
4564 | configure:18549: /opt/local/bin/g++-apple-4.2 -E -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport conftest.cpp |
---|
4565 | conftest.cpp:40:28: error: ac_nonexistent.h: No such file or directory |
---|
4566 | configure:18549: $? = 1 |
---|
4567 | configure: failed program was: |
---|
4568 | | /* confdefs.h */ |
---|
4569 | | #define PACKAGE_NAME "util-linux" |
---|
4570 | | #define PACKAGE_TARNAME "util-linux" |
---|
4571 | | #define PACKAGE_VERSION "2.40.1" |
---|
4572 | | #define PACKAGE_STRING "util-linux 2.40.1" |
---|
4573 | | #define PACKAGE_BUGREPORT "kzak@redhat.com" |
---|
4574 | | #define PACKAGE_URL "https://www.kernel.org/pub/linux/utils/util-linux/" |
---|
4575 | | #define HAVE_STDIO_H 1 |
---|
4576 | | #define HAVE_STDLIB_H 1 |
---|
4577 | | #define HAVE_STRING_H 1 |
---|
4578 | | #define HAVE_INTTYPES_H 1 |
---|
4579 | | #define HAVE_STDINT_H 1 |
---|
4580 | | #define HAVE_STRINGS_H 1 |
---|
4581 | | #define HAVE_SYS_STAT_H 1 |
---|
4582 | | #define HAVE_SYS_TYPES_H 1 |
---|
4583 | | #define HAVE_UNISTD_H 1 |
---|
4584 | | #define HAVE_WCHAR_H 1 |
---|
4585 | | #define STDC_HEADERS 1 |
---|
4586 | | #define _ALL_SOURCE 1 |
---|
4587 | | #define _DARWIN_C_SOURCE 1 |
---|
4588 | | #define _GNU_SOURCE 1 |
---|
4589 | | #define _HPUX_ALT_XOPEN_SOCKET_API 1 |
---|
4590 | | #define _NETBSD_SOURCE 1 |
---|
4591 | | #define _OPENBSD_SOURCE 1 |
---|
4592 | | #define _POSIX_PTHREAD_SEMANTICS 1 |
---|
4593 | | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 |
---|
4594 | | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 |
---|
4595 | | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 |
---|
4596 | | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 |
---|
4597 | | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 |
---|
4598 | | #define __STDC_WANT_LIB_EXT2__ 1 |
---|
4599 | | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 |
---|
4600 | | #define _TANDEM_SOURCE 1 |
---|
4601 | | #define __EXTENSIONS__ 1 |
---|
4602 | | #define PACKAGE "util-linux" |
---|
4603 | | #define VERSION "2.40.1" |
---|
4604 | | #define HAVE_DLFCN_H 1 |
---|
4605 | | #define LT_OBJDIR ".libs/" |
---|
4606 | | /* end confdefs.h. */ |
---|
4607 | | #include <ac_nonexistent.h> |
---|
4608 | configure:18714: checking for ld used by /opt/local/bin/g++-apple-4.2 |
---|
4609 | configure:18782: result: /opt/local/libexec/apple-gcc42/gcc/powerpc-apple-darwin8/4.2.4/ld |
---|
4610 | configure:18789: checking if the linker (/opt/local/libexec/apple-gcc42/gcc/powerpc-apple-darwin8/4.2.4/ld) is GNU ld |
---|
4611 | configure:18805: result: no |
---|
4612 | configure:18860: checking whether the /opt/local/bin/g++-apple-4.2 linker (/opt/local/libexec/apple-gcc42/gcc/powerpc-apple-darwin8/4.2.4/ld) supports shared libraries |
---|
4613 | configure:19938: result: yes |
---|
4614 | configure:19974: /opt/local/bin/g++-apple-4.2 -c -pipe -Os -arch ppc -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport conftest.cpp >&5 |
---|
4615 | configure:19977: $? = 0 |
---|
4616 | configure:20458: checking for /opt/local/bin/g++-apple-4.2 option to produce PIC |
---|
4617 | configure:20466: result: -fno-common -DPIC |
---|
4618 | configure:20474: checking if /opt/local/bin/g++-apple-4.2 PIC flag -fno-common -DPIC works |
---|
4619 | configure:20493: /opt/local/bin/g++-apple-4.2 -c -pipe -Os -arch ppc -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport -fno-common -DPIC -DPIC conftest.cpp >&5 |
---|
4620 | configure:20497: $? = 0 |
---|
4621 | configure:20510: result: yes |
---|
4622 | configure:20533: checking if /opt/local/bin/g++-apple-4.2 static flag -static works |
---|
4623 | configure:20562: result: no |
---|
4624 | configure:20574: checking if /opt/local/bin/g++-apple-4.2 supports -c -o file.o |
---|
4625 | configure:20596: /opt/local/bin/g++-apple-4.2 -c -pipe -Os -arch ppc -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport -o out/conftest2.o conftest.cpp >&5 |
---|
4626 | configure:20600: $? = 0 |
---|
4627 | configure:20622: result: yes |
---|
4628 | configure:20627: checking if /opt/local/bin/g++-apple-4.2 supports -c -o file.o |
---|
4629 | configure:20675: result: yes |
---|
4630 | configure:20705: checking whether the /opt/local/bin/g++-apple-4.2 linker (/opt/local/libexec/apple-gcc42/gcc/powerpc-apple-darwin8/4.2.4/ld) supports shared libraries |
---|
4631 | configure:20745: result: yes |
---|
4632 | configure:20887: checking dynamic linker characteristics |
---|
4633 | configure:21638: result: darwin8.11.0 dyld |
---|
4634 | configure:21703: checking how to hardcode library paths into programs |
---|
4635 | configure:21728: result: immediate |
---|
4636 | configure:21807: checking linker version script flag |
---|
4637 | configure:21842: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -o conftest -pipe -Os -I/opt/local/include/LegacySupport -arch ppc -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport -L/opt/local/lib -Wl,-headerpad_max_install_names -lMacportsLegacySupport -arch ppc -Wl,--version-script,conftest.map conftest.c >&5 |
---|
4638 | ld: unknown option: --version-script |
---|
4639 | collect2: ld returned 1 exit status |
---|
4640 | configure:21842: $? = 1 |
---|
4641 | configure: failed program was: |
---|
4642 | | /* confdefs.h */ |
---|
4643 | | #define PACKAGE_NAME "util-linux" |
---|
4644 | | #define PACKAGE_TARNAME "util-linux" |
---|
4645 | | #define PACKAGE_VERSION "2.40.1" |
---|
4646 | | #define PACKAGE_STRING "util-linux 2.40.1" |
---|
4647 | | #define PACKAGE_BUGREPORT "kzak@redhat.com" |
---|
4648 | | #define PACKAGE_URL "https://www.kernel.org/pub/linux/utils/util-linux/" |
---|
4649 | | #define HAVE_STDIO_H 1 |
---|
4650 | | #define HAVE_STDLIB_H 1 |
---|
4651 | | #define HAVE_STRING_H 1 |
---|
4652 | | #define HAVE_INTTYPES_H 1 |
---|
4653 | | #define HAVE_STDINT_H 1 |
---|
4654 | | #define HAVE_STRINGS_H 1 |
---|
4655 | | #define HAVE_SYS_STAT_H 1 |
---|
4656 | | #define HAVE_SYS_TYPES_H 1 |
---|
4657 | | #define HAVE_UNISTD_H 1 |
---|
4658 | | #define HAVE_WCHAR_H 1 |
---|
4659 | | #define STDC_HEADERS 1 |
---|
4660 | | #define _ALL_SOURCE 1 |
---|
4661 | | #define _DARWIN_C_SOURCE 1 |
---|
4662 | | #define _GNU_SOURCE 1 |
---|
4663 | | #define _HPUX_ALT_XOPEN_SOCKET_API 1 |
---|
4664 | | #define _NETBSD_SOURCE 1 |
---|
4665 | | #define _OPENBSD_SOURCE 1 |
---|
4666 | | #define _POSIX_PTHREAD_SEMANTICS 1 |
---|
4667 | | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 |
---|
4668 | | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 |
---|
4669 | | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 |
---|
4670 | | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 |
---|
4671 | | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 |
---|
4672 | | #define __STDC_WANT_LIB_EXT2__ 1 |
---|
4673 | | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 |
---|
4674 | | #define _TANDEM_SOURCE 1 |
---|
4675 | | #define __EXTENSIONS__ 1 |
---|
4676 | | #define PACKAGE "util-linux" |
---|
4677 | | #define VERSION "2.40.1" |
---|
4678 | | #define HAVE_DLFCN_H 1 |
---|
4679 | | #define LT_OBJDIR ".libs/" |
---|
4680 | | /* end confdefs.h. */ |
---|
4681 | | int show, hide; |
---|
4682 | | int |
---|
4683 | | main (void) |
---|
4684 | | { |
---|
4685 | | |
---|
4686 | | ; |
---|
4687 | | return 0; |
---|
4688 | | } |
---|
4689 | configure:21889: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -o conftest -pipe -Os -I/opt/local/include/LegacySupport -arch ppc -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport -L/opt/local/lib -Wl,-headerpad_max_install_names -lMacportsLegacySupport -arch ppc -Wl,-M,conftest.map conftest.c >&5 |
---|
4690 | ld: warning: in conftest.map, file was built for unsupported file format which is not the architecture being linked (ppc) |
---|
4691 | configure:21889: $? = 0 |
---|
4692 | configure:21938: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -o conftest -pipe -Os -I/opt/local/include/LegacySupport -arch ppc -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport -L/opt/local/lib -Wl,-headerpad_max_install_names -lMacportsLegacySupport -arch ppc -Wl,-M,conftest.map conftest.c >&5 |
---|
4693 | ld: warning: in conftest.map, file was built for unsupported file format which is not the architecture being linked (ppc) |
---|
4694 | configure:21938: $? = 0 |
---|
4695 | configure:21957: result: unsupported |
---|
4696 | configure:22128: checking for pkg-config |
---|
4697 | configure:22151: found /opt/local/bin/pkg-config |
---|
4698 | configure:22163: result: /opt/local/bin/pkg-config |
---|
4699 | configure:22188: checking pkg-config is at least version 0.9.0 |
---|
4700 | configure:22191: result: yes |
---|
4701 | configure:22251: checking whether to build gtk-doc documentation |
---|
4702 | configure:22253: result: no |
---|
4703 | configure:22260: checking for gtkdoc-check |
---|
4704 | configure:22283: found /opt/local/bin/gtkdoc-check |
---|
4705 | configure:22295: result: /opt/local/bin/gtkdoc-check |
---|
4706 | configure:22326: checking for xsltproc |
---|
4707 | configure:22349: found /opt/local/bin/xsltproc |
---|
4708 | configure:22361: result: /opt/local/bin/xsltproc |
---|
4709 | configure:22552: checking for special C compiler options needed for large files |
---|
4710 | configure:22600: result: no |
---|
4711 | configure:22606: checking for _FILE_OFFSET_BITS value needed for large files |
---|
4712 | configure:22632: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -c -pipe -Os -I/opt/local/include/LegacySupport -arch ppc -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport conftest.c >&5 |
---|
4713 | configure:22632: $? = 0 |
---|
4714 | configure:22666: result: no |
---|
4715 | configure:22749: checking whether to enable assertions |
---|
4716 | configure:22770: result: yes |
---|
4717 | configure:22773: checking whether struct tm is in sys/time.h or time.h |
---|
4718 | configure:22794: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -c -pipe -Os -I/opt/local/include/LegacySupport -arch ppc -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport conftest.c >&5 |
---|
4719 | configure:22794: $? = 0 |
---|
4720 | configure:22802: result: time.h |
---|
4721 | configure:22810: checking for /opt/local/bin/gcc-apple-4.2 -std=gnu99 options needed to detect all undeclared functions |
---|
4722 | configure:22832: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -c -pipe -Os -I/opt/local/include/LegacySupport -arch ppc -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport conftest.c >&5 |
---|
4723 | conftest.c: In function 'main': |
---|
4724 | conftest.c:45: error: 'strchr' undeclared (first use in this function) |
---|
4725 | conftest.c:45: error: (Each undeclared identifier is reported only once |
---|
4726 | conftest.c:45: error: for each function it appears in.) |
---|
4727 | configure:22832: $? = 1 |
---|
4728 | configure: failed program was: |
---|
4729 | | /* confdefs.h */ |
---|
4730 | | #define PACKAGE_NAME "util-linux" |
---|
4731 | | #define PACKAGE_TARNAME "util-linux" |
---|
4732 | | #define PACKAGE_VERSION "2.40.1" |
---|
4733 | | #define PACKAGE_STRING "util-linux 2.40.1" |
---|
4734 | | #define PACKAGE_BUGREPORT "kzak@redhat.com" |
---|
4735 | | #define PACKAGE_URL "https://www.kernel.org/pub/linux/utils/util-linux/" |
---|
4736 | | #define HAVE_STDIO_H 1 |
---|
4737 | | #define HAVE_STDLIB_H 1 |
---|
4738 | | #define HAVE_STRING_H 1 |
---|
4739 | | #define HAVE_INTTYPES_H 1 |
---|
4740 | | #define HAVE_STDINT_H 1 |
---|
4741 | | #define HAVE_STRINGS_H 1 |
---|
4742 | | #define HAVE_SYS_STAT_H 1 |
---|
4743 | | #define HAVE_SYS_TYPES_H 1 |
---|
4744 | | #define HAVE_UNISTD_H 1 |
---|
4745 | | #define HAVE_WCHAR_H 1 |
---|
4746 | | #define STDC_HEADERS 1 |
---|
4747 | | #define _ALL_SOURCE 1 |
---|
4748 | | #define _DARWIN_C_SOURCE 1 |
---|
4749 | | #define _GNU_SOURCE 1 |
---|
4750 | | #define _HPUX_ALT_XOPEN_SOCKET_API 1 |
---|
4751 | | #define _NETBSD_SOURCE 1 |
---|
4752 | | #define _OPENBSD_SOURCE 1 |
---|
4753 | | #define _POSIX_PTHREAD_SEMANTICS 1 |
---|
4754 | | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 |
---|
4755 | | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 |
---|
4756 | | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 |
---|
4757 | | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 |
---|
4758 | | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 |
---|
4759 | | #define __STDC_WANT_LIB_EXT2__ 1 |
---|
4760 | | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 |
---|
4761 | | #define _TANDEM_SOURCE 1 |
---|
4762 | | #define __EXTENSIONS__ 1 |
---|
4763 | | #define PACKAGE "util-linux" |
---|
4764 | | #define VERSION "2.40.1" |
---|
4765 | | #define HAVE_DLFCN_H 1 |
---|
4766 | | #define LT_OBJDIR ".libs/" |
---|
4767 | | #define _DARWIN_C_SOURCE 1 |
---|
4768 | | /* end confdefs.h. */ |
---|
4769 | | |
---|
4770 | | int |
---|
4771 | | main (void) |
---|
4772 | | { |
---|
4773 | | (void) strchr; |
---|
4774 | | ; |
---|
4775 | | return 0; |
---|
4776 | | } |
---|
4777 | configure:22859: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -c -pipe -Os -I/opt/local/include/LegacySupport -arch ppc -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport conftest.c >&5 |
---|
4778 | configure:22859: $? = 0 |
---|
4779 | configure:22876: result: none needed |
---|
4780 | configure:22890: checking for struct tm.tm_zone |
---|
4781 | configure:22890: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -c -pipe -Os -I/opt/local/include/LegacySupport -arch ppc -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport conftest.c >&5 |
---|
4782 | configure:22890: $? = 0 |
---|
4783 | configure:22890: result: yes |
---|
4784 | configure:22959: checking for /opt/local/bin/gcc-apple-4.2 -std=gnu99 option for timestamps after 2038 |
---|
4785 | configure:22991: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -c -pipe -Os -I/opt/local/include/LegacySupport -arch ppc -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport conftest.c >&5 |
---|
4786 | conftest.c:48: warning: integer overflow in expression |
---|
4787 | conftest.c:48: warning: integer overflow in expression |
---|
4788 | conftest.c:48: warning: integer overflow in expression |
---|
4789 | conftest.c:50: error: size of array 'verify_time_t_range' is negative |
---|
4790 | configure:22991: $? = 1 |
---|
4791 | configure: failed program was: |
---|
4792 | | /* confdefs.h */ |
---|
4793 | | #define PACKAGE_NAME "util-linux" |
---|
4794 | | #define PACKAGE_TARNAME "util-linux" |
---|
4795 | | #define PACKAGE_VERSION "2.40.1" |
---|
4796 | | #define PACKAGE_STRING "util-linux 2.40.1" |
---|
4797 | | #define PACKAGE_BUGREPORT "kzak@redhat.com" |
---|
4798 | | #define PACKAGE_URL "https://www.kernel.org/pub/linux/utils/util-linux/" |
---|
4799 | | #define HAVE_STDIO_H 1 |
---|
4800 | | #define HAVE_STDLIB_H 1 |
---|
4801 | | #define HAVE_STRING_H 1 |
---|
4802 | | #define HAVE_INTTYPES_H 1 |
---|
4803 | | #define HAVE_STDINT_H 1 |
---|
4804 | | #define HAVE_STRINGS_H 1 |
---|
4805 | | #define HAVE_SYS_STAT_H 1 |
---|
4806 | | #define HAVE_SYS_TYPES_H 1 |
---|
4807 | | #define HAVE_UNISTD_H 1 |
---|
4808 | | #define HAVE_WCHAR_H 1 |
---|
4809 | | #define STDC_HEADERS 1 |
---|
4810 | | #define _ALL_SOURCE 1 |
---|
4811 | | #define _DARWIN_C_SOURCE 1 |
---|
4812 | | #define _GNU_SOURCE 1 |
---|
4813 | | #define _HPUX_ALT_XOPEN_SOCKET_API 1 |
---|
4814 | | #define _NETBSD_SOURCE 1 |
---|
4815 | | #define _OPENBSD_SOURCE 1 |
---|
4816 | | #define _POSIX_PTHREAD_SEMANTICS 1 |
---|
4817 | | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 |
---|
4818 | | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 |
---|
4819 | | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 |
---|
4820 | | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 |
---|
4821 | | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 |
---|
4822 | | #define __STDC_WANT_LIB_EXT2__ 1 |
---|
4823 | | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 |
---|
4824 | | #define _TANDEM_SOURCE 1 |
---|
4825 | | #define __EXTENSIONS__ 1 |
---|
4826 | | #define PACKAGE "util-linux" |
---|
4827 | | #define VERSION "2.40.1" |
---|
4828 | | #define HAVE_DLFCN_H 1 |
---|
4829 | | #define LT_OBJDIR ".libs/" |
---|
4830 | | #define _DARWIN_C_SOURCE 1 |
---|
4831 | | #define HAVE_STRUCT_TM_TM_ZONE 1 |
---|
4832 | | #define HAVE_TM_ZONE 1 |
---|
4833 | | /* end confdefs.h. */ |
---|
4834 | | |
---|
4835 | | #include <time.h> |
---|
4836 | | /* Check that time_t can represent 2**32 - 1 correctly. */ |
---|
4837 | | #define LARGE_TIME_T \ |
---|
4838 | | ((time_t) (((time_t) 1 << 30) - 1 + 3 * ((time_t) 1 << 30))) |
---|
4839 | | int verify_time_t_range[(LARGE_TIME_T / 65537 == 65535 |
---|
4840 | | && LARGE_TIME_T % 65537 == 0) |
---|
4841 | | ? 1 : -1]; |
---|
4842 | | |
---|
4843 | | int |
---|
4844 | | main (void) |
---|
4845 | | { |
---|
4846 | | |
---|
4847 | | ; |
---|
4848 | | return 0; |
---|
4849 | | } |
---|
4850 | configure:22991: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -c -pipe -Os -I/opt/local/include/LegacySupport -arch ppc -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport -D_TIME_BITS=64 conftest.c >&5 |
---|
4851 | conftest.c:48: warning: integer overflow in expression |
---|
4852 | conftest.c:48: warning: integer overflow in expression |
---|
4853 | conftest.c:48: warning: integer overflow in expression |
---|
4854 | conftest.c:50: error: size of array 'verify_time_t_range' is negative |
---|
4855 | configure:22991: $? = 1 |
---|
4856 | configure: failed program was: |
---|
4857 | | /* confdefs.h */ |
---|
4858 | | #define PACKAGE_NAME "util-linux" |
---|
4859 | | #define PACKAGE_TARNAME "util-linux" |
---|
4860 | | #define PACKAGE_VERSION "2.40.1" |
---|
4861 | | #define PACKAGE_STRING "util-linux 2.40.1" |
---|
4862 | | #define PACKAGE_BUGREPORT "kzak@redhat.com" |
---|
4863 | | #define PACKAGE_URL "https://www.kernel.org/pub/linux/utils/util-linux/" |
---|
4864 | | #define HAVE_STDIO_H 1 |
---|
4865 | | #define HAVE_STDLIB_H 1 |
---|
4866 | | #define HAVE_STRING_H 1 |
---|
4867 | | #define HAVE_INTTYPES_H 1 |
---|
4868 | | #define HAVE_STDINT_H 1 |
---|
4869 | | #define HAVE_STRINGS_H 1 |
---|
4870 | | #define HAVE_SYS_STAT_H 1 |
---|
4871 | | #define HAVE_SYS_TYPES_H 1 |
---|
4872 | | #define HAVE_UNISTD_H 1 |
---|
4873 | | #define HAVE_WCHAR_H 1 |
---|
4874 | | #define STDC_HEADERS 1 |
---|
4875 | | #define _ALL_SOURCE 1 |
---|
4876 | | #define _DARWIN_C_SOURCE 1 |
---|
4877 | | #define _GNU_SOURCE 1 |
---|
4878 | | #define _HPUX_ALT_XOPEN_SOCKET_API 1 |
---|
4879 | | #define _NETBSD_SOURCE 1 |
---|
4880 | | #define _OPENBSD_SOURCE 1 |
---|
4881 | | #define _POSIX_PTHREAD_SEMANTICS 1 |
---|
4882 | | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 |
---|
4883 | | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 |
---|
4884 | | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 |
---|
4885 | | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 |
---|
4886 | | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 |
---|
4887 | | #define __STDC_WANT_LIB_EXT2__ 1 |
---|
4888 | | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 |
---|
4889 | | #define _TANDEM_SOURCE 1 |
---|
4890 | | #define __EXTENSIONS__ 1 |
---|
4891 | | #define PACKAGE "util-linux" |
---|
4892 | | #define VERSION "2.40.1" |
---|
4893 | | #define HAVE_DLFCN_H 1 |
---|
4894 | | #define LT_OBJDIR ".libs/" |
---|
4895 | | #define _DARWIN_C_SOURCE 1 |
---|
4896 | | #define HAVE_STRUCT_TM_TM_ZONE 1 |
---|
4897 | | #define HAVE_TM_ZONE 1 |
---|
4898 | | /* end confdefs.h. */ |
---|
4899 | | |
---|
4900 | | #include <time.h> |
---|
4901 | | /* Check that time_t can represent 2**32 - 1 correctly. */ |
---|
4902 | | #define LARGE_TIME_T \ |
---|
4903 | | ((time_t) (((time_t) 1 << 30) - 1 + 3 * ((time_t) 1 << 30))) |
---|
4904 | | int verify_time_t_range[(LARGE_TIME_T / 65537 == 65535 |
---|
4905 | | && LARGE_TIME_T % 65537 == 0) |
---|
4906 | | ? 1 : -1]; |
---|
4907 | | |
---|
4908 | | int |
---|
4909 | | main (void) |
---|
4910 | | { |
---|
4911 | | |
---|
4912 | | ; |
---|
4913 | | return 0; |
---|
4914 | | } |
---|
4915 | configure:22991: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -c -pipe -Os -I/opt/local/include/LegacySupport -arch ppc -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport -D__MINGW_USE_VC2005_COMPAT conftest.c >&5 |
---|
4916 | conftest.c:48: warning: integer overflow in expression |
---|
4917 | conftest.c:48: warning: integer overflow in expression |
---|
4918 | conftest.c:48: warning: integer overflow in expression |
---|
4919 | conftest.c:50: error: size of array 'verify_time_t_range' is negative |
---|
4920 | configure:22991: $? = 1 |
---|
4921 | configure: failed program was: |
---|
4922 | | /* confdefs.h */ |
---|
4923 | | #define PACKAGE_NAME "util-linux" |
---|
4924 | | #define PACKAGE_TARNAME "util-linux" |
---|
4925 | | #define PACKAGE_VERSION "2.40.1" |
---|
4926 | | #define PACKAGE_STRING "util-linux 2.40.1" |
---|
4927 | | #define PACKAGE_BUGREPORT "kzak@redhat.com" |
---|
4928 | | #define PACKAGE_URL "https://www.kernel.org/pub/linux/utils/util-linux/" |
---|
4929 | | #define HAVE_STDIO_H 1 |
---|
4930 | | #define HAVE_STDLIB_H 1 |
---|
4931 | | #define HAVE_STRING_H 1 |
---|
4932 | | #define HAVE_INTTYPES_H 1 |
---|
4933 | | #define HAVE_STDINT_H 1 |
---|
4934 | | #define HAVE_STRINGS_H 1 |
---|
4935 | | #define HAVE_SYS_STAT_H 1 |
---|
4936 | | #define HAVE_SYS_TYPES_H 1 |
---|
4937 | | #define HAVE_UNISTD_H 1 |
---|
4938 | | #define HAVE_WCHAR_H 1 |
---|
4939 | | #define STDC_HEADERS 1 |
---|
4940 | | #define _ALL_SOURCE 1 |
---|
4941 | | #define _DARWIN_C_SOURCE 1 |
---|
4942 | | #define _GNU_SOURCE 1 |
---|
4943 | | #define _HPUX_ALT_XOPEN_SOCKET_API 1 |
---|
4944 | | #define _NETBSD_SOURCE 1 |
---|
4945 | | #define _OPENBSD_SOURCE 1 |
---|
4946 | | #define _POSIX_PTHREAD_SEMANTICS 1 |
---|
4947 | | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 |
---|
4948 | | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 |
---|
4949 | | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 |
---|
4950 | | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 |
---|
4951 | | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 |
---|
4952 | | #define __STDC_WANT_LIB_EXT2__ 1 |
---|
4953 | | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 |
---|
4954 | | #define _TANDEM_SOURCE 1 |
---|
4955 | | #define __EXTENSIONS__ 1 |
---|
4956 | | #define PACKAGE "util-linux" |
---|
4957 | | #define VERSION "2.40.1" |
---|
4958 | | #define HAVE_DLFCN_H 1 |
---|
4959 | | #define LT_OBJDIR ".libs/" |
---|
4960 | | #define _DARWIN_C_SOURCE 1 |
---|
4961 | | #define HAVE_STRUCT_TM_TM_ZONE 1 |
---|
4962 | | #define HAVE_TM_ZONE 1 |
---|
4963 | | /* end confdefs.h. */ |
---|
4964 | | |
---|
4965 | | #include <time.h> |
---|
4966 | | /* Check that time_t can represent 2**32 - 1 correctly. */ |
---|
4967 | | #define LARGE_TIME_T \ |
---|
4968 | | ((time_t) (((time_t) 1 << 30) - 1 + 3 * ((time_t) 1 << 30))) |
---|
4969 | | int verify_time_t_range[(LARGE_TIME_T / 65537 == 65535 |
---|
4970 | | && LARGE_TIME_T % 65537 == 0) |
---|
4971 | | ? 1 : -1]; |
---|
4972 | | |
---|
4973 | | int |
---|
4974 | | main (void) |
---|
4975 | | { |
---|
4976 | | |
---|
4977 | | ; |
---|
4978 | | return 0; |
---|
4979 | | } |
---|
4980 | configure:22991: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -c -pipe -Os -I/opt/local/include/LegacySupport -arch ppc -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport -U_USE_32_BIT_TIME_T -D__MINGW_USE_VC2005_COMPAT conftest.c >&5 |
---|
4981 | conftest.c:48: warning: integer overflow in expression |
---|
4982 | conftest.c:48: warning: integer overflow in expression |
---|
4983 | conftest.c:48: warning: integer overflow in expression |
---|
4984 | conftest.c:50: error: size of array 'verify_time_t_range' is negative |
---|
4985 | configure:22991: $? = 1 |
---|
4986 | configure: failed program was: |
---|
4987 | | /* confdefs.h */ |
---|
4988 | | #define PACKAGE_NAME "util-linux" |
---|
4989 | | #define PACKAGE_TARNAME "util-linux" |
---|
4990 | | #define PACKAGE_VERSION "2.40.1" |
---|
4991 | | #define PACKAGE_STRING "util-linux 2.40.1" |
---|
4992 | | #define PACKAGE_BUGREPORT "kzak@redhat.com" |
---|
4993 | | #define PACKAGE_URL "https://www.kernel.org/pub/linux/utils/util-linux/" |
---|
4994 | | #define HAVE_STDIO_H 1 |
---|
4995 | | #define HAVE_STDLIB_H 1 |
---|
4996 | | #define HAVE_STRING_H 1 |
---|
4997 | | #define HAVE_INTTYPES_H 1 |
---|
4998 | | #define HAVE_STDINT_H 1 |
---|
4999 | | #define HAVE_STRINGS_H 1 |
---|
5000 | | #define HAVE_SYS_STAT_H 1 |
---|
5001 | | #define HAVE_SYS_TYPES_H 1 |
---|
5002 | | #define HAVE_UNISTD_H 1 |
---|
5003 | | #define HAVE_WCHAR_H 1 |
---|
5004 | | #define STDC_HEADERS 1 |
---|
5005 | | #define _ALL_SOURCE 1 |
---|
5006 | | #define _DARWIN_C_SOURCE 1 |
---|
5007 | | #define _GNU_SOURCE 1 |
---|
5008 | | #define _HPUX_ALT_XOPEN_SOCKET_API 1 |
---|
5009 | | #define _NETBSD_SOURCE 1 |
---|
5010 | | #define _OPENBSD_SOURCE 1 |
---|
5011 | | #define _POSIX_PTHREAD_SEMANTICS 1 |
---|
5012 | | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 |
---|
5013 | | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 |
---|
5014 | | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 |
---|
5015 | | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 |
---|
5016 | | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 |
---|
5017 | | #define __STDC_WANT_LIB_EXT2__ 1 |
---|
5018 | | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 |
---|
5019 | | #define _TANDEM_SOURCE 1 |
---|
5020 | | #define __EXTENSIONS__ 1 |
---|
5021 | | #define PACKAGE "util-linux" |
---|
5022 | | #define VERSION "2.40.1" |
---|
5023 | | #define HAVE_DLFCN_H 1 |
---|
5024 | | #define LT_OBJDIR ".libs/" |
---|
5025 | | #define _DARWIN_C_SOURCE 1 |
---|
5026 | | #define HAVE_STRUCT_TM_TM_ZONE 1 |
---|
5027 | | #define HAVE_TM_ZONE 1 |
---|
5028 | | /* end confdefs.h. */ |
---|
5029 | | |
---|
5030 | | #include <time.h> |
---|
5031 | | /* Check that time_t can represent 2**32 - 1 correctly. */ |
---|
5032 | | #define LARGE_TIME_T \ |
---|
5033 | | ((time_t) (((time_t) 1 << 30) - 1 + 3 * ((time_t) 1 << 30))) |
---|
5034 | | int verify_time_t_range[(LARGE_TIME_T / 65537 == 65535 |
---|
5035 | | && LARGE_TIME_T % 65537 == 0) |
---|
5036 | | ? 1 : -1]; |
---|
5037 | | |
---|
5038 | | int |
---|
5039 | | main (void) |
---|
5040 | | { |
---|
5041 | | |
---|
5042 | | ; |
---|
5043 | | return 0; |
---|
5044 | | } |
---|
5045 | configure:23002: result: support not detected |
---|
5046 | configure:23061: error: in `/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_devel_util-linux/util-linux/work/util-linux-2.40.1': |
---|
5047 | configure:23063: error: could not enable timestamps after mid-January 2038. |
---|
5048 | This package recommends support for these later |
---|
5049 | timestamps. However, to proceed with signed 32-bit |
---|
5050 | time_t even though it will fail then, configure with |
---|
5051 | '--disable-year2038'. |
---|
5052 | See `config.log' for more details |
---|
5053 | |
---|
5054 | ## ---------------- ## |
---|
5055 | ## Cache variables. ## |
---|
5056 | ## ---------------- ## |
---|
5057 | |
---|
5058 | ac_cv_build=powerpc-apple-darwin8.11.0 |
---|
5059 | ac_cv_c_compiler_gnu=yes |
---|
5060 | ac_cv_c_const=yes |
---|
5061 | ac_cv_c_undeclared_builtin_options='none needed' |
---|
5062 | ac_cv_c_volatile=yes |
---|
5063 | ac_cv_cxx_compiler_gnu=yes |
---|
5064 | ac_cv_env_ADJTIME_PATH_set= |
---|
5065 | ac_cv_env_ADJTIME_PATH_value= |
---|
5066 | ac_cv_env_CCC_set= |
---|
5067 | ac_cv_env_CCC_value= |
---|
5068 | ac_cv_env_CC_set=set |
---|
5069 | ac_cv_env_CC_value=/opt/local/bin/gcc-apple-4.2 |
---|
5070 | ac_cv_env_CFLAGS_set=set |
---|
5071 | ac_cv_env_CFLAGS_value='-pipe -Os -I/opt/local/include/LegacySupport -arch ppc' |
---|
5072 | ac_cv_env_CPPFLAGS_set=set |
---|
5073 | ac_cv_env_CPPFLAGS_value='-I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport' |
---|
5074 | ac_cv_env_CPP_set= |
---|
5075 | ac_cv_env_CPP_value= |
---|
5076 | ac_cv_env_CRYPTSETUP_CFLAGS_set= |
---|
5077 | ac_cv_env_CRYPTSETUP_CFLAGS_value= |
---|
5078 | ac_cv_env_CRYPTSETUP_LIBS_set= |
---|
5079 | ac_cv_env_CRYPTSETUP_LIBS_value= |
---|
5080 | ac_cv_env_CXXCPP_set= |
---|
5081 | ac_cv_env_CXXCPP_value= |
---|
5082 | ac_cv_env_CXXFLAGS_set=set |
---|
5083 | ac_cv_env_CXXFLAGS_value='-pipe -Os -arch ppc' |
---|
5084 | ac_cv_env_CXX_set=set |
---|
5085 | ac_cv_env_CXX_value=/opt/local/bin/g++-apple-4.2 |
---|
5086 | ac_cv_env_DAEMON_CFLAGS_set= |
---|
5087 | ac_cv_env_DAEMON_CFLAGS_value= |
---|
5088 | ac_cv_env_DAEMON_LDFLAGS_set= |
---|
5089 | ac_cv_env_DAEMON_LDFLAGS_value= |
---|
5090 | ac_cv_env_ECONF_CFLAGS_set= |
---|
5091 | ac_cv_env_ECONF_CFLAGS_value= |
---|
5092 | ac_cv_env_ECONF_LIBS_set= |
---|
5093 | ac_cv_env_ECONF_LIBS_value= |
---|
5094 | ac_cv_env_LDFLAGS_set=set |
---|
5095 | ac_cv_env_LDFLAGS_value='-L/opt/local/lib -Wl,-headerpad_max_install_names -lMacportsLegacySupport -arch ppc' |
---|
5096 | ac_cv_env_LIBS_set= |
---|
5097 | ac_cv_env_LIBS_value= |
---|
5098 | ac_cv_env_LIBUSER_CFLAGS_set= |
---|
5099 | ac_cv_env_LIBUSER_CFLAGS_value= |
---|
5100 | ac_cv_env_LIBUSER_LIBS_set= |
---|
5101 | ac_cv_env_LIBUSER_LIBS_value= |
---|
5102 | ac_cv_env_LT_SYS_LIBRARY_PATH_set= |
---|
5103 | ac_cv_env_LT_SYS_LIBRARY_PATH_value= |
---|
5104 | ac_cv_env_NCURSESW_CFLAGS_set= |
---|
5105 | ac_cv_env_NCURSESW_CFLAGS_value= |
---|
5106 | ac_cv_env_NCURSESW_LIBS_set= |
---|
5107 | ac_cv_env_NCURSESW_LIBS_value= |
---|
5108 | ac_cv_env_NCURSES_CFLAGS_set= |
---|
5109 | ac_cv_env_NCURSES_CFLAGS_value= |
---|
5110 | ac_cv_env_NCURSES_LIBS_set= |
---|
5111 | ac_cv_env_NCURSES_LIBS_value= |
---|
5112 | ac_cv_env_PKG_CONFIG_LIBDIR_set= |
---|
5113 | ac_cv_env_PKG_CONFIG_LIBDIR_value= |
---|
5114 | ac_cv_env_PKG_CONFIG_PATH_set= |
---|
5115 | ac_cv_env_PKG_CONFIG_PATH_value= |
---|
5116 | ac_cv_env_PKG_CONFIG_set= |
---|
5117 | ac_cv_env_PKG_CONFIG_value= |
---|
5118 | ac_cv_env_PYTHON_CFLAGS_set= |
---|
5119 | ac_cv_env_PYTHON_CFLAGS_value= |
---|
5120 | ac_cv_env_PYTHON_LIBS_set= |
---|
5121 | ac_cv_env_PYTHON_LIBS_value= |
---|
5122 | ac_cv_env_PYTHON_set= |
---|
5123 | ac_cv_env_PYTHON_value= |
---|
5124 | ac_cv_env_SELINUX_CFLAGS_set= |
---|
5125 | ac_cv_env_SELINUX_CFLAGS_value= |
---|
5126 | ac_cv_env_SELINUX_LIBS_set= |
---|
5127 | ac_cv_env_SELINUX_LIBS_value= |
---|
5128 | ac_cv_env_SOLIB_CFLAGS_set= |
---|
5129 | ac_cv_env_SOLIB_CFLAGS_value= |
---|
5130 | ac_cv_env_SOLIB_LDFLAGS_set= |
---|
5131 | ac_cv_env_SOLIB_LDFLAGS_value= |
---|
5132 | ac_cv_env_SQLITE3_CFLAGS_set= |
---|
5133 | ac_cv_env_SQLITE3_CFLAGS_value= |
---|
5134 | ac_cv_env_SQLITE3_LIBS_set= |
---|
5135 | ac_cv_env_SQLITE3_LIBS_value= |
---|
5136 | ac_cv_env_SUID_CFLAGS_set= |
---|
5137 | ac_cv_env_SUID_CFLAGS_value= |
---|
5138 | ac_cv_env_SUID_LDFLAGS_set= |
---|
5139 | ac_cv_env_SUID_LDFLAGS_value= |
---|
5140 | ac_cv_env_SYSCONFSTATICDIR_set= |
---|
5141 | ac_cv_env_SYSCONFSTATICDIR_value= |
---|
5142 | ac_cv_env_SYSTEMD_CFLAGS_set= |
---|
5143 | ac_cv_env_SYSTEMD_CFLAGS_value= |
---|
5144 | ac_cv_env_SYSTEMD_DAEMON_CFLAGS_set= |
---|
5145 | ac_cv_env_SYSTEMD_DAEMON_CFLAGS_value= |
---|
5146 | ac_cv_env_SYSTEMD_DAEMON_LIBS_set= |
---|
5147 | ac_cv_env_SYSTEMD_DAEMON_LIBS_value= |
---|
5148 | ac_cv_env_SYSTEMD_JOURNAL_CFLAGS_set= |
---|
5149 | ac_cv_env_SYSTEMD_JOURNAL_CFLAGS_value= |
---|
5150 | ac_cv_env_SYSTEMD_JOURNAL_LIBS_set= |
---|
5151 | ac_cv_env_SYSTEMD_JOURNAL_LIBS_value= |
---|
5152 | ac_cv_env_SYSTEMD_LIBS_set= |
---|
5153 | ac_cv_env_SYSTEMD_LIBS_value= |
---|
5154 | ac_cv_env_TINFOW_CFLAGS_set= |
---|
5155 | ac_cv_env_TINFOW_CFLAGS_value= |
---|
5156 | ac_cv_env_TINFOW_LIBS_set= |
---|
5157 | ac_cv_env_TINFOW_LIBS_value= |
---|
5158 | ac_cv_env_TINFO_CFLAGS_set= |
---|
5159 | ac_cv_env_TINFO_CFLAGS_value= |
---|
5160 | ac_cv_env_TINFO_LIBS_set= |
---|
5161 | ac_cv_env_TINFO_LIBS_value= |
---|
5162 | ac_cv_env_YACC_set= |
---|
5163 | ac_cv_env_YACC_value= |
---|
5164 | ac_cv_env_YFLAGS_set= |
---|
5165 | ac_cv_env_YFLAGS_value= |
---|
5166 | ac_cv_env_build_alias_set= |
---|
5167 | ac_cv_env_build_alias_value= |
---|
5168 | ac_cv_env_host_alias_set= |
---|
5169 | ac_cv_env_host_alias_value= |
---|
5170 | ac_cv_env_target_alias_set= |
---|
5171 | ac_cv_env_target_alias_value= |
---|
5172 | ac_cv_env_with_bashcompletiondir_set= |
---|
5173 | ac_cv_env_with_bashcompletiondir_value= |
---|
5174 | ac_cv_env_with_systemdsystemunitdir_set= |
---|
5175 | ac_cv_env_with_systemdsystemunitdir_value= |
---|
5176 | ac_cv_env_with_tmpfilesdir_set= |
---|
5177 | ac_cv_env_with_tmpfilesdir_value= |
---|
5178 | ac_cv_header_dlfcn_h=yes |
---|
5179 | ac_cv_header_inttypes_h=yes |
---|
5180 | ac_cv_header_minix_config_h=no |
---|
5181 | ac_cv_header_stdint_h=yes |
---|
5182 | ac_cv_header_stdio_h=yes |
---|
5183 | ac_cv_header_stdlib_h=yes |
---|
5184 | ac_cv_header_string_h=yes |
---|
5185 | ac_cv_header_strings_h=yes |
---|
5186 | ac_cv_header_sys_stat_h=yes |
---|
5187 | ac_cv_header_sys_types_h=yes |
---|
5188 | ac_cv_header_unistd_h=yes |
---|
5189 | ac_cv_header_wchar_h=yes |
---|
5190 | ac_cv_host=powerpc-apple-darwin8.11.0 |
---|
5191 | ac_cv_member_struct_tm_tm_zone=yes |
---|
5192 | ac_cv_objext=o |
---|
5193 | ac_cv_path_BISON=/opt/local/bin/bison |
---|
5194 | ac_cv_path_EGREP='/opt/local/bin/ggrep -E' |
---|
5195 | ac_cv_path_FGREP='/opt/local/bin/ggrep -F' |
---|
5196 | ac_cv_path_FLEX=/opt/local/bin/flex |
---|
5197 | ac_cv_path_GREP=/opt/local/bin/ggrep |
---|
5198 | ac_cv_path_GTKDOC_CHECK=/opt/local/bin/gtkdoc-check |
---|
5199 | ac_cv_path_SED=/opt/local/bin/gsed |
---|
5200 | ac_cv_path_XSLTPROC=/opt/local/bin/xsltproc |
---|
5201 | ac_cv_path_ac_pt_PKG_CONFIG=/opt/local/bin/pkg-config |
---|
5202 | ac_cv_path_lt_DD=/bin/dd |
---|
5203 | ac_cv_path_mkdir=/opt/local/bin/gmkdir |
---|
5204 | ac_cv_prog_AWK=gawk |
---|
5205 | ac_cv_prog_CPP='/opt/local/bin/gcc-apple-4.2 -std=gnu99 -E' |
---|
5206 | ac_cv_prog_CXXCPP='/opt/local/bin/g++-apple-4.2 -E' |
---|
5207 | ac_cv_prog_YACC='bison -y' |
---|
5208 | ac_cv_prog_ac_ct_AR=ar |
---|
5209 | ac_cv_prog_ac_ct_CC=/opt/local/bin/gcc-apple-4.2 |
---|
5210 | ac_cv_prog_ac_ct_DSYMUTIL=dsymutil |
---|
5211 | ac_cv_prog_ac_ct_FILECMD=file |
---|
5212 | ac_cv_prog_ac_ct_LIPO=lipo |
---|
5213 | ac_cv_prog_ac_ct_NMEDIT=nmedit |
---|
5214 | ac_cv_prog_ac_ct_OTOOL64=otool64 |
---|
5215 | ac_cv_prog_ac_ct_OTOOL=otool |
---|
5216 | ac_cv_prog_ac_ct_RANLIB=ranlib |
---|
5217 | ac_cv_prog_ac_ct_STRIP=strip |
---|
5218 | ac_cv_prog_cc_c11=no |
---|
5219 | ac_cv_prog_cc_c99=-std=gnu99 |
---|
5220 | ac_cv_prog_cc_g=yes |
---|
5221 | ac_cv_prog_cc_stdc=-std=gnu99 |
---|
5222 | ac_cv_prog_cxx_cxx11=no |
---|
5223 | ac_cv_prog_cxx_cxx98=no |
---|
5224 | ac_cv_prog_cxx_g=yes |
---|
5225 | ac_cv_prog_make_make_set=yes |
---|
5226 | ac_cv_safe_to_define___extensions__=yes |
---|
5227 | ac_cv_should_define__xopen_source=no |
---|
5228 | ac_cv_struct_tm=time.h |
---|
5229 | ac_cv_sys_file_offset_bits=no |
---|
5230 | ac_cv_sys_largefile_CC=no |
---|
5231 | ac_cv_sys_year2038_opts='support not detected' |
---|
5232 | am_cv_CC_dependencies_compiler_type=gcc3 |
---|
5233 | am_cv_CXX_dependencies_compiler_type=gcc3 |
---|
5234 | am_cv_ar_interface=ar |
---|
5235 | am_cv_make_support_nested_variables=yes |
---|
5236 | am_cv_prog_cc_c_o=yes |
---|
5237 | am_cv_prog_tar_pax=gnutar |
---|
5238 | ax_cv_check_vscript_flag=unsupported |
---|
5239 | lt_cv_apple_cc_single_mod=yes |
---|
5240 | lt_cv_ar_at_file=no |
---|
5241 | lt_cv_deplibs_check_method=pass_all |
---|
5242 | lt_cv_file_magic_cmd='$MAGIC_CMD' |
---|
5243 | lt_cv_file_magic_test_file= |
---|
5244 | lt_cv_ld_exported_symbols_list=yes |
---|
5245 | lt_cv_ld_force_load=yes |
---|
5246 | lt_cv_ld_reload_flag=-r |
---|
5247 | lt_cv_nm_interface='BSD nm' |
---|
5248 | lt_cv_objdir=.libs |
---|
5249 | lt_cv_path_LD=/opt/local/libexec/apple-gcc42/gcc/powerpc-apple-darwin8/4.2.4/ld |
---|
5250 | lt_cv_path_LDCXX=/opt/local/libexec/apple-gcc42/gcc/powerpc-apple-darwin8/4.2.4/ld |
---|
5251 | lt_cv_path_NM='/usr/bin/nm -p' |
---|
5252 | lt_cv_path_mainfest_tool=no |
---|
5253 | lt_cv_prog_compiler_c_o=yes |
---|
5254 | lt_cv_prog_compiler_c_o_CXX=yes |
---|
5255 | lt_cv_prog_compiler_pic='-fno-common -DPIC' |
---|
5256 | lt_cv_prog_compiler_pic_CXX='-fno-common -DPIC' |
---|
5257 | lt_cv_prog_compiler_pic_works=yes |
---|
5258 | lt_cv_prog_compiler_pic_works_CXX=yes |
---|
5259 | lt_cv_prog_compiler_rtti_exceptions=no |
---|
5260 | lt_cv_prog_compiler_static_works=no |
---|
5261 | lt_cv_prog_compiler_static_works_CXX=no |
---|
5262 | lt_cv_prog_gnu_ld=no |
---|
5263 | lt_cv_prog_gnu_ldcxx=no |
---|
5264 | lt_cv_sharedlib_from_linklib_cmd='printf %s\n' |
---|
5265 | lt_cv_sys_global_symbol_pipe='/opt/local/bin/gsed -n -e '\''s/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p'\'' | /opt/local/bin/gsed '\''/ __gnu_lto/d'\''' |
---|
5266 | lt_cv_sys_global_symbol_to_c_name_address='/opt/local/bin/gsed -n -e '\''s/^: \(.*\) .*$/ {"\1", (void *) 0},/p'\'' -e '\''s/^[BCDEGRST][BCDEGRST]* .* \(.*\)$/ {"\1", (void *) \&\1},/p'\''' |
---|
5267 | lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='/opt/local/bin/gsed -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'\''' |
---|
5268 | lt_cv_sys_global_symbol_to_cdecl='/opt/local/bin/gsed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[BCDEGRST][BCDEGRST]* .* \(.*\)$/extern char \1;/p'\''' |
---|
5269 | lt_cv_sys_global_symbol_to_import= |
---|
5270 | lt_cv_sys_max_cmd_len=196608 |
---|
5271 | lt_cv_to_host_file_cmd=func_convert_file_noop |
---|
5272 | lt_cv_to_tool_file_cmd=func_convert_file_noop |
---|
5273 | lt_cv_truncate_bin='/bin/dd bs=4096 count=1' |
---|
5274 | ul_cv_warn__Waddress_of_packed_member=no |
---|
5275 | ul_cv_warn__Wall=yes |
---|
5276 | ul_cv_warn__Walloca=no |
---|
5277 | ul_cv_warn__Wdiscarded_qualifiers=no |
---|
5278 | ul_cv_warn__Wembedded_directive=no |
---|
5279 | ul_cv_warn__Werror_sequence_point=yes |
---|
5280 | ul_cv_warn__Wextra=yes |
---|
5281 | ul_cv_warn__Wextra_semi=no |
---|
5282 | ul_cv_warn__Wformat_security=yes |
---|
5283 | ul_cv_warn__Wimplicit_function_declaration=yes |
---|
5284 | ul_cv_warn__Wmissing_declarations=yes |
---|
5285 | ul_cv_warn__Wmissing_parameter_type=no |
---|
5286 | ul_cv_warn__Wmissing_prototypes=yes |
---|
5287 | ul_cv_warn__Wnested_externs=yes |
---|
5288 | ul_cv_warn__Wno_cast_function_type=no |
---|
5289 | ul_cv_warn__Wno_clobbered=no |
---|
5290 | ul_cv_warn__Wno_missing_field_initializers=yes |
---|
5291 | ul_cv_warn__Wold_style_definition=yes |
---|
5292 | ul_cv_warn__Wpointer_arith=yes |
---|
5293 | ul_cv_warn__Wredundant_decls=yes |
---|
5294 | ul_cv_warn__Wsign_compare=yes |
---|
5295 | ul_cv_warn__Wstrict_prototypes=yes |
---|
5296 | ul_cv_warn__Wtype_limits=no |
---|
5297 | ul_cv_warn__Wuninitialized=no |
---|
5298 | ul_cv_warn__Wunused_but_set_parameter=no |
---|
5299 | ul_cv_warn__Wunused_but_set_variable=no |
---|
5300 | ul_cv_warn__Wunused_parameter=yes |
---|
5301 | ul_cv_warn__Wunused_result=no |
---|
5302 | ul_cv_warn__Wunused_variable=yes |
---|
5303 | ul_cv_warn__Wvla=no |
---|
5304 | ul_cv_warn__fno_common=yes |
---|
5305 | |
---|
5306 | ## ----------------- ## |
---|
5307 | ## Output variables. ## |
---|
5308 | ## ----------------- ## |
---|
5309 | |
---|
5310 | ACLOCAL='${SHELL} '\''/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_devel_util-linux/util-linux/work/util-linux-2.40.1/config/missing'\'' aclocal-1.16' |
---|
5311 | ADJTIME_PATH='' |
---|
5312 | AMDEPBACKSLASH='\' |
---|
5313 | AMDEP_FALSE='#' |
---|
5314 | AMDEP_TRUE='' |
---|
5315 | AMTAR='$${TAR-tar}' |
---|
5316 | AM_BACKSLASH='\' |
---|
5317 | AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' |
---|
5318 | AM_DEFAULT_VERBOSITY='1' |
---|
5319 | AM_V='$(V)' |
---|
5320 | AR='ar' |
---|
5321 | ARCH_86_64_FALSE='' |
---|
5322 | ARCH_86_64_TRUE='#' |
---|
5323 | ARCH_HPPA_FALSE='' |
---|
5324 | ARCH_HPPA_TRUE='#' |
---|
5325 | ARCH_I86_FALSE='' |
---|
5326 | ARCH_I86_TRUE='#' |
---|
5327 | ARCH_IA64_FALSE='' |
---|
5328 | ARCH_IA64_TRUE='#' |
---|
5329 | ARCH_M68K_FALSE='' |
---|
5330 | ARCH_M68K_TRUE='#' |
---|
5331 | ARCH_MIPS_FALSE='' |
---|
5332 | ARCH_MIPS_TRUE='#' |
---|
5333 | ARCH_PPC_FALSE='#' |
---|
5334 | ARCH_PPC_TRUE='' |
---|
5335 | ARCH_S390_FALSE='' |
---|
5336 | ARCH_S390_TRUE='#' |
---|
5337 | ARCH_SPARC_FALSE='' |
---|
5338 | ARCH_SPARC_TRUE='#' |
---|
5339 | ASAN_LDFLAGS='' |
---|
5340 | ASCIIDOCTOR='' |
---|
5341 | AUTOCONF='${SHELL} '\''/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_devel_util-linux/util-linux/work/util-linux-2.40.1/config/missing'\'' autoconf' |
---|
5342 | AUTOHEADER='${SHELL} '\''/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_devel_util-linux/util-linux/work/util-linux-2.40.1/config/missing'\'' autoheader' |
---|
5343 | AUTOMAKE='${SHELL} '\''/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_devel_util-linux/util-linux/work/util-linux-2.40.1/config/missing'\'' automake-1.16' |
---|
5344 | AWK='gawk' |
---|
5345 | BISON='/opt/local/bin/bison' |
---|
5346 | BSD_FALSE='' |
---|
5347 | BSD_TRUE='#' |
---|
5348 | BSD_WARN_CFLAGS='' |
---|
5349 | BUILD_AGETTY_FALSE='' |
---|
5350 | BUILD_AGETTY_TRUE='' |
---|
5351 | BUILD_BASH_COMPLETION_FALSE='' |
---|
5352 | BUILD_BASH_COMPLETION_TRUE='' |
---|
5353 | BUILD_BFS_FALSE='' |
---|
5354 | BUILD_BFS_TRUE='' |
---|
5355 | BUILD_BLKDISCARD_FALSE='' |
---|
5356 | BUILD_BLKDISCARD_TRUE='' |
---|
5357 | BUILD_BLKID_FALSE='' |
---|
5358 | BUILD_BLKID_TRUE='' |
---|
5359 | BUILD_BLKPR_FALSE='' |
---|
5360 | BUILD_BLKPR_TRUE='' |
---|
5361 | BUILD_BLKZONE_FALSE='' |
---|
5362 | BUILD_BLKZONE_TRUE='' |
---|
5363 | BUILD_BLOCKDEV_FALSE='' |
---|
5364 | BUILD_BLOCKDEV_TRUE='' |
---|
5365 | BUILD_CAL_FALSE='' |
---|
5366 | BUILD_CAL_TRUE='' |
---|
5367 | BUILD_CFDISK_FALSE='' |
---|
5368 | BUILD_CFDISK_TRUE='' |
---|
5369 | BUILD_CHCPU_FALSE='' |
---|
5370 | BUILD_CHCPU_TRUE='' |
---|
5371 | BUILD_CHFN_CHSH_FALSE='' |
---|
5372 | BUILD_CHFN_CHSH_TRUE='' |
---|
5373 | BUILD_CHMEM_FALSE='' |
---|
5374 | BUILD_CHMEM_TRUE='' |
---|
5375 | BUILD_CHOOM_FALSE='' |
---|
5376 | BUILD_CHOOM_TRUE='' |
---|
5377 | BUILD_CHRT_FALSE='' |
---|
5378 | BUILD_CHRT_TRUE='' |
---|
5379 | BUILD_COLCRT_FALSE='' |
---|
5380 | BUILD_COLCRT_TRUE='' |
---|
5381 | BUILD_COLRM_FALSE='' |
---|
5382 | BUILD_COLRM_TRUE='' |
---|
5383 | BUILD_COLUMN_FALSE='' |
---|
5384 | BUILD_COLUMN_TRUE='' |
---|
5385 | BUILD_COL_FALSE='' |
---|
5386 | BUILD_COL_TRUE='' |
---|
5387 | BUILD_CRAMFS_FALSE='' |
---|
5388 | BUILD_CRAMFS_TRUE='' |
---|
5389 | BUILD_CTRLALTDEL_FALSE='' |
---|
5390 | BUILD_CTRLALTDEL_TRUE='' |
---|
5391 | BUILD_DMESG_FALSE='' |
---|
5392 | BUILD_DMESG_TRUE='' |
---|
5393 | BUILD_EJECT_FALSE='' |
---|
5394 | BUILD_EJECT_TRUE='' |
---|
5395 | BUILD_ENOSYS_FALSE='' |
---|
5396 | BUILD_ENOSYS_TRUE='' |
---|
5397 | BUILD_EXCH_FALSE='' |
---|
5398 | BUILD_EXCH_TRUE='' |
---|
5399 | BUILD_FADVISE_FALSE='' |
---|
5400 | BUILD_FADVISE_TRUE='' |
---|
5401 | BUILD_FALLOCATE_FALSE='' |
---|
5402 | BUILD_FALLOCATE_TRUE='' |
---|
5403 | BUILD_FDFORMAT_FALSE='' |
---|
5404 | BUILD_FDFORMAT_TRUE='' |
---|
5405 | BUILD_FDISK_FALSE='' |
---|
5406 | BUILD_FDISK_TRUE='' |
---|
5407 | BUILD_FINCORE_FALSE='' |
---|
5408 | BUILD_FINCORE_TRUE='' |
---|
5409 | BUILD_FINDFS_FALSE='' |
---|
5410 | BUILD_FINDFS_TRUE='' |
---|
5411 | BUILD_FINDMNT_FALSE='' |
---|
5412 | BUILD_FINDMNT_TRUE='' |
---|
5413 | BUILD_FLOCK_FALSE='' |
---|
5414 | BUILD_FLOCK_TRUE='' |
---|
5415 | BUILD_FSCK_FALSE='' |
---|
5416 | BUILD_FSCK_TRUE='' |
---|
5417 | BUILD_FSFREEZE_FALSE='' |
---|
5418 | BUILD_FSFREEZE_TRUE='' |
---|
5419 | BUILD_FSTRIM_FALSE='' |
---|
5420 | BUILD_FSTRIM_TRUE='' |
---|
5421 | BUILD_GETOPT_FALSE='' |
---|
5422 | BUILD_GETOPT_TRUE='' |
---|
5423 | BUILD_HARDLINK_FALSE='' |
---|
5424 | BUILD_HARDLINK_TRUE='' |
---|
5425 | BUILD_HEXDUMP_FALSE='' |
---|
5426 | BUILD_HEXDUMP_TRUE='' |
---|
5427 | BUILD_HWCLOCK_FALSE='' |
---|
5428 | BUILD_HWCLOCK_TRUE='' |
---|
5429 | BUILD_IONICE_FALSE='' |
---|
5430 | BUILD_IONICE_TRUE='' |
---|
5431 | BUILD_IPCMK_FALSE='' |
---|
5432 | BUILD_IPCMK_TRUE='' |
---|
5433 | BUILD_IPCRM_FALSE='' |
---|
5434 | BUILD_IPCRM_TRUE='' |
---|
5435 | BUILD_IPCS_FALSE='' |
---|
5436 | BUILD_IPCS_TRUE='' |
---|
5437 | BUILD_IRQTOP_FALSE='' |
---|
5438 | BUILD_IRQTOP_TRUE='' |
---|
5439 | BUILD_ISOSIZE_FALSE='' |
---|
5440 | BUILD_ISOSIZE_TRUE='' |
---|
5441 | BUILD_KILL_FALSE='' |
---|
5442 | BUILD_KILL_TRUE='' |
---|
5443 | BUILD_LAST_FALSE='' |
---|
5444 | BUILD_LAST_TRUE='' |
---|
5445 | BUILD_LDATTACH_FALSE='' |
---|
5446 | BUILD_LDATTACH_TRUE='' |
---|
5447 | BUILD_LIBBLKID_FALSE='' |
---|
5448 | BUILD_LIBBLKID_TESTS_FALSE='' |
---|
5449 | BUILD_LIBBLKID_TESTS_TRUE='' |
---|
5450 | BUILD_LIBBLKID_TRUE='' |
---|
5451 | BUILD_LIBFDISK_FALSE='' |
---|
5452 | BUILD_LIBFDISK_TESTS_FALSE='' |
---|
5453 | BUILD_LIBFDISK_TESTS_TRUE='' |
---|
5454 | BUILD_LIBFDISK_TRUE='' |
---|
5455 | BUILD_LIBLASTLOG2_FALSE='' |
---|
5456 | BUILD_LIBLASTLOG2_TESTS_FALSE='' |
---|
5457 | BUILD_LIBLASTLOG2_TESTS_TRUE='' |
---|
5458 | BUILD_LIBLASTLOG2_TRUE='' |
---|
5459 | BUILD_LIBMOUNT_FALSE='' |
---|
5460 | BUILD_LIBMOUNT_TESTS_FALSE='' |
---|
5461 | BUILD_LIBMOUNT_TESTS_TRUE='' |
---|
5462 | BUILD_LIBMOUNT_TRUE='' |
---|
5463 | BUILD_LIBSMARTCOLS_FALSE='' |
---|
5464 | BUILD_LIBSMARTCOLS_TRUE='' |
---|
5465 | BUILD_LIBUUID_FALSE='' |
---|
5466 | BUILD_LIBUUID_TRUE='' |
---|
5467 | BUILD_LINE_FALSE='' |
---|
5468 | BUILD_LINE_TRUE='' |
---|
5469 | BUILD_LOGGER_FALSE='' |
---|
5470 | BUILD_LOGGER_TRUE='' |
---|
5471 | BUILD_LOGIN_FALSE='' |
---|
5472 | BUILD_LOGIN_TRUE='' |
---|
5473 | BUILD_LOOK_FALSE='' |
---|
5474 | BUILD_LOOK_TRUE='' |
---|
5475 | BUILD_LOSETUP_FALSE='' |
---|
5476 | BUILD_LOSETUP_TRUE='' |
---|
5477 | BUILD_LSBLK_FALSE='' |
---|
5478 | BUILD_LSBLK_TRUE='' |
---|
5479 | BUILD_LSCLOCKS_FALSE='' |
---|
5480 | BUILD_LSCLOCKS_TRUE='' |
---|
5481 | BUILD_LSCPU_FALSE='' |
---|
5482 | BUILD_LSCPU_TRUE='' |
---|
5483 | BUILD_LSFD_FALSE='' |
---|
5484 | BUILD_LSFD_TRUE='' |
---|
5485 | BUILD_LSIPC_FALSE='' |
---|
5486 | BUILD_LSIPC_TRUE='' |
---|
5487 | BUILD_LSIRQ_FALSE='' |
---|
5488 | BUILD_LSIRQ_TRUE='' |
---|
5489 | BUILD_LSLOCKS_FALSE='' |
---|
5490 | BUILD_LSLOCKS_TRUE='' |
---|
5491 | BUILD_LSLOGINS_FALSE='' |
---|
5492 | BUILD_LSLOGINS_TRUE='' |
---|
5493 | BUILD_LSMEM_FALSE='' |
---|
5494 | BUILD_LSMEM_TRUE='' |
---|
5495 | BUILD_LSNS_FALSE='' |
---|
5496 | BUILD_LSNS_TRUE='' |
---|
5497 | BUILD_MCOOKIE_FALSE='' |
---|
5498 | BUILD_MCOOKIE_TRUE='' |
---|
5499 | BUILD_MESG_FALSE='' |
---|
5500 | BUILD_MESG_TRUE='' |
---|
5501 | BUILD_MINIX_FALSE='' |
---|
5502 | BUILD_MINIX_TRUE='' |
---|
5503 | BUILD_MKFS_FALSE='' |
---|
5504 | BUILD_MKFS_TRUE='' |
---|
5505 | BUILD_MKSWAP_FALSE='' |
---|
5506 | BUILD_MKSWAP_TRUE='' |
---|
5507 | BUILD_MORE_FALSE='' |
---|
5508 | BUILD_MORE_TRUE='' |
---|
5509 | BUILD_MOUNTPOINT_FALSE='' |
---|
5510 | BUILD_MOUNTPOINT_TRUE='' |
---|
5511 | BUILD_MOUNT_FALSE='' |
---|
5512 | BUILD_MOUNT_TRUE='' |
---|
5513 | BUILD_NAMEI_FALSE='' |
---|
5514 | BUILD_NAMEI_TRUE='' |
---|
5515 | BUILD_NEWGRP_FALSE='' |
---|
5516 | BUILD_NEWGRP_TRUE='' |
---|
5517 | BUILD_NOLOGIN_FALSE='' |
---|
5518 | BUILD_NOLOGIN_TRUE='' |
---|
5519 | BUILD_NSENTER_FALSE='' |
---|
5520 | BUILD_NSENTER_TRUE='' |
---|
5521 | BUILD_PAM_LASTLOG2_FALSE='' |
---|
5522 | BUILD_PAM_LASTLOG2_TRUE='' |
---|
5523 | BUILD_PARTX_FALSE='' |
---|
5524 | BUILD_PARTX_TRUE='' |
---|
5525 | BUILD_PG_FALSE='' |
---|
5526 | BUILD_PG_TRUE='' |
---|
5527 | BUILD_PIPESZ_FALSE='' |
---|
5528 | BUILD_PIPESZ_TRUE='' |
---|
5529 | BUILD_PIVOT_ROOT_FALSE='' |
---|
5530 | BUILD_PIVOT_ROOT_TRUE='' |
---|
5531 | BUILD_PRLIMIT_FALSE='' |
---|
5532 | BUILD_PRLIMIT_TRUE='' |
---|
5533 | BUILD_PYLIBMOUNT_FALSE='' |
---|
5534 | BUILD_PYLIBMOUNT_TRUE='' |
---|
5535 | BUILD_RAW_FALSE='' |
---|
5536 | BUILD_RAW_TRUE='' |
---|
5537 | BUILD_READPROFILE_FALSE='' |
---|
5538 | BUILD_READPROFILE_TRUE='' |
---|
5539 | BUILD_RENAME_FALSE='' |
---|
5540 | BUILD_RENAME_TRUE='' |
---|
5541 | BUILD_RENICE_FALSE='' |
---|
5542 | BUILD_RENICE_TRUE='' |
---|
5543 | BUILD_REV_FALSE='' |
---|
5544 | BUILD_REV_TRUE='' |
---|
5545 | BUILD_RFKILL_FALSE='' |
---|
5546 | BUILD_RFKILL_TRUE='' |
---|
5547 | BUILD_RTCWAKE_FALSE='' |
---|
5548 | BUILD_RTCWAKE_TRUE='' |
---|
5549 | BUILD_RUNUSER_FALSE='' |
---|
5550 | BUILD_RUNUSER_TRUE='' |
---|
5551 | BUILD_SCRIPTLIVE_FALSE='' |
---|
5552 | BUILD_SCRIPTLIVE_TRUE='' |
---|
5553 | BUILD_SCRIPTREPLAY_FALSE='' |
---|
5554 | BUILD_SCRIPTREPLAY_TRUE='' |
---|
5555 | BUILD_SCRIPT_FALSE='' |
---|
5556 | BUILD_SCRIPT_TRUE='' |
---|
5557 | BUILD_SETARCH_FALSE='' |
---|
5558 | BUILD_SETARCH_TRUE='' |
---|
5559 | BUILD_SETPGID_FALSE='' |
---|
5560 | BUILD_SETPGID_TRUE='' |
---|
5561 | BUILD_SETPRIV_FALSE='' |
---|
5562 | BUILD_SETPRIV_TRUE='' |
---|
5563 | BUILD_SETSID_FALSE='' |
---|
5564 | BUILD_SETSID_TRUE='' |
---|
5565 | BUILD_SETTERM_FALSE='' |
---|
5566 | BUILD_SETTERM_TRUE='' |
---|
5567 | BUILD_SFDISK_FALSE='' |
---|
5568 | BUILD_SFDISK_TRUE='' |
---|
5569 | BUILD_SULOGIN_FALSE='' |
---|
5570 | BUILD_SULOGIN_TRUE='' |
---|
5571 | BUILD_SU_FALSE='' |
---|
5572 | BUILD_SU_TRUE='' |
---|
5573 | BUILD_SWAPLABEL_FALSE='' |
---|
5574 | BUILD_SWAPLABEL_TRUE='' |
---|
5575 | BUILD_SWAPON_FALSE='' |
---|
5576 | BUILD_SWAPON_TRUE='' |
---|
5577 | BUILD_SWITCH_ROOT_FALSE='' |
---|
5578 | BUILD_SWITCH_ROOT_TRUE='' |
---|
5579 | BUILD_TASKSET_FALSE='' |
---|
5580 | BUILD_TASKSET_TRUE='' |
---|
5581 | BUILD_TUNELP_FALSE='' |
---|
5582 | BUILD_TUNELP_TRUE='' |
---|
5583 | BUILD_UCLAMPSET_FALSE='' |
---|
5584 | BUILD_UCLAMPSET_TRUE='' |
---|
5585 | BUILD_UL_FALSE='' |
---|
5586 | BUILD_UL_TRUE='' |
---|
5587 | BUILD_UNSHARE_FALSE='' |
---|
5588 | BUILD_UNSHARE_TRUE='' |
---|
5589 | BUILD_UTMPDUMP_FALSE='' |
---|
5590 | BUILD_UTMPDUMP_TRUE='' |
---|
5591 | BUILD_UUIDD_FALSE='' |
---|
5592 | BUILD_UUIDD_TRUE='' |
---|
5593 | BUILD_UUIDGEN_FALSE='' |
---|
5594 | BUILD_UUIDGEN_TRUE='' |
---|
5595 | BUILD_UUIDPARSE_FALSE='' |
---|
5596 | BUILD_UUIDPARSE_TRUE='' |
---|
5597 | BUILD_VIPW_FALSE='' |
---|
5598 | BUILD_VIPW_TRUE='' |
---|
5599 | BUILD_WAITPID_FALSE='' |
---|
5600 | BUILD_WAITPID_TRUE='' |
---|
5601 | BUILD_WALL_FALSE='' |
---|
5602 | BUILD_WALL_TRUE='' |
---|
5603 | BUILD_WDCTL_FALSE='' |
---|
5604 | BUILD_WDCTL_TRUE='' |
---|
5605 | BUILD_WHEREIS_FALSE='' |
---|
5606 | BUILD_WHEREIS_TRUE='' |
---|
5607 | BUILD_WIPEFS_FALSE='' |
---|
5608 | BUILD_WIPEFS_TRUE='' |
---|
5609 | BUILD_WRITE_FALSE='' |
---|
5610 | BUILD_WRITE_TRUE='' |
---|
5611 | BUILD_ZRAMCTL_FALSE='' |
---|
5612 | BUILD_ZRAMCTL_TRUE='' |
---|
5613 | CC='/opt/local/bin/gcc-apple-4.2 -std=gnu99' |
---|
5614 | CCDEPMODE='depmode=gcc3' |
---|
5615 | CFLAGS='-pipe -Os -I/opt/local/include/LegacySupport -arch ppc' |
---|
5616 | CHFN_CHSH_PASSWORD_FALSE='' |
---|
5617 | CHFN_CHSH_PASSWORD_TRUE='' |
---|
5618 | COVERAGE_LDFLAGS='' |
---|
5619 | CPP='/opt/local/bin/gcc-apple-4.2 -std=gnu99 -E' |
---|
5620 | CPPFLAGS='-I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport' |
---|
5621 | CRYPTSETUP_CFLAGS='' |
---|
5622 | CRYPTSETUP_LIBS='' |
---|
5623 | CRYPTSETUP_LIBS_STATIC='' |
---|
5624 | CRYPTSETUP_VIA_DLOPEN_FALSE='' |
---|
5625 | CRYPTSETUP_VIA_DLOPEN_TRUE='' |
---|
5626 | CSCOPE='cscope' |
---|
5627 | CTAGS='ctags' |
---|
5628 | CXX='/opt/local/bin/g++-apple-4.2' |
---|
5629 | CXXCPP='/opt/local/bin/g++-apple-4.2 -E' |
---|
5630 | CXXDEPMODE='depmode=gcc3' |
---|
5631 | CXXFLAGS='-pipe -Os -arch ppc' |
---|
5632 | CYGPATH_W='echo' |
---|
5633 | DAEMON_CFLAGS='' |
---|
5634 | DAEMON_LDFLAGS='' |
---|
5635 | DARWIN_FALSE='#' |
---|
5636 | DARWIN_TRUE='' |
---|
5637 | DEFS='' |
---|
5638 | DEPDIR='.deps' |
---|
5639 | DLLTOOL='false' |
---|
5640 | DSYMUTIL='dsymutil' |
---|
5641 | DUMPBIN='' |
---|
5642 | ECHO_C='' |
---|
5643 | ECHO_N='-n' |
---|
5644 | ECHO_T='' |
---|
5645 | ECONF_CFLAGS='' |
---|
5646 | ECONF_LIBS='' |
---|
5647 | EGREP='/opt/local/bin/ggrep -E' |
---|
5648 | ENABLE_ASCIIDOC_FALSE='' |
---|
5649 | ENABLE_ASCIIDOC_TRUE='' |
---|
5650 | ENABLE_GTK_DOC_FALSE='' |
---|
5651 | ENABLE_GTK_DOC_TRUE='#' |
---|
5652 | ENABLE_POMAN_FALSE='' |
---|
5653 | ENABLE_POMAN_TRUE='' |
---|
5654 | ETAGS='etags' |
---|
5655 | EXEEXT='' |
---|
5656 | FGREP='/opt/local/bin/ggrep -F' |
---|
5657 | FILECMD='file' |
---|
5658 | FLEX='/opt/local/bin/flex' |
---|
5659 | FUZZING_ENGINE_FALSE='' |
---|
5660 | FUZZING_ENGINE_LDFLAGS='' |
---|
5661 | FUZZING_ENGINE_TRUE='#' |
---|
5662 | GETTEXT_MACRO_VERSION='' |
---|
5663 | GMSGFMT='' |
---|
5664 | GMSGFMT_015='' |
---|
5665 | GREP='/opt/local/bin/ggrep' |
---|
5666 | GTKDOC_CHECK='/opt/local/bin/gtkdoc-check' |
---|
5667 | GTK_DOC_USE_LIBTOOL_FALSE='#' |
---|
5668 | GTK_DOC_USE_LIBTOOL_TRUE='' |
---|
5669 | HAVE_ASCIIDOCTOR_FAILURE_LEVEL_FALSE='' |
---|
5670 | HAVE_ASCIIDOCTOR_FAILURE_LEVEL_TRUE='' |
---|
5671 | HAVE_AUDIT_FALSE='' |
---|
5672 | HAVE_AUDIT_TRUE='' |
---|
5673 | HAVE_BTRFS_FALSE='' |
---|
5674 | HAVE_BTRFS_TRUE='' |
---|
5675 | HAVE_CAP_NG_FALSE='' |
---|
5676 | HAVE_CAP_NG_TRUE='' |
---|
5677 | HAVE_CPU_SET_T_FALSE='' |
---|
5678 | HAVE_CPU_SET_T_TRUE='' |
---|
5679 | HAVE_CRYPTSETUP_FALSE='' |
---|
5680 | HAVE_CRYPTSETUP_TRUE='' |
---|
5681 | HAVE_DIRFD_FALSE='' |
---|
5682 | HAVE_DIRFD_TRUE='' |
---|
5683 | HAVE_ECONF_FALSE='' |
---|
5684 | HAVE_ECONF_TRUE='' |
---|
5685 | HAVE_LANGINFO_H_FALSE='' |
---|
5686 | HAVE_LANGINFO_H_TRUE='' |
---|
5687 | HAVE_LIBCRYPT_FALSE='' |
---|
5688 | HAVE_LIBCRYPT_TRUE='' |
---|
5689 | HAVE_LINUXPAM_FALSE='' |
---|
5690 | HAVE_LINUXPAM_TRUE='' |
---|
5691 | HAVE_LINUX_LANDLOCK_H_FALSE='' |
---|
5692 | HAVE_LINUX_LANDLOCK_H_TRUE='' |
---|
5693 | HAVE_MANPAGES_FALSE='' |
---|
5694 | HAVE_MANPAGES_TRUE='' |
---|
5695 | HAVE_NCURSES_FALSE='' |
---|
5696 | HAVE_NCURSES_TRUE='' |
---|
5697 | HAVE_OPENAT_FALSE='' |
---|
5698 | HAVE_OPENAT_TRUE='' |
---|
5699 | HAVE_PTY_FALSE='' |
---|
5700 | HAVE_PTY_TRUE='' |
---|
5701 | HAVE_READLINE_FALSE='' |
---|
5702 | HAVE_READLINE_TRUE='' |
---|
5703 | HAVE_SELINUX_FALSE='' |
---|
5704 | HAVE_SELINUX_TRUE='' |
---|
5705 | HAVE_SLANG_FALSE='' |
---|
5706 | HAVE_SLANG_TRUE='' |
---|
5707 | HAVE_STATIC_BLKID_FALSE='' |
---|
5708 | HAVE_STATIC_BLKID_TRUE='' |
---|
5709 | HAVE_STATIC_FDISK_FALSE='' |
---|
5710 | HAVE_STATIC_FDISK_TRUE='' |
---|
5711 | HAVE_STATIC_LOSETUP_FALSE='' |
---|
5712 | HAVE_STATIC_LOSETUP_TRUE='' |
---|
5713 | HAVE_STATIC_MOUNT_FALSE='' |
---|
5714 | HAVE_STATIC_MOUNT_TRUE='' |
---|
5715 | HAVE_STATIC_NSENTER_FALSE='' |
---|
5716 | HAVE_STATIC_NSENTER_TRUE='' |
---|
5717 | HAVE_STATIC_SFDISK_FALSE='' |
---|
5718 | HAVE_STATIC_SFDISK_TRUE='' |
---|
5719 | HAVE_STATIC_UMOUNT_FALSE='' |
---|
5720 | HAVE_STATIC_UMOUNT_TRUE='' |
---|
5721 | HAVE_STATIC_UNSHARE_FALSE='' |
---|
5722 | HAVE_STATIC_UNSHARE_TRUE='' |
---|
5723 | HAVE_SYSTEMD_FALSE='' |
---|
5724 | HAVE_SYSTEMD_TRUE='' |
---|
5725 | HAVE_TINFO_FALSE='' |
---|
5726 | HAVE_TINFO_TRUE='' |
---|
5727 | HAVE_UDEV_FALSE='' |
---|
5728 | HAVE_UDEV_TRUE='' |
---|
5729 | HAVE_USER_FALSE='' |
---|
5730 | HAVE_USER_TRUE='' |
---|
5731 | HAVE_UTEMPTER_FALSE='' |
---|
5732 | HAVE_UTEMPTER_TRUE='' |
---|
5733 | HAVE_UTIL_FALSE='' |
---|
5734 | HAVE_UTIL_TRUE='' |
---|
5735 | HAVE_VSCRIPT_COMPLEX_FALSE='' |
---|
5736 | HAVE_VSCRIPT_COMPLEX_TRUE='#' |
---|
5737 | HAVE_VSCRIPT_FALSE='' |
---|
5738 | HAVE_VSCRIPT_TRUE='#' |
---|
5739 | HTML_DIR='${datadir}/gtk-doc/html' |
---|
5740 | INSTALL_DATA='${INSTALL} -m 644' |
---|
5741 | INSTALL_PROGRAM='${INSTALL}' |
---|
5742 | INSTALL_SCRIPT='${INSTALL}' |
---|
5743 | INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' |
---|
5744 | INTLLIBS='' |
---|
5745 | INTL_MACOSX_LIBS='' |
---|
5746 | LD='/opt/local/libexec/apple-gcc42/gcc/powerpc-apple-darwin8/4.2.4/ld' |
---|
5747 | LDFLAGS='-L/opt/local/lib -Wl,-headerpad_max_install_names -lMacportsLegacySupport -arch ppc' |
---|
5748 | LIBBLKID_DATE='06-May-2024' |
---|
5749 | LIBBLKID_VERSION='2.40.1' |
---|
5750 | LIBBLKID_VERSION_INFO='2:0:1' |
---|
5751 | LIBFDISK_MAJOR_VERSION='' |
---|
5752 | LIBFDISK_MINOR_VERSION='' |
---|
5753 | LIBFDISK_PATCH_VERSION='' |
---|
5754 | LIBFDISK_PC_REQUIRES='' |
---|
5755 | LIBFDISK_VERSION='2.40.1' |
---|
5756 | LIBFDISK_VERSION_INFO='2:0:1' |
---|
5757 | LIBICONV='' |
---|
5758 | LIBINTL='' |
---|
5759 | LIBLASTLOG2_VERSION='2.40.1' |
---|
5760 | LIBLASTLOG2_VERSION_INFO='2:0:0' |
---|
5761 | LIBMOUNT_MAJOR_VERSION='' |
---|
5762 | LIBMOUNT_MINOR_VERSION='' |
---|
5763 | LIBMOUNT_PATCH_VERSION='' |
---|
5764 | LIBMOUNT_VERSION='2.40.1' |
---|
5765 | LIBMOUNT_VERSION_INFO='2:0:1' |
---|
5766 | LIBOBJS='' |
---|
5767 | LIBS='' |
---|
5768 | LIBSMARTCOLS_VERSION='2.40.1' |
---|
5769 | LIBSMARTCOLS_VERSION_INFO='2:0:1' |
---|
5770 | LIBTOOL='$(SHELL) $(top_builddir)/libtool' |
---|
5771 | LIBUSER_CFLAGS='' |
---|
5772 | LIBUSER_LIBS='' |
---|
5773 | LIBUUID_VERSION='2.40.1' |
---|
5774 | LIBUUID_VERSION_INFO='4:0:3' |
---|
5775 | LINUX_FALSE='' |
---|
5776 | LINUX_TRUE='#' |
---|
5777 | LIPO='lipo' |
---|
5778 | LN_S='ln -s' |
---|
5779 | LTLIBICONV='' |
---|
5780 | LTLIBINTL='' |
---|
5781 | LTLIBOBJS='' |
---|
5782 | LT_SYS_LIBRARY_PATH='' |
---|
5783 | MAGIC_LIBS='' |
---|
5784 | MAKEINFO='${SHELL} '\''/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_devel_util-linux/util-linux/work/util-linux-2.40.1/config/missing'\'' makeinfo' |
---|
5785 | MAKEINSTALL_DO_CHOWN_FALSE='' |
---|
5786 | MAKEINSTALL_DO_CHOWN_TRUE='' |
---|
5787 | MAKEINSTALL_DO_SETUID_FALSE='' |
---|
5788 | MAKEINSTALL_DO_SETUID_TRUE='' |
---|
5789 | MANIFEST_TOOL=':' |
---|
5790 | MATH_LIBS='' |
---|
5791 | MKDIR_P='/opt/local/bin/gmkdir -p' |
---|
5792 | MQ_LIBS='' |
---|
5793 | MSGFMT='' |
---|
5794 | MSGFMT_015='' |
---|
5795 | MSGMERGE='' |
---|
5796 | NCURSES5_CONFIG='' |
---|
5797 | NCURSES6_CONFIG='' |
---|
5798 | NCURSESW5_CONFIG='' |
---|
5799 | NCURSESW6_CONFIG='' |
---|
5800 | NCURSESW_CFLAGS='' |
---|
5801 | NCURSESW_LIBS='' |
---|
5802 | NCURSES_CFLAGS='' |
---|
5803 | NCURSES_LIBS='' |
---|
5804 | NM='/usr/bin/nm -p' |
---|
5805 | NMEDIT='nmedit' |
---|
5806 | OBJDUMP='false' |
---|
5807 | OBJEXT='o' |
---|
5808 | OSS_FUZZ_FALSE='' |
---|
5809 | OSS_FUZZ_TRUE='#' |
---|
5810 | OTOOL64='otool64' |
---|
5811 | OTOOL='otool' |
---|
5812 | PACKAGE='util-linux' |
---|
5813 | PACKAGE_BUGREPORT='kzak@redhat.com' |
---|
5814 | PACKAGE_NAME='util-linux' |
---|
5815 | PACKAGE_STRING='util-linux 2.40.1' |
---|
5816 | PACKAGE_TARNAME='util-linux' |
---|
5817 | PACKAGE_URL='https://www.kernel.org/pub/linux/utils/util-linux/' |
---|
5818 | PACKAGE_VERSION='2.40.1' |
---|
5819 | PATH_SEPARATOR=':' |
---|
5820 | PKG_CONFIG='/opt/local/bin/pkg-config' |
---|
5821 | PKG_CONFIG_LIBDIR='' |
---|
5822 | PKG_CONFIG_PATH='' |
---|
5823 | PO4A='' |
---|
5824 | POSUB='' |
---|
5825 | PYTHON='' |
---|
5826 | PYTHON_CFLAGS='' |
---|
5827 | PYTHON_EXEC_PREFIX='' |
---|
5828 | PYTHON_LIBS='' |
---|
5829 | PYTHON_PLATFORM='' |
---|
5830 | PYTHON_PREFIX='' |
---|
5831 | PYTHON_VERSION='' |
---|
5832 | PYTHON_WARN_CFLAGS='' |
---|
5833 | RANLIB='ranlib' |
---|
5834 | READLINE_LIBS='' |
---|
5835 | READLINE_LIBS_STATIC='' |
---|
5836 | REALTIME_LIBS='' |
---|
5837 | RTAS_LIBS='' |
---|
5838 | SED='/opt/local/bin/gsed' |
---|
5839 | SELINUX_CFLAGS='' |
---|
5840 | SELINUX_LIBS='' |
---|
5841 | SELINUX_LIBS_STATIC='' |
---|
5842 | SET_MAKE='' |
---|
5843 | SHELL='/bin/sh' |
---|
5844 | SOCKET_LIBS='' |
---|
5845 | SOLIB_CFLAGS='' |
---|
5846 | SOLIB_LDFLAGS='' |
---|
5847 | SQLITE3_CFLAGS='' |
---|
5848 | SQLITE3_LIBS='' |
---|
5849 | STRIP='strip' |
---|
5850 | SUID_CFLAGS='' |
---|
5851 | SUID_LDFLAGS='' |
---|
5852 | SYSCONFSTATICDIR='' |
---|
5853 | SYSTEMD_CFLAGS='' |
---|
5854 | SYSTEMD_DAEMON_CFLAGS='' |
---|
5855 | SYSTEMD_DAEMON_LIBS='' |
---|
5856 | SYSTEMD_JOURNAL_CFLAGS='' |
---|
5857 | SYSTEMD_JOURNAL_LIBS='' |
---|
5858 | SYSTEMD_LIBS='' |
---|
5859 | TINFOW_CFLAGS='' |
---|
5860 | TINFOW_LIBS='' |
---|
5861 | TINFO_CFLAGS='' |
---|
5862 | TINFO_LIBS='' |
---|
5863 | TINFO_LIBS_STATIC='' |
---|
5864 | UBSAN_LDFLAGS='' |
---|
5865 | USE_HWCLOCK_CMOS_FALSE='' |
---|
5866 | USE_HWCLOCK_CMOS_TRUE='' |
---|
5867 | USE_HWCLOCK_GPLv3_DATETIME_FALSE='' |
---|
5868 | USE_HWCLOCK_GPLv3_DATETIME_TRUE='' |
---|
5869 | USE_NLS='' |
---|
5870 | USE_PLYMOUTH_SUPPORT_FALSE='' |
---|
5871 | USE_PLYMOUTH_SUPPORT_TRUE='' |
---|
5872 | USE_TTY_GROUP_FALSE='' |
---|
5873 | USE_TTY_GROUP_TRUE='' |
---|
5874 | USE_VENDORDIR_FALSE='' |
---|
5875 | USE_VENDORDIR_TRUE='' |
---|
5876 | VERSION='2.40.1' |
---|
5877 | VSCRIPT_LDFLAGS='' |
---|
5878 | WARN_CFLAGS=' -fno-common -Wall -Wextra -Wformat-security -Wimplicit-function-declaration -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-missing-field-initializers -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wsign-compare -Wstrict-prototypes -Wunused-parameter -Wunused-variable -Werror=sequence-point' |
---|
5879 | WITH_COVERAGE_FALSE='' |
---|
5880 | WITH_COVERAGE_TRUE='#' |
---|
5881 | XGETTEXT='' |
---|
5882 | XGETTEXT_015='' |
---|
5883 | XGETTEXT_EXTRA_OPTIONS='' |
---|
5884 | XSLTPROC='/opt/local/bin/xsltproc' |
---|
5885 | YACC='bison -y' |
---|
5886 | YFLAGS='' |
---|
5887 | ac_ct_AR='ar' |
---|
5888 | ac_ct_CC='/opt/local/bin/gcc-apple-4.2' |
---|
5889 | ac_ct_CXX='' |
---|
5890 | ac_ct_DUMPBIN='' |
---|
5891 | am__EXEEXT_FALSE='' |
---|
5892 | am__EXEEXT_TRUE='' |
---|
5893 | am__fastdepCC_FALSE='#' |
---|
5894 | am__fastdepCC_TRUE='' |
---|
5895 | am__fastdepCXX_FALSE='#' |
---|
5896 | am__fastdepCXX_TRUE='' |
---|
5897 | am__include='include' |
---|
5898 | am__isrc='' |
---|
5899 | am__leading_dot='.' |
---|
5900 | am__nodep='_no' |
---|
5901 | am__quote='' |
---|
5902 | am__tar='tar --format=posix -chf - "$$tardir"' |
---|
5903 | am__untar='tar -xf -' |
---|
5904 | bashcompletiondir='' |
---|
5905 | bindir='${exec_prefix}/bin' |
---|
5906 | build='powerpc-apple-darwin8.11.0' |
---|
5907 | build_alias='' |
---|
5908 | build_cpu='powerpc' |
---|
5909 | build_os='darwin8.11.0' |
---|
5910 | build_vendor='apple' |
---|
5911 | datadir='${datarootdir}' |
---|
5912 | datarootdir='${prefix}/share' |
---|
5913 | docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
---|
5914 | dvidir='${docdir}' |
---|
5915 | exec_prefix='NONE' |
---|
5916 | host='powerpc-apple-darwin8.11.0' |
---|
5917 | host_alias='' |
---|
5918 | host_cpu='powerpc' |
---|
5919 | host_os='darwin8.11.0' |
---|
5920 | host_vendor='apple' |
---|
5921 | htmldir='${docdir}' |
---|
5922 | includedir='${prefix}/include' |
---|
5923 | infodir='${datarootdir}/info' |
---|
5924 | install_sh='${SHELL} /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_devel_util-linux/util-linux/work/util-linux-2.40.1/config/install-sh' |
---|
5925 | libdir='${exec_prefix}/lib' |
---|
5926 | libexecdir='${exec_prefix}/libexec' |
---|
5927 | localedir='${datarootdir}/locale' |
---|
5928 | localstatedir='${prefix}/var' |
---|
5929 | mandir='${datarootdir}/man' |
---|
5930 | mkdir_p='$(MKDIR_P)' |
---|
5931 | oldincludedir='/usr/include' |
---|
5932 | pdfdir='${docdir}' |
---|
5933 | pkgconfigdir='${usrlib_execdir}/pkgconfig' |
---|
5934 | pkgpyexecdir='' |
---|
5935 | pkgpythondir='' |
---|
5936 | prefix='/opt/local' |
---|
5937 | program_transform_name='s,x,x,' |
---|
5938 | psdir='${docdir}' |
---|
5939 | pyexecdir='' |
---|
5940 | pythondir='' |
---|
5941 | runstatedir='${localstatedir}/run' |
---|
5942 | sbindir='${exec_prefix}/sbin' |
---|
5943 | sharedstatedir='${prefix}/com' |
---|
5944 | sysconfdir='${prefix}/etc' |
---|
5945 | sysconfstaticdir='${prefix}/lib' |
---|
5946 | systemdsystemunitdir='' |
---|
5947 | target_alias='' |
---|
5948 | tmpfilesdir='' |
---|
5949 | usrbin_execdir='${exec_prefix}/bin' |
---|
5950 | usrlib_execdir='${exec_prefix}/lib' |
---|
5951 | usrsbin_execdir='${exec_prefix}/sbin' |
---|
5952 | vendordir='' |
---|
5953 | verbatim_pylibmount_dependency='' |
---|
5954 | with_bashcompletiondir='' |
---|
5955 | with_systemdsystemunitdir='' |
---|
5956 | with_tmpfilesdir='' |
---|
5957 | |
---|
5958 | ## ----------- ## |
---|
5959 | ## confdefs.h. ## |
---|
5960 | ## ----------- ## |
---|
5961 | |
---|
5962 | /* confdefs.h */ |
---|
5963 | #define PACKAGE_NAME "util-linux" |
---|
5964 | #define PACKAGE_TARNAME "util-linux" |
---|
5965 | #define PACKAGE_VERSION "2.40.1" |
---|
5966 | #define PACKAGE_STRING "util-linux 2.40.1" |
---|
5967 | #define PACKAGE_BUGREPORT "kzak@redhat.com" |
---|
5968 | #define PACKAGE_URL "https://www.kernel.org/pub/linux/utils/util-linux/" |
---|
5969 | #define HAVE_STDIO_H 1 |
---|
5970 | #define HAVE_STDLIB_H 1 |
---|
5971 | #define HAVE_STRING_H 1 |
---|
5972 | #define HAVE_INTTYPES_H 1 |
---|
5973 | #define HAVE_STDINT_H 1 |
---|
5974 | #define HAVE_STRINGS_H 1 |
---|
5975 | #define HAVE_SYS_STAT_H 1 |
---|
5976 | #define HAVE_SYS_TYPES_H 1 |
---|
5977 | #define HAVE_UNISTD_H 1 |
---|
5978 | #define HAVE_WCHAR_H 1 |
---|
5979 | #define STDC_HEADERS 1 |
---|
5980 | #define _ALL_SOURCE 1 |
---|
5981 | #define _DARWIN_C_SOURCE 1 |
---|
5982 | #define _GNU_SOURCE 1 |
---|
5983 | #define _HPUX_ALT_XOPEN_SOCKET_API 1 |
---|
5984 | #define _NETBSD_SOURCE 1 |
---|
5985 | #define _OPENBSD_SOURCE 1 |
---|
5986 | #define _POSIX_PTHREAD_SEMANTICS 1 |
---|
5987 | #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 |
---|
5988 | #define __STDC_WANT_IEC_60559_BFP_EXT__ 1 |
---|
5989 | #define __STDC_WANT_IEC_60559_DFP_EXT__ 1 |
---|
5990 | #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 |
---|
5991 | #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 |
---|
5992 | #define __STDC_WANT_LIB_EXT2__ 1 |
---|
5993 | #define __STDC_WANT_MATH_SPEC_FUNCS__ 1 |
---|
5994 | #define _TANDEM_SOURCE 1 |
---|
5995 | #define __EXTENSIONS__ 1 |
---|
5996 | #define PACKAGE "util-linux" |
---|
5997 | #define VERSION "2.40.1" |
---|
5998 | #define HAVE_DLFCN_H 1 |
---|
5999 | #define LT_OBJDIR ".libs/" |
---|
6000 | #define _DARWIN_C_SOURCE 1 |
---|
6001 | #define HAVE_STRUCT_TM_TM_ZONE 1 |
---|
6002 | #define HAVE_TM_ZONE 1 |
---|
6003 | |
---|
6004 | configure: exit 1 |
---|