summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--freebsd/Makefile2
-rw-r--r--linux/Makefile4
3 files changed, 5 insertions, 3 deletions
diff --git a/NEWS b/NEWS
index e4b322a..3954972 100644
--- a/NEWS
+++ b/NEWS
@@ -6,6 +6,8 @@ Version 0.9.7 (RGer), 2005-08-15
- changed syslogd.c so that when compiled without database support,
an error message is displayed when a database action is detected
in the config file (previously this was used as an user rule ;))
+- fixed a bug in the os-specific Makefiles which caused MySQL
+ support to not be compiled, even if selected
---------------------------------------------------------------------------
Version 0.9.6 (RGer), 2005-08-09
- greatly enhanced documentation. Now available in html format in
diff --git a/freebsd/Makefile b/freebsd/Makefile
index 05368dc..b1b12b0 100644
--- a/freebsd/Makefile
+++ b/freebsd/Makefile
@@ -42,7 +42,7 @@ MANDIR = /usr/share/man
.endif
.if $(FEATURE_DB) == 1
- WITHDB=-DWITHDB
+ WITHDB=-DWITH_DB
.endif
# Include MySQL client lib if DB is selected
diff --git a/linux/Makefile b/linux/Makefile
index f75ccf4..8a38f29 100644
--- a/linux/Makefile
+++ b/linux/Makefile
@@ -43,11 +43,11 @@ ifeq ($(strip $(FEATURE_LARGEFILE)), 0)
endif
ifeq ($(strip $(FEATURE_DB)), 1)
- WITHDB=-DWITHDB
+ WITHDB=-DWITH_DB
endif
# Include MySQL client lib if DB is selected
-ifdef WITHDB
+ifdef WITH_DB
LIBS = -lmysqlclient -L/usr/local/lib/mysql
endif