summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2005-08-08 15:26:18 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2005-08-08 15:26:18 +0000
commit563f86b26914a72ef68be1a1f5569119af681573 (patch)
tree6f7648fa70e6efbf3f4abaa27edf43eac16db96b
parent19707f868dc267f650efd8851c387fdb05c2d098 (diff)
downloadrsyslog-563f86b26914a72ef68be1a1f5569119af681573.tar.gz
rsyslog-563f86b26914a72ef68be1a1f5569119af681573.tar.xz
rsyslog-563f86b26914a72ef68be1a1f5569119af681573.zip
Makefile conditionals guarded against leading/trailing spaces
-rw-r--r--Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 5de8d2f8..4b02e131 100644
--- a/Makefile
+++ b/Makefile
@@ -35,13 +35,12 @@ BINDIR = /usr/sbin
MANDIR = /usr/share/man
-ifeq ($(FEATURE_LARGEFILE), 0)
+# now comes the evaluation of the FEATURE_* settings
+ifeq ($(strip $(FEATURE_LARGEFILE)), 0)
NOLARGEFILE = -DNOLARGEFILE
endif
-# uncomment the following line if you would
-# like to disable MySQL support
-ifeq ($(FEATURE_DB), 1)
+ifeq ($(strip $(FEATURE_DB)), 1)
WITHDB=-DWITHDB
endif