summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/makefile.x11
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2008-04-10 00:36:27 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2008-04-10 00:36:27 +0000
commitf978e4bc33161fd3b65260618a6befcd6613d460 (patch)
tree98e0ca5ce5b5fe10b26b1c28e230824c4df864b6 /crawl-ref/source/makefile.x11
parenta1d6cda4bbcd9cdb9c10aabbf765fa1c02c941fe (diff)
downloadcrawl-ref-f978e4bc33161fd3b65260618a6befcd6613d460.tar.gz
crawl-ref-f978e4bc33161fd3b65260618a6befcd6613d460.zip
Added fix for ndbm.h check breaking compile on SuSE to makefile.x11 (jpeg).
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4170 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/makefile.x11')
-rw-r--r--crawl-ref/source/makefile.x112
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/makefile.x11 b/crawl-ref/source/makefile.x11
index e2f6daa245..518df3c3cc 100644
--- a/crawl-ref/source/makefile.x11
+++ b/crawl-ref/source/makefile.x11
@@ -78,7 +78,7 @@ DBH_FILE := /usr/include/db.h
NDBM_FILE := /usr/include/ndbm.h
HAVE_DBH := $(shell [ -f $(DBH_FILE) ] && echo y)
-HAVE_NDBM := $(shell [ -f $(NDBM_FILE) ] && echo y)
+HAVE_NDBM := $(shell [ -f $(NDBM_FILE) -a "`uname`" = "Darwin" ] && echo y)
ifeq ($(HAVE_DBH),y)
ifneq ($(shell grep dbm_open $(DBH_FILE)),)