From: ehofman Date: Mon, 19 Jul 2004 14:59:51 +0000 (+0000) Subject: Test for alutInit in libopenal.so and in libalut.so for Cygwin builds. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=df302f277cbd4aa63f3d678f6a676d15f346a350;p=simgear.git Test for alutInit in libopenal.so and in libalut.so for Cygwin builds. --- 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*)