1/* config.h.  Generated from config.h.in by configure.  */
2/* config.h.in.  Generated from configure.ac by autoheader.  */
3
4/* Define if building universal (internal helper macro) */
5/* #undef AC_APPLE_UNIVERSAL_BUILD */
6
7#include "osver.h"
8
9/* DB path */
10#define DEFAULT_DB_PATH "/tmp/minidlna"
11
12/* Log path */
13#define DEFAULT_LOG_PATH "/tmp/minidlna"
14
15/* Define to 1 if translation of program messages to the user's native
16   language is requested. */
17/* #undef ENABLE_NLS */
18
19/* Define to 1 if you have the <arpa/inet.h> header file. */
20#ifndef HAVE_ARPA_INET_H
21#define HAVE_ARPA_INET_H 1
22#endif
23
24/* Define to 1 if you have the <asm/unistd.h> header file. */
25#define HAVE_ASM_UNISTD_H 1
26
27/* Define to 1 if you have the <avcodec.h> header file. */
28/* #undef HAVE_AVCODEC_H */
29
30/* Define to 1 if you have the <avformat.h> header file. */
31/* #undef HAVE_AVFORMAT_H */
32
33/* Define to 1 if you have the <avutil.h> header file. */
34/* #undef HAVE_AVUTIL_H */
35
36/* Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the
37   CoreFoundation framework. */
38/* #undef HAVE_CFLOCALECOPYCURRENT */
39
40/* Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in
41   the CoreFoundation framework. */
42/* #undef HAVE_CFPREFERENCESCOPYAPPVALUE */
43
44/* use clock_gettime */
45/* #undef HAVE_CLOCK_GETTIME */
46
47/* Whether the __NR_clock_gettime syscall is defined */
48#define HAVE_CLOCK_GETTIME_SYSCALL 1
49
50/* Whether darwin sendfile() API is available */
51/* #undef HAVE_DARWIN_SENDFILE_API */
52
53/* Define if the GNU dcgettext() function is already present or preinstalled.
54   */
55#define HAVE_DCGETTEXT 1
56
57/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
58   */
59#define HAVE_DIRENT_H 1
60
61/* Define to 1 if you have the <endian.h> header file. */
62#define HAVE_ENDIAN_H 1
63
64/* Define to 1 if you have the <fcntl.h> header file. */
65#define HAVE_FCNTL_H 1
66
67/* Define to 1 if you have the <ffmpeg/avcodec.h> header file. */
68/* #undef HAVE_FFMPEG_AVCODEC_H */
69
70/* Define to 1 if you have the <ffmpeg/avformat.h> header file. */
71/* #undef HAVE_FFMPEG_AVFORMAT_H */
72
73/* Define to 1 if you have the <ffmpeg/avutil.h> header file. */
74/* #undef HAVE_FFMPEG_AVUTIL_H */
75
76/* Define to 1 if you have the <ffmpeg/libavcodec/avcodec.h> header file. */
77/* #undef HAVE_FFMPEG_LIBAVCODEC_AVCODEC_H */
78
79/* Define to 1 if you have the <ffmpeg/libavformat/avformat.h> header file. */
80/* #undef HAVE_FFMPEG_LIBAVFORMAT_AVFORMAT_H */
81
82/* Define to 1 if you have the <ffmpeg/libavutil/avutil.h> header file. */
83/* #undef HAVE_FFMPEG_LIBAVUTIL_AVUTIL_H */
84
85/* Have flac */
86#define HAVE_FLAC 1
87
88/* Define to 1 if you have the <FLAC/all.h> header file. */
89#define HAVE_FLAC_ALL_H 1
90
91/* Define to 1 if you have the <FLAC/metadata.h> header file. */
92#define HAVE_FLAC_METADATA_H 1
93
94/* Define to 1 if you have the `fork' function. */
95#define HAVE_FORK 1
96
97/* Whether freebsd sendfile() API is available */
98/* #undef HAVE_FREEBSD_SENDFILE_API */
99
100/* Define to 1 if you have the `gethostname' function. */
101#define HAVE_GETHOSTNAME 1
102
103/* Define to 1 if you have the `getifaddrs' function. */
104#define HAVE_GETIFADDRS 1
105
106/* Define if the GNU gettext() function is already present or preinstalled. */
107#define HAVE_GETTEXT 1
108
109/* Define to 1 if you have the `gettimeofday' function. */
110#define HAVE_GETTIMEOFDAY 1
111
112/* Define if you have the iconv() function and it works. */
113/* #undef HAVE_ICONV 1 */
114
115/* Define to 1 if you have the <id3tag.h> header file. */
116#define HAVE_ID3TAG_H 1
117
118/* Define to 1 if you have the `inet_ntoa' function. */
119#define HAVE_INET_NTOA 1
120
121/* Whether kernel has inotify support */
122#define HAVE_INOTIFY 1
123
124/* Define to 1 if you have the `inotify_init' function. */
125#define HAVE_INOTIFY_INIT 1
126
127/* Define to 1 if you have the <inttypes.h> header file. */
128#define HAVE_INTTYPES_H 1
129
130/* Define to 1 if you have the <jpeglib.h> header file. */
131#define HAVE_JPEGLIB_H 1
132
133/* Define to 1 if you have the <libavcodec/avcodec.h> header file. */
134#define HAVE_LIBAVCODEC_AVCODEC_H 1
135
136/* Define to 1 if you have the <libavformat/avformat.h> header file. */
137#define HAVE_LIBAVFORMAT_AVFORMAT_H 1
138
139/* Define to 1 if you have the <libavutil/avutil.h> header file. */
140#define HAVE_LIBAVUTIL_AVUTIL_H 1
141
142/* Define to 1 if you have the <libav/avcodec.h> header file. */
143/* #undef HAVE_LIBAV_AVCODEC_H */
144
145/* Define to 1 if you have the <libav/avformat.h> header file. */
146/* #undef HAVE_LIBAV_AVFORMAT_H */
147
148/* Define to 1 if you have the <libav/avutil.h> header file. */
149/* #undef HAVE_LIBAV_AVUTIL_H */
150
151/* Define to 1 if you have the <libav/libavcodec/avcodec.h> header file. */
152/* #undef HAVE_LIBAV_LIBAVCODEC_AVCODEC_H */
153
154/* Define to 1 if you have the <libav/libavformat/avformat.h> header file. */
155/* #undef HAVE_LIBAV_LIBAVFORMAT_AVFORMAT_H */
156
157/* Define to 1 if you have the <libav/libavutil/avutil.h> header file. */
158/* #undef HAVE_LIBAV_LIBAVUTIL_AVUTIL_H */
159
160/* Define to 1 if you have the <libexif/exif-loader.h> header file. */
161#define HAVE_LIBEXIF_EXIF_LOADER_H 1
162
163/* Define to 1 if you have the <libintl.h> header file. */
164#define HAVE_LIBINTL_H 1
165
166/* Define to 1 if you have the `pthread' library (-lpthread). */
167#define HAVE_LIBPTHREAD 1
168
169/* Whether linux sendfile() API is available */
170#define HAVE_LINUX_SENDFILE_API 1
171
172/* Define to 1 if you have the <locale.h> header file. */
173#define HAVE_LOCALE_H 1
174
175/* Define to 1 if you have the <machine/endian.h> header file. */
176/* #undef HAVE_MACHINE_ENDIAN_H */
177
178/* Define to 1 if you have the <mach/mach_time.h> header file. */
179/* #undef HAVE_MACH_MACH_TIME_H */
180
181/* Define to 1 if you have the `memmove' function. */
182#define HAVE_MEMMOVE 1
183
184/* Define to 1 if you have the <memory.h> header file. */
185#define HAVE_MEMORY_H 1
186
187/* Define to 1 if you have the `memset' function. */
188#define HAVE_MEMSET 1
189
190/* Define to 1 if you have the `mkdir' function. */
191#define HAVE_MKDIR 1
192
193/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
194/* #undef HAVE_NDIR_H */
195
196/* Define to 1 if you have the <netdb.h> header file. */
197#define HAVE_NETDB_H 1
198
199/* Define to 1 if you have the <netinet/in.h> header file. */
200#define HAVE_NETINET_IN_H 1
201
202/* Support for Linux netlink */
203/* #undef HAVE_NETLINK */
204
205/* Define to 1 if you have the <ogg/ogg.h> header file. */
206#define HAVE_OGG_OGG_H 1
207
208/* Define to 1 if you have the `realpath' function. */
209#define HAVE_REALPATH 1
210
211/* Define to 1 if you have the `select' function. */
212#define HAVE_SELECT 1
213
214/* Define to 1 if you have the `sendfile' function. */
215#define HAVE_SENDFILE 1
216
217/* Define to 1 if you have the `setlocale' function. */
218#define HAVE_SETLOCALE 1
219
220/* Define to 1 if you have the `socket' function. */
221#define HAVE_SOCKET 1
222
223/* Define to 1 if you have the <sqlite3.h> header file. */
224#define HAVE_SQLITE3_H 1
225
226/* Define to 1 if the sqlite3_malloc function exists. */
227#define HAVE_SQLITE3_MALLOC 1
228
229/* Define to 1 if the sqlite3_prepare_v2 function exists. */
230#define HAVE_SQLITE3_PREPARE_V2 1
231
232/* Define to 1 if stdbool.h conforms to C99. */
233#define HAVE_STDBOOL_H 1
234
235/* Define to 1 if you have the <stddef.h> header file. */
236/* #undef HAVE_STDDEF_H */
237
238/* Define to 1 if you have the <stdint.h> header file. */
239#define HAVE_STDINT_H 1
240
241/* Define to 1 if you have the <stdlib.h> header file. */
242/* #undef HAVE_STDLIB_H */
243
244/* Define to 1 if you have the `strcasecmp' function. */
245#define HAVE_STRCASECMP 1
246
247/* Define to 1 if you have the `strchr' function. */
248#define HAVE_STRCHR 1
249
250/* Define to 1 if you have the `strdup' function. */
251#define HAVE_STRDUP 1
252
253/* Define to 1 if you have the `strerror' function. */
254#define HAVE_STRERROR 1
255
256/* Define to 1 if you have the <strings.h> header file. */
257#define HAVE_STRINGS_H 1
258
259/* Define to 1 if you have the <string.h> header file. */
260#define HAVE_STRING_H 1
261
262/* Define to 1 if you have the `strncasecmp' function. */
263#define HAVE_STRNCASECMP 1
264
265/* Define to 1 if you have the `strpbrk' function. */
266#define HAVE_STRPBRK 1
267
268/* Define to 1 if you have the `strrchr' function. */
269#define HAVE_STRRCHR 1
270
271/* Define to 1 if you have the `strstr' function. */
272#define HAVE_STRSTR 1
273
274/* Define to 1 if you have the `strtol' function. */
275#define HAVE_STRTOL 1
276
277/* Define to 1 if you have the `strtoul' function. */
278#define HAVE_STRTOUL 1
279
280/* Define to 1 if `d_type' is a member of `struct dirent'. */
281#define HAVE_STRUCT_DIRENT_D_TYPE 1
282
283/* Support for struct ip_mreq */
284/* #undef HAVE_STRUCT_IP_MREQ */
285
286/* Support for struct ip_mreqn */
287#define HAVE_STRUCT_IP_MREQN /**/
288
289/* Define to 1 if `st_blocks' is a member of `struct stat'. */
290#define HAVE_STRUCT_STAT_ST_BLOCKS 1
291
292/* Define to 1 if your `struct stat' has `st_blocks'. Deprecated, use
293   `HAVE_STRUCT_STAT_ST_BLOCKS' instead. */
294#define HAVE_ST_BLOCKS 1
295
296/* Define to 1 if you have the <syscall.h> header file. */
297#define HAVE_SYSCALL_H 1
298
299/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
300   */
301/* #undef HAVE_SYS_DIR_H */
302
303/* Define to 1 if you have the <sys/file.h> header file. */
304#define HAVE_SYS_FILE_H 1
305
306/* Define to 1 if you have the <sys/inotify.h> header file. */
307#define HAVE_SYS_INOTIFY_H 1
308
309/* Define to 1 if you have the <sys/ioctl.h> header file. */
310#define HAVE_SYS_IOCTL_H 1
311
312/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
313   */
314/* #undef HAVE_SYS_NDIR_H */
315
316/* Define to 1 if you have the <sys/param.h> header file. */
317#define HAVE_SYS_PARAM_H 1
318
319/* Define to 1 if you have the <sys/socket.h> header file. */
320#define HAVE_SYS_SOCKET_H 1
321
322/* Define to 1 if you have the <sys/stat.h> header file. */
323#define HAVE_SYS_STAT_H 1
324
325/* Define to 1 if you have the <sys/syscall.h> header file. */
326#define HAVE_SYS_SYSCALL_H 1
327
328/* Define to 1 if you have the <sys/time.h> header file. */
329#define HAVE_SYS_TIME_H 1
330
331/* Define to 1 if you have the <sys/types.h> header file. */
332#define HAVE_SYS_TYPES_H 1
333
334/* Define to 1 if you have the <unistd.h> header file. */
335#define HAVE_UNISTD_H 1
336
337/* Define to 1 if you have the `vfork' function. */
338#define HAVE_VFORK 1
339
340/* Define to 1 if you have the <vfork.h> header file. */
341/* #undef HAVE_VFORK_H */
342
343/* lacking vorbisfile */
344#define HAVE_VORBISFILE 1
345
346/* Define to 1 if you have the <vorbis/codec.h> header file. */
347#define HAVE_VORBIS_CODEC_H 1
348
349/* Define to 1 if you have the <vorbis/vorbisfile.h> header file. */
350#define HAVE_VORBIS_VORBISFILE_H 1
351
352/* Define to 1 if `fork' works. */
353#define HAVE_WORKING_FORK 1
354
355/* Define to 1 if `vfork' works. */
356#define HAVE_WORKING_VFORK 1
357
358/* Define to 1 if the system has the type `_Bool'. */
359#define HAVE__BOOL 1
360
361/* Define as const if the declaration of iconv() needs const. */
362#define ICONV_CONST
363
364/* Define to enable logging */
365/* #undef LOG_PERROR */
366
367/* Define to 1 if `lstat' dereferences a symlink specified with a trailing
368   slash. */
369#define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
370
371/* Define to 1 if you want to enable generic NETGEAR device support */
372/* #undef NETGEAR */
373
374/* Define to 1 if your C compiler doesn't accept -c and -o together. */
375/* #undef NO_MINUS_C_MINUS_O */
376
377/* OS Name */
378#define OS_NAME "asuswrt"
379
380/* OS URL */
381#define OS_URL "http://www.asus.com/"
382
383/* Name of package */
384#define PACKAGE "minidlna"
385
386/* Define to the address where bug reports for this package should be sent. */
387#define PACKAGE_BUGREPORT ""
388
389/* Define to the full name of this package. */
390#define PACKAGE_NAME "MiniDLNA"
391
392/* Define to the full name and version of this package. */
393#define PACKAGE_STRING "MiniDLNA 1.1.4"
394
395/* Define to the one symbol short name of this package. */
396#define PACKAGE_TARNAME "minidlna"
397
398/* Define to the home page for this package. */
399#define PACKAGE_URL ""
400
401/* Define to the version of this package. */
402#define PACKAGE_VERSION "1.1.4"
403
404/* Define to 5 if you want to enable NETGEAR ReadyNAS PnP-X support */
405/* #undef PNPX */
406
407/* Define to 1 if you want to enable NETGEAR ReadyNAS support */
408/* #undef READYNAS */
409
410/* scandir needs const char cast */
411#define SCANDIR_CONST 1
412
413/* we are on solaris */
414/* #undef SOLARIS */
415
416/* Define to enable Solaris Kernel Stats */
417/* #undef SOLARIS_KSTATS */
418
419/* Define to 1 if you have the ANSI C header files. */
420#define STDC_HEADERS 1
421
422/* Define to 1 if you want to enable TiVo support */
423#define TIVO_SUPPORT 1
424
425/* use the system's builtin daemon() */
426/* #undef USE_DAEMON */
427
428/* Define to enable IPF */
429/* #undef USE_IPF */
430
431/* Enable extensions on AIX 3, Interix.  */
432#ifndef _ALL_SOURCE
433# define _ALL_SOURCE 1
434#endif
435/* Enable GNU extensions on systems that have them.  */
436#ifndef _GNU_SOURCE
437# define _GNU_SOURCE 1
438#endif
439/* Enable threading extensions on Solaris.  */
440#ifndef _POSIX_PTHREAD_SEMANTICS
441# define _POSIX_PTHREAD_SEMANTICS 1
442#endif
443/* Enable extensions on HP NonStop.  */
444#ifndef _TANDEM_SOURCE
445# define _TANDEM_SOURCE 1
446#endif
447/* Enable general extensions on Solaris.  */
448#ifndef __EXTENSIONS__
449# define __EXTENSIONS__ 1
450#endif
451
452
453/* Version number of package */
454#define VERSION "1.1.4"
455
456/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
457   significant byte first (like Motorola and SPARC, unlike Intel). */
458#if defined AC_APPLE_UNIVERSAL_BUILD
459# if defined __BIG_ENDIAN__
460#  define WORDS_BIGENDIAN 1
461# endif
462#else
463# ifndef WORDS_BIGENDIAN
464/* #  undef WORDS_BIGENDIAN */
465# endif
466#endif
467
468/* Define to 1 if on MINIX. */
469/* #undef _MINIX */
470
471/* Define to 2 if the system does not provide POSIX.1 features except with
472   this defined. */
473/* #undef _POSIX_1_SOURCE */
474
475/* Define to 1 if you need to in order for `stat' and other things to work. */
476/* #undef _POSIX_SOURCE */
477
478/* Define for Solaris 2.5.1 so the uint32_t typedef from <sys/synch.h>,
479   <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
480   #define below would cause a syntax error. */
481/* #undef _UINT32_T */
482
483/* Define for Solaris 2.5.1 so the uint64_t typedef from <sys/synch.h>,
484   <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
485   #define below would cause a syntax error. */
486/* #undef _UINT64_T */
487
488/* Define for Solaris 2.5.1 so the uint8_t typedef from <sys/synch.h>,
489   <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
490   #define below would cause a syntax error. */
491/* #undef _UINT8_T */
492
493/* Define to `__inline__' or `__inline' if that's what the C compiler
494   calls it, or to nothing if 'inline' is not supported under any name.  */
495#ifndef __cplusplus
496/* #undef inline */
497#endif
498
499/* Define to the type of a signed integer type of width exactly 32 bits if
500   such a type exists and the standard includes do not define it. */
501/* #undef int32_t */
502
503/* Define to `int' if <sys/types.h> does not define. */
504/* #undef mode_t */
505
506/* Define to `long int' if <sys/types.h> does not define. */
507/* #undef off_t */
508
509/* Define to `int' if <sys/types.h> does not define. */
510/* #undef pid_t */
511
512/* Define to `unsigned int' if <sys/types.h> does not define. */
513/* #undef size_t */
514
515/* Define to `int' if <sys/types.h> does not define. */
516/* #undef ssize_t */
517
518/* Define to the type of an unsigned integer type of width exactly 32 bits if
519   such a type exists and the standard includes do not define it. */
520/* #undef uint32_t */
521
522/* Define to the type of an unsigned integer type of width exactly 64 bits if
523   such a type exists and the standard includes do not define it. */
524/* #undef uint64_t */
525
526/* Define to the type of an unsigned integer type of width exactly 8 bits if
527   such a type exists and the standard includes do not define it. */
528/* #undef uint8_t */
529
530/* Define as `fork' if `vfork' does not work. */
531/* #undef vfork */
532