X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=Configure;h=d88fe9d288a57f43a3c11209000a8e7e8750e04a;hb=99237262d4913278df4f8ba8533a58d2f40127a6;hp=855ad1522ddd40505e435f69f5d54c6c5289ee06;hpb=abb0c2bba4d9970ac2e690b6aa115f33dccc3a14;p=oweals%2Fopenssl.git diff --git a/Configure b/Configure index 855ad1522d..d88fe9d288 100755 --- a/Configure +++ b/Configure @@ -748,6 +748,14 @@ PROCESS_ARGS: { $withargs{"krb5-".$1}=$2; } + elsif (/^--with-zlib-lib=(.*)$/) + { + $withargs{"zlib-lib"}=$1; + } + elsif (/^--with-zlib-include=(.*)$/) + { + $withargs{"zlib-include"}="-I$1"; + } else { print STDERR $usage; @@ -1302,6 +1310,8 @@ while () s/^PERL=.*/PERL= $perl/; s/^KRB5_INCLUDES=.*/KRB5_INCLUDES=$withargs{"krb5-include"}/; s/^LIBKRB5=.*/LIBKRB5=$withargs{"krb5-lib"}/; + s/^LIBZLIB=.*/LIBZLIB=$withargs{"zlib-lib"}/; + s/^ZLIB_INCLUDE=.*/ZLIB_INCLUDE=$withargs{"zlib-include"}/; s/^SHLIB_TARGET=.*/SHLIB_TARGET=$shared_target/; s/^SHLIB_MARK=.*/SHLIB_MARK=$shared_mark/; s/^SHARED_LIBS=.*/SHARED_LIBS=\$(SHARED_CRYPTO) \$(SHARED_SSL)/ if (!$no_shared);