Mercurial > sdl-ios-xcode
comparison configure.in @ 68:ac6645260d31
Added an audio driver that writes to disk (thanks Ryan!)
author | Sam Lantinga <slouken@lokigames.com> |
---|---|
date | Sat, 16 Jun 2001 01:51:42 +0000 |
parents | 25dfe480c75e |
children | f590dd383b5d |
comparison
equal
deleted
inserted
replaced
67:3647c809813d | 68:ac6645260d31 |
---|---|
365 AUDIO_SUBDIRS="$AUDIO_SUBDIRS nas" | 365 AUDIO_SUBDIRS="$AUDIO_SUBDIRS nas" |
366 AUDIO_DRIVERS="$AUDIO_DRIVERS nas/libaudio_nas.la" | 366 AUDIO_DRIVERS="$AUDIO_DRIVERS nas/libaudio_nas.la" |
367 fi | 367 fi |
368 fi | 368 fi |
369 } | 369 } |
370 | |
371 | |
372 dnl rcg07142001 See if the user wants the disk writer audio driver... | |
373 CheckDiskAudio() | |
374 { | |
375 AC_ARG_ENABLE(diskaudio, | |
376 [ --enable-diskaudio support the disk writer audio driver [default=no]], | |
377 , enable_diskaudio=no) | |
378 if test x$enable_audio = xyes -a x$enable_diskaudio = xyes; then | |
379 CFLAGS="$CFLAGS -DDISKAUD_SUPPORT" | |
380 AUDIO_SUBDIRS="$AUDIO_SUBDIRS disk" | |
381 AUDIO_DRIVERS="$AUDIO_DRIVERS disk/libaudio_disk.la" | |
382 fi | |
383 } | |
384 | |
370 | 385 |
371 dnl See if we can use x86 assembly blitters | 386 dnl See if we can use x86 assembly blitters |
372 CheckNASM() | 387 CheckNASM() |
373 { | 388 { |
374 dnl Make sure we are running on an x86 platform | 389 dnl Make sure we are running on an x86 platform |
1083 | 1098 |
1084 case "$target" in | 1099 case "$target" in |
1085 *-*-linux*) | 1100 *-*-linux*) |
1086 ARCH=linux | 1101 ARCH=linux |
1087 CheckDummyVideo | 1102 CheckDummyVideo |
1103 CheckDiskAudio | |
1088 CheckNASM | 1104 CheckNASM |
1089 CheckOSS | 1105 CheckOSS |
1090 CheckALSA | 1106 CheckALSA |
1091 CheckARTSC | 1107 CheckARTSC |
1092 CheckESD | 1108 CheckESD |
1149 fi | 1165 fi |
1150 ;; | 1166 ;; |
1151 *-*-bsdi*) | 1167 *-*-bsdi*) |
1152 ARCH=bsdi | 1168 ARCH=bsdi |
1153 CheckDummyVideo | 1169 CheckDummyVideo |
1170 CheckDiskAudio | |
1154 CheckNASM | 1171 CheckNASM |
1155 CheckOSS | 1172 CheckOSS |
1156 CheckARTSC | 1173 CheckARTSC |
1157 CheckESD | 1174 CheckESD |
1158 CheckNAS | 1175 CheckNAS |
1192 fi | 1209 fi |
1193 ;; | 1210 ;; |
1194 *-*-freebsd*) | 1211 *-*-freebsd*) |
1195 ARCH=freebsd | 1212 ARCH=freebsd |
1196 CheckDummyVideo | 1213 CheckDummyVideo |
1214 CheckDiskAudio | |
1197 CheckNASM | 1215 CheckNASM |
1198 CheckOSS | 1216 CheckOSS |
1199 CheckARTSC | 1217 CheckARTSC |
1200 CheckESD | 1218 CheckESD |
1201 CheckNAS | 1219 CheckNAS |
1244 fi | 1262 fi |
1245 ;; | 1263 ;; |
1246 *-*-netbsd*) | 1264 *-*-netbsd*) |
1247 ARCH=netbsd | 1265 ARCH=netbsd |
1248 CheckDummyVideo | 1266 CheckDummyVideo |
1267 CheckDiskAudio | |
1249 CheckNASM | 1268 CheckNASM |
1250 CheckOSS | 1269 CheckOSS |
1251 CheckARTSC | 1270 CheckARTSC |
1252 CheckESD | 1271 CheckESD |
1253 CheckNAS | 1272 CheckNAS |
1295 CFLAGS="$CFLAGS -Dunix -D_POSIX_THREAD_SYSCALL_SOFT=1" | 1314 CFLAGS="$CFLAGS -Dunix -D_POSIX_THREAD_SYSCALL_SOFT=1" |
1296 ;; | 1315 ;; |
1297 *-*-openbsd*) | 1316 *-*-openbsd*) |
1298 ARCH=openbsd | 1317 ARCH=openbsd |
1299 CheckDummyVideo | 1318 CheckDummyVideo |
1319 CheckDiskAudio | |
1300 CheckNASM | 1320 CheckNASM |
1301 CheckOSS | 1321 CheckOSS |
1302 CheckARTSC | 1322 CheckARTSC |
1303 CheckESD | 1323 CheckESD |
1304 CheckNAS | 1324 CheckNAS |
1343 CFLAGS="$CFLAGS -Dunix" | 1363 CFLAGS="$CFLAGS -Dunix" |
1344 ;; | 1364 ;; |
1345 *-*-sysv5*) | 1365 *-*-sysv5*) |
1346 ARCH=sysv5 | 1366 ARCH=sysv5 |
1347 CheckDummyVideo | 1367 CheckDummyVideo |
1368 CheckDiskAudio | |
1348 CheckNASM | 1369 CheckNASM |
1349 CheckOSS | 1370 CheckOSS |
1350 CheckARTSC | 1371 CheckARTSC |
1351 CheckESD | 1372 CheckESD |
1352 CheckNAS | 1373 CheckNAS |
1390 ;; | 1411 ;; |
1391 *-*-solaris*) | 1412 *-*-solaris*) |
1392 ARCH=solaris | 1413 ARCH=solaris |
1393 CFLAGS="$CFLAGS -D__ELF__" # Fix for nasm on Solaris x86 | 1414 CFLAGS="$CFLAGS -D__ELF__" # Fix for nasm on Solaris x86 |
1394 CheckDummyVideo | 1415 CheckDummyVideo |
1416 CheckDiskAudio | |
1395 CheckNASM | 1417 CheckNASM |
1396 CheckOSS | 1418 CheckOSS |
1397 CheckARTSC | 1419 CheckARTSC |
1398 CheckESD | 1420 CheckESD |
1399 CheckNAS | 1421 CheckNAS |
1436 fi | 1458 fi |
1437 ;; | 1459 ;; |
1438 *-*-irix*) | 1460 *-*-irix*) |
1439 ARCH=irix | 1461 ARCH=irix |
1440 CheckDummyVideo | 1462 CheckDummyVideo |
1463 CheckDiskAudio | |
1441 CheckNAS | 1464 CheckNAS |
1442 CheckX11 | 1465 CheckX11 |
1443 CheckAAlib | 1466 CheckAAlib |
1444 CheckOpenGL | 1467 CheckOpenGL |
1445 CheckPTHREAD | 1468 CheckPTHREAD |
1494 fi | 1517 fi |
1495 ;; | 1518 ;; |
1496 *-*-hpux*) | 1519 *-*-hpux*) |
1497 ARCH=hpux | 1520 ARCH=hpux |
1498 CheckDummyVideo | 1521 CheckDummyVideo |
1522 CheckDiskAudio | |
1499 CheckOSS | 1523 CheckOSS |
1500 CheckNAS | 1524 CheckNAS |
1501 CheckX11 | 1525 CheckX11 |
1502 CheckGGI | 1526 CheckGGI |
1503 CheckAAlib | 1527 CheckAAlib |
1538 fi | 1562 fi |
1539 ;; | 1563 ;; |
1540 *-*-aix*) | 1564 *-*-aix*) |
1541 ARCH=aix | 1565 ARCH=aix |
1542 CheckDummyVideo | 1566 CheckDummyVideo |
1567 CheckDiskAudio | |
1543 CheckOSS | 1568 CheckOSS |
1544 CheckNAS | 1569 CheckNAS |
1545 CheckX11 | 1570 CheckX11 |
1546 CheckGGI | 1571 CheckGGI |
1547 CheckAAlib | 1572 CheckAAlib |
1581 fi | 1606 fi |
1582 ;; | 1607 ;; |
1583 *-*-osf*) | 1608 *-*-osf*) |
1584 ARCH=osf | 1609 ARCH=osf |
1585 CheckDummyVideo | 1610 CheckDummyVideo |
1611 CheckDiskAudio | |
1586 CheckNAS | 1612 CheckNAS |
1587 CheckX11 | 1613 CheckX11 |
1588 CheckGGI | 1614 CheckGGI |
1589 CheckAAlib | 1615 CheckAAlib |
1590 CheckOpenGL | 1616 CheckOpenGL |
1624 fi | 1650 fi |
1625 ;; | 1651 ;; |
1626 *-*-qnx*) | 1652 *-*-qnx*) |
1627 ARCH=qnx | 1653 ARCH=qnx |
1628 CheckDummyVideo | 1654 CheckDummyVideo |
1655 CheckDiskAudio | |
1629 CheckNAS | 1656 CheckNAS |
1630 CheckPHOTON | 1657 CheckPHOTON |
1631 CheckX11 | 1658 CheckX11 |
1632 CheckOpenGL | 1659 CheckOpenGL |
1633 CheckPTHREAD | 1660 CheckPTHREAD |
1678 if [ "$BUILD_PREFIX" != "" ]; then | 1705 if [ "$BUILD_PREFIX" != "" ]; then |
1679 ac_default_prefix=$BUILD_PREFIX | 1706 ac_default_prefix=$BUILD_PREFIX |
1680 fi | 1707 fi |
1681 fi | 1708 fi |
1682 CheckDummyVideo | 1709 CheckDummyVideo |
1710 CheckDiskAudio | |
1683 CheckWIN32 | 1711 CheckWIN32 |
1684 CheckDIRECTX | 1712 CheckDIRECTX |
1685 CheckNASM | 1713 CheckNASM |
1686 # Set up files for the main() stub | 1714 # Set up files for the main() stub |
1687 COPY_ARCH_SRC(src/main, win32, SDL_main.c) | 1715 COPY_ARCH_SRC(src/main, win32, SDL_main.c) |
1734 ;; | 1762 ;; |
1735 *-*-beos*) | 1763 *-*-beos*) |
1736 ARCH=beos | 1764 ARCH=beos |
1737 ac_default_prefix=/boot/develop/tools/gnupro | 1765 ac_default_prefix=/boot/develop/tools/gnupro |
1738 CheckDummyVideo | 1766 CheckDummyVideo |
1767 CheckDiskAudio | |
1739 CheckNASM | 1768 CheckNASM |
1740 CheckBWINDOW | 1769 CheckBWINDOW |
1741 CheckBeGL | 1770 CheckBeGL |
1742 # Set up files for the main() stub | 1771 # Set up files for the main() stub |
1743 COPY_ARCH_SRC(src/main, linux, SDL_main.c) | 1772 COPY_ARCH_SRC(src/main, linux, SDL_main.c) |
1779 # This would be used if cross-compiling to MacOS 9. No way to | 1808 # This would be used if cross-compiling to MacOS 9. No way to |
1780 # use it at present, but Apple is working on a X-to-9 compiler | 1809 # use it at present, but Apple is working on a X-to-9 compiler |
1781 # for which this case would be handy. | 1810 # for which this case would be handy. |
1782 ARCH=macos | 1811 ARCH=macos |
1783 CheckDummyVideo | 1812 CheckDummyVideo |
1813 CheckDiskAudio | |
1784 CheckTOOLBOX | 1814 CheckTOOLBOX |
1785 CheckMacGL | 1815 CheckMacGL |
1786 # Set up files for the main() stub | 1816 # Set up files for the main() stub |
1787 COPY_ARCH_SRC(src/main, macos, SDL_main.c) | 1817 COPY_ARCH_SRC(src/main, macos, SDL_main.c) |
1788 # Set up files for the audio library | 1818 # Set up files for the audio library |
1822 # Strictly speaking, we want "Mac OS X", not "Darwin", which is | 1852 # Strictly speaking, we want "Mac OS X", not "Darwin", which is |
1823 # just the OS X kernel sans upper layers like Carbon. But | 1853 # just the OS X kernel sans upper layers like Carbon. But |
1824 # config.guess comes back with "darwin", so go with the flow. | 1854 # config.guess comes back with "darwin", so go with the flow. |
1825 ARCH=macos | 1855 ARCH=macos |
1826 CheckDummyVideo | 1856 CheckDummyVideo |
1857 CheckDiskAudio | |
1827 CheckCARBON | 1858 CheckCARBON |
1828 CheckMacGL | 1859 CheckMacGL |
1829 CheckPTHREAD | 1860 CheckPTHREAD |
1830 # Set up files for the main() stub | 1861 # Set up files for the main() stub |
1831 # COPY_ARCH_SRC(src/main, macos, SDL_main.c) | 1862 # COPY_ARCH_SRC(src/main, macos, SDL_main.c) |
1971 src/audio/paudio/Makefile | 2002 src/audio/paudio/Makefile |
1972 src/audio/sun/Makefile | 2003 src/audio/sun/Makefile |
1973 src/audio/ums/Makefile | 2004 src/audio/ums/Makefile |
1974 src/audio/windib/Makefile | 2005 src/audio/windib/Makefile |
1975 src/audio/windx5/Makefile | 2006 src/audio/windx5/Makefile |
2007 src/audio/disk/Makefile | |
1976 src/video/Makefile | 2008 src/video/Makefile |
1977 src/video/cybergfx/Makefile | 2009 src/video/cybergfx/Makefile |
1978 src/video/x11/Makefile | 2010 src/video/x11/Makefile |
1979 src/video/dga/Makefile | 2011 src/video/dga/Makefile |
1980 src/video/nanox/Makefile | 2012 src/video/nanox/Makefile |