]> Dogcows Code - chaz/yoink/blobdiff - configure.ac
testing new non-autotools build system
[chaz/yoink] / configure.ac
index d45b7566fccedba5db34cc4a2e463f2207b81100..a4f33cb40b21f52d65b956a13b305135c75305bd 100644 (file)
@@ -77,6 +77,12 @@ AC_ARG_ENABLE([threads],
                          [threads=$enableval],
                          [threads=no])
 
+AC_ARG_ENABLE([hotloading],
+                         [AS_HELP_STRING([--enable-hotloading],
+                                                         [monitor assets and reload them when they change])],
+                         [hotloading=$enableval],
+                         [hotloading=no])
+
 AC_ARG_WITH([gtk],
                        [AS_HELP_STRING([--with-gtk],
                                                        [use gtk2 modal dialogs])],
@@ -127,6 +133,12 @@ then
                          [Define to 1 if you want to use threads when applicable.])
 fi
 
+if test x$hotloading = xyes
+then
+       AC_DEFINE([USE_HOTLOADING], 1,
+                         [Define to 1 if you want to use hotloading assets.])
+fi
+
 if test x$gtk = xyes
 then
        AC_DEFINE([USE_GTK], 1,
@@ -216,6 +228,13 @@ AM_CONDITIONAL([HAVE_MAKENSIS], [test x$MAKENSIS != x])
 AC_MSG_NOTICE([Checks for libraries.])
 ####
 
+##### boost#####
+website="http://www.boost.org/"
+BOOST_BIND
+BOOST_FUNCTION
+BOOST_SMART_PTR
+BOOST_STRING_ALGO
+
 ##### SDL #####
 website="http://www.libsdl.org/"
 PKG_CHECK_MODULES([SDL], [sdl],
@@ -314,11 +333,6 @@ AC_HEADER_STDBOOL
 AC_HEADER_STDC
 AC_CHECK_HEADERS([arpa/inet.h byteswap.h fcntl.h stddef.h stdint.h stdlib.h string.h unistd.h])
 
-BOOST_SMART_PTR
-BOOST_STRING_ALGO
-BOOST_BIND
-BOOST_FUNCTION
-
 
 ####
 AC_MSG_NOTICE([Checks for types.])
This page took 0.018368 seconds and 4 git commands to generate.