From 563f86b26914a72ef68be1a1f5569119af681573 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Mon, 8 Aug 2005 15:26:18 +0000 Subject: Makefile conditionals guarded against leading/trailing spaces --- Makefile | 7 +++---- 1 file 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 -- cgit v1.2.3