comparison configure.in @ 35:d3bc792e136d

Added detection of Open Sound System on Solaris x86
author Sam Lantinga <slouken@lokigames.com>
date Wed, 23 May 2001 00:36:17 +0000
parents 57bf11a5efd7
children 3ad7157c6cfa
comparison
equal deleted inserted replaced
34:27cb016592f9 35:d3bc792e136d
240 , enable_oss=yes) 240 , enable_oss=yes)
241 if test x$enable_audio = xyes -a x$enable_oss = xyes; then 241 if test x$enable_audio = xyes -a x$enable_oss = xyes; then
242 AC_MSG_CHECKING(for OSS audio support) 242 AC_MSG_CHECKING(for OSS audio support)
243 have_oss=no 243 have_oss=no
244 AC_TRY_COMPILE([ 244 AC_TRY_COMPILE([
245 #ifdef linux
246 #include <linux/soundcard.h>
247 #endif
248 #ifdef __FreeBSD__
249 #include <machine/soundcard.h>
250 #endif
251 #ifdef __bsdi__
252 #include <sys/soundcard.h> 245 #include <sys/soundcard.h>
253 #endif
254 #ifdef __OpenBSD__
255 #include <soundcard.h>
256 #endif
257 #ifdef __USLC__
258 #include <sys/soundcard.h>
259 #endif
260 ],[ 246 ],[
261 int arg = SNDCTL_DSP_SETFRAGMENT; 247 int arg = SNDCTL_DSP_SETFRAGMENT;
262 ],[ 248 ],[
263 have_oss=yes 249 have_oss=yes
264 ]) 250 ])
1144 *-*-bsdi*) 1130 *-*-bsdi*)
1145 ARCH=bsdi 1131 ARCH=bsdi
1146 CheckDummyVideo 1132 CheckDummyVideo
1147 CheckNASM 1133 CheckNASM
1148 CheckOSS 1134 CheckOSS
1135 CheckARTSC
1136 CheckESD
1149 CheckNAS 1137 CheckNAS
1150 CheckX11 1138 CheckX11
1151 CheckDGA 1139 CheckDGA
1152 CheckSVGA 1140 CheckSVGA
1153 CheckAAlib 1141 CheckAAlib
1384 *-*-solaris*) 1372 *-*-solaris*)
1385 ARCH=solaris 1373 ARCH=solaris
1386 CFLAGS="$CFLAGS -D__ELF__" # Fix for nasm on Solaris x86 1374 CFLAGS="$CFLAGS -D__ELF__" # Fix for nasm on Solaris x86
1387 CheckDummyVideo 1375 CheckDummyVideo
1388 CheckNASM 1376 CheckNASM
1377 CheckOSS
1389 CheckARTSC 1378 CheckARTSC
1390 CheckESD 1379 CheckESD
1391 CheckNAS 1380 CheckNAS
1392 CheckX11 1381 CheckX11
1393 CheckAAlib 1382 CheckAAlib
1486 fi 1475 fi
1487 ;; 1476 ;;
1488 *-*-hpux*) 1477 *-*-hpux*)
1489 ARCH=hpux 1478 ARCH=hpux
1490 CheckDummyVideo 1479 CheckDummyVideo
1480 CheckOSS
1491 CheckNAS 1481 CheckNAS
1492 CheckX11 1482 CheckX11
1493 CheckGGI 1483 CheckGGI
1494 CheckAAlib 1484 CheckAAlib
1495 CheckOpenGL 1485 CheckOpenGL
1529 fi 1519 fi
1530 ;; 1520 ;;
1531 *-*-aix*) 1521 *-*-aix*)
1532 ARCH=aix 1522 ARCH=aix
1533 CheckDummyVideo 1523 CheckDummyVideo
1524 CheckOSS
1534 CheckNAS 1525 CheckNAS
1535 CheckX11 1526 CheckX11
1536 CheckGGI 1527 CheckGGI
1537 CheckAAlib 1528 CheckAAlib
1538 CheckOpenGL 1529 CheckOpenGL