X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=configure.ac;h=e8fd379c8091dcb2bbc7f704f3732d8446495641;hp=e8d8d9b090eddaa5ff27e84f0ee3ef205c81a86c;hb=bfa6212d09d8735d8fd5e2638188e4a99f21ada4;hpb=eebb993ca929c3f4c235cad9e01dc4797fcd2945 diff --git a/configure.ac b/configure.ac index e8d8d9b..e8fd379 100644 --- a/configure.ac +++ b/configure.ac @@ -98,12 +98,21 @@ BOOST_FUNCTION AC_SEARCH_LIBS([IMG_Load], [SDL_image],, [AC_MSG_ERROR([libSDL_image is required])]) +AC_SEARCH_LIBS([Sound_Init], [SDL_sound],, + [AC_MSG_ERROR([libSDL_sound is required])]) + AC_SEARCH_LIBS([glBegin], [GL],, [AC_MSG_ERROR([libGL is required])]) AC_SEARCH_LIBS([gluPerspective], [GLU],, [AC_MSG_ERROR([libGLU is required])]) +AC_SEARCH_LIBS([alGenBuffers], [openal],, + [AC_MSG_ERROR([libopenal is required])]) + +AC_SEARCH_LIBS([alutInit], [alut],, + [AC_MSG_ERROR([libalut is required])]) + AC_SEARCH_LIBS([clock_gettime], [rt], [AC_DEFINE([HAVE_CLOCK_GETTIME], 1, [Define to 1 if you have the 'clock_gettime' function.])]) @@ -171,7 +180,7 @@ AC_OUTPUT # Print a friendly little message. # -echo "=====================================" +echo "======================================" echo " Configuration complete!" echo "" @@ -194,5 +203,5 @@ fi echo " To finish the installation, execute:" echo " make" echo " make install" -echo "=====================================" +echo "======================================"