From: ehofman Date: Fri, 11 Feb 2005 15:19:04 +0000 (+0000) Subject: Fixes from Norman for users running Cugwin with the XServer package installed. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=db633330fe548b5c1e71322c8d34440d40a58e04;p=simgear.git Fixes from Norman for users running Cugwin with the XServer package installed. --- diff --git a/configure.ac b/configure.ac index d5761639..2d573ebd 100644 --- a/configure.ac +++ b/configure.ac @@ -121,7 +121,7 @@ fi dnl Determine an extra directories to add to include/lib search paths case "${host}" in -*-apple-darwin* | *-*-mingw32*) +*-apple-darwin* | *-*-cygwin* | *-*-mingw32*) echo no EXTRA_DIRS for $host ;; @@ -258,7 +258,8 @@ OPENAL_OK="no" case "${host}" in *-*-cygwin* | *-*-mingw32*) dnl CygWin under Windoze. - + INCLUDES="$INCLUDES -I/usr/local/include" + LIBS="$LIBS -L/usr/local/lib" AC_SEARCH_LIBS(alGenBuffers, openal32) AC_SEARCH_LIBS(alutInit, [ openal32 ALut ] ) LIBS="$LIBS -lwinmm -ldsound -ldxguid -lole32"