configure.in
changeset 41 8de9e8baaecc
parent 39 a6a2fbe66fd1
child 42 eb1459f3a3ae
     1.1 --- a/configure.in	Sun May 27 00:21:39 2001 +0000
     1.2 +++ b/configure.in	Sun May 27 00:24:43 2001 +0000
     1.3 @@ -244,7 +244,7 @@
     1.4          AC_TRY_COMPILE([
     1.5            #include <sys/soundcard.h>
     1.6          ],[
     1.7 -	  int arg = SNDCTL_DSP_SETFRAGMENT;
     1.8 +          int arg = SNDCTL_DSP_SETFRAGMENT;
     1.9          ],[
    1.10          have_oss=yes
    1.11          ])
    1.12 @@ -347,20 +347,20 @@
    1.13  {
    1.14      AC_ARG_ENABLE(nas,
    1.15  [  --enable-nas		  support the NAS audio API [default=yes]],
    1.16 -		, enable_nas=yes)
    1.17 +                  , enable_nas=yes)
    1.18      if test x$enable_audio = xyes -a x$enable_nas = xyes; then
    1.19 -	AC_MSG_CHECKING(for NAS audio support)
    1.20 -	have_nas=no
    1.21 -	if test -r /usr/X11R6/include/audio/audiolib.h ; then
    1.22 -		have_nas=yes
    1.23 -	fi
    1.24 -	AC_MSG_RESULT($have_nas)
    1.25 -	if test x$have_nas = xyes; then
    1.26 -	    CFLAGS="$CFLAGS -DNAS_SUPPORT"
    1.27 -	    SYSTEM_LIBS="$SYSTEM_LIBS -laudio -lXt"
    1.28 -	    AUDIO_SUBDIRS="$AUDIO_SUBDIRS nas"
    1.29 -	    AUDIO_DRIVERS="$AUDIO_DRIVERS nas/libaudio_nas.la"
    1.30 -	fi
    1.31 +        AC_MSG_CHECKING(for NAS audio support)
    1.32 +        have_nas=no
    1.33 +        if test -r /usr/X11R6/include/audio/audiolib.h; then
    1.34 +            have_nas=yes
    1.35 +        fi
    1.36 +        AC_MSG_RESULT($have_nas)
    1.37 +        if test x$have_nas = xyes; then
    1.38 +            CFLAGS="$CFLAGS -DNAS_SUPPORT"
    1.39 +            SYSTEM_LIBS="$SYSTEM_LIBS -laudio -lXt"
    1.40 +            AUDIO_SUBDIRS="$AUDIO_SUBDIRS nas"
    1.41 +            AUDIO_DRIVERS="$AUDIO_DRIVERS nas/libaudio_nas.la"
    1.42 +        fi
    1.43      fi
    1.44  }
    1.45  
    1.46 @@ -1270,11 +1270,11 @@
    1.47              COPY_ARCH_SRC(src/thread, linux, SDL_systhread_c.h)
    1.48              COPY_ARCH_SRC(src/thread, linux, SDL_sysmutex.c)
    1.49              COPY_ARCH_SRC(src/thread, linux, SDL_sysmutex_c.h)
    1.50 -	    if test x$use_pthreads = xyes -a x$enable_pthread_sem != xyes; then
    1.51 -		COPY_ARCH_SRC(src/thread, generic, SDL_syssem.c)
    1.52 -	    else
    1.53 -		COPY_ARCH_SRC(src/thread, linux, SDL_syssem.c)
    1.54 -	    fi
    1.55 +            if test x$use_pthreads = xyes -a x$enable_pthread_sem != xyes; then
    1.56 +                COPY_ARCH_SRC(src/thread, generic, SDL_syssem.c)
    1.57 +            else
    1.58 +                COPY_ARCH_SRC(src/thread, linux, SDL_syssem.c)
    1.59 +            fi
    1.60              COPY_ARCH_SRC(src/thread, generic, SDL_syssem_c.h)
    1.61              COPY_ARCH_SRC(src/thread, linux, SDL_syscond.c)
    1.62              COPY_ARCH_SRC(src/thread, generic, SDL_syscond_c.h)
    1.63 @@ -1682,8 +1682,8 @@
    1.64              AUDIO_SUBDIRS="$AUDIO_SUBDIRS windib"
    1.65              AUDIO_DRIVERS="$AUDIO_DRIVERS windib/libaudio_windib.la"
    1.66              if test x$use_directx = xyes; then
    1.67 -    	        AUDIO_SUBDIRS="$AUDIO_SUBDIRS windx5"
    1.68 -    	        AUDIO_DRIVERS="$AUDIO_DRIVERS windx5/libaudio_windx5.la"
    1.69 +                AUDIO_SUBDIRS="$AUDIO_SUBDIRS windx5"
    1.70 +                AUDIO_DRIVERS="$AUDIO_DRIVERS windx5/libaudio_windx5.la"
    1.71              fi
    1.72          fi
    1.73          # Set up files for the joystick library