]> Dogcows Code - chaz/yoink/blobdiff - configure.ac
scene drawing correctly implemented; new classes
[chaz/yoink] / configure.ac
index 7b40bb30789a297dee79d9e985d9c587a8003213..9267e807d9756934773b1a42cc19f172acc6505b 100644 (file)
@@ -70,13 +70,13 @@ AC_ARG_WITH([assetdir],
                        [eval DATADIR="$datarootdir/yoink"])
 
 AC_SUBST([DATADIR])
-
 AC_DEFINE_UNQUOTED([YOINK_DATADIR], ["$DATADIR"],
                                   [Define to path of game asset directory.])
 
-AC_DEFINE_UNQUOTED([YOINK_CONFIGFILES],                                    
-                                  ["\$HOME/.yoinkrc:/etc/yoinkrc:$DATADIR/yoinkrc"],
-                                  [Define to colon-delimited config file paths.])
+CONFIGFILES="\$HOME/.yoinkrc:/etc/yoinkrc"
+
+AC_DEFINE_UNQUOTED([YOINK_CONFIGFILES], ["$CONFIGFILES"],
+                                  [Define to colon-delimited configuration file paths.])
 
 
 #
@@ -101,6 +101,9 @@ AC_SEARCH_LIBS([IMG_Load], [SDL_image],,
 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([clock_gettime], [rt],
                           [AC_DEFINE([HAVE_CLOCK_GETTIME], 1,
                                                  [Define to 1 if you have the 'clock_gettime' function.])])
@@ -153,9 +156,9 @@ AC_SUBST([DATA_FILES])
 
 AC_CONFIG_FILES([Makefile
                                 data/Makefile
-                 src/Makefile
                                 doc/Makefile
                                 doc/yoink.6
+                 src/Makefile
                                 yajl/Makefile])
 
 AC_CONFIG_HEADERS([src/config.h])
This page took 0.017394 seconds and 4 git commands to generate.