From 8afa9559a6e26cff5a3cf5e74d39c844ccd63747 Mon Sep 17 00:00:00 2001 From: dshaligram Date: Sat, 14 Apr 2007 15:58:58 +0000 Subject: 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 --- crawl-ref/source/AppHdr.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'crawl-ref/source/AppHdr.h') 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 // ========================================================================= -- cgit v1.2.3-54-g00ecf