diff --git a/configure.ac b/configure.ac index a7298ea32..bdc836689 100644 --- a/configure.ac +++ b/configure.ac @@ -324,7 +324,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*)