configure.in
changeset 68 ac6645260d31
parent 53 25dfe480c75e
child 70 f590dd383b5d
     1.1 --- a/configure.in	Sat Jun 16 01:32:09 2001 +0000
     1.2 +++ b/configure.in	Sat Jun 16 01:51:42 2001 +0000
     1.3 @@ -368,6 +368,21 @@
     1.4      fi
     1.5  }
     1.6  
     1.7 +
     1.8 +dnl rcg07142001 See if the user wants the disk writer audio driver...
     1.9 +CheckDiskAudio()
    1.10 +{
    1.11 +    AC_ARG_ENABLE(diskaudio,
    1.12 +[  --enable-diskaudio  	  support the disk writer audio driver [default=no]],
    1.13 +                  , enable_diskaudio=no)
    1.14 +    if test x$enable_audio = xyes -a x$enable_diskaudio = xyes; then
    1.15 +        CFLAGS="$CFLAGS -DDISKAUD_SUPPORT"
    1.16 +        AUDIO_SUBDIRS="$AUDIO_SUBDIRS disk"
    1.17 +        AUDIO_DRIVERS="$AUDIO_DRIVERS disk/libaudio_disk.la"
    1.18 +    fi
    1.19 +}
    1.20 +
    1.21 +
    1.22  dnl See if we can use x86 assembly blitters
    1.23  CheckNASM()
    1.24  {
    1.25 @@ -1085,6 +1100,7 @@
    1.26      *-*-linux*)
    1.27          ARCH=linux
    1.28          CheckDummyVideo
    1.29 +        CheckDiskAudio
    1.30          CheckNASM
    1.31          CheckOSS
    1.32          CheckALSA
    1.33 @@ -1151,6 +1167,7 @@
    1.34      *-*-bsdi*)
    1.35          ARCH=bsdi
    1.36          CheckDummyVideo
    1.37 +        CheckDiskAudio
    1.38          CheckNASM
    1.39          CheckOSS
    1.40          CheckARTSC
    1.41 @@ -1194,6 +1211,7 @@
    1.42      *-*-freebsd*)
    1.43          ARCH=freebsd
    1.44          CheckDummyVideo
    1.45 +        CheckDiskAudio
    1.46          CheckNASM
    1.47          CheckOSS
    1.48          CheckARTSC
    1.49 @@ -1246,6 +1264,7 @@
    1.50      *-*-netbsd*)
    1.51          ARCH=netbsd
    1.52          CheckDummyVideo
    1.53 +        CheckDiskAudio
    1.54          CheckNASM
    1.55          CheckOSS
    1.56          CheckARTSC
    1.57 @@ -1297,6 +1316,7 @@
    1.58      *-*-openbsd*)
    1.59          ARCH=openbsd
    1.60          CheckDummyVideo
    1.61 +        CheckDiskAudio
    1.62          CheckNASM
    1.63          CheckOSS
    1.64          CheckARTSC
    1.65 @@ -1345,6 +1365,7 @@
    1.66      *-*-sysv5*)
    1.67          ARCH=sysv5
    1.68          CheckDummyVideo
    1.69 +        CheckDiskAudio
    1.70          CheckNASM
    1.71          CheckOSS
    1.72          CheckARTSC
    1.73 @@ -1392,6 +1413,7 @@
    1.74          ARCH=solaris
    1.75          CFLAGS="$CFLAGS -D__ELF__" # Fix for nasm on Solaris x86
    1.76          CheckDummyVideo
    1.77 +        CheckDiskAudio
    1.78          CheckNASM
    1.79          CheckOSS
    1.80          CheckARTSC
    1.81 @@ -1438,6 +1460,7 @@
    1.82      *-*-irix*)
    1.83          ARCH=irix
    1.84          CheckDummyVideo
    1.85 +        CheckDiskAudio
    1.86          CheckNAS
    1.87          CheckX11
    1.88          CheckAAlib
    1.89 @@ -1496,6 +1519,7 @@
    1.90      *-*-hpux*)
    1.91          ARCH=hpux
    1.92          CheckDummyVideo
    1.93 +        CheckDiskAudio
    1.94          CheckOSS
    1.95          CheckNAS
    1.96          CheckX11
    1.97 @@ -1540,6 +1564,7 @@
    1.98      *-*-aix*)
    1.99          ARCH=aix
   1.100          CheckDummyVideo
   1.101 +        CheckDiskAudio
   1.102          CheckOSS
   1.103          CheckNAS
   1.104          CheckX11
   1.105 @@ -1583,6 +1608,7 @@
   1.106      *-*-osf*)
   1.107          ARCH=osf
   1.108          CheckDummyVideo
   1.109 +        CheckDiskAudio
   1.110          CheckNAS
   1.111          CheckX11
   1.112          CheckGGI
   1.113 @@ -1626,6 +1652,7 @@
   1.114      *-*-qnx*)
   1.115          ARCH=qnx
   1.116          CheckDummyVideo
   1.117 +        CheckDiskAudio
   1.118          CheckNAS
   1.119          CheckPHOTON
   1.120          CheckX11
   1.121 @@ -1680,6 +1707,7 @@
   1.122              fi
   1.123          fi
   1.124          CheckDummyVideo
   1.125 +        CheckDiskAudio
   1.126          CheckWIN32
   1.127          CheckDIRECTX
   1.128          CheckNASM
   1.129 @@ -1736,6 +1764,7 @@
   1.130          ARCH=beos
   1.131          ac_default_prefix=/boot/develop/tools/gnupro
   1.132          CheckDummyVideo
   1.133 +        CheckDiskAudio
   1.134          CheckNASM
   1.135          CheckBWINDOW
   1.136          CheckBeGL
   1.137 @@ -1781,6 +1810,7 @@
   1.138          # for which this case would be handy.
   1.139          ARCH=macos
   1.140          CheckDummyVideo
   1.141 +        CheckDiskAudio
   1.142          CheckTOOLBOX
   1.143          CheckMacGL
   1.144          # Set up files for the main() stub
   1.145 @@ -1824,6 +1854,7 @@
   1.146          # config.guess comes back with "darwin", so go with the flow.
   1.147          ARCH=macos
   1.148          CheckDummyVideo
   1.149 +        CheckDiskAudio
   1.150          CheckCARBON
   1.151          CheckMacGL
   1.152          CheckPTHREAD
   1.153 @@ -1973,6 +2004,7 @@
   1.154  src/audio/ums/Makefile
   1.155  src/audio/windib/Makefile
   1.156  src/audio/windx5/Makefile
   1.157 +src/audio/disk/Makefile
   1.158  src/video/Makefile
   1.159  src/video/cybergfx/Makefile
   1.160  src/video/x11/Makefile