]> Dogcows Code - chaz/yoink/blobdiff - configure.ac
no more useless singleton class
[chaz/yoink] / configure.ac
index 9267e807d9756934773b1a42cc19f172acc6505b..e8fd379c8091dcb2bbc7f704f3732d8446495641 100644 (file)
@@ -39,8 +39,8 @@ AC_ARG_ENABLE([debug],
                          [debug=$enableval
                           if test x$debug = xyes
                           then
-                                  CFLAGS="-Wall -Werror -g -O0 -DDEBUG"
-                                  CXXFLAGS="-Wall -Werror -g -O0 -DDEBUG"
+                                  CFLAGS="-Wall -Werror -gstabs+ -O0 -DDEBUG"
+                                  CXXFLAGS="-Wall -Werror -gstabs+ -O0 -DDEBUG"
                           else
                                   CFLAGS="-O2 -DNDEBUG"
                                   CXXFLAGS="-O2 -DNDEBUG"
@@ -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.])])
@@ -158,6 +167,7 @@ AC_CONFIG_FILES([Makefile
                                 data/Makefile
                                 doc/Makefile
                                 doc/yoink.6
+                                extra/yoink.spec
                  src/Makefile
                                 yajl/Makefile])
 
@@ -170,7 +180,7 @@ AC_OUTPUT
 # Print a friendly little message.
 #
 
-echo "====================================="
+echo "======================================"
 echo " Configuration complete!"
 echo ""
 
@@ -193,5 +203,5 @@ fi
 echo " To finish the installation, execute:"
 echo "  make"
 echo "  make install"
-echo "====================================="
+echo "======================================"
 
This page took 0.020941 seconds and 4 git commands to generate.