Ticket #62692: config.log

File config.log, 260.8 KB (added by poordead, 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 MiniDLNA configure 1.1.3, which was
5generated by GNU Autoconf 2.71.  Invocation command line was
6
7  $ ./configure --prefix=/opt/local
8
9## --------- ##
10## Platform. ##
11## --------- ##
12
13hostname = catalina-i7.local
14uname -m = x86_64
15uname -r = 19.6.0
16uname -s = Darwin
17uname -v = Darwin Kernel Version 19.6.0: Tue Jan 12 22:13:05 PST 2021; root:xnu-6153.141.16~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 19.6.0: Tue Jan 12 22:13:05 PST 2021; root:xnu-6153.141.16~1/RELEASE_X86_64
27Kernel configured for up to 8 processors.
284 processors are physically available.
298 processors are logically available.
30Processor type: i486 (Intel 80486)
31Processors active: 0 1 2 3 4 5 6 7
32Primary memory available: 16.00 gigabytes
33Default processor set: 422 tasks, 1379 threads, 8 processors
34Load average: 2.30, Mach factor: 5.69
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:2765: looking for aux files: config.rpath compile missing install-sh config.guess config.sub
52configure:2778:  trying ./
53configure:2807:   ./config.rpath found
54configure:2807:   ./compile found
55configure:2807:   ./missing found
56configure:2789:   ./install-sh found
57configure:2807:   ./config.guess found
58configure:2807:   ./config.sub found
59configure:2927: checking build system type
60configure:2942: result: x86_64-apple-darwin19.6.0
61configure:2962: checking host system type
62configure:2976: result: x86_64-apple-darwin19.6.0
63configure:2996: checking target system type
64configure:3010: result: x86_64-apple-darwin19.6.0
65configure:3053: checking for a BSD-compatible install
66configure:3126: result: /usr/bin/install -c
67configure:3137: checking whether build environment is sane
68configure:3192: result: yes
69configure:3351: checking for a race-free mkdir -p
70configure:3395: result: ./install-sh -c -d
71configure:3402: checking for gawk
72configure:3437: result: no
73configure:3402: checking for mawk
74configure:3437: result: no
75configure:3402: checking for nawk
76configure:3437: result: no
77configure:3402: checking for awk
78configure:3423: found /usr/bin/awk
79configure:3434: result: awk
80configure:3445: checking whether make sets $(MAKE)
81configure:3468: result: yes
82configure:3498: checking whether make supports nested variables
83configure:3516: result: yes
84configure:3652: checking whether make supports nested variables
85configure:3670: result: yes
86configure:3695: checking whether make supports the include directive
87configure:3710: make -f confmf.GNU && cat confinc.out
88this is the am__doit target
89configure:3713: $? = 0
90configure:3732: result: yes (GNU style)
91configure:3808: checking for gcc
92configure:3840: result: /usr/bin/clang
93configure:4193: checking for C compiler version
94configure:4202: /usr/bin/clang --version >&5
95Apple clang version 12.0.0 (clang-1200.0.32.29)
96Target: x86_64-apple-darwin19.6.0
97Thread model: posix
98InstalledDir: /Library/Developer/CommandLineTools/usr/bin
99configure:4213: $? = 0
100configure:4202: /usr/bin/clang -v >&5
101Apple clang version 12.0.0 (clang-1200.0.32.29)
102Target: x86_64-apple-darwin19.6.0
103Thread model: posix
104InstalledDir: /Library/Developer/CommandLineTools/usr/bin
105configure:4213: $? = 0
106configure:4202: /usr/bin/clang -V >&5
107clang: error: argument to '-V' is missing (expected 1 value)
108clang: error: no input files
109configure:4213: $? = 1
110configure:4202: /usr/bin/clang -qversion >&5
111clang: error: unknown argument '-qversion'; did you mean '--version'?
112clang: error: no input files
113configure:4213: $? = 1
114configure:4202: /usr/bin/clang -version >&5
115clang: error: unknown argument '-version'; did you mean '--version'?
116clang: error: no input files
117configure:4213: $? = 1
118configure:4233: checking whether the C compiler works
119configure:4255: /usr/bin/clang -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 conftest.c  >&5
120configure:4259: $? = 0
121configure:4309: result: yes
122configure:4312: checking for C compiler default output file name
123configure:4314: result: a.out
124configure:4320: checking for suffix of executables
125configure:4327: /usr/bin/clang -o conftest -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 conftest.c  >&5
126configure:4331: $? = 0
127configure:4354: result:
128configure:4376: checking whether we are cross compiling
129configure:4384: /usr/bin/clang -o conftest -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 conftest.c  >&5
130configure:4388: $? = 0
131configure:4395: ./conftest
132configure:4399: $? = 0
133configure:4414: result: no
134configure:4419: checking for suffix of object files
135configure:4442: /usr/bin/clang -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
136configure:4446: $? = 0
137configure:4468: result: o
138configure:4472: checking whether the compiler supports GNU C
139configure:4492: /usr/bin/clang -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
140configure:4492: $? = 0
141configure:4502: result: yes
142configure:4513: checking whether /usr/bin/clang accepts -g
143configure:4534: /usr/bin/clang -c -g -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
144configure:4534: $? = 0
145configure:4578: result: yes
146configure:4598: checking for /usr/bin/clang option to enable C11 features
147configure:4613: /usr/bin/clang  -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
148conftest.c:63:3: error: "Compiler does not advertise C99 conformance"
149# error "Compiler does not advertise C99 conformance"
150  ^
151conftest.c:118:29: error: expected ')'
152test_restrict (ccp restrict text)
153                            ^
154conftest.c:118:15: note: to match this '('
155test_restrict (ccp restrict text)
156              ^
157conftest.c:123:8: warning: GCC does not allow variable declarations in for loop initializers before C99 [-Wgcc-compat]
158  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
159       ^
160conftest.c:123:30: error: use of undeclared identifier 'text'; did you mean 'test'?
161  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
162                             ^~~~
163                             test
164conftest.c:55:5: note: 'test' declared here
165int test (int i, double x);
166    ^
167conftest.c:123:41: warning: comparing a pointer to a null character constant; did you mean to compare to NULL? [-Wpointer-compare]
168  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
169                                        ^~~~
170                                        (void *)0
171conftest.c:167:3: error: "Compiler does not advertise C11 conformance"
172# error "Compiler does not advertise C11 conformance"
173  ^
174conftest.c:199:29: error: use of undeclared identifier 'syntax'
175char const utf8_literal[] = u8"happens to be ASCII" "another string";
176                            ^
177conftest.c:198:12: note: expanded from macro 'u8'
178#define u8 syntax error!
179           ^
180conftest.c:199:29: error: expected ';' after top level declarator
181conftest.c:198:19: note: expanded from macro 'u8'
182#define u8 syntax error!
183                  ^
184conftest.c:203:19: warning: redefinition of typedef 'long_ptr' is a C11 feature [-Wtypedef-redefinition]
185typedef long int *long_ptr;
186                  ^
187conftest.c:202:15: note: previous definition is here
188typedef long *long_ptr;
189              ^
190conftest.c:204:18: warning: redefinition of typedef 'long_ptr' is a C11 feature [-Wtypedef-redefinition]
191typedef long_ptr long_ptr;
192                 ^
193conftest.c:203:19: note: previous definition is here
194typedef long int *long_ptr;
195                  ^
196conftest.c:232:17: error: expected ';' at end of declaration
197  char *restrict newvar = "Another string";
198                ^
199                ;
200conftest.c:242:8: warning: GCC does not allow variable declarations in for loop initializers before C99 [-Wgcc-compat]
201  for (int i = 0; i < ia->datasize; ++i)
202       ^
203conftest.c:259:58: error: use of undeclared identifier 'newvar'
204  ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
205                                                         ^
2065 warnings and 8 errors generated.
207configure:4613: $? = 1
208configure: failed program was:
209| /* confdefs.h */
210| #define PACKAGE_NAME "MiniDLNA"
211| #define PACKAGE_TARNAME "minidlna"
212| #define PACKAGE_VERSION "1.1.3"
213| #define PACKAGE_STRING "MiniDLNA 1.1.3"
214| #define PACKAGE_BUGREPORT ""
215| #define PACKAGE_URL ""
216| #define PACKAGE "minidlna"
217| #define VERSION "1.1.3"
218| /* end confdefs.h.  */
219|
220| /* Does the compiler advertise C89 conformance?
221|    Do not test the value of __STDC__, because some compilers set it to 0
222|    while being otherwise adequately conformant. */
223| #if !defined __STDC__
224| # error "Compiler does not advertise C89 conformance"
225| #endif
226|
227| #include <stddef.h>
228| #include <stdarg.h>
229| struct stat;
230| /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
231| struct buf { int x; };
232| struct buf * (*rcsopen) (struct buf *, struct stat *, int);
233| static char *e (p, i)
234|      char **p;
235|      int i;
236| {
237|   return p[i];
238| }
239| static char *f (char * (*g) (char **, int), char **p, ...)
240| {
241|   char *s;
242|   va_list v;
243|   va_start (v,p);
244|   s = g (p, va_arg (v,int));
245|   va_end (v);
246|   return s;
247| }
248|
249| /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
250|    function prototypes and stuff, but not \xHH hex character constants.
251|    These do not provoke an error unfortunately, instead are silently treated
252|    as an "x".  The following induces an error, until -std is added to get
253|    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
254|    array size at least.  It is necessary to write \x00 == 0 to get something
255|    that is true only with -std.  */
256| int osf4_cc_array ['\x00' == 0 ? 1 : -1];
257|
258| /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
259|    inside strings and character constants.  */
260| #define FOO(x) 'x'
261| int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
262|
263| int test (int i, double x);
264| struct s1 {int (*f) (int a);};
265| struct s2 {int (*f) (double a);};
266| int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
267|                int, int);
268|
269| // Does the compiler advertise C99 conformance?
270| #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
271| # error "Compiler does not advertise C99 conformance"
272| #endif
273|
274| #include <stdbool.h>
275| extern int puts (const char *);
276| extern int printf (const char *, ...);
277| extern int dprintf (int, const char *, ...);
278| extern void *malloc (size_t);
279|
280| // Check varargs macros.  These examples are taken from C99 6.10.3.5.
281| // dprintf is used instead of fprintf to avoid needing to declare
282| // FILE and stderr.
283| #define debug(...) dprintf (2, __VA_ARGS__)
284| #define showlist(...) puts (#__VA_ARGS__)
285| #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
286| static void
287| test_varargs_macros (void)
288| {
289|   int x = 1234;
290|   int y = 5678;
291|   debug ("Flag");
292|   debug ("X = %d\n", x);
293|   showlist (The first, second, and third items.);
294|   report (x>y, "x is %d but y is %d", x, y);
295| }
296|
297| // Check long long types.
298| #define BIG64 18446744073709551615ull
299| #define BIG32 4294967295ul
300| #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
301| #if !BIG_OK
302|   #error "your preprocessor is broken"
303| #endif
304| #if BIG_OK
305| #else
306|   #error "your preprocessor is broken"
307| #endif
308| static long long int bignum = -9223372036854775807LL;
309| static unsigned long long int ubignum = BIG64;
310|
311| struct incomplete_array
312| {
313|   int datasize;
314|   double data[];
315| };
316|
317| struct named_init {
318|   int number;
319|   const wchar_t *name;
320|   double average;
321| };
322|
323| typedef const char *ccp;
324|
325| static inline int
326| test_restrict (ccp restrict text)
327| {
328|   // See if C++-style comments work.
329|   // Iterate through items via the restricted pointer.
330|   // Also check for declarations in for loops.
331|   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
332|     continue;
333|   return 0;
334| }
335|
336| // Check varargs and va_copy.
337| static bool
338| test_varargs (const char *format, ...)
339| {
340|   va_list args;
341|   va_start (args, format);
342|   va_list args_copy;
343|   va_copy (args_copy, args);
344|
345|   const char *str = "";
346|   int number = 0;
347|   float fnumber = 0;
348|
349|   while (*format)
350|     {
351|       switch (*format++)
352|       {
353|       case 's': // string
354|         str = va_arg (args_copy, const char *);
355|         break;
356|       case 'd': // int
357|         number = va_arg (args_copy, int);
358|         break;
359|       case 'f': // float
360|         fnumber = va_arg (args_copy, double);
361|         break;
362|       default:
363|         break;
364|       }
365|     }
366|   va_end (args_copy);
367|   va_end (args);
368|
369|   return *str && number && fnumber;
370| }
371|
372|
373| // Does the compiler advertise C11 conformance?
374| #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
375| # error "Compiler does not advertise C11 conformance"
376| #endif
377|
378| // Check _Alignas.
379| char _Alignas (double) aligned_as_double;
380| char _Alignas (0) no_special_alignment;
381| extern char aligned_as_int;
382| char _Alignas (0) _Alignas (int) aligned_as_int;
383|
384| // Check _Alignof.
385| enum
386| {
387|   int_alignment = _Alignof (int),
388|   int_array_alignment = _Alignof (int[100]),
389|   char_alignment = _Alignof (char)
390| };
391| _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
392|
393| // Check _Noreturn.
394| int _Noreturn does_not_return (void) { for (;;) continue; }
395|
396| // Check _Static_assert.
397| struct test_static_assert
398| {
399|   int x;
400|   _Static_assert (sizeof (int) <= sizeof (long int),
401|                   "_Static_assert does not work in struct");
402|   long int y;
403| };
404|
405| // Check UTF-8 literals.
406| #define u8 syntax error!
407| char const utf8_literal[] = u8"happens to be ASCII" "another string";
408|
409| // Check duplicate typedefs.
410| typedef long *long_ptr;
411| typedef long int *long_ptr;
412| typedef long_ptr long_ptr;
413|
414| // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
415| struct anonymous
416| {
417|   union {
418|     struct { int i; int j; };
419|     struct { int k; long int l; } w;
420|   };
421|   int m;
422| } v1;
423|
424|
425| int
426| main (int argc, char **argv)
427| {
428|   int ok = 0;
429|   
430| ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
431|
432|   
433|   // Check bool.
434|   _Bool success = false;
435|   success |= (argc != 0);
436|
437|   // Check restrict.
438|   if (test_restrict ("String literal") == 0)
439|     success = true;
440|   char *restrict newvar = "Another string";
441|
442|   // Check varargs.
443|   success &= test_varargs ("s, d' f .", "string", 65, 34.234);
444|   test_varargs_macros ();
445|
446|   // Check flexible array members.
447|   struct incomplete_array *ia =
448|     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
449|   ia->datasize = 10;
450|   for (int i = 0; i < ia->datasize; ++i)
451|     ia->data[i] = i * 1.234;
452|
453|   // Check named initializers.
454|   struct named_init ni = {
455|     .number = 34,
456|     .name = L"Test wide string",
457|     .average = 543.34343,
458|   };
459|
460|   ni.number = 58;
461|
462|   int dynamic_array[ni.number];
463|   dynamic_array[0] = argv[0][0];
464|   dynamic_array[ni.number - 1] = 543;
465|
466|   // work around unused variable warnings
467|   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
468|        || dynamic_array[ni.number - 1] != 543);
469|
470|   
471|   _Static_assert ((offsetof (struct anonymous, i)
472|                  == offsetof (struct anonymous, w.k)),
473|                 "Anonymous union alignment botch");
474|   v1.i = 2;
475|   v1.w.k = 5;
476|   ok |= v1.i != 5;
477|
478|   return ok;
479| }
480|
481configure:4613: /usr/bin/clang -std=gnu11 -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
482conftest.c:63:3: error: "Compiler does not advertise C99 conformance"
483# error "Compiler does not advertise C99 conformance"
484  ^
485conftest.c:118:29: error: expected ')'
486test_restrict (ccp restrict text)
487                            ^
488conftest.c:118:15: note: to match this '('
489test_restrict (ccp restrict text)
490              ^
491conftest.c:123:8: warning: GCC does not allow variable declarations in for loop initializers before C99 [-Wgcc-compat]
492  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
493       ^
494conftest.c:123:30: error: use of undeclared identifier 'text'; did you mean 'test'?
495  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
496                             ^~~~
497                             test
498conftest.c:55:5: note: 'test' declared here
499int test (int i, double x);
500    ^
501conftest.c:123:41: warning: comparing a pointer to a null character constant; did you mean to compare to NULL? [-Wpointer-compare]
502  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
503                                        ^~~~
504                                        (void *)0
505conftest.c:167:3: error: "Compiler does not advertise C11 conformance"
506# error "Compiler does not advertise C11 conformance"
507  ^
508conftest.c:199:29: error: use of undeclared identifier 'syntax'
509char const utf8_literal[] = u8"happens to be ASCII" "another string";
510                            ^
511conftest.c:198:12: note: expanded from macro 'u8'
512#define u8 syntax error!
513           ^
514conftest.c:199:29: error: expected ';' after top level declarator
515conftest.c:198:19: note: expanded from macro 'u8'
516#define u8 syntax error!
517                  ^
518conftest.c:203:19: warning: redefinition of typedef 'long_ptr' is a C11 feature [-Wtypedef-redefinition]
519typedef long int *long_ptr;
520                  ^
521conftest.c:202:15: note: previous definition is here
522typedef long *long_ptr;
523              ^
524conftest.c:204:18: warning: redefinition of typedef 'long_ptr' is a C11 feature [-Wtypedef-redefinition]
525typedef long_ptr long_ptr;
526                 ^
527conftest.c:203:19: note: previous definition is here
528typedef long int *long_ptr;
529                  ^
530conftest.c:232:17: error: expected ';' at end of declaration
531  char *restrict newvar = "Another string";
532                ^
533                ;
534conftest.c:242:8: warning: GCC does not allow variable declarations in for loop initializers before C99 [-Wgcc-compat]
535  for (int i = 0; i < ia->datasize; ++i)
536       ^
537conftest.c:259:58: error: use of undeclared identifier 'newvar'
538  ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
539                                                         ^
5405 warnings and 8 errors generated.
541configure:4613: $? = 1
542configure: failed program was:
543| /* confdefs.h */
544| #define PACKAGE_NAME "MiniDLNA"
545| #define PACKAGE_TARNAME "minidlna"
546| #define PACKAGE_VERSION "1.1.3"
547| #define PACKAGE_STRING "MiniDLNA 1.1.3"
548| #define PACKAGE_BUGREPORT ""
549| #define PACKAGE_URL ""
550| #define PACKAGE "minidlna"
551| #define VERSION "1.1.3"
552| /* end confdefs.h.  */
553|
554| /* Does the compiler advertise C89 conformance?
555|    Do not test the value of __STDC__, because some compilers set it to 0
556|    while being otherwise adequately conformant. */
557| #if !defined __STDC__
558| # error "Compiler does not advertise C89 conformance"
559| #endif
560|
561| #include <stddef.h>
562| #include <stdarg.h>
563| struct stat;
564| /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
565| struct buf { int x; };
566| struct buf * (*rcsopen) (struct buf *, struct stat *, int);
567| static char *e (p, i)
568|      char **p;
569|      int i;
570| {
571|   return p[i];
572| }
573| static char *f (char * (*g) (char **, int), char **p, ...)
574| {
575|   char *s;
576|   va_list v;
577|   va_start (v,p);
578|   s = g (p, va_arg (v,int));
579|   va_end (v);
580|   return s;
581| }
582|
583| /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
584|    function prototypes and stuff, but not \xHH hex character constants.
585|    These do not provoke an error unfortunately, instead are silently treated
586|    as an "x".  The following induces an error, until -std is added to get
587|    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
588|    array size at least.  It is necessary to write \x00 == 0 to get something
589|    that is true only with -std.  */
590| int osf4_cc_array ['\x00' == 0 ? 1 : -1];
591|
592| /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
593|    inside strings and character constants.  */
594| #define FOO(x) 'x'
595| int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
596|
597| int test (int i, double x);
598| struct s1 {int (*f) (int a);};
599| struct s2 {int (*f) (double a);};
600| int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
601|                int, int);
602|
603| // Does the compiler advertise C99 conformance?
604| #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
605| # error "Compiler does not advertise C99 conformance"
606| #endif
607|
608| #include <stdbool.h>
609| extern int puts (const char *);
610| extern int printf (const char *, ...);
611| extern int dprintf (int, const char *, ...);
612| extern void *malloc (size_t);
613|
614| // Check varargs macros.  These examples are taken from C99 6.10.3.5.
615| // dprintf is used instead of fprintf to avoid needing to declare
616| // FILE and stderr.
617| #define debug(...) dprintf (2, __VA_ARGS__)
618| #define showlist(...) puts (#__VA_ARGS__)
619| #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
620| static void
621| test_varargs_macros (void)
622| {
623|   int x = 1234;
624|   int y = 5678;
625|   debug ("Flag");
626|   debug ("X = %d\n", x);
627|   showlist (The first, second, and third items.);
628|   report (x>y, "x is %d but y is %d", x, y);
629| }
630|
631| // Check long long types.
632| #define BIG64 18446744073709551615ull
633| #define BIG32 4294967295ul
634| #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
635| #if !BIG_OK
636|   #error "your preprocessor is broken"
637| #endif
638| #if BIG_OK
639| #else
640|   #error "your preprocessor is broken"
641| #endif
642| static long long int bignum = -9223372036854775807LL;
643| static unsigned long long int ubignum = BIG64;
644|
645| struct incomplete_array
646| {
647|   int datasize;
648|   double data[];
649| };
650|
651| struct named_init {
652|   int number;
653|   const wchar_t *name;
654|   double average;
655| };
656|
657| typedef const char *ccp;
658|
659| static inline int
660| test_restrict (ccp restrict text)
661| {
662|   // See if C++-style comments work.
663|   // Iterate through items via the restricted pointer.
664|   // Also check for declarations in for loops.
665|   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
666|     continue;
667|   return 0;
668| }
669|
670| // Check varargs and va_copy.
671| static bool
672| test_varargs (const char *format, ...)
673| {
674|   va_list args;
675|   va_start (args, format);
676|   va_list args_copy;
677|   va_copy (args_copy, args);
678|
679|   const char *str = "";
680|   int number = 0;
681|   float fnumber = 0;
682|
683|   while (*format)
684|     {
685|       switch (*format++)
686|       {
687|       case 's': // string
688|         str = va_arg (args_copy, const char *);
689|         break;
690|       case 'd': // int
691|         number = va_arg (args_copy, int);
692|         break;
693|       case 'f': // float
694|         fnumber = va_arg (args_copy, double);
695|         break;
696|       default:
697|         break;
698|       }
699|     }
700|   va_end (args_copy);
701|   va_end (args);
702|
703|   return *str && number && fnumber;
704| }
705|
706|
707| // Does the compiler advertise C11 conformance?
708| #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
709| # error "Compiler does not advertise C11 conformance"
710| #endif
711|
712| // Check _Alignas.
713| char _Alignas (double) aligned_as_double;
714| char _Alignas (0) no_special_alignment;
715| extern char aligned_as_int;
716| char _Alignas (0) _Alignas (int) aligned_as_int;
717|
718| // Check _Alignof.
719| enum
720| {
721|   int_alignment = _Alignof (int),
722|   int_array_alignment = _Alignof (int[100]),
723|   char_alignment = _Alignof (char)
724| };
725| _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
726|
727| // Check _Noreturn.
728| int _Noreturn does_not_return (void) { for (;;) continue; }
729|
730| // Check _Static_assert.
731| struct test_static_assert
732| {
733|   int x;
734|   _Static_assert (sizeof (int) <= sizeof (long int),
735|                   "_Static_assert does not work in struct");
736|   long int y;
737| };
738|
739| // Check UTF-8 literals.
740| #define u8 syntax error!
741| char const utf8_literal[] = u8"happens to be ASCII" "another string";
742|
743| // Check duplicate typedefs.
744| typedef long *long_ptr;
745| typedef long int *long_ptr;
746| typedef long_ptr long_ptr;
747|
748| // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
749| struct anonymous
750| {
751|   union {
752|     struct { int i; int j; };
753|     struct { int k; long int l; } w;
754|   };
755|   int m;
756| } v1;
757|
758|
759| int
760| main (int argc, char **argv)
761| {
762|   int ok = 0;
763|   
764| ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
765|
766|   
767|   // Check bool.
768|   _Bool success = false;
769|   success |= (argc != 0);
770|
771|   // Check restrict.
772|   if (test_restrict ("String literal") == 0)
773|     success = true;
774|   char *restrict newvar = "Another string";
775|
776|   // Check varargs.
777|   success &= test_varargs ("s, d' f .", "string", 65, 34.234);
778|   test_varargs_macros ();
779|
780|   // Check flexible array members.
781|   struct incomplete_array *ia =
782|     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
783|   ia->datasize = 10;
784|   for (int i = 0; i < ia->datasize; ++i)
785|     ia->data[i] = i * 1.234;
786|
787|   // Check named initializers.
788|   struct named_init ni = {
789|     .number = 34,
790|     .name = L"Test wide string",
791|     .average = 543.34343,
792|   };
793|
794|   ni.number = 58;
795|
796|   int dynamic_array[ni.number];
797|   dynamic_array[0] = argv[0][0];
798|   dynamic_array[ni.number - 1] = 543;
799|
800|   // work around unused variable warnings
801|   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
802|        || dynamic_array[ni.number - 1] != 543);
803|
804|   
805|   _Static_assert ((offsetof (struct anonymous, i)
806|                  == offsetof (struct anonymous, w.k)),
807|                 "Anonymous union alignment botch");
808|   v1.i = 2;
809|   v1.w.k = 5;
810|   ok |= v1.i != 5;
811|
812|   return ok;
813| }
814|
815configure:4626: result: unsupported
816configure:4644: checking for /usr/bin/clang option to enable C99 features
817configure:4659: /usr/bin/clang  -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
818conftest.c:63:3: error: "Compiler does not advertise C99 conformance"
819# error "Compiler does not advertise C99 conformance"
820  ^
821conftest.c:118:29: error: expected ')'
822test_restrict (ccp restrict text)
823                            ^
824conftest.c:118:15: note: to match this '('
825test_restrict (ccp restrict text)
826              ^
827conftest.c:123:8: warning: GCC does not allow variable declarations in for loop initializers before C99 [-Wgcc-compat]
828  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
829       ^
830conftest.c:123:30: error: use of undeclared identifier 'text'; did you mean 'test'?
831  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
832                             ^~~~
833                             test
834conftest.c:55:5: note: 'test' declared here
835int test (int i, double x);
836    ^
837conftest.c:123:41: warning: comparing a pointer to a null character constant; did you mean to compare to NULL? [-Wpointer-compare]
838  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
839                                        ^~~~
840                                        (void *)0
841conftest.c:180:17: error: expected ';' at end of declaration
842  char *restrict newvar = "Another string";
843                ^
844                ;
845conftest.c:190:8: warning: GCC does not allow variable declarations in for loop initializers before C99 [-Wgcc-compat]
846  for (int i = 0; i < ia->datasize; ++i)
847       ^
848conftest.c:207:58: error: use of undeclared identifier 'newvar'
849  ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
850                                                         ^
8513 warnings and 5 errors generated.
852configure:4659: $? = 1
853configure: failed program was:
854| /* confdefs.h */
855| #define PACKAGE_NAME "MiniDLNA"
856| #define PACKAGE_TARNAME "minidlna"
857| #define PACKAGE_VERSION "1.1.3"
858| #define PACKAGE_STRING "MiniDLNA 1.1.3"
859| #define PACKAGE_BUGREPORT ""
860| #define PACKAGE_URL ""
861| #define PACKAGE "minidlna"
862| #define VERSION "1.1.3"
863| /* end confdefs.h.  */
864|
865| /* Does the compiler advertise C89 conformance?
866|    Do not test the value of __STDC__, because some compilers set it to 0
867|    while being otherwise adequately conformant. */
868| #if !defined __STDC__
869| # error "Compiler does not advertise C89 conformance"
870| #endif
871|
872| #include <stddef.h>
873| #include <stdarg.h>
874| struct stat;
875| /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
876| struct buf { int x; };
877| struct buf * (*rcsopen) (struct buf *, struct stat *, int);
878| static char *e (p, i)
879|      char **p;
880|      int i;
881| {
882|   return p[i];
883| }
884| static char *f (char * (*g) (char **, int), char **p, ...)
885| {
886|   char *s;
887|   va_list v;
888|   va_start (v,p);
889|   s = g (p, va_arg (v,int));
890|   va_end (v);
891|   return s;
892| }
893|
894| /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
895|    function prototypes and stuff, but not \xHH hex character constants.
896|    These do not provoke an error unfortunately, instead are silently treated
897|    as an "x".  The following induces an error, until -std is added to get
898|    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
899|    array size at least.  It is necessary to write \x00 == 0 to get something
900|    that is true only with -std.  */
901| int osf4_cc_array ['\x00' == 0 ? 1 : -1];
902|
903| /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
904|    inside strings and character constants.  */
905| #define FOO(x) 'x'
906| int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
907|
908| int test (int i, double x);
909| struct s1 {int (*f) (int a);};
910| struct s2 {int (*f) (double a);};
911| int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
912|                int, int);
913|
914| // Does the compiler advertise C99 conformance?
915| #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
916| # error "Compiler does not advertise C99 conformance"
917| #endif
918|
919| #include <stdbool.h>
920| extern int puts (const char *);
921| extern int printf (const char *, ...);
922| extern int dprintf (int, const char *, ...);
923| extern void *malloc (size_t);
924|
925| // Check varargs macros.  These examples are taken from C99 6.10.3.5.
926| // dprintf is used instead of fprintf to avoid needing to declare
927| // FILE and stderr.
928| #define debug(...) dprintf (2, __VA_ARGS__)
929| #define showlist(...) puts (#__VA_ARGS__)
930| #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
931| static void
932| test_varargs_macros (void)
933| {
934|   int x = 1234;
935|   int y = 5678;
936|   debug ("Flag");
937|   debug ("X = %d\n", x);
938|   showlist (The first, second, and third items.);
939|   report (x>y, "x is %d but y is %d", x, y);
940| }
941|
942| // Check long long types.
943| #define BIG64 18446744073709551615ull
944| #define BIG32 4294967295ul
945| #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
946| #if !BIG_OK
947|   #error "your preprocessor is broken"
948| #endif
949| #if BIG_OK
950| #else
951|   #error "your preprocessor is broken"
952| #endif
953| static long long int bignum = -9223372036854775807LL;
954| static unsigned long long int ubignum = BIG64;
955|
956| struct incomplete_array
957| {
958|   int datasize;
959|   double data[];
960| };
961|
962| struct named_init {
963|   int number;
964|   const wchar_t *name;
965|   double average;
966| };
967|
968| typedef const char *ccp;
969|
970| static inline int
971| test_restrict (ccp restrict text)
972| {
973|   // See if C++-style comments work.
974|   // Iterate through items via the restricted pointer.
975|   // Also check for declarations in for loops.
976|   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
977|     continue;
978|   return 0;
979| }
980|
981| // Check varargs and va_copy.
982| static bool
983| test_varargs (const char *format, ...)
984| {
985|   va_list args;
986|   va_start (args, format);
987|   va_list args_copy;
988|   va_copy (args_copy, args);
989|
990|   const char *str = "";
991|   int number = 0;
992|   float fnumber = 0;
993|
994|   while (*format)
995|     {
996|       switch (*format++)
997|       {
998|       case 's': // string
999|         str = va_arg (args_copy, const char *);
1000|         break;
1001|       case 'd': // int
1002|         number = va_arg (args_copy, int);
1003|         break;
1004|       case 'f': // float
1005|         fnumber = va_arg (args_copy, double);
1006|         break;
1007|       default:
1008|         break;
1009|       }
1010|     }
1011|   va_end (args_copy);
1012|   va_end (args);
1013|
1014|   return *str && number && fnumber;
1015| }
1016|
1017|
1018| int
1019| main (int argc, char **argv)
1020| {
1021|   int ok = 0;
1022|   
1023| ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
1024|
1025|   
1026|   // Check bool.
1027|   _Bool success = false;
1028|   success |= (argc != 0);
1029|
1030|   // Check restrict.
1031|   if (test_restrict ("String literal") == 0)
1032|     success = true;
1033|   char *restrict newvar = "Another string";
1034|
1035|   // Check varargs.
1036|   success &= test_varargs ("s, d' f .", "string", 65, 34.234);
1037|   test_varargs_macros ();
1038|
1039|   // Check flexible array members.
1040|   struct incomplete_array *ia =
1041|     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
1042|   ia->datasize = 10;
1043|   for (int i = 0; i < ia->datasize; ++i)
1044|     ia->data[i] = i * 1.234;
1045|
1046|   // Check named initializers.
1047|   struct named_init ni = {
1048|     .number = 34,
1049|     .name = L"Test wide string",
1050|     .average = 543.34343,
1051|   };
1052|
1053|   ni.number = 58;
1054|
1055|   int dynamic_array[ni.number];
1056|   dynamic_array[0] = argv[0][0];
1057|   dynamic_array[ni.number - 1] = 543;
1058|
1059|   // work around unused variable warnings
1060|   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
1061|        || dynamic_array[ni.number - 1] != 543);
1062|
1063|   return ok;
1064| }
1065|
1066configure:4659: /usr/bin/clang -std=gnu99 -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
1067conftest.c:63:3: error: "Compiler does not advertise C99 conformance"
1068# error "Compiler does not advertise C99 conformance"
1069  ^
1070conftest.c:118:29: error: expected ')'
1071test_restrict (ccp restrict text)
1072                            ^
1073conftest.c:118:15: note: to match this '('
1074test_restrict (ccp restrict text)
1075              ^
1076conftest.c:123:8: warning: GCC does not allow variable declarations in for loop initializers before C99 [-Wgcc-compat]
1077  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
1078       ^
1079conftest.c:123:30: error: use of undeclared identifier 'text'; did you mean 'test'?
1080  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
1081                             ^~~~
1082                             test
1083conftest.c:55:5: note: 'test' declared here
1084int test (int i, double x);
1085    ^
1086conftest.c:123:41: warning: comparing a pointer to a null character constant; did you mean to compare to NULL? [-Wpointer-compare]
1087  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
1088                                        ^~~~
1089                                        (void *)0
1090conftest.c:180:17: error: expected ';' at end of declaration
1091  char *restrict newvar = "Another string";
1092                ^
1093                ;
1094conftest.c:190:8: warning: GCC does not allow variable declarations in for loop initializers before C99 [-Wgcc-compat]
1095  for (int i = 0; i < ia->datasize; ++i)
1096       ^
1097conftest.c:207:58: error: use of undeclared identifier 'newvar'
1098  ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
1099                                                         ^
11003 warnings and 5 errors generated.
1101configure:4659: $? = 1
1102configure: failed program was:
1103| /* confdefs.h */
1104| #define PACKAGE_NAME "MiniDLNA"
1105| #define PACKAGE_TARNAME "minidlna"
1106| #define PACKAGE_VERSION "1.1.3"
1107| #define PACKAGE_STRING "MiniDLNA 1.1.3"
1108| #define PACKAGE_BUGREPORT ""
1109| #define PACKAGE_URL ""
1110| #define PACKAGE "minidlna"
1111| #define VERSION "1.1.3"
1112| /* end confdefs.h.  */
1113|
1114| /* Does the compiler advertise C89 conformance?
1115|    Do not test the value of __STDC__, because some compilers set it to 0
1116|    while being otherwise adequately conformant. */
1117| #if !defined __STDC__
1118| # error "Compiler does not advertise C89 conformance"
1119| #endif
1120|
1121| #include <stddef.h>
1122| #include <stdarg.h>
1123| struct stat;
1124| /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
1125| struct buf { int x; };
1126| struct buf * (*rcsopen) (struct buf *, struct stat *, int);
1127| static char *e (p, i)
1128|      char **p;
1129|      int i;
1130| {
1131|   return p[i];
1132| }
1133| static char *f (char * (*g) (char **, int), char **p, ...)
1134| {
1135|   char *s;
1136|   va_list v;
1137|   va_start (v,p);
1138|   s = g (p, va_arg (v,int));
1139|   va_end (v);
1140|   return s;
1141| }
1142|
1143| /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
1144|    function prototypes and stuff, but not \xHH hex character constants.
1145|    These do not provoke an error unfortunately, instead are silently treated
1146|    as an "x".  The following induces an error, until -std is added to get
1147|    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
1148|    array size at least.  It is necessary to write \x00 == 0 to get something
1149|    that is true only with -std.  */
1150| int osf4_cc_array ['\x00' == 0 ? 1 : -1];
1151|
1152| /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
1153|    inside strings and character constants.  */
1154| #define FOO(x) 'x'
1155| int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
1156|
1157| int test (int i, double x);
1158| struct s1 {int (*f) (int a);};
1159| struct s2 {int (*f) (double a);};
1160| int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
1161|                int, int);
1162|
1163| // Does the compiler advertise C99 conformance?
1164| #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
1165| # error "Compiler does not advertise C99 conformance"
1166| #endif
1167|
1168| #include <stdbool.h>
1169| extern int puts (const char *);
1170| extern int printf (const char *, ...);
1171| extern int dprintf (int, const char *, ...);
1172| extern void *malloc (size_t);
1173|
1174| // Check varargs macros.  These examples are taken from C99 6.10.3.5.
1175| // dprintf is used instead of fprintf to avoid needing to declare
1176| // FILE and stderr.
1177| #define debug(...) dprintf (2, __VA_ARGS__)
1178| #define showlist(...) puts (#__VA_ARGS__)
1179| #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
1180| static void
1181| test_varargs_macros (void)
1182| {
1183|   int x = 1234;
1184|   int y = 5678;
1185|   debug ("Flag");
1186|   debug ("X = %d\n", x);
1187|   showlist (The first, second, and third items.);
1188|   report (x>y, "x is %d but y is %d", x, y);
1189| }
1190|
1191| // Check long long types.
1192| #define BIG64 18446744073709551615ull
1193| #define BIG32 4294967295ul
1194| #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
1195| #if !BIG_OK
1196|   #error "your preprocessor is broken"
1197| #endif
1198| #if BIG_OK
1199| #else
1200|   #error "your preprocessor is broken"
1201| #endif
1202| static long long int bignum = -9223372036854775807LL;
1203| static unsigned long long int ubignum = BIG64;
1204|
1205| struct incomplete_array
1206| {
1207|   int datasize;
1208|   double data[];
1209| };
1210|
1211| struct named_init {
1212|   int number;
1213|   const wchar_t *name;
1214|   double average;
1215| };
1216|
1217| typedef const char *ccp;
1218|
1219| static inline int
1220| test_restrict (ccp restrict text)
1221| {
1222|   // See if C++-style comments work.
1223|   // Iterate through items via the restricted pointer.
1224|   // Also check for declarations in for loops.
1225|   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
1226|     continue;
1227|   return 0;
1228| }
1229|
1230| // Check varargs and va_copy.
1231| static bool
1232| test_varargs (const char *format, ...)
1233| {
1234|   va_list args;
1235|   va_start (args, format);
1236|   va_list args_copy;
1237|   va_copy (args_copy, args);
1238|
1239|   const char *str = "";
1240|   int number = 0;
1241|   float fnumber = 0;
1242|
1243|   while (*format)
1244|     {
1245|       switch (*format++)
1246|       {
1247|       case 's': // string
1248|         str = va_arg (args_copy, const char *);
1249|         break;
1250|       case 'd': // int
1251|         number = va_arg (args_copy, int);
1252|         break;
1253|       case 'f': // float
1254|         fnumber = va_arg (args_copy, double);
1255|         break;
1256|       default:
1257|         break;
1258|       }
1259|     }
1260|   va_end (args_copy);
1261|   va_end (args);
1262|
1263|   return *str && number && fnumber;
1264| }
1265|
1266|
1267| int
1268| main (int argc, char **argv)
1269| {
1270|   int ok = 0;
1271|   
1272| ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
1273|
1274|   
1275|   // Check bool.
1276|   _Bool success = false;
1277|   success |= (argc != 0);
1278|
1279|   // Check restrict.
1280|   if (test_restrict ("String literal") == 0)
1281|     success = true;
1282|   char *restrict newvar = "Another string";
1283|
1284|   // Check varargs.
1285|   success &= test_varargs ("s, d' f .", "string", 65, 34.234);
1286|   test_varargs_macros ();
1287|
1288|   // Check flexible array members.
1289|   struct incomplete_array *ia =
1290|     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
1291|   ia->datasize = 10;
1292|   for (int i = 0; i < ia->datasize; ++i)
1293|     ia->data[i] = i * 1.234;
1294|
1295|   // Check named initializers.
1296|   struct named_init ni = {
1297|     .number = 34,
1298|     .name = L"Test wide string",
1299|     .average = 543.34343,
1300|   };
1301|
1302|   ni.number = 58;
1303|
1304|   int dynamic_array[ni.number];
1305|   dynamic_array[0] = argv[0][0];
1306|   dynamic_array[ni.number - 1] = 543;
1307|
1308|   // work around unused variable warnings
1309|   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
1310|        || dynamic_array[ni.number - 1] != 543);
1311|
1312|   return ok;
1313| }
1314|
1315configure:4659: /usr/bin/clang -std=c99 -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
1316conftest.c:63:3: error: "Compiler does not advertise C99 conformance"
1317# error "Compiler does not advertise C99 conformance"
1318  ^
1319conftest.c:118:29: error: expected ')'
1320test_restrict (ccp restrict text)
1321                            ^
1322conftest.c:118:15: note: to match this '('
1323test_restrict (ccp restrict text)
1324              ^
1325conftest.c:123:8: warning: GCC does not allow variable declarations in for loop initializers before C99 [-Wgcc-compat]
1326  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
1327       ^
1328conftest.c:123:30: error: use of undeclared identifier 'text'; did you mean 'test'?
1329  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
1330                             ^~~~
1331                             test
1332conftest.c:55:5: note: 'test' declared here
1333int test (int i, double x);
1334    ^
1335conftest.c:123:41: warning: comparing a pointer to a null character constant; did you mean to compare to NULL? [-Wpointer-compare]
1336  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
1337                                        ^~~~
1338                                        (void *)0
1339conftest.c:180:17: error: expected ';' at end of declaration
1340  char *restrict newvar = "Another string";
1341                ^
1342                ;
1343conftest.c:190:8: warning: GCC does not allow variable declarations in for loop initializers before C99 [-Wgcc-compat]
1344  for (int i = 0; i < ia->datasize; ++i)
1345       ^
1346conftest.c:207:58: error: use of undeclared identifier 'newvar'
1347  ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
1348                                                         ^
13493 warnings and 5 errors generated.
1350configure:4659: $? = 1
1351configure: failed program was:
1352| /* confdefs.h */
1353| #define PACKAGE_NAME "MiniDLNA"
1354| #define PACKAGE_TARNAME "minidlna"
1355| #define PACKAGE_VERSION "1.1.3"
1356| #define PACKAGE_STRING "MiniDLNA 1.1.3"
1357| #define PACKAGE_BUGREPORT ""
1358| #define PACKAGE_URL ""
1359| #define PACKAGE "minidlna"
1360| #define VERSION "1.1.3"
1361| /* end confdefs.h.  */
1362|
1363| /* Does the compiler advertise C89 conformance?
1364|    Do not test the value of __STDC__, because some compilers set it to 0
1365|    while being otherwise adequately conformant. */
1366| #if !defined __STDC__
1367| # error "Compiler does not advertise C89 conformance"
1368| #endif
1369|
1370| #include <stddef.h>
1371| #include <stdarg.h>
1372| struct stat;
1373| /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
1374| struct buf { int x; };
1375| struct buf * (*rcsopen) (struct buf *, struct stat *, int);
1376| static char *e (p, i)
1377|      char **p;
1378|      int i;
1379| {
1380|   return p[i];
1381| }
1382| static char *f (char * (*g) (char **, int), char **p, ...)
1383| {
1384|   char *s;
1385|   va_list v;
1386|   va_start (v,p);
1387|   s = g (p, va_arg (v,int));
1388|   va_end (v);
1389|   return s;
1390| }
1391|
1392| /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
1393|    function prototypes and stuff, but not \xHH hex character constants.
1394|    These do not provoke an error unfortunately, instead are silently treated
1395|    as an "x".  The following induces an error, until -std is added to get
1396|    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
1397|    array size at least.  It is necessary to write \x00 == 0 to get something
1398|    that is true only with -std.  */
1399| int osf4_cc_array ['\x00' == 0 ? 1 : -1];
1400|
1401| /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
1402|    inside strings and character constants.  */
1403| #define FOO(x) 'x'
1404| int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
1405|
1406| int test (int i, double x);
1407| struct s1 {int (*f) (int a);};
1408| struct s2 {int (*f) (double a);};
1409| int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
1410|                int, int);
1411|
1412| // Does the compiler advertise C99 conformance?
1413| #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
1414| # error "Compiler does not advertise C99 conformance"
1415| #endif
1416|
1417| #include <stdbool.h>
1418| extern int puts (const char *);
1419| extern int printf (const char *, ...);
1420| extern int dprintf (int, const char *, ...);
1421| extern void *malloc (size_t);
1422|
1423| // Check varargs macros.  These examples are taken from C99 6.10.3.5.
1424| // dprintf is used instead of fprintf to avoid needing to declare
1425| // FILE and stderr.
1426| #define debug(...) dprintf (2, __VA_ARGS__)
1427| #define showlist(...) puts (#__VA_ARGS__)
1428| #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
1429| static void
1430| test_varargs_macros (void)
1431| {
1432|   int x = 1234;
1433|   int y = 5678;
1434|   debug ("Flag");
1435|   debug ("X = %d\n", x);
1436|   showlist (The first, second, and third items.);
1437|   report (x>y, "x is %d but y is %d", x, y);
1438| }
1439|
1440| // Check long long types.
1441| #define BIG64 18446744073709551615ull
1442| #define BIG32 4294967295ul
1443| #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
1444| #if !BIG_OK
1445|   #error "your preprocessor is broken"
1446| #endif
1447| #if BIG_OK
1448| #else
1449|   #error "your preprocessor is broken"
1450| #endif
1451| static long long int bignum = -9223372036854775807LL;
1452| static unsigned long long int ubignum = BIG64;
1453|
1454| struct incomplete_array
1455| {
1456|   int datasize;
1457|   double data[];
1458| };
1459|
1460| struct named_init {
1461|   int number;
1462|   const wchar_t *name;
1463|   double average;
1464| };
1465|
1466| typedef const char *ccp;
1467|
1468| static inline int
1469| test_restrict (ccp restrict text)
1470| {
1471|   // See if C++-style comments work.
1472|   // Iterate through items via the restricted pointer.
1473|   // Also check for declarations in for loops.
1474|   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
1475|     continue;
1476|   return 0;
1477| }
1478|
1479| // Check varargs and va_copy.
1480| static bool
1481| test_varargs (const char *format, ...)
1482| {
1483|   va_list args;
1484|   va_start (args, format);
1485|   va_list args_copy;
1486|   va_copy (args_copy, args);
1487|
1488|   const char *str = "";
1489|   int number = 0;
1490|   float fnumber = 0;
1491|
1492|   while (*format)
1493|     {
1494|       switch (*format++)
1495|       {
1496|       case 's': // string
1497|         str = va_arg (args_copy, const char *);
1498|         break;
1499|       case 'd': // int
1500|         number = va_arg (args_copy, int);
1501|         break;
1502|       case 'f': // float
1503|         fnumber = va_arg (args_copy, double);
1504|         break;
1505|       default:
1506|         break;
1507|       }
1508|     }
1509|   va_end (args_copy);
1510|   va_end (args);
1511|
1512|   return *str && number && fnumber;
1513| }
1514|
1515|
1516| int
1517| main (int argc, char **argv)
1518| {
1519|   int ok = 0;
1520|   
1521| ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
1522|
1523|   
1524|   // Check bool.
1525|   _Bool success = false;
1526|   success |= (argc != 0);
1527|
1528|   // Check restrict.
1529|   if (test_restrict ("String literal") == 0)
1530|     success = true;
1531|   char *restrict newvar = "Another string";
1532|
1533|   // Check varargs.
1534|   success &= test_varargs ("s, d' f .", "string", 65, 34.234);
1535|   test_varargs_macros ();
1536|
1537|   // Check flexible array members.
1538|   struct incomplete_array *ia =
1539|     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
1540|   ia->datasize = 10;
1541|   for (int i = 0; i < ia->datasize; ++i)
1542|     ia->data[i] = i * 1.234;
1543|
1544|   // Check named initializers.
1545|   struct named_init ni = {
1546|     .number = 34,
1547|     .name = L"Test wide string",
1548|     .average = 543.34343,
1549|   };
1550|
1551|   ni.number = 58;
1552|
1553|   int dynamic_array[ni.number];
1554|   dynamic_array[0] = argv[0][0];
1555|   dynamic_array[ni.number - 1] = 543;
1556|
1557|   // work around unused variable warnings
1558|   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
1559|        || dynamic_array[ni.number - 1] != 543);
1560|
1561|   return ok;
1562| }
1563|
1564configure:4659: /usr/bin/clang -c99 -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
1565clang: error: unknown argument: '-c99'
1566configure:4659: $? = 1
1567configure: failed program was:
1568| /* confdefs.h */
1569| #define PACKAGE_NAME "MiniDLNA"
1570| #define PACKAGE_TARNAME "minidlna"
1571| #define PACKAGE_VERSION "1.1.3"
1572| #define PACKAGE_STRING "MiniDLNA 1.1.3"
1573| #define PACKAGE_BUGREPORT ""
1574| #define PACKAGE_URL ""
1575| #define PACKAGE "minidlna"
1576| #define VERSION "1.1.3"
1577| /* end confdefs.h.  */
1578|
1579| /* Does the compiler advertise C89 conformance?
1580|    Do not test the value of __STDC__, because some compilers set it to 0
1581|    while being otherwise adequately conformant. */
1582| #if !defined __STDC__
1583| # error "Compiler does not advertise C89 conformance"
1584| #endif
1585|
1586| #include <stddef.h>
1587| #include <stdarg.h>
1588| struct stat;
1589| /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
1590| struct buf { int x; };
1591| struct buf * (*rcsopen) (struct buf *, struct stat *, int);
1592| static char *e (p, i)
1593|      char **p;
1594|      int i;
1595| {
1596|   return p[i];
1597| }
1598| static char *f (char * (*g) (char **, int), char **p, ...)
1599| {
1600|   char *s;
1601|   va_list v;
1602|   va_start (v,p);
1603|   s = g (p, va_arg (v,int));
1604|   va_end (v);
1605|   return s;
1606| }
1607|
1608| /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
1609|    function prototypes and stuff, but not \xHH hex character constants.
1610|    These do not provoke an error unfortunately, instead are silently treated
1611|    as an "x".  The following induces an error, until -std is added to get
1612|    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
1613|    array size at least.  It is necessary to write \x00 == 0 to get something
1614|    that is true only with -std.  */
1615| int osf4_cc_array ['\x00' == 0 ? 1 : -1];
1616|
1617| /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
1618|    inside strings and character constants.  */
1619| #define FOO(x) 'x'
1620| int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
1621|
1622| int test (int i, double x);
1623| struct s1 {int (*f) (int a);};
1624| struct s2 {int (*f) (double a);};
1625| int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
1626|                int, int);
1627|
1628| // Does the compiler advertise C99 conformance?
1629| #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
1630| # error "Compiler does not advertise C99 conformance"
1631| #endif
1632|
1633| #include <stdbool.h>
1634| extern int puts (const char *);
1635| extern int printf (const char *, ...);
1636| extern int dprintf (int, const char *, ...);
1637| extern void *malloc (size_t);
1638|
1639| // Check varargs macros.  These examples are taken from C99 6.10.3.5.
1640| // dprintf is used instead of fprintf to avoid needing to declare
1641| // FILE and stderr.
1642| #define debug(...) dprintf (2, __VA_ARGS__)
1643| #define showlist(...) puts (#__VA_ARGS__)
1644| #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
1645| static void
1646| test_varargs_macros (void)
1647| {
1648|   int x = 1234;
1649|   int y = 5678;
1650|   debug ("Flag");
1651|   debug ("X = %d\n", x);
1652|   showlist (The first, second, and third items.);
1653|   report (x>y, "x is %d but y is %d", x, y);
1654| }
1655|
1656| // Check long long types.
1657| #define BIG64 18446744073709551615ull
1658| #define BIG32 4294967295ul
1659| #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
1660| #if !BIG_OK
1661|   #error "your preprocessor is broken"
1662| #endif
1663| #if BIG_OK
1664| #else
1665|   #error "your preprocessor is broken"
1666| #endif
1667| static long long int bignum = -9223372036854775807LL;
1668| static unsigned long long int ubignum = BIG64;
1669|
1670| struct incomplete_array
1671| {
1672|   int datasize;
1673|   double data[];
1674| };
1675|
1676| struct named_init {
1677|   int number;
1678|   const wchar_t *name;
1679|   double average;
1680| };
1681|
1682| typedef const char *ccp;
1683|
1684| static inline int
1685| test_restrict (ccp restrict text)
1686| {
1687|   // See if C++-style comments work.
1688|   // Iterate through items via the restricted pointer.
1689|   // Also check for declarations in for loops.
1690|   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
1691|     continue;
1692|   return 0;
1693| }
1694|
1695| // Check varargs and va_copy.
1696| static bool
1697| test_varargs (const char *format, ...)
1698| {
1699|   va_list args;
1700|   va_start (args, format);
1701|   va_list args_copy;
1702|   va_copy (args_copy, args);
1703|
1704|   const char *str = "";
1705|   int number = 0;
1706|   float fnumber = 0;
1707|
1708|   while (*format)
1709|     {
1710|       switch (*format++)
1711|       {
1712|       case 's': // string
1713|         str = va_arg (args_copy, const char *);
1714|         break;
1715|       case 'd': // int
1716|         number = va_arg (args_copy, int);
1717|         break;
1718|       case 'f': // float
1719|         fnumber = va_arg (args_copy, double);
1720|         break;
1721|       default:
1722|         break;
1723|       }
1724|     }
1725|   va_end (args_copy);
1726|   va_end (args);
1727|
1728|   return *str && number && fnumber;
1729| }
1730|
1731|
1732| int
1733| main (int argc, char **argv)
1734| {
1735|   int ok = 0;
1736|   
1737| ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
1738|
1739|   
1740|   // Check bool.
1741|   _Bool success = false;
1742|   success |= (argc != 0);
1743|
1744|   // Check restrict.
1745|   if (test_restrict ("String literal") == 0)
1746|     success = true;
1747|   char *restrict newvar = "Another string";
1748|
1749|   // Check varargs.
1750|   success &= test_varargs ("s, d' f .", "string", 65, 34.234);
1751|   test_varargs_macros ();
1752|
1753|   // Check flexible array members.
1754|   struct incomplete_array *ia =
1755|     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
1756|   ia->datasize = 10;
1757|   for (int i = 0; i < ia->datasize; ++i)
1758|     ia->data[i] = i * 1.234;
1759|
1760|   // Check named initializers.
1761|   struct named_init ni = {
1762|     .number = 34,
1763|     .name = L"Test wide string",
1764|     .average = 543.34343,
1765|   };
1766|
1767|   ni.number = 58;
1768|
1769|   int dynamic_array[ni.number];
1770|   dynamic_array[0] = argv[0][0];
1771|   dynamic_array[ni.number - 1] = 543;
1772|
1773|   // work around unused variable warnings
1774|   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
1775|        || dynamic_array[ni.number - 1] != 543);
1776|
1777|   return ok;
1778| }
1779|
1780configure:4659: /usr/bin/clang -qlanglvl=extc1x -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
1781clang: error: unknown argument: '-qlanglvl=extc1x'
1782configure:4659: $? = 1
1783configure: failed program was:
1784| /* confdefs.h */
1785| #define PACKAGE_NAME "MiniDLNA"
1786| #define PACKAGE_TARNAME "minidlna"
1787| #define PACKAGE_VERSION "1.1.3"
1788| #define PACKAGE_STRING "MiniDLNA 1.1.3"
1789| #define PACKAGE_BUGREPORT ""
1790| #define PACKAGE_URL ""
1791| #define PACKAGE "minidlna"
1792| #define VERSION "1.1.3"
1793| /* end confdefs.h.  */
1794|
1795| /* Does the compiler advertise C89 conformance?
1796|    Do not test the value of __STDC__, because some compilers set it to 0
1797|    while being otherwise adequately conformant. */
1798| #if !defined __STDC__
1799| # error "Compiler does not advertise C89 conformance"
1800| #endif
1801|
1802| #include <stddef.h>
1803| #include <stdarg.h>
1804| struct stat;
1805| /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
1806| struct buf { int x; };
1807| struct buf * (*rcsopen) (struct buf *, struct stat *, int);
1808| static char *e (p, i)
1809|      char **p;
1810|      int i;
1811| {
1812|   return p[i];
1813| }
1814| static char *f (char * (*g) (char **, int), char **p, ...)
1815| {
1816|   char *s;
1817|   va_list v;
1818|   va_start (v,p);
1819|   s = g (p, va_arg (v,int));
1820|   va_end (v);
1821|   return s;
1822| }
1823|
1824| /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
1825|    function prototypes and stuff, but not \xHH hex character constants.
1826|    These do not provoke an error unfortunately, instead are silently treated
1827|    as an "x".  The following induces an error, until -std is added to get
1828|    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
1829|    array size at least.  It is necessary to write \x00 == 0 to get something
1830|    that is true only with -std.  */
1831| int osf4_cc_array ['\x00' == 0 ? 1 : -1];
1832|
1833| /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
1834|    inside strings and character constants.  */
1835| #define FOO(x) 'x'
1836| int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
1837|
1838| int test (int i, double x);
1839| struct s1 {int (*f) (int a);};
1840| struct s2 {int (*f) (double a);};
1841| int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
1842|                int, int);
1843|
1844| // Does the compiler advertise C99 conformance?
1845| #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
1846| # error "Compiler does not advertise C99 conformance"
1847| #endif
1848|
1849| #include <stdbool.h>
1850| extern int puts (const char *);
1851| extern int printf (const char *, ...);
1852| extern int dprintf (int, const char *, ...);
1853| extern void *malloc (size_t);
1854|
1855| // Check varargs macros.  These examples are taken from C99 6.10.3.5.
1856| // dprintf is used instead of fprintf to avoid needing to declare
1857| // FILE and stderr.
1858| #define debug(...) dprintf (2, __VA_ARGS__)
1859| #define showlist(...) puts (#__VA_ARGS__)
1860| #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
1861| static void
1862| test_varargs_macros (void)
1863| {
1864|   int x = 1234;
1865|   int y = 5678;
1866|   debug ("Flag");
1867|   debug ("X = %d\n", x);
1868|   showlist (The first, second, and third items.);
1869|   report (x>y, "x is %d but y is %d", x, y);
1870| }
1871|
1872| // Check long long types.
1873| #define BIG64 18446744073709551615ull
1874| #define BIG32 4294967295ul
1875| #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
1876| #if !BIG_OK
1877|   #error "your preprocessor is broken"
1878| #endif
1879| #if BIG_OK
1880| #else
1881|   #error "your preprocessor is broken"
1882| #endif
1883| static long long int bignum = -9223372036854775807LL;
1884| static unsigned long long int ubignum = BIG64;
1885|
1886| struct incomplete_array
1887| {
1888|   int datasize;
1889|   double data[];
1890| };
1891|
1892| struct named_init {
1893|   int number;
1894|   const wchar_t *name;
1895|   double average;
1896| };
1897|
1898| typedef const char *ccp;
1899|
1900| static inline int
1901| test_restrict (ccp restrict text)
1902| {
1903|   // See if C++-style comments work.
1904|   // Iterate through items via the restricted pointer.
1905|   // Also check for declarations in for loops.
1906|   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
1907|     continue;
1908|   return 0;
1909| }
1910|
1911| // Check varargs and va_copy.
1912| static bool
1913| test_varargs (const char *format, ...)
1914| {
1915|   va_list args;
1916|   va_start (args, format);
1917|   va_list args_copy;
1918|   va_copy (args_copy, args);
1919|
1920|   const char *str = "";
1921|   int number = 0;
1922|   float fnumber = 0;
1923|
1924|   while (*format)
1925|     {
1926|       switch (*format++)
1927|       {
1928|       case 's': // string
1929|         str = va_arg (args_copy, const char *);
1930|         break;
1931|       case 'd': // int
1932|         number = va_arg (args_copy, int);
1933|         break;
1934|       case 'f': // float
1935|         fnumber = va_arg (args_copy, double);
1936|         break;
1937|       default:
1938|         break;
1939|       }
1940|     }
1941|   va_end (args_copy);
1942|   va_end (args);
1943|
1944|   return *str && number && fnumber;
1945| }
1946|
1947|
1948| int
1949| main (int argc, char **argv)
1950| {
1951|   int ok = 0;
1952|   
1953| ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
1954|
1955|   
1956|   // Check bool.
1957|   _Bool success = false;
1958|   success |= (argc != 0);
1959|
1960|   // Check restrict.
1961|   if (test_restrict ("String literal") == 0)
1962|     success = true;
1963|   char *restrict newvar = "Another string";
1964|
1965|   // Check varargs.
1966|   success &= test_varargs ("s, d' f .", "string", 65, 34.234);
1967|   test_varargs_macros ();
1968|
1969|   // Check flexible array members.
1970|   struct incomplete_array *ia =
1971|     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
1972|   ia->datasize = 10;
1973|   for (int i = 0; i < ia->datasize; ++i)
1974|     ia->data[i] = i * 1.234;
1975|
1976|   // Check named initializers.
1977|   struct named_init ni = {
1978|     .number = 34,
1979|     .name = L"Test wide string",
1980|     .average = 543.34343,
1981|   };
1982|
1983|   ni.number = 58;
1984|
1985|   int dynamic_array[ni.number];
1986|   dynamic_array[0] = argv[0][0];
1987|   dynamic_array[ni.number - 1] = 543;
1988|
1989|   // work around unused variable warnings
1990|   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
1991|        || dynamic_array[ni.number - 1] != 543);
1992|
1993|   return ok;
1994| }
1995|
1996configure:4659: /usr/bin/clang -qlanglvl=extc99 -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
1997clang: error: unknown argument: '-qlanglvl=extc99'
1998configure:4659: $? = 1
1999configure: failed program was:
2000| /* confdefs.h */
2001| #define PACKAGE_NAME "MiniDLNA"
2002| #define PACKAGE_TARNAME "minidlna"
2003| #define PACKAGE_VERSION "1.1.3"
2004| #define PACKAGE_STRING "MiniDLNA 1.1.3"
2005| #define PACKAGE_BUGREPORT ""
2006| #define PACKAGE_URL ""
2007| #define PACKAGE "minidlna"
2008| #define VERSION "1.1.3"
2009| /* end confdefs.h.  */
2010|
2011| /* Does the compiler advertise C89 conformance?
2012|    Do not test the value of __STDC__, because some compilers set it to 0
2013|    while being otherwise adequately conformant. */
2014| #if !defined __STDC__
2015| # error "Compiler does not advertise C89 conformance"
2016| #endif
2017|
2018| #include <stddef.h>
2019| #include <stdarg.h>
2020| struct stat;
2021| /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
2022| struct buf { int x; };
2023| struct buf * (*rcsopen) (struct buf *, struct stat *, int);
2024| static char *e (p, i)
2025|      char **p;
2026|      int i;
2027| {
2028|   return p[i];
2029| }
2030| static char *f (char * (*g) (char **, int), char **p, ...)
2031| {
2032|   char *s;
2033|   va_list v;
2034|   va_start (v,p);
2035|   s = g (p, va_arg (v,int));
2036|   va_end (v);
2037|   return s;
2038| }
2039|
2040| /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2041|    function prototypes and stuff, but not \xHH hex character constants.
2042|    These do not provoke an error unfortunately, instead are silently treated
2043|    as an "x".  The following induces an error, until -std is added to get
2044|    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
2045|    array size at least.  It is necessary to write \x00 == 0 to get something
2046|    that is true only with -std.  */
2047| int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2048|
2049| /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2050|    inside strings and character constants.  */
2051| #define FOO(x) 'x'
2052| int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2053|
2054| int test (int i, double x);
2055| struct s1 {int (*f) (int a);};
2056| struct s2 {int (*f) (double a);};
2057| int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
2058|                int, int);
2059|
2060| // Does the compiler advertise C99 conformance?
2061| #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
2062| # error "Compiler does not advertise C99 conformance"
2063| #endif
2064|
2065| #include <stdbool.h>
2066| extern int puts (const char *);
2067| extern int printf (const char *, ...);
2068| extern int dprintf (int, const char *, ...);
2069| extern void *malloc (size_t);
2070|
2071| // Check varargs macros.  These examples are taken from C99 6.10.3.5.
2072| // dprintf is used instead of fprintf to avoid needing to declare
2073| // FILE and stderr.
2074| #define debug(...) dprintf (2, __VA_ARGS__)
2075| #define showlist(...) puts (#__VA_ARGS__)
2076| #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
2077| static void
2078| test_varargs_macros (void)
2079| {
2080|   int x = 1234;
2081|   int y = 5678;
2082|   debug ("Flag");
2083|   debug ("X = %d\n", x);
2084|   showlist (The first, second, and third items.);
2085|   report (x>y, "x is %d but y is %d", x, y);
2086| }
2087|
2088| // Check long long types.
2089| #define BIG64 18446744073709551615ull
2090| #define BIG32 4294967295ul
2091| #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
2092| #if !BIG_OK
2093|   #error "your preprocessor is broken"
2094| #endif
2095| #if BIG_OK
2096| #else
2097|   #error "your preprocessor is broken"
2098| #endif
2099| static long long int bignum = -9223372036854775807LL;
2100| static unsigned long long int ubignum = BIG64;
2101|
2102| struct incomplete_array
2103| {
2104|   int datasize;
2105|   double data[];
2106| };
2107|
2108| struct named_init {
2109|   int number;
2110|   const wchar_t *name;
2111|   double average;
2112| };
2113|
2114| typedef const char *ccp;
2115|
2116| static inline int
2117| test_restrict (ccp restrict text)
2118| {
2119|   // See if C++-style comments work.
2120|   // Iterate through items via the restricted pointer.
2121|   // Also check for declarations in for loops.
2122|   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
2123|     continue;
2124|   return 0;
2125| }
2126|
2127| // Check varargs and va_copy.
2128| static bool
2129| test_varargs (const char *format, ...)
2130| {
2131|   va_list args;
2132|   va_start (args, format);
2133|   va_list args_copy;
2134|   va_copy (args_copy, args);
2135|
2136|   const char *str = "";
2137|   int number = 0;
2138|   float fnumber = 0;
2139|
2140|   while (*format)
2141|     {
2142|       switch (*format++)
2143|       {
2144|       case 's': // string
2145|         str = va_arg (args_copy, const char *);
2146|         break;
2147|       case 'd': // int
2148|         number = va_arg (args_copy, int);
2149|         break;
2150|       case 'f': // float
2151|         fnumber = va_arg (args_copy, double);
2152|         break;
2153|       default:
2154|         break;
2155|       }
2156|     }
2157|   va_end (args_copy);
2158|   va_end (args);
2159|
2160|   return *str && number && fnumber;
2161| }
2162|
2163|
2164| int
2165| main (int argc, char **argv)
2166| {
2167|   int ok = 0;
2168|   
2169| ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
2170|
2171|   
2172|   // Check bool.
2173|   _Bool success = false;
2174|   success |= (argc != 0);
2175|
2176|   // Check restrict.
2177|   if (test_restrict ("String literal") == 0)
2178|     success = true;
2179|   char *restrict newvar = "Another string";
2180|
2181|   // Check varargs.
2182|   success &= test_varargs ("s, d' f .", "string", 65, 34.234);
2183|   test_varargs_macros ();
2184|
2185|   // Check flexible array members.
2186|   struct incomplete_array *ia =
2187|     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
2188|   ia->datasize = 10;
2189|   for (int i = 0; i < ia->datasize; ++i)
2190|     ia->data[i] = i * 1.234;
2191|
2192|   // Check named initializers.
2193|   struct named_init ni = {
2194|     .number = 34,
2195|     .name = L"Test wide string",
2196|     .average = 543.34343,
2197|   };
2198|
2199|   ni.number = 58;
2200|
2201|   int dynamic_array[ni.number];
2202|   dynamic_array[0] = argv[0][0];
2203|   dynamic_array[ni.number - 1] = 543;
2204|
2205|   // work around unused variable warnings
2206|   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
2207|        || dynamic_array[ni.number - 1] != 543);
2208|
2209|   return ok;
2210| }
2211|
2212configure:4659: /usr/bin/clang -AC99 -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
2213clang: warning: argument unused during compilation: '-AC99' [-Wunused-command-line-argument]
2214conftest.c:63:3: error: "Compiler does not advertise C99 conformance"
2215# error "Compiler does not advertise C99 conformance"
2216  ^
2217conftest.c:118:29: error: expected ')'
2218test_restrict (ccp restrict text)
2219                            ^
2220conftest.c:118:15: note: to match this '('
2221test_restrict (ccp restrict text)
2222              ^
2223conftest.c:123:8: warning: GCC does not allow variable declarations in for loop initializers before C99 [-Wgcc-compat]
2224  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
2225       ^
2226conftest.c:123:30: error: use of undeclared identifier 'text'; did you mean 'test'?
2227  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
2228                             ^~~~
2229                             test
2230conftest.c:55:5: note: 'test' declared here
2231int test (int i, double x);
2232    ^
2233conftest.c:123:41: warning: comparing a pointer to a null character constant; did you mean to compare to NULL? [-Wpointer-compare]
2234  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
2235                                        ^~~~
2236                                        (void *)0
2237conftest.c:180:17: error: expected ';' at end of declaration
2238  char *restrict newvar = "Another string";
2239                ^
2240                ;
2241conftest.c:190:8: warning: GCC does not allow variable declarations in for loop initializers before C99 [-Wgcc-compat]
2242  for (int i = 0; i < ia->datasize; ++i)
2243       ^
2244conftest.c:207:58: error: use of undeclared identifier 'newvar'
2245  ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
2246                                                         ^
22473 warnings and 5 errors generated.
2248configure:4659: $? = 1
2249configure: failed program was:
2250| /* confdefs.h */
2251| #define PACKAGE_NAME "MiniDLNA"
2252| #define PACKAGE_TARNAME "minidlna"
2253| #define PACKAGE_VERSION "1.1.3"
2254| #define PACKAGE_STRING "MiniDLNA 1.1.3"
2255| #define PACKAGE_BUGREPORT ""
2256| #define PACKAGE_URL ""
2257| #define PACKAGE "minidlna"
2258| #define VERSION "1.1.3"
2259| /* end confdefs.h.  */
2260|
2261| /* Does the compiler advertise C89 conformance?
2262|    Do not test the value of __STDC__, because some compilers set it to 0
2263|    while being otherwise adequately conformant. */
2264| #if !defined __STDC__
2265| # error "Compiler does not advertise C89 conformance"
2266| #endif
2267|
2268| #include <stddef.h>
2269| #include <stdarg.h>
2270| struct stat;
2271| /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
2272| struct buf { int x; };
2273| struct buf * (*rcsopen) (struct buf *, struct stat *, int);
2274| static char *e (p, i)
2275|      char **p;
2276|      int i;
2277| {
2278|   return p[i];
2279| }
2280| static char *f (char * (*g) (char **, int), char **p, ...)
2281| {
2282|   char *s;
2283|   va_list v;
2284|   va_start (v,p);
2285|   s = g (p, va_arg (v,int));
2286|   va_end (v);
2287|   return s;
2288| }
2289|
2290| /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2291|    function prototypes and stuff, but not \xHH hex character constants.
2292|    These do not provoke an error unfortunately, instead are silently treated
2293|    as an "x".  The following induces an error, until -std is added to get
2294|    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
2295|    array size at least.  It is necessary to write \x00 == 0 to get something
2296|    that is true only with -std.  */
2297| int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2298|
2299| /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2300|    inside strings and character constants.  */
2301| #define FOO(x) 'x'
2302| int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2303|
2304| int test (int i, double x);
2305| struct s1 {int (*f) (int a);};
2306| struct s2 {int (*f) (double a);};
2307| int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
2308|                int, int);
2309|
2310| // Does the compiler advertise C99 conformance?
2311| #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
2312| # error "Compiler does not advertise C99 conformance"
2313| #endif
2314|
2315| #include <stdbool.h>
2316| extern int puts (const char *);
2317| extern int printf (const char *, ...);
2318| extern int dprintf (int, const char *, ...);
2319| extern void *malloc (size_t);
2320|
2321| // Check varargs macros.  These examples are taken from C99 6.10.3.5.
2322| // dprintf is used instead of fprintf to avoid needing to declare
2323| // FILE and stderr.
2324| #define debug(...) dprintf (2, __VA_ARGS__)
2325| #define showlist(...) puts (#__VA_ARGS__)
2326| #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
2327| static void
2328| test_varargs_macros (void)
2329| {
2330|   int x = 1234;
2331|   int y = 5678;
2332|   debug ("Flag");
2333|   debug ("X = %d\n", x);
2334|   showlist (The first, second, and third items.);
2335|   report (x>y, "x is %d but y is %d", x, y);
2336| }
2337|
2338| // Check long long types.
2339| #define BIG64 18446744073709551615ull
2340| #define BIG32 4294967295ul
2341| #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
2342| #if !BIG_OK
2343|   #error "your preprocessor is broken"
2344| #endif
2345| #if BIG_OK
2346| #else
2347|   #error "your preprocessor is broken"
2348| #endif
2349| static long long int bignum = -9223372036854775807LL;
2350| static unsigned long long int ubignum = BIG64;
2351|
2352| struct incomplete_array
2353| {
2354|   int datasize;
2355|   double data[];
2356| };
2357|
2358| struct named_init {
2359|   int number;
2360|   const wchar_t *name;
2361|   double average;
2362| };
2363|
2364| typedef const char *ccp;
2365|
2366| static inline int
2367| test_restrict (ccp restrict text)
2368| {
2369|   // See if C++-style comments work.
2370|   // Iterate through items via the restricted pointer.
2371|   // Also check for declarations in for loops.
2372|   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
2373|     continue;
2374|   return 0;
2375| }
2376|
2377| // Check varargs and va_copy.
2378| static bool
2379| test_varargs (const char *format, ...)
2380| {
2381|   va_list args;
2382|   va_start (args, format);
2383|   va_list args_copy;
2384|   va_copy (args_copy, args);
2385|
2386|   const char *str = "";
2387|   int number = 0;
2388|   float fnumber = 0;
2389|
2390|   while (*format)
2391|     {
2392|       switch (*format++)
2393|       {
2394|       case 's': // string
2395|         str = va_arg (args_copy, const char *);
2396|         break;
2397|       case 'd': // int
2398|         number = va_arg (args_copy, int);
2399|         break;
2400|       case 'f': // float
2401|         fnumber = va_arg (args_copy, double);
2402|         break;
2403|       default:
2404|         break;
2405|       }
2406|     }
2407|   va_end (args_copy);
2408|   va_end (args);
2409|
2410|   return *str && number && fnumber;
2411| }
2412|
2413|
2414| int
2415| main (int argc, char **argv)
2416| {
2417|   int ok = 0;
2418|   
2419| ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
2420|
2421|   
2422|   // Check bool.
2423|   _Bool success = false;
2424|   success |= (argc != 0);
2425|
2426|   // Check restrict.
2427|   if (test_restrict ("String literal") == 0)
2428|     success = true;
2429|   char *restrict newvar = "Another string";
2430|
2431|   // Check varargs.
2432|   success &= test_varargs ("s, d' f .", "string", 65, 34.234);
2433|   test_varargs_macros ();
2434|
2435|   // Check flexible array members.
2436|   struct incomplete_array *ia =
2437|     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
2438|   ia->datasize = 10;
2439|   for (int i = 0; i < ia->datasize; ++i)
2440|     ia->data[i] = i * 1.234;
2441|
2442|   // Check named initializers.
2443|   struct named_init ni = {
2444|     .number = 34,
2445|     .name = L"Test wide string",
2446|     .average = 543.34343,
2447|   };
2448|
2449|   ni.number = 58;
2450|
2451|   int dynamic_array[ni.number];
2452|   dynamic_array[0] = argv[0][0];
2453|   dynamic_array[ni.number - 1] = 543;
2454|
2455|   // work around unused variable warnings
2456|   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
2457|        || dynamic_array[ni.number - 1] != 543);
2458|
2459|   return ok;
2460| }
2461|
2462configure:4659: /usr/bin/clang -D_STDC_C99= -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
2463conftest.c:63:3: error: "Compiler does not advertise C99 conformance"
2464# error "Compiler does not advertise C99 conformance"
2465  ^
2466conftest.c:118:29: error: expected ')'
2467test_restrict (ccp restrict text)
2468                            ^
2469conftest.c:118:15: note: to match this '('
2470test_restrict (ccp restrict text)
2471              ^
2472conftest.c:123:8: warning: GCC does not allow variable declarations in for loop initializers before C99 [-Wgcc-compat]
2473  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
2474       ^
2475conftest.c:123:30: error: use of undeclared identifier 'text'; did you mean 'test'?
2476  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
2477                             ^~~~
2478                             test
2479conftest.c:55:5: note: 'test' declared here
2480int test (int i, double x);
2481    ^
2482conftest.c:123:41: warning: comparing a pointer to a null character constant; did you mean to compare to NULL? [-Wpointer-compare]
2483  for (unsigned int i = 0; *(text+i) != '\0'; ++i)
2484                                        ^~~~
2485                                        (void *)0
2486conftest.c:180:17: error: expected ';' at end of declaration
2487  char *restrict newvar = "Another string";
2488                ^
2489                ;
2490conftest.c:190:8: warning: GCC does not allow variable declarations in for loop initializers before C99 [-Wgcc-compat]
2491  for (int i = 0; i < ia->datasize; ++i)
2492       ^
2493conftest.c:207:58: error: use of undeclared identifier 'newvar'
2494  ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
2495                                                         ^
24963 warnings and 5 errors generated.
2497configure:4659: $? = 1
2498configure: failed program was:
2499| /* confdefs.h */
2500| #define PACKAGE_NAME "MiniDLNA"
2501| #define PACKAGE_TARNAME "minidlna"
2502| #define PACKAGE_VERSION "1.1.3"
2503| #define PACKAGE_STRING "MiniDLNA 1.1.3"
2504| #define PACKAGE_BUGREPORT ""
2505| #define PACKAGE_URL ""
2506| #define PACKAGE "minidlna"
2507| #define VERSION "1.1.3"
2508| /* end confdefs.h.  */
2509|
2510| /* Does the compiler advertise C89 conformance?
2511|    Do not test the value of __STDC__, because some compilers set it to 0
2512|    while being otherwise adequately conformant. */
2513| #if !defined __STDC__
2514| # error "Compiler does not advertise C89 conformance"
2515| #endif
2516|
2517| #include <stddef.h>
2518| #include <stdarg.h>
2519| struct stat;
2520| /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
2521| struct buf { int x; };
2522| struct buf * (*rcsopen) (struct buf *, struct stat *, int);
2523| static char *e (p, i)
2524|      char **p;
2525|      int i;
2526| {
2527|   return p[i];
2528| }
2529| static char *f (char * (*g) (char **, int), char **p, ...)
2530| {
2531|   char *s;
2532|   va_list v;
2533|   va_start (v,p);
2534|   s = g (p, va_arg (v,int));
2535|   va_end (v);
2536|   return s;
2537| }
2538|
2539| /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2540|    function prototypes and stuff, but not \xHH hex character constants.
2541|    These do not provoke an error unfortunately, instead are silently treated
2542|    as an "x".  The following induces an error, until -std is added to get
2543|    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
2544|    array size at least.  It is necessary to write \x00 == 0 to get something
2545|    that is true only with -std.  */
2546| int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2547|
2548| /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2549|    inside strings and character constants.  */
2550| #define FOO(x) 'x'
2551| int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2552|
2553| int test (int i, double x);
2554| struct s1 {int (*f) (int a);};
2555| struct s2 {int (*f) (double a);};
2556| int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
2557|                int, int);
2558|
2559| // Does the compiler advertise C99 conformance?
2560| #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
2561| # error "Compiler does not advertise C99 conformance"
2562| #endif
2563|
2564| #include <stdbool.h>
2565| extern int puts (const char *);
2566| extern int printf (const char *, ...);
2567| extern int dprintf (int, const char *, ...);
2568| extern void *malloc (size_t);
2569|
2570| // Check varargs macros.  These examples are taken from C99 6.10.3.5.
2571| // dprintf is used instead of fprintf to avoid needing to declare
2572| // FILE and stderr.
2573| #define debug(...) dprintf (2, __VA_ARGS__)
2574| #define showlist(...) puts (#__VA_ARGS__)
2575| #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
2576| static void
2577| test_varargs_macros (void)
2578| {
2579|   int x = 1234;
2580|   int y = 5678;
2581|   debug ("Flag");
2582|   debug ("X = %d\n", x);
2583|   showlist (The first, second, and third items.);
2584|   report (x>y, "x is %d but y is %d", x, y);
2585| }
2586|
2587| // Check long long types.
2588| #define BIG64 18446744073709551615ull
2589| #define BIG32 4294967295ul
2590| #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
2591| #if !BIG_OK
2592|   #error "your preprocessor is broken"
2593| #endif
2594| #if BIG_OK
2595| #else
2596|   #error "your preprocessor is broken"
2597| #endif
2598| static long long int bignum = -9223372036854775807LL;
2599| static unsigned long long int ubignum = BIG64;
2600|
2601| struct incomplete_array
2602| {
2603|   int datasize;
2604|   double data[];
2605| };
2606|
2607| struct named_init {
2608|   int number;
2609|   const wchar_t *name;
2610|   double average;
2611| };
2612|
2613| typedef const char *ccp;
2614|
2615| static inline int
2616| test_restrict (ccp restrict text)
2617| {
2618|   // See if C++-style comments work.
2619|   // Iterate through items via the restricted pointer.
2620|   // Also check for declarations in for loops.
2621|   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
2622|     continue;
2623|   return 0;
2624| }
2625|
2626| // Check varargs and va_copy.
2627| static bool
2628| test_varargs (const char *format, ...)
2629| {
2630|   va_list args;
2631|   va_start (args, format);
2632|   va_list args_copy;
2633|   va_copy (args_copy, args);
2634|
2635|   const char *str = "";
2636|   int number = 0;
2637|   float fnumber = 0;
2638|
2639|   while (*format)
2640|     {
2641|       switch (*format++)
2642|       {
2643|       case 's': // string
2644|         str = va_arg (args_copy, const char *);
2645|         break;
2646|       case 'd': // int
2647|         number = va_arg (args_copy, int);
2648|         break;
2649|       case 'f': // float
2650|         fnumber = va_arg (args_copy, double);
2651|         break;
2652|       default:
2653|         break;
2654|       }
2655|     }
2656|   va_end (args_copy);
2657|   va_end (args);
2658|
2659|   return *str && number && fnumber;
2660| }
2661|
2662|
2663| int
2664| main (int argc, char **argv)
2665| {
2666|   int ok = 0;
2667|   
2668| ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
2669|
2670|   
2671|   // Check bool.
2672|   _Bool success = false;
2673|   success |= (argc != 0);
2674|
2675|   // Check restrict.
2676|   if (test_restrict ("String literal") == 0)
2677|     success = true;
2678|   char *restrict newvar = "Another string";
2679|
2680|   // Check varargs.
2681|   success &= test_varargs ("s, d' f .", "string", 65, 34.234);
2682|   test_varargs_macros ();
2683|
2684|   // Check flexible array members.
2685|   struct incomplete_array *ia =
2686|     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
2687|   ia->datasize = 10;
2688|   for (int i = 0; i < ia->datasize; ++i)
2689|     ia->data[i] = i * 1.234;
2690|
2691|   // Check named initializers.
2692|   struct named_init ni = {
2693|     .number = 34,
2694|     .name = L"Test wide string",
2695|     .average = 543.34343,
2696|   };
2697|
2698|   ni.number = 58;
2699|
2700|   int dynamic_array[ni.number];
2701|   dynamic_array[0] = argv[0][0];
2702|   dynamic_array[ni.number - 1] = 543;
2703|
2704|   // work around unused variable warnings
2705|   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
2706|        || dynamic_array[ni.number - 1] != 543);
2707|
2708|   return ok;
2709| }
2710|
2711configure:4672: result: unsupported
2712configure:4690: checking for /usr/bin/clang option to enable C89 features
2713configure:4705: /usr/bin/clang  -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
2714configure:4705: $? = 0
2715configure:4723: result: none needed
2716configure:4747: checking whether /usr/bin/clang understands -c and -o together
2717configure:4770: /usr/bin/clang -c conftest.c -o conftest2.o
2718configure:4773: $? = 0
2719configure:4770: /usr/bin/clang -c conftest.c -o conftest2.o
2720configure:4773: $? = 0
2721configure:4785: result: yes
2722configure:4804: checking dependency style of /usr/bin/clang
2723configure:4916: result: gcc3
2724configure:4936: checking for stdio.h
2725configure:4936: /usr/bin/clang -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
2726configure:4936: $? = 0
2727configure:4936: result: yes
2728configure:4936: checking for stdlib.h
2729configure:4936: /usr/bin/clang -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
2730configure:4936: $? = 0
2731configure:4936: result: yes
2732configure:4936: checking for string.h
2733configure:4936: /usr/bin/clang -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
2734configure:4936: $? = 0
2735configure:4936: result: yes
2736configure:4936: checking for inttypes.h
2737configure:4936: /usr/bin/clang -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
2738configure:4936: $? = 0
2739configure:4936: result: yes
2740configure:4936: checking for stdint.h
2741configure:4936: /usr/bin/clang -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
2742configure:4936: $? = 0
2743configure:4936: result: yes
2744configure:4936: checking for strings.h
2745configure:4936: /usr/bin/clang -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
2746configure:4936: $? = 0
2747configure:4936: result: yes
2748configure:4936: checking for sys/stat.h
2749configure:4936: /usr/bin/clang -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
2750configure:4936: $? = 0
2751configure:4936: result: yes
2752configure:4936: checking for sys/types.h
2753configure:4936: /usr/bin/clang -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
2754configure:4936: $? = 0
2755configure:4936: result: yes
2756configure:4936: checking for unistd.h
2757configure:4936: /usr/bin/clang -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
2758configure:4936: $? = 0
2759configure:4936: result: yes
2760configure:4936: checking for wchar.h
2761configure:4936: /usr/bin/clang -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
2762configure:4936: $? = 0
2763configure:4936: result: yes
2764configure:4936: checking for minix/config.h
2765configure:4936: /usr/bin/clang -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
2766conftest.c:49:10: fatal error: 'minix/config.h' file not found
2767#include <minix/config.h>
2768         ^~~~~~~~~~~~~~~~
27691 error generated.
2770configure:4936: $? = 1
2771configure: failed program was:
2772| /* confdefs.h */
2773| #define PACKAGE_NAME "MiniDLNA"
2774| #define PACKAGE_TARNAME "minidlna"
2775| #define PACKAGE_VERSION "1.1.3"
2776| #define PACKAGE_STRING "MiniDLNA 1.1.3"
2777| #define PACKAGE_BUGREPORT ""
2778| #define PACKAGE_URL ""
2779| #define PACKAGE "minidlna"
2780| #define VERSION "1.1.3"
2781| #define HAVE_STDIO_H 1
2782| #define HAVE_STDLIB_H 1
2783| #define HAVE_STRING_H 1
2784| #define HAVE_INTTYPES_H 1
2785| #define HAVE_STDINT_H 1
2786| #define HAVE_STRINGS_H 1
2787| #define HAVE_SYS_STAT_H 1
2788| #define HAVE_SYS_TYPES_H 1
2789| #define HAVE_UNISTD_H 1
2790| #define HAVE_WCHAR_H 1
2791| /* end confdefs.h.  */
2792| #include <stddef.h>
2793| #ifdef HAVE_STDIO_H
2794| # include <stdio.h>
2795| #endif
2796| #ifdef HAVE_STDLIB_H
2797| # include <stdlib.h>
2798| #endif
2799| #ifdef HAVE_STRING_H
2800| # include <string.h>
2801| #endif
2802| #ifdef HAVE_INTTYPES_H
2803| # include <inttypes.h>
2804| #endif
2805| #ifdef HAVE_STDINT_H
2806| # include <stdint.h>
2807| #endif
2808| #ifdef HAVE_STRINGS_H
2809| # include <strings.h>
2810| #endif
2811| #ifdef HAVE_SYS_TYPES_H
2812| # include <sys/types.h>
2813| #endif
2814| #ifdef HAVE_SYS_STAT_H
2815| # include <sys/stat.h>
2816| #endif
2817| #ifdef HAVE_UNISTD_H
2818| # include <unistd.h>
2819| #endif
2820| #include <minix/config.h>
2821configure:4936: result: no
2822configure:4936: checking for vfork.h
2823configure:4936: /usr/bin/clang -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
2824conftest.c:49:10: fatal error: 'vfork.h' file not found
2825#include <vfork.h>
2826         ^~~~~~~~~
28271 error generated.
2828configure:4936: $? = 1
2829configure: failed program was:
2830| /* confdefs.h */
2831| #define PACKAGE_NAME "MiniDLNA"
2832| #define PACKAGE_TARNAME "minidlna"
2833| #define PACKAGE_VERSION "1.1.3"
2834| #define PACKAGE_STRING "MiniDLNA 1.1.3"
2835| #define PACKAGE_BUGREPORT ""
2836| #define PACKAGE_URL ""
2837| #define PACKAGE "minidlna"
2838| #define VERSION "1.1.3"
2839| #define HAVE_STDIO_H 1
2840| #define HAVE_STDLIB_H 1
2841| #define HAVE_STRING_H 1
2842| #define HAVE_INTTYPES_H 1
2843| #define HAVE_STDINT_H 1
2844| #define HAVE_STRINGS_H 1
2845| #define HAVE_SYS_STAT_H 1
2846| #define HAVE_SYS_TYPES_H 1
2847| #define HAVE_UNISTD_H 1
2848| #define HAVE_WCHAR_H 1
2849| /* end confdefs.h.  */
2850| #include <stddef.h>
2851| #ifdef HAVE_STDIO_H
2852| # include <stdio.h>
2853| #endif
2854| #ifdef HAVE_STDLIB_H
2855| # include <stdlib.h>
2856| #endif
2857| #ifdef HAVE_STRING_H
2858| # include <string.h>
2859| #endif
2860| #ifdef HAVE_INTTYPES_H
2861| # include <inttypes.h>
2862| #endif
2863| #ifdef HAVE_STDINT_H
2864| # include <stdint.h>
2865| #endif
2866| #ifdef HAVE_STRINGS_H
2867| # include <strings.h>
2868| #endif
2869| #ifdef HAVE_SYS_TYPES_H
2870| # include <sys/types.h>
2871| #endif
2872| #ifdef HAVE_SYS_STAT_H
2873| # include <sys/stat.h>
2874| #endif
2875| #ifdef HAVE_UNISTD_H
2876| # include <unistd.h>
2877| #endif
2878| #include <vfork.h>
2879configure:4936: result: no
2880configure:4967: checking whether it is safe to define __EXTENSIONS__
2881configure:4986: /usr/bin/clang -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
2882configure:4986: $? = 0
2883configure:4994: result: yes
2884configure:4997: checking whether _XOPEN_SOURCE should be defined
2885configure:5019: /usr/bin/clang -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
2886configure:5019: $? = 0
2887configure:5046: result: no
2888configure:5146: checking for ld used by GCC
2889configure:5211: result: /Library/Developer/CommandLineTools/usr/bin/ld
2890configure:5218: checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld) is GNU ld
2891configure:5232: result: no
2892configure:5240: checking for shared library run path origin
2893configure:5254: result: done
2894configure:5279: checking how to run the C preprocessor
2895configure:5305: /usr/bin/clang -E -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c
2896configure:5305: $? = 0
2897configure:5320: /usr/bin/clang -E -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c
2898conftest.c:38:10: fatal error: 'ac_nonexistent.h' file not found
2899#include <ac_nonexistent.h>
2900         ^~~~~~~~~~~~~~~~~~
29011 error generated.
2902configure:5320: $? = 1
2903configure: failed program was:
2904| /* confdefs.h */
2905| #define PACKAGE_NAME "MiniDLNA"
2906| #define PACKAGE_TARNAME "minidlna"
2907| #define PACKAGE_VERSION "1.1.3"
2908| #define PACKAGE_STRING "MiniDLNA 1.1.3"
2909| #define PACKAGE_BUGREPORT ""
2910| #define PACKAGE_URL ""
2911| #define PACKAGE "minidlna"
2912| #define VERSION "1.1.3"
2913| #define HAVE_STDIO_H 1
2914| #define HAVE_STDLIB_H 1
2915| #define HAVE_STRING_H 1
2916| #define HAVE_INTTYPES_H 1
2917| #define HAVE_STDINT_H 1
2918| #define HAVE_STRINGS_H 1
2919| #define HAVE_SYS_STAT_H 1
2920| #define HAVE_SYS_TYPES_H 1
2921| #define HAVE_UNISTD_H 1
2922| #define HAVE_WCHAR_H 1
2923| #define STDC_HEADERS 1
2924| #define _ALL_SOURCE 1
2925| #define _DARWIN_C_SOURCE 1
2926| #define _GNU_SOURCE 1
2927| #define _HPUX_ALT_XOPEN_SOCKET_API 1
2928| #define _NETBSD_SOURCE 1
2929| #define _OPENBSD_SOURCE 1
2930| #define _POSIX_PTHREAD_SEMANTICS 1
2931| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
2932| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
2933| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
2934| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
2935| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
2936| #define __STDC_WANT_LIB_EXT2__ 1
2937| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
2938| #define _TANDEM_SOURCE 1
2939| #define __EXTENSIONS__ 1
2940| /* end confdefs.h.  */
2941| #include <ac_nonexistent.h>
2942configure:5347: result: /usr/bin/clang -E
2943configure:5361: /usr/bin/clang -E -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c
2944configure:5361: $? = 0
2945configure:5376: /usr/bin/clang -E -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c
2946conftest.c:38:10: fatal error: 'ac_nonexistent.h' file not found
2947#include <ac_nonexistent.h>
2948         ^~~~~~~~~~~~~~~~~~
29491 error generated.
2950configure:5376: $? = 1
2951configure: failed program was:
2952| /* confdefs.h */
2953| #define PACKAGE_NAME "MiniDLNA"
2954| #define PACKAGE_TARNAME "minidlna"
2955| #define PACKAGE_VERSION "1.1.3"
2956| #define PACKAGE_STRING "MiniDLNA 1.1.3"
2957| #define PACKAGE_BUGREPORT ""
2958| #define PACKAGE_URL ""
2959| #define PACKAGE "minidlna"
2960| #define VERSION "1.1.3"
2961| #define HAVE_STDIO_H 1
2962| #define HAVE_STDLIB_H 1
2963| #define HAVE_STRING_H 1
2964| #define HAVE_INTTYPES_H 1
2965| #define HAVE_STDINT_H 1
2966| #define HAVE_STRINGS_H 1
2967| #define HAVE_SYS_STAT_H 1
2968| #define HAVE_SYS_TYPES_H 1
2969| #define HAVE_UNISTD_H 1
2970| #define HAVE_WCHAR_H 1
2971| #define STDC_HEADERS 1
2972| #define _ALL_SOURCE 1
2973| #define _DARWIN_C_SOURCE 1
2974| #define _GNU_SOURCE 1
2975| #define _HPUX_ALT_XOPEN_SOCKET_API 1
2976| #define _NETBSD_SOURCE 1
2977| #define _OPENBSD_SOURCE 1
2978| #define _POSIX_PTHREAD_SEMANTICS 1
2979| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
2980| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
2981| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
2982| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
2983| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
2984| #define __STDC_WANT_LIB_EXT2__ 1
2985| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
2986| #define _TANDEM_SOURCE 1
2987| #define __EXTENSIONS__ 1
2988| /* end confdefs.h.  */
2989| #include <ac_nonexistent.h>
2990configure:5407: checking for grep that handles long lines and -e
2991configure:5471: result: /usr/bin/grep
2992configure:5476: checking for egrep
2993configure:5544: result: /usr/bin/grep -E
2994configure:6111: checking for iconv
2995configure:6134: /usr/bin/clang -o conftest -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 conftest.c  >&5
2996Undefined symbols for architecture x86_64:
2997  "_libiconv", referenced from:
2998      _main in conftest-6d9c96.o
2999  "_libiconv_close", referenced from:
3000      _main in conftest-6d9c96.o
3001  "_libiconv_open", referenced from:
3002      _main in conftest-6d9c96.o
3003ld: symbol(s) not found for architecture x86_64
3004clang: error: linker command failed with exit code 1 (use -v to see invocation)
3005configure:6134: $? = 1
3006configure: failed program was:
3007| /* confdefs.h */
3008| #define PACKAGE_NAME "MiniDLNA"
3009| #define PACKAGE_TARNAME "minidlna"
3010| #define PACKAGE_VERSION "1.1.3"
3011| #define PACKAGE_STRING "MiniDLNA 1.1.3"
3012| #define PACKAGE_BUGREPORT ""
3013| #define PACKAGE_URL ""
3014| #define PACKAGE "minidlna"
3015| #define VERSION "1.1.3"
3016| #define HAVE_STDIO_H 1
3017| #define HAVE_STDLIB_H 1
3018| #define HAVE_STRING_H 1
3019| #define HAVE_INTTYPES_H 1
3020| #define HAVE_STDINT_H 1
3021| #define HAVE_STRINGS_H 1
3022| #define HAVE_SYS_STAT_H 1
3023| #define HAVE_SYS_TYPES_H 1
3024| #define HAVE_UNISTD_H 1
3025| #define HAVE_WCHAR_H 1
3026| #define STDC_HEADERS 1
3027| #define _ALL_SOURCE 1
3028| #define _DARWIN_C_SOURCE 1
3029| #define _GNU_SOURCE 1
3030| #define _HPUX_ALT_XOPEN_SOCKET_API 1
3031| #define _NETBSD_SOURCE 1
3032| #define _OPENBSD_SOURCE 1
3033| #define _POSIX_PTHREAD_SEMANTICS 1
3034| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
3035| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
3036| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
3037| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
3038| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
3039| #define __STDC_WANT_LIB_EXT2__ 1
3040| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
3041| #define _TANDEM_SOURCE 1
3042| #define __EXTENSIONS__ 1
3043| /* end confdefs.h.  */
3044| #include <stdlib.h>
3045| #include <iconv.h>
3046| int
3047| main (void)
3048| {
3049| iconv_t cd = iconv_open("","");
3050|        iconv(cd,NULL,NULL,NULL,NULL);
3051|        iconv_close(cd);
3052|   ;
3053|   return 0;
3054| }
3055configure:6157: /usr/bin/clang -o conftest -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 conftest.c  -liconv >&5
3056configure:6157: $? = 0
3057configure:6168: result: yes
3058configure:6171: checking for working iconv
3059configure:6268: /usr/bin/clang -o conftest -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 conftest.c  -liconv >&5
3060configure:6268: $? = 0
3061configure:6268: ./conftest
3062configure:6268: $? = 0
3063configure:6281: result: yes
3064configure:6296: checking how to link with libiconv
3065configure:6298: result: -liconv
3066configure:6309: checking for iconv declaration
3067configure:6339: /usr/bin/clang -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
3068configure:6339: $? = 0
3069configure:6350: result:
3070         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
3071configure:6367: checking whether NLS is requested
3072configure:6377: result: yes
3073configure:6418: checking for msgfmt
3074configure: trying /opt/local/bin/msgfmt...
30750 translated messages.
3076configure:6451: result: /opt/local/bin/msgfmt
3077configure:6460: checking for gmsgfmt
3078configure:6496: result: /opt/local/bin/msgfmt
3079configure:6547: checking for xgettext
3080configure: trying /opt/local/bin/xgettext...
3081/opt/local/bin/xgettext: warning: file '/dev/null' extension '' is unknown; will try C
3082configure:6580: result: /opt/local/bin/xgettext
3083configure:6626: checking for msgmerge
3084configure: trying /opt/local/bin/msgmerge...
3085configure:6658: result: /opt/local/bin/msgmerge
3086configure:6699: checking for CFPreferencesCopyAppValue
3087configure:6718: /usr/bin/clang -o conftest -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 conftest.c  -Wl,-framework -Wl,CoreFoundation >&5
3088conftest.c:44:37: warning: null passed to a callee that requires a non-null argument [-Wnonnull]
3089CFPreferencesCopyAppValue(NULL, NULL)
3090                          ~~~~      ^
3091conftest.c:44:37: warning: null passed to a callee that requires a non-null argument [-Wnonnull]
3092CFPreferencesCopyAppValue(NULL, NULL)
3093                                ~~~~^
30942 warnings generated.
3095configure:6718: $? = 0
3096configure:6728: result: yes
3097configure:6735: checking for CFLocaleCopyCurrent
3098configure:6754: /usr/bin/clang -o conftest -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 conftest.c  -Wl,-framework -Wl,CoreFoundation >&5
3099configure:6754: $? = 0
3100configure:6764: result: yes
3101configure:6813: checking for GNU gettext in libc
3102configure:6834: /usr/bin/clang -o conftest -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 conftest.c  >&5
3103Undefined symbols for architecture x86_64:
3104  "__nl_domain_bindings", referenced from:
3105      _main in conftest-9e0603.o
3106  "__nl_msg_cat_cntr", referenced from:
3107      _main in conftest-9e0603.o
3108  "_libintl_bindtextdomain", referenced from:
3109      _main in conftest-9e0603.o
3110  "_libintl_gettext", referenced from:
3111      _main in conftest-9e0603.o
3112ld: symbol(s) not found for architecture x86_64
3113clang: error: linker command failed with exit code 1 (use -v to see invocation)
3114configure:6834: $? = 1
3115configure: failed program was:
3116| /* confdefs.h */
3117| #define PACKAGE_NAME "MiniDLNA"
3118| #define PACKAGE_TARNAME "minidlna"
3119| #define PACKAGE_VERSION "1.1.3"
3120| #define PACKAGE_STRING "MiniDLNA 1.1.3"
3121| #define PACKAGE_BUGREPORT ""
3122| #define PACKAGE_URL ""
3123| #define PACKAGE "minidlna"
3124| #define VERSION "1.1.3"
3125| #define HAVE_STDIO_H 1
3126| #define HAVE_STDLIB_H 1
3127| #define HAVE_STRING_H 1
3128| #define HAVE_INTTYPES_H 1
3129| #define HAVE_STDINT_H 1
3130| #define HAVE_STRINGS_H 1
3131| #define HAVE_SYS_STAT_H 1
3132| #define HAVE_SYS_TYPES_H 1
3133| #define HAVE_UNISTD_H 1
3134| #define HAVE_WCHAR_H 1
3135| #define STDC_HEADERS 1
3136| #define _ALL_SOURCE 1
3137| #define _DARWIN_C_SOURCE 1
3138| #define _GNU_SOURCE 1
3139| #define _HPUX_ALT_XOPEN_SOCKET_API 1
3140| #define _NETBSD_SOURCE 1
3141| #define _OPENBSD_SOURCE 1
3142| #define _POSIX_PTHREAD_SEMANTICS 1
3143| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
3144| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
3145| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
3146| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
3147| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
3148| #define __STDC_WANT_LIB_EXT2__ 1
3149| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
3150| #define _TANDEM_SOURCE 1
3151| #define __EXTENSIONS__ 1
3152| #define HAVE_ICONV 1
3153| #define ICONV_CONST
3154| #define HAVE_CFPREFERENCESCOPYAPPVALUE 1
3155| #define HAVE_CFLOCALECOPYCURRENT 1
3156| /* end confdefs.h.  */
3157| #include <libintl.h>
3158|
3159| extern int _nl_msg_cat_cntr;
3160| extern int *_nl_domain_bindings;
3161| int
3162| main (void)
3163| {
3164| bindtextdomain ("", "");
3165| return * gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings
3166|   ;
3167|   return 0;
3168| }
3169configure:6844: result: no
3170configure:6878: checking for iconv
3171configure:6935: result: yes
3172configure:6938: checking for working iconv
3173configure:7048: result: yes
3174configure:7063: checking how to link with libiconv
3175configure:7065: result: -liconv
3176configure:7538: checking for GNU gettext in libintl
3177configure:7567: /usr/bin/clang -o conftest -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk  -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 conftest.c  -lintl >&5
3178configure:7567: $? = 0
3179configure:7610: result: yes
3180configure:7645: checking whether to use NLS
3181configure:7647: result: yes
3182configure:7650: checking where the gettext function comes from
3183configure:7661: result: external libintl
3184configure:7669: checking how to link with libintl
3185configure:7671: result: -lintl -Wl,-framework -Wl,CoreFoundation
3186configure:7725: checking for gawk
3187configure:7757: result: awk
3188configure:7821: checking for gcc
3189configure:7853: result: /usr/bin/clang
3190configure:8206: checking for C compiler version
3191configure:8215: /usr/bin/clang --version >&5
3192Apple clang version 12.0.0 (clang-1200.0.32.29)
3193Target: x86_64-apple-darwin19.6.0
3194Thread model: posix
3195InstalledDir: /Library/Developer/CommandLineTools/usr/bin
3196configure:8226: $? = 0
3197configure:8215: /usr/bin/clang -v >&5
3198Apple clang version 12.0.0 (clang-1200.0.32.29)
3199Target: x86_64-apple-darwin19.6.0
3200Thread model: posix
3201InstalledDir: /Library/Developer/CommandLineTools/usr/bin
3202configure:8226: $? = 0
3203configure:8215: /usr/bin/clang -V >&5
3204clang: error: argument to '-V' is missing (expected 1 value)
3205clang: error: no input files
3206configure:8226: $? = 1
3207configure:8215: /usr/bin/clang -qversion >&5
3208clang: error: unknown argument '-qversion'; did you mean '--version'?
3209clang: error: no input files
3210configure:8226: $? = 1
3211configure:8215: /usr/bin/clang -version >&5
3212clang: error: unknown argument '-version'; did you mean '--version'?
3213clang: error: no input files
3214configure:8226: $? = 1
3215configure:8230: checking whether the compiler supports GNU C
3216configure:8260: result: yes
3217configure:8271: checking whether /usr/bin/clang accepts -g
3218configure:8336: result: yes
3219configure:8356: checking for /usr/bin/clang option to enable C11 features
3220configure:8384: result: unsupported
3221configure:8402: checking for /usr/bin/clang option to enable C99 features
3222configure:8430: result: unsupported
3223configure:8448: checking for /usr/bin/clang option to enable C89 features
3224configure:8481: result: none needed
3225configure:8505: checking whether /usr/bin/clang understands -c and -o together
3226configure:8543: result: yes
3227configure:8562: checking dependency style of /usr/bin/clang
3228configure:8674: result: gcc3
3229configure:8691: checking whether ln -s works
3230configure:8695: result: yes
3231configure:8702: checking whether make sets $(MAKE)
3232configure:8725: result: yes
3233configure:8758: checking for inline
3234configure:8775: /usr/bin/clang -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
3235configure:8775: $? = 0
3236configure:8784: result: inline
3237configure:8802: checking for mode_t
3238configure:8802: /usr/bin/clang -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
3239configure:8802: $? = 0
3240configure:8802: /usr/bin/clang -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
3241conftest.c:83:21: error: expected expression
3242if (sizeof ((mode_t)))
3243                    ^
32441 error generated.
3245configure:8802: $? = 1
3246configure: failed program was:
3247| /* confdefs.h */
3248| #define PACKAGE_NAME "MiniDLNA"
3249| #define PACKAGE_TARNAME "minidlna"
3250| #define PACKAGE_VERSION "1.1.3"
3251| #define PACKAGE_STRING "MiniDLNA 1.1.3"
3252| #define PACKAGE_BUGREPORT ""
3253| #define PACKAGE_URL ""
3254| #define PACKAGE "minidlna"
3255| #define VERSION "1.1.3"
3256| #define HAVE_STDIO_H 1
3257| #define HAVE_STDLIB_H 1
3258| #define HAVE_STRING_H 1
3259| #define HAVE_INTTYPES_H 1
3260| #define HAVE_STDINT_H 1
3261| #define HAVE_STRINGS_H 1
3262| #define HAVE_SYS_STAT_H 1
3263| #define HAVE_SYS_TYPES_H 1
3264| #define HAVE_UNISTD_H 1
3265| #define HAVE_WCHAR_H 1
3266| #define STDC_HEADERS 1
3267| #define _ALL_SOURCE 1
3268| #define _DARWIN_C_SOURCE 1
3269| #define _GNU_SOURCE 1
3270| #define _HPUX_ALT_XOPEN_SOCKET_API 1
3271| #define _NETBSD_SOURCE 1
3272| #define _OPENBSD_SOURCE 1
3273| #define _POSIX_PTHREAD_SEMANTICS 1
3274| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
3275| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
3276| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
3277| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
3278| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
3279| #define __STDC_WANT_LIB_EXT2__ 1
3280| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
3281| #define _TANDEM_SOURCE 1
3282| #define __EXTENSIONS__ 1
3283| #define HAVE_ICONV 1
3284| #define ICONV_CONST
3285| #define HAVE_CFPREFERENCESCOPYAPPVALUE 1
3286| #define HAVE_CFLOCALECOPYCURRENT 1
3287| #define HAVE_ICONV 1
3288| #define ENABLE_NLS 1
3289| #define HAVE_GETTEXT 1
3290| #define HAVE_DCGETTEXT 1
3291| #define OS_URL "http://sourceforge.net/projects/minidlna/"
3292| #define ROOTDEV_MANUFACTURER "Justin Maggard"
3293| #define ROOTDEV_MANUFACTURERURL "http://www.netgear.com/"
3294| #define ROOTDEV_MODELNAME "Windows Media Connect compatible (MiniDLNA)"
3295| #define ROOTDEV_MODELDESCRIPTION "MiniDLNA on " OS_NAME
3296| #define ROOTDEV_MODELURL OS_URL
3297| /* end confdefs.h.  */
3298| #include <stddef.h>
3299| #ifdef HAVE_STDIO_H
3300| # include <stdio.h>
3301| #endif
3302| #ifdef HAVE_STDLIB_H
3303| # include <stdlib.h>
3304| #endif
3305| #ifdef HAVE_STRING_H
3306| # include <string.h>
3307| #endif
3308| #ifdef HAVE_INTTYPES_H
3309| # include <inttypes.h>
3310| #endif
3311| #ifdef HAVE_STDINT_H
3312| # include <stdint.h>
3313| #endif
3314| #ifdef HAVE_STRINGS_H
3315| # include <strings.h>
3316| #endif
3317| #ifdef HAVE_SYS_TYPES_H
3318| # include <sys/types.h>
3319| #endif
3320| #ifdef HAVE_SYS_STAT_H
3321| # include <sys/stat.h>
3322| #endif
3323| #ifdef HAVE_UNISTD_H
3324| # include <unistd.h>
3325| #endif
3326| int
3327| main (void)
3328| {
3329| if (sizeof ((mode_t)))
3330|           return 0;
3331|   ;
3332|   return 0;
3333| }
3334configure:8802: result: yes
3335configure:8812: checking for off_t
3336configure:8812: /usr/bin/clang -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
3337configure:8812: $? = 0
3338configure:8812: /usr/bin/clang -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
3339conftest.c:83:20: error: expected expression
3340if (sizeof ((off_t)))
3341                   ^
33421 error generated.
3343configure:8812: $? = 1
3344configure: failed program was:
3345| /* confdefs.h */
3346| #define PACKAGE_NAME "MiniDLNA"
3347| #define PACKAGE_TARNAME "minidlna"
3348| #define PACKAGE_VERSION "1.1.3"
3349| #define PACKAGE_STRING "MiniDLNA 1.1.3"
3350| #define PACKAGE_BUGREPORT ""
3351| #define PACKAGE_URL ""
3352| #define PACKAGE "minidlna"
3353| #define VERSION "1.1.3"
3354| #define HAVE_STDIO_H 1
3355| #define HAVE_STDLIB_H 1
3356| #define HAVE_STRING_H 1
3357| #define HAVE_INTTYPES_H 1
3358| #define HAVE_STDINT_H 1
3359| #define HAVE_STRINGS_H 1
3360| #define HAVE_SYS_STAT_H 1
3361| #define HAVE_SYS_TYPES_H 1
3362| #define HAVE_UNISTD_H 1
3363| #define HAVE_WCHAR_H 1
3364| #define STDC_HEADERS 1
3365| #define _ALL_SOURCE 1
3366| #define _DARWIN_C_SOURCE 1
3367| #define _GNU_SOURCE 1
3368| #define _HPUX_ALT_XOPEN_SOCKET_API 1
3369| #define _NETBSD_SOURCE 1
3370| #define _OPENBSD_SOURCE 1
3371| #define _POSIX_PTHREAD_SEMANTICS 1
3372| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
3373| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
3374| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
3375| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
3376| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
3377| #define __STDC_WANT_LIB_EXT2__ 1
3378| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
3379| #define _TANDEM_SOURCE 1
3380| #define __EXTENSIONS__ 1
3381| #define HAVE_ICONV 1
3382| #define ICONV_CONST
3383| #define HAVE_CFPREFERENCESCOPYAPPVALUE 1
3384| #define HAVE_CFLOCALECOPYCURRENT 1
3385| #define HAVE_ICONV 1
3386| #define ENABLE_NLS 1
3387| #define HAVE_GETTEXT 1
3388| #define HAVE_DCGETTEXT 1
3389| #define OS_URL "http://sourceforge.net/projects/minidlna/"
3390| #define ROOTDEV_MANUFACTURER "Justin Maggard"
3391| #define ROOTDEV_MANUFACTURERURL "http://www.netgear.com/"
3392| #define ROOTDEV_MODELNAME "Windows Media Connect compatible (MiniDLNA)"
3393| #define ROOTDEV_MODELDESCRIPTION "MiniDLNA on " OS_NAME
3394| #define ROOTDEV_MODELURL OS_URL
3395| /* end confdefs.h.  */
3396| #include <stddef.h>
3397| #ifdef HAVE_STDIO_H
3398| # include <stdio.h>
3399| #endif
3400| #ifdef HAVE_STDLIB_H
3401| # include <stdlib.h>
3402| #endif
3403| #ifdef HAVE_STRING_H
3404| # include <string.h>
3405| #endif
3406| #ifdef HAVE_INTTYPES_H
3407| # include <inttypes.h>
3408| #endif
3409| #ifdef HAVE_STDINT_H
3410| # include <stdint.h>
3411| #endif
3412| #ifdef HAVE_STRINGS_H
3413| # include <strings.h>
3414| #endif
3415| #ifdef HAVE_SYS_TYPES_H
3416| # include <sys/types.h>
3417| #endif
3418| #ifdef HAVE_SYS_STAT_H
3419| # include <sys/stat.h>
3420| #endif
3421| #ifdef HAVE_UNISTD_H
3422| # include <unistd.h>
3423| #endif
3424| int
3425| main (void)
3426| {
3427| if (sizeof ((off_t)))
3428|           return 0;
3429|   ;
3430|   return 0;
3431| }
3432configure:8812: result: yes
3433configure:8823: checking for pid_t
3434configure:8823: /usr/bin/clang -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
3435configure:8823: $? = 0
3436configure:8823: /usr/bin/clang -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
3437conftest.c:84:20: error: expected expression
3438if (sizeof ((pid_t)))
3439                   ^
34401 error generated.
3441configure:8823: $? = 1
3442configure: failed program was:
3443| /* confdefs.h */
3444| #define PACKAGE_NAME "MiniDLNA"
3445| #define PACKAGE_TARNAME "minidlna"
3446| #define PACKAGE_VERSION "1.1.3"
3447| #define PACKAGE_STRING "MiniDLNA 1.1.3"
3448| #define PACKAGE_BUGREPORT ""
3449| #define PACKAGE_URL ""
3450| #define PACKAGE "minidlna"
3451| #define VERSION "1.1.3"
3452| #define HAVE_STDIO_H 1
3453| #define HAVE_STDLIB_H 1
3454| #define HAVE_STRING_H 1
3455| #define HAVE_INTTYPES_H 1
3456| #define HAVE_STDINT_H 1
3457| #define HAVE_STRINGS_H 1
3458| #define HAVE_SYS_STAT_H 1
3459| #define HAVE_SYS_TYPES_H 1
3460| #define HAVE_UNISTD_H 1
3461| #define HAVE_WCHAR_H 1
3462| #define STDC_HEADERS 1
3463| #define _ALL_SOURCE 1
3464| #define _DARWIN_C_SOURCE 1
3465| #define _GNU_SOURCE 1
3466| #define _HPUX_ALT_XOPEN_SOCKET_API 1
3467| #define _NETBSD_SOURCE 1
3468| #define _OPENBSD_SOURCE 1
3469| #define _POSIX_PTHREAD_SEMANTICS 1
3470| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
3471| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
3472| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
3473| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
3474| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
3475| #define __STDC_WANT_LIB_EXT2__ 1
3476| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
3477| #define _TANDEM_SOURCE 1
3478| #define __EXTENSIONS__ 1
3479| #define HAVE_ICONV 1
3480| #define ICONV_CONST
3481| #define HAVE_CFPREFERENCESCOPYAPPVALUE 1
3482| #define HAVE_CFLOCALECOPYCURRENT 1
3483| #define HAVE_ICONV 1
3484| #define ENABLE_NLS 1
3485| #define HAVE_GETTEXT 1
3486| #define HAVE_DCGETTEXT 1
3487| #define OS_URL "http://sourceforge.net/projects/minidlna/"
3488| #define ROOTDEV_MANUFACTURER "Justin Maggard"
3489| #define ROOTDEV_MANUFACTURERURL "http://www.netgear.com/"
3490| #define ROOTDEV_MODELNAME "Windows Media Connect compatible (MiniDLNA)"
3491| #define ROOTDEV_MODELDESCRIPTION "MiniDLNA on " OS_NAME
3492| #define ROOTDEV_MODELURL OS_URL
3493| /* end confdefs.h.  */
3494| #include <stddef.h>
3495| #ifdef HAVE_STDIO_H
3496| # include <stdio.h>
3497| #endif
3498| #ifdef HAVE_STDLIB_H
3499| # include <stdlib.h>
3500| #endif
3501| #ifdef HAVE_STRING_H
3502| # include <string.h>
3503| #endif
3504| #ifdef HAVE_INTTYPES_H
3505| # include <inttypes.h>
3506| #endif
3507| #ifdef HAVE_STDINT_H
3508| # include <stdint.h>
3509| #endif
3510| #ifdef HAVE_STRINGS_H
3511| # include <strings.h>
3512| #endif
3513| #ifdef HAVE_SYS_TYPES_H
3514| # include <sys/types.h>
3515| #endif
3516| #ifdef HAVE_SYS_STAT_H
3517| # include <sys/stat.h>
3518| #endif
3519| #ifdef HAVE_UNISTD_H
3520| # include <unistd.h>
3521| #endif
3522|
3523| int
3524| main (void)
3525| {
3526| if (sizeof ((pid_t)))
3527|           return 0;
3528|   ;
3529|   return 0;
3530| }
3531configure:8823: result: yes
3532configure:8859: checking for size_t
3533configure:8859: /usr/bin/clang -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
3534configure:8859: $? = 0
3535configure:8859: /usr/bin/clang -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
3536conftest.c:83:21: error: expected expression
3537if (sizeof ((size_t)))
3538                    ^
35391 error generated.
3540configure:8859: $? = 1
3541configure: failed program was:
3542| /* confdefs.h */
3543| #define PACKAGE_NAME "MiniDLNA"
3544| #define PACKAGE_TARNAME "minidlna"
3545| #define PACKAGE_VERSION "1.1.3"
3546| #define PACKAGE_STRING "MiniDLNA 1.1.3"
3547| #define PACKAGE_BUGREPORT ""
3548| #define PACKAGE_URL ""
3549| #define PACKAGE "minidlna"
3550| #define VERSION "1.1.3"
3551| #define HAVE_STDIO_H 1
3552| #define HAVE_STDLIB_H 1
3553| #define HAVE_STRING_H 1
3554| #define HAVE_INTTYPES_H 1
3555| #define HAVE_STDINT_H 1
3556| #define HAVE_STRINGS_H 1
3557| #define HAVE_SYS_STAT_H 1
3558| #define HAVE_SYS_TYPES_H 1
3559| #define HAVE_UNISTD_H 1
3560| #define HAVE_WCHAR_H 1
3561| #define STDC_HEADERS 1
3562| #define _ALL_SOURCE 1
3563| #define _DARWIN_C_SOURCE 1
3564| #define _GNU_SOURCE 1
3565| #define _HPUX_ALT_XOPEN_SOCKET_API 1
3566| #define _NETBSD_SOURCE 1
3567| #define _OPENBSD_SOURCE 1
3568| #define _POSIX_PTHREAD_SEMANTICS 1
3569| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
3570| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
3571| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
3572| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
3573| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
3574| #define __STDC_WANT_LIB_EXT2__ 1
3575| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
3576| #define _TANDEM_SOURCE 1
3577| #define __EXTENSIONS__ 1
3578| #define HAVE_ICONV 1
3579| #define ICONV_CONST
3580| #define HAVE_CFPREFERENCESCOPYAPPVALUE 1
3581| #define HAVE_CFLOCALECOPYCURRENT 1
3582| #define HAVE_ICONV 1
3583| #define ENABLE_NLS 1
3584| #define HAVE_GETTEXT 1
3585| #define HAVE_DCGETTEXT 1
3586| #define OS_URL "http://sourceforge.net/projects/minidlna/"
3587| #define ROOTDEV_MANUFACTURER "Justin Maggard"
3588| #define ROOTDEV_MANUFACTURERURL "http://www.netgear.com/"
3589| #define ROOTDEV_MODELNAME "Windows Media Connect compatible (MiniDLNA)"
3590| #define ROOTDEV_MODELDESCRIPTION "MiniDLNA on " OS_NAME
3591| #define ROOTDEV_MODELURL OS_URL
3592| /* end confdefs.h.  */
3593| #include <stddef.h>
3594| #ifdef HAVE_STDIO_H
3595| # include <stdio.h>
3596| #endif
3597| #ifdef HAVE_STDLIB_H
3598| # include <stdlib.h>
3599| #endif
3600| #ifdef HAVE_STRING_H
3601| # include <string.h>
3602| #endif
3603| #ifdef HAVE_INTTYPES_H
3604| # include <inttypes.h>
3605| #endif
3606| #ifdef HAVE_STDINT_H
3607| # include <stdint.h>
3608| #endif
3609| #ifdef HAVE_STRINGS_H
3610| # include <strings.h>
3611| #endif
3612| #ifdef HAVE_SYS_TYPES_H
3613| # include <sys/types.h>
3614| #endif
3615| #ifdef HAVE_SYS_STAT_H
3616| # include <sys/stat.h>
3617| #endif
3618| #ifdef HAVE_UNISTD_H
3619| # include <unistd.h>
3620| #endif
3621| int
3622| main (void)
3623| {
3624| if (sizeof ((size_t)))
3625|           return 0;
3626|   ;
3627|   return 0;
3628| }
3629configure:8859: result: yes
3630configure:8869: checking for uint8_t
3631configure:8869: /usr/bin/clang -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
3632configure:8869: $? = 0
3633configure:8869: result: yes
3634configure:8881: checking for int32_t
3635configure:8881: /usr/bin/clang -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
3636configure:8881: $? = 0
3637configure:8881: /usr/bin/clang -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
3638conftest.c:85:53: warning: overflow in expression; result is -2147483648 with type 'int' [-Winteger-overflow]
3639                 < (int32_t) (((((int32_t) 1 << N) << N) - 1) * 2 + 2))];
3640                                                                  ^
3641conftest.c:84:24: error: 'test_array' declared as an array with a negative size
3642static int test_array [1 - 2 * !((int32_t) (((((int32_t) 1 << N) << N) - 1) * 2 + 1)
3643                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
36441 warning and 1 error generated.
3645configure:8881: $? = 1
3646configure: failed program was:
3647| /* confdefs.h */
3648| #define PACKAGE_NAME "MiniDLNA"
3649| #define PACKAGE_TARNAME "minidlna"
3650| #define PACKAGE_VERSION "1.1.3"
3651| #define PACKAGE_STRING "MiniDLNA 1.1.3"
3652| #define PACKAGE_BUGREPORT ""
3653| #define PACKAGE_URL ""
3654| #define PACKAGE "minidlna"
3655| #define VERSION "1.1.3"
3656| #define HAVE_STDIO_H 1
3657| #define HAVE_STDLIB_H 1
3658| #define HAVE_STRING_H 1
3659| #define HAVE_INTTYPES_H 1
3660| #define HAVE_STDINT_H 1
3661| #define HAVE_STRINGS_H 1
3662| #define HAVE_SYS_STAT_H 1
3663| #define HAVE_SYS_TYPES_H 1
3664| #define HAVE_UNISTD_H 1
3665| #define HAVE_WCHAR_H 1
3666| #define STDC_HEADERS 1
3667| #define _ALL_SOURCE 1
3668| #define _DARWIN_C_SOURCE 1
3669| #define _GNU_SOURCE 1
3670| #define _HPUX_ALT_XOPEN_SOCKET_API 1
3671| #define _NETBSD_SOURCE 1
3672| #define _OPENBSD_SOURCE 1
3673| #define _POSIX_PTHREAD_SEMANTICS 1
3674| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
3675| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
3676| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
3677| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
3678| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
3679| #define __STDC_WANT_LIB_EXT2__ 1
3680| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
3681| #define _TANDEM_SOURCE 1
3682| #define __EXTENSIONS__ 1
3683| #define HAVE_ICONV 1
3684| #define ICONV_CONST
3685| #define HAVE_CFPREFERENCESCOPYAPPVALUE 1
3686| #define HAVE_CFLOCALECOPYCURRENT 1
3687| #define HAVE_ICONV 1
3688| #define ENABLE_NLS 1
3689| #define HAVE_GETTEXT 1
3690| #define HAVE_DCGETTEXT 1
3691| #define OS_URL "http://sourceforge.net/projects/minidlna/"
3692| #define ROOTDEV_MANUFACTURER "Justin Maggard"
3693| #define ROOTDEV_MANUFACTURERURL "http://www.netgear.com/"
3694| #define ROOTDEV_MODELNAME "Windows Media Connect compatible (MiniDLNA)"
3695| #define ROOTDEV_MODELDESCRIPTION "MiniDLNA on " OS_NAME
3696| #define ROOTDEV_MODELURL OS_URL
3697| /* end confdefs.h.  */
3698| #include <stddef.h>
3699| #ifdef HAVE_STDIO_H
3700| # include <stdio.h>
3701| #endif
3702| #ifdef HAVE_STDLIB_H
3703| # include <stdlib.h>
3704| #endif
3705| #ifdef HAVE_STRING_H
3706| # include <string.h>
3707| #endif
3708| #ifdef HAVE_INTTYPES_H
3709| # include <inttypes.h>
3710| #endif
3711| #ifdef HAVE_STDINT_H
3712| # include <stdint.h>
3713| #endif
3714| #ifdef HAVE_STRINGS_H
3715| # include <strings.h>
3716| #endif
3717| #ifdef HAVE_SYS_TYPES_H
3718| # include <sys/types.h>
3719| #endif
3720| #ifdef HAVE_SYS_STAT_H
3721| # include <sys/stat.h>
3722| #endif
3723| #ifdef HAVE_UNISTD_H
3724| # include <unistd.h>
3725| #endif
3726|               enum { N = 32 / 2 - 1 };
3727| int
3728| main (void)
3729| {
3730| static int test_array [1 - 2 * !((int32_t) (((((int32_t) 1 << N) << N) - 1) * 2 + 1)
3731|                < (int32_t) (((((int32_t) 1 << N) << N) - 1) * 2 + 2))];
3732| test_array [0] = 0;
3733| return test_array [0];
3734|
3735|   ;
3736|   return 0;
3737| }
3738configure:8881: result: yes
3739configure:8890: checking for uint32_t
3740configure:8890: /usr/bin/clang -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
3741configure:8890: $? = 0
3742configure:8890: result: yes
3743configure:8902: checking for uint64_t
3744configure:8902: /usr/bin/clang -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
3745configure:8902: $? = 0
3746configure:8902: result: yes
3747configure:8914: checking for ssize_t
3748configure:8914: /usr/bin/clang -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
3749configure:8914: $? = 0
3750configure:8914: /usr/bin/clang -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
3751conftest.c:83:22: error: expected expression
3752if (sizeof ((ssize_t)))
3753                     ^
37541 error generated.
3755configure:8914: $? = 1
3756configure: failed program was:
3757| /* confdefs.h */
3758| #define PACKAGE_NAME "MiniDLNA"
3759| #define PACKAGE_TARNAME "minidlna"
3760| #define PACKAGE_VERSION "1.1.3"
3761| #define PACKAGE_STRING "MiniDLNA 1.1.3"
3762| #define PACKAGE_BUGREPORT ""
3763| #define PACKAGE_URL ""
3764| #define PACKAGE "minidlna"
3765| #define VERSION "1.1.3"
3766| #define HAVE_STDIO_H 1
3767| #define HAVE_STDLIB_H 1
3768| #define HAVE_STRING_H 1
3769| #define HAVE_INTTYPES_H 1
3770| #define HAVE_STDINT_H 1
3771| #define HAVE_STRINGS_H 1
3772| #define HAVE_SYS_STAT_H 1
3773| #define HAVE_SYS_TYPES_H 1
3774| #define HAVE_UNISTD_H 1
3775| #define HAVE_WCHAR_H 1
3776| #define STDC_HEADERS 1
3777| #define _ALL_SOURCE 1
3778| #define _DARWIN_C_SOURCE 1
3779| #define _GNU_SOURCE 1
3780| #define _HPUX_ALT_XOPEN_SOCKET_API 1
3781| #define _NETBSD_SOURCE 1
3782| #define _OPENBSD_SOURCE 1
3783| #define _POSIX_PTHREAD_SEMANTICS 1
3784| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
3785| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
3786| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
3787| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
3788| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
3789| #define __STDC_WANT_LIB_EXT2__ 1
3790| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
3791| #define _TANDEM_SOURCE 1
3792| #define __EXTENSIONS__ 1
3793| #define HAVE_ICONV 1
3794| #define ICONV_CONST
3795| #define HAVE_CFPREFERENCESCOPYAPPVALUE 1
3796| #define HAVE_CFLOCALECOPYCURRENT 1
3797| #define HAVE_ICONV 1
3798| #define ENABLE_NLS 1
3799| #define HAVE_GETTEXT 1
3800| #define HAVE_DCGETTEXT 1
3801| #define OS_URL "http://sourceforge.net/projects/minidlna/"
3802| #define ROOTDEV_MANUFACTURER "Justin Maggard"
3803| #define ROOTDEV_MANUFACTURERURL "http://www.netgear.com/"
3804| #define ROOTDEV_MODELNAME "Windows Media Connect compatible (MiniDLNA)"
3805| #define ROOTDEV_MODELDESCRIPTION "MiniDLNA on " OS_NAME
3806| #define ROOTDEV_MODELURL OS_URL
3807| /* end confdefs.h.  */
3808| #include <stddef.h>
3809| #ifdef HAVE_STDIO_H
3810| # include <stdio.h>
3811| #endif
3812| #ifdef HAVE_STDLIB_H
3813| # include <stdlib.h>
3814| #endif
3815| #ifdef HAVE_STRING_H
3816| # include <string.h>
3817| #endif
3818| #ifdef HAVE_INTTYPES_H
3819| # include <inttypes.h>
3820| #endif
3821| #ifdef HAVE_STDINT_H
3822| # include <stdint.h>
3823| #endif
3824| #ifdef HAVE_STRINGS_H
3825| # include <strings.h>
3826| #endif
3827| #ifdef HAVE_SYS_TYPES_H
3828| # include <sys/types.h>
3829| #endif
3830| #ifdef HAVE_SYS_STAT_H
3831| # include <sys/stat.h>
3832| #endif
3833| #ifdef HAVE_UNISTD_H
3834| # include <unistd.h>
3835| #endif
3836| int
3837| main (void)
3838| {
3839| if (sizeof ((ssize_t)))
3840|           return 0;
3841|   ;
3842|   return 0;
3843| }
3844configure:8914: result: yes
3845configure:8927: checking for dirent.h that defines DIR
3846configure:8947: /usr/bin/clang -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
3847configure:8947: $? = 0
3848configure:8956: result: yes
3849configure:8970: checking for library containing opendir
3850configure:9000: /usr/bin/clang -o conftest -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 conftest.c  >&5
3851configure:9000: $? = 0
3852configure:9020: result: none required
3853configure:9093: checking for struct dirent.d_type
3854configure:9093: /usr/bin/clang -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
3855configure:9093: $? = 0
3856configure:9093: result: yes
3857configure:9120: checking for struct stat.st_blocks
3858configure:9120: /usr/bin/clang -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
3859configure:9120: $? = 0
3860configure:9120: result: yes
3861configure:9139: checking for _Bool
3862configure:9139: /usr/bin/clang -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
3863configure:9139: $? = 0
3864configure:9139: /usr/bin/clang -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
3865conftest.c:87:20: error: expected expression
3866if (sizeof ((_Bool)))
3867                   ^
38681 error generated.
3869configure:9139: $? = 1
3870configure: failed program was:
3871| /* confdefs.h */
3872| #define PACKAGE_NAME "MiniDLNA"
3873| #define PACKAGE_TARNAME "minidlna"
3874| #define PACKAGE_VERSION "1.1.3"
3875| #define PACKAGE_STRING "MiniDLNA 1.1.3"
3876| #define PACKAGE_BUGREPORT ""
3877| #define PACKAGE_URL ""
3878| #define PACKAGE "minidlna"
3879| #define VERSION "1.1.3"
3880| #define HAVE_STDIO_H 1
3881| #define HAVE_STDLIB_H 1
3882| #define HAVE_STRING_H 1
3883| #define HAVE_INTTYPES_H 1
3884| #define HAVE_STDINT_H 1
3885| #define HAVE_STRINGS_H 1
3886| #define HAVE_SYS_STAT_H 1
3887| #define HAVE_SYS_TYPES_H 1
3888| #define HAVE_UNISTD_H 1
3889| #define HAVE_WCHAR_H 1
3890| #define STDC_HEADERS 1
3891| #define _ALL_SOURCE 1
3892| #define _DARWIN_C_SOURCE 1
3893| #define _GNU_SOURCE 1
3894| #define _HPUX_ALT_XOPEN_SOCKET_API 1
3895| #define _NETBSD_SOURCE 1
3896| #define _OPENBSD_SOURCE 1
3897| #define _POSIX_PTHREAD_SEMANTICS 1
3898| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
3899| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
3900| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
3901| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
3902| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
3903| #define __STDC_WANT_LIB_EXT2__ 1
3904| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
3905| #define _TANDEM_SOURCE 1
3906| #define __EXTENSIONS__ 1
3907| #define HAVE_ICONV 1
3908| #define ICONV_CONST
3909| #define HAVE_CFPREFERENCESCOPYAPPVALUE 1
3910| #define HAVE_CFLOCALECOPYCURRENT 1
3911| #define HAVE_ICONV 1
3912| #define ENABLE_NLS 1
3913| #define HAVE_GETTEXT 1
3914| #define HAVE_DCGETTEXT 1
3915| #define OS_URL "http://sourceforge.net/projects/minidlna/"
3916| #define ROOTDEV_MANUFACTURER "Justin Maggard"
3917| #define ROOTDEV_MANUFACTURERURL "http://www.netgear.com/"
3918| #define ROOTDEV_MODELNAME "Windows Media Connect compatible (MiniDLNA)"
3919| #define ROOTDEV_MODELDESCRIPTION "MiniDLNA on " OS_NAME
3920| #define ROOTDEV_MODELURL OS_URL
3921| #define HAVE_DIRENT_H 1
3922| #define HAVE_STRUCT_DIRENT_D_TYPE 1
3923| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
3924| #define HAVE_ST_BLOCKS 1
3925| /* end confdefs.h.  */
3926| #include <stddef.h>
3927| #ifdef HAVE_STDIO_H
3928| # include <stdio.h>
3929| #endif
3930| #ifdef HAVE_STDLIB_H
3931| # include <stdlib.h>
3932| #endif
3933| #ifdef HAVE_STRING_H
3934| # include <string.h>
3935| #endif
3936| #ifdef HAVE_INTTYPES_H
3937| # include <inttypes.h>
3938| #endif
3939| #ifdef HAVE_STDINT_H
3940| # include <stdint.h>
3941| #endif
3942| #ifdef HAVE_STRINGS_H
3943| # include <strings.h>
3944| #endif
3945| #ifdef HAVE_SYS_TYPES_H
3946| # include <sys/types.h>
3947| #endif
3948| #ifdef HAVE_SYS_STAT_H
3949| # include <sys/stat.h>
3950| #endif
3951| #ifdef HAVE_UNISTD_H
3952| # include <unistd.h>
3953| #endif
3954| int
3955| main (void)
3956| {
3957| if (sizeof ((_Bool)))
3958|           return 0;
3959|   ;
3960|   return 0;
3961| }
3962configure:9139: result: yes
3963configure:9148: checking for stdbool.h that conforms to C99
3964configure:9264: /usr/bin/clang -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
3965conftest.c:142:25: warning: address of 's' will always evaluate to 'true' [-Wpointer-bool-conversion]
3966             bool ps = &s;
3967                  ~~    ^
3968conftest.c:147:28: warning: address of 't' will always evaluate to 'true' [-Wpointer-bool-conversion]
3969               _Bool pt = &t;
3970                     ~~    ^
3971conftest.c:154:23: warning: address of array 'a' will always evaluate to 'true' [-Wpointer-bool-conversion]
3972             return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !j + !k
3973                     ~^
3974conftest.c:154:28: warning: address of array 'b' will always evaluate to 'true' [-Wpointer-bool-conversion]
3975             return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !j + !k
3976                          ~^
3977conftest.c:154:33: warning: address of array 'c' will always evaluate to 'true' [-Wpointer-bool-conversion]
3978             return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !j + !k
3979                               ~^
3980conftest.c:154:38: warning: address of array 'd' will always evaluate to 'true' [-Wpointer-bool-conversion]
3981             return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !j + !k
3982                                    ~^
3983conftest.c:154:63: warning: address of array 'i' will always evaluate to 'true' [-Wpointer-bool-conversion]
3984             return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !j + !k
3985                                                             ~^
3986conftest.c:154:68: warning: address of array 'j' will always evaluate to 'true' [-Wpointer-bool-conversion]
3987             return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !j + !k
3988                                                                  ~^
3989conftest.c:154:73: warning: address of array 'k' will always evaluate to 'true' [-Wpointer-bool-conversion]
3990             return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !j + !k
3991                                                                       ~^
3992conftest.c:155:25: warning: address of array 'l' will always evaluate to 'true' [-Wpointer-bool-conversion]
3993                       ~^
3994conftest.c:155:30: warning: address of array 'm' will always evaluate to 'true' [-Wpointer-bool-conversion]
3995                            ~^
3996conftest.c:155:35: warning: address of array 'n' will always evaluate to 'true' [-Wpointer-bool-conversion]
3997                                 ~^
3998conftest.c:155:40: warning: address of array 'o' will always evaluate to 'true' [-Wpointer-bool-conversion]
3999                                      ~^
4000conftest.c:157:25: warning: address of array 'q' will always evaluate to 'true' [-Wpointer-bool-conversion]
4001                       ~^
4002conftest.c:157:30: warning: address of array 'r' will always evaluate to 'true' [-Wpointer-bool-conversion]
4003                            ~^
4004conftest.c:157:35: warning: address of array 'u' will always evaluate to 'true' [-Wpointer-bool-conversion]
4005                                 ~^
4006conftest.c:157:40: warning: address of array 'v' will always evaluate to 'true' [-Wpointer-bool-conversion]
4007                                      ~^
4008conftest.c:157:45: warning: address of array 'w' will always evaluate to 'true' [-Wpointer-bool-conversion]
4009                                           ~^
4010conftest.c:157:50: warning: address of array 'x' will always evaluate to 'true' [-Wpointer-bool-conversion]
4011                                                ~^
4012conftest.c:157:55: warning: address of array 'y' will always evaluate to 'true' [-Wpointer-bool-conversion]
4013                                                     ~^
401420 warnings generated.
4015configure:9264: $? = 0
4016configure:9272: result: yes
4017configure:9281: checking whether byte ordering is bigendian
4018configure:9297: /usr/bin/clang -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
4019configure:9297: $? = 0
4020configure:9343: /usr/bin/clang -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
4021configure:9343: $? = 0
4022configure:9362: /usr/bin/clang -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
4023conftest.c:65:4: error: use of undeclared identifier 'not'
4024                 not big endian
4025                 ^
40261 error generated.
4027configure:9362: $? = 1
4028configure: failed program was:
4029| /* confdefs.h */
4030| #define PACKAGE_NAME "MiniDLNA"
4031| #define PACKAGE_TARNAME "minidlna"
4032| #define PACKAGE_VERSION "1.1.3"
4033| #define PACKAGE_STRING "MiniDLNA 1.1.3"
4034| #define PACKAGE_BUGREPORT ""
4035| #define PACKAGE_URL ""
4036| #define PACKAGE "minidlna"
4037| #define VERSION "1.1.3"
4038| #define HAVE_STDIO_H 1
4039| #define HAVE_STDLIB_H 1
4040| #define HAVE_STRING_H 1
4041| #define HAVE_INTTYPES_H 1
4042| #define HAVE_STDINT_H 1
4043| #define HAVE_STRINGS_H 1
4044| #define HAVE_SYS_STAT_H 1
4045| #define HAVE_SYS_TYPES_H 1
4046| #define HAVE_UNISTD_H 1
4047| #define HAVE_WCHAR_H 1
4048| #define STDC_HEADERS 1
4049| #define _ALL_SOURCE 1
4050| #define _DARWIN_C_SOURCE 1
4051| #define _GNU_SOURCE 1
4052| #define _HPUX_ALT_XOPEN_SOCKET_API 1
4053| #define _NETBSD_SOURCE 1
4054| #define _OPENBSD_SOURCE 1
4055| #define _POSIX_PTHREAD_SEMANTICS 1
4056| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
4057| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
4058| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
4059| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
4060| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
4061| #define __STDC_WANT_LIB_EXT2__ 1
4062| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
4063| #define _TANDEM_SOURCE 1
4064| #define __EXTENSIONS__ 1
4065| #define HAVE_ICONV 1
4066| #define ICONV_CONST
4067| #define HAVE_CFPREFERENCESCOPYAPPVALUE 1
4068| #define HAVE_CFLOCALECOPYCURRENT 1
4069| #define HAVE_ICONV 1
4070| #define ENABLE_NLS 1
4071| #define HAVE_GETTEXT 1
4072| #define HAVE_DCGETTEXT 1
4073| #define OS_URL "http://sourceforge.net/projects/minidlna/"
4074| #define ROOTDEV_MANUFACTURER "Justin Maggard"
4075| #define ROOTDEV_MANUFACTURERURL "http://www.netgear.com/"
4076| #define ROOTDEV_MODELNAME "Windows Media Connect compatible (MiniDLNA)"
4077| #define ROOTDEV_MODELDESCRIPTION "MiniDLNA on " OS_NAME
4078| #define ROOTDEV_MODELURL OS_URL
4079| #define HAVE_DIRENT_H 1
4080| #define HAVE_STRUCT_DIRENT_D_TYPE 1
4081| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
4082| #define HAVE_ST_BLOCKS 1
4083| #define HAVE__BOOL 1
4084| #define HAVE_STDBOOL_H 1
4085| /* end confdefs.h.  */
4086| #include <sys/types.h>
4087|               #include <sys/param.h>
4088|
4089| int
4090| main (void)
4091| {
4092| #if BYTE_ORDER != BIG_ENDIAN
4093|                not big endian
4094|               #endif
4095|
4096|   ;
4097|   return 0;
4098| }
4099configure:9496: result: no
4100configure:9521: checking for fork
4101configure:9521: /usr/bin/clang -o conftest -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 conftest.c  >&5
4102configure:9521: $? = 0
4103configure:9521: result: yes
4104configure:9521: checking for vfork
4105configure:9521: /usr/bin/clang -o conftest -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 conftest.c  >&5
4106conftest.c:75:6: warning: incompatible redeclaration of library function 'vfork' [-Wincompatible-library-redeclaration]
4107char vfork ();
4108     ^
4109conftest.c:75:6: note: 'vfork' is a builtin with type 'int (void)'
41101 warning generated.
4111configure:9521: $? = 0
4112configure:9521: result: yes
4113configure:9534: checking for working fork
4114configure:9558: /usr/bin/clang -o conftest -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 conftest.c  >&5
4115configure:9558: $? = 0
4116configure:9558: ./conftest
4117configure:9558: $? = 0
4118configure:9569: result: yes
4119configure:9590: checking for working vfork
4120configure:9719: result: yes
4121configure:9744: checking whether lstat correctly handles trailing slash
4122configure:9777: /usr/bin/clang -o conftest -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 conftest.c  >&5
4123configure:9777: $? = 0
4124configure:9777: ./conftest
4125configure:9777: $? = 1
4126configure: program exited with status 1
4127configure: failed program was:
4128| /* confdefs.h */
4129| #define PACKAGE_NAME "MiniDLNA"
4130| #define PACKAGE_TARNAME "minidlna"
4131| #define PACKAGE_VERSION "1.1.3"
4132| #define PACKAGE_STRING "MiniDLNA 1.1.3"
4133| #define PACKAGE_BUGREPORT ""
4134| #define PACKAGE_URL ""
4135| #define PACKAGE "minidlna"
4136| #define VERSION "1.1.3"
4137| #define HAVE_STDIO_H 1
4138| #define HAVE_STDLIB_H 1
4139| #define HAVE_STRING_H 1
4140| #define HAVE_INTTYPES_H 1
4141| #define HAVE_STDINT_H 1
4142| #define HAVE_STRINGS_H 1
4143| #define HAVE_SYS_STAT_H 1
4144| #define HAVE_SYS_TYPES_H 1
4145| #define HAVE_UNISTD_H 1
4146| #define HAVE_WCHAR_H 1
4147| #define STDC_HEADERS 1
4148| #define _ALL_SOURCE 1
4149| #define _DARWIN_C_SOURCE 1
4150| #define _GNU_SOURCE 1
4151| #define _HPUX_ALT_XOPEN_SOCKET_API 1
4152| #define _NETBSD_SOURCE 1
4153| #define _OPENBSD_SOURCE 1
4154| #define _POSIX_PTHREAD_SEMANTICS 1
4155| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
4156| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
4157| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
4158| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
4159| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
4160| #define __STDC_WANT_LIB_EXT2__ 1
4161| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
4162| #define _TANDEM_SOURCE 1
4163| #define __EXTENSIONS__ 1
4164| #define HAVE_ICONV 1
4165| #define ICONV_CONST
4166| #define HAVE_CFPREFERENCESCOPYAPPVALUE 1
4167| #define HAVE_CFLOCALECOPYCURRENT 1
4168| #define HAVE_ICONV 1
4169| #define ENABLE_NLS 1
4170| #define HAVE_GETTEXT 1
4171| #define HAVE_DCGETTEXT 1
4172| #define OS_URL "http://sourceforge.net/projects/minidlna/"
4173| #define ROOTDEV_MANUFACTURER "Justin Maggard"
4174| #define ROOTDEV_MANUFACTURERURL "http://www.netgear.com/"
4175| #define ROOTDEV_MODELNAME "Windows Media Connect compatible (MiniDLNA)"
4176| #define ROOTDEV_MODELDESCRIPTION "MiniDLNA on " OS_NAME
4177| #define ROOTDEV_MODELURL OS_URL
4178| #define HAVE_DIRENT_H 1
4179| #define HAVE_STRUCT_DIRENT_D_TYPE 1
4180| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
4181| #define HAVE_ST_BLOCKS 1
4182| #define HAVE__BOOL 1
4183| #define HAVE_STDBOOL_H 1
4184| #define HAVE_FORK 1
4185| #define HAVE_VFORK 1
4186| #define HAVE_WORKING_VFORK 1
4187| #define HAVE_WORKING_FORK 1
4188| /* end confdefs.h.  */
4189| #include <stddef.h>
4190| #ifdef HAVE_STDIO_H
4191| # include <stdio.h>
4192| #endif
4193| #ifdef HAVE_STDLIB_H
4194| # include <stdlib.h>
4195| #endif
4196| #ifdef HAVE_STRING_H
4197| # include <string.h>
4198| #endif
4199| #ifdef HAVE_INTTYPES_H
4200| # include <inttypes.h>
4201| #endif
4202| #ifdef HAVE_STDINT_H
4203| # include <stdint.h>
4204| #endif
4205| #ifdef HAVE_STRINGS_H
4206| # include <strings.h>
4207| #endif
4208| #ifdef HAVE_SYS_TYPES_H
4209| # include <sys/types.h>
4210| #endif
4211| #ifdef HAVE_SYS_STAT_H
4212| # include <sys/stat.h>
4213| #endif
4214| #ifdef HAVE_UNISTD_H
4215| # include <unistd.h>
4216| #endif
4217| int
4218| main (void)
4219| {
4220| struct stat sbuf;
4221|      /* Linux will dereference the symlink and fail, as required by POSIX.
4222|       That is better in the sense that it means we will not
4223|       have to compile and use the lstat wrapper.  */
4224|      return lstat ("conftest.sym/", &sbuf) == 0;
4225|   ;
4226|   return 0;
4227| }
4228configure:9795: result: no
4229configure:9812: checking for gethostname
4230configure:9812: /usr/bin/clang -o conftest -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 conftest.c  >&5
4231configure:9812: $? = 0
4232configure:9812: result: yes
4233configure:9818: checking for getifaddrs
4234configure:9818: /usr/bin/clang -o conftest -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 conftest.c  >&5
4235configure:9818: $? = 0
4236configure:9818: result: yes
4237configure:9824: checking for gettimeofday
4238configure:9824: /usr/bin/clang -o conftest -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 conftest.c  >&5
4239configure:9824: $? = 0
4240configure:9824: result: yes
4241configure:9830: checking for inet_ntoa
4242configure:9830: /usr/bin/clang -o conftest -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 conftest.c  >&5
4243configure:9830: $? = 0
4244configure:9830: result: yes
4245configure:9836: checking for memmove
4246configure:9836: /usr/bin/clang -o conftest -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 conftest.c  >&5
4247conftest.c:82:6: warning: incompatible redeclaration of library function 'memmove' [-Wincompatible-library-redeclaration]
4248char memmove ();
4249     ^
4250conftest.c:82:6: note: 'memmove' is a builtin with type 'void *(void *, const void *, unsigned long)'
42511 warning generated.
4252configure:9836: $? = 0
4253configure:9836: result: yes
4254configure:9842: checking for memset
4255configure:9842: /usr/bin/clang -o conftest -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 conftest.c  >&5
4256conftest.c:83:6: warning: incompatible redeclaration of library function 'memset' [-Wincompatible-library-redeclaration]
4257char memset ();
4258     ^
4259conftest.c:83:6: note: 'memset' is a builtin with type 'void *(void *, int, unsigned long)'
42601 warning generated.
4261configure:9842: $? = 0
4262configure:9842: result: yes
4263configure:9848: checking for mkdir
4264configure:9848: /usr/bin/clang -o conftest -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 conftest.c  >&5
4265configure:9848: $? = 0
4266configure:9848: result: yes
4267configure:9854: checking for realpath
4268configure:9854: /usr/bin/clang -o conftest -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 conftest.c  >&5
4269configure:9854: $? = 0
4270configure:9854: result: yes
4271configure:9860: checking for select
4272configure:9860: /usr/bin/clang -o conftest -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 conftest.c  >&5
4273configure:9860: $? = 0
4274configure:9860: result: yes
4275configure:9866: checking for sendfile
4276configure:9866: /usr/bin/clang -o conftest -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 conftest.c  >&5
4277configure:9866: $? = 0
4278configure:9866: result: yes
4279configure:9872: checking for setlocale
4280configure:9872: /usr/bin/clang -o conftest -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 conftest.c  >&5
4281configure:9872: $? = 0
4282configure:9872: result: yes
4283configure:9878: checking for socket
4284configure:9878: /usr/bin/clang -o conftest -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 conftest.c  >&5
4285configure:9878: $? = 0
4286configure:9878: result: yes
4287configure:9884: checking for strcasecmp
4288configure:9884: /usr/bin/clang -o conftest -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 conftest.c  >&5
4289conftest.c:90:6: warning: incompatible redeclaration of library function 'strcasecmp' [-Wincompatible-library-redeclaration]
4290char strcasecmp ();
4291     ^
4292conftest.c:90:6: note: 'strcasecmp' is a builtin with type 'int (const char *, const char *)'
42931 warning generated.
4294configure:9884: $? = 0
4295configure:9884: result: yes
4296configure:9890: checking for strchr
4297configure:9890: /usr/bin/clang -o conftest -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 conftest.c  >&5
4298conftest.c:91:6: warning: incompatible redeclaration of library function 'strchr' [-Wincompatible-library-redeclaration]
4299char strchr ();
4300     ^
4301conftest.c:91:6: note: 'strchr' is a builtin with type 'char *(const char *, int)'
43021 warning generated.
4303configure:9890: $? = 0
4304configure:9890: result: yes
4305configure:9896: checking for strdup
4306configure:9896: /usr/bin/clang -o conftest -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 conftest.c  >&5
4307conftest.c:92:6: warning: incompatible redeclaration of library function 'strdup' [-Wincompatible-library-redeclaration]
4308char strdup ();
4309     ^
4310conftest.c:92:6: note: 'strdup' is a builtin with type 'char *(const char *)'
43111 warning generated.
4312configure:9896: $? = 0
4313configure:9896: result: yes
4314configure:9902: checking for strerror
4315configure:9902: /usr/bin/clang -o conftest -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 conftest.c  >&5
4316conftest.c:93:6: warning: incompatible redeclaration of library function 'strerror' [-Wincompatible-library-redeclaration]
4317char strerror ();
4318     ^
4319conftest.c:93:6: note: 'strerror' is a builtin with type 'char *(int)'
43201 warning generated.
4321configure:9902: $? = 0
4322configure:9902: result: yes
4323configure:9908: checking for strncasecmp
4324configure:9908: /usr/bin/clang -o conftest -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 conftest.c  >&5
4325conftest.c:94:6: warning: incompatible redeclaration of library function 'strncasecmp' [-Wincompatible-library-redeclaration]
4326char strncasecmp ();
4327     ^
4328conftest.c:94:6: note: 'strncasecmp' is a builtin with type 'int (const char *, const char *, unsigned long)'
43291 warning generated.
4330configure:9908: $? = 0
4331configure:9908: result: yes
4332configure:9914: checking for strpbrk
4333configure:9914: /usr/bin/clang -o conftest -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 conftest.c  >&5
4334conftest.c:95:6: warning: incompatible redeclaration of library function 'strpbrk' [-Wincompatible-library-redeclaration]
4335char strpbrk ();
4336     ^
4337conftest.c:95:6: note: 'strpbrk' is a builtin with type 'char *(const char *, const char *)'
43381 warning generated.
4339configure:9914: $? = 0
4340configure:9914: result: yes
4341configure:9920: checking for strrchr
4342configure:9920: /usr/bin/clang -o conftest -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 conftest.c  >&5
4343conftest.c:96:6: warning: incompatible redeclaration of library function 'strrchr' [-Wincompatible-library-redeclaration]
4344char strrchr ();
4345     ^
4346conftest.c:96:6: note: 'strrchr' is a builtin with type 'char *(const char *, int)'
43471 warning generated.
4348configure:9920: $? = 0
4349configure:9920: result: yes
4350configure:9926: checking for strstr
4351configure:9926: /usr/bin/clang -o conftest -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 conftest.c  >&5
4352conftest.c:97:6: warning: incompatible redeclaration of library function 'strstr' [-Wincompatible-library-redeclaration]
4353char strstr ();
4354     ^
4355conftest.c:97:6: note: 'strstr' is a builtin with type 'char *(const char *, const char *)'
43561 warning generated.
4357configure:9926: $? = 0
4358configure:9926: result: yes
4359configure:9932: checking for strtol
4360configure:9932: /usr/bin/clang -o conftest -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 conftest.c  >&5
4361conftest.c:98:6: warning: incompatible redeclaration of library function 'strtol' [-Wincompatible-library-redeclaration]
4362char strtol ();
4363     ^
4364conftest.c:98:6: note: 'strtol' is a builtin with type 'long (const char *, char **, int)'
43651 warning generated.
4366configure:9932: $? = 0
4367configure:9932: result: yes
4368configure:9938: checking for strtoul
4369configure:9938: /usr/bin/clang -o conftest -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 conftest.c  >&5
4370conftest.c:99:6: warning: incompatible redeclaration of library function 'strtoul' [-Wincompatible-library-redeclaration]
4371char strtoul ();
4372     ^
4373conftest.c:99:6: note: 'strtoul' is a builtin with type 'unsigned long (const char *, char **, int)'
43741 warning generated.
4375configure:9938: $? = 0
4376configure:9938: result: yes
4377configure:9945: checking for /usr/bin/clang options needed to detect all undeclared functions
4378configure:9967: /usr/bin/clang -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64  -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
4379conftest.c:88:8: error: implicitly declaring library function 'strchr' with type 'char *(const char *, int)' [-Werror,-Wimplicit-function-declaration]
4380(void) strchr;
4381       ^
4382conftest.c:88:8: note: include the header <string.h> or explicitly provide a declaration for 'strchr'
43831 error generated.
4384configure:9967: $? = 1
4385configure: failed program was:
4386| /* confdefs.h */
4387| #define PACKAGE_NAME "MiniDLNA"
4388| #define PACKAGE_TARNAME "minidlna"
4389| #define PACKAGE_VERSION "1.1.3"
4390| #define PACKAGE_STRING "MiniDLNA 1.1.3"
4391| #define PACKAGE_BUGREPORT ""
4392| #define PACKAGE_URL ""
4393| #define PACKAGE "minidlna"
4394| #define VERSION "1.1.3"
4395| #define HAVE_STDIO_H 1
4396| #define HAVE_STDLIB_H 1
4397| #define HAVE_STRING_H 1
4398| #define HAVE_INTTYPES_H 1
4399| #define HAVE_STDINT_H 1
4400| #define HAVE_STRINGS_H 1
4401| #define HAVE_SYS_STAT_H 1
4402| #define HAVE_SYS_TYPES_H 1
4403| #define HAVE_UNISTD_H 1
4404| #define HAVE_WCHAR_H 1
4405| #define STDC_HEADERS 1
4406| #define _ALL_SOURCE 1
4407| #define _DARWIN_C_SOURCE 1
4408| #define _GNU_SOURCE 1
4409| #define _HPUX_ALT_XOPEN_SOCKET_API 1
4410| #define _NETBSD_SOURCE 1
4411| #define _OPENBSD_SOURCE 1
4412| #define _POSIX_PTHREAD_SEMANTICS 1
4413| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
4414| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
4415| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
4416| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
4417| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
4418| #define __STDC_WANT_LIB_EXT2__ 1
4419| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
4420| #define _TANDEM_SOURCE 1
4421| #define __EXTENSIONS__ 1
4422| #define HAVE_ICONV 1
4423| #define ICONV_CONST
4424| #define HAVE_CFPREFERENCESCOPYAPPVALUE 1
4425| #define HAVE_CFLOCALECOPYCURRENT 1
4426| #define HAVE_ICONV 1
4427| #define ENABLE_NLS 1
4428| #define HAVE_GETTEXT 1
4429| #define HAVE_DCGETTEXT 1
4430| #define OS_URL "http://sourceforge.net/projects/minidlna/"
4431| #define ROOTDEV_MANUFACTURER "Justin Maggard"
4432| #define ROOTDEV_MANUFACTURERURL "http://www.netgear.com/"
4433| #define ROOTDEV_MODELNAME "Windows Media Connect compatible (MiniDLNA)"
4434| #define ROOTDEV_MODELDESCRIPTION "MiniDLNA on " OS_NAME
4435| #define ROOTDEV_MODELURL OS_URL
4436| #define HAVE_DIRENT_H 1
4437| #define HAVE_STRUCT_DIRENT_D_TYPE 1
4438| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
4439| #define HAVE_ST_BLOCKS 1
4440| #define HAVE__BOOL 1
4441| #define HAVE_STDBOOL_H 1
4442| #define HAVE_FORK 1
4443| #define HAVE_VFORK 1
4444| #define HAVE_WORKING_VFORK 1
4445| #define HAVE_WORKING_FORK 1
4446| #define HAVE_GETHOSTNAME 1
4447| #define HAVE_GETIFADDRS 1
4448| #define HAVE_GETTIMEOFDAY 1
4449| #define HAVE_INET_NTOA 1
4450| #define HAVE_MEMMOVE 1
4451| #define HAVE_MEMSET 1
4452| #define HAVE_MKDIR 1
4453| #define HAVE_REALPATH 1
4454| #define HAVE_SELECT 1
4455| #define HAVE_SENDFILE 1
4456| #define HAVE_SETLOCALE 1
4457| #define HAVE_SOCKET 1
4458| #define HAVE_STRCASECMP 1
4459| #define HAVE_STRCHR 1
4460| #define HAVE_STRDUP 1
4461| #define HAVE_STRERROR 1
4462| #define HAVE_STRNCASECMP 1
4463| #define HAVE_STRPBRK 1
4464| #define HAVE_STRRCHR 1
4465| #define HAVE_STRSTR 1
4466| #define HAVE_STRTOL 1
4467| #define HAVE_STRTOUL 1
4468| /* end confdefs.h.  */
4469|
4470| int
4471| main (void)
4472| {
4473| (void) strchr;
4474|   ;
4475|   return 0;
4476| }
4477configure:9994: /usr/bin/clang -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64  -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
4478configure:9994: $? = 0
4479configure:10011: result: none needed
4480configure:10025: checking whether SEEK_HOLE is declared
4481configure:10025: /usr/bin/clang -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64  -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
4482configure:10025: $? = 0
4483configure:10025: result: yes
4484configure:10034: checking for library containing clock_gettime
4485configure:10064: /usr/bin/clang -o conftest -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 conftest.c  >&5
4486configure:10064: $? = 0
4487configure:10084: result: none required
4488configure:10099: checking for struct ip_mreqn
4489configure:10115: /usr/bin/clang -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
4490configure:10115: $? = 0
4491configure:10119: result: yes
4492configure:10196: checking for syscall.h
4493configure:10196: /usr/bin/clang -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
4494conftest.c:115:10: fatal error: 'syscall.h' file not found
4495#include <syscall.h>
4496         ^~~~~~~~~~~
44971 error generated.
4498configure:10196: $? = 1
4499configure: failed program was:
4500| /* confdefs.h */
4501| #define PACKAGE_NAME "MiniDLNA"
4502| #define PACKAGE_TARNAME "minidlna"
4503| #define PACKAGE_VERSION "1.1.3"
4504| #define PACKAGE_STRING "MiniDLNA 1.1.3"
4505| #define PACKAGE_BUGREPORT ""
4506| #define PACKAGE_URL ""
4507| #define PACKAGE "minidlna"
4508| #define VERSION "1.1.3"
4509| #define HAVE_STDIO_H 1
4510| #define HAVE_STDLIB_H 1
4511| #define HAVE_STRING_H 1
4512| #define HAVE_INTTYPES_H 1
4513| #define HAVE_STDINT_H 1
4514| #define HAVE_STRINGS_H 1
4515| #define HAVE_SYS_STAT_H 1
4516| #define HAVE_SYS_TYPES_H 1
4517| #define HAVE_UNISTD_H 1
4518| #define HAVE_WCHAR_H 1
4519| #define STDC_HEADERS 1
4520| #define _ALL_SOURCE 1
4521| #define _DARWIN_C_SOURCE 1
4522| #define _GNU_SOURCE 1
4523| #define _HPUX_ALT_XOPEN_SOCKET_API 1
4524| #define _NETBSD_SOURCE 1
4525| #define _OPENBSD_SOURCE 1
4526| #define _POSIX_PTHREAD_SEMANTICS 1
4527| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
4528| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
4529| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
4530| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
4531| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
4532| #define __STDC_WANT_LIB_EXT2__ 1
4533| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
4534| #define _TANDEM_SOURCE 1
4535| #define __EXTENSIONS__ 1
4536| #define HAVE_ICONV 1
4537| #define ICONV_CONST
4538| #define HAVE_CFPREFERENCESCOPYAPPVALUE 1
4539| #define HAVE_CFLOCALECOPYCURRENT 1
4540| #define HAVE_ICONV 1
4541| #define ENABLE_NLS 1
4542| #define HAVE_GETTEXT 1
4543| #define HAVE_DCGETTEXT 1
4544| #define OS_URL "http://sourceforge.net/projects/minidlna/"
4545| #define ROOTDEV_MANUFACTURER "Justin Maggard"
4546| #define ROOTDEV_MANUFACTURERURL "http://www.netgear.com/"
4547| #define ROOTDEV_MODELNAME "Windows Media Connect compatible (MiniDLNA)"
4548| #define ROOTDEV_MODELDESCRIPTION "MiniDLNA on " OS_NAME
4549| #define ROOTDEV_MODELURL OS_URL
4550| #define HAVE_DIRENT_H 1
4551| #define HAVE_STRUCT_DIRENT_D_TYPE 1
4552| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
4553| #define HAVE_ST_BLOCKS 1
4554| #define HAVE__BOOL 1
4555| #define HAVE_STDBOOL_H 1
4556| #define HAVE_FORK 1
4557| #define HAVE_VFORK 1
4558| #define HAVE_WORKING_VFORK 1
4559| #define HAVE_WORKING_FORK 1
4560| #define HAVE_GETHOSTNAME 1
4561| #define HAVE_GETIFADDRS 1
4562| #define HAVE_GETTIMEOFDAY 1
4563| #define HAVE_INET_NTOA 1
4564| #define HAVE_MEMMOVE 1
4565| #define HAVE_MEMSET 1
4566| #define HAVE_MKDIR 1
4567| #define HAVE_REALPATH 1
4568| #define HAVE_SELECT 1
4569| #define HAVE_SENDFILE 1
4570| #define HAVE_SETLOCALE 1
4571| #define HAVE_SOCKET 1
4572| #define HAVE_STRCASECMP 1
4573| #define HAVE_STRCHR 1
4574| #define HAVE_STRDUP 1
4575| #define HAVE_STRERROR 1
4576| #define HAVE_STRNCASECMP 1
4577| #define HAVE_STRPBRK 1
4578| #define HAVE_STRRCHR 1
4579| #define HAVE_STRSTR 1
4580| #define HAVE_STRTOL 1
4581| #define HAVE_STRTOUL 1
4582| #define HAVE_DECL_SEEK_HOLE 1
4583| #define HAVE_CLOCK_GETTIME 1
4584| #define HAVE_STRUCT_IP_MREQN /**/
4585| /* end confdefs.h.  */
4586| #include <stddef.h>
4587| #ifdef HAVE_STDIO_H
4588| # include <stdio.h>
4589| #endif
4590| #ifdef HAVE_STDLIB_H
4591| # include <stdlib.h>
4592| #endif
4593| #ifdef HAVE_STRING_H
4594| # include <string.h>
4595| #endif
4596| #ifdef HAVE_INTTYPES_H
4597| # include <inttypes.h>
4598| #endif
4599| #ifdef HAVE_STDINT_H
4600| # include <stdint.h>
4601| #endif
4602| #ifdef HAVE_STRINGS_H
4603| # include <strings.h>
4604| #endif
4605| #ifdef HAVE_SYS_TYPES_H
4606| # include <sys/types.h>
4607| #endif
4608| #ifdef HAVE_SYS_STAT_H
4609| # include <sys/stat.h>
4610| #endif
4611| #ifdef HAVE_UNISTD_H
4612| # include <unistd.h>
4613| #endif
4614| #include <syscall.h>
4615configure:10196: result: no
4616configure:10202: checking for sys/syscall.h
4617configure:10202: /usr/bin/clang -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
4618configure:10202: $? = 0
4619configure:10202: result: yes
4620configure:10208: checking for mach/mach_time.h
4621configure:10208: /usr/bin/clang -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
4622configure:10208: $? = 0
4623configure:10208: result: yes
4624configure:10215: checking for __NR_clock_gettime syscall
4625configure:10235: /usr/bin/clang -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
4626conftest.c:90:22: fatal error: 'asm/unistd.h' file not found
4627            #include <asm/unistd.h>
4628                     ^~~~~~~~~~~~~~
46291 error generated.
4630configure:10235: $? = 1
4631configure: failed program was:
4632| /* confdefs.h */
4633| #define PACKAGE_NAME "MiniDLNA"
4634| #define PACKAGE_TARNAME "minidlna"
4635| #define PACKAGE_VERSION "1.1.3"
4636| #define PACKAGE_STRING "MiniDLNA 1.1.3"
4637| #define PACKAGE_BUGREPORT ""
4638| #define PACKAGE_URL ""
4639| #define PACKAGE "minidlna"
4640| #define VERSION "1.1.3"
4641| #define HAVE_STDIO_H 1
4642| #define HAVE_STDLIB_H 1
4643| #define HAVE_STRING_H 1
4644| #define HAVE_INTTYPES_H 1
4645| #define HAVE_STDINT_H 1
4646| #define HAVE_STRINGS_H 1
4647| #define HAVE_SYS_STAT_H 1
4648| #define HAVE_SYS_TYPES_H 1
4649| #define HAVE_UNISTD_H 1
4650| #define HAVE_WCHAR_H 1
4651| #define STDC_HEADERS 1
4652| #define _ALL_SOURCE 1
4653| #define _DARWIN_C_SOURCE 1
4654| #define _GNU_SOURCE 1
4655| #define _HPUX_ALT_XOPEN_SOCKET_API 1
4656| #define _NETBSD_SOURCE 1
4657| #define _OPENBSD_SOURCE 1
4658| #define _POSIX_PTHREAD_SEMANTICS 1
4659| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
4660| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
4661| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
4662| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
4663| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
4664| #define __STDC_WANT_LIB_EXT2__ 1
4665| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
4666| #define _TANDEM_SOURCE 1
4667| #define __EXTENSIONS__ 1
4668| #define HAVE_ICONV 1
4669| #define ICONV_CONST
4670| #define HAVE_CFPREFERENCESCOPYAPPVALUE 1
4671| #define HAVE_CFLOCALECOPYCURRENT 1
4672| #define HAVE_ICONV 1
4673| #define ENABLE_NLS 1
4674| #define HAVE_GETTEXT 1
4675| #define HAVE_DCGETTEXT 1
4676| #define OS_URL "http://sourceforge.net/projects/minidlna/"
4677| #define ROOTDEV_MANUFACTURER "Justin Maggard"
4678| #define ROOTDEV_MANUFACTURERURL "http://www.netgear.com/"
4679| #define ROOTDEV_MODELNAME "Windows Media Connect compatible (MiniDLNA)"
4680| #define ROOTDEV_MODELDESCRIPTION "MiniDLNA on " OS_NAME
4681| #define ROOTDEV_MODELURL OS_URL
4682| #define HAVE_DIRENT_H 1
4683| #define HAVE_STRUCT_DIRENT_D_TYPE 1
4684| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
4685| #define HAVE_ST_BLOCKS 1
4686| #define HAVE__BOOL 1
4687| #define HAVE_STDBOOL_H 1
4688| #define HAVE_FORK 1
4689| #define HAVE_VFORK 1
4690| #define HAVE_WORKING_VFORK 1
4691| #define HAVE_WORKING_FORK 1
4692| #define HAVE_GETHOSTNAME 1
4693| #define HAVE_GETIFADDRS 1
4694| #define HAVE_GETTIMEOFDAY 1
4695| #define HAVE_INET_NTOA 1
4696| #define HAVE_MEMMOVE 1
4697| #define HAVE_MEMSET 1
4698| #define HAVE_MKDIR 1
4699| #define HAVE_REALPATH 1
4700| #define HAVE_SELECT 1
4701| #define HAVE_SENDFILE 1
4702| #define HAVE_SETLOCALE 1
4703| #define HAVE_SOCKET 1
4704| #define HAVE_STRCASECMP 1
4705| #define HAVE_STRCHR 1
4706| #define HAVE_STRDUP 1
4707| #define HAVE_STRERROR 1
4708| #define HAVE_STRNCASECMP 1
4709| #define HAVE_STRPBRK 1
4710| #define HAVE_STRRCHR 1
4711| #define HAVE_STRSTR 1
4712| #define HAVE_STRTOL 1
4713| #define HAVE_STRTOUL 1
4714| #define HAVE_DECL_SEEK_HOLE 1
4715| #define HAVE_CLOCK_GETTIME 1
4716| #define HAVE_STRUCT_IP_MREQN /**/
4717| #define HAVE_SYS_SYSCALL_H 1
4718| #define HAVE_MACH_MACH_TIME_H 1
4719| /* end confdefs.h.  */
4720|
4721|             #include <asm/unistd.h>
4722|
4723| int
4724| main (void)
4725| {
4726|
4727|             #ifndef __NR_clock_gettime
4728|             #error
4729|             #endif
4730|
4731|
4732|   ;
4733|   return 0;
4734| }
4735configure:10246: result: no
4736configure:10252: checking for linux/netlink.h
4737configure:10252: /usr/bin/clang -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
4738conftest.c:91:10: fatal error: 'linux/netlink.h' file not found
4739#include <linux/netlink.h>
4740         ^~~~~~~~~~~~~~~~~
47411 error generated.
4742configure:10252: $? = 1
4743configure: failed program was:
4744| /* confdefs.h */
4745| #define PACKAGE_NAME "MiniDLNA"
4746| #define PACKAGE_TARNAME "minidlna"
4747| #define PACKAGE_VERSION "1.1.3"
4748| #define PACKAGE_STRING "MiniDLNA 1.1.3"
4749| #define PACKAGE_BUGREPORT ""
4750| #define PACKAGE_URL ""
4751| #define PACKAGE "minidlna"
4752| #define VERSION "1.1.3"
4753| #define HAVE_STDIO_H 1
4754| #define HAVE_STDLIB_H 1
4755| #define HAVE_STRING_H 1
4756| #define HAVE_INTTYPES_H 1
4757| #define HAVE_STDINT_H 1
4758| #define HAVE_STRINGS_H 1
4759| #define HAVE_SYS_STAT_H 1
4760| #define HAVE_SYS_TYPES_H 1
4761| #define HAVE_UNISTD_H 1
4762| #define HAVE_WCHAR_H 1
4763| #define STDC_HEADERS 1
4764| #define _ALL_SOURCE 1
4765| #define _DARWIN_C_SOURCE 1
4766| #define _GNU_SOURCE 1
4767| #define _HPUX_ALT_XOPEN_SOCKET_API 1
4768| #define _NETBSD_SOURCE 1
4769| #define _OPENBSD_SOURCE 1
4770| #define _POSIX_PTHREAD_SEMANTICS 1
4771| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
4772| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
4773| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
4774| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
4775| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
4776| #define __STDC_WANT_LIB_EXT2__ 1
4777| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
4778| #define _TANDEM_SOURCE 1
4779| #define __EXTENSIONS__ 1
4780| #define HAVE_ICONV 1
4781| #define ICONV_CONST
4782| #define HAVE_CFPREFERENCESCOPYAPPVALUE 1
4783| #define HAVE_CFLOCALECOPYCURRENT 1
4784| #define HAVE_ICONV 1
4785| #define ENABLE_NLS 1
4786| #define HAVE_GETTEXT 1
4787| #define HAVE_DCGETTEXT 1
4788| #define OS_URL "http://sourceforge.net/projects/minidlna/"
4789| #define ROOTDEV_MANUFACTURER "Justin Maggard"
4790| #define ROOTDEV_MANUFACTURERURL "http://www.netgear.com/"
4791| #define ROOTDEV_MODELNAME "Windows Media Connect compatible (MiniDLNA)"
4792| #define ROOTDEV_MODELDESCRIPTION "MiniDLNA on " OS_NAME
4793| #define ROOTDEV_MODELURL OS_URL
4794| #define HAVE_DIRENT_H 1
4795| #define HAVE_STRUCT_DIRENT_D_TYPE 1
4796| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
4797| #define HAVE_ST_BLOCKS 1
4798| #define HAVE__BOOL 1
4799| #define HAVE_STDBOOL_H 1
4800| #define HAVE_FORK 1
4801| #define HAVE_VFORK 1
4802| #define HAVE_WORKING_VFORK 1
4803| #define HAVE_WORKING_FORK 1
4804| #define HAVE_GETHOSTNAME 1
4805| #define HAVE_GETIFADDRS 1
4806| #define HAVE_GETTIMEOFDAY 1
4807| #define HAVE_INET_NTOA 1
4808| #define HAVE_MEMMOVE 1
4809| #define HAVE_MEMSET 1
4810| #define HAVE_MKDIR 1
4811| #define HAVE_REALPATH 1
4812| #define HAVE_SELECT 1
4813| #define HAVE_SENDFILE 1
4814| #define HAVE_SETLOCALE 1
4815| #define HAVE_SOCKET 1
4816| #define HAVE_STRCASECMP 1
4817| #define HAVE_STRCHR 1
4818| #define HAVE_STRDUP 1
4819| #define HAVE_STRERROR 1
4820| #define HAVE_STRNCASECMP 1
4821| #define HAVE_STRPBRK 1
4822| #define HAVE_STRRCHR 1
4823| #define HAVE_STRSTR 1
4824| #define HAVE_STRTOL 1
4825| #define HAVE_STRTOUL 1
4826| #define HAVE_DECL_SEEK_HOLE 1
4827| #define HAVE_CLOCK_GETTIME 1
4828| #define HAVE_STRUCT_IP_MREQN /**/
4829| #define HAVE_SYS_SYSCALL_H 1
4830| #define HAVE_MACH_MACH_TIME_H 1
4831| /* end confdefs.h.  */
4832| #include <sys/socket.h>
4833|
4834| #include <linux/netlink.h>
4835configure:10252: result: no
4836configure:10273: checking for libavutil/avutil.h
4837configure:10273: /usr/bin/clang -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
4838configure:10273: $? = 0
4839configure:10273: result: yes
4840configure:10273: checking for ffmpeg/libavutil/avutil.h
4841configure:10273: /usr/bin/clang -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
4842conftest.c:118:10: fatal error: 'ffmpeg/libavutil/avutil.h' file not found
4843#include <ffmpeg/libavutil/avutil.h>
4844         ^~~~~~~~~~~~~~~~~~~~~~~~~~~
48451 error generated.
4846configure:10273: $? = 1
4847configure: failed program was:
4848| /* confdefs.h */
4849| #define PACKAGE_NAME "MiniDLNA"
4850| #define PACKAGE_TARNAME "minidlna"
4851| #define PACKAGE_VERSION "1.1.3"
4852| #define PACKAGE_STRING "MiniDLNA 1.1.3"
4853| #define PACKAGE_BUGREPORT ""
4854| #define PACKAGE_URL ""
4855| #define PACKAGE "minidlna"
4856| #define VERSION "1.1.3"
4857| #define HAVE_STDIO_H 1
4858| #define HAVE_STDLIB_H 1
4859| #define HAVE_STRING_H 1
4860| #define HAVE_INTTYPES_H 1
4861| #define HAVE_STDINT_H 1
4862| #define HAVE_STRINGS_H 1
4863| #define HAVE_SYS_STAT_H 1
4864| #define HAVE_SYS_TYPES_H 1
4865| #define HAVE_UNISTD_H 1
4866| #define HAVE_WCHAR_H 1
4867| #define STDC_HEADERS 1
4868| #define _ALL_SOURCE 1
4869| #define _DARWIN_C_SOURCE 1
4870| #define _GNU_SOURCE 1
4871| #define _HPUX_ALT_XOPEN_SOCKET_API 1
4872| #define _NETBSD_SOURCE 1
4873| #define _OPENBSD_SOURCE 1
4874| #define _POSIX_PTHREAD_SEMANTICS 1
4875| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
4876| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
4877| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
4878| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
4879| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
4880| #define __STDC_WANT_LIB_EXT2__ 1
4881| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
4882| #define _TANDEM_SOURCE 1
4883| #define __EXTENSIONS__ 1
4884| #define HAVE_ICONV 1
4885| #define ICONV_CONST
4886| #define HAVE_CFPREFERENCESCOPYAPPVALUE 1
4887| #define HAVE_CFLOCALECOPYCURRENT 1
4888| #define HAVE_ICONV 1
4889| #define ENABLE_NLS 1
4890| #define HAVE_GETTEXT 1
4891| #define HAVE_DCGETTEXT 1
4892| #define OS_URL "http://sourceforge.net/projects/minidlna/"
4893| #define ROOTDEV_MANUFACTURER "Justin Maggard"
4894| #define ROOTDEV_MANUFACTURERURL "http://www.netgear.com/"
4895| #define ROOTDEV_MODELNAME "Windows Media Connect compatible (MiniDLNA)"
4896| #define ROOTDEV_MODELDESCRIPTION "MiniDLNA on " OS_NAME
4897| #define ROOTDEV_MODELURL OS_URL
4898| #define HAVE_DIRENT_H 1
4899| #define HAVE_STRUCT_DIRENT_D_TYPE 1
4900| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
4901| #define HAVE_ST_BLOCKS 1
4902| #define HAVE__BOOL 1
4903| #define HAVE_STDBOOL_H 1
4904| #define HAVE_FORK 1
4905| #define HAVE_VFORK 1
4906| #define HAVE_WORKING_VFORK 1
4907| #define HAVE_WORKING_FORK 1
4908| #define HAVE_GETHOSTNAME 1
4909| #define HAVE_GETIFADDRS 1
4910| #define HAVE_GETTIMEOFDAY 1
4911| #define HAVE_INET_NTOA 1
4912| #define HAVE_MEMMOVE 1
4913| #define HAVE_MEMSET 1
4914| #define HAVE_MKDIR 1
4915| #define HAVE_REALPATH 1
4916| #define HAVE_SELECT 1
4917| #define HAVE_SENDFILE 1
4918| #define HAVE_SETLOCALE 1
4919| #define HAVE_SOCKET 1
4920| #define HAVE_STRCASECMP 1
4921| #define HAVE_STRCHR 1
4922| #define HAVE_STRDUP 1
4923| #define HAVE_STRERROR 1
4924| #define HAVE_STRNCASECMP 1
4925| #define HAVE_STRPBRK 1
4926| #define HAVE_STRRCHR 1
4927| #define HAVE_STRSTR 1
4928| #define HAVE_STRTOL 1
4929| #define HAVE_STRTOUL 1
4930| #define HAVE_DECL_SEEK_HOLE 1
4931| #define HAVE_CLOCK_GETTIME 1
4932| #define HAVE_STRUCT_IP_MREQN /**/
4933| #define HAVE_SYS_SYSCALL_H 1
4934| #define HAVE_MACH_MACH_TIME_H 1
4935| #define HAVE_LIBAVUTIL_AVUTIL_H 1
4936| /* end confdefs.h.  */
4937| #include <stddef.h>
4938| #ifdef HAVE_STDIO_H
4939| # include <stdio.h>
4940| #endif
4941| #ifdef HAVE_STDLIB_H
4942| # include <stdlib.h>
4943| #endif
4944| #ifdef HAVE_STRING_H
4945| # include <string.h>
4946| #endif
4947| #ifdef HAVE_INTTYPES_H
4948| # include <inttypes.h>
4949| #endif
4950| #ifdef HAVE_STDINT_H
4951| # include <stdint.h>
4952| #endif
4953| #ifdef HAVE_STRINGS_H
4954| # include <strings.h>
4955| #endif
4956| #ifdef HAVE_SYS_TYPES_H
4957| # include <sys/types.h>
4958| #endif
4959| #ifdef HAVE_SYS_STAT_H
4960| # include <sys/stat.h>
4961| #endif
4962| #ifdef HAVE_UNISTD_H
4963| # include <unistd.h>
4964| #endif
4965| #include <ffmpeg/libavutil/avutil.h>
4966configure:10273: result: no
4967configure:10273: checking for libav/libavutil/avutil.h
4968configure:10273: /usr/bin/clang -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
4969conftest.c:118:10: fatal error: 'libav/libavutil/avutil.h' file not found
4970#include <libav/libavutil/avutil.h>
4971         ^~~~~~~~~~~~~~~~~~~~~~~~~~
49721 error generated.
4973configure:10273: $? = 1
4974configure: failed program was:
4975| /* confdefs.h */
4976| #define PACKAGE_NAME "MiniDLNA"
4977| #define PACKAGE_TARNAME "minidlna"
4978| #define PACKAGE_VERSION "1.1.3"
4979| #define PACKAGE_STRING "MiniDLNA 1.1.3"
4980| #define PACKAGE_BUGREPORT ""
4981| #define PACKAGE_URL ""
4982| #define PACKAGE "minidlna"
4983| #define VERSION "1.1.3"
4984| #define HAVE_STDIO_H 1
4985| #define HAVE_STDLIB_H 1
4986| #define HAVE_STRING_H 1
4987| #define HAVE_INTTYPES_H 1
4988| #define HAVE_STDINT_H 1
4989| #define HAVE_STRINGS_H 1
4990| #define HAVE_SYS_STAT_H 1
4991| #define HAVE_SYS_TYPES_H 1
4992| #define HAVE_UNISTD_H 1
4993| #define HAVE_WCHAR_H 1
4994| #define STDC_HEADERS 1
4995| #define _ALL_SOURCE 1
4996| #define _DARWIN_C_SOURCE 1
4997| #define _GNU_SOURCE 1
4998| #define _HPUX_ALT_XOPEN_SOCKET_API 1
4999| #define _NETBSD_SOURCE 1
5000| #define _OPENBSD_SOURCE 1
5001| #define _POSIX_PTHREAD_SEMANTICS 1
5002| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
5003| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
5004| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
5005| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
5006| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
5007| #define __STDC_WANT_LIB_EXT2__ 1
5008| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
5009| #define _TANDEM_SOURCE 1
5010| #define __EXTENSIONS__ 1
5011| #define HAVE_ICONV 1
5012| #define ICONV_CONST
5013| #define HAVE_CFPREFERENCESCOPYAPPVALUE 1
5014| #define HAVE_CFLOCALECOPYCURRENT 1
5015| #define HAVE_ICONV 1
5016| #define ENABLE_NLS 1
5017| #define HAVE_GETTEXT 1
5018| #define HAVE_DCGETTEXT 1
5019| #define OS_URL "http://sourceforge.net/projects/minidlna/"
5020| #define ROOTDEV_MANUFACTURER "Justin Maggard"
5021| #define ROOTDEV_MANUFACTURERURL "http://www.netgear.com/"
5022| #define ROOTDEV_MODELNAME "Windows Media Connect compatible (MiniDLNA)"
5023| #define ROOTDEV_MODELDESCRIPTION "MiniDLNA on " OS_NAME
5024| #define ROOTDEV_MODELURL OS_URL
5025| #define HAVE_DIRENT_H 1
5026| #define HAVE_STRUCT_DIRENT_D_TYPE 1
5027| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
5028| #define HAVE_ST_BLOCKS 1
5029| #define HAVE__BOOL 1
5030| #define HAVE_STDBOOL_H 1
5031| #define HAVE_FORK 1
5032| #define HAVE_VFORK 1
5033| #define HAVE_WORKING_VFORK 1
5034| #define HAVE_WORKING_FORK 1
5035| #define HAVE_GETHOSTNAME 1
5036| #define HAVE_GETIFADDRS 1
5037| #define HAVE_GETTIMEOFDAY 1
5038| #define HAVE_INET_NTOA 1
5039| #define HAVE_MEMMOVE 1
5040| #define HAVE_MEMSET 1
5041| #define HAVE_MKDIR 1
5042| #define HAVE_REALPATH 1
5043| #define HAVE_SELECT 1
5044| #define HAVE_SENDFILE 1
5045| #define HAVE_SETLOCALE 1
5046| #define HAVE_SOCKET 1
5047| #define HAVE_STRCASECMP 1
5048| #define HAVE_STRCHR 1
5049| #define HAVE_STRDUP 1
5050| #define HAVE_STRERROR 1
5051| #define HAVE_STRNCASECMP 1
5052| #define HAVE_STRPBRK 1
5053| #define HAVE_STRRCHR 1
5054| #define HAVE_STRSTR 1
5055| #define HAVE_STRTOL 1
5056| #define HAVE_STRTOUL 1
5057| #define HAVE_DECL_SEEK_HOLE 1
5058| #define HAVE_CLOCK_GETTIME 1
5059| #define HAVE_STRUCT_IP_MREQN /**/
5060| #define HAVE_SYS_SYSCALL_H 1
5061| #define HAVE_MACH_MACH_TIME_H 1
5062| #define HAVE_LIBAVUTIL_AVUTIL_H 1
5063| /* end confdefs.h.  */
5064| #include <stddef.h>
5065| #ifdef HAVE_STDIO_H
5066| # include <stdio.h>
5067| #endif
5068| #ifdef HAVE_STDLIB_H
5069| # include <stdlib.h>
5070| #endif
5071| #ifdef HAVE_STRING_H
5072| # include <string.h>
5073| #endif
5074| #ifdef HAVE_INTTYPES_H
5075| # include <inttypes.h>
5076| #endif
5077| #ifdef HAVE_STDINT_H
5078| # include <stdint.h>
5079| #endif
5080| #ifdef HAVE_STRINGS_H
5081| # include <strings.h>
5082| #endif
5083| #ifdef HAVE_SYS_TYPES_H
5084| # include <sys/types.h>
5085| #endif
5086| #ifdef HAVE_SYS_STAT_H
5087| # include <sys/stat.h>
5088| #endif
5089| #ifdef HAVE_UNISTD_H
5090| # include <unistd.h>
5091| #endif
5092| #include <libav/libavutil/avutil.h>
5093configure:10273: result: no
5094configure:10273: checking for avutil.h
5095configure:10273: /usr/bin/clang -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
5096conftest.c:118:10: fatal error: 'avutil.h' file not found
5097#include <avutil.h>
5098         ^~~~~~~~~~
50991 error generated.
5100configure:10273: $? = 1
5101configure: failed program was:
5102| /* confdefs.h */
5103| #define PACKAGE_NAME "MiniDLNA"
5104| #define PACKAGE_TARNAME "minidlna"
5105| #define PACKAGE_VERSION "1.1.3"
5106| #define PACKAGE_STRING "MiniDLNA 1.1.3"
5107| #define PACKAGE_BUGREPORT ""
5108| #define PACKAGE_URL ""
5109| #define PACKAGE "minidlna"
5110| #define VERSION "1.1.3"
5111| #define HAVE_STDIO_H 1
5112| #define HAVE_STDLIB_H 1
5113| #define HAVE_STRING_H 1
5114| #define HAVE_INTTYPES_H 1
5115| #define HAVE_STDINT_H 1
5116| #define HAVE_STRINGS_H 1
5117| #define HAVE_SYS_STAT_H 1
5118| #define HAVE_SYS_TYPES_H 1
5119| #define HAVE_UNISTD_H 1
5120| #define HAVE_WCHAR_H 1
5121| #define STDC_HEADERS 1
5122| #define _ALL_SOURCE 1
5123| #define _DARWIN_C_SOURCE 1
5124| #define _GNU_SOURCE 1
5125| #define _HPUX_ALT_XOPEN_SOCKET_API 1
5126| #define _NETBSD_SOURCE 1
5127| #define _OPENBSD_SOURCE 1
5128| #define _POSIX_PTHREAD_SEMANTICS 1
5129| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
5130| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
5131| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
5132| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
5133| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
5134| #define __STDC_WANT_LIB_EXT2__ 1
5135| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
5136| #define _TANDEM_SOURCE 1
5137| #define __EXTENSIONS__ 1
5138| #define HAVE_ICONV 1
5139| #define ICONV_CONST
5140| #define HAVE_CFPREFERENCESCOPYAPPVALUE 1
5141| #define HAVE_CFLOCALECOPYCURRENT 1
5142| #define HAVE_ICONV 1
5143| #define ENABLE_NLS 1
5144| #define HAVE_GETTEXT 1
5145| #define HAVE_DCGETTEXT 1
5146| #define OS_URL "http://sourceforge.net/projects/minidlna/"
5147| #define ROOTDEV_MANUFACTURER "Justin Maggard"
5148| #define ROOTDEV_MANUFACTURERURL "http://www.netgear.com/"
5149| #define ROOTDEV_MODELNAME "Windows Media Connect compatible (MiniDLNA)"
5150| #define ROOTDEV_MODELDESCRIPTION "MiniDLNA on " OS_NAME
5151| #define ROOTDEV_MODELURL OS_URL
5152| #define HAVE_DIRENT_H 1
5153| #define HAVE_STRUCT_DIRENT_D_TYPE 1
5154| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
5155| #define HAVE_ST_BLOCKS 1
5156| #define HAVE__BOOL 1
5157| #define HAVE_STDBOOL_H 1
5158| #define HAVE_FORK 1
5159| #define HAVE_VFORK 1
5160| #define HAVE_WORKING_VFORK 1
5161| #define HAVE_WORKING_FORK 1
5162| #define HAVE_GETHOSTNAME 1
5163| #define HAVE_GETIFADDRS 1
5164| #define HAVE_GETTIMEOFDAY 1
5165| #define HAVE_INET_NTOA 1
5166| #define HAVE_MEMMOVE 1
5167| #define HAVE_MEMSET 1
5168| #define HAVE_MKDIR 1
5169| #define HAVE_REALPATH 1
5170| #define HAVE_SELECT 1
5171| #define HAVE_SENDFILE 1
5172| #define HAVE_SETLOCALE 1
5173| #define HAVE_SOCKET 1
5174| #define HAVE_STRCASECMP 1
5175| #define HAVE_STRCHR 1
5176| #define HAVE_STRDUP 1
5177| #define HAVE_STRERROR 1
5178| #define HAVE_STRNCASECMP 1
5179| #define HAVE_STRPBRK 1
5180| #define HAVE_STRRCHR 1
5181| #define HAVE_STRSTR 1
5182| #define HAVE_STRTOL 1
5183| #define HAVE_STRTOUL 1
5184| #define HAVE_DECL_SEEK_HOLE 1
5185| #define HAVE_CLOCK_GETTIME 1
5186| #define HAVE_STRUCT_IP_MREQN /**/
5187| #define HAVE_SYS_SYSCALL_H 1
5188| #define HAVE_MACH_MACH_TIME_H 1
5189| #define HAVE_LIBAVUTIL_AVUTIL_H 1
5190| /* end confdefs.h.  */
5191| #include <stddef.h>
5192| #ifdef HAVE_STDIO_H
5193| # include <stdio.h>
5194| #endif
5195| #ifdef HAVE_STDLIB_H
5196| # include <stdlib.h>
5197| #endif
5198| #ifdef HAVE_STRING_H
5199| # include <string.h>
5200| #endif
5201| #ifdef HAVE_INTTYPES_H
5202| # include <inttypes.h>
5203| #endif
5204| #ifdef HAVE_STDINT_H
5205| # include <stdint.h>
5206| #endif
5207| #ifdef HAVE_STRINGS_H
5208| # include <strings.h>
5209| #endif
5210| #ifdef HAVE_SYS_TYPES_H
5211| # include <sys/types.h>
5212| #endif
5213| #ifdef HAVE_SYS_STAT_H
5214| # include <sys/stat.h>
5215| #endif
5216| #ifdef HAVE_UNISTD_H
5217| # include <unistd.h>
5218| #endif
5219| #include <avutil.h>
5220configure:10273: result: no
5221configure:10273: checking for ffmpeg/avutil.h
5222configure:10273: /usr/bin/clang -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
5223conftest.c:118:10: fatal error: 'ffmpeg/avutil.h' file not found
5224#include <ffmpeg/avutil.h>
5225         ^~~~~~~~~~~~~~~~~
52261 error generated.
5227configure:10273: $? = 1
5228configure: failed program was:
5229| /* confdefs.h */
5230| #define PACKAGE_NAME "MiniDLNA"
5231| #define PACKAGE_TARNAME "minidlna"
5232| #define PACKAGE_VERSION "1.1.3"
5233| #define PACKAGE_STRING "MiniDLNA 1.1.3"
5234| #define PACKAGE_BUGREPORT ""
5235| #define PACKAGE_URL ""
5236| #define PACKAGE "minidlna"
5237| #define VERSION "1.1.3"
5238| #define HAVE_STDIO_H 1
5239| #define HAVE_STDLIB_H 1
5240| #define HAVE_STRING_H 1
5241| #define HAVE_INTTYPES_H 1
5242| #define HAVE_STDINT_H 1
5243| #define HAVE_STRINGS_H 1
5244| #define HAVE_SYS_STAT_H 1
5245| #define HAVE_SYS_TYPES_H 1
5246| #define HAVE_UNISTD_H 1
5247| #define HAVE_WCHAR_H 1
5248| #define STDC_HEADERS 1
5249| #define _ALL_SOURCE 1
5250| #define _DARWIN_C_SOURCE 1
5251| #define _GNU_SOURCE 1
5252| #define _HPUX_ALT_XOPEN_SOCKET_API 1
5253| #define _NETBSD_SOURCE 1
5254| #define _OPENBSD_SOURCE 1
5255| #define _POSIX_PTHREAD_SEMANTICS 1
5256| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
5257| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
5258| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
5259| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
5260| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
5261| #define __STDC_WANT_LIB_EXT2__ 1
5262| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
5263| #define _TANDEM_SOURCE 1
5264| #define __EXTENSIONS__ 1
5265| #define HAVE_ICONV 1
5266| #define ICONV_CONST
5267| #define HAVE_CFPREFERENCESCOPYAPPVALUE 1
5268| #define HAVE_CFLOCALECOPYCURRENT 1
5269| #define HAVE_ICONV 1
5270| #define ENABLE_NLS 1
5271| #define HAVE_GETTEXT 1
5272| #define HAVE_DCGETTEXT 1
5273| #define OS_URL "http://sourceforge.net/projects/minidlna/"
5274| #define ROOTDEV_MANUFACTURER "Justin Maggard"
5275| #define ROOTDEV_MANUFACTURERURL "http://www.netgear.com/"
5276| #define ROOTDEV_MODELNAME "Windows Media Connect compatible (MiniDLNA)"
5277| #define ROOTDEV_MODELDESCRIPTION "MiniDLNA on " OS_NAME
5278| #define ROOTDEV_MODELURL OS_URL
5279| #define HAVE_DIRENT_H 1
5280| #define HAVE_STRUCT_DIRENT_D_TYPE 1
5281| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
5282| #define HAVE_ST_BLOCKS 1
5283| #define HAVE__BOOL 1
5284| #define HAVE_STDBOOL_H 1
5285| #define HAVE_FORK 1
5286| #define HAVE_VFORK 1
5287| #define HAVE_WORKING_VFORK 1
5288| #define HAVE_WORKING_FORK 1
5289| #define HAVE_GETHOSTNAME 1
5290| #define HAVE_GETIFADDRS 1
5291| #define HAVE_GETTIMEOFDAY 1
5292| #define HAVE_INET_NTOA 1
5293| #define HAVE_MEMMOVE 1
5294| #define HAVE_MEMSET 1
5295| #define HAVE_MKDIR 1
5296| #define HAVE_REALPATH 1
5297| #define HAVE_SELECT 1
5298| #define HAVE_SENDFILE 1
5299| #define HAVE_SETLOCALE 1
5300| #define HAVE_SOCKET 1
5301| #define HAVE_STRCASECMP 1
5302| #define HAVE_STRCHR 1
5303| #define HAVE_STRDUP 1
5304| #define HAVE_STRERROR 1
5305| #define HAVE_STRNCASECMP 1
5306| #define HAVE_STRPBRK 1
5307| #define HAVE_STRRCHR 1
5308| #define HAVE_STRSTR 1
5309| #define HAVE_STRTOL 1
5310| #define HAVE_STRTOUL 1
5311| #define HAVE_DECL_SEEK_HOLE 1
5312| #define HAVE_CLOCK_GETTIME 1
5313| #define HAVE_STRUCT_IP_MREQN /**/
5314| #define HAVE_SYS_SYSCALL_H 1
5315| #define HAVE_MACH_MACH_TIME_H 1
5316| #define HAVE_LIBAVUTIL_AVUTIL_H 1
5317| /* end confdefs.h.  */
5318| #include <stddef.h>
5319| #ifdef HAVE_STDIO_H
5320| # include <stdio.h>
5321| #endif
5322| #ifdef HAVE_STDLIB_H
5323| # include <stdlib.h>
5324| #endif
5325| #ifdef HAVE_STRING_H
5326| # include <string.h>
5327| #endif
5328| #ifdef HAVE_INTTYPES_H
5329| # include <inttypes.h>
5330| #endif
5331| #ifdef HAVE_STDINT_H
5332| # include <stdint.h>
5333| #endif
5334| #ifdef HAVE_STRINGS_H
5335| # include <strings.h>
5336| #endif
5337| #ifdef HAVE_SYS_TYPES_H
5338| # include <sys/types.h>
5339| #endif
5340| #ifdef HAVE_SYS_STAT_H
5341| # include <sys/stat.h>
5342| #endif
5343| #ifdef HAVE_UNISTD_H
5344| # include <unistd.h>
5345| #endif
5346| #include <ffmpeg/avutil.h>
5347configure:10273: result: no
5348configure:10273: checking for libav/avutil.h
5349configure:10273: /usr/bin/clang -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
5350conftest.c:118:10: fatal error: 'libav/avutil.h' file not found
5351#include <libav/avutil.h>
5352         ^~~~~~~~~~~~~~~~
53531 error generated.
5354configure:10273: $? = 1
5355configure: failed program was:
5356| /* confdefs.h */
5357| #define PACKAGE_NAME "MiniDLNA"
5358| #define PACKAGE_TARNAME "minidlna"
5359| #define PACKAGE_VERSION "1.1.3"
5360| #define PACKAGE_STRING "MiniDLNA 1.1.3"
5361| #define PACKAGE_BUGREPORT ""
5362| #define PACKAGE_URL ""
5363| #define PACKAGE "minidlna"
5364| #define VERSION "1.1.3"
5365| #define HAVE_STDIO_H 1
5366| #define HAVE_STDLIB_H 1
5367| #define HAVE_STRING_H 1
5368| #define HAVE_INTTYPES_H 1
5369| #define HAVE_STDINT_H 1
5370| #define HAVE_STRINGS_H 1
5371| #define HAVE_SYS_STAT_H 1
5372| #define HAVE_SYS_TYPES_H 1
5373| #define HAVE_UNISTD_H 1
5374| #define HAVE_WCHAR_H 1
5375| #define STDC_HEADERS 1
5376| #define _ALL_SOURCE 1
5377| #define _DARWIN_C_SOURCE 1
5378| #define _GNU_SOURCE 1
5379| #define _HPUX_ALT_XOPEN_SOCKET_API 1
5380| #define _NETBSD_SOURCE 1
5381| #define _OPENBSD_SOURCE 1
5382| #define _POSIX_PTHREAD_SEMANTICS 1
5383| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
5384| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
5385| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
5386| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
5387| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
5388| #define __STDC_WANT_LIB_EXT2__ 1
5389| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
5390| #define _TANDEM_SOURCE 1
5391| #define __EXTENSIONS__ 1
5392| #define HAVE_ICONV 1
5393| #define ICONV_CONST
5394| #define HAVE_CFPREFERENCESCOPYAPPVALUE 1
5395| #define HAVE_CFLOCALECOPYCURRENT 1
5396| #define HAVE_ICONV 1
5397| #define ENABLE_NLS 1
5398| #define HAVE_GETTEXT 1
5399| #define HAVE_DCGETTEXT 1
5400| #define OS_URL "http://sourceforge.net/projects/minidlna/"
5401| #define ROOTDEV_MANUFACTURER "Justin Maggard"
5402| #define ROOTDEV_MANUFACTURERURL "http://www.netgear.com/"
5403| #define ROOTDEV_MODELNAME "Windows Media Connect compatible (MiniDLNA)"
5404| #define ROOTDEV_MODELDESCRIPTION "MiniDLNA on " OS_NAME
5405| #define ROOTDEV_MODELURL OS_URL
5406| #define HAVE_DIRENT_H 1
5407| #define HAVE_STRUCT_DIRENT_D_TYPE 1
5408| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
5409| #define HAVE_ST_BLOCKS 1
5410| #define HAVE__BOOL 1
5411| #define HAVE_STDBOOL_H 1
5412| #define HAVE_FORK 1
5413| #define HAVE_VFORK 1
5414| #define HAVE_WORKING_VFORK 1
5415| #define HAVE_WORKING_FORK 1
5416| #define HAVE_GETHOSTNAME 1
5417| #define HAVE_GETIFADDRS 1
5418| #define HAVE_GETTIMEOFDAY 1
5419| #define HAVE_INET_NTOA 1
5420| #define HAVE_MEMMOVE 1
5421| #define HAVE_MEMSET 1
5422| #define HAVE_MKDIR 1
5423| #define HAVE_REALPATH 1
5424| #define HAVE_SELECT 1
5425| #define HAVE_SENDFILE 1
5426| #define HAVE_SETLOCALE 1
5427| #define HAVE_SOCKET 1
5428| #define HAVE_STRCASECMP 1
5429| #define HAVE_STRCHR 1
5430| #define HAVE_STRDUP 1
5431| #define HAVE_STRERROR 1
5432| #define HAVE_STRNCASECMP 1
5433| #define HAVE_STRPBRK 1
5434| #define HAVE_STRRCHR 1
5435| #define HAVE_STRSTR 1
5436| #define HAVE_STRTOL 1
5437| #define HAVE_STRTOUL 1
5438| #define HAVE_DECL_SEEK_HOLE 1
5439| #define HAVE_CLOCK_GETTIME 1
5440| #define HAVE_STRUCT_IP_MREQN /**/
5441| #define HAVE_SYS_SYSCALL_H 1
5442| #define HAVE_MACH_MACH_TIME_H 1
5443| #define HAVE_LIBAVUTIL_AVUTIL_H 1
5444| /* end confdefs.h.  */
5445| #include <stddef.h>
5446| #ifdef HAVE_STDIO_H
5447| # include <stdio.h>
5448| #endif
5449| #ifdef HAVE_STDLIB_H
5450| # include <stdlib.h>
5451| #endif
5452| #ifdef HAVE_STRING_H
5453| # include <string.h>
5454| #endif
5455| #ifdef HAVE_INTTYPES_H
5456| # include <inttypes.h>
5457| #endif
5458| #ifdef HAVE_STDINT_H
5459| # include <stdint.h>
5460| #endif
5461| #ifdef HAVE_STRINGS_H
5462| # include <strings.h>
5463| #endif
5464| #ifdef HAVE_SYS_TYPES_H
5465| # include <sys/types.h>
5466| #endif
5467| #ifdef HAVE_SYS_STAT_H
5468| # include <sys/stat.h>
5469| #endif
5470| #ifdef HAVE_UNISTD_H
5471| # include <unistd.h>
5472| #endif
5473| #include <libav/avutil.h>
5474configure:10273: result: no
5475configure:10306: checking for libavcodec/avcodec.h
5476configure:10306: /usr/bin/clang -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
5477configure:10306: $? = 0
5478configure:10306: result: yes
5479configure:10306: checking for ffmpeg/libavcodec/avcodec.h
5480configure:10306: /usr/bin/clang -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
5481conftest.c:119:10: fatal error: 'ffmpeg/libavcodec/avcodec.h' file not found
5482#include <ffmpeg/libavcodec/avcodec.h>
5483         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
54841 error generated.
5485configure:10306: $? = 1
5486configure: failed program was:
5487| /* confdefs.h */
5488| #define PACKAGE_NAME "MiniDLNA"
5489| #define PACKAGE_TARNAME "minidlna"
5490| #define PACKAGE_VERSION "1.1.3"
5491| #define PACKAGE_STRING "MiniDLNA 1.1.3"
5492| #define PACKAGE_BUGREPORT ""
5493| #define PACKAGE_URL ""
5494| #define PACKAGE "minidlna"
5495| #define VERSION "1.1.3"
5496| #define HAVE_STDIO_H 1
5497| #define HAVE_STDLIB_H 1
5498| #define HAVE_STRING_H 1
5499| #define HAVE_INTTYPES_H 1
5500| #define HAVE_STDINT_H 1
5501| #define HAVE_STRINGS_H 1
5502| #define HAVE_SYS_STAT_H 1
5503| #define HAVE_SYS_TYPES_H 1
5504| #define HAVE_UNISTD_H 1
5505| #define HAVE_WCHAR_H 1
5506| #define STDC_HEADERS 1
5507| #define _ALL_SOURCE 1
5508| #define _DARWIN_C_SOURCE 1
5509| #define _GNU_SOURCE 1
5510| #define _HPUX_ALT_XOPEN_SOCKET_API 1
5511| #define _NETBSD_SOURCE 1
5512| #define _OPENBSD_SOURCE 1
5513| #define _POSIX_PTHREAD_SEMANTICS 1
5514| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
5515| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
5516| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
5517| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
5518| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
5519| #define __STDC_WANT_LIB_EXT2__ 1
5520| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
5521| #define _TANDEM_SOURCE 1
5522| #define __EXTENSIONS__ 1
5523| #define HAVE_ICONV 1
5524| #define ICONV_CONST
5525| #define HAVE_CFPREFERENCESCOPYAPPVALUE 1
5526| #define HAVE_CFLOCALECOPYCURRENT 1
5527| #define HAVE_ICONV 1
5528| #define ENABLE_NLS 1
5529| #define HAVE_GETTEXT 1
5530| #define HAVE_DCGETTEXT 1
5531| #define OS_URL "http://sourceforge.net/projects/minidlna/"
5532| #define ROOTDEV_MANUFACTURER "Justin Maggard"
5533| #define ROOTDEV_MANUFACTURERURL "http://www.netgear.com/"
5534| #define ROOTDEV_MODELNAME "Windows Media Connect compatible (MiniDLNA)"
5535| #define ROOTDEV_MODELDESCRIPTION "MiniDLNA on " OS_NAME
5536| #define ROOTDEV_MODELURL OS_URL
5537| #define HAVE_DIRENT_H 1
5538| #define HAVE_STRUCT_DIRENT_D_TYPE 1
5539| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
5540| #define HAVE_ST_BLOCKS 1
5541| #define HAVE__BOOL 1
5542| #define HAVE_STDBOOL_H 1
5543| #define HAVE_FORK 1
5544| #define HAVE_VFORK 1
5545| #define HAVE_WORKING_VFORK 1
5546| #define HAVE_WORKING_FORK 1
5547| #define HAVE_GETHOSTNAME 1
5548| #define HAVE_GETIFADDRS 1
5549| #define HAVE_GETTIMEOFDAY 1
5550| #define HAVE_INET_NTOA 1
5551| #define HAVE_MEMMOVE 1
5552| #define HAVE_MEMSET 1
5553| #define HAVE_MKDIR 1
5554| #define HAVE_REALPATH 1
5555| #define HAVE_SELECT 1
5556| #define HAVE_SENDFILE 1
5557| #define HAVE_SETLOCALE 1
5558| #define HAVE_SOCKET 1
5559| #define HAVE_STRCASECMP 1
5560| #define HAVE_STRCHR 1
5561| #define HAVE_STRDUP 1
5562| #define HAVE_STRERROR 1
5563| #define HAVE_STRNCASECMP 1
5564| #define HAVE_STRPBRK 1
5565| #define HAVE_STRRCHR 1
5566| #define HAVE_STRSTR 1
5567| #define HAVE_STRTOL 1
5568| #define HAVE_STRTOUL 1
5569| #define HAVE_DECL_SEEK_HOLE 1
5570| #define HAVE_CLOCK_GETTIME 1
5571| #define HAVE_STRUCT_IP_MREQN /**/
5572| #define HAVE_SYS_SYSCALL_H 1
5573| #define HAVE_MACH_MACH_TIME_H 1
5574| #define HAVE_LIBAVUTIL_AVUTIL_H 1
5575| #define HAVE_LIBAVCODEC_AVCODEC_H 1
5576| /* end confdefs.h.  */
5577| #include <stddef.h>
5578| #ifdef HAVE_STDIO_H
5579| # include <stdio.h>
5580| #endif
5581| #ifdef HAVE_STDLIB_H
5582| # include <stdlib.h>
5583| #endif
5584| #ifdef HAVE_STRING_H
5585| # include <string.h>
5586| #endif
5587| #ifdef HAVE_INTTYPES_H
5588| # include <inttypes.h>
5589| #endif
5590| #ifdef HAVE_STDINT_H
5591| # include <stdint.h>
5592| #endif
5593| #ifdef HAVE_STRINGS_H
5594| # include <strings.h>
5595| #endif
5596| #ifdef HAVE_SYS_TYPES_H
5597| # include <sys/types.h>
5598| #endif
5599| #ifdef HAVE_SYS_STAT_H
5600| # include <sys/stat.h>
5601| #endif
5602| #ifdef HAVE_UNISTD_H
5603| # include <unistd.h>
5604| #endif
5605| #include <ffmpeg/libavcodec/avcodec.h>
5606configure:10306: result: no
5607configure:10306: checking for libav/libavcodec/avcodec.h
5608configure:10306: /usr/bin/clang -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
5609conftest.c:119:10: fatal error: 'libav/libavcodec/avcodec.h' file not found
5610#include <libav/libavcodec/avcodec.h>
5611         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
56121 error generated.
5613configure:10306: $? = 1
5614configure: failed program was:
5615| /* confdefs.h */
5616| #define PACKAGE_NAME "MiniDLNA"
5617| #define PACKAGE_TARNAME "minidlna"
5618| #define PACKAGE_VERSION "1.1.3"
5619| #define PACKAGE_STRING "MiniDLNA 1.1.3"
5620| #define PACKAGE_BUGREPORT ""
5621| #define PACKAGE_URL ""
5622| #define PACKAGE "minidlna"
5623| #define VERSION "1.1.3"
5624| #define HAVE_STDIO_H 1
5625| #define HAVE_STDLIB_H 1
5626| #define HAVE_STRING_H 1
5627| #define HAVE_INTTYPES_H 1
5628| #define HAVE_STDINT_H 1
5629| #define HAVE_STRINGS_H 1
5630| #define HAVE_SYS_STAT_H 1
5631| #define HAVE_SYS_TYPES_H 1
5632| #define HAVE_UNISTD_H 1
5633| #define HAVE_WCHAR_H 1
5634| #define STDC_HEADERS 1
5635| #define _ALL_SOURCE 1
5636| #define _DARWIN_C_SOURCE 1
5637| #define _GNU_SOURCE 1
5638| #define _HPUX_ALT_XOPEN_SOCKET_API 1
5639| #define _NETBSD_SOURCE 1
5640| #define _OPENBSD_SOURCE 1
5641| #define _POSIX_PTHREAD_SEMANTICS 1
5642| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
5643| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
5644| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
5645| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
5646| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
5647| #define __STDC_WANT_LIB_EXT2__ 1
5648| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
5649| #define _TANDEM_SOURCE 1
5650| #define __EXTENSIONS__ 1
5651| #define HAVE_ICONV 1
5652| #define ICONV_CONST
5653| #define HAVE_CFPREFERENCESCOPYAPPVALUE 1
5654| #define HAVE_CFLOCALECOPYCURRENT 1
5655| #define HAVE_ICONV 1
5656| #define ENABLE_NLS 1
5657| #define HAVE_GETTEXT 1
5658| #define HAVE_DCGETTEXT 1
5659| #define OS_URL "http://sourceforge.net/projects/minidlna/"
5660| #define ROOTDEV_MANUFACTURER "Justin Maggard"
5661| #define ROOTDEV_MANUFACTURERURL "http://www.netgear.com/"
5662| #define ROOTDEV_MODELNAME "Windows Media Connect compatible (MiniDLNA)"
5663| #define ROOTDEV_MODELDESCRIPTION "MiniDLNA on " OS_NAME
5664| #define ROOTDEV_MODELURL OS_URL
5665| #define HAVE_DIRENT_H 1
5666| #define HAVE_STRUCT_DIRENT_D_TYPE 1
5667| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
5668| #define HAVE_ST_BLOCKS 1
5669| #define HAVE__BOOL 1
5670| #define HAVE_STDBOOL_H 1
5671| #define HAVE_FORK 1
5672| #define HAVE_VFORK 1
5673| #define HAVE_WORKING_VFORK 1
5674| #define HAVE_WORKING_FORK 1
5675| #define HAVE_GETHOSTNAME 1
5676| #define HAVE_GETIFADDRS 1
5677| #define HAVE_GETTIMEOFDAY 1
5678| #define HAVE_INET_NTOA 1
5679| #define HAVE_MEMMOVE 1
5680| #define HAVE_MEMSET 1
5681| #define HAVE_MKDIR 1
5682| #define HAVE_REALPATH 1
5683| #define HAVE_SELECT 1
5684| #define HAVE_SENDFILE 1
5685| #define HAVE_SETLOCALE 1
5686| #define HAVE_SOCKET 1
5687| #define HAVE_STRCASECMP 1
5688| #define HAVE_STRCHR 1
5689| #define HAVE_STRDUP 1
5690| #define HAVE_STRERROR 1
5691| #define HAVE_STRNCASECMP 1
5692| #define HAVE_STRPBRK 1
5693| #define HAVE_STRRCHR 1
5694| #define HAVE_STRSTR 1
5695| #define HAVE_STRTOL 1
5696| #define HAVE_STRTOUL 1
5697| #define HAVE_DECL_SEEK_HOLE 1
5698| #define HAVE_CLOCK_GETTIME 1
5699| #define HAVE_STRUCT_IP_MREQN /**/
5700| #define HAVE_SYS_SYSCALL_H 1
5701| #define HAVE_MACH_MACH_TIME_H 1
5702| #define HAVE_LIBAVUTIL_AVUTIL_H 1
5703| #define HAVE_LIBAVCODEC_AVCODEC_H 1
5704| /* end confdefs.h.  */
5705| #include <stddef.h>
5706| #ifdef HAVE_STDIO_H
5707| # include <stdio.h>
5708| #endif
5709| #ifdef HAVE_STDLIB_H
5710| # include <stdlib.h>
5711| #endif
5712| #ifdef HAVE_STRING_H
5713| # include <string.h>
5714| #endif
5715| #ifdef HAVE_INTTYPES_H
5716| # include <inttypes.h>
5717| #endif
5718| #ifdef HAVE_STDINT_H
5719| # include <stdint.h>
5720| #endif
5721| #ifdef HAVE_STRINGS_H
5722| # include <strings.h>
5723| #endif
5724| #ifdef HAVE_SYS_TYPES_H
5725| # include <sys/types.h>
5726| #endif
5727| #ifdef HAVE_SYS_STAT_H
5728| # include <sys/stat.h>
5729| #endif
5730| #ifdef HAVE_UNISTD_H
5731| # include <unistd.h>
5732| #endif
5733| #include <libav/libavcodec/avcodec.h>
5734configure:10306: result: no
5735configure:10306: checking for avcodec.h
5736configure:10306: /usr/bin/clang -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
5737conftest.c:119:10: fatal error: 'avcodec.h' file not found
5738#include <avcodec.h>
5739         ^~~~~~~~~~~
57401 error generated.
5741configure:10306: $? = 1
5742configure: failed program was:
5743| /* confdefs.h */
5744| #define PACKAGE_NAME "MiniDLNA"
5745| #define PACKAGE_TARNAME "minidlna"
5746| #define PACKAGE_VERSION "1.1.3"
5747| #define PACKAGE_STRING "MiniDLNA 1.1.3"
5748| #define PACKAGE_BUGREPORT ""
5749| #define PACKAGE_URL ""
5750| #define PACKAGE "minidlna"
5751| #define VERSION "1.1.3"
5752| #define HAVE_STDIO_H 1
5753| #define HAVE_STDLIB_H 1
5754| #define HAVE_STRING_H 1
5755| #define HAVE_INTTYPES_H 1
5756| #define HAVE_STDINT_H 1
5757| #define HAVE_STRINGS_H 1
5758| #define HAVE_SYS_STAT_H 1
5759| #define HAVE_SYS_TYPES_H 1
5760| #define HAVE_UNISTD_H 1
5761| #define HAVE_WCHAR_H 1
5762| #define STDC_HEADERS 1
5763| #define _ALL_SOURCE 1
5764| #define _DARWIN_C_SOURCE 1
5765| #define _GNU_SOURCE 1
5766| #define _HPUX_ALT_XOPEN_SOCKET_API 1
5767| #define _NETBSD_SOURCE 1
5768| #define _OPENBSD_SOURCE 1
5769| #define _POSIX_PTHREAD_SEMANTICS 1
5770| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
5771| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
5772| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
5773| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
5774| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
5775| #define __STDC_WANT_LIB_EXT2__ 1
5776| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
5777| #define _TANDEM_SOURCE 1
5778| #define __EXTENSIONS__ 1
5779| #define HAVE_ICONV 1
5780| #define ICONV_CONST
5781| #define HAVE_CFPREFERENCESCOPYAPPVALUE 1
5782| #define HAVE_CFLOCALECOPYCURRENT 1
5783| #define HAVE_ICONV 1
5784| #define ENABLE_NLS 1
5785| #define HAVE_GETTEXT 1
5786| #define HAVE_DCGETTEXT 1
5787| #define OS_URL "http://sourceforge.net/projects/minidlna/"
5788| #define ROOTDEV_MANUFACTURER "Justin Maggard"
5789| #define ROOTDEV_MANUFACTURERURL "http://www.netgear.com/"
5790| #define ROOTDEV_MODELNAME "Windows Media Connect compatible (MiniDLNA)"
5791| #define ROOTDEV_MODELDESCRIPTION "MiniDLNA on " OS_NAME
5792| #define ROOTDEV_MODELURL OS_URL
5793| #define HAVE_DIRENT_H 1
5794| #define HAVE_STRUCT_DIRENT_D_TYPE 1
5795| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
5796| #define HAVE_ST_BLOCKS 1
5797| #define HAVE__BOOL 1
5798| #define HAVE_STDBOOL_H 1
5799| #define HAVE_FORK 1
5800| #define HAVE_VFORK 1
5801| #define HAVE_WORKING_VFORK 1
5802| #define HAVE_WORKING_FORK 1
5803| #define HAVE_GETHOSTNAME 1
5804| #define HAVE_GETIFADDRS 1
5805| #define HAVE_GETTIMEOFDAY 1
5806| #define HAVE_INET_NTOA 1
5807| #define HAVE_MEMMOVE 1
5808| #define HAVE_MEMSET 1
5809| #define HAVE_MKDIR 1
5810| #define HAVE_REALPATH 1
5811| #define HAVE_SELECT 1
5812| #define HAVE_SENDFILE 1
5813| #define HAVE_SETLOCALE 1
5814| #define HAVE_SOCKET 1
5815| #define HAVE_STRCASECMP 1
5816| #define HAVE_STRCHR 1
5817| #define HAVE_STRDUP 1
5818| #define HAVE_STRERROR 1
5819| #define HAVE_STRNCASECMP 1
5820| #define HAVE_STRPBRK 1
5821| #define HAVE_STRRCHR 1
5822| #define HAVE_STRSTR 1
5823| #define HAVE_STRTOL 1
5824| #define HAVE_STRTOUL 1
5825| #define HAVE_DECL_SEEK_HOLE 1
5826| #define HAVE_CLOCK_GETTIME 1
5827| #define HAVE_STRUCT_IP_MREQN /**/
5828| #define HAVE_SYS_SYSCALL_H 1
5829| #define HAVE_MACH_MACH_TIME_H 1
5830| #define HAVE_LIBAVUTIL_AVUTIL_H 1
5831| #define HAVE_LIBAVCODEC_AVCODEC_H 1
5832| /* end confdefs.h.  */
5833| #include <stddef.h>
5834| #ifdef HAVE_STDIO_H
5835| # include <stdio.h>
5836| #endif
5837| #ifdef HAVE_STDLIB_H
5838| # include <stdlib.h>
5839| #endif
5840| #ifdef HAVE_STRING_H
5841| # include <string.h>
5842| #endif
5843| #ifdef HAVE_INTTYPES_H
5844| # include <inttypes.h>
5845| #endif
5846| #ifdef HAVE_STDINT_H
5847| # include <stdint.h>
5848| #endif
5849| #ifdef HAVE_STRINGS_H
5850| # include <strings.h>
5851| #endif
5852| #ifdef HAVE_SYS_TYPES_H
5853| # include <sys/types.h>
5854| #endif
5855| #ifdef HAVE_SYS_STAT_H
5856| # include <sys/stat.h>
5857| #endif
5858| #ifdef HAVE_UNISTD_H
5859| # include <unistd.h>
5860| #endif
5861| #include <avcodec.h>
5862configure:10306: result: no
5863configure:10306: checking for ffmpeg/avcodec.h
5864configure:10306: /usr/bin/clang -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
5865conftest.c:119:10: fatal error: 'ffmpeg/avcodec.h' file not found
5866#include <ffmpeg/avcodec.h>
5867         ^~~~~~~~~~~~~~~~~~
58681 error generated.
5869configure:10306: $? = 1
5870configure: failed program was:
5871| /* confdefs.h */
5872| #define PACKAGE_NAME "MiniDLNA"
5873| #define PACKAGE_TARNAME "minidlna"
5874| #define PACKAGE_VERSION "1.1.3"
5875| #define PACKAGE_STRING "MiniDLNA 1.1.3"
5876| #define PACKAGE_BUGREPORT ""
5877| #define PACKAGE_URL ""
5878| #define PACKAGE "minidlna"
5879| #define VERSION "1.1.3"
5880| #define HAVE_STDIO_H 1
5881| #define HAVE_STDLIB_H 1
5882| #define HAVE_STRING_H 1
5883| #define HAVE_INTTYPES_H 1
5884| #define HAVE_STDINT_H 1
5885| #define HAVE_STRINGS_H 1
5886| #define HAVE_SYS_STAT_H 1
5887| #define HAVE_SYS_TYPES_H 1
5888| #define HAVE_UNISTD_H 1
5889| #define HAVE_WCHAR_H 1
5890| #define STDC_HEADERS 1
5891| #define _ALL_SOURCE 1
5892| #define _DARWIN_C_SOURCE 1
5893| #define _GNU_SOURCE 1
5894| #define _HPUX_ALT_XOPEN_SOCKET_API 1
5895| #define _NETBSD_SOURCE 1
5896| #define _OPENBSD_SOURCE 1
5897| #define _POSIX_PTHREAD_SEMANTICS 1
5898| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
5899| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
5900| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
5901| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
5902| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
5903| #define __STDC_WANT_LIB_EXT2__ 1
5904| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
5905| #define _TANDEM_SOURCE 1
5906| #define __EXTENSIONS__ 1
5907| #define HAVE_ICONV 1
5908| #define ICONV_CONST
5909| #define HAVE_CFPREFERENCESCOPYAPPVALUE 1
5910| #define HAVE_CFLOCALECOPYCURRENT 1
5911| #define HAVE_ICONV 1
5912| #define ENABLE_NLS 1
5913| #define HAVE_GETTEXT 1
5914| #define HAVE_DCGETTEXT 1
5915| #define OS_URL "http://sourceforge.net/projects/minidlna/"
5916| #define ROOTDEV_MANUFACTURER "Justin Maggard"
5917| #define ROOTDEV_MANUFACTURERURL "http://www.netgear.com/"
5918| #define ROOTDEV_MODELNAME "Windows Media Connect compatible (MiniDLNA)"
5919| #define ROOTDEV_MODELDESCRIPTION "MiniDLNA on " OS_NAME
5920| #define ROOTDEV_MODELURL OS_URL
5921| #define HAVE_DIRENT_H 1
5922| #define HAVE_STRUCT_DIRENT_D_TYPE 1
5923| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
5924| #define HAVE_ST_BLOCKS 1
5925| #define HAVE__BOOL 1
5926| #define HAVE_STDBOOL_H 1
5927| #define HAVE_FORK 1
5928| #define HAVE_VFORK 1
5929| #define HAVE_WORKING_VFORK 1
5930| #define HAVE_WORKING_FORK 1
5931| #define HAVE_GETHOSTNAME 1
5932| #define HAVE_GETIFADDRS 1
5933| #define HAVE_GETTIMEOFDAY 1
5934| #define HAVE_INET_NTOA 1
5935| #define HAVE_MEMMOVE 1
5936| #define HAVE_MEMSET 1
5937| #define HAVE_MKDIR 1
5938| #define HAVE_REALPATH 1
5939| #define HAVE_SELECT 1
5940| #define HAVE_SENDFILE 1
5941| #define HAVE_SETLOCALE 1
5942| #define HAVE_SOCKET 1
5943| #define HAVE_STRCASECMP 1
5944| #define HAVE_STRCHR 1
5945| #define HAVE_STRDUP 1
5946| #define HAVE_STRERROR 1
5947| #define HAVE_STRNCASECMP 1
5948| #define HAVE_STRPBRK 1
5949| #define HAVE_STRRCHR 1
5950| #define HAVE_STRSTR 1
5951| #define HAVE_STRTOL 1
5952| #define HAVE_STRTOUL 1
5953| #define HAVE_DECL_SEEK_HOLE 1
5954| #define HAVE_CLOCK_GETTIME 1
5955| #define HAVE_STRUCT_IP_MREQN /**/
5956| #define HAVE_SYS_SYSCALL_H 1
5957| #define HAVE_MACH_MACH_TIME_H 1
5958| #define HAVE_LIBAVUTIL_AVUTIL_H 1
5959| #define HAVE_LIBAVCODEC_AVCODEC_H 1
5960| /* end confdefs.h.  */
5961| #include <stddef.h>
5962| #ifdef HAVE_STDIO_H
5963| # include <stdio.h>
5964| #endif
5965| #ifdef HAVE_STDLIB_H
5966| # include <stdlib.h>
5967| #endif
5968| #ifdef HAVE_STRING_H
5969| # include <string.h>
5970| #endif
5971| #ifdef HAVE_INTTYPES_H
5972| # include <inttypes.h>
5973| #endif
5974| #ifdef HAVE_STDINT_H
5975| # include <stdint.h>
5976| #endif
5977| #ifdef HAVE_STRINGS_H
5978| # include <strings.h>
5979| #endif
5980| #ifdef HAVE_SYS_TYPES_H
5981| # include <sys/types.h>
5982| #endif
5983| #ifdef HAVE_SYS_STAT_H
5984| # include <sys/stat.h>
5985| #endif
5986| #ifdef HAVE_UNISTD_H
5987| # include <unistd.h>
5988| #endif
5989| #include <ffmpeg/avcodec.h>
5990configure:10306: result: no
5991configure:10306: checking for libav/avcodec.h
5992configure:10306: /usr/bin/clang -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
5993conftest.c:119:10: fatal error: 'libav/avcodec.h' file not found
5994#include <libav/avcodec.h>
5995         ^~~~~~~~~~~~~~~~~
59961 error generated.
5997configure:10306: $? = 1
5998configure: failed program was:
5999| /* confdefs.h */
6000| #define PACKAGE_NAME "MiniDLNA"
6001| #define PACKAGE_TARNAME "minidlna"
6002| #define PACKAGE_VERSION "1.1.3"
6003| #define PACKAGE_STRING "MiniDLNA 1.1.3"
6004| #define PACKAGE_BUGREPORT ""
6005| #define PACKAGE_URL ""
6006| #define PACKAGE "minidlna"
6007| #define VERSION "1.1.3"
6008| #define HAVE_STDIO_H 1
6009| #define HAVE_STDLIB_H 1
6010| #define HAVE_STRING_H 1
6011| #define HAVE_INTTYPES_H 1
6012| #define HAVE_STDINT_H 1
6013| #define HAVE_STRINGS_H 1
6014| #define HAVE_SYS_STAT_H 1
6015| #define HAVE_SYS_TYPES_H 1
6016| #define HAVE_UNISTD_H 1
6017| #define HAVE_WCHAR_H 1
6018| #define STDC_HEADERS 1
6019| #define _ALL_SOURCE 1
6020| #define _DARWIN_C_SOURCE 1
6021| #define _GNU_SOURCE 1
6022| #define _HPUX_ALT_XOPEN_SOCKET_API 1
6023| #define _NETBSD_SOURCE 1
6024| #define _OPENBSD_SOURCE 1
6025| #define _POSIX_PTHREAD_SEMANTICS 1
6026| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
6027| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
6028| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
6029| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
6030| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
6031| #define __STDC_WANT_LIB_EXT2__ 1
6032| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
6033| #define _TANDEM_SOURCE 1
6034| #define __EXTENSIONS__ 1
6035| #define HAVE_ICONV 1
6036| #define ICONV_CONST
6037| #define HAVE_CFPREFERENCESCOPYAPPVALUE 1
6038| #define HAVE_CFLOCALECOPYCURRENT 1
6039| #define HAVE_ICONV 1
6040| #define ENABLE_NLS 1
6041| #define HAVE_GETTEXT 1
6042| #define HAVE_DCGETTEXT 1
6043| #define OS_URL "http://sourceforge.net/projects/minidlna/"
6044| #define ROOTDEV_MANUFACTURER "Justin Maggard"
6045| #define ROOTDEV_MANUFACTURERURL "http://www.netgear.com/"
6046| #define ROOTDEV_MODELNAME "Windows Media Connect compatible (MiniDLNA)"
6047| #define ROOTDEV_MODELDESCRIPTION "MiniDLNA on " OS_NAME
6048| #define ROOTDEV_MODELURL OS_URL
6049| #define HAVE_DIRENT_H 1
6050| #define HAVE_STRUCT_DIRENT_D_TYPE 1
6051| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6052| #define HAVE_ST_BLOCKS 1
6053| #define HAVE__BOOL 1
6054| #define HAVE_STDBOOL_H 1
6055| #define HAVE_FORK 1
6056| #define HAVE_VFORK 1
6057| #define HAVE_WORKING_VFORK 1
6058| #define HAVE_WORKING_FORK 1
6059| #define HAVE_GETHOSTNAME 1
6060| #define HAVE_GETIFADDRS 1
6061| #define HAVE_GETTIMEOFDAY 1
6062| #define HAVE_INET_NTOA 1
6063| #define HAVE_MEMMOVE 1
6064| #define HAVE_MEMSET 1
6065| #define HAVE_MKDIR 1
6066| #define HAVE_REALPATH 1
6067| #define HAVE_SELECT 1
6068| #define HAVE_SENDFILE 1
6069| #define HAVE_SETLOCALE 1
6070| #define HAVE_SOCKET 1
6071| #define HAVE_STRCASECMP 1
6072| #define HAVE_STRCHR 1
6073| #define HAVE_STRDUP 1
6074| #define HAVE_STRERROR 1
6075| #define HAVE_STRNCASECMP 1
6076| #define HAVE_STRPBRK 1
6077| #define HAVE_STRRCHR 1
6078| #define HAVE_STRSTR 1
6079| #define HAVE_STRTOL 1
6080| #define HAVE_STRTOUL 1
6081| #define HAVE_DECL_SEEK_HOLE 1
6082| #define HAVE_CLOCK_GETTIME 1
6083| #define HAVE_STRUCT_IP_MREQN /**/
6084| #define HAVE_SYS_SYSCALL_H 1
6085| #define HAVE_MACH_MACH_TIME_H 1
6086| #define HAVE_LIBAVUTIL_AVUTIL_H 1
6087| #define HAVE_LIBAVCODEC_AVCODEC_H 1
6088| /* end confdefs.h.  */
6089| #include <stddef.h>
6090| #ifdef HAVE_STDIO_H
6091| # include <stdio.h>
6092| #endif
6093| #ifdef HAVE_STDLIB_H
6094| # include <stdlib.h>
6095| #endif
6096| #ifdef HAVE_STRING_H
6097| # include <string.h>
6098| #endif
6099| #ifdef HAVE_INTTYPES_H
6100| # include <inttypes.h>
6101| #endif
6102| #ifdef HAVE_STDINT_H
6103| # include <stdint.h>
6104| #endif
6105| #ifdef HAVE_STRINGS_H
6106| # include <strings.h>
6107| #endif
6108| #ifdef HAVE_SYS_TYPES_H
6109| # include <sys/types.h>
6110| #endif
6111| #ifdef HAVE_SYS_STAT_H
6112| # include <sys/stat.h>
6113| #endif
6114| #ifdef HAVE_UNISTD_H
6115| # include <unistd.h>
6116| #endif
6117| #include <libav/avcodec.h>
6118configure:10306: result: no
6119configure:10339: checking for libavformat/avformat.h
6120configure:10339: /usr/bin/clang -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
6121configure:10339: $? = 0
6122configure:10339: result: yes
6123configure:10339: checking for ffmpeg/libavformat/avformat.h
6124configure:10339: /usr/bin/clang -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
6125conftest.c:120:10: fatal error: 'ffmpeg/libavformat/avformat.h' file not found
6126#include <ffmpeg/libavformat/avformat.h>
6127         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
61281 error generated.
6129configure:10339: $? = 1
6130configure: failed program was:
6131| /* confdefs.h */
6132| #define PACKAGE_NAME "MiniDLNA"
6133| #define PACKAGE_TARNAME "minidlna"
6134| #define PACKAGE_VERSION "1.1.3"
6135| #define PACKAGE_STRING "MiniDLNA 1.1.3"
6136| #define PACKAGE_BUGREPORT ""
6137| #define PACKAGE_URL ""
6138| #define PACKAGE "minidlna"
6139| #define VERSION "1.1.3"
6140| #define HAVE_STDIO_H 1
6141| #define HAVE_STDLIB_H 1
6142| #define HAVE_STRING_H 1
6143| #define HAVE_INTTYPES_H 1
6144| #define HAVE_STDINT_H 1
6145| #define HAVE_STRINGS_H 1
6146| #define HAVE_SYS_STAT_H 1
6147| #define HAVE_SYS_TYPES_H 1
6148| #define HAVE_UNISTD_H 1
6149| #define HAVE_WCHAR_H 1
6150| #define STDC_HEADERS 1
6151| #define _ALL_SOURCE 1
6152| #define _DARWIN_C_SOURCE 1
6153| #define _GNU_SOURCE 1
6154| #define _HPUX_ALT_XOPEN_SOCKET_API 1
6155| #define _NETBSD_SOURCE 1
6156| #define _OPENBSD_SOURCE 1
6157| #define _POSIX_PTHREAD_SEMANTICS 1
6158| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
6159| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
6160| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
6161| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
6162| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
6163| #define __STDC_WANT_LIB_EXT2__ 1
6164| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
6165| #define _TANDEM_SOURCE 1
6166| #define __EXTENSIONS__ 1
6167| #define HAVE_ICONV 1
6168| #define ICONV_CONST
6169| #define HAVE_CFPREFERENCESCOPYAPPVALUE 1
6170| #define HAVE_CFLOCALECOPYCURRENT 1
6171| #define HAVE_ICONV 1
6172| #define ENABLE_NLS 1
6173| #define HAVE_GETTEXT 1
6174| #define HAVE_DCGETTEXT 1
6175| #define OS_URL "http://sourceforge.net/projects/minidlna/"
6176| #define ROOTDEV_MANUFACTURER "Justin Maggard"
6177| #define ROOTDEV_MANUFACTURERURL "http://www.netgear.com/"
6178| #define ROOTDEV_MODELNAME "Windows Media Connect compatible (MiniDLNA)"
6179| #define ROOTDEV_MODELDESCRIPTION "MiniDLNA on " OS_NAME
6180| #define ROOTDEV_MODELURL OS_URL
6181| #define HAVE_DIRENT_H 1
6182| #define HAVE_STRUCT_DIRENT_D_TYPE 1
6183| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6184| #define HAVE_ST_BLOCKS 1
6185| #define HAVE__BOOL 1
6186| #define HAVE_STDBOOL_H 1
6187| #define HAVE_FORK 1
6188| #define HAVE_VFORK 1
6189| #define HAVE_WORKING_VFORK 1
6190| #define HAVE_WORKING_FORK 1
6191| #define HAVE_GETHOSTNAME 1
6192| #define HAVE_GETIFADDRS 1
6193| #define HAVE_GETTIMEOFDAY 1
6194| #define HAVE_INET_NTOA 1
6195| #define HAVE_MEMMOVE 1
6196| #define HAVE_MEMSET 1
6197| #define HAVE_MKDIR 1
6198| #define HAVE_REALPATH 1
6199| #define HAVE_SELECT 1
6200| #define HAVE_SENDFILE 1
6201| #define HAVE_SETLOCALE 1
6202| #define HAVE_SOCKET 1
6203| #define HAVE_STRCASECMP 1
6204| #define HAVE_STRCHR 1
6205| #define HAVE_STRDUP 1
6206| #define HAVE_STRERROR 1
6207| #define HAVE_STRNCASECMP 1
6208| #define HAVE_STRPBRK 1
6209| #define HAVE_STRRCHR 1
6210| #define HAVE_STRSTR 1
6211| #define HAVE_STRTOL 1
6212| #define HAVE_STRTOUL 1
6213| #define HAVE_DECL_SEEK_HOLE 1
6214| #define HAVE_CLOCK_GETTIME 1
6215| #define HAVE_STRUCT_IP_MREQN /**/
6216| #define HAVE_SYS_SYSCALL_H 1
6217| #define HAVE_MACH_MACH_TIME_H 1
6218| #define HAVE_LIBAVUTIL_AVUTIL_H 1
6219| #define HAVE_LIBAVCODEC_AVCODEC_H 1
6220| #define HAVE_LIBAVFORMAT_AVFORMAT_H 1
6221| /* end confdefs.h.  */
6222| #include <stddef.h>
6223| #ifdef HAVE_STDIO_H
6224| # include <stdio.h>
6225| #endif
6226| #ifdef HAVE_STDLIB_H
6227| # include <stdlib.h>
6228| #endif
6229| #ifdef HAVE_STRING_H
6230| # include <string.h>
6231| #endif
6232| #ifdef HAVE_INTTYPES_H
6233| # include <inttypes.h>
6234| #endif
6235| #ifdef HAVE_STDINT_H
6236| # include <stdint.h>
6237| #endif
6238| #ifdef HAVE_STRINGS_H
6239| # include <strings.h>
6240| #endif
6241| #ifdef HAVE_SYS_TYPES_H
6242| # include <sys/types.h>
6243| #endif
6244| #ifdef HAVE_SYS_STAT_H
6245| # include <sys/stat.h>
6246| #endif
6247| #ifdef HAVE_UNISTD_H
6248| # include <unistd.h>
6249| #endif
6250| #include <ffmpeg/libavformat/avformat.h>
6251configure:10339: result: no
6252configure:10339: checking for libav/libavformat/avformat.h
6253configure:10339: /usr/bin/clang -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
6254conftest.c:120:10: fatal error: 'libav/libavformat/avformat.h' file not found
6255#include <libav/libavformat/avformat.h>
6256         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
62571 error generated.
6258configure:10339: $? = 1
6259configure: failed program was:
6260| /* confdefs.h */
6261| #define PACKAGE_NAME "MiniDLNA"
6262| #define PACKAGE_TARNAME "minidlna"
6263| #define PACKAGE_VERSION "1.1.3"
6264| #define PACKAGE_STRING "MiniDLNA 1.1.3"
6265| #define PACKAGE_BUGREPORT ""
6266| #define PACKAGE_URL ""
6267| #define PACKAGE "minidlna"
6268| #define VERSION "1.1.3"
6269| #define HAVE_STDIO_H 1
6270| #define HAVE_STDLIB_H 1
6271| #define HAVE_STRING_H 1
6272| #define HAVE_INTTYPES_H 1
6273| #define HAVE_STDINT_H 1
6274| #define HAVE_STRINGS_H 1
6275| #define HAVE_SYS_STAT_H 1
6276| #define HAVE_SYS_TYPES_H 1
6277| #define HAVE_UNISTD_H 1
6278| #define HAVE_WCHAR_H 1
6279| #define STDC_HEADERS 1
6280| #define _ALL_SOURCE 1
6281| #define _DARWIN_C_SOURCE 1
6282| #define _GNU_SOURCE 1
6283| #define _HPUX_ALT_XOPEN_SOCKET_API 1
6284| #define _NETBSD_SOURCE 1
6285| #define _OPENBSD_SOURCE 1
6286| #define _POSIX_PTHREAD_SEMANTICS 1
6287| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
6288| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
6289| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
6290| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
6291| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
6292| #define __STDC_WANT_LIB_EXT2__ 1
6293| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
6294| #define _TANDEM_SOURCE 1
6295| #define __EXTENSIONS__ 1
6296| #define HAVE_ICONV 1
6297| #define ICONV_CONST
6298| #define HAVE_CFPREFERENCESCOPYAPPVALUE 1
6299| #define HAVE_CFLOCALECOPYCURRENT 1
6300| #define HAVE_ICONV 1
6301| #define ENABLE_NLS 1
6302| #define HAVE_GETTEXT 1
6303| #define HAVE_DCGETTEXT 1
6304| #define OS_URL "http://sourceforge.net/projects/minidlna/"
6305| #define ROOTDEV_MANUFACTURER "Justin Maggard"
6306| #define ROOTDEV_MANUFACTURERURL "http://www.netgear.com/"
6307| #define ROOTDEV_MODELNAME "Windows Media Connect compatible (MiniDLNA)"
6308| #define ROOTDEV_MODELDESCRIPTION "MiniDLNA on " OS_NAME
6309| #define ROOTDEV_MODELURL OS_URL
6310| #define HAVE_DIRENT_H 1
6311| #define HAVE_STRUCT_DIRENT_D_TYPE 1
6312| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6313| #define HAVE_ST_BLOCKS 1
6314| #define HAVE__BOOL 1
6315| #define HAVE_STDBOOL_H 1
6316| #define HAVE_FORK 1
6317| #define HAVE_VFORK 1
6318| #define HAVE_WORKING_VFORK 1
6319| #define HAVE_WORKING_FORK 1
6320| #define HAVE_GETHOSTNAME 1
6321| #define HAVE_GETIFADDRS 1
6322| #define HAVE_GETTIMEOFDAY 1
6323| #define HAVE_INET_NTOA 1
6324| #define HAVE_MEMMOVE 1
6325| #define HAVE_MEMSET 1
6326| #define HAVE_MKDIR 1
6327| #define HAVE_REALPATH 1
6328| #define HAVE_SELECT 1
6329| #define HAVE_SENDFILE 1
6330| #define HAVE_SETLOCALE 1
6331| #define HAVE_SOCKET 1
6332| #define HAVE_STRCASECMP 1
6333| #define HAVE_STRCHR 1
6334| #define HAVE_STRDUP 1
6335| #define HAVE_STRERROR 1
6336| #define HAVE_STRNCASECMP 1
6337| #define HAVE_STRPBRK 1
6338| #define HAVE_STRRCHR 1
6339| #define HAVE_STRSTR 1
6340| #define HAVE_STRTOL 1
6341| #define HAVE_STRTOUL 1
6342| #define HAVE_DECL_SEEK_HOLE 1
6343| #define HAVE_CLOCK_GETTIME 1
6344| #define HAVE_STRUCT_IP_MREQN /**/
6345| #define HAVE_SYS_SYSCALL_H 1
6346| #define HAVE_MACH_MACH_TIME_H 1
6347| #define HAVE_LIBAVUTIL_AVUTIL_H 1
6348| #define HAVE_LIBAVCODEC_AVCODEC_H 1
6349| #define HAVE_LIBAVFORMAT_AVFORMAT_H 1
6350| /* end confdefs.h.  */
6351| #include <stddef.h>
6352| #ifdef HAVE_STDIO_H
6353| # include <stdio.h>
6354| #endif
6355| #ifdef HAVE_STDLIB_H
6356| # include <stdlib.h>
6357| #endif
6358| #ifdef HAVE_STRING_H
6359| # include <string.h>
6360| #endif
6361| #ifdef HAVE_INTTYPES_H
6362| # include <inttypes.h>
6363| #endif
6364| #ifdef HAVE_STDINT_H
6365| # include <stdint.h>
6366| #endif
6367| #ifdef HAVE_STRINGS_H
6368| # include <strings.h>
6369| #endif
6370| #ifdef HAVE_SYS_TYPES_H
6371| # include <sys/types.h>
6372| #endif
6373| #ifdef HAVE_SYS_STAT_H
6374| # include <sys/stat.h>
6375| #endif
6376| #ifdef HAVE_UNISTD_H
6377| # include <unistd.h>
6378| #endif
6379| #include <libav/libavformat/avformat.h>
6380configure:10339: result: no
6381configure:10339: checking for avformat.h
6382configure:10339: /usr/bin/clang -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
6383conftest.c:120:10: fatal error: 'avformat.h' file not found
6384#include <avformat.h>
6385         ^~~~~~~~~~~~
63861 error generated.
6387configure:10339: $? = 1
6388configure: failed program was:
6389| /* confdefs.h */
6390| #define PACKAGE_NAME "MiniDLNA"
6391| #define PACKAGE_TARNAME "minidlna"
6392| #define PACKAGE_VERSION "1.1.3"
6393| #define PACKAGE_STRING "MiniDLNA 1.1.3"
6394| #define PACKAGE_BUGREPORT ""
6395| #define PACKAGE_URL ""
6396| #define PACKAGE "minidlna"
6397| #define VERSION "1.1.3"
6398| #define HAVE_STDIO_H 1
6399| #define HAVE_STDLIB_H 1
6400| #define HAVE_STRING_H 1
6401| #define HAVE_INTTYPES_H 1
6402| #define HAVE_STDINT_H 1
6403| #define HAVE_STRINGS_H 1
6404| #define HAVE_SYS_STAT_H 1
6405| #define HAVE_SYS_TYPES_H 1
6406| #define HAVE_UNISTD_H 1
6407| #define HAVE_WCHAR_H 1
6408| #define STDC_HEADERS 1
6409| #define _ALL_SOURCE 1
6410| #define _DARWIN_C_SOURCE 1
6411| #define _GNU_SOURCE 1
6412| #define _HPUX_ALT_XOPEN_SOCKET_API 1
6413| #define _NETBSD_SOURCE 1
6414| #define _OPENBSD_SOURCE 1
6415| #define _POSIX_PTHREAD_SEMANTICS 1
6416| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
6417| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
6418| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
6419| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
6420| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
6421| #define __STDC_WANT_LIB_EXT2__ 1
6422| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
6423| #define _TANDEM_SOURCE 1
6424| #define __EXTENSIONS__ 1
6425| #define HAVE_ICONV 1
6426| #define ICONV_CONST
6427| #define HAVE_CFPREFERENCESCOPYAPPVALUE 1
6428| #define HAVE_CFLOCALECOPYCURRENT 1
6429| #define HAVE_ICONV 1
6430| #define ENABLE_NLS 1
6431| #define HAVE_GETTEXT 1
6432| #define HAVE_DCGETTEXT 1
6433| #define OS_URL "http://sourceforge.net/projects/minidlna/"
6434| #define ROOTDEV_MANUFACTURER "Justin Maggard"
6435| #define ROOTDEV_MANUFACTURERURL "http://www.netgear.com/"
6436| #define ROOTDEV_MODELNAME "Windows Media Connect compatible (MiniDLNA)"
6437| #define ROOTDEV_MODELDESCRIPTION "MiniDLNA on " OS_NAME
6438| #define ROOTDEV_MODELURL OS_URL
6439| #define HAVE_DIRENT_H 1
6440| #define HAVE_STRUCT_DIRENT_D_TYPE 1
6441| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6442| #define HAVE_ST_BLOCKS 1
6443| #define HAVE__BOOL 1
6444| #define HAVE_STDBOOL_H 1
6445| #define HAVE_FORK 1
6446| #define HAVE_VFORK 1
6447| #define HAVE_WORKING_VFORK 1
6448| #define HAVE_WORKING_FORK 1
6449| #define HAVE_GETHOSTNAME 1
6450| #define HAVE_GETIFADDRS 1
6451| #define HAVE_GETTIMEOFDAY 1
6452| #define HAVE_INET_NTOA 1
6453| #define HAVE_MEMMOVE 1
6454| #define HAVE_MEMSET 1
6455| #define HAVE_MKDIR 1
6456| #define HAVE_REALPATH 1
6457| #define HAVE_SELECT 1
6458| #define HAVE_SENDFILE 1
6459| #define HAVE_SETLOCALE 1
6460| #define HAVE_SOCKET 1
6461| #define HAVE_STRCASECMP 1
6462| #define HAVE_STRCHR 1
6463| #define HAVE_STRDUP 1
6464| #define HAVE_STRERROR 1
6465| #define HAVE_STRNCASECMP 1
6466| #define HAVE_STRPBRK 1
6467| #define HAVE_STRRCHR 1
6468| #define HAVE_STRSTR 1
6469| #define HAVE_STRTOL 1
6470| #define HAVE_STRTOUL 1
6471| #define HAVE_DECL_SEEK_HOLE 1
6472| #define HAVE_CLOCK_GETTIME 1
6473| #define HAVE_STRUCT_IP_MREQN /**/
6474| #define HAVE_SYS_SYSCALL_H 1
6475| #define HAVE_MACH_MACH_TIME_H 1
6476| #define HAVE_LIBAVUTIL_AVUTIL_H 1
6477| #define HAVE_LIBAVCODEC_AVCODEC_H 1
6478| #define HAVE_LIBAVFORMAT_AVFORMAT_H 1
6479| /* end confdefs.h.  */
6480| #include <stddef.h>
6481| #ifdef HAVE_STDIO_H
6482| # include <stdio.h>
6483| #endif
6484| #ifdef HAVE_STDLIB_H
6485| # include <stdlib.h>
6486| #endif
6487| #ifdef HAVE_STRING_H
6488| # include <string.h>
6489| #endif
6490| #ifdef HAVE_INTTYPES_H
6491| # include <inttypes.h>
6492| #endif
6493| #ifdef HAVE_STDINT_H
6494| # include <stdint.h>
6495| #endif
6496| #ifdef HAVE_STRINGS_H
6497| # include <strings.h>
6498| #endif
6499| #ifdef HAVE_SYS_TYPES_H
6500| # include <sys/types.h>
6501| #endif
6502| #ifdef HAVE_SYS_STAT_H
6503| # include <sys/stat.h>
6504| #endif
6505| #ifdef HAVE_UNISTD_H
6506| # include <unistd.h>
6507| #endif
6508| #include <avformat.h>
6509configure:10339: result: no
6510configure:10339: checking for ffmpeg/avformat.h
6511configure:10339: /usr/bin/clang -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
6512conftest.c:120:10: fatal error: 'ffmpeg/avformat.h' file not found
6513#include <ffmpeg/avformat.h>
6514         ^~~~~~~~~~~~~~~~~~~
65151 error generated.
6516configure:10339: $? = 1
6517configure: failed program was:
6518| /* confdefs.h */
6519| #define PACKAGE_NAME "MiniDLNA"
6520| #define PACKAGE_TARNAME "minidlna"
6521| #define PACKAGE_VERSION "1.1.3"
6522| #define PACKAGE_STRING "MiniDLNA 1.1.3"
6523| #define PACKAGE_BUGREPORT ""
6524| #define PACKAGE_URL ""
6525| #define PACKAGE "minidlna"
6526| #define VERSION "1.1.3"
6527| #define HAVE_STDIO_H 1
6528| #define HAVE_STDLIB_H 1
6529| #define HAVE_STRING_H 1
6530| #define HAVE_INTTYPES_H 1
6531| #define HAVE_STDINT_H 1
6532| #define HAVE_STRINGS_H 1
6533| #define HAVE_SYS_STAT_H 1
6534| #define HAVE_SYS_TYPES_H 1
6535| #define HAVE_UNISTD_H 1
6536| #define HAVE_WCHAR_H 1
6537| #define STDC_HEADERS 1
6538| #define _ALL_SOURCE 1
6539| #define _DARWIN_C_SOURCE 1
6540| #define _GNU_SOURCE 1
6541| #define _HPUX_ALT_XOPEN_SOCKET_API 1
6542| #define _NETBSD_SOURCE 1
6543| #define _OPENBSD_SOURCE 1
6544| #define _POSIX_PTHREAD_SEMANTICS 1
6545| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
6546| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
6547| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
6548| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
6549| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
6550| #define __STDC_WANT_LIB_EXT2__ 1
6551| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
6552| #define _TANDEM_SOURCE 1
6553| #define __EXTENSIONS__ 1
6554| #define HAVE_ICONV 1
6555| #define ICONV_CONST
6556| #define HAVE_CFPREFERENCESCOPYAPPVALUE 1
6557| #define HAVE_CFLOCALECOPYCURRENT 1
6558| #define HAVE_ICONV 1
6559| #define ENABLE_NLS 1
6560| #define HAVE_GETTEXT 1
6561| #define HAVE_DCGETTEXT 1
6562| #define OS_URL "http://sourceforge.net/projects/minidlna/"
6563| #define ROOTDEV_MANUFACTURER "Justin Maggard"
6564| #define ROOTDEV_MANUFACTURERURL "http://www.netgear.com/"
6565| #define ROOTDEV_MODELNAME "Windows Media Connect compatible (MiniDLNA)"
6566| #define ROOTDEV_MODELDESCRIPTION "MiniDLNA on " OS_NAME
6567| #define ROOTDEV_MODELURL OS_URL
6568| #define HAVE_DIRENT_H 1
6569| #define HAVE_STRUCT_DIRENT_D_TYPE 1
6570| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6571| #define HAVE_ST_BLOCKS 1
6572| #define HAVE__BOOL 1
6573| #define HAVE_STDBOOL_H 1
6574| #define HAVE_FORK 1
6575| #define HAVE_VFORK 1
6576| #define HAVE_WORKING_VFORK 1
6577| #define HAVE_WORKING_FORK 1
6578| #define HAVE_GETHOSTNAME 1
6579| #define HAVE_GETIFADDRS 1
6580| #define HAVE_GETTIMEOFDAY 1
6581| #define HAVE_INET_NTOA 1
6582| #define HAVE_MEMMOVE 1
6583| #define HAVE_MEMSET 1
6584| #define HAVE_MKDIR 1
6585| #define HAVE_REALPATH 1
6586| #define HAVE_SELECT 1
6587| #define HAVE_SENDFILE 1
6588| #define HAVE_SETLOCALE 1
6589| #define HAVE_SOCKET 1
6590| #define HAVE_STRCASECMP 1
6591| #define HAVE_STRCHR 1
6592| #define HAVE_STRDUP 1
6593| #define HAVE_STRERROR 1
6594| #define HAVE_STRNCASECMP 1
6595| #define HAVE_STRPBRK 1
6596| #define HAVE_STRRCHR 1
6597| #define HAVE_STRSTR 1
6598| #define HAVE_STRTOL 1
6599| #define HAVE_STRTOUL 1
6600| #define HAVE_DECL_SEEK_HOLE 1
6601| #define HAVE_CLOCK_GETTIME 1
6602| #define HAVE_STRUCT_IP_MREQN /**/
6603| #define HAVE_SYS_SYSCALL_H 1
6604| #define HAVE_MACH_MACH_TIME_H 1
6605| #define HAVE_LIBAVUTIL_AVUTIL_H 1
6606| #define HAVE_LIBAVCODEC_AVCODEC_H 1
6607| #define HAVE_LIBAVFORMAT_AVFORMAT_H 1
6608| /* end confdefs.h.  */
6609| #include <stddef.h>
6610| #ifdef HAVE_STDIO_H
6611| # include <stdio.h>
6612| #endif
6613| #ifdef HAVE_STDLIB_H
6614| # include <stdlib.h>
6615| #endif
6616| #ifdef HAVE_STRING_H
6617| # include <string.h>
6618| #endif
6619| #ifdef HAVE_INTTYPES_H
6620| # include <inttypes.h>
6621| #endif
6622| #ifdef HAVE_STDINT_H
6623| # include <stdint.h>
6624| #endif
6625| #ifdef HAVE_STRINGS_H
6626| # include <strings.h>
6627| #endif
6628| #ifdef HAVE_SYS_TYPES_H
6629| # include <sys/types.h>
6630| #endif
6631| #ifdef HAVE_SYS_STAT_H
6632| # include <sys/stat.h>
6633| #endif
6634| #ifdef HAVE_UNISTD_H
6635| # include <unistd.h>
6636| #endif
6637| #include <ffmpeg/avformat.h>
6638configure:10339: result: no
6639configure:10339: checking for libav/avformat.h
6640configure:10339: /usr/bin/clang -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
6641conftest.c:120:10: fatal error: 'libav/avformat.h' file not found
6642#include <libav/avformat.h>
6643         ^~~~~~~~~~~~~~~~~~
66441 error generated.
6645configure:10339: $? = 1
6646configure: failed program was:
6647| /* confdefs.h */
6648| #define PACKAGE_NAME "MiniDLNA"
6649| #define PACKAGE_TARNAME "minidlna"
6650| #define PACKAGE_VERSION "1.1.3"
6651| #define PACKAGE_STRING "MiniDLNA 1.1.3"
6652| #define PACKAGE_BUGREPORT ""
6653| #define PACKAGE_URL ""
6654| #define PACKAGE "minidlna"
6655| #define VERSION "1.1.3"
6656| #define HAVE_STDIO_H 1
6657| #define HAVE_STDLIB_H 1
6658| #define HAVE_STRING_H 1
6659| #define HAVE_INTTYPES_H 1
6660| #define HAVE_STDINT_H 1
6661| #define HAVE_STRINGS_H 1
6662| #define HAVE_SYS_STAT_H 1
6663| #define HAVE_SYS_TYPES_H 1
6664| #define HAVE_UNISTD_H 1
6665| #define HAVE_WCHAR_H 1
6666| #define STDC_HEADERS 1
6667| #define _ALL_SOURCE 1
6668| #define _DARWIN_C_SOURCE 1
6669| #define _GNU_SOURCE 1
6670| #define _HPUX_ALT_XOPEN_SOCKET_API 1
6671| #define _NETBSD_SOURCE 1
6672| #define _OPENBSD_SOURCE 1
6673| #define _POSIX_PTHREAD_SEMANTICS 1
6674| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
6675| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
6676| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
6677| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
6678| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
6679| #define __STDC_WANT_LIB_EXT2__ 1
6680| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
6681| #define _TANDEM_SOURCE 1
6682| #define __EXTENSIONS__ 1
6683| #define HAVE_ICONV 1
6684| #define ICONV_CONST
6685| #define HAVE_CFPREFERENCESCOPYAPPVALUE 1
6686| #define HAVE_CFLOCALECOPYCURRENT 1
6687| #define HAVE_ICONV 1
6688| #define ENABLE_NLS 1
6689| #define HAVE_GETTEXT 1
6690| #define HAVE_DCGETTEXT 1
6691| #define OS_URL "http://sourceforge.net/projects/minidlna/"
6692| #define ROOTDEV_MANUFACTURER "Justin Maggard"
6693| #define ROOTDEV_MANUFACTURERURL "http://www.netgear.com/"
6694| #define ROOTDEV_MODELNAME "Windows Media Connect compatible (MiniDLNA)"
6695| #define ROOTDEV_MODELDESCRIPTION "MiniDLNA on " OS_NAME
6696| #define ROOTDEV_MODELURL OS_URL
6697| #define HAVE_DIRENT_H 1
6698| #define HAVE_STRUCT_DIRENT_D_TYPE 1
6699| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6700| #define HAVE_ST_BLOCKS 1
6701| #define HAVE__BOOL 1
6702| #define HAVE_STDBOOL_H 1
6703| #define HAVE_FORK 1
6704| #define HAVE_VFORK 1
6705| #define HAVE_WORKING_VFORK 1
6706| #define HAVE_WORKING_FORK 1
6707| #define HAVE_GETHOSTNAME 1
6708| #define HAVE_GETIFADDRS 1
6709| #define HAVE_GETTIMEOFDAY 1
6710| #define HAVE_INET_NTOA 1
6711| #define HAVE_MEMMOVE 1
6712| #define HAVE_MEMSET 1
6713| #define HAVE_MKDIR 1
6714| #define HAVE_REALPATH 1
6715| #define HAVE_SELECT 1
6716| #define HAVE_SENDFILE 1
6717| #define HAVE_SETLOCALE 1
6718| #define HAVE_SOCKET 1
6719| #define HAVE_STRCASECMP 1
6720| #define HAVE_STRCHR 1
6721| #define HAVE_STRDUP 1
6722| #define HAVE_STRERROR 1
6723| #define HAVE_STRNCASECMP 1
6724| #define HAVE_STRPBRK 1
6725| #define HAVE_STRRCHR 1
6726| #define HAVE_STRSTR 1
6727| #define HAVE_STRTOL 1
6728| #define HAVE_STRTOUL 1
6729| #define HAVE_DECL_SEEK_HOLE 1
6730| #define HAVE_CLOCK_GETTIME 1
6731| #define HAVE_STRUCT_IP_MREQN /**/
6732| #define HAVE_SYS_SYSCALL_H 1
6733| #define HAVE_MACH_MACH_TIME_H 1
6734| #define HAVE_LIBAVUTIL_AVUTIL_H 1
6735| #define HAVE_LIBAVCODEC_AVCODEC_H 1
6736| #define HAVE_LIBAVFORMAT_AVFORMAT_H 1
6737| /* end confdefs.h.  */
6738| #include <stddef.h>
6739| #ifdef HAVE_STDIO_H
6740| # include <stdio.h>
6741| #endif
6742| #ifdef HAVE_STDLIB_H
6743| # include <stdlib.h>
6744| #endif
6745| #ifdef HAVE_STRING_H
6746| # include <string.h>
6747| #endif
6748| #ifdef HAVE_INTTYPES_H
6749| # include <inttypes.h>
6750| #endif
6751| #ifdef HAVE_STDINT_H
6752| # include <stdint.h>
6753| #endif
6754| #ifdef HAVE_STRINGS_H
6755| # include <strings.h>
6756| #endif
6757| #ifdef HAVE_SYS_TYPES_H
6758| # include <sys/types.h>
6759| #endif
6760| #ifdef HAVE_SYS_STAT_H
6761| # include <sys/stat.h>
6762| #endif
6763| #ifdef HAVE_UNISTD_H
6764| # include <unistd.h>
6765| #endif
6766| #include <libav/avformat.h>
6767configure:10339: result: no
6768configure:10372: checking for jpeglib.h
6769configure:10372: /usr/bin/clang -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
6770configure:10372: $? = 0
6771configure:10372: result: yes
6772configure:10372: checking for sqlite3.h
6773configure:10372: /usr/bin/clang -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
6774configure:10372: $? = 0
6775configure:10372: result: yes
6776configure:10372: checking for libexif/exif-loader.h
6777configure:10372: /usr/bin/clang -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
6778configure:10372: $? = 0
6779configure:10372: result: yes
6780configure:10372: checking for id3tag.h
6781configure:10372: /usr/bin/clang -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
6782configure:10372: $? = 0
6783configure:10372: result: yes
6784configure:10372: checking for ogg/ogg.h
6785configure:10372: /usr/bin/clang -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
6786configure:10372: $? = 0
6787configure:10372: result: yes
6788configure:10372: checking for vorbis/codec.h
6789configure:10372: /usr/bin/clang -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
6790configure:10372: $? = 0
6791configure:10372: result: yes
6792configure:10372: checking for FLAC/metadata.h
6793configure:10372: /usr/bin/clang -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
6794configure:10372: $? = 0
6795configure:10372: result: yes
6796configure:10419: checking if we should use the daemon() libc function
6797configure:10438: /usr/bin/clang -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -Wall -Werror -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
6798conftest.c:107:20: error: 'daemon' is deprecated: first deprecated in macOS 10.5 - Use posix_spawn APIs instead. [-Werror,-Wdeprecated-declarations]
6799            return daemon(0, 0);
6800                   ^
6801/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/stdlib.h:292:6: note: 'daemon' has been explicitly marked deprecated here
6802int      daemon(int, int) __DARWIN_1050(daemon) __OSX_AVAILABLE_BUT_DEPRECATED_MSG(__MAC_10_0, __MAC_10_5, __IPHONE_2_0, __IPHONE_2_0, "Use posix_spawn APIs instead.") __WATCHOS_PROHIBITED __TVOS_PROHIBITED;
6803         ^
68041 error generated.
6805configure:10438: $? = 1
6806configure: failed program was:
6807| /* confdefs.h */
6808| #define PACKAGE_NAME "MiniDLNA"
6809| #define PACKAGE_TARNAME "minidlna"
6810| #define PACKAGE_VERSION "1.1.3"
6811| #define PACKAGE_STRING "MiniDLNA 1.1.3"
6812| #define PACKAGE_BUGREPORT ""
6813| #define PACKAGE_URL ""
6814| #define PACKAGE "minidlna"
6815| #define VERSION "1.1.3"
6816| #define HAVE_STDIO_H 1
6817| #define HAVE_STDLIB_H 1
6818| #define HAVE_STRING_H 1
6819| #define HAVE_INTTYPES_H 1
6820| #define HAVE_STDINT_H 1
6821| #define HAVE_STRINGS_H 1
6822| #define HAVE_SYS_STAT_H 1
6823| #define HAVE_SYS_TYPES_H 1
6824| #define HAVE_UNISTD_H 1
6825| #define HAVE_WCHAR_H 1
6826| #define STDC_HEADERS 1
6827| #define _ALL_SOURCE 1
6828| #define _DARWIN_C_SOURCE 1
6829| #define _GNU_SOURCE 1
6830| #define _HPUX_ALT_XOPEN_SOCKET_API 1
6831| #define _NETBSD_SOURCE 1
6832| #define _OPENBSD_SOURCE 1
6833| #define _POSIX_PTHREAD_SEMANTICS 1
6834| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
6835| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
6836| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
6837| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
6838| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
6839| #define __STDC_WANT_LIB_EXT2__ 1
6840| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
6841| #define _TANDEM_SOURCE 1
6842| #define __EXTENSIONS__ 1
6843| #define HAVE_ICONV 1
6844| #define ICONV_CONST
6845| #define HAVE_CFPREFERENCESCOPYAPPVALUE 1
6846| #define HAVE_CFLOCALECOPYCURRENT 1
6847| #define HAVE_ICONV 1
6848| #define ENABLE_NLS 1
6849| #define HAVE_GETTEXT 1
6850| #define HAVE_DCGETTEXT 1
6851| #define OS_URL "http://sourceforge.net/projects/minidlna/"
6852| #define ROOTDEV_MANUFACTURER "Justin Maggard"
6853| #define ROOTDEV_MANUFACTURERURL "http://www.netgear.com/"
6854| #define ROOTDEV_MODELNAME "Windows Media Connect compatible (MiniDLNA)"
6855| #define ROOTDEV_MODELDESCRIPTION "MiniDLNA on " OS_NAME
6856| #define ROOTDEV_MODELURL OS_URL
6857| #define HAVE_DIRENT_H 1
6858| #define HAVE_STRUCT_DIRENT_D_TYPE 1
6859| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6860| #define HAVE_ST_BLOCKS 1
6861| #define HAVE__BOOL 1
6862| #define HAVE_STDBOOL_H 1
6863| #define HAVE_FORK 1
6864| #define HAVE_VFORK 1
6865| #define HAVE_WORKING_VFORK 1
6866| #define HAVE_WORKING_FORK 1
6867| #define HAVE_GETHOSTNAME 1
6868| #define HAVE_GETIFADDRS 1
6869| #define HAVE_GETTIMEOFDAY 1
6870| #define HAVE_INET_NTOA 1
6871| #define HAVE_MEMMOVE 1
6872| #define HAVE_MEMSET 1
6873| #define HAVE_MKDIR 1
6874| #define HAVE_REALPATH 1
6875| #define HAVE_SELECT 1
6876| #define HAVE_SENDFILE 1
6877| #define HAVE_SETLOCALE 1
6878| #define HAVE_SOCKET 1
6879| #define HAVE_STRCASECMP 1
6880| #define HAVE_STRCHR 1
6881| #define HAVE_STRDUP 1
6882| #define HAVE_STRERROR 1
6883| #define HAVE_STRNCASECMP 1
6884| #define HAVE_STRPBRK 1
6885| #define HAVE_STRRCHR 1
6886| #define HAVE_STRSTR 1
6887| #define HAVE_STRTOL 1
6888| #define HAVE_STRTOUL 1
6889| #define HAVE_DECL_SEEK_HOLE 1
6890| #define HAVE_CLOCK_GETTIME 1
6891| #define HAVE_STRUCT_IP_MREQN /**/
6892| #define HAVE_SYS_SYSCALL_H 1
6893| #define HAVE_MACH_MACH_TIME_H 1
6894| #define HAVE_LIBAVUTIL_AVUTIL_H 1
6895| #define HAVE_LIBAVCODEC_AVCODEC_H 1
6896| #define HAVE_LIBAVFORMAT_AVFORMAT_H 1
6897| #define HAVE_JPEGLIB_H 1
6898| #define HAVE_SQLITE3_H 1
6899| #define HAVE_LIBEXIF_EXIF_LOADER_H 1
6900| #define HAVE_ID3TAG_H 1
6901| #define HAVE_OGG_OGG_H 1
6902| #define HAVE_VORBIS_CODEC_H 1
6903| #define HAVE_FLAC_METADATA_H 1
6904| /* end confdefs.h.  */
6905|
6906|              #include <stdlib.h>
6907|              #include <unistd.h>
6908|
6909| int
6910| main (void)
6911| {
6912|
6913|             return daemon(0, 0);
6914|
6915|
6916|   ;
6917|   return 0;
6918| }
6919configure:10449: result: no
6920configure:10455: checking if scandir declaration requires const char cast
6921configure:10478: /usr/bin/clang -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -Wall -Werror -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
6922conftest.c:111:39: error: incompatible pointer types passing 'int (struct dirent *)' to parameter of type 'int (*)(const struct dirent *)' [-Werror,-Wincompatible-pointer-types]
6923            (void)scandir(name, &ptr, filter, alphasort);
6924                                      ^~~~~~
6925/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/dirent.h:150:11: note: passing argument to parameter here
6926    int (*)(const struct dirent *), int (*)(const struct dirent **, const struct dirent **)) __DARWIN_INODE64(scandir);
6927          ^
69281 error generated.
6929configure:10478: $? = 1
6930configure: failed program was:
6931| /* confdefs.h */
6932| #define PACKAGE_NAME "MiniDLNA"
6933| #define PACKAGE_TARNAME "minidlna"
6934| #define PACKAGE_VERSION "1.1.3"
6935| #define PACKAGE_STRING "MiniDLNA 1.1.3"
6936| #define PACKAGE_BUGREPORT ""
6937| #define PACKAGE_URL ""
6938| #define PACKAGE "minidlna"
6939| #define VERSION "1.1.3"
6940| #define HAVE_STDIO_H 1
6941| #define HAVE_STDLIB_H 1
6942| #define HAVE_STRING_H 1
6943| #define HAVE_INTTYPES_H 1
6944| #define HAVE_STDINT_H 1
6945| #define HAVE_STRINGS_H 1
6946| #define HAVE_SYS_STAT_H 1
6947| #define HAVE_SYS_TYPES_H 1
6948| #define HAVE_UNISTD_H 1
6949| #define HAVE_WCHAR_H 1
6950| #define STDC_HEADERS 1
6951| #define _ALL_SOURCE 1
6952| #define _DARWIN_C_SOURCE 1
6953| #define _GNU_SOURCE 1
6954| #define _HPUX_ALT_XOPEN_SOCKET_API 1
6955| #define _NETBSD_SOURCE 1
6956| #define _OPENBSD_SOURCE 1
6957| #define _POSIX_PTHREAD_SEMANTICS 1
6958| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
6959| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
6960| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
6961| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
6962| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
6963| #define __STDC_WANT_LIB_EXT2__ 1
6964| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
6965| #define _TANDEM_SOURCE 1
6966| #define __EXTENSIONS__ 1
6967| #define HAVE_ICONV 1
6968| #define ICONV_CONST
6969| #define HAVE_CFPREFERENCESCOPYAPPVALUE 1
6970| #define HAVE_CFLOCALECOPYCURRENT 1
6971| #define HAVE_ICONV 1
6972| #define ENABLE_NLS 1
6973| #define HAVE_GETTEXT 1
6974| #define HAVE_DCGETTEXT 1
6975| #define OS_URL "http://sourceforge.net/projects/minidlna/"
6976| #define ROOTDEV_MANUFACTURER "Justin Maggard"
6977| #define ROOTDEV_MANUFACTURERURL "http://www.netgear.com/"
6978| #define ROOTDEV_MODELNAME "Windows Media Connect compatible (MiniDLNA)"
6979| #define ROOTDEV_MODELDESCRIPTION "MiniDLNA on " OS_NAME
6980| #define ROOTDEV_MODELURL OS_URL
6981| #define HAVE_DIRENT_H 1
6982| #define HAVE_STRUCT_DIRENT_D_TYPE 1
6983| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6984| #define HAVE_ST_BLOCKS 1
6985| #define HAVE__BOOL 1
6986| #define HAVE_STDBOOL_H 1
6987| #define HAVE_FORK 1
6988| #define HAVE_VFORK 1
6989| #define HAVE_WORKING_VFORK 1
6990| #define HAVE_WORKING_FORK 1
6991| #define HAVE_GETHOSTNAME 1
6992| #define HAVE_GETIFADDRS 1
6993| #define HAVE_GETTIMEOFDAY 1
6994| #define HAVE_INET_NTOA 1
6995| #define HAVE_MEMMOVE 1
6996| #define HAVE_MEMSET 1
6997| #define HAVE_MKDIR 1
6998| #define HAVE_REALPATH 1
6999| #define HAVE_SELECT 1
7000| #define HAVE_SENDFILE 1
7001| #define HAVE_SETLOCALE 1
7002| #define HAVE_SOCKET 1
7003| #define HAVE_STRCASECMP 1
7004| #define HAVE_STRCHR 1
7005| #define HAVE_STRDUP 1
7006| #define HAVE_STRERROR 1
7007| #define HAVE_STRNCASECMP 1
7008| #define HAVE_STRPBRK 1
7009| #define HAVE_STRRCHR 1
7010| #define HAVE_STRSTR 1
7011| #define HAVE_STRTOL 1
7012| #define HAVE_STRTOUL 1
7013| #define HAVE_DECL_SEEK_HOLE 1
7014| #define HAVE_CLOCK_GETTIME 1
7015| #define HAVE_STRUCT_IP_MREQN /**/
7016| #define HAVE_SYS_SYSCALL_H 1
7017| #define HAVE_MACH_MACH_TIME_H 1
7018| #define HAVE_LIBAVUTIL_AVUTIL_H 1
7019| #define HAVE_LIBAVCODEC_AVCODEC_H 1
7020| #define HAVE_LIBAVFORMAT_AVFORMAT_H 1
7021| #define HAVE_JPEGLIB_H 1
7022| #define HAVE_SQLITE3_H 1
7023| #define HAVE_LIBEXIF_EXIF_LOADER_H 1
7024| #define HAVE_ID3TAG_H 1
7025| #define HAVE_OGG_OGG_H 1
7026| #define HAVE_VORBIS_CODEC_H 1
7027| #define HAVE_FLAC_METADATA_H 1
7028| /* end confdefs.h.  */
7029|
7030|              #include <stdlib.h>
7031|              #include <sys/types.h>
7032|              #include <dirent.h>
7033|
7034| int
7035| main (void)
7036| {
7037|
7038|             int filter(struct dirent *d);
7039|             struct dirent **ptr = NULL;
7040|             char *name = NULL;
7041|             (void)scandir(name, &ptr, filter, alphasort);
7042|
7043|
7044|   ;
7045|   return 0;
7046| }
7047configure:10490: result: yes
7048configure:10496: checking for linux sendfile support
7049configure:10519: /usr/bin/clang -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -Wall -Werror -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
7050conftest.c:102:23: fatal error: 'sys/sendfile.h' file not found
7051             #include <sys/sendfile.h>
7052                      ^~~~~~~~~~~~~~~~
70531 error generated.
7054configure:10519: $? = 1
7055configure: failed program was:
7056| /* confdefs.h */
7057| #define PACKAGE_NAME "MiniDLNA"
7058| #define PACKAGE_TARNAME "minidlna"
7059| #define PACKAGE_VERSION "1.1.3"
7060| #define PACKAGE_STRING "MiniDLNA 1.1.3"
7061| #define PACKAGE_BUGREPORT ""
7062| #define PACKAGE_URL ""
7063| #define PACKAGE "minidlna"
7064| #define VERSION "1.1.3"
7065| #define HAVE_STDIO_H 1
7066| #define HAVE_STDLIB_H 1
7067| #define HAVE_STRING_H 1
7068| #define HAVE_INTTYPES_H 1
7069| #define HAVE_STDINT_H 1
7070| #define HAVE_STRINGS_H 1
7071| #define HAVE_SYS_STAT_H 1
7072| #define HAVE_SYS_TYPES_H 1
7073| #define HAVE_UNISTD_H 1
7074| #define HAVE_WCHAR_H 1
7075| #define STDC_HEADERS 1
7076| #define _ALL_SOURCE 1
7077| #define _DARWIN_C_SOURCE 1
7078| #define _GNU_SOURCE 1
7079| #define _HPUX_ALT_XOPEN_SOCKET_API 1
7080| #define _NETBSD_SOURCE 1
7081| #define _OPENBSD_SOURCE 1
7082| #define _POSIX_PTHREAD_SEMANTICS 1
7083| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
7084| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
7085| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
7086| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
7087| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
7088| #define __STDC_WANT_LIB_EXT2__ 1
7089| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
7090| #define _TANDEM_SOURCE 1
7091| #define __EXTENSIONS__ 1
7092| #define HAVE_ICONV 1
7093| #define ICONV_CONST
7094| #define HAVE_CFPREFERENCESCOPYAPPVALUE 1
7095| #define HAVE_CFLOCALECOPYCURRENT 1
7096| #define HAVE_ICONV 1
7097| #define ENABLE_NLS 1
7098| #define HAVE_GETTEXT 1
7099| #define HAVE_DCGETTEXT 1
7100| #define OS_URL "http://sourceforge.net/projects/minidlna/"
7101| #define ROOTDEV_MANUFACTURER "Justin Maggard"
7102| #define ROOTDEV_MANUFACTURERURL "http://www.netgear.com/"
7103| #define ROOTDEV_MODELNAME "Windows Media Connect compatible (MiniDLNA)"
7104| #define ROOTDEV_MODELDESCRIPTION "MiniDLNA on " OS_NAME
7105| #define ROOTDEV_MODELURL OS_URL
7106| #define HAVE_DIRENT_H 1
7107| #define HAVE_STRUCT_DIRENT_D_TYPE 1
7108| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
7109| #define HAVE_ST_BLOCKS 1
7110| #define HAVE__BOOL 1
7111| #define HAVE_STDBOOL_H 1
7112| #define HAVE_FORK 1
7113| #define HAVE_VFORK 1
7114| #define HAVE_WORKING_VFORK 1
7115| #define HAVE_WORKING_FORK 1
7116| #define HAVE_GETHOSTNAME 1
7117| #define HAVE_GETIFADDRS 1
7118| #define HAVE_GETTIMEOFDAY 1
7119| #define HAVE_INET_NTOA 1
7120| #define HAVE_MEMMOVE 1
7121| #define HAVE_MEMSET 1
7122| #define HAVE_MKDIR 1
7123| #define HAVE_REALPATH 1
7124| #define HAVE_SELECT 1
7125| #define HAVE_SENDFILE 1
7126| #define HAVE_SETLOCALE 1
7127| #define HAVE_SOCKET 1
7128| #define HAVE_STRCASECMP 1
7129| #define HAVE_STRCHR 1
7130| #define HAVE_STRDUP 1
7131| #define HAVE_STRERROR 1
7132| #define HAVE_STRNCASECMP 1
7133| #define HAVE_STRPBRK 1
7134| #define HAVE_STRRCHR 1
7135| #define HAVE_STRSTR 1
7136| #define HAVE_STRTOL 1
7137| #define HAVE_STRTOUL 1
7138| #define HAVE_DECL_SEEK_HOLE 1
7139| #define HAVE_CLOCK_GETTIME 1
7140| #define HAVE_STRUCT_IP_MREQN /**/
7141| #define HAVE_SYS_SYSCALL_H 1
7142| #define HAVE_MACH_MACH_TIME_H 1
7143| #define HAVE_LIBAVUTIL_AVUTIL_H 1
7144| #define HAVE_LIBAVCODEC_AVCODEC_H 1
7145| #define HAVE_LIBAVFORMAT_AVFORMAT_H 1
7146| #define HAVE_JPEGLIB_H 1
7147| #define HAVE_SQLITE3_H 1
7148| #define HAVE_LIBEXIF_EXIF_LOADER_H 1
7149| #define HAVE_ID3TAG_H 1
7150| #define HAVE_OGG_OGG_H 1
7151| #define HAVE_VORBIS_CODEC_H 1
7152| #define HAVE_FLAC_METADATA_H 1
7153| #define SCANDIR_CONST 1
7154| /* end confdefs.h.  */
7155|
7156|              #include <sys/types.h>
7157|              #include <sys/sendfile.h>
7158|
7159| int
7160| main (void)
7161| {
7162|
7163|              int tofd = 0, fromfd = 0;
7164|              off_t offset;
7165|              size_t total = 0;
7166|              ssize_t nwritten = sendfile(tofd, fromfd, &offset, total);
7167|              return nwritten;
7168|
7169|
7170|   ;
7171|   return 0;
7172| }
7173configure:10530: result: no
7174configure:10536: checking for darwin sendfile support
7175configure:10563: /usr/bin/clang -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -Wall -Werror -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
7176configure:10563: $? = 0
7177configure:10566: result: yes
7178configure:10580: checking for freebsd sendfile support
7179configure:10611: /usr/bin/clang -c -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -Wall -Werror -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk conftest.c >&5
7180conftest.c:121:75: error: too many arguments to function call, expected 6, have 7
7181             ret = sendfile(fromfd, tofd, offset, total, &hdr, &nwritten, 0);
7182                   ~~~~~~~~                                               ^
7183/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/socket.h:716:1: note: 'sendfile' declared here
7184int     sendfile(int, int, off_t, off_t *, struct sf_hdtr *, int);
7185^
71861 error generated.
7187configure:10611: $? = 1
7188configure: failed program was:
7189| /* confdefs.h */
7190| #define PACKAGE_NAME "MiniDLNA"
7191| #define PACKAGE_TARNAME "minidlna"
7192| #define PACKAGE_VERSION "1.1.3"
7193| #define PACKAGE_STRING "MiniDLNA 1.1.3"
7194| #define PACKAGE_BUGREPORT ""
7195| #define PACKAGE_URL ""
7196| #define PACKAGE "minidlna"
7197| #define VERSION "1.1.3"
7198| #define HAVE_STDIO_H 1
7199| #define HAVE_STDLIB_H 1
7200| #define HAVE_STRING_H 1
7201| #define HAVE_INTTYPES_H 1
7202| #define HAVE_STDINT_H 1
7203| #define HAVE_STRINGS_H 1
7204| #define HAVE_SYS_STAT_H 1
7205| #define HAVE_SYS_TYPES_H 1
7206| #define HAVE_UNISTD_H 1
7207| #define HAVE_WCHAR_H 1
7208| #define STDC_HEADERS 1
7209| #define _ALL_SOURCE 1
7210| #define _DARWIN_C_SOURCE 1
7211| #define _GNU_SOURCE 1
7212| #define _HPUX_ALT_XOPEN_SOCKET_API 1
7213| #define _NETBSD_SOURCE 1
7214| #define _OPENBSD_SOURCE 1
7215| #define _POSIX_PTHREAD_SEMANTICS 1
7216| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
7217| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
7218| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
7219| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
7220| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
7221| #define __STDC_WANT_LIB_EXT2__ 1
7222| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
7223| #define _TANDEM_SOURCE 1
7224| #define __EXTENSIONS__ 1
7225| #define HAVE_ICONV 1
7226| #define ICONV_CONST
7227| #define HAVE_CFPREFERENCESCOPYAPPVALUE 1
7228| #define HAVE_CFLOCALECOPYCURRENT 1
7229| #define HAVE_ICONV 1
7230| #define ENABLE_NLS 1
7231| #define HAVE_GETTEXT 1
7232| #define HAVE_DCGETTEXT 1
7233| #define OS_URL "http://sourceforge.net/projects/minidlna/"
7234| #define ROOTDEV_MANUFACTURER "Justin Maggard"
7235| #define ROOTDEV_MANUFACTURERURL "http://www.netgear.com/"
7236| #define ROOTDEV_MODELNAME "Windows Media Connect compatible (MiniDLNA)"
7237| #define ROOTDEV_MODELDESCRIPTION "MiniDLNA on " OS_NAME
7238| #define ROOTDEV_MODELURL OS_URL
7239| #define HAVE_DIRENT_H 1
7240| #define HAVE_STRUCT_DIRENT_D_TYPE 1
7241| #define HAVE_STRUCT_STAT_ST_BLOCKS 1
7242| #define HAVE_ST_BLOCKS 1
7243| #define HAVE__BOOL 1
7244| #define HAVE_STDBOOL_H 1
7245| #define HAVE_FORK 1
7246| #define HAVE_VFORK 1
7247| #define HAVE_WORKING_VFORK 1
7248| #define HAVE_WORKING_FORK 1
7249| #define HAVE_GETHOSTNAME 1
7250| #define HAVE_GETIFADDRS 1
7251| #define HAVE_GETTIMEOFDAY 1
7252| #define HAVE_INET_NTOA 1
7253| #define HAVE_MEMMOVE 1
7254| #define HAVE_MEMSET 1
7255| #define HAVE_MKDIR 1
7256| #define HAVE_REALPATH 1
7257| #define HAVE_SELECT 1
7258| #define HAVE_SENDFILE 1
7259| #define HAVE_SETLOCALE 1
7260| #define HAVE_SOCKET 1
7261| #define HAVE_STRCASECMP 1
7262| #define HAVE_STRCHR 1
7263| #define HAVE_STRDUP 1
7264| #define HAVE_STRERROR 1
7265| #define HAVE_STRNCASECMP 1
7266| #define HAVE_STRPBRK 1
7267| #define HAVE_STRRCHR 1
7268| #define HAVE_STRSTR 1
7269| #define HAVE_STRTOL 1
7270| #define HAVE_STRTOUL 1
7271| #define HAVE_DECL_SEEK_HOLE 1
7272| #define HAVE_CLOCK_GETTIME 1
7273| #define HAVE_STRUCT_IP_MREQN /**/
7274| #define HAVE_SYS_SYSCALL_H 1
7275| #define HAVE_MACH_MACH_TIME_H 1
7276| #define HAVE_LIBAVUTIL_AVUTIL_H 1
7277| #define HAVE_LIBAVCODEC_AVCODEC_H 1
7278| #define HAVE_LIBAVFORMAT_AVFORMAT_H 1
7279| #define HAVE_JPEGLIB_H 1
7280| #define HAVE_SQLITE3_H 1
7281| #define HAVE_LIBEXIF_EXIF_LOADER_H 1
7282| #define HAVE_ID3TAG_H 1
7283| #define HAVE_OGG_OGG_H 1
7284| #define HAVE_VORBIS_CODEC_H 1
7285| #define HAVE_FLAC_METADATA_H 1
7286| #define SCANDIR_CONST 1
7287| #define HAVE_DARWIN_SENDFILE_API 1
7288| /* end confdefs.h.  */
7289|
7290|              #include <stdlib.h>
7291|              #include <sys/types.h>
7292|              #include <sys/socket.h>
7293|              #include <sys/uio.h>
7294|
7295| int
7296| main (void)
7297| {
7298|
7299|              int fromfd=0, tofd=0, ret, total=0;
7300|              off_t offset=0, nwritten;
7301|              struct sf_hdtr hdr;
7302|              struct iovec hdtrl;
7303|              hdr.headers = &hdtrl;
7304|              hdr.hdr_cnt = 1;
7305|              hdr.trailers = NULL;
7306|              hdr.trl_cnt = 0;
7307|              hdtrl.iov_base = NULL;
7308|              hdtrl.iov_len = 0;
7309|              ret = sendfile(fromfd, tofd, offset, total, &hdr, &nwritten, 0);
7310|
7311|
7312|   ;
7313|   return 0;
7314| }
7315configure:10622: result: no
7316configure:10634: checking for jpeg_set_defaults in -ljpeg
7317configure:10657: /usr/bin/clang -o conftest -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 conftest.c -ljpeg   >&5
7318configure:10657: $? = 0
7319configure:10667: result: yes
7320configure:10686: checking for exif_data_new_from_file in -lexif
7321configure:10709: /usr/bin/clang -o conftest -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 conftest.c -lexif   >&5
7322configure:10709: $? = 0
7323configure:10719: result: yes
7324configure:10739: checking for id3_file_open in -lid3tag -lz
7325configure:10762: /usr/bin/clang -o conftest -pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 conftest.c -lid3tag -lz   >&5
7326configure:10762: $? = 0
7327configure:10773: result: yes
7328configure:10784: error: Could not find libid3tag
7329
7330## ---------------- ##
7331## Cache variables. ##
7332## ---------------- ##
7333
7334ac_cv_build=x86_64-apple-darwin19.6.0
7335ac_cv_c_bigendian=no
7336ac_cv_c_compiler_gnu=yes
7337ac_cv_c_inline=inline
7338ac_cv_c_int32_t=yes
7339ac_cv_c_uint32_t=yes
7340ac_cv_c_uint64_t=yes
7341ac_cv_c_uint8_t=yes
7342ac_cv_c_undeclared_builtin_options='none needed'
7343ac_cv_env_CC_set=set
7344ac_cv_env_CC_value=/usr/bin/clang
7345ac_cv_env_CFLAGS_set=set
7346ac_cv_env_CFLAGS_value='-pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64'
7347ac_cv_env_CPPFLAGS_set=set
7348ac_cv_env_CPPFLAGS_value='-I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk'
7349ac_cv_env_CPP_set=
7350ac_cv_env_CPP_value=
7351ac_cv_env_LDFLAGS_set=set
7352ac_cv_env_LDFLAGS_value='-L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64'
7353ac_cv_env_LIBS_set=
7354ac_cv_env_LIBS_value=
7355ac_cv_env_build_alias_set=
7356ac_cv_env_build_alias_value=
7357ac_cv_env_host_alias_set=
7358ac_cv_env_host_alias_value=
7359ac_cv_env_target_alias_set=
7360ac_cv_env_target_alias_value=
7361ac_cv_func_fork=yes
7362ac_cv_func_fork_works=yes
7363ac_cv_func_gethostname=yes
7364ac_cv_func_getifaddrs=yes
7365ac_cv_func_gettimeofday=yes
7366ac_cv_func_inet_ntoa=yes
7367ac_cv_func_lstat_dereferences_slashed_symlink=no
7368ac_cv_func_memmove=yes
7369ac_cv_func_memset=yes
7370ac_cv_func_mkdir=yes
7371ac_cv_func_realpath=yes
7372ac_cv_func_select=yes
7373ac_cv_func_sendfile=yes
7374ac_cv_func_setlocale=yes
7375ac_cv_func_socket=yes
7376ac_cv_func_strcasecmp=yes
7377ac_cv_func_strchr=yes
7378ac_cv_func_strdup=yes
7379ac_cv_func_strerror=yes
7380ac_cv_func_strncasecmp=yes
7381ac_cv_func_strpbrk=yes
7382ac_cv_func_strrchr=yes
7383ac_cv_func_strstr=yes
7384ac_cv_func_strtol=yes
7385ac_cv_func_strtoul=yes
7386ac_cv_func_vfork=yes
7387ac_cv_func_vfork_works=yes
7388ac_cv_have_decl_SEEK_HOLE=yes
7389ac_cv_header_FLAC_metadata_h=yes
7390ac_cv_header_avcodec_h=no
7391ac_cv_header_avformat_h=no
7392ac_cv_header_avutil_h=no
7393ac_cv_header_dirent_dirent_h=yes
7394ac_cv_header_ffmpeg_avcodec_h=no
7395ac_cv_header_ffmpeg_avformat_h=no
7396ac_cv_header_ffmpeg_avutil_h=no
7397ac_cv_header_ffmpeg_libavcodec_avcodec_h=no
7398ac_cv_header_ffmpeg_libavformat_avformat_h=no
7399ac_cv_header_ffmpeg_libavutil_avutil_h=no
7400ac_cv_header_id3tag_h=yes
7401ac_cv_header_inttypes_h=yes
7402ac_cv_header_jpeglib_h=yes
7403ac_cv_header_libav_avcodec_h=no
7404ac_cv_header_libav_avformat_h=no
7405ac_cv_header_libav_avutil_h=no
7406ac_cv_header_libav_libavcodec_avcodec_h=no
7407ac_cv_header_libav_libavformat_avformat_h=no
7408ac_cv_header_libav_libavutil_avutil_h=no
7409ac_cv_header_libavcodec_avcodec_h=yes
7410ac_cv_header_libavformat_avformat_h=yes
7411ac_cv_header_libavutil_avutil_h=yes
7412ac_cv_header_libexif_exif_loader_h=yes
7413ac_cv_header_linux_netlink_h=no
7414ac_cv_header_mach_mach_time_h=yes
7415ac_cv_header_minix_config_h=no
7416ac_cv_header_ogg_ogg_h=yes
7417ac_cv_header_sqlite3_h=yes
7418ac_cv_header_stdbool_h=yes
7419ac_cv_header_stdint_h=yes
7420ac_cv_header_stdio_h=yes
7421ac_cv_header_stdlib_h=yes
7422ac_cv_header_string_h=yes
7423ac_cv_header_strings_h=yes
7424ac_cv_header_sys_stat_h=yes
7425ac_cv_header_sys_syscall_h=yes
7426ac_cv_header_sys_types_h=yes
7427ac_cv_header_syscall_h=no
7428ac_cv_header_unistd_h=yes
7429ac_cv_header_vfork_h=no
7430ac_cv_header_vorbis_codec_h=yes
7431ac_cv_header_wchar_h=yes
7432ac_cv_host=x86_64-apple-darwin19.6.0
7433ac_cv_lib_exif_exif_data_new_from_file=yes
7434ac_cv_lib_id3tag__lz_id3_file_open=yes
7435ac_cv_lib_jpeg_jpeg_set_defaults=yes
7436ac_cv_member_struct_dirent_d_type=yes
7437ac_cv_member_struct_stat_st_blocks=yes
7438ac_cv_objext=o
7439ac_cv_path_EGREP='/usr/bin/grep -E'
7440ac_cv_path_GMSGFMT=/opt/local/bin/msgfmt
7441ac_cv_path_GREP=/usr/bin/grep
7442ac_cv_path_MSGFMT=/opt/local/bin/msgfmt
7443ac_cv_path_MSGMERGE=/opt/local/bin/msgmerge
7444ac_cv_path_XGETTEXT=/opt/local/bin/xgettext
7445ac_cv_prog_AWK=awk
7446ac_cv_prog_CPP='/usr/bin/clang -E'
7447ac_cv_prog_ac_ct_CC=/usr/bin/clang
7448ac_cv_prog_cc_c11=no
7449ac_cv_prog_cc_c89=
7450ac_cv_prog_cc_c99=no
7451ac_cv_prog_cc_g=yes
7452ac_cv_prog_cc_stdc=
7453ac_cv_prog_make_make_set=yes
7454ac_cv_safe_to_define___extensions__=yes
7455ac_cv_search_clock_gettime='none required'
7456ac_cv_search_opendir='none required'
7457ac_cv_should_define__xopen_source=no
7458ac_cv_target=x86_64-apple-darwin19.6.0
7459ac_cv_type__Bool=yes
7460ac_cv_type_mode_t=yes
7461ac_cv_type_off_t=yes
7462ac_cv_type_pid_t=yes
7463ac_cv_type_size_t=yes
7464ac_cv_type_ssize_t=yes
7465acl_cv_hardcode_direct=no
7466acl_cv_hardcode_libdir_flag_spec=
7467acl_cv_hardcode_libdir_separator=
7468acl_cv_hardcode_minus_L=no
7469acl_cv_libext=a
7470acl_cv_libname_spec='lib$name'
7471acl_cv_library_names_spec='$libname$shrext'
7472acl_cv_path_LD=/Library/Developer/CommandLineTools/usr/bin/ld
7473acl_cv_prog_gnu_ld=no
7474acl_cv_rpath=done
7475acl_cv_shlibext=dylib
7476acl_cv_wl=-Wl,
7477am_cv_CC_dependencies_compiler_type=gcc3
7478am_cv_func_iconv=yes
7479am_cv_func_iconv_works=yes
7480am_cv_lib_iconv=yes
7481am_cv_make_support_nested_variables=yes
7482am_cv_prog_cc_c_o=yes
7483am_cv_proto_iconv='extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);'
7484am_cv_proto_iconv_arg1=
7485gt_cv_func_CFLocaleCopyCurrent=yes
7486gt_cv_func_CFPreferencesCopyAppValue=yes
7487gt_cv_func_gnugettext1_libc=no
7488gt_cv_func_gnugettext1_libintl=yes
7489
7490## ----------------- ##
7491## Output variables. ##
7492## ----------------- ##
7493
7494ACLOCAL='${SHELL} '\''/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_minidlna/minidlna/work/minidlna-1.3.0/missing'\'' aclocal-1.16'
7495AMDEPBACKSLASH='\'
7496AMDEP_FALSE='#'
7497AMDEP_TRUE=''
7498AMTAR='$${TAR-tar}'
7499AM_BACKSLASH='\'
7500AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
7501AM_DEFAULT_VERBOSITY='0'
7502AM_V='$(V)'
7503AUTOCONF='${SHELL} '\''/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_minidlna/minidlna/work/minidlna-1.3.0/missing'\'' autoconf'
7504AUTOHEADER='${SHELL} '\''/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_minidlna/minidlna/work/minidlna-1.3.0/missing'\'' autoheader'
7505AUTOMAKE='${SHELL} '\''/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_minidlna/minidlna/work/minidlna-1.3.0/missing'\'' automake-1.16'
7506AWK='awk'
7507CC='/usr/bin/clang'
7508CCDEPMODE='depmode=gcc3'
7509CFLAGS='-pipe -Os -std=gnu89 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64'
7510CPP='/usr/bin/clang -E'
7511CPPFLAGS='-I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk'
7512CYGPATH_W='echo'
7513DEFS=''
7514DEPDIR='.deps'
7515ECHO_C='\c'
7516ECHO_N=''
7517ECHO_T=''
7518EGREP='/usr/bin/grep -E'
7519EXEEXT=''
7520GETTEXT_MACRO_VERSION='0.18'
7521GMSGFMT='/opt/local/bin/msgfmt'
7522GMSGFMT_015='/opt/local/bin/msgfmt'
7523GREP='/usr/bin/grep'
7524HAVE_AVAHI_FALSE=''
7525HAVE_AVAHI_TRUE=''
7526HAVE_FLAC_FALSE=''
7527HAVE_FLAC_TRUE=''
7528HAVE_KQUEUE_FALSE=''
7529HAVE_KQUEUE_TRUE=''
7530HAVE_VORBISFILE_FALSE=''
7531HAVE_VORBISFILE_TRUE=''
7532INSTALL_DATA='${INSTALL} -m 644'
7533INSTALL_PROGRAM='${INSTALL}'
7534INSTALL_SCRIPT='${INSTALL}'
7535INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
7536INTLLIBS='-lintl -Wl,-framework -Wl,CoreFoundation'
7537INTL_MACOSX_LIBS='-Wl,-framework -Wl,CoreFoundation'
7538LDFLAGS='-L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64'
7539LIBAVFORMAT_LIBS=''
7540LIBEXIF_LIBS='-lexif'
7541LIBICONV='-liconv'
7542LIBID3TAG_LIBS='-lid3tag -lz'
7543LIBINTL='-lintl -Wl,-framework -Wl,CoreFoundation'
7544LIBJPEG_LIBS='-ljpeg'
7545LIBOBJS=' lstat.o'
7546LIBS=''
7547LIBSQLITE3_LIBS=''
7548LN_S='ln -s'
7549LTLIBICONV='-L/opt/local/lib -liconv -R/opt/local/lib'
7550LTLIBINTL='-L/opt/local/lib -lintl -R/opt/local/lib -Wl,-framework -Wl,CoreFoundation'
7551LTLIBOBJS=''
7552MAKEINFO='${SHELL} '\''/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_minidlna/minidlna/work/minidlna-1.3.0/missing'\'' makeinfo'
7553MKDIR_P='./install-sh -c -d'
7554MSGFMT='/opt/local/bin/msgfmt'
7555MSGFMT_015='/opt/local/bin/msgfmt'
7556MSGMERGE='/opt/local/bin/msgmerge'
7557NEED_OGG_FALSE=''
7558NEED_OGG_TRUE=''
7559NEED_VORBIS_FALSE=''
7560NEED_VORBIS_TRUE=''
7561OBJEXT='o'
7562PACKAGE='minidlna'
7563PACKAGE_BUGREPORT=''
7564PACKAGE_NAME='MiniDLNA'
7565PACKAGE_STRING='MiniDLNA 1.1.3'
7566PACKAGE_TARNAME='minidlna'
7567PACKAGE_URL=''
7568PACKAGE_VERSION='1.1.3'
7569PATH_SEPARATOR=':'
7570POSUB='po'
7571SET_MAKE=''
7572SHELL='/bin/sh'
7573STRIP=''
7574TIVO_SUPPORT_FALSE=''
7575TIVO_SUPPORT_TRUE=''
7576USE_NLS='yes'
7577VERSION='1.1.3'
7578XGETTEXT='/opt/local/bin/xgettext'
7579XGETTEXT_015='/opt/local/bin/xgettext'
7580XGETTEXT_EXTRA_OPTIONS=''
7581ac_ct_CC='/usr/bin/clang'
7582am__EXEEXT_FALSE=''
7583am__EXEEXT_TRUE=''
7584am__fastdepCC_FALSE='#'
7585am__fastdepCC_TRUE=''
7586am__include='include'
7587am__isrc=''
7588am__leading_dot='.'
7589am__nodep='_no'
7590am__quote=''
7591am__tar='$${TAR-tar} chof - "$$tardir"'
7592am__untar='$${TAR-tar} xf -'
7593bindir='${exec_prefix}/bin'
7594build='x86_64-apple-darwin19.6.0'
7595build_alias=''
7596build_cpu='x86_64'
7597build_os='darwin19.6.0'
7598build_vendor='apple'
7599datadir='${datarootdir}'
7600datarootdir='${prefix}/share'
7601docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
7602dvidir='${docdir}'
7603exec_prefix='NONE'
7604host='x86_64-apple-darwin19.6.0'
7605host_alias=''
7606host_cpu='x86_64'
7607host_os='darwin19.6.0'
7608host_vendor='apple'
7609htmldir='${docdir}'
7610includedir='${prefix}/include'
7611infodir='${datarootdir}/info'
7612install_sh='${SHELL} /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_minidlna/minidlna/work/minidlna-1.3.0/install-sh'
7613libdir='${exec_prefix}/lib'
7614libexecdir='${exec_prefix}/libexec'
7615localedir='${datarootdir}/locale'
7616localstatedir='${prefix}/var'
7617mandir='${datarootdir}/man'
7618mkdir_p='$(top_builddir)/./install-sh -c -d'
7619oldincludedir='/usr/include'
7620pdfdir='${docdir}'
7621prefix='/opt/local'
7622program_transform_name='s,x,x,'
7623psdir='${docdir}'
7624runstatedir='${localstatedir}/run'
7625sbindir='${exec_prefix}/sbin'
7626sharedstatedir='${prefix}/com'
7627sysconfdir='${prefix}/etc'
7628target='x86_64-apple-darwin19.6.0'
7629target_alias=''
7630target_cpu='x86_64'
7631target_os='darwin19.6.0'
7632target_vendor='apple'
7633
7634## ----------- ##
7635## confdefs.h. ##
7636## ----------- ##
7637
7638/* confdefs.h */
7639#define PACKAGE_NAME "MiniDLNA"
7640#define PACKAGE_TARNAME "minidlna"
7641#define PACKAGE_VERSION "1.1.3"
7642#define PACKAGE_STRING "MiniDLNA 1.1.3"
7643#define PACKAGE_BUGREPORT ""
7644#define PACKAGE_URL ""
7645#define PACKAGE "minidlna"
7646#define VERSION "1.1.3"
7647#define HAVE_STDIO_H 1
7648#define HAVE_STDLIB_H 1
7649#define HAVE_STRING_H 1
7650#define HAVE_INTTYPES_H 1
7651#define HAVE_STDINT_H 1
7652#define HAVE_STRINGS_H 1
7653#define HAVE_SYS_STAT_H 1
7654#define HAVE_SYS_TYPES_H 1
7655#define HAVE_UNISTD_H 1
7656#define HAVE_WCHAR_H 1
7657#define STDC_HEADERS 1
7658#define _ALL_SOURCE 1
7659#define _DARWIN_C_SOURCE 1
7660#define _GNU_SOURCE 1
7661#define _HPUX_ALT_XOPEN_SOCKET_API 1
7662#define _NETBSD_SOURCE 1
7663#define _OPENBSD_SOURCE 1
7664#define _POSIX_PTHREAD_SEMANTICS 1
7665#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
7666#define __STDC_WANT_IEC_60559_BFP_EXT__ 1
7667#define __STDC_WANT_IEC_60559_DFP_EXT__ 1
7668#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
7669#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
7670#define __STDC_WANT_LIB_EXT2__ 1
7671#define __STDC_WANT_MATH_SPEC_FUNCS__ 1
7672#define _TANDEM_SOURCE 1
7673#define __EXTENSIONS__ 1
7674#define HAVE_ICONV 1
7675#define ICONV_CONST
7676#define HAVE_CFPREFERENCESCOPYAPPVALUE 1
7677#define HAVE_CFLOCALECOPYCURRENT 1
7678#define HAVE_ICONV 1
7679#define ENABLE_NLS 1
7680#define HAVE_GETTEXT 1
7681#define HAVE_DCGETTEXT 1
7682#define OS_URL "http://sourceforge.net/projects/minidlna/"
7683#define ROOTDEV_MANUFACTURER "Justin Maggard"
7684#define ROOTDEV_MANUFACTURERURL "http://www.netgear.com/"
7685#define ROOTDEV_MODELNAME "Windows Media Connect compatible (MiniDLNA)"
7686#define ROOTDEV_MODELDESCRIPTION "MiniDLNA on " OS_NAME
7687#define ROOTDEV_MODELURL OS_URL
7688#define HAVE_DIRENT_H 1
7689#define HAVE_STRUCT_DIRENT_D_TYPE 1
7690#define HAVE_STRUCT_STAT_ST_BLOCKS 1
7691#define HAVE_ST_BLOCKS 1
7692#define HAVE__BOOL 1
7693#define HAVE_STDBOOL_H 1
7694#define HAVE_FORK 1
7695#define HAVE_VFORK 1
7696#define HAVE_WORKING_VFORK 1
7697#define HAVE_WORKING_FORK 1
7698#define HAVE_GETHOSTNAME 1
7699#define HAVE_GETIFADDRS 1
7700#define HAVE_GETTIMEOFDAY 1
7701#define HAVE_INET_NTOA 1
7702#define HAVE_MEMMOVE 1
7703#define HAVE_MEMSET 1
7704#define HAVE_MKDIR 1
7705#define HAVE_REALPATH 1
7706#define HAVE_SELECT 1
7707#define HAVE_SENDFILE 1
7708#define HAVE_SETLOCALE 1
7709#define HAVE_SOCKET 1
7710#define HAVE_STRCASECMP 1
7711#define HAVE_STRCHR 1
7712#define HAVE_STRDUP 1
7713#define HAVE_STRERROR 1
7714#define HAVE_STRNCASECMP 1
7715#define HAVE_STRPBRK 1
7716#define HAVE_STRRCHR 1
7717#define HAVE_STRSTR 1
7718#define HAVE_STRTOL 1
7719#define HAVE_STRTOUL 1
7720#define HAVE_DECL_SEEK_HOLE 1
7721#define HAVE_CLOCK_GETTIME 1
7722#define HAVE_STRUCT_IP_MREQN /**/
7723#define HAVE_SYS_SYSCALL_H 1
7724#define HAVE_MACH_MACH_TIME_H 1
7725#define HAVE_LIBAVUTIL_AVUTIL_H 1
7726#define HAVE_LIBAVCODEC_AVCODEC_H 1
7727#define HAVE_LIBAVFORMAT_AVFORMAT_H 1
7728#define HAVE_JPEGLIB_H 1
7729#define HAVE_SQLITE3_H 1
7730#define HAVE_LIBEXIF_EXIF_LOADER_H 1
7731#define HAVE_ID3TAG_H 1
7732#define HAVE_OGG_OGG_H 1
7733#define HAVE_VORBIS_CODEC_H 1
7734#define HAVE_FLAC_METADATA_H 1
7735#define SCANDIR_CONST 1
7736#define HAVE_DARWIN_SENDFILE_API 1
7737
7738configure: exit 1