[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
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
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.])
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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])