Ticket #64937: config.log

File config.log, 67.9 KB (added by barracuda156, 3 years ago)
Line 
1This file contains any messages produced by compilers while
2running configure, to aid debugging if configure makes a mistake.
3
4It was created by usbredir configure 0.9.0, which was
5generated by GNU Autoconf 2.71.  Invocation command line was
6
7  $ ./configure --prefix=/opt/local --disable-silent-rules
8
9## --------- ##
10## Platform. ##
11## --------- ##
12
13hostname = macmini.private
14uname -m = x86_64
15uname -r = 10.8.0
16uname -s = Darwin
17uname -v = Darwin Kernel Version 10.8.0: Tue Jun  7 16:32:41 PDT 2011; root:xnu-1504.15.3~1/RELEASE_X86_64
18
19/usr/bin/uname -p = i386
20/bin/uname -X     = unknown
21
22/bin/arch              = unknown
23/usr/bin/arch -k       = unknown
24/usr/convex/getsysinfo = unknown
25/usr/bin/hostinfo      = Mach kernel version:
26         Darwin Kernel Version 10.8.0: Tue Jun  7 16:32:41 PDT 2011; root:xnu-1504.15.3~1/RELEASE_X86_64
27Kernel configured for up to 4 processors.
284 processors are physically available.
294 processors are logically available.
30Processor type: i486 (Intel 80486)
31Processors active: 0 1 2 3
32Primary memory available: 8.00 gigabytes
33Default processor set: 154 tasks, 423 threads, 4 processors
34Load average: 1.28, Mach factor: 2.71
35/bin/machine           = unknown
36/usr/bin/oslevel       = unknown
37/bin/universe          = unknown
38
39PATH: /opt/local/bin/
40PATH: /opt/local/sbin/
41PATH: /bin/
42PATH: /sbin/
43PATH: /usr/bin/
44PATH: /usr/sbin/
45
46
47## ----------- ##
48## Core tests. ##
49## ----------- ##
50
51configure:2788: looking for aux files: config.guess config.sub ltmain.sh compile missing install-sh
52configure:2801:  trying ./
53configure:2830:   ./config.guess found
54configure:2830:   ./config.sub found
55configure:2830:   ./ltmain.sh found
56configure:2830:   ./compile found
57configure:2830:   ./missing found
58configure:2812:   ./install-sh found
59configure:2975: checking for a BSD-compatible install
60configure:3048: result: /usr/bin/install -c
61configure:3059: checking whether build environment is sane
62configure:3114: result: yes
63configure:3273: checking for a race-free mkdir -p
64configure:3317: result: /opt/local/bin/gmkdir -p
65configure:3324: checking for gawk
66configure:3345: found /opt/local/bin/gawk
67configure:3356: result: gawk
68configure:3367: checking whether make sets $(MAKE)
69configure:3390: result: yes
70configure:3420: checking whether make supports nested variables
71configure:3438: result: yes
72configure:3586: checking whether make supports nested variables
73configure:3604: result: yes
74configure:3678: checking for gcc
75configure:3710: result: /usr/bin/gcc-4.2
76configure:4063: checking for C compiler version
77configure:4072: /usr/bin/gcc-4.2 --version >&5
78i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3)
79Copyright (C) 2007 Free Software Foundation, Inc.
80This is free software; see the source for copying conditions.  There is NO
81warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
82
83configure:4083: $? = 0
84configure:4072: /usr/bin/gcc-4.2 -v >&5
85Using built-in specs.
86Target: i686-apple-darwin10
87Configured with: /var/tmp/gcc/gcc-5666.3~6/src/configure --disable-checking --enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin10 --program-prefix=i686-apple-darwin10- --host=x86_64-apple-darwin10 --target=i686-apple-darwin10 --with-gxx-include-dir=/include/c++/4.2.1
88Thread model: posix
89gcc version 4.2.1 (Apple Inc. build 5666) (dot 3)
90configure:4083: $? = 0
91configure:4072: /usr/bin/gcc-4.2 -V >&5
92gcc-4.2: argument to `-V' is missing
93configure:4083: $? = 1
94configure:4072: /usr/bin/gcc-4.2 -qversion >&5
95i686-apple-darwin10-gcc-4.2.1: no input files
96configure:4083: $? = 1
97configure:4072: /usr/bin/gcc-4.2 -version >&5
98i686-apple-darwin10-gcc-4.2.1: no input files
99configure:4083: $? = 1
100configure:4103: checking whether the C compiler works
101configure:4125: /usr/bin/gcc-4.2 -pipe -Os -arch ppc -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc conftest.c  >&5
102configure:4129: $? = 0
103configure:4179: result: yes
104configure:4182: checking for C compiler default output file name
105configure:4184: result: a.out
106configure:4190: checking for suffix of executables
107configure:4197: /usr/bin/gcc-4.2 -o conftest -pipe -Os -arch ppc -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc conftest.c  >&5
108configure:4201: $? = 0
109configure:4224: result:
110configure:4246: checking whether we are cross compiling
111configure:4254: /usr/bin/gcc-4.2 -o conftest -pipe -Os -arch ppc -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc conftest.c  >&5
112configure:4258: $? = 0
113configure:4265: ./conftest
114configure:4269: $? = 0
115configure:4284: result: no
116configure:4289: checking for suffix of object files
117configure:4312: /usr/bin/gcc-4.2 -c -pipe -Os -arch ppc -I/opt/local/include conftest.c >&5
118configure:4316: $? = 0
119configure:4338: result: o
120configure:4342: checking whether the compiler supports GNU C
121configure:4362: /usr/bin/gcc-4.2 -c -pipe -Os -arch ppc -I/opt/local/include conftest.c >&5
122configure:4362: $? = 0
123configure:4372: result: yes
124configure:4383: checking whether /usr/bin/gcc-4.2 accepts -g
125configure:4404: /usr/bin/gcc-4.2 -c -g -I/opt/local/include conftest.c >&5
126configure:4404: $? = 0
127configure:4448: result: yes
128configure:4468: checking for /usr/bin/gcc-4.2 option to enable C11 features
129configure:4483: /usr/bin/gcc-4.2  -c -pipe -Os -arch ppc -I/opt/local/include conftest.c >&5
130conftest.c:63:3: error: #error "Compiler does not advertise C99 conformance"
131conftest.c:118: error: expected ';', ',' or ')' before 'text'
132conftest.c:167:3: error: #error "Compiler does not advertise C11 conformance"
133conftest.c: In function '_Alignas':
134conftest.c:171: error: expected declaration specifiers before 'aligned_as_double'
135conftest.c:172: error: expected declaration specifiers or '...' before numeric constant
136conftest.c:172: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'no_special_alignment'
137conftest.c:173: error: storage class specified for parameter 'aligned_as_int'
138conftest.c:174: error: expected declaration specifiers or '...' before numeric constant
139conftest.c:174: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_Alignas'
140conftest.c:179: error: expected expression before 'int'
141conftest.c:179: error: enumerator value for 'int_alignment' is not an integer constant
142conftest.c:180: error: expected expression before 'int'
143conftest.c:180: error: enumerator value for 'int_array_alignment' is not an integer constant
144conftest.c:181: error: expected expression before 'char'
145conftest.c:182: error: enumerator value for 'char_alignment' is not an integer constant
146conftest.c:182: warning: empty declaration
147conftest.c:183: error: expected declaration specifiers before '_Static_assert'
148conftest.c:186: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'does_not_return'
149conftest.c:192: error: expected specifier-qualifier-list before '_Static_assert'
150conftest.c:195: warning: empty declaration
151conftest.c:199: error: parameter 'utf8_literal' is initialized
152conftest.c:199: error: 'syntax' undeclared (first use in this function)
153conftest.c:199: error: (Each undeclared identifier is reported only once
154conftest.c:199: error: for each function it appears in.)
155conftest.c:199: error: expected ',' or ';' before 'error'
156conftest.c:202: error: storage class specified for parameter 'long_ptr'
157conftest.c:203: error: storage class specified for parameter 'long_ptr'
158conftest.c:203: error: redefinition of parameter 'long_ptr'
159conftest.c:202: error: previous definition of 'long_ptr' was here
160conftest.c:204: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long_ptr'
161conftest.c:219: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
162conftest.c:271: error: old-style parameter declarations in prototyped function definition
163conftest.c:171: error: parameter name omitted
164conftest.c:271: error: expected '{' at end of input
165configure:4483: $? = 1
166configure: failed program was:
167| /* confdefs.h */
168| #define PACKAGE_NAME "usbredir"
169| #define PACKAGE_TARNAME "usbredir"
170| #define PACKAGE_VERSION "0.9.0"
171| #define PACKAGE_STRING "usbredir 0.9.0"
172| #define PACKAGE_BUGREPORT ""
173| #define PACKAGE_URL ""
174| #define PACKAGE "usbredir"
175| #define VERSION "0.9.0"
176| /* end confdefs.h.  */
177|
178| /* Does the compiler advertise C89 conformance?
179|    Do not test the value of __STDC__, because some compilers set it to 0
180|    while being otherwise adequately conformant. */
181| #if !defined __STDC__
182| # error "Compiler does not advertise C89 conformance"
183| #endif
184|
185| #include <stddef.h>
186| #include <stdarg.h>
187| struct stat;
188| /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
189| struct buf { int x; };
190| struct buf * (*rcsopen) (struct buf *, struct stat *, int);
191| static char *e (p, i)
192|      char **p;
193|      int i;
194| {
195|   return p[i];
196| }
197| static char *f (char * (*g) (char **, int), char **p, ...)
198| {
199|   char *s;
200|   va_list v;
201|   va_start (v,p);
202|   s = g (p, va_arg (v,int));
203|   va_end (v);
204|   return s;
205| }
206|
207| /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
208|    function prototypes and stuff, but not \xHH hex character constants.
209|    These do not provoke an error unfortunately, instead are silently treated
210|    as an "x".  The following induces an error, until -std is added to get
211|    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
212|    array size at least.  It is necessary to write \x00 == 0 to get something
213|    that is true only with -std.  */
214| int osf4_cc_array ['\x00' == 0 ? 1 : -1];
215|
216| /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
217|    inside strings and character constants.  */
218| #define FOO(x) 'x'
219| int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
220|
221| int test (int i, double x);
222| struct s1 {int (*f) (int a);};
223| struct s2 {int (*f) (double a);};
224| int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
225|                int, int);
226|
227| // Does the compiler advertise C99 conformance?
228| #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
229| # error "Compiler does not advertise C99 conformance"
230| #endif
231|
232| #include <stdbool.h>
233| extern int puts (const char *);
234| extern int printf (const char *, ...);
235| extern int dprintf (int, const char *, ...);
236| extern void *malloc (size_t);
237|
238| // Check varargs macros.  These examples are taken from C99 6.10.3.5.
239| // dprintf is used instead of fprintf to avoid needing to declare
240| // FILE and stderr.
241| #define debug(...) dprintf (2, __VA_ARGS__)
242| #define showlist(...) puts (#__VA_ARGS__)
243| #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
244| static void
245| test_varargs_macros (void)
246| {
247|   int x = 1234;
248|   int y = 5678;
249|   debug ("Flag");
250|   debug ("X = %d\n", x);
251|   showlist (The first, second, and third items.);
252|   report (x>y, "x is %d but y is %d", x, y);
253| }
254|
255| // Check long long types.
256| #define BIG64 18446744073709551615ull
257| #define BIG32 4294967295ul
258| #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
259| #if !BIG_OK
260|   #error "your preprocessor is broken"
261| #endif
262| #if BIG_OK
263| #else
264|   #error "your preprocessor is broken"
265| #endif
266| static long long int bignum = -9223372036854775807LL;
267| static unsigned long long int ubignum = BIG64;
268|
269| struct incomplete_array
270| {
271|   int datasize;
272|   double data[];
273| };
274|
275| struct named_init {
276|   int number;
277|   const wchar_t *name;
278|   double average;
279| };
280|
281| typedef const char *ccp;
282|
283| static inline int
284| test_restrict (ccp restrict text)
285| {
286|   // See if C++-style comments work.
287|   // Iterate through items via the restricted pointer.
288|   // Also check for declarations in for loops.
289|   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
290|     continue;
291|   return 0;
292| }
293|
294| // Check varargs and va_copy.
295| static bool
296| test_varargs (const char *format, ...)
297| {
298|   va_list args;
299|   va_start (args, format);
300|   va_list args_copy;
301|   va_copy (args_copy, args);
302|
303|   const char *str = "";
304|   int number = 0;
305|   float fnumber = 0;
306|
307|   while (*format)
308|     {
309|       switch (*format++)
310|       {
311|       case 's': // string
312|         str = va_arg (args_copy, const char *);
313|         break;
314|       case 'd': // int
315|         number = va_arg (args_copy, int);
316|         break;
317|       case 'f': // float
318|         fnumber = va_arg (args_copy, double);
319|         break;
320|       default:
321|         break;
322|       }
323|     }
324|   va_end (args_copy);
325|   va_end (args);
326|
327|   return *str && number && fnumber;
328| }
329|
330|
331| // Does the compiler advertise C11 conformance?
332| #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
333| # error "Compiler does not advertise C11 conformance"
334| #endif
335|
336| // Check _Alignas.
337| char _Alignas (double) aligned_as_double;
338| char _Alignas (0) no_special_alignment;
339| extern char aligned_as_int;
340| char _Alignas (0) _Alignas (int) aligned_as_int;
341|
342| // Check _Alignof.
343| enum
344| {
345|   int_alignment = _Alignof (int),
346|   int_array_alignment = _Alignof (int[100]),
347|   char_alignment = _Alignof (char)
348| };
349| _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
350|
351| // Check _Noreturn.
352| int _Noreturn does_not_return (void) { for (;;) continue; }
353|
354| // Check _Static_assert.
355| struct test_static_assert
356| {
357|   int x;
358|   _Static_assert (sizeof (int) <= sizeof (long int),
359|                   "_Static_assert does not work in struct");
360|   long int y;
361| };
362|
363| // Check UTF-8 literals.
364| #define u8 syntax error!
365| char const utf8_literal[] = u8"happens to be ASCII" "another string";
366|
367| // Check duplicate typedefs.
368| typedef long *long_ptr;
369| typedef long int *long_ptr;
370| typedef long_ptr long_ptr;
371|
372| // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
373| struct anonymous
374| {
375|   union {
376|     struct { int i; int j; };
377|     struct { int k; long int l; } w;
378|   };
379|   int m;
380| } v1;
381|
382|
383| int
384| main (int argc, char **argv)
385| {
386|   int ok = 0;
387|   
388| ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
389|
390|   
391|   // Check bool.
392|   _Bool success = false;
393|   success |= (argc != 0);
394|
395|   // Check restrict.
396|   if (test_restrict ("String literal") == 0)
397|     success = true;
398|   char *restrict newvar = "Another string";
399|
400|   // Check varargs.
401|   success &= test_varargs ("s, d' f .", "string", 65, 34.234);
402|   test_varargs_macros ();
403|
404|   // Check flexible array members.
405|   struct incomplete_array *ia =
406|     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
407|   ia->datasize = 10;
408|   for (int i = 0; i < ia->datasize; ++i)
409|     ia->data[i] = i * 1.234;
410|
411|   // Check named initializers.
412|   struct named_init ni = {
413|     .number = 34,
414|     .name = L"Test wide string",
415|     .average = 543.34343,
416|   };
417|
418|   ni.number = 58;
419|
420|   int dynamic_array[ni.number];
421|   dynamic_array[0] = argv[0][0];
422|   dynamic_array[ni.number - 1] = 543;
423|
424|   // work around unused variable warnings
425|   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
426|        || dynamic_array[ni.number - 1] != 543);
427|
428|   
429|   _Static_assert ((offsetof (struct anonymous, i)
430|                  == offsetof (struct anonymous, w.k)),
431|                 "Anonymous union alignment botch");
432|   v1.i = 2;
433|   v1.w.k = 5;
434|   ok |= v1.i != 5;
435|
436|   return ok;
437| }
438|
439configure:4483: /usr/bin/gcc-4.2 -std=gnu11 -c -pipe -Os -arch ppc -I/opt/local/include conftest.c >&5
440cc1: error: unrecognized command line option "-std=gnu11"
441configure:4483: $? = 1
442configure: failed program was:
443| /* confdefs.h */
444| #define PACKAGE_NAME "usbredir"
445| #define PACKAGE_TARNAME "usbredir"
446| #define PACKAGE_VERSION "0.9.0"
447| #define PACKAGE_STRING "usbredir 0.9.0"
448| #define PACKAGE_BUGREPORT ""
449| #define PACKAGE_URL ""
450| #define PACKAGE "usbredir"
451| #define VERSION "0.9.0"
452| /* end confdefs.h.  */
453|
454| /* Does the compiler advertise C89 conformance?
455|    Do not test the value of __STDC__, because some compilers set it to 0
456|    while being otherwise adequately conformant. */
457| #if !defined __STDC__
458| # error "Compiler does not advertise C89 conformance"
459| #endif
460|
461| #include <stddef.h>
462| #include <stdarg.h>
463| struct stat;
464| /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
465| struct buf { int x; };
466| struct buf * (*rcsopen) (struct buf *, struct stat *, int);
467| static char *e (p, i)
468|      char **p;
469|      int i;
470| {
471|   return p[i];
472| }
473| static char *f (char * (*g) (char **, int), char **p, ...)
474| {
475|   char *s;
476|   va_list v;
477|   va_start (v,p);
478|   s = g (p, va_arg (v,int));
479|   va_end (v);
480|   return s;
481| }
482|
483| /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
484|    function prototypes and stuff, but not \xHH hex character constants.
485|    These do not provoke an error unfortunately, instead are silently treated
486|    as an "x".  The following induces an error, until -std is added to get
487|    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
488|    array size at least.  It is necessary to write \x00 == 0 to get something
489|    that is true only with -std.  */
490| int osf4_cc_array ['\x00' == 0 ? 1 : -1];
491|
492| /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
493|    inside strings and character constants.  */
494| #define FOO(x) 'x'
495| int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
496|
497| int test (int i, double x);
498| struct s1 {int (*f) (int a);};
499| struct s2 {int (*f) (double a);};
500| int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
501|                int, int);
502|
503| // Does the compiler advertise C99 conformance?
504| #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
505| # error "Compiler does not advertise C99 conformance"
506| #endif
507|
508| #include <stdbool.h>
509| extern int puts (const char *);
510| extern int printf (const char *, ...);
511| extern int dprintf (int, const char *, ...);
512| extern void *malloc (size_t);
513|
514| // Check varargs macros.  These examples are taken from C99 6.10.3.5.
515| // dprintf is used instead of fprintf to avoid needing to declare
516| // FILE and stderr.
517| #define debug(...) dprintf (2, __VA_ARGS__)
518| #define showlist(...) puts (#__VA_ARGS__)
519| #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
520| static void
521| test_varargs_macros (void)
522| {
523|   int x = 1234;
524|   int y = 5678;
525|   debug ("Flag");
526|   debug ("X = %d\n", x);
527|   showlist (The first, second, and third items.);
528|   report (x>y, "x is %d but y is %d", x, y);
529| }
530|
531| // Check long long types.
532| #define BIG64 18446744073709551615ull
533| #define BIG32 4294967295ul
534| #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
535| #if !BIG_OK
536|   #error "your preprocessor is broken"
537| #endif
538| #if BIG_OK
539| #else
540|   #error "your preprocessor is broken"
541| #endif
542| static long long int bignum = -9223372036854775807LL;
543| static unsigned long long int ubignum = BIG64;
544|
545| struct incomplete_array
546| {
547|   int datasize;
548|   double data[];
549| };
550|
551| struct named_init {
552|   int number;
553|   const wchar_t *name;
554|   double average;
555| };
556|
557| typedef const char *ccp;
558|
559| static inline int
560| test_restrict (ccp restrict text)
561| {
562|   // See if C++-style comments work.
563|   // Iterate through items via the restricted pointer.
564|   // Also check for declarations in for loops.
565|   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
566|     continue;
567|   return 0;
568| }
569|
570| // Check varargs and va_copy.
571| static bool
572| test_varargs (const char *format, ...)
573| {
574|   va_list args;
575|   va_start (args, format);
576|   va_list args_copy;
577|   va_copy (args_copy, args);
578|
579|   const char *str = "";
580|   int number = 0;
581|   float fnumber = 0;
582|
583|   while (*format)
584|     {
585|       switch (*format++)
586|       {
587|       case 's': // string
588|         str = va_arg (args_copy, const char *);
589|         break;
590|       case 'd': // int
591|         number = va_arg (args_copy, int);
592|         break;
593|       case 'f': // float
594|         fnumber = va_arg (args_copy, double);
595|         break;
596|       default:
597|         break;
598|       }
599|     }
600|   va_end (args_copy);
601|   va_end (args);
602|
603|   return *str && number && fnumber;
604| }
605|
606|
607| // Does the compiler advertise C11 conformance?
608| #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
609| # error "Compiler does not advertise C11 conformance"
610| #endif
611|
612| // Check _Alignas.
613| char _Alignas (double) aligned_as_double;
614| char _Alignas (0) no_special_alignment;
615| extern char aligned_as_int;
616| char _Alignas (0) _Alignas (int) aligned_as_int;
617|
618| // Check _Alignof.
619| enum
620| {
621|   int_alignment = _Alignof (int),
622|   int_array_alignment = _Alignof (int[100]),
623|   char_alignment = _Alignof (char)
624| };
625| _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
626|
627| // Check _Noreturn.
628| int _Noreturn does_not_return (void) { for (;;) continue; }
629|
630| // Check _Static_assert.
631| struct test_static_assert
632| {
633|   int x;
634|   _Static_assert (sizeof (int) <= sizeof (long int),
635|                   "_Static_assert does not work in struct");
636|   long int y;
637| };
638|
639| // Check UTF-8 literals.
640| #define u8 syntax error!
641| char const utf8_literal[] = u8"happens to be ASCII" "another string";
642|
643| // Check duplicate typedefs.
644| typedef long *long_ptr;
645| typedef long int *long_ptr;
646| typedef long_ptr long_ptr;
647|
648| // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
649| struct anonymous
650| {
651|   union {
652|     struct { int i; int j; };
653|     struct { int k; long int l; } w;
654|   };
655|   int m;
656| } v1;
657|
658|
659| int
660| main (int argc, char **argv)
661| {
662|   int ok = 0;
663|   
664| ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
665|
666|   
667|   // Check bool.
668|   _Bool success = false;
669|   success |= (argc != 0);
670|
671|   // Check restrict.
672|   if (test_restrict ("String literal") == 0)
673|     success = true;
674|   char *restrict newvar = "Another string";
675|
676|   // Check varargs.
677|   success &= test_varargs ("s, d' f .", "string", 65, 34.234);
678|   test_varargs_macros ();
679|
680|   // Check flexible array members.
681|   struct incomplete_array *ia =
682|     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
683|   ia->datasize = 10;
684|   for (int i = 0; i < ia->datasize; ++i)
685|     ia->data[i] = i * 1.234;
686|
687|   // Check named initializers.
688|   struct named_init ni = {
689|     .number = 34,
690|     .name = L"Test wide string",
691|     .average = 543.34343,
692|   };
693|
694|   ni.number = 58;
695|
696|   int dynamic_array[ni.number];
697|   dynamic_array[0] = argv[0][0];
698|   dynamic_array[ni.number - 1] = 543;
699|
700|   // work around unused variable warnings
701|   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
702|        || dynamic_array[ni.number - 1] != 543);
703|
704|   
705|   _Static_assert ((offsetof (struct anonymous, i)
706|                  == offsetof (struct anonymous, w.k)),
707|                 "Anonymous union alignment botch");
708|   v1.i = 2;
709|   v1.w.k = 5;
710|   ok |= v1.i != 5;
711|
712|   return ok;
713| }
714|
715configure:4496: result: unsupported
716configure:4514: checking for /usr/bin/gcc-4.2 option to enable C99 features
717configure:4529: /usr/bin/gcc-4.2  -c -pipe -Os -arch ppc -I/opt/local/include conftest.c >&5
718conftest.c:63:3: error: #error "Compiler does not advertise C99 conformance"
719conftest.c:118: error: expected ';', ',' or ')' before 'text'
720conftest.c: In function 'main':
721conftest.c:180: error: nested functions are disabled, use -fnested-functions to re-enable
722conftest.c:180: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'newvar'
723conftest.c:180: error: 'newvar' undeclared (first use in this function)
724conftest.c:180: error: (Each undeclared identifier is reported only once
725conftest.c:180: error: for each function it appears in.)
726conftest.c:190: error: 'for' loop initial declaration used outside C99 mode
727configure:4529: $? = 1
728configure: failed program was:
729| /* confdefs.h */
730| #define PACKAGE_NAME "usbredir"
731| #define PACKAGE_TARNAME "usbredir"
732| #define PACKAGE_VERSION "0.9.0"
733| #define PACKAGE_STRING "usbredir 0.9.0"
734| #define PACKAGE_BUGREPORT ""
735| #define PACKAGE_URL ""
736| #define PACKAGE "usbredir"
737| #define VERSION "0.9.0"
738| /* end confdefs.h.  */
739|
740| /* Does the compiler advertise C89 conformance?
741|    Do not test the value of __STDC__, because some compilers set it to 0
742|    while being otherwise adequately conformant. */
743| #if !defined __STDC__
744| # error "Compiler does not advertise C89 conformance"
745| #endif
746|
747| #include <stddef.h>
748| #include <stdarg.h>
749| struct stat;
750| /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
751| struct buf { int x; };
752| struct buf * (*rcsopen) (struct buf *, struct stat *, int);
753| static char *e (p, i)
754|      char **p;
755|      int i;
756| {
757|   return p[i];
758| }
759| static char *f (char * (*g) (char **, int), char **p, ...)
760| {
761|   char *s;
762|   va_list v;
763|   va_start (v,p);
764|   s = g (p, va_arg (v,int));
765|   va_end (v);
766|   return s;
767| }
768|
769| /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
770|    function prototypes and stuff, but not \xHH hex character constants.
771|    These do not provoke an error unfortunately, instead are silently treated
772|    as an "x".  The following induces an error, until -std is added to get
773|    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
774|    array size at least.  It is necessary to write \x00 == 0 to get something
775|    that is true only with -std.  */
776| int osf4_cc_array ['\x00' == 0 ? 1 : -1];
777|
778| /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
779|    inside strings and character constants.  */
780| #define FOO(x) 'x'
781| int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
782|
783| int test (int i, double x);
784| struct s1 {int (*f) (int a);};
785| struct s2 {int (*f) (double a);};
786| int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
787|                int, int);
788|
789| // Does the compiler advertise C99 conformance?
790| #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
791| # error "Compiler does not advertise C99 conformance"
792| #endif
793|
794| #include <stdbool.h>
795| extern int puts (const char *);
796| extern int printf (const char *, ...);
797| extern int dprintf (int, const char *, ...);
798| extern void *malloc (size_t);
799|
800| // Check varargs macros.  These examples are taken from C99 6.10.3.5.
801| // dprintf is used instead of fprintf to avoid needing to declare
802| // FILE and stderr.
803| #define debug(...) dprintf (2, __VA_ARGS__)
804| #define showlist(...) puts (#__VA_ARGS__)
805| #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
806| static void
807| test_varargs_macros (void)
808| {
809|   int x = 1234;
810|   int y = 5678;
811|   debug ("Flag");
812|   debug ("X = %d\n", x);
813|   showlist (The first, second, and third items.);
814|   report (x>y, "x is %d but y is %d", x, y);
815| }
816|
817| // Check long long types.
818| #define BIG64 18446744073709551615ull
819| #define BIG32 4294967295ul
820| #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
821| #if !BIG_OK
822|   #error "your preprocessor is broken"
823| #endif
824| #if BIG_OK
825| #else
826|   #error "your preprocessor is broken"
827| #endif
828| static long long int bignum = -9223372036854775807LL;
829| static unsigned long long int ubignum = BIG64;
830|
831| struct incomplete_array
832| {
833|   int datasize;
834|   double data[];
835| };
836|
837| struct named_init {
838|   int number;
839|   const wchar_t *name;
840|   double average;
841| };
842|
843| typedef const char *ccp;
844|
845| static inline int
846| test_restrict (ccp restrict text)
847| {
848|   // See if C++-style comments work.
849|   // Iterate through items via the restricted pointer.
850|   // Also check for declarations in for loops.
851|   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
852|     continue;
853|   return 0;
854| }
855|
856| // Check varargs and va_copy.
857| static bool
858| test_varargs (const char *format, ...)
859| {
860|   va_list args;
861|   va_start (args, format);
862|   va_list args_copy;
863|   va_copy (args_copy, args);
864|
865|   const char *str = "";
866|   int number = 0;
867|   float fnumber = 0;
868|
869|   while (*format)
870|     {
871|       switch (*format++)
872|       {
873|       case 's': // string
874|         str = va_arg (args_copy, const char *);
875|         break;
876|       case 'd': // int
877|         number = va_arg (args_copy, int);
878|         break;
879|       case 'f': // float
880|         fnumber = va_arg (args_copy, double);
881|         break;
882|       default:
883|         break;
884|       }
885|     }
886|   va_end (args_copy);
887|   va_end (args);
888|
889|   return *str && number && fnumber;
890| }
891|
892|
893| int
894| main (int argc, char **argv)
895| {
896|   int ok = 0;
897|   
898| ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
899|
900|   
901|   // Check bool.
902|   _Bool success = false;
903|   success |= (argc != 0);
904|
905|   // Check restrict.
906|   if (test_restrict ("String literal") == 0)
907|     success = true;
908|   char *restrict newvar = "Another string";
909|
910|   // Check varargs.
911|   success &= test_varargs ("s, d' f .", "string", 65, 34.234);
912|   test_varargs_macros ();
913|
914|   // Check flexible array members.
915|   struct incomplete_array *ia =
916|     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
917|   ia->datasize = 10;
918|   for (int i = 0; i < ia->datasize; ++i)
919|     ia->data[i] = i * 1.234;
920|
921|   // Check named initializers.
922|   struct named_init ni = {
923|     .number = 34,
924|     .name = L"Test wide string",
925|     .average = 543.34343,
926|   };
927|
928|   ni.number = 58;
929|
930|   int dynamic_array[ni.number];
931|   dynamic_array[0] = argv[0][0];
932|   dynamic_array[ni.number - 1] = 543;
933|
934|   // work around unused variable warnings
935|   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
936|        || dynamic_array[ni.number - 1] != 543);
937|
938|   return ok;
939| }
940|
941configure:4529: /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -I/opt/local/include conftest.c >&5
942configure:4529: $? = 0
943configure:4550: result: -std=gnu99
944configure:4617: checking whether /usr/bin/gcc-4.2 -std=gnu99 understands -c and -o together
945configure:4640: /usr/bin/gcc-4.2 -std=gnu99 -c conftest.c -o conftest2.o
946configure:4643: $? = 0
947configure:4640: /usr/bin/gcc-4.2 -std=gnu99 -c conftest.c -o conftest2.o
948configure:4643: $? = 0
949configure:4655: result: yes
950configure:4675: checking whether make supports the include directive
951configure:4690: make -f confmf.GNU && cat confinc.out
952this is the am__doit target
953configure:4693: $? = 0
954configure:4712: result: yes (GNU style)
955configure:4738: checking dependency style of /usr/bin/gcc-4.2 -std=gnu99
956configure:4850: result: gcc3
957configure:4993: checking for C++ compiler version
958configure:5002: /usr/bin/g++-4.2 --version >&5
959i686-apple-darwin10-g++-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3)
960Copyright (C) 2007 Free Software Foundation, Inc.
961This is free software; see the source for copying conditions.  There is NO
962warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
963
964configure:5013: $? = 0
965configure:5002: /usr/bin/g++-4.2 -v >&5
966Using built-in specs.
967Target: i686-apple-darwin10
968Configured with: /var/tmp/gcc/gcc-5666.3~6/src/configure --disable-checking --enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin10 --program-prefix=i686-apple-darwin10- --host=x86_64-apple-darwin10 --target=i686-apple-darwin10 --with-gxx-include-dir=/include/c++/4.2.1
969Thread model: posix
970gcc version 4.2.1 (Apple Inc. build 5666) (dot 3)
971configure:5013: $? = 0
972configure:5002: /usr/bin/g++-4.2 -V >&5
973g++-4.2: argument to `-V' is missing
974configure:5013: $? = 1
975configure:5002: /usr/bin/g++-4.2 -qversion >&5
976i686-apple-darwin10-g++-4.2.1: no input files
977configure:5013: $? = 1
978configure:5017: checking whether the compiler supports GNU C++
979configure:5037: /usr/bin/g++-4.2 -c -pipe -Os -arch ppc -I/opt/local/include conftest.cpp >&5
980configure:5037: $? = 0
981configure:5047: result: yes
982configure:5058: checking whether /usr/bin/g++-4.2 accepts -g
983configure:5079: /usr/bin/g++-4.2 -c -g -I/opt/local/include conftest.cpp >&5
984configure:5079: $? = 0
985configure:5123: result: yes
986configure:5143: checking for /usr/bin/g++-4.2 option to enable C++11 features
987configure:5158: /usr/bin/g++-4.2  -c -pipe -Os -arch ppc -I/opt/local/include conftest.cpp >&5
988conftest.cpp:14:3: error: #error "Compiler does not advertise C++98 conformance"
989conftest.cpp:57:3: error: #error "Compiler does not advertise C++11 conformance"
990conftest.cpp:62: error: expected constructor, destructor, or type conversion before 'int'
991conftest.cpp: In constructor 'cxx11test::delegate::delegate()':
992conftest.cpp:74: error: type 'cxx11test::delegate' is not a direct base of 'cxx11test::delegate'
993conftest.cpp: At global scope:
994conftest.cpp:85: error: expected ';' before 'override'
995conftest.cpp:86: error: expected `;' before '}' token
996conftest.cpp:92: error: invalid pure specifier (only `= 0' is allowed) before ';' token
997conftest.cpp:93: error: invalid pure specifier (only `= 0' is allowed) before ';' token
998conftest.cpp:94: error: invalid pure specifier (only `= 0' is allowed) before ';' token
999conftest.cpp:92: error: initializer specified for non-virtual method 'cxx11test::nocopy::nocopy()'
1000conftest.cpp:93: error: initializer specified for non-virtual method 'cxx11test::nocopy::nocopy(const cxx11test::nocopy&)'
1001conftest.cpp:94: error: initializer specified for non-virtual method 'cxx11test::nocopy& cxx11test::nocopy::operator=(const cxx11test::nocopy&)'
1002conftest.cpp:106: error: expected initializer before '->' token
1003conftest.cpp:110: error: expected nested-name-specifier before '...' token
1004conftest.cpp:110: error: expected '>' before '...' token
1005conftest.cpp:110: error: 'Args' has not been declared
1006conftest.cpp:110: error: expected `)' before 'rest'
1007conftest.cpp:110: error: expected initializer before 'rest'
1008conftest.cpp: In function 'int main(int, char**)':
1009conftest.cpp:134: error: ISO C++ forbids declaration of 'a1' with no type
1010conftest.cpp:135: error: ISO C++ forbids declaration of 'a2' with no type
1011conftest.cpp:136: error: ISO C++ forbids declaration of 'a3' with no type
1012conftest.cpp:136: error: invalid conversion from 'const char*' to 'int'
1013conftest.cpp:139: error: ISO C++ forbids declaration of 'i' with no type
1014conftest.cpp:139: error: invalid type argument of 'unary *'
1015conftest.cpp:139: error: invalid type argument of 'unary *'
1016conftest.cpp:141: error: 'decltype' was not declared in this scope
1017conftest.cpp:141: error: expected `;' before 'a4'
1018conftest.cpp:145: error: 'get_val' is not a member of 'cxx11test'
1019conftest.cpp:155: error: a function-definition is not allowed here before ':' token
1020conftest.cpp:156: error: expected primary-expression before '}' token
1021conftest.cpp:156: error: expected `;' before '}' token
1022conftest.cpp:156: error: expected primary-expression before '}' token
1023conftest.cpp:156: error: expected `)' before '}' token
1024conftest.cpp:156: error: expected primary-expression before '}' token
1025conftest.cpp:156: error: expected `;' before '}' token
1026conftest.cpp:160: error: expected primary-expression before '[' token
1027conftest.cpp:160: error: expected primary-expression before ']' token
1028conftest.cpp:160: error: expected primary-expression before 'int'
1029conftest.cpp:162: error: expected primary-expression before '[' token
1030conftest.cpp:162: error: expected primary-expression before ']' token
1031conftest.cpp:162: error: expected primary-expression before 'double'
1032conftest.cpp:164: error: expected primary-expression before '[' token
1033conftest.cpp:164: error: expected primary-expression before '=' token
1034conftest.cpp:164: error: expected primary-expression before ']' token
1035conftest.cpp:164: error: expected primary-expression before 'double'
1036conftest.cpp:169: error: 'cxx11test::sum' has not been declared
1037conftest.cpp:170: error: ISO C++ forbids declaration of 'a' with no type
1038conftest.cpp:170: error: 'sum' was not declared in this scope
1039conftest.cpp:171: error: ISO C++ forbids declaration of 'b' with no type
1040conftest.cpp:172: error: ISO C++ forbids declaration of 'c' with no type
1041conftest.cpp:186: error: 'nullptr' was not declared in this scope
1042conftest.cpp:190: error: '>>' should be '> >' within a nested template argument list
1043conftest.cpp:190: error: '<::' cannot begin a template-argument list
1044conftest.cpp:190: note: '<:' is an alternate spelling for '['. Insert whitespace between '<' and '::'
1045conftest.cpp:190: note: (if you use -fpermissive G++ will accept your code)
1046conftest.cpp:194: error: 'u8' was not declared in this scope
1047conftest.cpp:194: error: expected ',' or ';' before string constant
1048conftest.cpp:195: error: 'char16_t' was not declared in this scope
1049conftest.cpp:195: error: expected `;' before 'const'
1050conftest.cpp:196: error: 'char32_t' was not declared in this scope
1051conftest.cpp:196: error: expected `;' before 'const'
1052configure:5158: $? = 1
1053configure: failed program was:
1054| /* confdefs.h */
1055| #define PACKAGE_NAME "usbredir"
1056| #define PACKAGE_TARNAME "usbredir"
1057| #define PACKAGE_VERSION "0.9.0"
1058| #define PACKAGE_STRING "usbredir 0.9.0"
1059| #define PACKAGE_BUGREPORT ""
1060| #define PACKAGE_URL ""
1061| #define PACKAGE "usbredir"
1062| #define VERSION "0.9.0"
1063| /* end confdefs.h.  */
1064|
1065| // Does the compiler advertise C++98 conformance?
1066| #if !defined __cplusplus || __cplusplus < 199711L
1067| # error "Compiler does not advertise C++98 conformance"
1068| #endif
1069|
1070| // These inclusions are to reject old compilers that
1071| // lack the unsuffixed header files.
1072| #include <cstdlib>
1073| #include <exception>
1074|
1075| // <cassert> and <cstring> are *not* freestanding headers in C++98.
1076| extern void assert (int);
1077| namespace std {
1078|   extern int strcmp (const char *, const char *);
1079| }
1080|
1081| // Namespaces, exceptions, and templates were all added after "C++ 2.0".
1082| using std::exception;
1083| using std::strcmp;
1084|
1085| namespace {
1086|
1087| void test_exception_syntax()
1088| {
1089|   try {
1090|     throw "test";
1091|   } catch (const char *s) {
1092|     // Extra parentheses suppress a warning when building autoconf itself,
1093|     // due to lint rules shared with more typical C programs.
1094|     assert (!(strcmp) (s, "test"));
1095|   }
1096| }
1097|
1098| template <typename T> struct test_template
1099| {
1100|   T const val;
1101|   explicit test_template(T t) : val(t) {}
1102|   template <typename U> T add(U u) { return static_cast<T>(u) + val; }
1103| };
1104|
1105| } // anonymous namespace
1106|
1107|
1108| // Does the compiler advertise C++ 2011 conformance?
1109| #if !defined __cplusplus || __cplusplus < 201103L
1110| # error "Compiler does not advertise C++11 conformance"
1111| #endif
1112|
1113| namespace cxx11test
1114| {
1115|   constexpr int get_val() { return 20; }
1116|
1117|   struct testinit
1118|   {
1119|     int i;
1120|     double d;
1121|   };
1122|
1123|   class delegate
1124|   {
1125|   public:
1126|     delegate(int n) : n(n) {}
1127|     delegate(): delegate(2354) {}
1128|
1129|     virtual int getval() { return this->n; };
1130|   protected:
1131|     int n;
1132|   };
1133|
1134|   class overridden : public delegate
1135|   {
1136|   public:
1137|     overridden(int n): delegate(n) {}
1138|     virtual int getval() override final { return this->n * 2; }
1139|   };
1140|
1141|   class nocopy
1142|   {
1143|   public:
1144|     nocopy(int i): i(i) {}
1145|     nocopy() = default;
1146|     nocopy(const nocopy&) = delete;
1147|     nocopy & operator=(const nocopy&) = delete;
1148|   private:
1149|     int i;
1150|   };
1151|
1152|   // for testing lambda expressions
1153|   template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
1154|   {
1155|     return f(v);
1156|   }
1157|
1158|   // for testing variadic templates and trailing return types
1159|   template <typename V> auto sum(V first) -> V
1160|   {
1161|     return first;
1162|   }
1163|   template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
1164|   {
1165|     return first + sum(rest...);
1166|   }
1167| }
1168|
1169|
1170| int
1171| main (int argc, char **argv)
1172| {
1173|   int ok = 0;
1174|   
1175|   assert (argc);
1176|   assert (! argv[0]);
1177| {
1178|   test_exception_syntax ();
1179|   test_template<double> tt (2.0);
1180|   assert (tt.add (4) == 6.0);
1181|   assert (true && !false);
1182| }
1183|
1184|   
1185| {
1186|   // Test auto and decltype
1187|   auto a1 = 6538;
1188|   auto a2 = 48573953.4;
1189|   auto a3 = "String literal";
1190|
1191|   int total = 0;
1192|   for (auto i = a3; *i; ++i) { total += *i; }
1193|
1194|   decltype(a2) a4 = 34895.034;
1195| }
1196| {
1197|   // Test constexpr
1198|   short sa[cxx11test::get_val()] = { 0 };
1199| }
1200| {
1201|   // Test initializer lists
1202|   cxx11test::testinit il = { 4323, 435234.23544 };
1203| }
1204| {
1205|   // Test range-based for
1206|   int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
1207|                  14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
1208|   for (auto &x : array) { x += 23; }
1209| }
1210| {
1211|   // Test lambda expressions
1212|   using cxx11test::eval;
1213|   assert (eval ([](int x) { return x*2; }, 21) == 42);
1214|   double d = 2.0;
1215|   assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
1216|   assert (d == 5.0);
1217|   assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
1218|   assert (d == 5.0);
1219| }
1220| {
1221|   // Test use of variadic templates
1222|   using cxx11test::sum;
1223|   auto a = sum(1);
1224|   auto b = sum(1, 2);
1225|   auto c = sum(1.0, 2.0, 3.0);
1226| }
1227| {
1228|   // Test constructor delegation
1229|   cxx11test::delegate d1;
1230|   cxx11test::delegate d2();
1231|   cxx11test::delegate d3(45);
1232| }
1233| {
1234|   // Test override and final
1235|   cxx11test::overridden o1(55464);
1236| }
1237| {
1238|   // Test nullptr
1239|   char *c = nullptr;
1240| }
1241| {
1242|   // Test template brackets
1243|   test_template<::test_template<int>> v(test_template<int>(12));
1244| }
1245| {
1246|   // Unicode literals
1247|   char const *utf8 = u8"UTF-8 string \u2500";
1248|   char16_t const *utf16 = u"UTF-8 string \u2500";
1249|   char32_t const *utf32 = U"UTF-32 string \u2500";
1250| }
1251|
1252|   return ok;
1253| }
1254|
1255configure:5176: result: none needed
1256configure:5242: checking dependency style of /usr/bin/g++-4.2
1257configure:5354: result: gcc3
1258configure:5374: checking for stdio.h
1259configure:5374: /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -I/opt/local/include conftest.c >&5
1260configure:5374: $? = 0
1261configure:5374: result: yes
1262configure:5374: checking for stdlib.h
1263configure:5374: /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -I/opt/local/include conftest.c >&5
1264configure:5374: $? = 0
1265configure:5374: result: yes
1266configure:5374: checking for string.h
1267configure:5374: /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -I/opt/local/include conftest.c >&5
1268configure:5374: $? = 0
1269configure:5374: result: yes
1270configure:5374: checking for inttypes.h
1271configure:5374: /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -I/opt/local/include conftest.c >&5
1272configure:5374: $? = 0
1273configure:5374: result: yes
1274configure:5374: checking for stdint.h
1275configure:5374: /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -I/opt/local/include conftest.c >&5
1276configure:5374: $? = 0
1277configure:5374: result: yes
1278configure:5374: checking for strings.h
1279configure:5374: /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -I/opt/local/include conftest.c >&5
1280configure:5374: $? = 0
1281configure:5374: result: yes
1282configure:5374: checking for sys/stat.h
1283configure:5374: /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -I/opt/local/include conftest.c >&5
1284configure:5374: $? = 0
1285configure:5374: result: yes
1286configure:5374: checking for sys/types.h
1287configure:5374: /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -I/opt/local/include conftest.c >&5
1288configure:5374: $? = 0
1289configure:5374: result: yes
1290configure:5374: checking for unistd.h
1291configure:5374: /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -I/opt/local/include conftest.c >&5
1292configure:5374: $? = 0
1293configure:5374: result: yes
1294configure:5399: checking for grep that handles long lines and -e
1295configure:5463: result: /usr/bin/grep
1296configure:5471: checking for egrep
1297configure:5539: result: /usr/bin/grep -E
1298configure:5546: checking whether ln -s works
1299configure:5550: result: yes
1300configure:5589: checking build system type
1301configure:5604: result: x86_64-apple-darwin10.8.0
1302configure:5624: checking host system type
1303configure:5638: result: x86_64-apple-darwin10.8.0
1304configure:5679: checking how to print strings
1305configure:5706: result: printf
1306configure:5727: checking for a sed that does not truncate output
1307configure:5797: result: /opt/local/bin/gsed
1308configure:5815: checking for fgrep
1309configure:5883: result: /usr/bin/grep -F
1310configure:5919: checking for ld used by /usr/bin/gcc-4.2 -std=gnu99
1311configure:5987: result: /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld
1312configure:5994: checking if the linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) is GNU ld
1313configure:6010: result: no
1314configure:6022: checking for BSD- or MS-compatible name lister (nm)
1315configure:6077: result: /opt/local/bin/nm
1316configure:6217: checking the name lister (/opt/local/bin/nm) interface
1317configure:6225: /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -I/opt/local/include conftest.c >&5
1318configure:6228: /opt/local/bin/nm "conftest.o"
1319configure:6231: output
132000000000 D _some_variable
1321configure:6238: result: BSD nm
1322configure:6242: checking the maximum length of command line arguments
1323configure:6374: result: 196608
1324configure:6422: checking how to convert x86_64-apple-darwin10.8.0 file names to x86_64-apple-darwin10.8.0 format
1325configure:6463: result: func_convert_file_noop
1326configure:6470: checking how to convert x86_64-apple-darwin10.8.0 file names to toolchain format
1327configure:6491: result: func_convert_file_noop
1328configure:6498: checking for /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld option to reload object files
1329configure:6506: result: -r
1330configure:6585: checking for objdump
1331configure:6620: result: no
1332configure:6649: checking how to recognize dependent libraries
1333configure:6850: result: pass_all
1334configure:6940: checking for dlltool
1335configure:6975: result: no
1336configure:7005: checking how to associate runtime and link libraries
1337configure:7033: result: printf %s\n
1338configure:7098: checking for ar
1339configure:7119: found /opt/local/bin/ar
1340configure:7130: result: ar
1341configure:7167: checking for archiver @FILE support
1342configure:7185: /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -I/opt/local/include conftest.c >&5
1343configure:7185: $? = 0
1344configure:7189: ar cru libconftest.a @conftest.lst >&5
1345ar: @conftest.lst: No such file or directory
1346configure:7192: $? = 1
1347configure:7212: result: no
1348configure:7275: checking for strip
1349configure:7296: found /opt/local/bin/strip
1350configure:7307: result: strip
1351configure:7384: checking for ranlib
1352configure:7405: found /opt/local/bin/ranlib
1353configure:7416: result: ranlib
1354configure:7518: checking command to parse /opt/local/bin/nm output from /usr/bin/gcc-4.2 -std=gnu99 object
1355configure:7672: /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -I/opt/local/include conftest.c >&5
1356configure:7675: $? = 0
1357configure:7679: /opt/local/bin/nm conftest.o \| sed -n -e 's/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm
1358configure:7682: $? = 0
1359cannot find nm_test_var in conftest.nm
1360configure:7672: /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -I/opt/local/include conftest.c >&5
1361configure:7675: $? = 0
1362configure:7679: /opt/local/bin/nm conftest.o \| sed -n -e 's/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm
1363configure:7682: $? = 0
1364configure:7748: /usr/bin/gcc-4.2 -std=gnu99 -o conftest -pipe -Os -arch ppc -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc conftest.c conftstm.o >&5
1365configure:7751: $? = 0
1366configure:7789: result: ok
1367configure:7836: checking for sysroot
1368configure:7867: result: no
1369configure:7874: checking for a working dd
1370configure:7918: result: /bin/dd
1371configure:7922: checking how to truncate binary pipes
1372configure:7938: result: /bin/dd bs=4096 count=1
1373configure:8275: checking for mt
1374configure:8310: result: no
1375configure:8330: checking if : is a manifest tool
1376configure:8337: : '-?'
1377configure:8345: result: no
1378configure:8406: checking for dsymutil
1379configure:8427: found /usr/bin/dsymutil
1380configure:8438: result: dsymutil
1381configure:8508: checking for nmedit
1382configure:8529: found /opt/local/bin/nmedit
1383configure:8540: result: nmedit
1384configure:8610: checking for lipo
1385configure:8631: found /opt/local/bin/lipo
1386configure:8642: result: lipo
1387configure:8712: checking for otool
1388configure:8733: found /opt/local/bin/otool
1389configure:8744: result: otool
1390configure:8814: checking for otool64
1391configure:8849: result: no
1392configure:8894: checking for -single_module linker flag
1393/usr/bin/gcc-4.2 -std=gnu99 -pipe -Os -arch ppc -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc -o libconftest.dylib -dynamiclib -Wl,-single_module conftest.c
1394configure:8928: result: yes
1395configure:8931: checking for -exported_symbols_list linker flag
1396configure:8952: /usr/bin/gcc-4.2 -std=gnu99 -o conftest -pipe -Os -arch ppc -I/opt/local/include -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc -Wl,-exported_symbols_list,conftest.sym conftest.c  >&5
1397configure:8952: $? = 0
1398configure:8963: result: yes
1399configure:8966: checking for -force_load linker flag
1400/usr/bin/gcc-4.2 -std=gnu99 -pipe -Os -arch ppc -c -o conftest.o conftest.c
1401ar cru libconftest.a conftest.o
1402ranlib libconftest.a
1403/usr/bin/gcc-4.2 -std=gnu99 -pipe -Os -arch ppc -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc -o conftest conftest.c -Wl,-force_load,./libconftest.a
1404configure:8999: result: yes
1405configure:9066: checking for dlfcn.h
1406configure:9066: /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -I/opt/local/include conftest.c >&5
1407configure:9066: $? = 0
1408configure:9066: result: yes
1409configure:9336: checking for objdir
1410configure:9352: result: .libs
1411configure:9612: checking if /usr/bin/gcc-4.2 -std=gnu99 supports -fno-rtti -fno-exceptions
1412configure:9631: /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -I/opt/local/include -fno-rtti -fno-exceptions conftest.c >&5
1413cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C
1414configure:9635: $? = 0
1415configure:9648: result: no
1416configure:10006: checking for /usr/bin/gcc-4.2 -std=gnu99 option to produce PIC
1417configure:10014: result: -fno-common -DPIC
1418configure:10022: checking if /usr/bin/gcc-4.2 -std=gnu99 PIC flag -fno-common -DPIC works
1419configure:10041: /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -I/opt/local/include -fno-common -DPIC -DPIC conftest.c >&5
1420configure:10045: $? = 0
1421configure:10058: result: yes
1422configure:10087: checking if /usr/bin/gcc-4.2 -std=gnu99 static flag -static works
1423configure:10116: result: no
1424configure:10131: checking if /usr/bin/gcc-4.2 -std=gnu99 supports -c -o file.o
1425configure:10153: /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -I/opt/local/include -o out/conftest2.o conftest.c >&5
1426configure:10157: $? = 0
1427configure:10179: result: yes
1428configure:10187: checking if /usr/bin/gcc-4.2 -std=gnu99 supports -c -o file.o
1429configure:10235: result: yes
1430configure:10268: checking whether the /usr/bin/gcc-4.2 -std=gnu99 linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) supports shared libraries
1431configure:11534: result: yes
1432configure:11775: checking dynamic linker characteristics
1433configure:12596: result: darwin10.8.0 dyld
1434configure:12718: checking how to hardcode library paths into programs
1435configure:12743: result: immediate
1436configure:13295: checking whether stripping libraries is possible
1437configure:13309: result: yes
1438configure:13335: checking if libtool supports shared libraries
1439configure:13337: result: yes
1440configure:13340: checking whether to build shared libraries
1441configure:13365: result: yes
1442configure:13368: checking whether to build static libraries
1443configure:13372: result: yes
1444configure:13395: checking how to run the C++ preprocessor
1445configure:13417: /usr/bin/g++-4.2 -E -I/opt/local/include conftest.cpp
1446configure:13417: $? = 0
1447configure:13432: /usr/bin/g++-4.2 -E -I/opt/local/include conftest.cpp
1448conftest.cpp:23:28: error: ac_nonexistent.h: No such file or directory
1449configure:13432: $? = 1
1450configure: failed program was:
1451| /* confdefs.h */
1452| #define PACKAGE_NAME "usbredir"
1453| #define PACKAGE_TARNAME "usbredir"
1454| #define PACKAGE_VERSION "0.9.0"
1455| #define PACKAGE_STRING "usbredir 0.9.0"
1456| #define PACKAGE_BUGREPORT ""
1457| #define PACKAGE_URL ""
1458| #define PACKAGE "usbredir"
1459| #define VERSION "0.9.0"
1460| #define HAVE_STDIO_H 1
1461| #define HAVE_STDLIB_H 1
1462| #define HAVE_STRING_H 1
1463| #define HAVE_INTTYPES_H 1
1464| #define HAVE_STDINT_H 1
1465| #define HAVE_STRINGS_H 1
1466| #define HAVE_SYS_STAT_H 1
1467| #define HAVE_SYS_TYPES_H 1
1468| #define HAVE_UNISTD_H 1
1469| #define STDC_HEADERS 1
1470| #define HAVE_DLFCN_H 1
1471| #define LT_OBJDIR ".libs/"
1472| /* end confdefs.h.  */
1473| #include <ac_nonexistent.h>
1474configure:13459: result: /usr/bin/g++-4.2 -E
1475configure:13473: /usr/bin/g++-4.2 -E -I/opt/local/include conftest.cpp
1476configure:13473: $? = 0
1477configure:13488: /usr/bin/g++-4.2 -E -I/opt/local/include conftest.cpp
1478conftest.cpp:23:28: error: ac_nonexistent.h: No such file or directory
1479configure:13488: $? = 1
1480configure: failed program was:
1481| /* confdefs.h */
1482| #define PACKAGE_NAME "usbredir"
1483| #define PACKAGE_TARNAME "usbredir"
1484| #define PACKAGE_VERSION "0.9.0"
1485| #define PACKAGE_STRING "usbredir 0.9.0"
1486| #define PACKAGE_BUGREPORT ""
1487| #define PACKAGE_URL ""
1488| #define PACKAGE "usbredir"
1489| #define VERSION "0.9.0"
1490| #define HAVE_STDIO_H 1
1491| #define HAVE_STDLIB_H 1
1492| #define HAVE_STRING_H 1
1493| #define HAVE_INTTYPES_H 1
1494| #define HAVE_STDINT_H 1
1495| #define HAVE_STRINGS_H 1
1496| #define HAVE_SYS_STAT_H 1
1497| #define HAVE_SYS_TYPES_H 1
1498| #define HAVE_UNISTD_H 1
1499| #define STDC_HEADERS 1
1500| #define HAVE_DLFCN_H 1
1501| #define LT_OBJDIR ".libs/"
1502| /* end confdefs.h.  */
1503| #include <ac_nonexistent.h>
1504configure:13653: checking for ld used by /usr/bin/g++-4.2
1505configure:13721: result: /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld
1506configure:13728: checking if the linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) is GNU ld
1507configure:13744: result: no
1508configure:13799: checking whether the /usr/bin/g++-4.2 linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) supports shared libraries
1509configure:14876: result: yes
1510configure:14912: /usr/bin/g++-4.2 -c -pipe -Os -arch ppc -I/opt/local/include conftest.cpp >&5
1511configure:14915: $? = 0
1512configure:15396: checking for /usr/bin/g++-4.2 option to produce PIC
1513configure:15404: result: -fno-common -DPIC
1514configure:15412: checking if /usr/bin/g++-4.2 PIC flag -fno-common -DPIC works
1515configure:15431: /usr/bin/g++-4.2 -c -pipe -Os -arch ppc -I/opt/local/include -fno-common -DPIC -DPIC conftest.cpp >&5
1516configure:15435: $? = 0
1517configure:15448: result: yes
1518configure:15471: checking if /usr/bin/g++-4.2 static flag -static works
1519configure:15500: result: no
1520configure:15512: checking if /usr/bin/g++-4.2 supports -c -o file.o
1521configure:15534: /usr/bin/g++-4.2 -c -pipe -Os -arch ppc -I/opt/local/include -o out/conftest2.o conftest.cpp >&5
1522configure:15538: $? = 0
1523configure:15560: result: yes
1524configure:15565: checking if /usr/bin/g++-4.2 supports -c -o file.o
1525configure:15613: result: yes
1526configure:15643: checking whether the /usr/bin/g++-4.2 linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) supports shared libraries
1527configure:15683: result: yes
1528configure:15825: checking dynamic linker characteristics
1529configure:16573: result: darwin10.8.0 dyld
1530configure:16638: checking how to hardcode library paths into programs
1531configure:16663: result: immediate
1532configure:16725: checking for native Win32
1533configure:16736: result: no
1534configure:16839: checking whether /usr/bin/gcc-4.2 -std=gnu99 supports -Wall
1535configure:16847: /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -Wall -I/opt/local/include conftest.c >&5
1536configure:16847: $? = 0
1537configure:16857: result: yes
1538configure:16839: checking whether /usr/bin/gcc-4.2 -std=gnu99 supports -Werror
1539configure:16847: /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -Wall -Werror -I/opt/local/include conftest.c >&5
1540configure:16847: $? = 0
1541configure:16857: result: yes
1542configure:16839: checking whether /usr/bin/gcc-4.2 -std=gnu99 supports -Wp,-D_FORTIFY_SOURCE=2
1543configure:16847: /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -Wall -Werror -Wp,-D_FORTIFY_SOURCE=2 -I/opt/local/include conftest.c >&5
1544configure:16847: $? = 0
1545configure:16857: result: yes
1546configure:16839: checking whether /usr/bin/gcc-4.2 -std=gnu99 supports -fstack-protector
1547configure:16847: /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -Wall -Werror -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector -I/opt/local/include conftest.c >&5
1548configure:16847: $? = 0
1549configure:16857: result: yes
1550configure:16839: checking whether /usr/bin/gcc-4.2 -std=gnu99 supports --param=ssp-buffer-size=4
1551configure:16847: /usr/bin/gcc-4.2 -std=gnu99 -c -pipe -Os -arch ppc -Wall -Werror -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -I/opt/local/include conftest.c >&5
1552configure:16847: $? = 0
1553configure:16857: result: yes
1554configure:16921: checking for pkg-config
1555configure:16944: found /opt/local/bin/pkg-config
1556configure:16956: result: /opt/local/bin/pkg-config
1557configure:16981: checking pkg-config is at least version 0.9.0
1558configure:16984: result: yes
1559configure:16994: checking for libusb-1.0 >= 1.0.9
1560configure:17001: $PKG_CONFIG --exists --print-errors "libusb-1.0 >= 1.0.9"
1561configure:17004: $? = 0
1562configure:17018: $PKG_CONFIG --exists --print-errors "libusb-1.0 >= 1.0.9"
1563configure:17021: $? = 0
1564configure:17079: result: yes
1565configure:17097: $PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB2_REQUIRED"
1566configure:17100: $? = 0
1567configure:17114: checking for gio-unix-2.0 >= 2.44
1568configure:17121: $PKG_CONFIG --exists --print-errors "gio-unix-2.0 >= $GLIB2_REQUIRED"
1569configure:17124: $? = 0
1570configure:17138: $PKG_CONFIG --exists --print-errors "gio-unix-2.0 >= $GLIB2_REQUIRED"
1571configure:17141: $? = 0
1572configure:17199: result: yes
1573configure:17425: checking that generated files are newer than configure
1574configure:17431: result: done
1575configure:17470: creating ./config.status
1576
1577## ---------------------- ##
1578## Running config.status. ##
1579## ---------------------- ##
1580
1581This file was extended by usbredir config.status 0.9.0, which was
1582generated by GNU Autoconf 2.71.  Invocation command line was
1583
1584  CONFIG_FILES    =
1585  CONFIG_HEADERS  =
1586  CONFIG_LINKS    =
1587  CONFIG_COMMANDS =
1588  $ ./config.status
1589
1590on macmini.private
1591
1592config.status:1173: creating Makefile
1593config.status:1173: creating docs/Makefile
1594config.status:1173: creating tools/Makefile
1595config.status:1173: creating usbredirhost/Makefile
1596config.status:1173: creating usbredirhost/libusbredirhost.pc
1597config.status:1173: creating usbredirparser/Makefile
1598config.status:1173: creating usbredirparser/libusbredirparser-0.5.pc
1599config.status:1173: creating usbredirserver/Makefile
1600config.status:1173: creating usbredirtestclient/Makefile
1601config.status:1173: creating fuzzing/Makefile
1602config.status:1173: creating config.h
1603config.status:1402: executing depfiles commands
1604config.status:1479: cd tools       && sed -e '/# am--include-marker/d' Makefile         | make -f - am--depfiles
1605config.status:1484: $? = 0
1606config.status:1479: cd usbredirhost       && sed -e '/# am--include-marker/d' Makefile         | make -f - am--depfiles
1607config.status:1484: $? = 0
1608config.status:1479: cd usbredirparser       && sed -e '/# am--include-marker/d' Makefile         | make -f - am--depfiles
1609config.status:1484: $? = 0
1610config.status:1479: cd usbredirserver       && sed -e '/# am--include-marker/d' Makefile         | make -f - am--depfiles
1611config.status:1484: $? = 0
1612config.status:1479: cd usbredirtestclient       && sed -e '/# am--include-marker/d' Makefile         | make -f - am--depfiles
1613config.status:1484: $? = 0
1614config.status:1479: cd fuzzing       && sed -e '/# am--include-marker/d' Makefile         | make -f - am--depfiles
1615config.status:1484: $? = 0
1616config.status:1402: executing libtool commands
1617
1618## ---------------- ##
1619## Cache variables. ##
1620## ---------------- ##
1621
1622ac_cv_build=x86_64-apple-darwin10.8.0
1623ac_cv_c_compiler_gnu=yes
1624ac_cv_cxx_compiler_gnu=yes
1625ac_cv_env_CCC_set=
1626ac_cv_env_CCC_value=
1627ac_cv_env_CC_set=set
1628ac_cv_env_CC_value=/usr/bin/gcc-4.2
1629ac_cv_env_CFLAGS_set=set
1630ac_cv_env_CFLAGS_value='-pipe -Os -arch ppc'
1631ac_cv_env_CPPFLAGS_set=set
1632ac_cv_env_CPPFLAGS_value=-I/opt/local/include
1633ac_cv_env_CXXCPP_set=
1634ac_cv_env_CXXCPP_value=
1635ac_cv_env_CXXFLAGS_set=set
1636ac_cv_env_CXXFLAGS_value='-pipe -Os -arch ppc'
1637ac_cv_env_CXX_set=set
1638ac_cv_env_CXX_value=/usr/bin/g++-4.2
1639ac_cv_env_GIO_UNIX_CFLAGS_set=
1640ac_cv_env_GIO_UNIX_CFLAGS_value=
1641ac_cv_env_GIO_UNIX_LIBS_set=
1642ac_cv_env_GIO_UNIX_LIBS_value=
1643ac_cv_env_GIO_WIN_CFLAGS_set=
1644ac_cv_env_GIO_WIN_CFLAGS_value=
1645ac_cv_env_GIO_WIN_LIBS_set=
1646ac_cv_env_GIO_WIN_LIBS_value=
1647ac_cv_env_LDFLAGS_set=set
1648ac_cv_env_LDFLAGS_value='-L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc'
1649ac_cv_env_LIBS_set=
1650ac_cv_env_LIBS_value=
1651ac_cv_env_LIBUSB_CFLAGS_set=
1652ac_cv_env_LIBUSB_CFLAGS_value=
1653ac_cv_env_LIBUSB_LIBS_set=
1654ac_cv_env_LIBUSB_LIBS_value=
1655ac_cv_env_LIB_FUZZING_ENGINE_set=
1656ac_cv_env_LIB_FUZZING_ENGINE_value=
1657ac_cv_env_LT_SYS_LIBRARY_PATH_set=
1658ac_cv_env_LT_SYS_LIBRARY_PATH_value=
1659ac_cv_env_PKG_CONFIG_LIBDIR_set=
1660ac_cv_env_PKG_CONFIG_LIBDIR_value=
1661ac_cv_env_PKG_CONFIG_PATH_set=
1662ac_cv_env_PKG_CONFIG_PATH_value=
1663ac_cv_env_PKG_CONFIG_set=
1664ac_cv_env_PKG_CONFIG_value=
1665ac_cv_env_build_alias_set=
1666ac_cv_env_build_alias_value=
1667ac_cv_env_host_alias_set=
1668ac_cv_env_host_alias_value=
1669ac_cv_env_target_alias_set=
1670ac_cv_env_target_alias_value=
1671ac_cv_header_dlfcn_h=yes
1672ac_cv_header_inttypes_h=yes
1673ac_cv_header_stdint_h=yes
1674ac_cv_header_stdio_h=yes
1675ac_cv_header_stdlib_h=yes
1676ac_cv_header_string_h=yes
1677ac_cv_header_strings_h=yes
1678ac_cv_header_sys_stat_h=yes
1679ac_cv_header_sys_types_h=yes
1680ac_cv_header_unistd_h=yes
1681ac_cv_host=x86_64-apple-darwin10.8.0
1682ac_cv_objext=o
1683ac_cv_path_EGREP='/usr/bin/grep -E'
1684ac_cv_path_FGREP='/usr/bin/grep -F'
1685ac_cv_path_GREP=/usr/bin/grep
1686ac_cv_path_SED=/opt/local/bin/gsed
1687ac_cv_path_ac_pt_PKG_CONFIG=/opt/local/bin/pkg-config
1688ac_cv_path_lt_DD=/bin/dd
1689ac_cv_path_mkdir=/opt/local/bin/gmkdir
1690ac_cv_prog_AWK=gawk
1691ac_cv_prog_CXXCPP='/usr/bin/g++-4.2 -E'
1692ac_cv_prog_ac_ct_AR=ar
1693ac_cv_prog_ac_ct_CC=/usr/bin/gcc-4.2
1694ac_cv_prog_ac_ct_DSYMUTIL=dsymutil
1695ac_cv_prog_ac_ct_LIPO=lipo
1696ac_cv_prog_ac_ct_NMEDIT=nmedit
1697ac_cv_prog_ac_ct_OTOOL=otool
1698ac_cv_prog_ac_ct_RANLIB=ranlib
1699ac_cv_prog_ac_ct_STRIP=strip
1700ac_cv_prog_cc_c11=no
1701ac_cv_prog_cc_c99=-std=gnu99
1702ac_cv_prog_cc_g=yes
1703ac_cv_prog_cc_stdc=-std=gnu99
1704ac_cv_prog_cxx_11=no
1705ac_cv_prog_cxx_g=yes
1706ac_cv_prog_cxx_stdcxx=
1707ac_cv_prog_make_make_set=yes
1708am_cv_CC_dependencies_compiler_type=gcc3
1709am_cv_CXX_dependencies_compiler_type=gcc3
1710am_cv_make_support_nested_variables=yes
1711am_cv_prog_cc_c_o=yes
1712lt_cv_apple_cc_single_mod=yes
1713lt_cv_ar_at_file=no
1714lt_cv_deplibs_check_method=pass_all
1715lt_cv_file_magic_cmd='$MAGIC_CMD'
1716lt_cv_file_magic_test_file=
1717lt_cv_ld_exported_symbols_list=yes
1718lt_cv_ld_force_load=yes
1719lt_cv_ld_reload_flag=-r
1720lt_cv_nm_interface='BSD nm'
1721lt_cv_objdir=.libs
1722lt_cv_path_LD=/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld
1723lt_cv_path_LDCXX=/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld
1724lt_cv_path_NM=/opt/local/bin/nm
1725lt_cv_path_mainfest_tool=no
1726lt_cv_prog_compiler_c_o=yes
1727lt_cv_prog_compiler_c_o_CXX=yes
1728lt_cv_prog_compiler_pic='-fno-common -DPIC'
1729lt_cv_prog_compiler_pic_CXX='-fno-common -DPIC'
1730lt_cv_prog_compiler_pic_works=yes
1731lt_cv_prog_compiler_pic_works_CXX=yes
1732lt_cv_prog_compiler_rtti_exceptions=no
1733lt_cv_prog_compiler_static_works=no
1734lt_cv_prog_compiler_static_works_CXX=no
1735lt_cv_prog_gnu_ld=no
1736lt_cv_prog_gnu_ldcxx=no
1737lt_cv_sharedlib_from_linklib_cmd='printf %s\n'
1738lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[       ]\([BCDEGRST][BCDEGRST]*\)[     ][      ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p'\'' | sed '\''/ __gnu_lto/d'\'''
1739lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \(.*\) .*$/  {"\1", (void *) 0},/p'\'' -e '\''s/^[BCDEGRST][BCDEGRST]* .* \(.*\)$/  {"\1", (void *) \&\1},/p'\'''
1740lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \(.*\) .*$/  {"\1", (void *) 0},/p'\'' -e '\''s/^[BCDEGRST][BCDEGRST]* .* \(lib.*\)$/  {"\1", (void *) \&\1},/p'\'' -e '\''s/^[BCDEGRST][BCDEGRST]* .* \(.*\)$/  {"lib\1", (void *) \&\1},/p'\'''
1741lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[BCDEGRST][BCDEGRST]* .* \(.*\)$/extern char \1;/p'\'''
1742lt_cv_sys_global_symbol_to_import=
1743lt_cv_sys_max_cmd_len=196608
1744lt_cv_to_host_file_cmd=func_convert_file_noop
1745lt_cv_to_tool_file_cmd=func_convert_file_noop
1746lt_cv_truncate_bin='/bin/dd bs=4096 count=1'
1747pkg_cv_GIO_UNIX_CFLAGS='-I/opt/local/include/gio-unix-2.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include'
1748pkg_cv_GIO_UNIX_LIBS='-L/opt/local/lib -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lintl'
1749pkg_cv_LIBUSB_CFLAGS=-I/opt/local/include/libusb-1.0
1750pkg_cv_LIBUSB_LIBS='-L/opt/local/lib -lusb-1.0'
1751
1752## ----------------- ##
1753## Output variables. ##
1754## ----------------- ##
1755
1756ACLOCAL='${SHELL} '\''/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_usbredir/usbredir/work/usbredir-0.9.0/missing'\'' aclocal-1.16'
1757AMDEPBACKSLASH='\'
1758AMDEP_FALSE='#'
1759AMDEP_TRUE=''
1760AMTAR='$${TAR-tar}'
1761AM_BACKSLASH='\'
1762AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
1763AM_DEFAULT_VERBOSITY='1'
1764AM_V='$(V)'
1765AR='ar'
1766AUTOCONF='${SHELL} '\''/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_usbredir/usbredir/work/usbredir-0.9.0/missing'\'' autoconf'
1767AUTOHEADER='${SHELL} '\''/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_usbredir/usbredir/work/usbredir-0.9.0/missing'\'' autoheader'
1768AUTOMAKE='${SHELL} '\''/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_usbredir/usbredir/work/usbredir-0.9.0/missing'\'' automake-1.16'
1769AWK='gawk'
1770CC='/usr/bin/gcc-4.2 -std=gnu99'
1771CCDEPMODE='depmode=gcc3'
1772CFLAGS='-pipe -Os -arch ppc -Wall -Werror -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4'
1773CPPFLAGS='-I/opt/local/include'
1774CSCOPE='cscope'
1775CTAGS='ctags'
1776CXX='/usr/bin/g++-4.2'
1777CXXCPP='/usr/bin/g++-4.2 -E'
1778CXXDEPMODE='depmode=gcc3'
1779CXXFLAGS='-pipe -Os -arch ppc'
1780CYGPATH_W='echo'
1781DEFS='-DHAVE_CONFIG_H'
1782DEPDIR='.deps'
1783DLLTOOL='false'
1784DSYMUTIL='dsymutil'
1785DUMPBIN=''
1786ECHO_C='\c'
1787ECHO_N=''
1788ECHO_T=''
1789EGREP='/usr/bin/grep -E'
1790ENABLE_FUZZING_FALSE=''
1791ENABLE_FUZZING_TRUE='#'
1792ETAGS='etags'
1793EXEEXT=''
1794FGREP='/usr/bin/grep -F'
1795GIO_UNIX_CFLAGS='-I/opt/local/include/gio-unix-2.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include'
1796GIO_UNIX_LIBS='-L/opt/local/lib -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lintl'
1797GIO_WIN_CFLAGS=''
1798GIO_WIN_LIBS=''
1799GREP='/usr/bin/grep'
1800HAVE_TOOLS_FALSE='#'
1801HAVE_TOOLS_TRUE=''
1802INSTALL_DATA='${INSTALL} -m 644'
1803INSTALL_PROGRAM='${INSTALL}'
1804INSTALL_SCRIPT='${INSTALL}'
1805INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
1806LD='/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld'
1807LDFLAGS='-L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc'
1808LIBOBJS=''
1809LIBS=''
1810LIBTOOL='$(SHELL) $(top_builddir)/libtool'
1811LIBUSBREDIRHOST_SO_VERSION='1:2:0'
1812LIBUSBREDIRPARSER_SO_VERSION='1:2:0'
1813LIBUSB_CFLAGS='-I/opt/local/include/libusb-1.0'
1814LIBUSB_LIBS='-L/opt/local/lib -lusb-1.0'
1815LIB_FUZZING_ENGINE=''
1816LIPO='lipo'
1817LN_S='ln -s'
1818LTLIBOBJS=''
1819LT_SYS_LIBRARY_PATH=''
1820MAKEINFO='${SHELL} '\''/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_usbredir/usbredir/work/usbredir-0.9.0/missing'\'' makeinfo'
1821MANIFEST_TOOL=':'
1822MKDIR_P='/opt/local/bin/gmkdir -p'
1823NM='/opt/local/bin/nm'
1824NMEDIT='nmedit'
1825OBJDUMP='false'
1826OBJEXT='o'
1827OS_WIN32_FALSE=''
1828OS_WIN32_TRUE='#'
1829OTOOL64=':'
1830OTOOL='otool'
1831PACKAGE='usbredir'
1832PACKAGE_BUGREPORT=''
1833PACKAGE_NAME='usbredir'
1834PACKAGE_STRING='usbredir 0.9.0'
1835PACKAGE_TARNAME='usbredir'
1836PACKAGE_URL=''
1837PACKAGE_VERSION='0.9.0'
1838PATH_SEPARATOR=':'
1839PKG_CONFIG='/opt/local/bin/pkg-config'
1840PKG_CONFIG_LIBDIR=''
1841PKG_CONFIG_PATH=''
1842RANLIB='ranlib'
1843SED='/opt/local/bin/gsed'
1844SET_MAKE=''
1845SHELL='/bin/sh'
1846STRIP='strip'
1847VERSION='0.9.0'
1848ac_ct_AR='ar'
1849ac_ct_CC='/usr/bin/gcc-4.2'
1850ac_ct_CXX=''
1851ac_ct_DUMPBIN=''
1852am__EXEEXT_FALSE=''
1853am__EXEEXT_TRUE='#'
1854am__fastdepCC_FALSE='#'
1855am__fastdepCC_TRUE=''
1856am__fastdepCXX_FALSE='#'
1857am__fastdepCXX_TRUE=''
1858am__include='include'
1859am__isrc=''
1860am__leading_dot='.'
1861am__nodep='_no'
1862am__quote=''
1863am__tar='$${TAR-tar} chof - "$$tardir"'
1864am__untar='$${TAR-tar} xf -'
1865bindir='${exec_prefix}/bin'
1866build='x86_64-apple-darwin10.8.0'
1867build_alias=''
1868build_cpu='x86_64'
1869build_os='darwin10.8.0'
1870build_vendor='apple'
1871datadir='${datarootdir}'
1872datarootdir='${prefix}/share'
1873docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1874dvidir='${docdir}'
1875exec_prefix='${prefix}'
1876host='x86_64-apple-darwin10.8.0'
1877host_alias=''
1878host_cpu='x86_64'
1879host_os='darwin10.8.0'
1880host_vendor='apple'
1881htmldir='${docdir}'
1882includedir='${prefix}/include'
1883infodir='${datarootdir}/info'
1884install_sh='${SHELL} /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_usbredir/usbredir/work/usbredir-0.9.0/install-sh'
1885libdir='${exec_prefix}/lib'
1886libexecdir='${exec_prefix}/libexec'
1887localedir='${datarootdir}/locale'
1888localstatedir='${prefix}/var'
1889mandir='${datarootdir}/man'
1890mkdir_p='$(MKDIR_P)'
1891oldincludedir='/usr/include'
1892pdfdir='${docdir}'
1893prefix='/opt/local'
1894program_transform_name='s,x,x,'
1895psdir='${docdir}'
1896runstatedir='${localstatedir}/run'
1897sbindir='${exec_prefix}/sbin'
1898sharedstatedir='${prefix}/com'
1899sysconfdir='${prefix}/etc'
1900target_alias=''
1901
1902## ----------- ##
1903## confdefs.h. ##
1904## ----------- ##
1905
1906/* confdefs.h */
1907#define PACKAGE_NAME "usbredir"
1908#define PACKAGE_TARNAME "usbredir"
1909#define PACKAGE_VERSION "0.9.0"
1910#define PACKAGE_STRING "usbredir 0.9.0"
1911#define PACKAGE_BUGREPORT ""
1912#define PACKAGE_URL ""
1913#define PACKAGE "usbredir"
1914#define VERSION "0.9.0"
1915#define HAVE_STDIO_H 1
1916#define HAVE_STDLIB_H 1
1917#define HAVE_STRING_H 1
1918#define HAVE_INTTYPES_H 1
1919#define HAVE_STDINT_H 1
1920#define HAVE_STRINGS_H 1
1921#define HAVE_SYS_STAT_H 1
1922#define HAVE_SYS_TYPES_H 1
1923#define HAVE_UNISTD_H 1
1924#define STDC_HEADERS 1
1925#define HAVE_DLFCN_H 1
1926#define LT_OBJDIR ".libs/"
1927#define HAVE_TOOLS 1
1928
1929configure: exit 0