Configure: allow ./config to pass compiler flags with white spaces.
authorAndy Polyakov <appro@openssl.org>
Tue, 8 Nov 2011 12:45:00 +0000 (12:45 +0000)
committerAndy Polyakov <appro@openssl.org>
Tue, 8 Nov 2011 12:45:00 +0000 (12:45 +0000)
Configure

index 10ef8cd115cf6c02b6298f8f3c56f4eea57ccad9..6f85a3b36fde0e55f8fb10a4edbd1c3bcdccb1f5 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -906,6 +906,7 @@ EOF
                                }
                        elsif (/^-[^-]/ or /^\+/)
                                {
                                }
                        elsif (/^-[^-]/ or /^\+/)
                                {
+                               $_ =~ s/%([0-9a-f]{1,2})/chr(hex($1))/gei;
                                $flags.=$_." ";
                                }
                        elsif (/^--prefix=(.*)$/)
                                $flags.=$_." ";
                                }
                        elsif (/^--prefix=(.*)$/)