From 12fafd6bf07514de75f9fe00698b8e1493ac777c Mon Sep 17 00:00:00 2001 From: Matthew Cline Date: Tue, 17 Nov 2009 11:00:01 -0800 Subject: 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. --- crawl-ref/source/makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crawl-ref') 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 -- cgit v1.2.3-54-g00ecf