1 /*
2 ** This file has been automatically generated by 'acconfig' from aclocal.m4
3 ** Copyright (C) 1988 Eleftherios Gkioulekas <lf@amath.washington.edu>
4 **
5 ** This file is free software; as a special exception the author gives
6 ** unlimited permission to copy and/or distribute it, with or without
7 ** modifications, as long as this notice is preserved.
8 **
9 ** This program is distributed in the hope that it will be useful, but
10 ** WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
11 ** implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
12 */
13 
14 /* This is the top section */
15 
16 @TOP@
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 #undef CXX_HAS_NO_BOOL
26 #undef ID3_ENABLE_DEBUG
27 #undef ID3_DISABLE_ASSERT
28 #undef ID3_DISABLE_CHECKS
29 #undef ID3_ICONV_FORMAT_UTF16BE
30 #undef ID3_ICONV_FORMAT_UTF16
31 #undef ID3_ICONV_FORMAT_UTF8
32 #undef ID3_ICONV_FORMAT_ASCII
33 
34 /* config.h defines these preprocesser symbols to be used by id3lib for
35  * determining internal versioning information.  The intent is that these
36  * macros will be made available in the library via constants, functions,
37  * or static methods.
38  */
39 #undef HAVE_ZLIB
40 #undef HAVE_GETOPT_LONG
41 #undef _ID3LIB_NAME
42 #undef _ID3LIB_VERSION
43 #undef _ID3LIB_FULLNAME
44 #undef _ID3LIB_MAJOR_VERSION
45 #undef _ID3LIB_MINOR_VERSION
46 #undef _ID3LIB_PATCH_VERSION
47 #undef _ID3LIB_INTERFACE_AGE
48 #undef _ID3LIB_BINARY_AGE
49 #undef _ID3_COMPILED_WITH_DEBUGGING
50 /* */
51 
52 @BOTTOM@
53 /* This is the bottom section */
54 
55 // This file defines portability work-arounds for various proprietory
56 // C++ compilers
57 
58 // Workaround for compilers with buggy for-loop scoping
59 // That's quite a few compilers actually including recent versions of
60 // Dec Alpha cxx, HP-UX CC and SGI CC.
61 // The trivial "if" statement provides the correct scoping to the
62 // for loop
63 
64 #ifdef CXX_HAS_BUGGY_FOR_LOOPS
65 #undef for
66 #define for if(1) for
67 #endif
68 
69 //
70 // If the C++ compiler we use doesn't have bool, then
71 // the following is a near-perfect work-around.
72 // You must make sure your code does not depend on "int" and "bool"
73 // being two different types, in overloading for instance.
74 //
75 
76 #ifdef CXX_HAS_NO_BOOL
77 #define bool int
78 #define true 1
79 #define false 0
80 #endif
81 
82 #if defined (ID3_ENABLE_DEBUG) && defined (HAVE_LIBCW_SYS_H) && defined (__cplusplus)
83 
84 #define DEBUG
85 
86 #include <libcw/sys.h>
87 #include <libcw/debug.h>
88 
89 #define ID3D_INIT_DOUT()    Debug( libcw_do.on() )
90 #define ID3D_INIT_WARNING() Debug( dc::warning.on() )
91 #define ID3D_INIT_NOTICE()  Debug( dc::notice.on() )
92 #define ID3D_NOTICE(x)      Dout( dc::notice, x )
93 #define ID3D_WARNING(x)     Dout( dc::warning, x )
94 
95 #else
96 
97 #  define ID3D_INIT_DOUT()
98 #  define ID3D_INIT_WARNING()
99 #  define ID3D_INIT_NOTICE()
100 #  define ID3D_NOTICE(x)
101 #  define ID3D_WARNING(x)
102 
103 #endif /* defined (ID3_ENABLE_DEBUG) && defined (HAVE_LIBCW_SYS_H) */
104 
105 
106