X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=configure.ac;h=2d573ebdef14c0dedf1089ac1edc0dc2f5f42468;hb=61a2e0f104e7fcd40e37d8e466f419da8a15918f;hp=c3e399af7e9833beeee5062c8151b106b8d1831e;hpb=98b2ba4fc16aa90d508a3a7fe241674125d9dd87;p=simgear.git diff --git a/configure.ac b/configure.ac index c3e399af..2d573ebd 100644 --- a/configure.ac +++ b/configure.ac @@ -8,7 +8,7 @@ dnl Require at least automake 2.52 AC_PREREQ(2.52) dnl Initialize the automake stuff -AM_INIT_AUTOMAKE(SimGear, 0.3.8-pre1) +AM_INIT_AUTOMAKE(SimGear, 0.3.8) dnl Specify KAI C++ compiler and flags. dnl Borrowed with slight modification from blitz distribution. @@ -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" @@ -329,11 +330,11 @@ if test "x$ac_cv_header_plib_ul_h" != "xyes"; then exit fi -AC_MSG_CHECKING([for plib 1.6.0 or newer]) +AC_MSG_CHECKING([for plib 1.8.4 or newer]) AC_TRY_RUN([ #include -#define MIN_PLIB_VERSION 160 +#define MIN_PLIB_VERSION 184 int main() { int major, minor, micro; @@ -348,7 +349,7 @@ int main() { ], AC_MSG_RESULT(yes), [AC_MSG_RESULT(wrong version); - AC_MSG_ERROR([Install plib 1.6.0 or later first...])], + AC_MSG_ERROR([Install plib 1.8.4 or later first...])], AC_MSG_RESULT(yes) )