]> git.mxchange.org Git - simgear.git/commitdiff
Make configuration script compatible with "home-built" openal libraries
authordurk <durk>
Sun, 22 Oct 2006 19:41:16 +0000 (19:41 +0000)
committerdurk <durk>
Sun, 22 Oct 2006 19:41:16 +0000 (19:41 +0000)
on cygwin.

configure.ac

index c20bd6408d2ac7eecc262991d571cb454ffa5d71..b59695a84d001355a9f4953358c1d65880c6d140 100644 (file)
@@ -261,10 +261,10 @@ OPENAL_OK="no"
 case "${host}" in
 *-*-cygwin* | *-*-mingw32*)
     dnl CygWin under Windoze.
-    INCLUDES="$INCLUDES -I/usr/local/include"
+    INCLUDES="$INCLUDES -I/usr/local/include/"
     LIBS="$LIBS -L/usr/local/lib"
-    AC_SEARCH_LIBS(alGenBuffers, openal32)
-    AC_SEARCH_LIBS(alutInit, [ openal32 ALut ] )
+    AC_SEARCH_LIBS(alGenBuffers, [ openal32 openal ] )
+    AC_SEARCH_LIBS(alutInit, [ openal32 ALut alut ] )
     LIBS="$LIBS -lwinmm -ldsound -ldxguid -lole32"
     openal_LIBS="$LIBS"
     OPENAL_OK="$ac_cv_search_alGenBuffers"