diff 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
line wrap: on
line diff
--- a/configure.in	Wed May 23 00:06:08 2001 +0000
+++ b/configure.in	Wed May 23 00:36:17 2001 +0000
@@ -242,21 +242,7 @@
         AC_MSG_CHECKING(for OSS audio support)
         have_oss=no
         AC_TRY_COMPILE([
-          #ifdef linux
-          #include <linux/soundcard.h>
-          #endif
-          #ifdef __FreeBSD__
-          #include <machine/soundcard.h>
-          #endif
-          #ifdef __bsdi__
           #include <sys/soundcard.h>
-          #endif
-          #ifdef __OpenBSD__
-          #include <soundcard.h>
-          #endif
-          #ifdef __USLC__
-          #include <sys/soundcard.h>
-          #endif
         ],[
 	  int arg = SNDCTL_DSP_SETFRAGMENT;
         ],[
@@ -1146,6 +1132,8 @@
         CheckDummyVideo
         CheckNASM
         CheckOSS
+        CheckARTSC
+        CheckESD
         CheckNAS
         CheckX11
         CheckDGA
@@ -1386,6 +1374,7 @@
         CFLAGS="$CFLAGS -D__ELF__" # Fix for nasm on Solaris x86
         CheckDummyVideo
         CheckNASM
+        CheckOSS
         CheckARTSC
         CheckESD
         CheckNAS
@@ -1488,6 +1477,7 @@
     *-*-hpux*)
         ARCH=hpux
         CheckDummyVideo
+        CheckOSS
         CheckNAS
         CheckX11
         CheckGGI
@@ -1531,6 +1521,7 @@
     *-*-aix*)
         ARCH=aix
         CheckDummyVideo
+        CheckOSS
         CheckNAS
         CheckX11
         CheckGGI