]> git.mxchange.org Git - simgear.git/blobdiff - configure.ac
Rewrite the entire audio support library on top of OpenAL rather than plib's
[simgear.git] / configure.ac
index 9d448213a0bca1f2abb0befe32a1798ed45dd79a..fb53c8a3333e4118f8d2bc409e5756898fe6c672 100644 (file)
@@ -270,7 +270,21 @@ esac
 opengl_LIBS="$LIBS"
 LIBS="$base_LIBS"
 
+dnl check for OpenAL libraries
+case "${host}" in
+*)
+    dnl default unix style machines
+
+    AC_SEARCH_LIBS(alGenBuffers, openal)
+    ;;
+
+esac
+
+openal_LIBS="$LIBS"
+LIBS="$base_LIBS"
+
 AC_SUBST(base_LIBS)
+AC_SUBST(openal_LIBS)
 AC_SUBST(opengl_LIBS)
 AC_SUBST(thread_LIBS)
 AC_SUBST(network_LIBS)