From df302f277cbd4aa63f3d678f6a676d15f346a350 Mon Sep 17 00:00:00 2001 From: ehofman Date: Mon, 19 Jul 2004 14:59:51 +0000 Subject: [PATCH] Test for alutInit in libopenal.so and in libalut.so for Cygwin builds. --- configure.ac | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 89783458..80e1bc41 100644 --- a/configure.ac +++ b/configure.ac @@ -275,7 +275,9 @@ case "${host}" in *-*-cygwin* | *-*-mingw32*) dnl CygWin under Windoze. - LIBS="$LIBS -lopenal32 -lwinmm -ldsound -ldxguid -lole32" + AC_SEARCH_LIBS(alGenBuffers, openal32) + AC_SEARCH_LIBS(alutInit, [ openal32 ALut ] ) + LIBS="$LIBS -lwinmm -ldsound -ldxguid -lole32" ;; *-apple-darwin*) -- 2.39.5