summaryrefslogtreecommitdiffstats
path: root/Configure
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2005-12-06 13:36:59 +0000
committerDr. Stephen Henson <steve@openssl.org>2005-12-06 13:36:59 +0000
commit1291dfdeaddf67e5b9f470147790495cc9c35efc (patch)
tree832e23689cd9948f0c82dc2b75877268e84d20ca /Configure
parentdf278aff3e2d3258035a05d9952a0f332628b5b0 (diff)
Don't include zlib header dir if it is not defined.
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure8
1 files changed, 6 insertions, 2 deletions
diff --git a/Configure b/Configure
index 561218717c..8aa7ee1c73 100755
--- a/Configure
+++ b/Configure
@@ -748,9 +748,13 @@ PROCESS_ARGS:
{
$withargs{"krb5-".$1}=$2;
}
- elsif (/^--with-zlib-(lib|include)=(.*)$/)
+ elsif (/^--with-zlib-lib=(.*)$/)
{
- $withargs{"zlib-".$1}=$2;
+ $withargs{"zlib-lib"}=$1;
+ }
+ elsif (/^--with-zlib-include=(.*)$/)
+ {
+ $withargs{"zlib-include"}="-I$1";
}
else
{