]> Dogcows Code - chaz/yoink/blobdiff - configure.ac
dispatcher alias methods
[chaz/yoink] / configure.ac
index e8d8d9b090eddaa5ff27e84f0ee3ef205c81a86c..731e421d86f9b67c58f38c347dc29d23d3e915b0 100644 (file)
@@ -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.])])
@@ -146,7 +155,11 @@ AC_CHECK_FUNCS([nanosleep strchr strcspn strrchr strstr])
 #
 
 DATA_FILES=$(echo $(cd data; \
-                                       find . -name "*.png" -o -name "*.json" -o -name yoinkrc))
+                                       find . -name "*.json" \
+                                               -o -name "*.ogg" \
+                                               -o -name "*.png" \
+                                               -o -name "*.xm" \
+                                               -o -name "yoinkrc"))
 AC_SUBST([DATA_FILES])
 
 
@@ -171,7 +184,7 @@ AC_OUTPUT
 # Print a friendly little message.
 #
 
-echo "====================================="
+echo "======================================"
 echo " Configuration complete!"
 echo ""
 
@@ -194,5 +207,5 @@ fi
 echo " To finish the installation, execute:"
 echo "  make"
 echo "  make install"
-echo "====================================="
+echo "======================================"
 
This page took 0.018093 seconds and 4 git commands to generate.