1/* config.h.in.  Generated from configure.in by autoheader.  */
2/*
3** This file has been automatically generated by 'acconfig' from aclocal.m4
4** Copyright (C) 1988 Eleftherios Gkioulekas <lf@amath.washington.edu>
5**
6** This file is free software; as a special exception the author gives
7** unlimited permission to copy and/or distribute it, with or without
8** modifications, as long as this notice is preserved.
9**
10** This program is distributed in the hope that it will be useful, but
11** WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
12** implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
13*/
14
15/* This is the top section */
16
17/* This is the template section */
18
19/* These are standard for all packages using Automake */
20#undef PACKAGE
21#undef VERSION
22
23/* And now the rest of the boys */
24#undef CXX_HAS_BUGGY_FOR_LOOPS
25/* the following is added due to a bug in autoconf, checking for booleans in gcc while g++ is used for compiling */
26#ifndef __cplusplus
27#undef CXX_HAS_NO_BOOL
28#endif
29#undef ID3_ENABLE_DEBUG
30#undef ID3_DISABLE_ASSERT
31#undef ID3_DISABLE_CHECKS
32#undef ID3_ICONV_FORMAT_UTF16BE
33#undef ID3_ICONV_FORMAT_UTF16
34#undef ID3_ICONV_FORMAT_UTF8
35#undef ID3_ICONV_FORMAT_ASCII
36#undef ID3LIB_ICONV_OLDSTYLE
37#undef ID3LIB_ICONV_CAST_OK
38
39/* config.h defines these preprocesser symbols to be used by id3lib for
40 * determining internal versioning information.  The intent is that these
41 * macros will be made available in the library via constants, functions,
42 * or static methods.
43 */
44#undef HAVE_ZLIB
45#undef HAVE_GETOPT_LONG
46#undef _ID3LIB_NAME
47#undef _ID3LIB_VERSION
48#undef _ID3LIB_FULLNAME
49#undef _ID3LIB_MAJOR_VERSION
50#undef _ID3LIB_MINOR_VERSION
51#undef _ID3LIB_PATCH_VERSION
52#undef _ID3LIB_INTERFACE_AGE
53#undef _ID3LIB_BINARY_AGE
54#undef _ID3_COMPILED_WITH_DEBUGGING
55/* */
56
57
58/* Define if you have the <cctype> header file. */
59#undef HAVE_CCTYPE
60
61/* Define if you have the <climits> header file. */
62#undef HAVE_CLIMITS
63
64/* Define if you have the <cstdio> header file. */
65#undef HAVE_CSTDIO
66
67/* Define if you have the <cstdlib> header file. */
68#undef HAVE_CSTDLIB
69
70/* Define if you have the <cstring> header file. */
71#undef HAVE_CSTRING
72
73/* Define if you have the <dlfcn.h> header file. */
74#undef HAVE_DLFCN_H
75
76/* Define if you have the <fstream> header file. */
77#undef HAVE_FSTREAM
78
79/* Define if you have the <fstream.h> header file. */
80#undef HAVE_FSTREAM_H
81
82/* Define if you have the `getopt_long' function. */
83#undef HAVE_GETOPT_LONG
84
85/* Define if you have the <iconv.h> header file. */
86#undef HAVE_ICONV_H
87
88/* Define if you have the <inttypes.h> header file. */
89#undef HAVE_INTTYPES_H
90
91/* Define if you have the <iomanip> header file. */
92#undef HAVE_IOMANIP
93
94/* Define if you have the <iomanip.h> header file. */
95#undef HAVE_IOMANIP_H
96
97/* Define if you have the <iostream> header file. */
98#undef HAVE_IOSTREAM
99
100/* Define if you have the <iostream.h> header file. */
101#undef HAVE_IOSTREAM_H
102
103/* Define if you have the <libcw/sys.h> header file. */
104#undef HAVE_LIBCW_SYS_H
105
106/* Define if you have the <bitset> header file. */
107#undef HAVE_BITSET
108
109/* Define if you have the <memory.h> header file. */
110#undef HAVE_MEMORY_H
111
112/* Define if you have the `mkstemp' function. */
113#undef HAVE_MKSTEMP
114
115/* Define if you have the <stdint.h> header file. */
116#undef HAVE_STDINT_H
117
118/* Define if you have the <stdlib.h> header file. */
119#undef HAVE_STDLIB_H
120
121/* Define if you have the <string> header file. */
122#undef HAVE_STRING
123
124/* Define if you have the <strings.h> header file. */
125#undef HAVE_STRINGS_H
126
127/* Define if you have the <string.h> header file. */
128#undef HAVE_STRING_H
129
130/* Define if you have the <sys/param.h> header file. */
131#undef HAVE_SYS_PARAM_H
132
133/* Define if you have the <sys/stat.h> header file. */
134#undef HAVE_SYS_STAT_H
135
136/* Define if you have the <sys/types.h> header file. */
137#undef HAVE_SYS_TYPES_H
138
139/* Define if you have the `truncate' function. */
140#undef HAVE_TRUNCATE
141
142/* Define if you have the <unistd.h> header file. */
143#undef HAVE_UNISTD_H
144
145/* Define if you have the <wchar.h> header file. */
146#undef HAVE_WCHAR_H
147
148/* Define if you have the <zlib.h> header file. */
149#undef HAVE_ZLIB_H
150
151/* Name of package */
152#undef PACKAGE
153
154/* Define if you have the ANSI C header files. */
155#undef STDC_HEADERS
156
157/* Version number of package */
158#undef VERSION
159
160/* Define if you need to in order for stat and other things to work. */
161#undef _POSIX_SOURCE
162
163/* Define to `unsigned' if <sys/types.h> does not define. */
164#undef size_t
165/* This is the bottom section */
166
167// This file defines portability work-arounds for various proprietory
168// C++ compilers
169
170// Workaround for compilers with buggy for-loop scoping
171// That's quite a few compilers actually including recent versions of
172// Dec Alpha cxx, HP-UX CC and SGI CC.
173// The trivial "if" statement provides the correct scoping to the
174// for loop
175
176#ifdef CXX_HAS_BUGGY_FOR_LOOPS
177#undef for
178#define for if(1) for
179#endif
180
181//
182// If the C++ compiler we use doesn't have bool, then
183// the following is a near-perfect work-around.
184// You must make sure your code does not depend on "int" and "bool"
185// being two different types, in overloading for instance.
186//
187
188#ifdef CXX_HAS_NO_BOOL
189#define bool int
190#define true 1
191#define false 0
192#endif
193
194#if defined (ID3_ENABLE_DEBUG) && defined (HAVE_LIBCW_SYS_H) && defined (__cplusplus)
195
196#define DEBUG
197
198#include <libcw/sys.h>
199#include <libcw/debug.h>
200
201#define ID3D_INIT_DOUT()    Debug( libcw_do.on() )
202#define ID3D_INIT_WARNING() Debug( dc::warning.on() )
203#define ID3D_INIT_NOTICE()  Debug( dc::notice.on() )
204#define ID3D_NOTICE(x)      Dout( dc::notice, x )
205#define ID3D_WARNING(x)     Dout( dc::warning, x )
206
207#else
208
209#  define ID3D_INIT_DOUT()
210#  define ID3D_INIT_WARNING()
211#  define ID3D_INIT_NOTICE()
212#  define ID3D_NOTICE(x)
213#  define ID3D_WARNING(x)
214
215#endif /* defined (ID3_ENABLE_DEBUG) && defined (HAVE_LIBCW_SYS_H) */
216
217
218