2 # Find Oss headers and libraries.
4 # OSS_INCLUDE_DIR - where to find soundcard.h, etc.
5 # OSS_FOUND - True if Oss found.
8 FIND_PATH(LINUX_OSS_INCLUDE_DIR "linux/soundcard.h"
9 "/usr/include" "/usr/local/include"
12 FIND_PATH(SYS_OSS_INCLUDE_DIR "sys/soundcard.h"
13 "/usr/include" "/usr/local/include"
16 FIND_PATH(MACHINE_OSS_INCLUDE_DIR "machine/soundcard.h"
17 "/usr/include" "/usr/local/include"
22 IF(LINUX_OSS_INCLUDE_DIR)
24 SET(OSS_INCLUDE_DIR ${LINUX_OSS_INCLUDE_DIR})
25 SET(HAVE_LINUX_SOUNDCARD_H 1)
28 IF(SYS_OSS_INCLUDE_DIR)
30 SET(OSS_INCLUDE_DIR ${SYS_OSS_INCLUDE_DIR})
31 SET(HAVE_SYS_SOUNDCARD_H 1)
34 IF(MACHINE_OSS_INCLUDE_DIR)
36 SET(OSS_INCLUDE_DIR ${MACHINE_OSS_INCLUDE_DIR})
37 SET(HAVE_MACHINE_SOUNDCARD_H 1)
45 MACHINE_OSS_INCLUDE_DIR