1/* config.h.in. Generated automatically 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/* Define if you need to in order for stat and other things to work. */ 18/* #undef _POSIX_SOURCE */ 19 20/* Define to `unsigned' if <sys/types.h> doesn't define. */ 21/* #undef size_t */ 22 23/* Define if you have the ANSI C header files. */ 24#define STDC_HEADERS 1 25 26/* And now the rest of the boys */ 27#define CXX_HAS_BUGGY_FOR_LOOPS 1 28/* #undef CXX_HAS_NO_BOOL */ 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#define _ID3LIB_NAME "@ID3LIB_NAME@" 47#define _ID3LIB_VERSION "@ID3LIB_VERSION@" 48#define _ID3LIB_VERSION0 "@ID3LIB_VERSION@\0" 49#define _ID3LIB_FULLNAME "@ID3LIB_FULLNAME@" 50#define _ID3LIB_MAJOR_VERSION @ID3LIB_MAJOR_VERSION@ 51#define _ID3LIB_MINOR_VERSION @ID3LIB_MINOR_VERSION@ 52#define _ID3LIB_PATCH_VERSION @ID3LIB_PATCH_VERSION@ 53#define _ID3LIB_INTERFACE_AGE @ID3LIB_INTERFACE_AGE@ 54#define _ID3LIB_BINARY_AGE @ID3LIB_BINARY_AGE@ 55/* #undef ID3_COMPILED_WITH_DEBUGGING */ 56/* */ 57 58/* Define if you have the getopt_long function. */ 59#define HAVE_GETOPT_LONG 1 60 61/* Define if you have the mkstemp function. */ 62/* #undef HAVE_MKSTEMP */ 63 64/* Define if you have the ftruncate function. */ 65/* #undef HAVE_TRUNCATE */ 66 67/* Define if you have the <cctype> header file. */ 68#define HAVE_CCTYPE 1 69 70/* Define if you have the <climits> header file. */ 71#define HAVE_CLIMITS 1 72 73/* Define if you have the <cstdio> header file. */ 74#define HAVE_CSTDIO 1 75 76/* Define if you have the <cstdlib> header file. */ 77#define HAVE_CSTDLIB 1 78 79/* Define if you have the <cstring> header file. */ 80#define HAVE_CSTRING 1 81 82/* Define if you have the <fstream> header file. */ 83#define HAVE_FSTREAM 1 84 85/* Define if you have the <fstream.h> header file. */ 86#define HAVE_FSTREAM_H 1 87 88/* Define if you have the <iconv.h> header file. */ 89/* #undef HAVE_ICONV_H */ 90 91/* Define if you have the <iomanip> header file. */ 92#define HAVE_IOMANIP 1 93 94/* Define if you have the <iomanip.h> header file. */ 95#define HAVE_IOMANIP_H 1 96 97/* Define if you have the <iostream> header file. */ 98#define HAVE_IOSTREAM 1 99 100/* Define if you have the <iostream.h> header file. */ 101#define HAVE_IOSTREAM_H 1 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#define HAVE_BITSET 1 108 109/* Define if you have the <string> header file. */ 110#define HAVE_STRING 1 111 112/* Define if you have the <sys/param.h> header file. */ 113/* #undef HAVE_SYS_PARAM_H */ 114 115/* Define if you have the <unistd.h> header file. */ 116/* #undef HAVE_UNISTD_H */ 117 118/* Define if you have the <wchar.h> header file. */ 119#define HAVE_WCHAR_H 1 120 121/* Define if you have the <zlib.h> header file. */ 122/* #undef HAVE_ZLIB_H */ 123 124/* Name of package */ 125#define PACKAGE "@PACKAGE@" 126 127/* Version number of package */ 128#define VERSION _ID3LIB_VERSION 129 130/* This is the bottom section */ 131 132// This file defines portability work-arounds for various proprietory 133// C++ compilers 134 135// Workaround for compilers with buggy for-loop scoping 136// That's quite a few compilers actually including recent versions of 137// Dec Alpha cxx, HP-UX CC and SGI CC. 138// The trivial "if" statement provides the correct scoping to the 139// for loop 140 141#ifdef CXX_HAS_BUGGY_FOR_LOOPS 142/* #undef for */ 143#define for if(1) for 144#endif 145 146// 147// If the C++ compiler we use doesn't have bool, then 148// the following is a near-perfect work-around. 149// You must make sure your code does not depend on "int" and "bool" 150// being two different types, in overloading for instance. 151// 152 153#ifdef CXX_HAS_NO_BOOL 154#define bool int 155#define true 1 156#define false 0 157#endif 158 159#if defined (ID3_ENABLE_DEBUG) && defined (HAVE_LIBCW_SYS_H) && defined (__cplusplus) 160 161#define DEBUG 162 163#include <libcw/sys.h> 164#include <libcw/debug.h> 165 166#define ID3D_INIT_DOUT() Debug( libcw_do.on() ) 167#define ID3D_INIT_WARNING() Debug( dc::warning.on() ) 168#define ID3D_INIT_NOTICE() Debug( dc::notice.on() ) 169#define ID3D_NOTICE(x) Dout( dc::notice, x ) 170#define ID3D_WARNING(x) Dout( dc::warning, x ) 171 172#else 173 174# define ID3D_INIT_DOUT() 175# define ID3D_INIT_WARNING() 176# define ID3D_INIT_NOTICE() 177# define ID3D_NOTICE(x) 178# define ID3D_WARNING(x) 179 180#endif /* defined (ID3_ENABLE_DEBUG) && defined (HAVE_LIBCW_SYS_H) */ 181 182