forked from flyingfalling/pfstools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cmake_config.h.in
60 lines (43 loc) · 1.23 KB
/
cmake_config.h.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
/* config.h.in. Generated from configure.ac by autoheader. */
/* Define to the version of this package. */
#define PACKAGE_VERSION "${pfstools_VERSION_MAJOR}.${pfstools_VERSION_MINOR}"
#define PACKAGE_STRING "pfstools ${pfstools_VERSION_MAJOR}.${pfstools_VERSION_MINOR}"
/* Directory where data files are located. */
#define PKG_DATADIR "${PKG_DATADIR}"
/* Define to 1 if you have the ANSI C header files. */
//#undef STDC_HEADERS
/* Version number of package */
//#undef VERSION
/* Windows compilation. */
//#undef WIN32
#if ${CYGWIN}
#define CYGWIN
#endif
#if ${HAVE_OpenMP}
#define HAVE_OpenMP
#endif
#if ${HAVE_FFTW3F}
#define HAVE_FFTW3F
#endif
#if ${HAVE_FFTW3}
#define HAVE_FFTW3
#endif
/* Output stream for debug messages. */
#ifdef DEBUG
#define DEBUG_STR std::cerr
#else
#define DEBUG_STR if(1) {;} else std::cerr
#endif
/* Output stream for verbose messages */
#define VERBOSE_STR if(verbose) std::cerr << PROG_NAME << ": "
#if defined(_WIN32) || defined(_WIN64)
#define strcasecmp _stricmp
#define strncasecmp _strnicmp
#endif
#ifdef BRANCH_PREDICTION
#define likely(x) __builtin_expect((x),1)
#define unlikely(x) __builtin_expect((x),0)
#else
#define likely(x) (x)
#define unlikely(x) (x)
#endif