Revision 8ef92a88
b/configure | ||
---|---|---|
148 | 148 |
bsd="yes" |
149 | 149 |
audio_drv_list="oss" |
150 | 150 |
audio_possible_drivers="oss sdl esd pa" |
151 |
aiolib="-lpthread" |
|
151 | 152 |
if [ "$cpu" = "i386" -o "$cpu" = "x86_64" ] ; then |
152 | 153 |
kqemu="yes" |
153 | 154 |
fi |
... | ... | |
156 | 157 |
bsd="yes" |
157 | 158 |
audio_drv_list="oss" |
158 | 159 |
audio_possible_drivers="oss sdl esd" |
160 |
oss_lib="-lossaudio" |
|
161 |
aio_lib="-lrt -lpthread" |
|
159 | 162 |
;; |
160 | 163 |
OpenBSD) |
161 | 164 |
bsd="yes" |
... | ... | |
163 | 166 |
audio_drv_list="oss" |
164 | 167 |
audio_possible_drivers="oss sdl esd" |
165 | 168 |
oss_lib="-lossaudio" |
169 |
aio_lib="-lpthread" |
|
166 | 170 |
;; |
167 | 171 |
Darwin) |
168 | 172 |
bsd="yes" |
... | ... | |
173 | 177 |
audio_possible_drivers="coreaudio sdl fmod" |
174 | 178 |
OS_CFLAGS="-mdynamic-no-pic" |
175 | 179 |
OS_LDFLAGS="-framework CoreFoundation -framework IOKit" |
180 |
aio_lib="-lpthread" |
|
176 | 181 |
;; |
177 | 182 |
SunOS) |
178 | 183 |
solaris="yes" |
... | ... | |
522 | 527 |
if [ "$darwin" = "yes" -o "$mingw32" = "yes" ] ; then |
523 | 528 |
AIOLIBS= |
524 | 529 |
elif [ "$bsd" = "yes" ]; then |
525 |
AIOLIBS="-lpthread"
|
|
530 |
AIOLIBS="$aio_lib"
|
|
526 | 531 |
else |
527 | 532 |
# Some Linux architectures (e.g. s390) don't imply -lpthread automatically. |
528 | 533 |
AIOLIBS="-lrt -lpthread" |
Also available in: Unified diff