| 1 |
/* esl_config.h.in [input to configure] |
| 2 |
* |
| 3 |
* System-dependent configuration of Easel, by autoconf. |
| 4 |
* |
| 5 |
* This file should be included in all Easel .c files before |
| 6 |
* anything else, because it may set #define's that control |
| 7 |
* behaviour of system includes and system libraries. An example |
| 8 |
* is large file support. |
| 9 |
* |
| 10 |
*/ |
| 11 |
#ifndef eslCONFIG_INCLUDED |
| 12 |
#define eslCONFIG_INCLUDED |
| 13 |
|
| 14 |
/* Version info. |
| 15 |
*/ |
| 16 |
#undef EASEL_VERSION |
| 17 |
#undef EASEL_DATE |
| 18 |
#undef EASEL_COPYRIGHT |
| 19 |
#undef EASEL_LICENSE |
| 20 |
#undef EASEL_URL |
| 21 |
|
| 22 |
/* Control of debugging instrumentation */ |
| 23 |
#undef eslDEBUGLEVEL // debugging/assertion verbosity level: (0=none;3=most verbose) |
| 24 |
#undef eslENABLE_ASAN // some unit tests may need to know if AddressSanitizer is in use |
| 25 |
#undef eslENABLE_TSAN // ... ditto, for ThreadSanitizer |
| 26 |
|
| 27 |
/* Optional parallel implementation support */ |
| 28 |
#undef eslENABLE_SSE |
| 29 |
#undef eslENABLE_SSE4 |
| 30 |
#undef eslENABLE_AVX |
| 31 |
#undef eslENABLE_AVX512 |
| 32 |
#undef eslENABLE_NEON |
| 33 |
#undef eslENABLE_VMX |
| 34 |
|
| 35 |
#undef eslHAVE_NEON_AARCH64 |
| 36 |
|
| 37 |
#undef eslENABLE_CUDA // Should we build CUDA GPU acceleration? |
| 38 |
|
| 39 |
#undef HAVE_FLUSH_ZERO_MODE // On x86 platforms: we can turn off denormalized floating point math, |
| 40 |
#undef HAVE_DENORMALS_ZERO_MODE // which often incurs performance penalty. See simdvec.md in HMMER. |
| 41 |
|
| 42 |
#undef HAVE_MPI |
| 43 |
#undef HAVE_PTHREAD |
| 44 |
|
| 45 |
/* Programs */ |
| 46 |
#undef HAVE_GZIP |
| 47 |
|
| 48 |
/* Libraries */ |
| 49 |
#undef HAVE_LIBGSL |
| 50 |
|
| 51 |
/* Headers */ |
| 52 |
#undef HAVE_ENDIAN_H |
| 53 |
#undef HAVE_INTTYPES_H |
| 54 |
#undef HAVE_STDINT_H |
| 55 |
#undef HAVE_UNISTD_H |
| 56 |
#undef HAVE_SYS_TYPES_H |
| 57 |
#undef HAVE_STRINGS_H |
| 58 |
#undef HAVE_NETINET_IN_H /* On FreeBSD, you need netinet/in.h for struct sockaddr_in */ |
| 59 |
|
| 60 |
#undef HAVE_SYS_PARAM_H |
| 61 |
#undef HAVE_SYS_SYSCTL_H |
| 62 |
|
| 63 |
/* Types */ |
| 64 |
#undef WORDS_BIGENDIAN |
| 65 |
#undef int8_t |
| 66 |
#undef int16_t |
| 67 |
#undef int32_t |
| 68 |
#undef int64_t |
| 69 |
#undef uint8_t |
| 70 |
#undef uint16_t |
| 71 |
#undef uint32_t |
| 72 |
#undef uint64_t |
| 73 |
#undef off_t |
| 74 |
|
| 75 |
/* Compiler characteristics */ |
| 76 |
#undef HAVE_FUNC_ATTRIBUTE_NORETURN // Compiler supports __attribute__((__noreturn__)), helps w/ clang static analysis. |
| 77 |
#undef HAVE_FUNC_ATTRIBUTE_FORMAT // Compiler supports __attribute__((format(a,b,c))), typechecking printf-like functions |
| 78 |
|
| 79 |
/* Functions */ |
| 80 |
#undef HAVE_ALIGNED_ALLOC // esl_alloc |
| 81 |
#undef HAVE_ERFC // esl_stats |
| 82 |
#undef HAVE_GETCWD // esl_getcwd |
| 83 |
#undef HAVE_GETPID // esl_random |
| 84 |
#undef HAVE__MM_MALLOC // esl_alloc |
| 85 |
#undef HAVE_POPEN // various file parsers that check for piped input |
| 86 |
#undef HAVE_POSIX_MEMALIGN // esl_alloc |
| 87 |
#undef HAVE_STRCASECMP // easel::esl_strcasecmp() |
| 88 |
#undef HAVE_STRSEP // easel::esl_strsep() |
| 89 |
#undef HAVE_SYSCONF // esl_threads, asking system for cpu number |
| 90 |
#undef HAVE_SYSCTL // esl_threads, "" |
| 91 |
#undef HAVE_TIMES // esl_stopwatch |
| 92 |
|
| 93 |
#undef HAVE_FSEEKO |
| 94 |
|
| 95 |
/* System services */ |
| 96 |
#undef _FILE_OFFSET_BITS // Large file support; possibly archaic now? |
| 97 |
#undef _LARGE_FILES // "" |
| 98 |
#undef _LARGEFILE_SOURCE // "" |
| 99 |
|
| 100 |
|
| 101 |
/* Function behavior */ |
| 102 |
#define eslSTOPWATCH_HIGHRES |
| 103 |
|
| 104 |
#endif /*eslCONFIG_INCLUDED*/ |
| 105 |
|