--- configure.ac.orig Tue Oct 31 17:42:00 2006 +++ configure.ac Tue Oct 31 17:54:47 2006 @@ -133,6 +133,12 @@ echo "*** environment variable to the full path to openal-config." else + if test x"$use_static_openal" = x"yes"; then + LIBS="$LIBS /usr/local/lib/libalut.a" + else + LIBS="$LIBS `$FREEALUT_CONFIG --libs`" + fi + CFLAGS="$CFLAGS `$FREEALUT_CONFIG --cflags`" CXXFLAGS="$CXXFLAGS `$FREEALUT_CONFIG --cflags`"