From d07692cd96f8a65453f9a6ad1ed6d980328b84ea Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Thu, 23 Apr 2009 16:12:09 +0000 Subject: [PATCH] Make no-gost work properly. --- Configure | 1 + Makefile.org | 3 ++- engines/Makefile | 4 ++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Configure b/Configure index e651475019..b2a5d33b00 100755 --- a/Configure +++ b/Configure @@ -1432,6 +1432,7 @@ while () } $sdirs = 0 unless /\\$/; s/engines // if (/^DIRS=/ && $disabled{"engine"}); + s/ccgost// if (/^ENGDIRS=/ && $disabled{"gost"}); s/^VERSION=.*/VERSION=$version/; s/^MAJOR=.*/MAJOR=$major/; s/^MINOR=.*/MINOR=$minor/; diff --git a/Makefile.org b/Makefile.org index f60b7a15ce..ba29744a86 100644 --- a/Makefile.org +++ b/Makefile.org @@ -109,6 +109,7 @@ ZLIB_INCLUDE= LIBZLIB= DIRS= crypto ssl engines apps test tools +ENGDIRS= ccgost SHLIBDIRS= crypto ssl # dirs in crypto to build @@ -179,7 +180,7 @@ BUILDENV= PLATFORM='$(PLATFORM)' PROCESSOR='$(PROCESSOR)' \ AS='$(CC)' ASFLAG='$(CFLAG) -c' \ AR='$(AR)' NM='$(NM)' RANLIB='$(RANLIB)' \ CROSS_COMPILE_PREFIX='$(CROSS_COMPILE_PREFIX)' \ - PERL='$(PERL)' \ + PERL='$(PERL)' ENGDIRS='$(ENGDIRS)' \ SDIRS='$(SDIRS)' LIBRPATH='$(INSTALLTOP)/lib' \ INSTALL_PREFIX='$(INSTALL_PREFIX)' \ INSTALLTOP='$(INSTALLTOP)' OPENSSLDIR='$(OPENSSLDIR)' \ diff --git a/engines/Makefile b/engines/Makefile index 1cdfb2625d..bd29bb485f 100644 --- a/engines/Makefile +++ b/engines/Makefile @@ -9,9 +9,9 @@ INCLUDES= -I../include CFLAG=-g MAKEFILE= Makefile AR= ar r -EDIRS= ccgost +ENGDIRS= ccgost -RECURSIVE_MAKE= [ -n "$(EDIRS)" ] && for i in $(EDIRS) ; do \ +RECURSIVE_MAKE= [ -z "$(ENGDIRS)" ] || for i in $(ENGDIRS) ; do \ (cd $$i && echo "making $$target in $(DIR)/$$i..." && \ $(MAKE) -e TOP=../.. DIR=$$i $$target ) || exit 1; \ done; -- 2.25.1