Use the current binary dir for shared function checks too
[openal-soft.git] / config.h.in
blobaf0d8bfdd6180e3e35d206b6efec0e78247d94ba
1 /* API declaration export attribute */
2 #define AL_API ${EXPORT_DECL}
3 #define ALC_API ${EXPORT_DECL}
5 /* Define to the library version */
6 #define ALSOFT_VERSION "${LIB_VERSION}"
8 #ifdef IN_IDE_PARSER
9 /* KDevelop's parser doesn't recognize the C99-standard restrict keyword, but
10 * recent versions (at least 4.5.1) do recognize GCC's __restrict. */
11 #define restrict __restrict
12 #endif
14 /* Define any available alignment declaration */
15 #define ALIGN(x) ${ALIGN_DECL}
17 /* Define if we have the C11 aligned_alloc function */
18 #cmakedefine HAVE_ALIGNED_ALLOC
20 /* Define if we have the posix_memalign function */
21 #cmakedefine HAVE_POSIX_MEMALIGN
23 /* Define if we have the _aligned_malloc function */
24 #cmakedefine HAVE__ALIGNED_MALLOC
26 /* Define if we have SSE CPU extensions */
27 #cmakedefine HAVE_SSE
28 #cmakedefine HAVE_SSE2
29 #cmakedefine HAVE_SSE4_1
31 /* Define if we have ARM Neon CPU extensions */
32 #cmakedefine HAVE_NEON
34 /* Define if we have FluidSynth support */
35 #cmakedefine HAVE_FLUIDSYNTH
37 /* Define if we have the ALSA backend */
38 #cmakedefine HAVE_ALSA
40 /* Define if we have the OSS backend */
41 #cmakedefine HAVE_OSS
43 /* Define if we have the Solaris backend */
44 #cmakedefine HAVE_SOLARIS
46 /* Define if we have the SndIO backend */
47 #cmakedefine HAVE_SNDIO
49 /* Define if we have the QSA backend */
50 #cmakedefine HAVE_QSA
52 /* Define if we have the MMDevApi backend */
53 #cmakedefine HAVE_MMDEVAPI
55 /* Define if we have the DSound backend */
56 #cmakedefine HAVE_DSOUND
58 /* Define if we have the Windows Multimedia backend */
59 #cmakedefine HAVE_WINMM
61 /* Define if we have the PortAudio backend */
62 #cmakedefine HAVE_PORTAUDIO
64 /* Define if we have the PulseAudio backend */
65 #cmakedefine HAVE_PULSEAUDIO
67 /* Define if we have the CoreAudio backend */
68 #cmakedefine HAVE_COREAUDIO
70 /* Define if we have the OpenSL backend */
71 #cmakedefine HAVE_OPENSL
73 /* Define if we have the Wave Writer backend */
74 #cmakedefine HAVE_WAVE
76 /* Define if we have the stat function */
77 #cmakedefine HAVE_STAT
79 /* Define if we have the lrintf function */
80 #cmakedefine HAVE_LRINTF
82 /* Define if we have the strtof function */
83 #cmakedefine HAVE_STRTOF
85 /* Define if we have the __int64 type */
86 #cmakedefine HAVE___INT64
88 /* Define to the size of a long int type */
89 #cmakedefine SIZEOF_LONG ${SIZEOF_LONG}
91 /* Define to the size of a long long int type */
92 #cmakedefine SIZEOF_LONG_LONG ${SIZEOF_LONG_LONG}
94 /* Define if we have C99 variable-length array support */
95 #cmakedefine HAVE_C99_VLA
97 /* Define if we have C99 _Bool support */
98 #cmakedefine HAVE_C99_BOOL
100 /* Define if we have C11 _Static_assert support */
101 #cmakedefine HAVE_C11_STATIC_ASSERT
103 /* Define if we have C11 _Alignas support */
104 #cmakedefine HAVE_C11_ALIGNAS
106 /* Define if we have C11 _Atomic support */
107 #cmakedefine HAVE_C11_ATOMIC
109 /* Define if we have GCC's destructor attribute */
110 #cmakedefine HAVE_GCC_DESTRUCTOR
112 /* Define if we have GCC's format attribute */
113 #cmakedefine HAVE_GCC_FORMAT
115 /* Define if we have stdint.h */
116 #cmakedefine HAVE_STDINT_H
118 /* Define if we have stdbool.h */
119 #cmakedefine HAVE_STDBOOL_H
121 /* Define if we have stdalign.h */
122 #cmakedefine HAVE_STDALIGN_H
124 /* Define if we have windows.h */
125 #cmakedefine HAVE_WINDOWS_H
127 /* Define if we have dlfcn.h */
128 #cmakedefine HAVE_DLFCN_H
130 /* Define if we have pthread_np.h */
131 #cmakedefine HAVE_PTHREAD_NP_H
133 /* Define if we have alloca.h */
134 #cmakedefine HAVE_ALLOCA_H
136 /* Define if we have malloc.h */
137 #cmakedefine HAVE_MALLOC_H
139 /* Define if we have ftw.h */
140 #cmakedefine HAVE_FTW_H
142 /* Define if we have io.h */
143 #cmakedefine HAVE_IO_H
145 /* Define if we have strings.h */
146 #cmakedefine HAVE_STRINGS_H
148 /* Define if we have cpuid.h */
149 #cmakedefine HAVE_CPUID_H
151 /* Define if we have intrin.h */
152 #cmakedefine HAVE_INTRIN_H
154 /* Define if we have sys/sysconf.h */
155 #cmakedefine HAVE_SYS_SYSCONF_H
157 /* Define if we have guiddef.h */
158 #cmakedefine HAVE_GUIDDEF_H
160 /* Define if we have initguid.h */
161 #cmakedefine HAVE_INITGUID_H
163 /* Define if we have ieeefp.h */
164 #cmakedefine HAVE_IEEEFP_H
166 /* Define if we have float.h */
167 #cmakedefine HAVE_FLOAT_H
169 /* Define if we have fenv.h */
170 #cmakedefine HAVE_FENV_H
172 /* Define if we have GCC's __get_cpuid() */
173 #cmakedefine HAVE_GCC_GET_CPUID
175 /* Define if we have the __cpuid() intrinsic */
176 #cmakedefine HAVE_CPUID_INTRINSIC
178 /* Define if we have _controlfp() */
179 #cmakedefine HAVE__CONTROLFP
181 /* Define if we have __control87_2() */
182 #cmakedefine HAVE___CONTROL87_2
184 /* Define if we have ftw() */
185 #cmakedefine HAVE_FTW
187 /* Define if we have _wfindfirst() */
188 #cmakedefine HAVE__WFINDFIRST
190 /* Define if we have pthread_setschedparam() */
191 #cmakedefine HAVE_PTHREAD_SETSCHEDPARAM
193 /* Define if we have pthread_setname_np() */
194 #cmakedefine HAVE_PTHREAD_SETNAME_NP
196 /* Define if we have pthread_set_name_np() */
197 #cmakedefine HAVE_PTHREAD_SET_NAME_NP
199 /* Define if we have pthread_mutexattr_setkind_np() */
200 #cmakedefine HAVE_PTHREAD_MUTEXATTR_SETKIND_NP
202 /* Define if we have pthread_mutex_timedlock() */
203 #cmakedefine HAVE_PTHREAD_MUTEX_TIMEDLOCK