]> git.mxchange.org Git - simgear.git/commitdiff
Fixes from Norman for users running Cugwin with the XServer package installed.
authorehofman <ehofman>
Fri, 11 Feb 2005 15:19:04 +0000 (15:19 +0000)
committerehofman <ehofman>
Fri, 11 Feb 2005 15:19:04 +0000 (15:19 +0000)
configure.ac

index d5761639d5ee5796c7ee1797b700429225df06c3..2d573ebdef14c0dedf1089ac1edc0dc2f5f42468 100644 (file)
@@ -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"