[xmp] Configuration check fixes

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
master
Claudio Matsuoka 14 years ago
parent e2a6f21259
commit bc4c944002
  1. 6
      configure.ac
  2. 0
      src/sound_aix.c

@ -58,7 +58,7 @@ fi
case "${host_os}" in case "${host_os}" in
amigaos*|aros) amigaos*|aros)
DRIVERS="${DRIVERS} sound_ahi.o" DRIVERS="${DRIVERS} sound_ahi.o"
AC_DEFINE(DRIVER_AHI) AC_DEFINE(SOUND_AHI)
;; ;;
darwin*) darwin*)
AC_CHECK_HEADER(CoreAudio/CoreAudio.h) AC_CHECK_HEADER(CoreAudio/CoreAudio.h)
@ -88,14 +88,14 @@ netbsd*)
;; ;;
solaris*) solaris*)
if test "${ac_cv_header_sys_audioio_h}" = "yes"; then if test "${ac_cv_header_sys_audioio_h}" = "yes"; then
AC_DEFINE(SOUND_SOLARISD) AC_DEFINE(SOUND_SOLARIS)
DRIVERS="${DRIVERS} sound_solaris.o" DRIVERS="${DRIVERS} sound_solaris.o"
fi fi
;; ;;
hpux*) hpux*)
AC_CHECK_HEADER(sys/audio.h) AC_CHECK_HEADER(sys/audio.h)
if test "${ac_cv_header_sys_audio_h}" = "yes"; then if test "${ac_cv_header_sys_audio_h}" = "yes"; then
AC_DEFINE(DRIVER_HPUX) AC_DEFINE(SOUND_HPUX)
DRIVERS="${DRIVERS} sound_hpux.o" DRIVERS="${DRIVERS} sound_hpux.o"
fi fi
;; ;;

Loading…
Cancel
Save