X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=configure.ac;h=fe599a8d8d443173cd846a740a3ef00ee38c9737;hp=3fdbe849e4c7ad882092620a39b62e59b510afad;hb=2d77fb5fb3480f522658f30af6addd5146530517;hpb=8a1acac01b444dccf8b57cedf08392ada2e473c1 diff --git a/configure.ac b/configure.ac index 3fdbe84..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/" @@ -356,18 +353,17 @@ AC_SUBST([DATA_FILES]) # Create the build files. #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +AC_CONFIG_FILES([Makefile + data/Makefile + doc/Makefile + doc/yoink.6 + src/Makefile]) + if test x$WIN32 = xyes then - make_win32="win32/Makefile win32/build-installer.sh" -else - make_doc="doc/Makefile doc/yoink.6" + AC_CONFIG_FILES([win32/Makefile win32/build-installer.sh]) fi -AC_CONFIG_FILES([Makefile - data/Makefile - src/Makefile - $make_doc - $make_win32]) AC_CONFIG_HEADERS([src/config.h])