X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=configure.ac;h=105ed297163acf0fcd433d1798b9ac877e7d13e0;hb=7f0ebf88714bf8b02335b1af959677d1814d0a39;hp=fb53c8a3333e4118f8d2bc409e5756898fe6c672;hpb=5bbcd386fa837885782f128af77ff0162761945c;p=simgear.git diff --git a/configure.ac b/configure.ac index fb53c8a3..105ed297 100644 --- a/configure.ac +++ b/configure.ac @@ -10,7 +10,7 @@ dnl Require at least automake 2.52 AC_PREREQ(2.52) dnl Initialize the automake stuff -AM_INIT_AUTOMAKE(SimGear, 0.3.5) +AM_INIT_AUTOMAKE(SimGear, 0.3.6) dnl Specify KAI C++ compiler and flags. dnl Borrowed with slight modification from blitz distribution. @@ -272,6 +272,20 @@ LIBS="$base_LIBS" dnl check for OpenAL libraries case "${host}" in +*-*-cygwin* | *-*-mingw32*) + dnl CygWin under Windoze. + + AC_SEARCH_LIBS(alGenBuffers, openal32) + AC_SEARCH_LIBS(alutInit, [ openal32 ALut ] ) + LIBS="$LIBS -lwinmm -ldsound -ldxguid -lole32" + ;; + +*-apple-darwin*) + dnl Mac OS X + + LIBS="$LIBS -framework IOKit -framework OpenAL" + ;; + *) dnl default unix style machines