summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/AppHdr.h
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-04-14 15:58:58 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-04-14 15:58:58 +0000
commit8afa9559a6e26cff5a3cf5e74d39c844ccd63747 (patch)
tree93ace380e64e63307050838ae457447a6bcea0fa /crawl-ref/source/AppHdr.h
parent4a7644f0eec04ea061b77f35a39d894ded93b8c8 (diff)
downloadcrawl-ref-8afa9559a6e26cff5a3cf5e74d39c844ccd63747.tar.gz
crawl-ref-8afa9559a6e26cff5a3cf5e74d39c844ccd63747.zip
Tweaked CLUA_BINDINGS so that the only thing it controls is running user
scripts. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1309 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/AppHdr.h')
-rw-r--r--crawl-ref/source/AppHdr.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/crawl-ref/source/AppHdr.h b/crawl-ref/source/AppHdr.h
index 8bad5c10e4..42c371f581 100644
--- a/crawl-ref/source/AppHdr.h
+++ b/crawl-ref/source/AppHdr.h
@@ -48,7 +48,9 @@
# define HASH_CONTAINERS
#endif
-// Uncomment to enable the Crawl Lua bindings.
+// Uncomment to enable the Crawl Lua bindings. You can also set this in your
+// makefile by adding -DCLUA_BINDINGS to the CFLAGS line (this is preferred to
+// editing AppHdr.h directly).
//
// #define CLUA_BINDINGS
@@ -233,6 +235,10 @@
#define DGL_MACRO_ABSOLUTE_PATH
#endif
+#if defined(REGEX_POSIX) && defined(REGEX_PCRE)
+#error You can use either REGEX_POSIX or REGEX_PCRE, or neither, but not both.
+#endif
+
// =========================================================================
// Debugging Defines
// =========================================================================