| 1 | /* lame ppgb hand-edited to comply with C11 */ |
| 2 | |
| 3 | #ifndef LAME_CONFIG_H |
| 4 | #define LAME_CONFIG_H |
| 5 | |
| 6 | |
| 7 | /* debug define */ |
| 8 | /* #undef ABORTFP */ |
| 9 | |
| 10 | /* Define if building universal (internal helper macro) */ |
| 11 | /* #undef AC_APPLE_UNIVERSAL_BUILD */ |
| 12 | |
| 13 | /* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP |
| 14 | systems. This function is required for `alloca.c' support on those systems. |
| 15 | */ |
| 16 | /* #undef CRAY_STACKSEG_END */ |
| 17 | |
| 18 | /* Define to 1 if using `alloca.c'. */ |
| 19 | /* #undef C_ALLOCA */ |
| 20 | |
| 21 | /* alot of debug output */ |
| 22 | /* #undef DEBUG */ |
| 23 | |
| 24 | /* allow to compute a more accurate replaygain value */ |
| 25 | /* #define DECODE_ON_THE_FLY 1 djmw: or we have to get in all the mpglib routines*/ |
| 26 | |
| 27 | /* double is faster than float on Alpha */ |
| 28 | /* #undef FLOAT */ |
| 29 | |
| 30 | /* Define to 1 if you have `alloca', as a function or macro. */ |
| 31 | #define HAVE_ALLOCA 1 |
| 32 | |
| 33 | /* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix). |
| 34 | */ |
| 35 | #define HAVE_ALLOCA_H 1 |
| 36 | |
| 37 | /* Define to 1 if you have the <dlfcn.h> header file. */ |
| 38 | /* #define HAVE_DLFCN_H 1 */ |
| 39 | |
| 40 | /* we link against libefence */ |
| 41 | /* #undef HAVE_EFENCE */ |
| 42 | |
| 43 | /* Define to 1 if you have the <errno.h> header file. */ |
| 44 | /* #define HAVE_ERRNO_H 1 */ |
| 45 | |
| 46 | /* Define to 1 if you have the <fcntl.h> header file. */ |
| 47 | /* #define HAVE_FCNTL_H 1 */ |
| 48 | |
| 49 | /* Define to 1 if you have the `gettimeofday' function. */ |
| 50 | #define HAVE_GETTIMEOFDAY 1 |
| 51 | |
| 52 | /* Define if you have the iconv() function and it works. */ |
| 53 | #define HAVE_ICONV 1 |
| 54 | |
| 55 | // lame ppgb |
| 56 | #define HAVE_MEMCPY 1 |
| 57 | |
| 58 | /* add ieee754_float32_t type */ |
| 59 | /* #undef HAVE_IEEE754_FLOAT32_T */ |
| 60 | #ifndef HAVE_IEEE754_FLOAT32_T |
| 61 | typedef float ieee754_float32_t; |
| 62 | #endif |
| 63 | |
| 64 | /* add ieee754_float64_t type */ |
| 65 | /* #undef HAVE_IEEE754_FLOAT64_T */ |
| 66 | #ifndef HAVE_IEEE754_FLOAT64_T |
| 67 | typedef double ieee754_float64_t; |
| 68 | #endif |
| 69 | |
| 70 | /* system has 80 bit floats */ |
| 71 | /* #define HAVE_IEEE854_FLOAT80 1 */ |
| 72 | |
| 73 | /* add ieee854_float80_t type */ |
| 74 | /* #undef HAVE_IEEE854_FLOAT80_T */ |
| 75 | #ifndef HAVE_IEEE854_FLOAT80_T |
| 76 | typedef long double ieee854_float80_t; |
| 77 | #endif |
| 78 | |
| 79 | /* add int16_t type */ |
| 80 | #define HAVE_INT16_T 1 |
| 81 | #ifndef HAVE_INT16_T |
| 82 | typedef short int16_t; |
| 83 | #endif |
| 84 | |
| 85 | /* add int32_t type */ |
| 86 | #define HAVE_INT32_T 1 |
| 87 | #ifndef HAVE_INT32_T |
| 88 | #define A_INT32_T int |
| 89 | typedef A_INT32_T int32_t; |
| 90 | #endif |
| 91 | |
| 92 | /* add int64_t type */ |
| 93 | #define HAVE_INT64_T 1 |
| 94 | #ifndef HAVE_INT64_T |
| 95 | #define A_INT64_T long |
| 96 | typedef A_INT64_T int64_t; |
| 97 | #endif |
| 98 | |
| 99 | /* add int8_t type */ |
| 100 | #define HAVE_INT8_T 1 |
| 101 | #ifndef HAVE_INT8_T |
| 102 | typedef char int8_t; |
| 103 | #endif |
| 104 | |
| 105 | /* Define to 1 if you have the <inttypes.h> header file. */ |
| 106 | #define HAVE_INTTYPES_H 1 |
| 107 | |
| 108 | /* Define to 1 if you have the <limits.h> header file. */ |
| 109 | #define HAVE_LIMITS_H 1 |
| 110 | |
| 111 | /* Define to 1 if you have the <linux/soundcard.h> header file. */ |
| 112 | #define HAVE_LINUX_SOUNDCARD_H 1 |
| 113 | |
| 114 | /* Define to 1 if the type `long double' works and has more range or precision |
| 115 | than `double'. */ |
| 116 | #define HAVE_LONG_DOUBLE 1 |
| 117 | |
| 118 | /* Define to 1 if the type `long double' works and has more range or precision |
| 119 | than `double'. */ |
| 120 | #define HAVE_LONG_DOUBLE_WIDER 1 |
| 121 | |
| 122 | /* Define to 1 if you have the <memory.h> header file. */ |
| 123 | #define HAVE_MEMORY_H 1 |
| 124 | |
| 125 | /* djmw no build with mpglib support */ |
| 126 | // #define HAVE_MPGLIB 0 |
| 127 | |
| 128 | /* have nasm */ |
| 129 | /* #undef HAVE_NASM */ |
| 130 | |
| 131 | /* Define to 1 if you have the <ncurses/termcap.h> header file. */ |
| 132 | /* #undef HAVE_NCURSES_TERMCAP_H */ |
| 133 | |
| 134 | /* Define to 1 if you have the `socket' function. */ |
| 135 | #define HAVE_SOCKET 1 |
| 136 | |
| 137 | /* Define to 1 if you have the <stdint.h> header file. */ |
| 138 | #define HAVE_STDINT_H 1 |
| 139 | |
| 140 | /* Define to 1 if you have the <stdlib.h> header file. */ |
| 141 | #define HAVE_STDLIB_H 1 |
| 142 | |
| 143 | /* Define to 1 if you have the <strings.h> header file. */ |
| 144 | #define HAVE_STRINGS_H 1 |
| 145 | |
| 146 | /* Define to 1 if you have the <string.h> header file. */ |
| 147 | #define HAVE_STRING_H 1 |
| 148 | |
| 149 | /* Define to 1 if you have the `strtol' function. */ |
| 150 | #define HAVE_STRTOL 1 |
| 151 | |
| 152 | /* Define to 1 if you have the <sys/soundcard.h> header file. */ |
| 153 | /* #define HAVE_SYS_SOUNDCARD_H 1 */ |
| 154 | |
| 155 | /* Define to 1 if you have the <sys/stat.h> header file. */ |
| 156 | #define HAVE_SYS_STAT_H 1 |
| 157 | |
| 158 | /* Define to 1 if you have the <sys/time.h> header file. */ |
| 159 | #define HAVE_SYS_TIME_H 1 |
| 160 | |
| 161 | /* Define to 1 if you have the <sys/types.h> header file. */ |
| 162 | #define HAVE_SYS_TYPES_H 1 |
| 163 | |
| 164 | /* have termcap */ |
| 165 | /* #define HAVE_TERMCAP 1 */ |
| 166 | |
| 167 | /* Define to 1 if you have the <termcap.h> header file. */ |
| 168 | /* #define HAVE_TERMCAP_H 1 */ |
| 169 | |
| 170 | /* add uint16_t type */ |
| 171 | //#define HAVE_UINT16_T 1 // lame ppgb |
| 172 | #ifndef HAVE_UINT16_T |
| 173 | typedef unsigned short uint16_t; |
| 174 | #endif |
| 175 | |
| 176 | /* add uint32_t type */ |
| 177 | //#define HAVE_UINT32_T 1 |
| 178 | #ifndef HAVE_UINT32_T |
| 179 | #define A_UINT32_T unsigned int |
| 180 | typedef A_UINT32_T uint32_t; // lame ppgb |
| 181 | #endif |
| 182 | |
| 183 | /* add uint64_t type */ |
| 184 | #define HAVE_UINT64_T 1 |
| 185 | #ifndef HAVE_UINT64_T |
| 186 | #define A_UINT64_T unsigned long |
| 187 | typedef A_UINT64_T uint64_t; |
| 188 | #endif |
| 189 | |
| 190 | /* add uint8_t type */ |
| 191 | //#define HAVE_UINT8_T 1 // lame ppgb |
| 192 | #ifndef HAVE_UINT8_T |
| 193 | typedef unsigned char uint8_t; |
| 194 | #endif |
| 195 | |
| 196 | /* Define to 1 if you have the <unistd.h> header file. */ |
| 197 | /* #define HAVE_UNISTD_H 1 */ |
| 198 | |
| 199 | /* Define if SSE intrinsics work. */ |
| 200 | /* #define HAVE_XMMINTRIN_H 1 */ |
| 201 | |
| 202 | /* Define as const if the declaration of iconv() needs const. */ |
| 203 | #define ICONV_CONST |
| 204 | |
| 205 | /* requested by Frank, seems to be temporary needed for a smooth transition */ |
| 206 | #define LAME_LIBRARY_BUILD 1 |
| 207 | |
| 208 | /* set to 1 if you have libsndfile */ |
| 209 | /* #undef LIBSNDFILE */ |
| 210 | |
| 211 | /* Define to the sub-directory where libtool stores uninstalled libraries. */ |
| 212 | #define LT_OBJDIR ".libs/" |
| 213 | |
| 214 | /* use MMX version of choose_table */ |
| 215 | /* #undef MMX_choose_table */ |
| 216 | |
| 217 | /* build without hooks for analyzer */ |
| 218 | /* #undef NOANALYSIS */ |
| 219 | |
| 220 | /* Name of package */ |
| 221 | #define PACKAGE "lame" |
| 222 | |
| 223 | /* Define to the address where bug reports for this package should be sent. */ |
| 224 | #define PACKAGE_BUGREPORT "[email protected]" |
| 225 | |
| 226 | /* Define to the full name of this package. */ |
| 227 | #define PACKAGE_NAME "lame" |
| 228 | |
| 229 | /* Define to the full name and version of this package. */ |
| 230 | #define PACKAGE_STRING "lame 3.100" |
| 231 | |
| 232 | /* Define to the one symbol short name of this package. */ |
| 233 | #define PACKAGE_TARNAME "lame" |
| 234 | |
| 235 | /* Define to the home page for this package. */ |
| 236 | #define PACKAGE_URL "" |
| 237 | |
| 238 | /* Define to the version of this package. */ |
| 239 | #define PACKAGE_VERSION "3.100" |
| 240 | |
| 241 | /* The size of `double', as computed by sizeof. */ |
| 242 | #define SIZEOF_DOUBLE 8 |
| 243 | |
| 244 | /* The size of `float', as computed by sizeof. */ |
| 245 | #define SIZEOF_FLOAT 4 |
| 246 | |
| 247 | /* The size of `int', as computed by sizeof. */ |
| 248 | #define SIZEOF_INT 4 |
| 249 | |
| 250 | /* The size of `long', as computed by sizeof. win64 compatibility */ |
| 251 | #define SIZEOF_LONG 4 |
| 252 | |
| 253 | /* The size of `long double', as computed by sizeof. */ |
| 254 | /* #undef SIZEOF_LONG_DOUBLE */ |
| 255 | |
| 256 | /* The size of `long long', as computed by sizeof. */ |
| 257 | #define SIZEOF_LONG_LONG 8 |
| 258 | |
| 259 | /* The size of `short', as computed by sizeof. */ |
| 260 | #define SIZEOF_SHORT 2 |
| 261 | |
| 262 | /* The size of `unsigned int', as computed by sizeof. */ |
| 263 | #define SIZEOF_UNSIGNED_INT 4 |
| 264 | |
| 265 | /* The size of `unsigned long', as computed by sizeof. win64 compatibility*/ |
| 266 | #define SIZEOF_UNSIGNED_LONG 4 |
| 267 | |
| 268 | /* The size of `unsigned long long', as computed by sizeof. */ |
| 269 | #define SIZEOF_UNSIGNED_LONG_LONG 8 |
| 270 | |
| 271 | /* The size of `unsigned short', as computed by sizeof. */ |
| 272 | #define SIZEOF_UNSIGNED_SHORT 2 |
| 273 | |
| 274 | /* If using the C implementation of alloca, define if you know the |
| 275 | direction of stack growth for your system; otherwise it will be |
| 276 | automatically deduced at runtime. |
| 277 | STACK_DIRECTION > 0 => grows toward higher addresses |
| 278 | STACK_DIRECTION < 0 => grows toward lower addresses |
| 279 | STACK_DIRECTION = 0 => direction of growth unknown */ |
| 280 | /* #undef STACK_DIRECTION */ |
| 281 | |
| 282 | /* Define to 1 if you have the ANSI C header files. */ |
| 283 | #define STDC_HEADERS 1 |
| 284 | |
| 285 | /* IEEE754 compatible machine */ |
| 286 | #define TAKEHIRO_IEEE754_HACK 1 |
| 287 | |
| 288 | /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */ |
| 289 | #define TIME_WITH_SYS_TIME 1 |
| 290 | |
| 291 | /* faster log implementation with less but enough precission */ |
| 292 | #define USE_FAST_LOG 1 |
| 293 | |
| 294 | /* Enable extensions on AIX 3, Interix. */ |
| 295 | #ifndef _ALL_SOURCE |
| 296 | # define _ALL_SOURCE 1 |
| 297 | #endif |
| 298 | /* Enable GNU extensions on systems that have them. */ |
| 299 | #ifndef _GNU_SOURCE |
| 300 | # define _GNU_SOURCE 1 |
| 301 | #endif |
| 302 | /* Enable threading extensions on Solaris. */ |
| 303 | #ifndef _POSIX_PTHREAD_SEMANTICS |
| 304 | # define _POSIX_PTHREAD_SEMANTICS 1 |
| 305 | #endif |
| 306 | /* Enable extensions on HP NonStop. */ |
| 307 | #ifndef _TANDEM_SOURCE |
| 308 | # define _TANDEM_SOURCE 1 |
| 309 | #endif |
| 310 | /* Enable general extensions on Solaris. */ |
| 311 | #ifndef __EXTENSIONS__ |
| 312 | # define __EXTENSIONS__ 1 |
| 313 | #endif |
| 314 | |
| 315 | |
| 316 | /* Version number of package */ |
| 317 | #define VERSION "3.100" |
| 318 | |
| 319 | /* Define if using the dmalloc debugging malloc package */ |
| 320 | /* #undef WITH_DMALLOC */ |
| 321 | |
| 322 | /* Enable large inode numbers on Mac OS X 10.5. */ |
| 323 | #ifndef _DARWIN_USE_64_BIT_INODE |
| 324 | # define _DARWIN_USE_64_BIT_INODE 1 |
| 325 | #endif |
| 326 | |
| 327 | /* Number of bits in a file offset, on hosts where this is settable. */ |
| 328 | /* #undef _FILE_OFFSET_BITS */ |
| 329 | |
| 330 | /* Define for large files, on AIX-style hosts. */ |
| 331 | /* #undef _LARGE_FILES */ |
| 332 | |
| 333 | /* Define to 1 if on MINIX. */ |
| 334 | /* #undef _MINIX */ |
| 335 | |
| 336 | /* Define to 2 if the system does not provide POSIX.1 features except with |
| 337 | this defined. */ |
| 338 | /* #undef _POSIX_1_SOURCE */ |
| 339 | |
| 340 | /* Define to 1 if you need to in order for `stat' and other things to work. */ |
| 341 | /* #undef _POSIX_SOURCE */ |
| 342 | |
| 343 | /* we're on DEC Alpha */ |
| 344 | /* #undef __DECALPHA__ */ |
| 345 | |
| 346 | /* work around a glibc bug */ |
| 347 | /* #undef __NO_MATH_INLINES */ |
| 348 | |
| 349 | /* Define to empty if `const' does not conform to ANSI C. */ |
| 350 | /* #undef const */ |
| 351 | |
| 352 | /* Define to `__inline__' or `__inline' if that's what the C compiler |
| 353 | calls it, or to nothing if 'inline' is not supported under any name. */ |
| 354 | #ifndef __cplusplus |
| 355 | /* #undef inline */ |
| 356 | #endif |
| 357 | |
| 358 | /* Define to `unsigned int' if <sys/types.h> does not define. */ |
| 359 | /* #undef size_t */ |
| 360 | |
| 361 | #endif /* LAME_CONFIG_H */ |