|
@@ -3869,9 +3869,9 @@ case "$host" in
|
|
|
if test x$enable_audio = xyes; then
|
|
|
case $ARCH in
|
|
|
sysv5|solaris|hpux)
|
|
|
- dnl Newer Solaris-based systems, like OpenIndiana, don't have this interface anymore. Check for the header first.
|
|
|
- AC_CHECK_HEADER(audio/audiolib.h,have_sys_audiolib=yes,have_sys_audiolib=no)
|
|
|
- if test x$have_sys_audiolib = xyes; then
|
|
|
+ # Newer Solaris-based systems, like OpenIndiana, don't have this interface anymore. Check for the header first.
|
|
|
+ AC_CHECK_HEADER(sys/audioio.h, have_sys_audioio_h=yes, have_sys_audioio_h=no)
|
|
|
+ if test x$have_sys_audioio_h = xyes; then
|
|
|
AC_DEFINE(SDL_AUDIO_DRIVER_SUNAUDIO, 1, [ ])
|
|
|
SOURCES="$SOURCES $srcdir/src/audio/sun/*.c"
|
|
|
SUMMARY_audio="${SUMMARY_audio} sun"
|