From: durk Date: Sun, 22 Oct 2006 19:41:16 +0000 (+0000) Subject: Make configuration script compatible with "home-built" openal libraries X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=20005a7a22f083ad8ef183b819d98fe027e2aee6;p=simgear.git Make configuration script compatible with "home-built" openal libraries on cygwin. --- diff --git a/configure.ac b/configure.ac index c20bd640..b59695a8 100644 --- a/configure.ac +++ b/configure.ac @@ -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"