Missing CFLAG in couple of depend: targets [from HEAD].
[oweals/openssl.git] / Configure
index 6b4727cffaa9889f5a25ac500f6313a236713271..d88fe9d288a57f43a3c11209000a8e7e8750e04a 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
                                {