]> git.mxchange.org Git - simgear.git/commitdiff
Test for alutInit in libopenal.so and in libalut.so for Cygwin builds.
authorehofman <ehofman>
Mon, 19 Jul 2004 14:59:51 +0000 (14:59 +0000)
committerehofman <ehofman>
Mon, 19 Jul 2004 14:59:51 +0000 (14:59 +0000)
configure.ac

index 89783458683bdb0965152ac39598556263015423..80e1bc41ab42fa7f2f2aa51468d384454cdf5c25 100644 (file)
@@ -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*)