configure.in
changeset 1532 30f189cdd82b
parent 1521 9b9212e4810c
child 1547 dd05d6ee234e
equal deleted inserted replaced
1531:543ffd71ab6d 1532:30f189cdd82b
   531         AC_DEFINE(SDL_AUDIO_DRIVER_DISK)
   531         AC_DEFINE(SDL_AUDIO_DRIVER_DISK)
   532         SOURCES="$SOURCES $srcdir/src/audio/disk/*.c"
   532         SOURCES="$SOURCES $srcdir/src/audio/disk/*.c"
   533     fi
   533     fi
   534 }
   534 }
   535 
   535 
       
   536 dnl rcg03142006 See if the user wants the dummy audio driver...
       
   537 CheckDummyAudio()
       
   538 {
       
   539     AC_ARG_ENABLE(dummyaudio,
       
   540 AC_HELP_STRING([--enable-dummyaudio], [support the dummy audio driver [default=yes]]),
       
   541                   , enable_dummyaudio=yes)
       
   542     if test x$enable_audio = xyes -a x$enable_dummyaudio = xyes; then
       
   543         AC_DEFINE(SDL_AUDIO_DRIVER_DUMMY)
       
   544         SOURCES="$SOURCES $srcdir/src/audio/dummy/*.c"
       
   545     fi
       
   546 }
       
   547 
   536 dnl Set up the Atari Audio driver
   548 dnl Set up the Atari Audio driver
   537 CheckAtariAudio()
   549 CheckAtariAudio()
   538 {
   550 {
   539     AC_ARG_ENABLE(mintaudio,
   551     AC_ARG_ENABLE(mintaudio,
   540 AC_HELP_STRING([--enable-mintaudio], [support Atari audio driver [default=yes]]),
   552 AC_HELP_STRING([--enable-mintaudio], [support Atari audio driver [default=yes]]),
  1913             *-*-aix*)           ARCH=aix ;;
  1925             *-*-aix*)           ARCH=aix ;;
  1914             *-*-osf*)           ARCH=osf ;;
  1926             *-*-osf*)           ARCH=osf ;;
  1915         esac
  1927         esac
  1916         CheckDummyVideo
  1928         CheckDummyVideo
  1917         CheckDiskAudio
  1929         CheckDiskAudio
       
  1930         CheckDummyAudio
  1918         CheckDLOPEN
  1931         CheckDLOPEN
  1919         CheckNASM
  1932         CheckNASM
  1920         CheckAltivec
  1933         CheckAltivec
  1921         CheckOSS
  1934         CheckOSS
  1922         CheckDMEDIA
  1935         CheckDMEDIA
  2027         ;;
  2040         ;;
  2028     *-*-qnx*)
  2041     *-*-qnx*)
  2029         ARCH=qnx
  2042         ARCH=qnx
  2030         CheckDummyVideo
  2043         CheckDummyVideo
  2031         CheckDiskAudio
  2044         CheckDiskAudio
       
  2045         CheckDummyAudio
  2032         # CheckNASM
  2046         # CheckNASM
  2033         CheckDLOPEN
  2047         CheckDLOPEN
  2034         CheckNAS
  2048         CheckNAS
  2035         CheckPHOTON
  2049         CheckPHOTON
  2036         CheckX11
  2050         CheckX11
  2067                 ac_default_prefix=$BUILD_PREFIX
  2081                 ac_default_prefix=$BUILD_PREFIX
  2068             fi
  2082             fi
  2069         fi
  2083         fi
  2070         CheckDummyVideo
  2084         CheckDummyVideo
  2071         CheckDiskAudio
  2085         CheckDiskAudio
       
  2086         CheckDummyAudio
  2072         CheckWIN32
  2087         CheckWIN32
  2073         CheckWIN32GL
  2088         CheckWIN32GL
  2074         CheckDIRECTX
  2089         CheckDIRECTX
  2075         CheckNASM
  2090         CheckNASM
  2076         # Set up files for the audio library
  2091         # Set up files for the audio library
  2129     *-*-beos*)
  2144     *-*-beos*)
  2130         ARCH=beos
  2145         ARCH=beos
  2131         ac_default_prefix=/boot/develop/tools/gnupro
  2146         ac_default_prefix=/boot/develop/tools/gnupro
  2132         CheckDummyVideo
  2147         CheckDummyVideo
  2133         CheckDiskAudio
  2148         CheckDiskAudio
       
  2149         CheckDummyAudio
  2134         CheckNASM
  2150         CheckNASM
  2135         CheckBWINDOW
  2151         CheckBWINDOW
  2136         CheckBeGL
  2152         CheckBeGL
  2137         # Set up files for the audio library
  2153         # Set up files for the audio library
  2138         if test x$enable_audio = xyes; then
  2154         if test x$enable_audio = xyes; then
  2181         # just the OS X kernel sans upper layers like Carbon and Cocoa.
  2197         # just the OS X kernel sans upper layers like Carbon and Cocoa.
  2182         # Next line is broken, and a few files below require Mac OS X (full)
  2198         # Next line is broken, and a few files below require Mac OS X (full)
  2183         ARCH=macosx
  2199         ARCH=macosx
  2184         CheckDummyVideo
  2200         CheckDummyVideo
  2185         CheckDiskAudio
  2201         CheckDiskAudio
       
  2202         CheckDummyAudio
  2186         CheckDLOPEN
  2203         CheckDLOPEN
  2187         CheckCOCOA
  2204         CheckCOCOA
  2188         CheckCARBON
  2205         CheckCARBON
  2189         CheckX11
  2206         CheckX11
  2190         CheckMacGL
  2207         CheckMacGL
  2247         ;;
  2264         ;;
  2248     *-*-mint*)
  2265     *-*-mint*)
  2249         ARCH=mint
  2266         ARCH=mint
  2250         CheckDummyVideo
  2267         CheckDummyVideo
  2251         CheckDiskAudio
  2268         CheckDiskAudio
       
  2269         CheckDummyAudio
  2252         CheckAtariBiosEvent
  2270         CheckAtariBiosEvent
  2253         CheckAtariXbiosVideo
  2271         CheckAtariXbiosVideo
  2254         CheckAtariGemVideo
  2272         CheckAtariGemVideo
  2255         CheckAtariAudio
  2273         CheckAtariAudio
  2256         CheckAtariLdg
  2274         CheckAtariLdg