comparison configure.in @ 41:8de9e8baaecc

*** empty log message ***
author Sam Lantinga <slouken@lokigames.com>
date Sun, 27 May 2001 00:24:43 +0000
parents a6a2fbe66fd1
children eb1459f3a3ae
comparison
equal deleted inserted replaced
40:9e938507bb06 41:8de9e8baaecc
242 AC_MSG_CHECKING(for OSS audio support) 242 AC_MSG_CHECKING(for OSS audio support)
243 have_oss=no 243 have_oss=no
244 AC_TRY_COMPILE([ 244 AC_TRY_COMPILE([
245 #include <sys/soundcard.h> 245 #include <sys/soundcard.h>
246 ],[ 246 ],[
247 int arg = SNDCTL_DSP_SETFRAGMENT; 247 int arg = SNDCTL_DSP_SETFRAGMENT;
248 ],[ 248 ],[
249 have_oss=yes 249 have_oss=yes
250 ]) 250 ])
251 AC_MSG_RESULT($have_oss) 251 AC_MSG_RESULT($have_oss)
252 if test x$have_oss = xyes; then 252 if test x$have_oss = xyes; then
345 dnl See if the NAS audio interface is supported 345 dnl See if the NAS audio interface is supported
346 CheckNAS() 346 CheckNAS()
347 { 347 {
348 AC_ARG_ENABLE(nas, 348 AC_ARG_ENABLE(nas,
349 [ --enable-nas support the NAS audio API [default=yes]], 349 [ --enable-nas support the NAS audio API [default=yes]],
350 , enable_nas=yes) 350 , enable_nas=yes)
351 if test x$enable_audio = xyes -a x$enable_nas = xyes; then 351 if test x$enable_audio = xyes -a x$enable_nas = xyes; then
352 AC_MSG_CHECKING(for NAS audio support) 352 AC_MSG_CHECKING(for NAS audio support)
353 have_nas=no 353 have_nas=no
354 if test -r /usr/X11R6/include/audio/audiolib.h ; then 354 if test -r /usr/X11R6/include/audio/audiolib.h; then
355 have_nas=yes 355 have_nas=yes
356 fi 356 fi
357 AC_MSG_RESULT($have_nas) 357 AC_MSG_RESULT($have_nas)
358 if test x$have_nas = xyes; then 358 if test x$have_nas = xyes; then
359 CFLAGS="$CFLAGS -DNAS_SUPPORT" 359 CFLAGS="$CFLAGS -DNAS_SUPPORT"
360 SYSTEM_LIBS="$SYSTEM_LIBS -laudio -lXt" 360 SYSTEM_LIBS="$SYSTEM_LIBS -laudio -lXt"
361 AUDIO_SUBDIRS="$AUDIO_SUBDIRS nas" 361 AUDIO_SUBDIRS="$AUDIO_SUBDIRS nas"
362 AUDIO_DRIVERS="$AUDIO_DRIVERS nas/libaudio_nas.la" 362 AUDIO_DRIVERS="$AUDIO_DRIVERS nas/libaudio_nas.la"
363 fi 363 fi
364 fi 364 fi
365 } 365 }
366 366
367 dnl See if we can use x86 assembly blitters 367 dnl See if we can use x86 assembly blitters
368 CheckNASM() 368 CheckNASM()
1268 if test x$enable_threads = xyes; then 1268 if test x$enable_threads = xyes; then
1269 COPY_ARCH_SRC(src/thread, linux, SDL_systhread.c) 1269 COPY_ARCH_SRC(src/thread, linux, SDL_systhread.c)
1270 COPY_ARCH_SRC(src/thread, linux, SDL_systhread_c.h) 1270 COPY_ARCH_SRC(src/thread, linux, SDL_systhread_c.h)
1271 COPY_ARCH_SRC(src/thread, linux, SDL_sysmutex.c) 1271 COPY_ARCH_SRC(src/thread, linux, SDL_sysmutex.c)
1272 COPY_ARCH_SRC(src/thread, linux, SDL_sysmutex_c.h) 1272 COPY_ARCH_SRC(src/thread, linux, SDL_sysmutex_c.h)
1273 if test x$use_pthreads = xyes -a x$enable_pthread_sem != xyes; then 1273 if test x$use_pthreads = xyes -a x$enable_pthread_sem != xyes; then
1274 COPY_ARCH_SRC(src/thread, generic, SDL_syssem.c) 1274 COPY_ARCH_SRC(src/thread, generic, SDL_syssem.c)
1275 else 1275 else
1276 COPY_ARCH_SRC(src/thread, linux, SDL_syssem.c) 1276 COPY_ARCH_SRC(src/thread, linux, SDL_syssem.c)
1277 fi 1277 fi
1278 COPY_ARCH_SRC(src/thread, generic, SDL_syssem_c.h) 1278 COPY_ARCH_SRC(src/thread, generic, SDL_syssem_c.h)
1279 COPY_ARCH_SRC(src/thread, linux, SDL_syscond.c) 1279 COPY_ARCH_SRC(src/thread, linux, SDL_syscond.c)
1280 COPY_ARCH_SRC(src/thread, generic, SDL_syscond_c.h) 1280 COPY_ARCH_SRC(src/thread, generic, SDL_syscond_c.h)
1281 fi 1281 fi
1282 # Set up files for the timer library 1282 # Set up files for the timer library
1680 # Set up files for the audio library 1680 # Set up files for the audio library
1681 if test x$enable_audio = xyes; then 1681 if test x$enable_audio = xyes; then
1682 AUDIO_SUBDIRS="$AUDIO_SUBDIRS windib" 1682 AUDIO_SUBDIRS="$AUDIO_SUBDIRS windib"
1683 AUDIO_DRIVERS="$AUDIO_DRIVERS windib/libaudio_windib.la" 1683 AUDIO_DRIVERS="$AUDIO_DRIVERS windib/libaudio_windib.la"
1684 if test x$use_directx = xyes; then 1684 if test x$use_directx = xyes; then
1685 AUDIO_SUBDIRS="$AUDIO_SUBDIRS windx5" 1685 AUDIO_SUBDIRS="$AUDIO_SUBDIRS windx5"
1686 AUDIO_DRIVERS="$AUDIO_DRIVERS windx5/libaudio_windx5.la" 1686 AUDIO_DRIVERS="$AUDIO_DRIVERS windx5/libaudio_windx5.la"
1687 fi 1687 fi
1688 fi 1688 fi
1689 # Set up files for the joystick library 1689 # Set up files for the joystick library
1690 if test x$enable_joystick = xyes; then 1690 if test x$enable_joystick = xyes; then
1691 JOYSTICK_SUBDIRS="$JOYSTICK_SUBDIRS win32" 1691 JOYSTICK_SUBDIRS="$JOYSTICK_SUBDIRS win32"