X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=configure.ac;h=fe599a8d8d443173cd846a740a3ef00ee38c9737;hp=0f46ef53253e2a542801618c61287d3943f8413e;hb=2d77fb5fb3480f522658f30af6addd5146530517;hpb=9d0add74a28da0a1c24430eee52d41a7d367f857 diff --git a/configure.ac b/configure.ac index 0f46ef5..fe599a8 100644 --- a/configure.ac +++ b/configure.ac @@ -265,17 +265,14 @@ else echo "***** Missing libGLU ($website) *****"]) fi -##### openal, alut ##### +##### openal ##### website="http://connect.creativelabs.com/openal/" -AC_CHECK_HEADERS([AL/al.h AL/alut.h],, +AC_CHECK_HEADERS([AL/al.h AL/alc.h],, [missing=yes echo "***** Missing OpenAL headers ($website) *****"]) -AC_SEARCH_LIBS([alEnable], [openal openal32],, +AC_SEARCH_LIBS([alEnable], [openal OpenAL32],, [missing=yes echo "***** Missing libopenal ($website) *****"]) -AC_SEARCH_LIBS([alutInit], [alut],, - [missing=yes - echo "***** Missing libalut ($website) *****"]) ##### SDL_image ##### website="http://www.libsdl.org/projects/SDL_image/" @@ -358,9 +355,15 @@ AC_SUBST([DATA_FILES]) AC_CONFIG_FILES([Makefile data/Makefile - src/Makefile - doc/Makefile doc/yoink.6 - win32/Makefile win32/build-installer.sh]) + doc/Makefile + doc/yoink.6 + src/Makefile]) + +if test x$WIN32 = xyes +then + AC_CONFIG_FILES([win32/Makefile win32/build-installer.sh]) +fi + AC_CONFIG_HEADERS([src/config.h])