Mercurial > sdl-ios-xcode
diff 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 |
line wrap: on
line diff
--- a/configure.in Sun May 27 00:21:39 2001 +0000 +++ b/configure.in Sun May 27 00:24:43 2001 +0000 @@ -244,7 +244,7 @@ AC_TRY_COMPILE([ #include <sys/soundcard.h> ],[ - int arg = SNDCTL_DSP_SETFRAGMENT; + int arg = SNDCTL_DSP_SETFRAGMENT; ],[ have_oss=yes ]) @@ -347,20 +347,20 @@ { AC_ARG_ENABLE(nas, [ --enable-nas support the NAS audio API [default=yes]], - , enable_nas=yes) + , enable_nas=yes) if test x$enable_audio = xyes -a x$enable_nas = xyes; then - AC_MSG_CHECKING(for NAS audio support) - have_nas=no - if test -r /usr/X11R6/include/audio/audiolib.h ; then - have_nas=yes - fi - AC_MSG_RESULT($have_nas) - if test x$have_nas = xyes; then - CFLAGS="$CFLAGS -DNAS_SUPPORT" - SYSTEM_LIBS="$SYSTEM_LIBS -laudio -lXt" - AUDIO_SUBDIRS="$AUDIO_SUBDIRS nas" - AUDIO_DRIVERS="$AUDIO_DRIVERS nas/libaudio_nas.la" - fi + AC_MSG_CHECKING(for NAS audio support) + have_nas=no + if test -r /usr/X11R6/include/audio/audiolib.h; then + have_nas=yes + fi + AC_MSG_RESULT($have_nas) + if test x$have_nas = xyes; then + CFLAGS="$CFLAGS -DNAS_SUPPORT" + SYSTEM_LIBS="$SYSTEM_LIBS -laudio -lXt" + AUDIO_SUBDIRS="$AUDIO_SUBDIRS nas" + AUDIO_DRIVERS="$AUDIO_DRIVERS nas/libaudio_nas.la" + fi fi } @@ -1270,11 +1270,11 @@ COPY_ARCH_SRC(src/thread, linux, SDL_systhread_c.h) COPY_ARCH_SRC(src/thread, linux, SDL_sysmutex.c) COPY_ARCH_SRC(src/thread, linux, SDL_sysmutex_c.h) - if test x$use_pthreads = xyes -a x$enable_pthread_sem != xyes; then - COPY_ARCH_SRC(src/thread, generic, SDL_syssem.c) - else - COPY_ARCH_SRC(src/thread, linux, SDL_syssem.c) - fi + if test x$use_pthreads = xyes -a x$enable_pthread_sem != xyes; then + COPY_ARCH_SRC(src/thread, generic, SDL_syssem.c) + else + COPY_ARCH_SRC(src/thread, linux, SDL_syssem.c) + fi COPY_ARCH_SRC(src/thread, generic, SDL_syssem_c.h) COPY_ARCH_SRC(src/thread, linux, SDL_syscond.c) COPY_ARCH_SRC(src/thread, generic, SDL_syscond_c.h) @@ -1682,8 +1682,8 @@ AUDIO_SUBDIRS="$AUDIO_SUBDIRS windib" AUDIO_DRIVERS="$AUDIO_DRIVERS windib/libaudio_windib.la" if test x$use_directx = xyes; then - AUDIO_SUBDIRS="$AUDIO_SUBDIRS windx5" - AUDIO_DRIVERS="$AUDIO_DRIVERS windx5/libaudio_windx5.la" + AUDIO_SUBDIRS="$AUDIO_SUBDIRS windx5" + AUDIO_DRIVERS="$AUDIO_DRIVERS windx5/libaudio_windx5.la" fi fi # Set up files for the joystick library