diff options
author | Matthew Cline <zelgadis@sourceforge.net> | 2009-11-17 11:00:01 -0800 |
---|---|---|
committer | Matthew Cline <zelgadis@sourceforge.net> | 2009-11-17 11:03:18 -0800 |
commit | 12fafd6bf07514de75f9fe00698b8e1493ac777c (patch) | |
tree | 95885c6bf4b2d406de584b0b24b7387f320f8141 /crawl-ref/source/makefile | |
parent | 607b3cedc01f5fa92e6ae0546a8871fcc670c215 (diff) | |
download | crawl-ref-12fafd6bf07514de75f9fe00698b8e1493ac777c.tar.gz crawl-ref-12fafd6bf07514de75f9fe00698b8e1493ac777c.zip |
Fix detection of system lua/sqlite
Or at least fix it on my system, where it was falsely detecting the
presence of /usr/include/lua5.1 and /usr/include/sqlite3.h. I *think*
the fix is valid, since I don't see "$wildcard" defined anywhere, but I
haven't tested it with the lua/sqlite devel packages installed.
Diffstat (limited to 'crawl-ref/source/makefile')
-rw-r--r-- | crawl-ref/source/makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/makefile b/crawl-ref/source/makefile index 73c2dd108c..e30445736d 100644 --- a/crawl-ref/source/makefile +++ b/crawl-ref/source/makefile @@ -346,7 +346,7 @@ endif endif ifndef BUILD_LUA - ifeq (,($wildcard /usr/include/lua5.1)) + ifeq (,$(wildcard /usr/include/lua5.1)) BUILD_LUA = yes else INCLUDES_L += -I/usr/include/lua5.1 @@ -355,7 +355,7 @@ ifndef BUILD_LUA endif ifndef BUILD_SQLITE - ifeq (,($wildcard /usr/include/sqlite3.h)) + ifeq (,$(wildcard /usr/include/sqlite3.h)) BUILD_SQLITE = yes else LIBS += -lsqlite3 |