-NP_FINDLIB([SDLMIXER], [SDL_mixer], [SDL_mixer >= 1.2],
- NP_LANG_PROGRAM([#include <SDL_mixer.h>
-#if MIX_MAJOR_VERSION < 1
-# error SDLMix too old
-#else
-# if MIX_MAJOR_VERSION == 1
-# if MIX_MINOR_VERSION < 2
-# error SDLMix too old
-# endif
-# endif
-#endif], [Mix_OpenAudio(0, 0, 0, 0);]),
- [], [-lSDL_mixer],
- [],
- [AC_MSG_ERROR([Please install SDLMixer >=1.2.2])],
- [$SDL_CFLAGS], [$SDL_LIBS])
+XIPH_PATH_VORBIS(, [AC_MSG_ERROR([Please install libvorbis])])
+XIPH_PATH_OGG(, [AC_MSG_ERROR([Please install libogg])])