]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - Configure
Don't include zlib header dir if it is not defined.
[thirdparty/openssl.git] / Configure
index 561218717c22d474b8c0cc2d33ae7ea64733fee0..8aa7ee1c73e961753b22218ddf5d23c92cd9a780 100755 (executable)
--- 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
                                {