Changeset 3004

Show
Ignore:
Timestamp:
12/06/99 17:01:41 (15 years ago)
Author:
ucacoxh
Message:

- AC_CHECK_HEADERS for OSS - Marcus Meissner.

Location:
rat/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • rat/trunk/auddev_oss.c

    r2996 r3004  
    2222#include "util.h" 
    2323 
    24 #include <soundcard.h> 
     24#ifdef HAVE_SOUNDCARD_H 
     25# include <soundcard.h> 
     26#else 
     27#ifdef HAVE_SYS_SOUNDCARD_H 
     28#  include <sys/soundcard.h> 
     29#endif 
     30#endif 
    2531 
    2632enum { AUDIO_SPEAKER, AUDIO_HEADPHONE, AUDIO_LINE_OUT, AUDIO_MICROPHONE, AUDIO_LINE_IN, AUDIO_CD}; 
  • rat/trunk/configure.in

    r3003 r3004  
    170170*linux*) 
    171171        AU_OBJ="$AU_OBJ auddev_oss.o" 
    172         AU_INC="-I/usr/include/sys" 
     172        AC_CHECK_HEADERS(sys/soundcard.h soundcard.h) 
    173173        AC_DEFINE(HAVE_OSS_AUDIO) 
    174174        ;;