Ticket #69948: config.log

File config.log, 199.5 KB (added by ballapete (Peter "Pete" Dyballa), 4 months ago)

Config.log from PPC Tiger, Mac OS X 10.4.11

Line 
1This file contains any messages produced by compilers while
2running configure, to aid debugging if configure makes a mistake.
3
4It was created by util-linux configure 2.40.1, which was
5generated 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
13hostname = tiger
14uname -m = Power Macintosh
15uname -r = 8.11.0
16uname -s = Darwin
17uname -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
27Kernel configured for a single processor only.
281 processor is physically available.
29Processor type: ppc7450 (PowerPC 7450)
30Processor active: 0
31Primary memory available: 2.00 gigabytes
32Default processor set: 87 tasks, 204 threads, 1 processors
33Load average: 2.69, Mach factor: 0.31
34/bin/machine           = unknown
35/usr/bin/oslevel       = unknown
36/bin/universe          = unknown
37
38PATH: /opt/local/bin/
39PATH: /opt/local/sbin/
40PATH: /bin/
41PATH: /sbin/
42PATH: /usr/bin/
43PATH: /usr/sbin/
44
45
46## ----------- ##
47## Core tests. ##
48## ----------- ##
49
50configure:3982: looking for aux files: config.rpath ltmain.sh config.guess config.sub ar-lib missing install-sh compile
51configure:3995:  trying ./config/
52configure:4024:   ./config/config.rpath found
53configure:4024:   ./config/ltmain.sh found
54configure:4024:   ./config/config.guess found
55configure:4024:   ./config/config.sub found
56configure:4024:   ./config/ar-lib found
57configure:4024:   ./config/missing found
58configure:4006:   ./config/install-sh found
59configure:4024:   ./config/compile found
60configure:4208: checking for gcc
61configure:4240: result: /opt/local/bin/gcc-apple-4.2
62configure:4593: checking for C compiler version
63configure:4602: /opt/local/bin/gcc-apple-4.2 --version >&5
64powerpc-apple-darwin8-gcc-apple-4.2.4 (GCC) 4.2.4 (Apple Inc. build 5666) (dot 3) (MacPorts apple-gcc42 5666.3_16+gpl3)
65Copyright (C) 2007 Free Software Foundation, Inc.
66This is free software; see the source for copying conditions.  There is NO
67warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
68
69configure:4613: $? = 0
70configure:4602: /opt/local/bin/gcc-apple-4.2 -v >&5
71Using built-in specs.
72Target: powerpc-apple-darwin8
73Configured 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
74Thread model: posix
75gcc version 4.2.4 (Apple Inc. build 5666) (dot 3) (MacPorts apple-gcc42 5666.3_16+gpl3)
76configure:4613: $? = 0
77configure:4602: /opt/local/bin/gcc-apple-4.2 -V >&5
78gcc-apple-4.2: argument to `-V' is missing
79configure:4613: $? = 1
80configure:4602: /opt/local/bin/gcc-apple-4.2 -qversion >&5
81powerpc-apple-darwin8-gcc-apple-4.2.4: no input files
82configure:4613: $? = 1
83configure:4602: /opt/local/bin/gcc-apple-4.2 -version >&5
84powerpc-apple-darwin8-gcc-apple-4.2.4: no input files
85configure:4613: $? = 1
86configure:4633: checking whether the C compiler works
87configure: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
88configure:4659: $? = 0
89configure:4709: result: yes
90configure:4712: checking for C compiler default output file name
91configure:4714: result: a.out
92configure:4720: checking for suffix of executables
93configure: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
94configure:4731: $? = 0
95configure:4754: result:
96configure:4776: checking whether we are cross compiling
97configure: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
98configure:4788: $? = 0
99configure:4795: ./conftest
100configure:4799: $? = 0
101configure:4814: result: no
102configure:4819: checking for suffix of object files
103configure: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
104configure:4846: $? = 0
105configure:4868: result: o
106configure:4872: checking whether the compiler supports GNU C
107configure: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
108configure:4892: $? = 0
109configure:4902: result: yes
110configure:4913: checking whether /opt/local/bin/gcc-apple-4.2 accepts -g
111configure: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
112configure:4934: $? = 0
113configure:4978: result: yes
114configure:4998: checking for /opt/local/bin/gcc-apple-4.2 option to enable C11 features
115configure: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
116conftest.c:61:3: error: #error "Compiler does not advertise C99 conformance"
117conftest.c:116: error: expected ';', ',' or ')' before 'text'
118conftest.c:165:3: error: #error "Compiler does not advertise C11 conformance"
119conftest.c: In function '_Alignas':
120conftest.c:169: error: expected declaration specifiers before 'aligned_as_double'
121conftest.c:170: error: expected declaration specifiers or '...' before numeric constant
122conftest.c:170: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'no_special_alignment'
123conftest.c:171: error: storage class specified for parameter 'aligned_as_int'
124conftest.c:172: error: expected declaration specifiers or '...' before numeric constant
125conftest.c:172: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_Alignas'
126conftest.c:177: error: expected expression before 'int'
127conftest.c:177: error: enumerator value for 'int_alignment' is not an integer constant
128conftest.c:178: error: expected expression before 'int'
129conftest.c:178: error: enumerator value for 'int_array_alignment' is not an integer constant
130conftest.c:179: error: expected expression before 'char'
131conftest.c:180: error: enumerator value for 'char_alignment' is not an integer constant
132conftest.c:180: warning: empty declaration
133conftest.c:181: error: expected declaration specifiers before '_Static_assert'
134conftest.c:184: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'does_not_return'
135conftest.c:190: error: expected specifier-qualifier-list before '_Static_assert'
136conftest.c:193: warning: empty declaration
137conftest.c:197: error: parameter 'utf8_literal' is initialized
138conftest.c:197: error: 'syntax' undeclared (first use in this function)
139conftest.c:197: error: (Each undeclared identifier is reported only once
140conftest.c:197: error: for each function it appears in.)
141conftest.c:197: error: expected ',' or ';' before 'error'
142conftest.c:200: error: storage class specified for parameter 'long_ptr'
143conftest.c:201: error: storage class specified for parameter 'long_ptr'
144conftest.c:201: error: redefinition of parameter 'long_ptr'
145conftest.c:200: error: previous definition of 'long_ptr' was here
146conftest.c:202: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long_ptr'
147conftest.c:217: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
148conftest.c:269: error: old-style parameter declarations in prototyped function definition
149conftest.c:169: error: parameter name omitted
150conftest.c:269: error: expected '{' at end of input
151configure:5013: $? = 1
152configure: 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|
423configure: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
424cc1: error: unrecognized command line option "-std=gnu11"
425configure:5013: $? = 1
426configure: 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|
697configure:5026: result: unsupported
698configure:5044: checking for /opt/local/bin/gcc-apple-4.2 option to enable C99 features
699configure: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
700conftest.c:61:3: error: #error "Compiler does not advertise C99 conformance"
701conftest.c:116: error: expected ';', ',' or ')' before 'text'
702conftest.c: In function 'main':
703conftest.c:178: error: nested functions are disabled, use -fnested-functions to re-enable
704conftest.c:178: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'newvar'
705conftest.c:178: error: 'newvar' undeclared (first use in this function)
706conftest.c:178: error: (Each undeclared identifier is reported only once
707conftest.c:178: error: for each function it appears in.)
708conftest.c:188: error: 'for' loop initial declaration used outside C99 mode
709configure:5059: $? = 1
710configure: 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|
921configure: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
922configure:5059: $? = 0
923configure:5080: result: -std=gnu99
924configure:5147: checking whether /opt/local/bin/gcc-apple-4.2 -std=gnu99 understands -c and -o together
925configure:5170: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -c conftest.c -o conftest2.o
926configure:5173: $? = 0
927configure:5170: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -c conftest.c -o conftest2.o
928configure:5173: $? = 0
929configure:5185: result: yes
930configure:5207: checking for stdio.h
931configure: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
932configure:5207: $? = 0
933configure:5207: result: yes
934configure:5207: checking for stdlib.h
935configure: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
936configure:5207: $? = 0
937configure:5207: result: yes
938configure:5207: checking for string.h
939configure: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
940configure:5207: $? = 0
941configure:5207: result: yes
942configure:5207: checking for inttypes.h
943configure: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
944configure:5207: $? = 0
945configure:5207: result: yes
946configure:5207: checking for stdint.h
947configure: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
948configure:5207: $? = 0
949configure:5207: result: yes
950configure:5207: checking for strings.h
951configure: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
952configure:5207: $? = 0
953configure:5207: result: yes
954configure:5207: checking for sys/stat.h
955configure: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
956configure:5207: $? = 0
957configure:5207: result: yes
958configure:5207: checking for sys/types.h
959configure: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
960configure:5207: $? = 0
961configure:5207: result: yes
962configure:5207: checking for unistd.h
963configure: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
964configure:5207: $? = 0
965configure:5207: result: yes
966configure:5207: checking for wchar.h
967configure: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
968configure:5207: $? = 0
969configure:5207: result: yes
970configure:5207: checking for minix/config.h
971configure: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
972conftest.c:47:26: error: minix/config.h: No such file or directory
973configure:5207: $? = 1
974configure: 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>
1022configure:5207: result: no
1023configure:5238: checking whether it is safe to define __EXTENSIONS__
1024configure: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
1025configure:5257: $? = 0
1026configure:5265: result: yes
1027configure:5268: checking whether _XOPEN_SOURCE should be defined
1028configure: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
1029configure:5290: $? = 0
1030configure:5317: result: no
1031configure:5390: checking for a BSD-compatible install
1032configure:5463: result: /usr/bin/install -c
1033configure:5474: checking whether build environment is sane
1034configure:5529: result: yes
1035configure:5684: checking for a race-free mkdir -p
1036configure:5728: result: /opt/local/bin/gmkdir -p
1037configure:5735: checking for gawk
1038configure:5756: found /opt/local/bin/gawk
1039configure:5767: result: gawk
1040configure:5778: checking whether make sets $(MAKE)
1041configure:5801: result: yes
1042configure:5823: checking whether make supports the include directive
1043configure:5838: make -f confmf.GNU && cat confinc.out
1044this is the am__doit target
1045configure:5841: $? = 0
1046configure:5860: result: yes (GNU style)
1047configure:5895: checking whether make supports nested variables
1048configure:5913: result: yes
1049configure:5988: checking how to create a pax tar archive
1050configure:5999: tar --version
1051tar (GNU tar) 1.14 +CVE-2006-0300 +CVE-2006-6097
1052Copyright (C) 2004 Free Software Foundation, Inc.
1053This program comes with NO WARRANTY, to the extent permitted by law.
1054You may redistribute it under the terms of the GNU General Public License;
1055see the file named COPYING for details.
1056Written by John Gilmore and Jay Fenlason.
1057Modified to support extended attributes.
1058configure:6002: $? = 0
1059configure:6042: tardir=conftest.dir && eval tar --format=posix -chf - "$tardir" >conftest.tar
1060configure:6045: $? = 0
1061configure:6049: tar -xf - <conftest.tar
1062configure:6052: $? = 0
1063configure:6054: cat conftest.dir/file
1064GrepMe
1065configure:6057: $? = 0
1066configure:6071: result: gnutar
1067configure:6080: checking dependency style of /opt/local/bin/gcc-apple-4.2 -std=gnu99
1068configure:6192: result: gcc3
1069configure:6277: checking whether make supports nested variables
1070configure:6295: result: yes
1071configure:6361: checking for ar
1072configure:6382: found /opt/local/bin/ar
1073configure:6393: result: ar
1074configure:6419: checking the archiver (ar) interface
1075configure: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
1076configure:6436: $? = 0
1077configure:6439: ar cru libconftest.a conftest.o >&5
1078configure:6442: $? = 0
1079configure:6470: result: ar
1080configure:6701: checking for gcc
1081configure:6733: result: /opt/local/bin/gcc-apple-4.2
1082configure:7086: checking for C compiler version
1083configure:7095: /opt/local/bin/gcc-apple-4.2 --version >&5
1084powerpc-apple-darwin8-gcc-apple-4.2.4 (GCC) 4.2.4 (Apple Inc. build 5666) (dot 3) (MacPorts apple-gcc42 5666.3_16+gpl3)
1085Copyright (C) 2007 Free Software Foundation, Inc.
1086This is free software; see the source for copying conditions.  There is NO
1087warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
1088
1089configure:7106: $? = 0
1090configure:7095: /opt/local/bin/gcc-apple-4.2 -v >&5
1091Using built-in specs.
1092Target: powerpc-apple-darwin8
1093Configured 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
1094Thread model: posix
1095gcc version 4.2.4 (Apple Inc. build 5666) (dot 3) (MacPorts apple-gcc42 5666.3_16+gpl3)
1096configure:7106: $? = 0
1097configure:7095: /opt/local/bin/gcc-apple-4.2 -V >&5
1098gcc-apple-4.2: argument to `-V' is missing
1099configure:7106: $? = 1
1100configure:7095: /opt/local/bin/gcc-apple-4.2 -qversion >&5
1101powerpc-apple-darwin8-gcc-apple-4.2.4: no input files
1102configure:7106: $? = 1
1103configure:7095: /opt/local/bin/gcc-apple-4.2 -version >&5
1104powerpc-apple-darwin8-gcc-apple-4.2.4: no input files
1105configure:7106: $? = 1
1106configure:7110: checking whether the compiler supports GNU C
1107configure:7140: result: yes
1108configure:7151: checking whether /opt/local/bin/gcc-apple-4.2 accepts -g
1109configure:7216: result: yes
1110configure:7236: checking for /opt/local/bin/gcc-apple-4.2 option to enable C11 features
1111configure:7264: result: unsupported
1112configure:7282: checking for /opt/local/bin/gcc-apple-4.2 option to enable C99 features
1113configure:7318: result: -std=gnu99
1114configure:7385: checking whether /opt/local/bin/gcc-apple-4.2 -std=gnu99 understands -c and -o together
1115configure:7423: result: yes
1116configure:7446: checking for bison
1117configure:7467: found /opt/local/bin/bison
1118configure:7478: result: bison -y
1119configure:7490: checking for a sed that does not truncate output
1120configure:7560: result: /opt/local/bin/gsed
1121configure:7569: checking for flex
1122configure:7592: found /opt/local/bin/flex
1123configure:7604: result: /opt/local/bin/flex
1124configure:7614: checking for bison
1125configure:7637: found /opt/local/bin/bison
1126configure:7649: result: /opt/local/bin/bison
1127configure:7664: checking build system type
1128configure:7679: result: powerpc-apple-darwin8.11.0
1129configure:7699: checking host system type
1130configure:7713: result: powerpc-apple-darwin8.11.0
1131configure:7733: checking for an ANSI C-conforming const
1132configure: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
1133configure:7800: $? = 0
1134configure:7808: result: yes
1135configure:7816: checking for working volatile
1136configure: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
1137configure:7836: $? = 0
1138configure:7844: result: yes
1139configure:7858: checking how to run the C preprocessor
1140configure: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
1141configure:7884: $? = 0
1142configure: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
1143conftest.c:38:28: error: ac_nonexistent.h: No such file or directory
1144configure:7899: $? = 1
1145configure: 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>
1184configure:7926: result: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -E
1185configure: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
1186configure:7940: $? = 0
1187configure: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
1188conftest.c:38:28: error: ac_nonexistent.h: No such file or directory
1189configure:7955: $? = 1
1190configure: 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>
1229configure:7988: checking whether compiler handles -fno-common
1230configure: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
1231configure:8013: $? = 0
1232configure:8026: result: yes
1233configure:8035: checking whether compiler handles -Wall
1234configure: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
1235configure:8060: $? = 0
1236configure:8073: result: yes
1237configure:8082: checking whether compiler handles -Wextra
1238configure: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
1239configure:8107: $? = 0
1240configure:8120: result: yes
1241configure:8130: checking whether compiler handles -Waddress-of-packed-member
1242configure: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
1243cc1: error: unrecognized command line option "-Waddress-of-packed-member"
1244configure:8155: $? = 1
1245configure: 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| }
1291configure:8168: result: no
1292configure:8177: checking whether compiler handles -Wdiscarded-qualifiers
1293configure: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
1294cc1: error: unrecognized command line option "-Wdiscarded-qualifiers"
1295configure:8202: $? = 1
1296configure: 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| }
1342configure:8215: result: no
1343configure:8224: checking whether compiler handles -Wembedded-directive
1344configure: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
1345cc1: error: unrecognized command line option "-Wembedded-directive"
1346configure:8249: $? = 1
1347configure: 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| }
1393configure:8262: result: no
1394configure:8271: checking whether compiler handles -Wextra-semi
1395configure: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
1396cc1: error: unrecognized command line option "-Wextra-semi"
1397configure:8296: $? = 1
1398configure: 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| }
1444configure:8309: result: no
1445configure:8318: checking whether compiler handles -Wformat-security
1446configure: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
1447configure:8343: $? = 0
1448configure:8356: result: yes
1449configure:8365: checking whether compiler handles -Wimplicit-function-declaration
1450configure: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
1451configure:8390: $? = 0
1452configure:8403: result: yes
1453configure:8412: checking whether compiler handles -Wmissing-declarations
1454configure: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
1455configure:8437: $? = 0
1456configure:8450: result: yes
1457configure:8459: checking whether compiler handles -Wmissing-parameter-type
1458configure: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
1459cc1: error: unrecognized command line option "-Wmissing-parameter-type"
1460configure:8484: $? = 1
1461configure: 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| }
1507configure:8497: result: no
1508configure:8506: checking whether compiler handles -Wmissing-prototypes
1509configure: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
1510configure:8531: $? = 0
1511configure:8544: result: yes
1512configure:8553: checking whether compiler handles -Wnested-externs
1513configure: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
1514configure:8578: $? = 0
1515configure:8591: result: yes
1516configure:8600: checking whether compiler handles -Wno-missing-field-initializers
1517configure: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
1518configure:8625: $? = 0
1519configure:8638: result: yes
1520configure:8647: checking whether compiler handles -Wold-style-definition
1521configure: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
1522configure:8672: $? = 0
1523configure:8685: result: yes
1524configure:8694: checking whether compiler handles -Wpointer-arith
1525configure: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
1526configure:8719: $? = 0
1527configure:8732: result: yes
1528configure:8741: checking whether compiler handles -Wredundant-decls
1529configure: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
1530configure:8766: $? = 0
1531configure:8779: result: yes
1532configure:8788: checking whether compiler handles -Wsign-compare
1533configure: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
1534configure:8813: $? = 0
1535configure:8826: result: yes
1536configure:8835: checking whether compiler handles -Wstrict-prototypes
1537configure: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
1538configure:8860: $? = 0
1539configure:8873: result: yes
1540configure:8882: checking whether compiler handles -Wtype-limits
1541configure: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
1542cc1: error: unrecognized command line option "-Wtype-limits"
1543configure:8907: $? = 1
1544configure: 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| }
1590configure:8920: result: no
1591configure:8929: checking whether compiler handles -Wuninitialized
1592configure: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
1593cc1: warnings being treated as errors
1594cc1: warning: -Wuninitialized is not supported without -O
1595configure:8954: $? = 1
1596configure: 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| }
1642configure:8967: result: no
1643configure:8976: checking whether compiler handles -Wunused-but-set-parameter
1644configure: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
1645cc1: error: unrecognized command line option "-Wunused-but-set-parameter"
1646configure:9001: $? = 1
1647configure: 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| }
1693configure:9014: result: no
1694configure:9023: checking whether compiler handles -Wunused-but-set-variable
1695configure: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
1696cc1: error: unrecognized command line option "-Wunused-but-set-variable"
1697configure:9048: $? = 1
1698configure: 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| }
1744configure:9061: result: no
1745configure:9070: checking whether compiler handles -Wunused-parameter
1746configure: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
1747configure:9095: $? = 0
1748configure:9108: result: yes
1749configure:9117: checking whether compiler handles -Wunused-result
1750configure: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
1751cc1: error: unrecognized command line option "-Wunused-result"
1752configure:9142: $? = 1
1753configure: 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| }
1799configure:9155: result: no
1800configure:9164: checking whether compiler handles -Wunused-variable
1801configure: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
1802configure:9189: $? = 0
1803configure:9202: result: yes
1804configure:9211: checking whether compiler handles -Wvla
1805configure: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
1806cc1: error: unrecognized command line option "-Wvla"
1807configure:9236: $? = 1
1808configure: 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| }
1854configure:9249: result: no
1855configure:9258: checking whether compiler handles -Walloca
1856configure: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
1857cc1: error: unrecognized command line option "-Walloca"
1858configure:9283: $? = 1
1859configure: 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| }
1905configure:9296: result: no
1906configure:9368: checking whether compiler handles -Werror=sequence-point
1907configure: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
1908configure:9393: $? = 0
1909configure:9406: result: yes
1910configure:9421: checking whether compiler handles -Wno-clobbered
1911configure: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
1912cc1: error: unrecognized command line option "-Wno-clobbered"
1913configure:9446: $? = 1
1914configure: 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| }
1960configure:9459: result: no
1961configure:9470: checking whether compiler handles -Wno-cast-function-type
1962configure: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
1963cc1: error: unrecognized command line option "-Wno-cast-function-type"
1964configure:9495: $? = 1
1965configure: 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| }
2011configure:9508: result: no
2012configure:9931: checking for C++ compiler version
2013configure:9940: /opt/local/bin/g++-apple-4.2 --version >&5
2014powerpc-apple-darwin8-g++-apple-4.2.4 (GCC) 4.2.4 (Apple Inc. build 5666) (dot 3) (MacPorts apple-gcc42 5666.3_16+gpl3)
2015Copyright (C) 2007 Free Software Foundation, Inc.
2016This is free software; see the source for copying conditions.  There is NO
2017warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
2018
2019configure:9951: $? = 0
2020configure:9940: /opt/local/bin/g++-apple-4.2 -v >&5
2021Using built-in specs.
2022Target: powerpc-apple-darwin8
2023Configured 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
2024Thread model: posix
2025gcc version 4.2.4 (Apple Inc. build 5666) (dot 3) (MacPorts apple-gcc42 5666.3_16+gpl3)
2026configure:9951: $? = 0
2027configure:9940: /opt/local/bin/g++-apple-4.2 -V >&5
2028g++-apple-4.2: argument to `-V' is missing
2029configure:9951: $? = 1
2030configure:9940: /opt/local/bin/g++-apple-4.2 -qversion >&5
2031powerpc-apple-darwin8-g++-apple-4.2.4: no input files
2032configure:9951: $? = 1
2033configure:9955: checking whether the compiler supports GNU C++
2034configure: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
2035configure:9975: $? = 0
2036configure:9985: result: yes
2037configure:9996: checking whether /opt/local/bin/g++-apple-4.2 accepts -g
2038configure: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
2039configure:10017: $? = 0
2040configure:10061: result: yes
2041configure:10081: checking for /opt/local/bin/g++-apple-4.2 option to enable C++11 features
2042configure: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
2043conftest.cpp:41:3: error: #error "Compiler does not advertise C++98 conformance"
2044conftest.cpp:84:3: error: #error "Compiler does not advertise C++11 conformance"
2045conftest.cpp:89: error: expected constructor, destructor, or type conversion before 'int'
2046conftest.cpp: In constructor 'cxx11test::delegate::delegate()':
2047conftest.cpp:101: error: type 'cxx11test::delegate' is not a direct base of 'cxx11test::delegate'
2048conftest.cpp: At global scope:
2049conftest.cpp:112: error: expected ';' before 'override'
2050conftest.cpp:113: error: expected `;' before '}' token
2051conftest.cpp:119: error: invalid pure specifier (only `= 0' is allowed) before ';' token
2052conftest.cpp:120: error: invalid pure specifier (only `= 0' is allowed) before ';' token
2053conftest.cpp:121: error: invalid pure specifier (only `= 0' is allowed) before ';' token
2054conftest.cpp:119: error: initializer specified for non-virtual method 'cxx11test::nocopy::nocopy()'
2055conftest.cpp:120: error: initializer specified for non-virtual method 'cxx11test::nocopy::nocopy(const cxx11test::nocopy&)'
2056conftest.cpp:121: error: initializer specified for non-virtual method 'cxx11test::nocopy& cxx11test::nocopy::operator=(const cxx11test::nocopy&)'
2057conftest.cpp:133: error: expected initializer before '->' token
2058conftest.cpp:137: error: expected nested-name-specifier before '...' token
2059conftest.cpp:137: error: expected '>' before '...' token
2060conftest.cpp:137: error: 'Args' has not been declared
2061conftest.cpp:137: error: expected `)' before 'rest'
2062conftest.cpp:137: error: expected initializer before 'rest'
2063conftest.cpp: In function 'int main(int, char**)':
2064conftest.cpp:161: error: ISO C++ forbids declaration of 'a1' with no type
2065conftest.cpp:162: error: ISO C++ forbids declaration of 'a2' with no type
2066conftest.cpp:163: error: ISO C++ forbids declaration of 'a3' with no type
2067conftest.cpp:163: error: invalid conversion from 'const char*' to 'int'
2068conftest.cpp:166: error: ISO C++ forbids declaration of 'i' with no type
2069conftest.cpp:166: error: invalid type argument of 'unary *'
2070conftest.cpp:166: error: invalid type argument of 'unary *'
2071conftest.cpp:168: error: 'decltype' was not declared in this scope
2072conftest.cpp:168: error: expected `;' before 'a4'
2073conftest.cpp:172: error: 'get_val' is not a member of 'cxx11test'
2074conftest.cpp:182: error: a function-definition is not allowed here before ':' token
2075conftest.cpp:183: error: expected primary-expression before '}' token
2076conftest.cpp:183: error: expected `;' before '}' token
2077conftest.cpp:183: error: expected primary-expression before '}' token
2078conftest.cpp:183: error: expected `)' before '}' token
2079conftest.cpp:183: error: expected primary-expression before '}' token
2080conftest.cpp:183: error: expected `;' before '}' token
2081conftest.cpp:187: error: expected primary-expression before '[' token
2082conftest.cpp:187: error: expected primary-expression before ']' token
2083conftest.cpp:187: error: expected primary-expression before 'int'
2084conftest.cpp:189: error: expected primary-expression before '[' token
2085conftest.cpp:189: error: expected primary-expression before ']' token
2086conftest.cpp:189: error: expected primary-expression before 'double'
2087conftest.cpp:191: error: expected primary-expression before '[' token
2088conftest.cpp:191: error: expected primary-expression before '=' token
2089conftest.cpp:191: error: expected primary-expression before ']' token
2090conftest.cpp:191: error: expected primary-expression before 'double'
2091conftest.cpp:196: error: 'cxx11test::sum' has not been declared
2092conftest.cpp:197: error: ISO C++ forbids declaration of 'a' with no type
2093conftest.cpp:197: error: 'sum' was not declared in this scope
2094conftest.cpp:198: error: ISO C++ forbids declaration of 'b' with no type
2095conftest.cpp:199: error: ISO C++ forbids declaration of 'c' with no type
2096conftest.cpp:213: error: 'nullptr' was not declared in this scope
2097conftest.cpp:217: error: '>>' should be '> >' within a nested template argument list
2098conftest.cpp:217: error: '<::' cannot begin a template-argument list
2099conftest.cpp:217: note: '<:' is an alternate spelling for '['. Insert whitespace between '<' and '::'
2100conftest.cpp:217: note: (if you use -fpermissive G++ will accept your code)
2101conftest.cpp:221: error: 'u8' was not declared in this scope
2102conftest.cpp:221: error: expected ',' or ';' before string constant
2103conftest.cpp:222: error: 'char16_t' was not declared in this scope
2104conftest.cpp:222: error: expected `;' before 'const'
2105conftest.cpp:223: error: 'char32_t' was not declared in this scope
2106conftest.cpp:223: error: expected `;' before 'const'
2107configure:10096: $? = 1
2108configure: 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|
2337configure: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
2338cc1plus: error: unrecognized command line option "-std=gnu++11"
2339configure:10096: $? = 1
2340configure: 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|
2569configure: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
2570cc1plus: error: unrecognized command line option "-std=gnu++0x"
2571configure:10096: $? = 1
2572configure: 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|
2801configure: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
2802cc1plus: error: unrecognized command line option "-std=c++11"
2803configure:10096: $? = 1
2804configure: 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|
3033configure: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
3034cc1plus: error: unrecognized command line option "-std=c++0x"
3035configure:10096: $? = 1
3036configure: 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|
3265configure: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
3266conftest.cpp:41:3: error: #error "Compiler does not advertise C++98 conformance"
3267conftest.cpp:84:3: error: #error "Compiler does not advertise C++11 conformance"
3268conftest.cpp:89: error: expected constructor, destructor, or type conversion before 'int'
3269conftest.cpp: In constructor 'cxx11test::delegate::delegate()':
3270conftest.cpp:101: error: type 'cxx11test::delegate' is not a direct base of 'cxx11test::delegate'
3271conftest.cpp: At global scope:
3272conftest.cpp:112: error: expected ';' before 'override'
3273conftest.cpp:113: error: expected `;' before '}' token
3274conftest.cpp:119: error: invalid pure specifier (only `= 0' is allowed) before ';' token
3275conftest.cpp:120: error: invalid pure specifier (only `= 0' is allowed) before ';' token
3276conftest.cpp:121: error: invalid pure specifier (only `= 0' is allowed) before ';' token
3277conftest.cpp:119: error: initializer specified for non-virtual method 'cxx11test::nocopy::nocopy()'
3278conftest.cpp:120: error: initializer specified for non-virtual method 'cxx11test::nocopy::nocopy(const cxx11test::nocopy&)'
3279conftest.cpp:121: error: initializer specified for non-virtual method 'cxx11test::nocopy& cxx11test::nocopy::operator=(const cxx11test::nocopy&)'
3280conftest.cpp:133: error: expected initializer before '->' token
3281conftest.cpp:137: error: expected nested-name-specifier before '...' token
3282conftest.cpp:137: error: expected '>' before '...' token
3283conftest.cpp:137: error: 'Args' has not been declared
3284conftest.cpp:137: error: expected `)' before 'rest'
3285conftest.cpp:137: error: expected initializer before 'rest'
3286conftest.cpp: In function 'int main(int, char**)':
3287conftest.cpp:161: error: ISO C++ forbids declaration of 'a1' with no type
3288conftest.cpp:162: error: ISO C++ forbids declaration of 'a2' with no type
3289conftest.cpp:163: error: ISO C++ forbids declaration of 'a3' with no type
3290conftest.cpp:163: error: invalid conversion from 'const char*' to 'int'
3291conftest.cpp:166: error: ISO C++ forbids declaration of 'i' with no type
3292conftest.cpp:166: error: invalid type argument of 'unary *'
3293conftest.cpp:166: error: invalid type argument of 'unary *'
3294conftest.cpp:168: error: 'decltype' was not declared in this scope
3295conftest.cpp:168: error: expected `;' before 'a4'
3296conftest.cpp:172: error: 'get_val' is not a member of 'cxx11test'
3297conftest.cpp:182: error: a function-definition is not allowed here before ':' token
3298conftest.cpp:183: error: expected primary-expression before '}' token
3299conftest.cpp:183: error: expected `;' before '}' token
3300conftest.cpp:183: error: expected primary-expression before '}' token
3301conftest.cpp:183: error: expected `)' before '}' token
3302conftest.cpp:183: error: expected primary-expression before '}' token
3303conftest.cpp:183: error: expected `;' before '}' token
3304conftest.cpp:187: error: expected primary-expression before '[' token
3305conftest.cpp:187: error: expected primary-expression before ']' token
3306conftest.cpp:187: error: expected primary-expression before 'int'
3307conftest.cpp:189: error: expected primary-expression before '[' token
3308conftest.cpp:189: error: expected primary-expression before ']' token
3309conftest.cpp:189: error: expected primary-expression before 'double'
3310conftest.cpp:191: error: expected primary-expression before '[' token
3311conftest.cpp:191: error: expected primary-expression before '=' token
3312conftest.cpp:191: error: expected primary-expression before ']' token
3313conftest.cpp:191: error: expected primary-expression before 'double'
3314conftest.cpp:196: error: 'cxx11test::sum' has not been declared
3315conftest.cpp:197: error: ISO C++ forbids declaration of 'a' with no type
3316conftest.cpp:197: error: 'sum' was not declared in this scope
3317conftest.cpp:198: error: ISO C++ forbids declaration of 'b' with no type
3318conftest.cpp:199: error: ISO C++ forbids declaration of 'c' with no type
3319conftest.cpp:213: error: 'nullptr' was not declared in this scope
3320conftest.cpp:217: error: '>>' should be '> >' within a nested template argument list
3321conftest.cpp:217: error: '<::' cannot begin a template-argument list
3322conftest.cpp:217: note: '<:' is an alternate spelling for '['. Insert whitespace between '<' and '::'
3323conftest.cpp:217: note: (if you use -fpermissive G++ will accept your code)
3324conftest.cpp:221: error: 'u8' was not declared in this scope
3325conftest.cpp:221: error: expected ',' or ';' before string constant
3326conftest.cpp:222: error: 'char16_t' was not declared in this scope
3327conftest.cpp:222: error: expected `;' before 'const'
3328conftest.cpp:223: error: 'char32_t' was not declared in this scope
3329conftest.cpp:223: error: expected `;' before 'const'
3330configure:10096: $? = 1
3331configure: 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|
3560configure: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
3562conftest.cpp:41:3: error: #error "Compiler does not advertise C++98 conformance"
3563conftest.cpp:84:3: error: #error "Compiler does not advertise C++11 conformance"
3564conftest.cpp:89: error: expected constructor, destructor, or type conversion before 'int'
3565conftest.cpp: In constructor 'cxx11test::delegate::delegate()':
3566conftest.cpp:101: error: type 'cxx11test::delegate' is not a direct base of 'cxx11test::delegate'
3567conftest.cpp: At global scope:
3568conftest.cpp:112: error: expected ';' before 'override'
3569conftest.cpp:113: error: expected `;' before '}' token
3570conftest.cpp:119: error: invalid pure specifier (only `= 0' is allowed) before ';' token
3571conftest.cpp:120: error: invalid pure specifier (only `= 0' is allowed) before ';' token
3572conftest.cpp:121: error: invalid pure specifier (only `= 0' is allowed) before ';' token
3573conftest.cpp:119: error: initializer specified for non-virtual method 'cxx11test::nocopy::nocopy()'
3574conftest.cpp:120: error: initializer specified for non-virtual method 'cxx11test::nocopy::nocopy(const cxx11test::nocopy&)'
3575conftest.cpp:121: error: initializer specified for non-virtual method 'cxx11test::nocopy& cxx11test::nocopy::operator=(const cxx11test::nocopy&)'
3576conftest.cpp:133: error: expected initializer before '->' token
3577conftest.cpp:137: error: expected nested-name-specifier before '...' token
3578conftest.cpp:137: error: expected '>' before '...' token
3579conftest.cpp:137: error: 'Args' has not been declared
3580conftest.cpp:137: error: expected `)' before 'rest'
3581conftest.cpp:137: error: expected initializer before 'rest'
3582conftest.cpp: In function 'int main(int, char**)':
3583conftest.cpp:161: error: ISO C++ forbids declaration of 'a1' with no type
3584conftest.cpp:162: error: ISO C++ forbids declaration of 'a2' with no type
3585conftest.cpp:163: error: ISO C++ forbids declaration of 'a3' with no type
3586conftest.cpp:163: error: invalid conversion from 'const char*' to 'int'
3587conftest.cpp:166: error: ISO C++ forbids declaration of 'i' with no type
3588conftest.cpp:166: error: invalid type argument of 'unary *'
3589conftest.cpp:166: error: invalid type argument of 'unary *'
3590conftest.cpp:168: error: 'decltype' was not declared in this scope
3591conftest.cpp:168: error: expected `;' before 'a4'
3592conftest.cpp:172: error: 'get_val' is not a member of 'cxx11test'
3593conftest.cpp:182: error: a function-definition is not allowed here before ':' token
3594conftest.cpp:183: error: expected primary-expression before '}' token
3595conftest.cpp:183: error: expected `;' before '}' token
3596conftest.cpp:183: error: expected primary-expression before '}' token
3597conftest.cpp:183: error: expected `)' before '}' token
3598conftest.cpp:183: error: expected primary-expression before '}' token
3599conftest.cpp:183: error: expected `;' before '}' token
3600conftest.cpp:187: error: expected primary-expression before '[' token
3601conftest.cpp:187: error: expected primary-expression before ']' token
3602conftest.cpp:187: error: expected primary-expression before 'int'
3603conftest.cpp:189: error: expected primary-expression before '[' token
3604conftest.cpp:189: error: expected primary-expression before ']' token
3605conftest.cpp:189: error: expected primary-expression before 'double'
3606conftest.cpp:191: error: expected primary-expression before '[' token
3607conftest.cpp:191: error: expected primary-expression before '=' token
3608conftest.cpp:191: error: expected primary-expression before ']' token
3609conftest.cpp:191: error: expected primary-expression before 'double'
3610conftest.cpp:196: error: 'cxx11test::sum' has not been declared
3611conftest.cpp:197: error: ISO C++ forbids declaration of 'a' with no type
3612conftest.cpp:197: error: 'sum' was not declared in this scope
3613conftest.cpp:198: error: ISO C++ forbids declaration of 'b' with no type
3614conftest.cpp:199: error: ISO C++ forbids declaration of 'c' with no type
3615conftest.cpp:213: error: 'nullptr' was not declared in this scope
3616conftest.cpp:217: error: '>>' should be '> >' within a nested template argument list
3617conftest.cpp:217: error: '<::' cannot begin a template-argument list
3618conftest.cpp:217: note: '<:' is an alternate spelling for '['. Insert whitespace between '<' and '::'
3619conftest.cpp:217: note: (if you use -fpermissive G++ will accept your code)
3620conftest.cpp:221: error: 'u8' was not declared in this scope
3621conftest.cpp:221: error: expected ',' or ';' before string constant
3622conftest.cpp:222: error: 'char16_t' was not declared in this scope
3623conftest.cpp:222: error: expected `;' before 'const'
3624conftest.cpp:223: error: 'char32_t' was not declared in this scope
3625conftest.cpp:223: error: expected `;' before 'const'
3626configure:10096: $? = 1
3627configure: 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|
3856configure:10109: result: unsupported
3857configure:10127: checking for /opt/local/bin/g++-apple-4.2 option to enable C++98 features
3858configure: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
3859conftest.cpp:41:3: error: #error "Compiler does not advertise C++98 conformance"
3860configure:10142: $? = 1
3861configure: 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|
3959configure: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
3960conftest.cpp:41:3: error: #error "Compiler does not advertise C++98 conformance"
3961configure:10142: $? = 1
3962configure: 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|
4060configure: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
4061conftest.cpp:41:3: error: #error "Compiler does not advertise C++98 conformance"
4062configure:10142: $? = 1
4063configure: 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|
4161configure: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
4162conftest.cpp:41:3: error: #error "Compiler does not advertise C++98 conformance"
4163configure:10142: $? = 1
4164configure: 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|
4262configure: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
4264conftest.cpp:41:3: error: #error "Compiler does not advertise C++98 conformance"
4265configure:10142: $? = 1
4266configure: 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|
4364configure:10155: result: unsupported
4365configure:10180: checking dependency style of /opt/local/bin/g++-apple-4.2
4366configure:10292: result: gcc3
4367configure:10443: checking how to print strings
4368configure:10470: result: printf
4369configure:10491: checking for a sed that does not truncate output
4370configure:10561: result: /opt/local/bin/gsed
4371configure:10579: checking for grep that handles long lines and -e
4372configure:10643: result: /opt/local/bin/ggrep
4373configure:10648: checking for egrep
4374configure:10716: result: /opt/local/bin/ggrep -E
4375configure:10721: checking for fgrep
4376configure:10789: result: /opt/local/bin/ggrep -F
4377configure:10825: checking for ld used by /opt/local/bin/gcc-apple-4.2 -std=gnu99
4378configure:10893: result: /opt/local/libexec/apple-gcc42/gcc/powerpc-apple-darwin8/4.2.4/ld
4379configure:10900: checking if the linker (/opt/local/libexec/apple-gcc42/gcc/powerpc-apple-darwin8/4.2.4/ld) is GNU ld
4380configure:10916: result: no
4381configure:10928: checking for BSD- or MS-compatible name lister (nm)
4382configure:10983: result: /usr/bin/nm -p
4383configure:11123: checking the name lister (/usr/bin/nm -p) interface
4384configure: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
4385configure:11134: /usr/bin/nm -p "conftest.o"
4386configure:11137: output
438700000000 D _some_variable
4388configure:11144: result: BSD nm
4389configure:11147: checking whether ln -s works
4390configure:11151: result: yes
4391configure:11159: checking the maximum length of command line arguments
4392configure:11291: result: 196608
4393configure:11339: checking how to convert powerpc-apple-darwin8.11.0 file names to powerpc-apple-darwin8.11.0 format
4394configure:11380: result: func_convert_file_noop
4395configure:11387: checking how to convert powerpc-apple-darwin8.11.0 file names to toolchain format
4396configure:11408: result: func_convert_file_noop
4397configure:11415: checking for /opt/local/libexec/apple-gcc42/gcc/powerpc-apple-darwin8/4.2.4/ld option to reload object files
4398configure:11423: result: -r
4399configure:11502: checking for file
4400configure:11523: found /opt/local/bin/file
4401configure:11534: result: file
4402configure:11610: checking for objdump
4403configure:11645: result: no
4404configure:11674: checking how to recognize dependent libraries
4405configure:11875: result: pass_all
4406configure:11965: checking for dlltool
4407configure:12000: result: no
4408configure:12030: checking how to associate runtime and link libraries
4409configure:12058: result: printf %s\n
4410configure:12208: checking for archiver @FILE support
4411configure: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
4412configure:12226: $? = 0
4413configure:12230: ar cr libconftest.a @conftest.lst >&5
4414ar: @conftest.lst: No such file or directory
4415configure:12233: $? = 1
4416configure:12253: result: no
4417configure:12316: checking for strip
4418configure:12337: found /opt/local/bin/strip
4419configure:12348: result: strip
4420configure:12425: checking for ranlib
4421configure:12446: found /opt/local/bin/ranlib
4422configure:12457: result: ranlib
4423configure:12559: checking command to parse /usr/bin/nm -p output from /opt/local/bin/gcc-apple-4.2 -std=gnu99 object
4424configure: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
4425configure:12716: $? = 0
4426configure: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
4427configure:12723: $? = 0
4428cannot find nm_test_var in conftest.nm
4429configure: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
4430configure:12716: $? = 0
4431configure: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
4432configure:12723: $? = 0
4433configure: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
4434configure:12792: $? = 0
4435configure:12830: result: ok
4436configure:12877: checking for sysroot
4437configure:12908: result: no
4438configure:12915: checking for a working dd
4439configure:12959: result: /bin/dd
4440configure:12963: checking how to truncate binary pipes
4441configure:12979: result: /bin/dd bs=4096 count=1
4442configure:13316: checking for mt
4443configure:13351: result: no
4444configure:13371: checking if : is a manifest tool
4445configure:13378: : '-?'
4446configure:13386: result: no
4447configure:13447: checking for dsymutil
4448configure:13468: found /usr/bin/dsymutil
4449configure:13479: result: dsymutil
4450configure:13549: checking for nmedit
4451configure:13570: found /opt/local/bin/nmedit
4452configure:13581: result: nmedit
4453configure:13651: checking for lipo
4454configure:13672: found /opt/local/bin/lipo
4455configure:13683: result: lipo
4456configure:13753: checking for otool
4457configure:13774: found /opt/local/bin/otool
4458configure:13785: result: otool
4459configure:13855: checking for otool64
4460configure:13876: found /usr/bin/otool64
4461configure:13887: result: otool64
4462configure: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
4464configure:13969: result: yes
4465configure:13972: checking for -exported_symbols_list linker flag
4466configure: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
4467configure:13993: $? = 0
4468configure:14004: result: yes
4469configure: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
4471ar cr libconftest.a conftest.o
4472ranlib 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
4474configure:14040: result: yes
4475configure:14107: checking for dlfcn.h
4476configure: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
4477configure:14107: $? = 0
4478configure:14107: result: yes
4479configure:14377: checking for objdir
4480configure:14393: result: .libs
4481configure:14657: checking if /opt/local/bin/gcc-apple-4.2 -std=gnu99 supports -fno-rtti -fno-exceptions
4482configure: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
4483cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C
4484configure:14680: $? = 0
4485configure:14693: result: no
4486configure:15051: checking for /opt/local/bin/gcc-apple-4.2 -std=gnu99 option to produce PIC
4487configure:15059: result: -fno-common -DPIC
4488configure:15067: checking if /opt/local/bin/gcc-apple-4.2 -std=gnu99 PIC flag -fno-common -DPIC works
4489configure: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
4490configure:15090: $? = 0
4491configure:15103: result: yes
4492configure:15132: checking if /opt/local/bin/gcc-apple-4.2 -std=gnu99 static flag -static works
4493configure:15161: result: no
4494configure:15176: checking if /opt/local/bin/gcc-apple-4.2 -std=gnu99 supports -c -o file.o
4495configure: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
4496configure:15202: $? = 0
4497configure:15224: result: yes
4498configure:15232: checking if /opt/local/bin/gcc-apple-4.2 -std=gnu99 supports -c -o file.o
4499configure:15280: result: yes
4500configure: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
4501configure:16581: result: yes
4502configure:16822: checking dynamic linker characteristics
4503configure:17646: result: darwin8.11.0 dyld
4504configure:17768: checking how to hardcode library paths into programs
4505configure:17793: result: immediate
4506configure:18345: checking whether stripping libraries is possible
4507configure:18362: result: yes
4508configure:18396: checking if libtool supports shared libraries
4509configure:18398: result: yes
4510configure:18401: checking whether to build shared libraries
4511configure:18426: result: no
4512configure:18429: checking whether to build static libraries
4513configure:18433: result: yes
4514configure:18456: checking how to run the C++ preprocessor
4515configure:18478: /opt/local/bin/g++-apple-4.2 -E -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport conftest.cpp
4516configure:18478: $? = 0
4517configure:18493: /opt/local/bin/g++-apple-4.2 -E -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport conftest.cpp
4518conftest.cpp:40:28: error: ac_nonexistent.h: No such file or directory
4519configure:18493: $? = 1
4520configure: 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>
4561configure:18520: result: /opt/local/bin/g++-apple-4.2 -E
4562configure:18534: /opt/local/bin/g++-apple-4.2 -E -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport conftest.cpp
4563configure:18534: $? = 0
4564configure:18549: /opt/local/bin/g++-apple-4.2 -E -I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport conftest.cpp
4565conftest.cpp:40:28: error: ac_nonexistent.h: No such file or directory
4566configure:18549: $? = 1
4567configure: 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>
4608configure:18714: checking for ld used by /opt/local/bin/g++-apple-4.2
4609configure:18782: result: /opt/local/libexec/apple-gcc42/gcc/powerpc-apple-darwin8/4.2.4/ld
4610configure:18789: checking if the linker (/opt/local/libexec/apple-gcc42/gcc/powerpc-apple-darwin8/4.2.4/ld) is GNU ld
4611configure:18805: result: no
4612configure: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
4613configure:19938: result: yes
4614configure: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
4615configure:19977: $? = 0
4616configure:20458: checking for /opt/local/bin/g++-apple-4.2 option to produce PIC
4617configure:20466: result: -fno-common -DPIC
4618configure:20474: checking if /opt/local/bin/g++-apple-4.2 PIC flag -fno-common -DPIC works
4619configure: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
4620configure:20497: $? = 0
4621configure:20510: result: yes
4622configure:20533: checking if /opt/local/bin/g++-apple-4.2 static flag -static works
4623configure:20562: result: no
4624configure:20574: checking if /opt/local/bin/g++-apple-4.2 supports -c -o file.o
4625configure: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
4626configure:20600: $? = 0
4627configure:20622: result: yes
4628configure:20627: checking if /opt/local/bin/g++-apple-4.2 supports -c -o file.o
4629configure:20675: result: yes
4630configure: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
4631configure:20745: result: yes
4632configure:20887: checking dynamic linker characteristics
4633configure:21638: result: darwin8.11.0 dyld
4634configure:21703: checking how to hardcode library paths into programs
4635configure:21728: result: immediate
4636configure:21807: checking linker version script flag
4637configure: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
4638ld: unknown option: --version-script
4639collect2: ld returned 1 exit status
4640configure:21842: $? = 1
4641configure: 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| }
4689configure: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
4690ld: warning: in conftest.map, file was built for unsupported file format which is not the architecture being linked (ppc)
4691configure:21889: $? = 0
4692configure: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
4693ld: warning: in conftest.map, file was built for unsupported file format which is not the architecture being linked (ppc)
4694configure:21938: $? = 0
4695configure:21957: result: unsupported
4696configure:22128: checking for pkg-config
4697configure:22151: found /opt/local/bin/pkg-config
4698configure:22163: result: /opt/local/bin/pkg-config
4699configure:22188: checking pkg-config is at least version 0.9.0
4700configure:22191: result: yes
4701configure:22251: checking whether to build gtk-doc documentation
4702configure:22253: result: no
4703configure:22260: checking for gtkdoc-check
4704configure:22283: found /opt/local/bin/gtkdoc-check
4705configure:22295: result: /opt/local/bin/gtkdoc-check
4706configure:22326: checking for xsltproc
4707configure:22349: found /opt/local/bin/xsltproc
4708configure:22361: result: /opt/local/bin/xsltproc
4709configure:22552: checking for special C compiler options needed for large files
4710configure:22600: result: no
4711configure:22606: checking for _FILE_OFFSET_BITS value needed for large files
4712configure: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
4713configure:22632: $? = 0
4714configure:22666: result: no
4715configure:22749: checking whether to enable assertions
4716configure:22770: result: yes
4717configure:22773: checking whether struct tm is in sys/time.h or time.h
4718configure: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
4719configure:22794: $? = 0
4720configure:22802: result: time.h
4721configure:22810: checking for /opt/local/bin/gcc-apple-4.2 -std=gnu99 options needed to detect all undeclared functions
4722configure: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
4723conftest.c: In function 'main':
4724conftest.c:45: error: 'strchr' undeclared (first use in this function)
4725conftest.c:45: error: (Each undeclared identifier is reported only once
4726conftest.c:45: error: for each function it appears in.)
4727configure:22832: $? = 1
4728configure: 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| }
4777configure: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
4778configure:22859: $? = 0
4779configure:22876: result: none needed
4780configure:22890: checking for struct tm.tm_zone
4781configure: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
4782configure:22890: $? = 0
4783configure:22890: result: yes
4784configure:22959: checking for /opt/local/bin/gcc-apple-4.2 -std=gnu99 option for timestamps after 2038
4785configure: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
4786conftest.c:48: warning: integer overflow in expression
4787conftest.c:48: warning: integer overflow in expression
4788conftest.c:48: warning: integer overflow in expression
4789conftest.c:50: error: size of array 'verify_time_t_range' is negative
4790configure:22991: $? = 1
4791configure: 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| }
4850configure: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
4851conftest.c:48: warning: integer overflow in expression
4852conftest.c:48: warning: integer overflow in expression
4853conftest.c:48: warning: integer overflow in expression
4854conftest.c:50: error: size of array 'verify_time_t_range' is negative
4855configure:22991: $? = 1
4856configure: 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| }
4915configure: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
4916conftest.c:48: warning: integer overflow in expression
4917conftest.c:48: warning: integer overflow in expression
4918conftest.c:48: warning: integer overflow in expression
4919conftest.c:50: error: size of array 'verify_time_t_range' is negative
4920configure:22991: $? = 1
4921configure: 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| }
4980configure: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
4981conftest.c:48: warning: integer overflow in expression
4982conftest.c:48: warning: integer overflow in expression
4983conftest.c:48: warning: integer overflow in expression
4984conftest.c:50: error: size of array 'verify_time_t_range' is negative
4985configure:22991: $? = 1
4986configure: 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| }
5045configure:23002: result: support not detected
5046configure: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':
5047configure:23063: error: could not enable timestamps after mid-January 2038.
5048This package recommends support for these later
5049timestamps. However, to proceed with signed 32-bit
5050time_t even though it will fail then, configure with
5051'--disable-year2038'.
5052See `config.log' for more details
5053
5054## ---------------- ##
5055## Cache variables. ##
5056## ---------------- ##
5057
5058ac_cv_build=powerpc-apple-darwin8.11.0
5059ac_cv_c_compiler_gnu=yes
5060ac_cv_c_const=yes
5061ac_cv_c_undeclared_builtin_options='none needed'
5062ac_cv_c_volatile=yes
5063ac_cv_cxx_compiler_gnu=yes
5064ac_cv_env_ADJTIME_PATH_set=
5065ac_cv_env_ADJTIME_PATH_value=
5066ac_cv_env_CCC_set=
5067ac_cv_env_CCC_value=
5068ac_cv_env_CC_set=set
5069ac_cv_env_CC_value=/opt/local/bin/gcc-apple-4.2
5070ac_cv_env_CFLAGS_set=set
5071ac_cv_env_CFLAGS_value='-pipe -Os -I/opt/local/include/LegacySupport -arch ppc'
5072ac_cv_env_CPPFLAGS_set=set
5073ac_cv_env_CPPFLAGS_value='-I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport'
5074ac_cv_env_CPP_set=
5075ac_cv_env_CPP_value=
5076ac_cv_env_CRYPTSETUP_CFLAGS_set=
5077ac_cv_env_CRYPTSETUP_CFLAGS_value=
5078ac_cv_env_CRYPTSETUP_LIBS_set=
5079ac_cv_env_CRYPTSETUP_LIBS_value=
5080ac_cv_env_CXXCPP_set=
5081ac_cv_env_CXXCPP_value=
5082ac_cv_env_CXXFLAGS_set=set
5083ac_cv_env_CXXFLAGS_value='-pipe -Os -arch ppc'
5084ac_cv_env_CXX_set=set
5085ac_cv_env_CXX_value=/opt/local/bin/g++-apple-4.2
5086ac_cv_env_DAEMON_CFLAGS_set=
5087ac_cv_env_DAEMON_CFLAGS_value=
5088ac_cv_env_DAEMON_LDFLAGS_set=
5089ac_cv_env_DAEMON_LDFLAGS_value=
5090ac_cv_env_ECONF_CFLAGS_set=
5091ac_cv_env_ECONF_CFLAGS_value=
5092ac_cv_env_ECONF_LIBS_set=
5093ac_cv_env_ECONF_LIBS_value=
5094ac_cv_env_LDFLAGS_set=set
5095ac_cv_env_LDFLAGS_value='-L/opt/local/lib -Wl,-headerpad_max_install_names -lMacportsLegacySupport -arch ppc'
5096ac_cv_env_LIBS_set=
5097ac_cv_env_LIBS_value=
5098ac_cv_env_LIBUSER_CFLAGS_set=
5099ac_cv_env_LIBUSER_CFLAGS_value=
5100ac_cv_env_LIBUSER_LIBS_set=
5101ac_cv_env_LIBUSER_LIBS_value=
5102ac_cv_env_LT_SYS_LIBRARY_PATH_set=
5103ac_cv_env_LT_SYS_LIBRARY_PATH_value=
5104ac_cv_env_NCURSESW_CFLAGS_set=
5105ac_cv_env_NCURSESW_CFLAGS_value=
5106ac_cv_env_NCURSESW_LIBS_set=
5107ac_cv_env_NCURSESW_LIBS_value=
5108ac_cv_env_NCURSES_CFLAGS_set=
5109ac_cv_env_NCURSES_CFLAGS_value=
5110ac_cv_env_NCURSES_LIBS_set=
5111ac_cv_env_NCURSES_LIBS_value=
5112ac_cv_env_PKG_CONFIG_LIBDIR_set=
5113ac_cv_env_PKG_CONFIG_LIBDIR_value=
5114ac_cv_env_PKG_CONFIG_PATH_set=
5115ac_cv_env_PKG_CONFIG_PATH_value=
5116ac_cv_env_PKG_CONFIG_set=
5117ac_cv_env_PKG_CONFIG_value=
5118ac_cv_env_PYTHON_CFLAGS_set=
5119ac_cv_env_PYTHON_CFLAGS_value=
5120ac_cv_env_PYTHON_LIBS_set=
5121ac_cv_env_PYTHON_LIBS_value=
5122ac_cv_env_PYTHON_set=
5123ac_cv_env_PYTHON_value=
5124ac_cv_env_SELINUX_CFLAGS_set=
5125ac_cv_env_SELINUX_CFLAGS_value=
5126ac_cv_env_SELINUX_LIBS_set=
5127ac_cv_env_SELINUX_LIBS_value=
5128ac_cv_env_SOLIB_CFLAGS_set=
5129ac_cv_env_SOLIB_CFLAGS_value=
5130ac_cv_env_SOLIB_LDFLAGS_set=
5131ac_cv_env_SOLIB_LDFLAGS_value=
5132ac_cv_env_SQLITE3_CFLAGS_set=
5133ac_cv_env_SQLITE3_CFLAGS_value=
5134ac_cv_env_SQLITE3_LIBS_set=
5135ac_cv_env_SQLITE3_LIBS_value=
5136ac_cv_env_SUID_CFLAGS_set=
5137ac_cv_env_SUID_CFLAGS_value=
5138ac_cv_env_SUID_LDFLAGS_set=
5139ac_cv_env_SUID_LDFLAGS_value=
5140ac_cv_env_SYSCONFSTATICDIR_set=
5141ac_cv_env_SYSCONFSTATICDIR_value=
5142ac_cv_env_SYSTEMD_CFLAGS_set=
5143ac_cv_env_SYSTEMD_CFLAGS_value=
5144ac_cv_env_SYSTEMD_DAEMON_CFLAGS_set=
5145ac_cv_env_SYSTEMD_DAEMON_CFLAGS_value=
5146ac_cv_env_SYSTEMD_DAEMON_LIBS_set=
5147ac_cv_env_SYSTEMD_DAEMON_LIBS_value=
5148ac_cv_env_SYSTEMD_JOURNAL_CFLAGS_set=
5149ac_cv_env_SYSTEMD_JOURNAL_CFLAGS_value=
5150ac_cv_env_SYSTEMD_JOURNAL_LIBS_set=
5151ac_cv_env_SYSTEMD_JOURNAL_LIBS_value=
5152ac_cv_env_SYSTEMD_LIBS_set=
5153ac_cv_env_SYSTEMD_LIBS_value=
5154ac_cv_env_TINFOW_CFLAGS_set=
5155ac_cv_env_TINFOW_CFLAGS_value=
5156ac_cv_env_TINFOW_LIBS_set=
5157ac_cv_env_TINFOW_LIBS_value=
5158ac_cv_env_TINFO_CFLAGS_set=
5159ac_cv_env_TINFO_CFLAGS_value=
5160ac_cv_env_TINFO_LIBS_set=
5161ac_cv_env_TINFO_LIBS_value=
5162ac_cv_env_YACC_set=
5163ac_cv_env_YACC_value=
5164ac_cv_env_YFLAGS_set=
5165ac_cv_env_YFLAGS_value=
5166ac_cv_env_build_alias_set=
5167ac_cv_env_build_alias_value=
5168ac_cv_env_host_alias_set=
5169ac_cv_env_host_alias_value=
5170ac_cv_env_target_alias_set=
5171ac_cv_env_target_alias_value=
5172ac_cv_env_with_bashcompletiondir_set=
5173ac_cv_env_with_bashcompletiondir_value=
5174ac_cv_env_with_systemdsystemunitdir_set=
5175ac_cv_env_with_systemdsystemunitdir_value=
5176ac_cv_env_with_tmpfilesdir_set=
5177ac_cv_env_with_tmpfilesdir_value=
5178ac_cv_header_dlfcn_h=yes
5179ac_cv_header_inttypes_h=yes
5180ac_cv_header_minix_config_h=no
5181ac_cv_header_stdint_h=yes
5182ac_cv_header_stdio_h=yes
5183ac_cv_header_stdlib_h=yes
5184ac_cv_header_string_h=yes
5185ac_cv_header_strings_h=yes
5186ac_cv_header_sys_stat_h=yes
5187ac_cv_header_sys_types_h=yes
5188ac_cv_header_unistd_h=yes
5189ac_cv_header_wchar_h=yes
5190ac_cv_host=powerpc-apple-darwin8.11.0
5191ac_cv_member_struct_tm_tm_zone=yes
5192ac_cv_objext=o
5193ac_cv_path_BISON=/opt/local/bin/bison
5194ac_cv_path_EGREP='/opt/local/bin/ggrep -E'
5195ac_cv_path_FGREP='/opt/local/bin/ggrep -F'
5196ac_cv_path_FLEX=/opt/local/bin/flex
5197ac_cv_path_GREP=/opt/local/bin/ggrep
5198ac_cv_path_GTKDOC_CHECK=/opt/local/bin/gtkdoc-check
5199ac_cv_path_SED=/opt/local/bin/gsed
5200ac_cv_path_XSLTPROC=/opt/local/bin/xsltproc
5201ac_cv_path_ac_pt_PKG_CONFIG=/opt/local/bin/pkg-config
5202ac_cv_path_lt_DD=/bin/dd
5203ac_cv_path_mkdir=/opt/local/bin/gmkdir
5204ac_cv_prog_AWK=gawk
5205ac_cv_prog_CPP='/opt/local/bin/gcc-apple-4.2 -std=gnu99 -E'
5206ac_cv_prog_CXXCPP='/opt/local/bin/g++-apple-4.2 -E'
5207ac_cv_prog_YACC='bison -y'
5208ac_cv_prog_ac_ct_AR=ar
5209ac_cv_prog_ac_ct_CC=/opt/local/bin/gcc-apple-4.2
5210ac_cv_prog_ac_ct_DSYMUTIL=dsymutil
5211ac_cv_prog_ac_ct_FILECMD=file
5212ac_cv_prog_ac_ct_LIPO=lipo
5213ac_cv_prog_ac_ct_NMEDIT=nmedit
5214ac_cv_prog_ac_ct_OTOOL64=otool64
5215ac_cv_prog_ac_ct_OTOOL=otool
5216ac_cv_prog_ac_ct_RANLIB=ranlib
5217ac_cv_prog_ac_ct_STRIP=strip
5218ac_cv_prog_cc_c11=no
5219ac_cv_prog_cc_c99=-std=gnu99
5220ac_cv_prog_cc_g=yes
5221ac_cv_prog_cc_stdc=-std=gnu99
5222ac_cv_prog_cxx_cxx11=no
5223ac_cv_prog_cxx_cxx98=no
5224ac_cv_prog_cxx_g=yes
5225ac_cv_prog_make_make_set=yes
5226ac_cv_safe_to_define___extensions__=yes
5227ac_cv_should_define__xopen_source=no
5228ac_cv_struct_tm=time.h
5229ac_cv_sys_file_offset_bits=no
5230ac_cv_sys_largefile_CC=no
5231ac_cv_sys_year2038_opts='support not detected'
5232am_cv_CC_dependencies_compiler_type=gcc3
5233am_cv_CXX_dependencies_compiler_type=gcc3
5234am_cv_ar_interface=ar
5235am_cv_make_support_nested_variables=yes
5236am_cv_prog_cc_c_o=yes
5237am_cv_prog_tar_pax=gnutar
5238ax_cv_check_vscript_flag=unsupported
5239lt_cv_apple_cc_single_mod=yes
5240lt_cv_ar_at_file=no
5241lt_cv_deplibs_check_method=pass_all
5242lt_cv_file_magic_cmd='$MAGIC_CMD'
5243lt_cv_file_magic_test_file=
5244lt_cv_ld_exported_symbols_list=yes
5245lt_cv_ld_force_load=yes
5246lt_cv_ld_reload_flag=-r
5247lt_cv_nm_interface='BSD nm'
5248lt_cv_objdir=.libs
5249lt_cv_path_LD=/opt/local/libexec/apple-gcc42/gcc/powerpc-apple-darwin8/4.2.4/ld
5250lt_cv_path_LDCXX=/opt/local/libexec/apple-gcc42/gcc/powerpc-apple-darwin8/4.2.4/ld
5251lt_cv_path_NM='/usr/bin/nm -p'
5252lt_cv_path_mainfest_tool=no
5253lt_cv_prog_compiler_c_o=yes
5254lt_cv_prog_compiler_c_o_CXX=yes
5255lt_cv_prog_compiler_pic='-fno-common -DPIC'
5256lt_cv_prog_compiler_pic_CXX='-fno-common -DPIC'
5257lt_cv_prog_compiler_pic_works=yes
5258lt_cv_prog_compiler_pic_works_CXX=yes
5259lt_cv_prog_compiler_rtti_exceptions=no
5260lt_cv_prog_compiler_static_works=no
5261lt_cv_prog_compiler_static_works_CXX=no
5262lt_cv_prog_gnu_ld=no
5263lt_cv_prog_gnu_ldcxx=no
5264lt_cv_sharedlib_from_linklib_cmd='printf %s\n'
5265lt_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'\'''
5266lt_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'\'''
5267lt_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'\'''
5268lt_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'\'''
5269lt_cv_sys_global_symbol_to_import=
5270lt_cv_sys_max_cmd_len=196608
5271lt_cv_to_host_file_cmd=func_convert_file_noop
5272lt_cv_to_tool_file_cmd=func_convert_file_noop
5273lt_cv_truncate_bin='/bin/dd bs=4096 count=1'
5274ul_cv_warn__Waddress_of_packed_member=no
5275ul_cv_warn__Wall=yes
5276ul_cv_warn__Walloca=no
5277ul_cv_warn__Wdiscarded_qualifiers=no
5278ul_cv_warn__Wembedded_directive=no
5279ul_cv_warn__Werror_sequence_point=yes
5280ul_cv_warn__Wextra=yes
5281ul_cv_warn__Wextra_semi=no
5282ul_cv_warn__Wformat_security=yes
5283ul_cv_warn__Wimplicit_function_declaration=yes
5284ul_cv_warn__Wmissing_declarations=yes
5285ul_cv_warn__Wmissing_parameter_type=no
5286ul_cv_warn__Wmissing_prototypes=yes
5287ul_cv_warn__Wnested_externs=yes
5288ul_cv_warn__Wno_cast_function_type=no
5289ul_cv_warn__Wno_clobbered=no
5290ul_cv_warn__Wno_missing_field_initializers=yes
5291ul_cv_warn__Wold_style_definition=yes
5292ul_cv_warn__Wpointer_arith=yes
5293ul_cv_warn__Wredundant_decls=yes
5294ul_cv_warn__Wsign_compare=yes
5295ul_cv_warn__Wstrict_prototypes=yes
5296ul_cv_warn__Wtype_limits=no
5297ul_cv_warn__Wuninitialized=no
5298ul_cv_warn__Wunused_but_set_parameter=no
5299ul_cv_warn__Wunused_but_set_variable=no
5300ul_cv_warn__Wunused_parameter=yes
5301ul_cv_warn__Wunused_result=no
5302ul_cv_warn__Wunused_variable=yes
5303ul_cv_warn__Wvla=no
5304ul_cv_warn__fno_common=yes
5305
5306## ----------------- ##
5307## Output variables. ##
5308## ----------------- ##
5309
5310ACLOCAL='${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'
5311ADJTIME_PATH=''
5312AMDEPBACKSLASH='\'
5313AMDEP_FALSE='#'
5314AMDEP_TRUE=''
5315AMTAR='$${TAR-tar}'
5316AM_BACKSLASH='\'
5317AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
5318AM_DEFAULT_VERBOSITY='1'
5319AM_V='$(V)'
5320AR='ar'
5321ARCH_86_64_FALSE=''
5322ARCH_86_64_TRUE='#'
5323ARCH_HPPA_FALSE=''
5324ARCH_HPPA_TRUE='#'
5325ARCH_I86_FALSE=''
5326ARCH_I86_TRUE='#'
5327ARCH_IA64_FALSE=''
5328ARCH_IA64_TRUE='#'
5329ARCH_M68K_FALSE=''
5330ARCH_M68K_TRUE='#'
5331ARCH_MIPS_FALSE=''
5332ARCH_MIPS_TRUE='#'
5333ARCH_PPC_FALSE='#'
5334ARCH_PPC_TRUE=''
5335ARCH_S390_FALSE=''
5336ARCH_S390_TRUE='#'
5337ARCH_SPARC_FALSE=''
5338ARCH_SPARC_TRUE='#'
5339ASAN_LDFLAGS=''
5340ASCIIDOCTOR=''
5341AUTOCONF='${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'
5342AUTOHEADER='${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'
5343AUTOMAKE='${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'
5344AWK='gawk'
5345BISON='/opt/local/bin/bison'
5346BSD_FALSE=''
5347BSD_TRUE='#'
5348BSD_WARN_CFLAGS=''
5349BUILD_AGETTY_FALSE=''
5350BUILD_AGETTY_TRUE=''
5351BUILD_BASH_COMPLETION_FALSE=''
5352BUILD_BASH_COMPLETION_TRUE=''
5353BUILD_BFS_FALSE=''
5354BUILD_BFS_TRUE=''
5355BUILD_BLKDISCARD_FALSE=''
5356BUILD_BLKDISCARD_TRUE=''
5357BUILD_BLKID_FALSE=''
5358BUILD_BLKID_TRUE=''
5359BUILD_BLKPR_FALSE=''
5360BUILD_BLKPR_TRUE=''
5361BUILD_BLKZONE_FALSE=''
5362BUILD_BLKZONE_TRUE=''
5363BUILD_BLOCKDEV_FALSE=''
5364BUILD_BLOCKDEV_TRUE=''
5365BUILD_CAL_FALSE=''
5366BUILD_CAL_TRUE=''
5367BUILD_CFDISK_FALSE=''
5368BUILD_CFDISK_TRUE=''
5369BUILD_CHCPU_FALSE=''
5370BUILD_CHCPU_TRUE=''
5371BUILD_CHFN_CHSH_FALSE=''
5372BUILD_CHFN_CHSH_TRUE=''
5373BUILD_CHMEM_FALSE=''
5374BUILD_CHMEM_TRUE=''
5375BUILD_CHOOM_FALSE=''
5376BUILD_CHOOM_TRUE=''
5377BUILD_CHRT_FALSE=''
5378BUILD_CHRT_TRUE=''
5379BUILD_COLCRT_FALSE=''
5380BUILD_COLCRT_TRUE=''
5381BUILD_COLRM_FALSE=''
5382BUILD_COLRM_TRUE=''
5383BUILD_COLUMN_FALSE=''
5384BUILD_COLUMN_TRUE=''
5385BUILD_COL_FALSE=''
5386BUILD_COL_TRUE=''
5387BUILD_CRAMFS_FALSE=''
5388BUILD_CRAMFS_TRUE=''
5389BUILD_CTRLALTDEL_FALSE=''
5390BUILD_CTRLALTDEL_TRUE=''
5391BUILD_DMESG_FALSE=''
5392BUILD_DMESG_TRUE=''
5393BUILD_EJECT_FALSE=''
5394BUILD_EJECT_TRUE=''
5395BUILD_ENOSYS_FALSE=''
5396BUILD_ENOSYS_TRUE=''
5397BUILD_EXCH_FALSE=''
5398BUILD_EXCH_TRUE=''
5399BUILD_FADVISE_FALSE=''
5400BUILD_FADVISE_TRUE=''
5401BUILD_FALLOCATE_FALSE=''
5402BUILD_FALLOCATE_TRUE=''
5403BUILD_FDFORMAT_FALSE=''
5404BUILD_FDFORMAT_TRUE=''
5405BUILD_FDISK_FALSE=''
5406BUILD_FDISK_TRUE=''
5407BUILD_FINCORE_FALSE=''
5408BUILD_FINCORE_TRUE=''
5409BUILD_FINDFS_FALSE=''
5410BUILD_FINDFS_TRUE=''
5411BUILD_FINDMNT_FALSE=''
5412BUILD_FINDMNT_TRUE=''
5413BUILD_FLOCK_FALSE=''
5414BUILD_FLOCK_TRUE=''
5415BUILD_FSCK_FALSE=''
5416BUILD_FSCK_TRUE=''
5417BUILD_FSFREEZE_FALSE=''
5418BUILD_FSFREEZE_TRUE=''
5419BUILD_FSTRIM_FALSE=''
5420BUILD_FSTRIM_TRUE=''
5421BUILD_GETOPT_FALSE=''
5422BUILD_GETOPT_TRUE=''
5423BUILD_HARDLINK_FALSE=''
5424BUILD_HARDLINK_TRUE=''
5425BUILD_HEXDUMP_FALSE=''
5426BUILD_HEXDUMP_TRUE=''
5427BUILD_HWCLOCK_FALSE=''
5428BUILD_HWCLOCK_TRUE=''
5429BUILD_IONICE_FALSE=''
5430BUILD_IONICE_TRUE=''
5431BUILD_IPCMK_FALSE=''
5432BUILD_IPCMK_TRUE=''
5433BUILD_IPCRM_FALSE=''
5434BUILD_IPCRM_TRUE=''
5435BUILD_IPCS_FALSE=''
5436BUILD_IPCS_TRUE=''
5437BUILD_IRQTOP_FALSE=''
5438BUILD_IRQTOP_TRUE=''
5439BUILD_ISOSIZE_FALSE=''
5440BUILD_ISOSIZE_TRUE=''
5441BUILD_KILL_FALSE=''
5442BUILD_KILL_TRUE=''
5443BUILD_LAST_FALSE=''
5444BUILD_LAST_TRUE=''
5445BUILD_LDATTACH_FALSE=''
5446BUILD_LDATTACH_TRUE=''
5447BUILD_LIBBLKID_FALSE=''
5448BUILD_LIBBLKID_TESTS_FALSE=''
5449BUILD_LIBBLKID_TESTS_TRUE=''
5450BUILD_LIBBLKID_TRUE=''
5451BUILD_LIBFDISK_FALSE=''
5452BUILD_LIBFDISK_TESTS_FALSE=''
5453BUILD_LIBFDISK_TESTS_TRUE=''
5454BUILD_LIBFDISK_TRUE=''
5455BUILD_LIBLASTLOG2_FALSE=''
5456BUILD_LIBLASTLOG2_TESTS_FALSE=''
5457BUILD_LIBLASTLOG2_TESTS_TRUE=''
5458BUILD_LIBLASTLOG2_TRUE=''
5459BUILD_LIBMOUNT_FALSE=''
5460BUILD_LIBMOUNT_TESTS_FALSE=''
5461BUILD_LIBMOUNT_TESTS_TRUE=''
5462BUILD_LIBMOUNT_TRUE=''
5463BUILD_LIBSMARTCOLS_FALSE=''
5464BUILD_LIBSMARTCOLS_TRUE=''
5465BUILD_LIBUUID_FALSE=''
5466BUILD_LIBUUID_TRUE=''
5467BUILD_LINE_FALSE=''
5468BUILD_LINE_TRUE=''
5469BUILD_LOGGER_FALSE=''
5470BUILD_LOGGER_TRUE=''
5471BUILD_LOGIN_FALSE=''
5472BUILD_LOGIN_TRUE=''
5473BUILD_LOOK_FALSE=''
5474BUILD_LOOK_TRUE=''
5475BUILD_LOSETUP_FALSE=''
5476BUILD_LOSETUP_TRUE=''
5477BUILD_LSBLK_FALSE=''
5478BUILD_LSBLK_TRUE=''
5479BUILD_LSCLOCKS_FALSE=''
5480BUILD_LSCLOCKS_TRUE=''
5481BUILD_LSCPU_FALSE=''
5482BUILD_LSCPU_TRUE=''
5483BUILD_LSFD_FALSE=''
5484BUILD_LSFD_TRUE=''
5485BUILD_LSIPC_FALSE=''
5486BUILD_LSIPC_TRUE=''
5487BUILD_LSIRQ_FALSE=''
5488BUILD_LSIRQ_TRUE=''
5489BUILD_LSLOCKS_FALSE=''
5490BUILD_LSLOCKS_TRUE=''
5491BUILD_LSLOGINS_FALSE=''
5492BUILD_LSLOGINS_TRUE=''
5493BUILD_LSMEM_FALSE=''
5494BUILD_LSMEM_TRUE=''
5495BUILD_LSNS_FALSE=''
5496BUILD_LSNS_TRUE=''
5497BUILD_MCOOKIE_FALSE=''
5498BUILD_MCOOKIE_TRUE=''
5499BUILD_MESG_FALSE=''
5500BUILD_MESG_TRUE=''
5501BUILD_MINIX_FALSE=''
5502BUILD_MINIX_TRUE=''
5503BUILD_MKFS_FALSE=''
5504BUILD_MKFS_TRUE=''
5505BUILD_MKSWAP_FALSE=''
5506BUILD_MKSWAP_TRUE=''
5507BUILD_MORE_FALSE=''
5508BUILD_MORE_TRUE=''
5509BUILD_MOUNTPOINT_FALSE=''
5510BUILD_MOUNTPOINT_TRUE=''
5511BUILD_MOUNT_FALSE=''
5512BUILD_MOUNT_TRUE=''
5513BUILD_NAMEI_FALSE=''
5514BUILD_NAMEI_TRUE=''
5515BUILD_NEWGRP_FALSE=''
5516BUILD_NEWGRP_TRUE=''
5517BUILD_NOLOGIN_FALSE=''
5518BUILD_NOLOGIN_TRUE=''
5519BUILD_NSENTER_FALSE=''
5520BUILD_NSENTER_TRUE=''
5521BUILD_PAM_LASTLOG2_FALSE=''
5522BUILD_PAM_LASTLOG2_TRUE=''
5523BUILD_PARTX_FALSE=''
5524BUILD_PARTX_TRUE=''
5525BUILD_PG_FALSE=''
5526BUILD_PG_TRUE=''
5527BUILD_PIPESZ_FALSE=''
5528BUILD_PIPESZ_TRUE=''
5529BUILD_PIVOT_ROOT_FALSE=''
5530BUILD_PIVOT_ROOT_TRUE=''
5531BUILD_PRLIMIT_FALSE=''
5532BUILD_PRLIMIT_TRUE=''
5533BUILD_PYLIBMOUNT_FALSE=''
5534BUILD_PYLIBMOUNT_TRUE=''
5535BUILD_RAW_FALSE=''
5536BUILD_RAW_TRUE=''
5537BUILD_READPROFILE_FALSE=''
5538BUILD_READPROFILE_TRUE=''
5539BUILD_RENAME_FALSE=''
5540BUILD_RENAME_TRUE=''
5541BUILD_RENICE_FALSE=''
5542BUILD_RENICE_TRUE=''
5543BUILD_REV_FALSE=''
5544BUILD_REV_TRUE=''
5545BUILD_RFKILL_FALSE=''
5546BUILD_RFKILL_TRUE=''
5547BUILD_RTCWAKE_FALSE=''
5548BUILD_RTCWAKE_TRUE=''
5549BUILD_RUNUSER_FALSE=''
5550BUILD_RUNUSER_TRUE=''
5551BUILD_SCRIPTLIVE_FALSE=''
5552BUILD_SCRIPTLIVE_TRUE=''
5553BUILD_SCRIPTREPLAY_FALSE=''
5554BUILD_SCRIPTREPLAY_TRUE=''
5555BUILD_SCRIPT_FALSE=''
5556BUILD_SCRIPT_TRUE=''
5557BUILD_SETARCH_FALSE=''
5558BUILD_SETARCH_TRUE=''
5559BUILD_SETPGID_FALSE=''
5560BUILD_SETPGID_TRUE=''
5561BUILD_SETPRIV_FALSE=''
5562BUILD_SETPRIV_TRUE=''
5563BUILD_SETSID_FALSE=''
5564BUILD_SETSID_TRUE=''
5565BUILD_SETTERM_FALSE=''
5566BUILD_SETTERM_TRUE=''
5567BUILD_SFDISK_FALSE=''
5568BUILD_SFDISK_TRUE=''
5569BUILD_SULOGIN_FALSE=''
5570BUILD_SULOGIN_TRUE=''
5571BUILD_SU_FALSE=''
5572BUILD_SU_TRUE=''
5573BUILD_SWAPLABEL_FALSE=''
5574BUILD_SWAPLABEL_TRUE=''
5575BUILD_SWAPON_FALSE=''
5576BUILD_SWAPON_TRUE=''
5577BUILD_SWITCH_ROOT_FALSE=''
5578BUILD_SWITCH_ROOT_TRUE=''
5579BUILD_TASKSET_FALSE=''
5580BUILD_TASKSET_TRUE=''
5581BUILD_TUNELP_FALSE=''
5582BUILD_TUNELP_TRUE=''
5583BUILD_UCLAMPSET_FALSE=''
5584BUILD_UCLAMPSET_TRUE=''
5585BUILD_UL_FALSE=''
5586BUILD_UL_TRUE=''
5587BUILD_UNSHARE_FALSE=''
5588BUILD_UNSHARE_TRUE=''
5589BUILD_UTMPDUMP_FALSE=''
5590BUILD_UTMPDUMP_TRUE=''
5591BUILD_UUIDD_FALSE=''
5592BUILD_UUIDD_TRUE=''
5593BUILD_UUIDGEN_FALSE=''
5594BUILD_UUIDGEN_TRUE=''
5595BUILD_UUIDPARSE_FALSE=''
5596BUILD_UUIDPARSE_TRUE=''
5597BUILD_VIPW_FALSE=''
5598BUILD_VIPW_TRUE=''
5599BUILD_WAITPID_FALSE=''
5600BUILD_WAITPID_TRUE=''
5601BUILD_WALL_FALSE=''
5602BUILD_WALL_TRUE=''
5603BUILD_WDCTL_FALSE=''
5604BUILD_WDCTL_TRUE=''
5605BUILD_WHEREIS_FALSE=''
5606BUILD_WHEREIS_TRUE=''
5607BUILD_WIPEFS_FALSE=''
5608BUILD_WIPEFS_TRUE=''
5609BUILD_WRITE_FALSE=''
5610BUILD_WRITE_TRUE=''
5611BUILD_ZRAMCTL_FALSE=''
5612BUILD_ZRAMCTL_TRUE=''
5613CC='/opt/local/bin/gcc-apple-4.2 -std=gnu99'
5614CCDEPMODE='depmode=gcc3'
5615CFLAGS='-pipe -Os -I/opt/local/include/LegacySupport -arch ppc'
5616CHFN_CHSH_PASSWORD_FALSE=''
5617CHFN_CHSH_PASSWORD_TRUE=''
5618COVERAGE_LDFLAGS=''
5619CPP='/opt/local/bin/gcc-apple-4.2 -std=gnu99 -E'
5620CPPFLAGS='-I/opt/local/include -D__DARWIN_UNIX03 -I/opt/local/include/LegacySupport'
5621CRYPTSETUP_CFLAGS=''
5622CRYPTSETUP_LIBS=''
5623CRYPTSETUP_LIBS_STATIC=''
5624CRYPTSETUP_VIA_DLOPEN_FALSE=''
5625CRYPTSETUP_VIA_DLOPEN_TRUE=''
5626CSCOPE='cscope'
5627CTAGS='ctags'
5628CXX='/opt/local/bin/g++-apple-4.2'
5629CXXCPP='/opt/local/bin/g++-apple-4.2 -E'
5630CXXDEPMODE='depmode=gcc3'
5631CXXFLAGS='-pipe -Os -arch ppc'
5632CYGPATH_W='echo'
5633DAEMON_CFLAGS=''
5634DAEMON_LDFLAGS=''
5635DARWIN_FALSE='#'
5636DARWIN_TRUE=''
5637DEFS=''
5638DEPDIR='.deps'
5639DLLTOOL='false'
5640DSYMUTIL='dsymutil'
5641DUMPBIN=''
5642ECHO_C=''
5643ECHO_N='-n'
5644ECHO_T=''
5645ECONF_CFLAGS=''
5646ECONF_LIBS=''
5647EGREP='/opt/local/bin/ggrep -E'
5648ENABLE_ASCIIDOC_FALSE=''
5649ENABLE_ASCIIDOC_TRUE=''
5650ENABLE_GTK_DOC_FALSE=''
5651ENABLE_GTK_DOC_TRUE='#'
5652ENABLE_POMAN_FALSE=''
5653ENABLE_POMAN_TRUE=''
5654ETAGS='etags'
5655EXEEXT=''
5656FGREP='/opt/local/bin/ggrep -F'
5657FILECMD='file'
5658FLEX='/opt/local/bin/flex'
5659FUZZING_ENGINE_FALSE=''
5660FUZZING_ENGINE_LDFLAGS=''
5661FUZZING_ENGINE_TRUE='#'
5662GETTEXT_MACRO_VERSION=''
5663GMSGFMT=''
5664GMSGFMT_015=''
5665GREP='/opt/local/bin/ggrep'
5666GTKDOC_CHECK='/opt/local/bin/gtkdoc-check'
5667GTK_DOC_USE_LIBTOOL_FALSE='#'
5668GTK_DOC_USE_LIBTOOL_TRUE=''
5669HAVE_ASCIIDOCTOR_FAILURE_LEVEL_FALSE=''
5670HAVE_ASCIIDOCTOR_FAILURE_LEVEL_TRUE=''
5671HAVE_AUDIT_FALSE=''
5672HAVE_AUDIT_TRUE=''
5673HAVE_BTRFS_FALSE=''
5674HAVE_BTRFS_TRUE=''
5675HAVE_CAP_NG_FALSE=''
5676HAVE_CAP_NG_TRUE=''
5677HAVE_CPU_SET_T_FALSE=''
5678HAVE_CPU_SET_T_TRUE=''
5679HAVE_CRYPTSETUP_FALSE=''
5680HAVE_CRYPTSETUP_TRUE=''
5681HAVE_DIRFD_FALSE=''
5682HAVE_DIRFD_TRUE=''
5683HAVE_ECONF_FALSE=''
5684HAVE_ECONF_TRUE=''
5685HAVE_LANGINFO_H_FALSE=''
5686HAVE_LANGINFO_H_TRUE=''
5687HAVE_LIBCRYPT_FALSE=''
5688HAVE_LIBCRYPT_TRUE=''
5689HAVE_LINUXPAM_FALSE=''
5690HAVE_LINUXPAM_TRUE=''
5691HAVE_LINUX_LANDLOCK_H_FALSE=''
5692HAVE_LINUX_LANDLOCK_H_TRUE=''
5693HAVE_MANPAGES_FALSE=''
5694HAVE_MANPAGES_TRUE=''
5695HAVE_NCURSES_FALSE=''
5696HAVE_NCURSES_TRUE=''
5697HAVE_OPENAT_FALSE=''
5698HAVE_OPENAT_TRUE=''
5699HAVE_PTY_FALSE=''
5700HAVE_PTY_TRUE=''
5701HAVE_READLINE_FALSE=''
5702HAVE_READLINE_TRUE=''
5703HAVE_SELINUX_FALSE=''
5704HAVE_SELINUX_TRUE=''
5705HAVE_SLANG_FALSE=''
5706HAVE_SLANG_TRUE=''
5707HAVE_STATIC_BLKID_FALSE=''
5708HAVE_STATIC_BLKID_TRUE=''
5709HAVE_STATIC_FDISK_FALSE=''
5710HAVE_STATIC_FDISK_TRUE=''
5711HAVE_STATIC_LOSETUP_FALSE=''
5712HAVE_STATIC_LOSETUP_TRUE=''
5713HAVE_STATIC_MOUNT_FALSE=''
5714HAVE_STATIC_MOUNT_TRUE=''
5715HAVE_STATIC_NSENTER_FALSE=''
5716HAVE_STATIC_NSENTER_TRUE=''
5717HAVE_STATIC_SFDISK_FALSE=''
5718HAVE_STATIC_SFDISK_TRUE=''
5719HAVE_STATIC_UMOUNT_FALSE=''
5720HAVE_STATIC_UMOUNT_TRUE=''
5721HAVE_STATIC_UNSHARE_FALSE=''
5722HAVE_STATIC_UNSHARE_TRUE=''
5723HAVE_SYSTEMD_FALSE=''
5724HAVE_SYSTEMD_TRUE=''
5725HAVE_TINFO_FALSE=''
5726HAVE_TINFO_TRUE=''
5727HAVE_UDEV_FALSE=''
5728HAVE_UDEV_TRUE=''
5729HAVE_USER_FALSE=''
5730HAVE_USER_TRUE=''
5731HAVE_UTEMPTER_FALSE=''
5732HAVE_UTEMPTER_TRUE=''
5733HAVE_UTIL_FALSE=''
5734HAVE_UTIL_TRUE=''
5735HAVE_VSCRIPT_COMPLEX_FALSE=''
5736HAVE_VSCRIPT_COMPLEX_TRUE='#'
5737HAVE_VSCRIPT_FALSE=''
5738HAVE_VSCRIPT_TRUE='#'
5739HTML_DIR='${datadir}/gtk-doc/html'
5740INSTALL_DATA='${INSTALL} -m 644'
5741INSTALL_PROGRAM='${INSTALL}'
5742INSTALL_SCRIPT='${INSTALL}'
5743INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
5744INTLLIBS=''
5745INTL_MACOSX_LIBS=''
5746LD='/opt/local/libexec/apple-gcc42/gcc/powerpc-apple-darwin8/4.2.4/ld'
5747LDFLAGS='-L/opt/local/lib -Wl,-headerpad_max_install_names -lMacportsLegacySupport -arch ppc'
5748LIBBLKID_DATE='06-May-2024'
5749LIBBLKID_VERSION='2.40.1'
5750LIBBLKID_VERSION_INFO='2:0:1'
5751LIBFDISK_MAJOR_VERSION=''
5752LIBFDISK_MINOR_VERSION=''
5753LIBFDISK_PATCH_VERSION=''
5754LIBFDISK_PC_REQUIRES=''
5755LIBFDISK_VERSION='2.40.1'
5756LIBFDISK_VERSION_INFO='2:0:1'
5757LIBICONV=''
5758LIBINTL=''
5759LIBLASTLOG2_VERSION='2.40.1'
5760LIBLASTLOG2_VERSION_INFO='2:0:0'
5761LIBMOUNT_MAJOR_VERSION=''
5762LIBMOUNT_MINOR_VERSION=''
5763LIBMOUNT_PATCH_VERSION=''
5764LIBMOUNT_VERSION='2.40.1'
5765LIBMOUNT_VERSION_INFO='2:0:1'
5766LIBOBJS=''
5767LIBS=''
5768LIBSMARTCOLS_VERSION='2.40.1'
5769LIBSMARTCOLS_VERSION_INFO='2:0:1'
5770LIBTOOL='$(SHELL) $(top_builddir)/libtool'
5771LIBUSER_CFLAGS=''
5772LIBUSER_LIBS=''
5773LIBUUID_VERSION='2.40.1'
5774LIBUUID_VERSION_INFO='4:0:3'
5775LINUX_FALSE=''
5776LINUX_TRUE='#'
5777LIPO='lipo'
5778LN_S='ln -s'
5779LTLIBICONV=''
5780LTLIBINTL=''
5781LTLIBOBJS=''
5782LT_SYS_LIBRARY_PATH=''
5783MAGIC_LIBS=''
5784MAKEINFO='${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'
5785MAKEINSTALL_DO_CHOWN_FALSE=''
5786MAKEINSTALL_DO_CHOWN_TRUE=''
5787MAKEINSTALL_DO_SETUID_FALSE=''
5788MAKEINSTALL_DO_SETUID_TRUE=''
5789MANIFEST_TOOL=':'
5790MATH_LIBS=''
5791MKDIR_P='/opt/local/bin/gmkdir -p'
5792MQ_LIBS=''
5793MSGFMT=''
5794MSGFMT_015=''
5795MSGMERGE=''
5796NCURSES5_CONFIG=''
5797NCURSES6_CONFIG=''
5798NCURSESW5_CONFIG=''
5799NCURSESW6_CONFIG=''
5800NCURSESW_CFLAGS=''
5801NCURSESW_LIBS=''
5802NCURSES_CFLAGS=''
5803NCURSES_LIBS=''
5804NM='/usr/bin/nm -p'
5805NMEDIT='nmedit'
5806OBJDUMP='false'
5807OBJEXT='o'
5808OSS_FUZZ_FALSE=''
5809OSS_FUZZ_TRUE='#'
5810OTOOL64='otool64'
5811OTOOL='otool'
5812PACKAGE='util-linux'
5813PACKAGE_BUGREPORT='kzak@redhat.com'
5814PACKAGE_NAME='util-linux'
5815PACKAGE_STRING='util-linux 2.40.1'
5816PACKAGE_TARNAME='util-linux'
5817PACKAGE_URL='https://www.kernel.org/pub/linux/utils/util-linux/'
5818PACKAGE_VERSION='2.40.1'
5819PATH_SEPARATOR=':'
5820PKG_CONFIG='/opt/local/bin/pkg-config'
5821PKG_CONFIG_LIBDIR=''
5822PKG_CONFIG_PATH=''
5823PO4A=''
5824POSUB=''
5825PYTHON=''
5826PYTHON_CFLAGS=''
5827PYTHON_EXEC_PREFIX=''
5828PYTHON_LIBS=''
5829PYTHON_PLATFORM=''
5830PYTHON_PREFIX=''
5831PYTHON_VERSION=''
5832PYTHON_WARN_CFLAGS=''
5833RANLIB='ranlib'
5834READLINE_LIBS=''
5835READLINE_LIBS_STATIC=''
5836REALTIME_LIBS=''
5837RTAS_LIBS=''
5838SED='/opt/local/bin/gsed'
5839SELINUX_CFLAGS=''
5840SELINUX_LIBS=''
5841SELINUX_LIBS_STATIC=''
5842SET_MAKE=''
5843SHELL='/bin/sh'
5844SOCKET_LIBS=''
5845SOLIB_CFLAGS=''
5846SOLIB_LDFLAGS=''
5847SQLITE3_CFLAGS=''
5848SQLITE3_LIBS=''
5849STRIP='strip'
5850SUID_CFLAGS=''
5851SUID_LDFLAGS=''
5852SYSCONFSTATICDIR=''
5853SYSTEMD_CFLAGS=''
5854SYSTEMD_DAEMON_CFLAGS=''
5855SYSTEMD_DAEMON_LIBS=''
5856SYSTEMD_JOURNAL_CFLAGS=''
5857SYSTEMD_JOURNAL_LIBS=''
5858SYSTEMD_LIBS=''
5859TINFOW_CFLAGS=''
5860TINFOW_LIBS=''
5861TINFO_CFLAGS=''
5862TINFO_LIBS=''
5863TINFO_LIBS_STATIC=''
5864UBSAN_LDFLAGS=''
5865USE_HWCLOCK_CMOS_FALSE=''
5866USE_HWCLOCK_CMOS_TRUE=''
5867USE_HWCLOCK_GPLv3_DATETIME_FALSE=''
5868USE_HWCLOCK_GPLv3_DATETIME_TRUE=''
5869USE_NLS=''
5870USE_PLYMOUTH_SUPPORT_FALSE=''
5871USE_PLYMOUTH_SUPPORT_TRUE=''
5872USE_TTY_GROUP_FALSE=''
5873USE_TTY_GROUP_TRUE=''
5874USE_VENDORDIR_FALSE=''
5875USE_VENDORDIR_TRUE=''
5876VERSION='2.40.1'
5877VSCRIPT_LDFLAGS=''
5878WARN_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'
5879WITH_COVERAGE_FALSE=''
5880WITH_COVERAGE_TRUE='#'
5881XGETTEXT=''
5882XGETTEXT_015=''
5883XGETTEXT_EXTRA_OPTIONS=''
5884XSLTPROC='/opt/local/bin/xsltproc'
5885YACC='bison -y'
5886YFLAGS=''
5887ac_ct_AR='ar'
5888ac_ct_CC='/opt/local/bin/gcc-apple-4.2'
5889ac_ct_CXX=''
5890ac_ct_DUMPBIN=''
5891am__EXEEXT_FALSE=''
5892am__EXEEXT_TRUE=''
5893am__fastdepCC_FALSE='#'
5894am__fastdepCC_TRUE=''
5895am__fastdepCXX_FALSE='#'
5896am__fastdepCXX_TRUE=''
5897am__include='include'
5898am__isrc=''
5899am__leading_dot='.'
5900am__nodep='_no'
5901am__quote=''
5902am__tar='tar --format=posix -chf - "$$tardir"'
5903am__untar='tar -xf -'
5904bashcompletiondir=''
5905bindir='${exec_prefix}/bin'
5906build='powerpc-apple-darwin8.11.0'
5907build_alias=''
5908build_cpu='powerpc'
5909build_os='darwin8.11.0'
5910build_vendor='apple'
5911datadir='${datarootdir}'
5912datarootdir='${prefix}/share'
5913docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
5914dvidir='${docdir}'
5915exec_prefix='NONE'
5916host='powerpc-apple-darwin8.11.0'
5917host_alias=''
5918host_cpu='powerpc'
5919host_os='darwin8.11.0'
5920host_vendor='apple'
5921htmldir='${docdir}'
5922includedir='${prefix}/include'
5923infodir='${datarootdir}/info'
5924install_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'
5925libdir='${exec_prefix}/lib'
5926libexecdir='${exec_prefix}/libexec'
5927localedir='${datarootdir}/locale'
5928localstatedir='${prefix}/var'
5929mandir='${datarootdir}/man'
5930mkdir_p='$(MKDIR_P)'
5931oldincludedir='/usr/include'
5932pdfdir='${docdir}'
5933pkgconfigdir='${usrlib_execdir}/pkgconfig'
5934pkgpyexecdir=''
5935pkgpythondir=''
5936prefix='/opt/local'
5937program_transform_name='s,x,x,'
5938psdir='${docdir}'
5939pyexecdir=''
5940pythondir=''
5941runstatedir='${localstatedir}/run'
5942sbindir='${exec_prefix}/sbin'
5943sharedstatedir='${prefix}/com'
5944sysconfdir='${prefix}/etc'
5945sysconfstaticdir='${prefix}/lib'
5946systemdsystemunitdir=''
5947target_alias=''
5948tmpfilesdir=''
5949usrbin_execdir='${exec_prefix}/bin'
5950usrlib_execdir='${exec_prefix}/lib'
5951usrsbin_execdir='${exec_prefix}/sbin'
5952vendordir=''
5953verbatim_pylibmount_dependency=''
5954with_bashcompletiondir=''
5955with_systemdsystemunitdir=''
5956with_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
6004configure: exit 1