]> Dogcows Code - chaz/yoink/blobdiff - configure.ac
beginning CD implementation
[chaz/yoink] / configure.ac
index f7e75b0a2a7ea1295c77ac2e019da35ca36fc38b..a9018e12b8b7373350d1a9fa237c8adbe738d24c 100644 (file)
@@ -94,6 +94,11 @@ AC_ARG_WITH([log-level],
                        [log_level=$withval],
                        [log_level=3])
 
+AC_ARG_ENABLE([double],
+                         [  --enable-double         use double-precision numbers],
+                         [double=$enableval],
+                         [double=no])
+
 
 if test x$developer = xyes
 then
@@ -120,6 +125,8 @@ if test x$profile = xyes
 then
        CFLAGS="$CFLAGS -pg"
        CXXFLAGS="$CXXFLAGS -pg"
+       AC_DEFINE([PROFILING_ENABLED], 1,
+                         [Define to 1 if profiling is built in.])
 fi
 
 if test x$extra_warnings = xyes
@@ -128,6 +135,13 @@ then
        CXXFLAGS="$CXXFLAGS -Wextra -Wno-unused-parameter"
 fi
 
+if test x$double = xyes
+then
+       AC_DEFINE([USE_DOUBLE_PRECISION], 1,
+                         [Define to 1 if you want to use double-precison numbers.])
+fi
+
+
 AC_DEFINE_UNQUOTED([YOINK_LOGLEVEL], [$log_level],
                                   [Define to detail level of logging.])
 
@@ -294,11 +308,9 @@ fi
 #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
 DATA_FILES=$(echo $(cd data; \
-                                       find . -name "*.json" \
-                                               -o -name "*.lua" \
+                                       find . -name "*.lua" \
                                                -o -name "*.ogg" \
                                                -o -name "*.png" \
-                                               -o -name "*.xm" \
                                                -o -name "yoinkrc"))
 AC_SUBST([DATA_FILES])
 
This page took 0.018114 seconds and 4 git commands to generate.