From 63a9db1fd797964017799f60e7432a8e8b3b62da Mon Sep 17 00:00:00 2001 From: Stefan Ritt Date: Tue, 18 May 2010 11:24:13 +0000 Subject: [PATCH] Allow for 'USE_SSL = 0' and 'USE_CRYPT = 0' SVN revision: 2298 --- Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 930de355..e202b809 100644 --- a/Makefile +++ b/Makefile @@ -25,7 +25,7 @@ RCDIR = $(ROOT)/etc/rc.d/init.d USE_SSL = 1 # flag for crypt() support -USE_CRYPT = +USE_CRYPT = 0 ############################################################# @@ -74,14 +74,18 @@ CC = gcc endif ifdef USE_SSL +ifneq ($(USE_SSL),0) CFLAGS += -DHAVE_SSL LIBS += -lssl -endif +endif +endif ifdef USE_CRYPT +ifneq ($(USE_CRYPT),0) CFLAGS += -DHAVE_CRYPT LIBS += -lcrypt endif +endif WHOAMI = $(shell whoami) ifeq ($(WHOAMI),root)