From e8fc75eb5a188a9a742a11fa8f26e70fd58d327c Mon Sep 17 00:00:00 2001 From: prozacx Date: Tue, 6 Sep 2005 22:40:40 +0000 Subject: [PATCH] Look for REQUIRESSL instead of HAVE_LIBSSL when deciding which modules to skip git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@459 726aef4b-f618-498e-8847-2d620e286838 --- modules/Makefile.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/Makefile.in b/modules/Makefile.in index fa80e732..3bec163c 100644 --- a/modules/Makefile.in +++ b/modules/Makefile.in @@ -11,10 +11,10 @@ endif VPATH=.:.. ifeq "@NOSSL@" "1" -TARGETS=$(foreach file, $(wildcard *.cpp), $(if $(shell grep HAVE_LIBSSL $(file)),, $(addsuffix .so, $(basename $(file))))) -INSTALL_TARGS=$(foreach file, $(wildcard *.cpp), $(if $(shell grep HAVE_LIBSSL $(file)),, install_$(addsuffix .so, $(basename $(file))))) -OBJS=$(foreach file, $(wildcard *.cpp), $(if $(shell grep HAVE_LIBSSL $(file)),, $(addsuffix .o, $(basename $(file))))) -SRCS=$(wildcard ../*.cpp) $(foreach file, $(wildcard *.cpp), $(if $(shell grep HAVE_LIBSSL $(file)),,$(file))) +TARGETS=$(foreach file, $(wildcard *.cpp), $(if $(shell grep REQUIRESSL $(file)),, $(addsuffix .so, $(basename $(file))))) +INSTALL_TARGS=$(foreach file, $(wildcard *.cpp), $(if $(shell grep REQUIRESSL $(file)),, install_$(addsuffix .so, $(basename $(file))))) +OBJS=$(foreach file, $(wildcard *.cpp), $(if $(shell grep REQUIRESSL $(file)),, $(addsuffix .o, $(basename $(file))))) +SRCS=$(wildcard ../*.cpp) $(foreach file, $(wildcard *.cpp), $(if $(shell grep REQUIRESSL $(file)),,$(file))) else TARGETS=$(addsuffix .so, $(basename $(wildcard *.cpp))) INSTALL_TARGS=$(foreach file, $(addsuffix .so, $(basename $(wildcard *.cpp))), install_$(file))