author | Alberto Bertogli
<albertito@blitiri.com.ar> 2010-04-25 06:22:57 UTC |
committer | Alberto Bertogli
<albertito@blitiri.com.ar> 2010-04-25 06:22:57 UTC |
parent | 64fa6fbf77c30c7ec3247143670d06ff0b99fc03 |
nmdb/Makefile | +2 | -1 |
diff --git a/nmdb/Makefile b/nmdb/Makefile index 7b784e7..4f7f870 100644 --- a/nmdb/Makefile +++ b/nmdb/Makefile @@ -10,7 +10,8 @@ ENABLE_SCTP := $(shell if echo "\#include <netinet/sctp.h>" | \ # Backends to enable BE_ENABLE_QDBM := $(shell if `pkg-config --exists qdbm`; \ then echo 1; else echo 0; fi) -BE_ENABLE_BDB := 0 +BE_ENABLE_BDB := $(shell if echo "\#include <db.h>" | \ + $(CPP) - > /dev/null 2>&1; then echo 1; else echo 0; fi) BE_ENABLE_TC := $(shell if `pkg-config --exists tokyocabinet`; \ then echo 1; else echo 0; fi) BE_ENABLE_TDB := $(shell if `pkg-config --exists tdb`; \