From 93349c41f2e59aabf0f17624916cafb9b7ed7481 Mon Sep 17 00:00:00 2001 From: Stefan Ritt Date: Fri, 22 Feb 2008 08:06:50 +0000 Subject: [PATCH] Added SSL support SVN revision: 2056 --- Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Makefile b/Makefile index 2e974a51..18f672e7 100644 --- a/Makefile +++ b/Makefile @@ -21,6 +21,9 @@ DESTDIR = $(ROOT)$(PREFIX)/bin SDESTDIR = $(ROOT)$(PREFIX)/sbin RCDIR = $(ROOT)/etc/rc.d/init.d +# flag for SSL support +USE_SSL = 1 + ############################################################# # Default compilation flags unless stated otherwise. @@ -70,6 +73,11 @@ endif CFLAGS += -DOS_$(OSTYPE) +ifdef USE_SSL +CFLAGS += -DHAVE_SSL +LIBS += -lssl +endif + all: $(EXECS) regex.o: src/regex.c src/regex.h