diff options
author | Attila Molnar <attilamolnar@hush.com> | 2013-01-22 09:47:50 -0800 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2013-01-22 09:47:50 -0800 |
commit | c4c7448c68af609b63ccaec714a5082aebdeebe2 (patch) | |
tree | 99e2cbc24c3699a8ce53168df665f008bd737e56 | |
parent | a76167642ddfce2cd77798b519272035c55b15f9 (diff) | |
parent | b4d6e0bf2a99c27c5658c6b2c34b03eb73db2ba4 (diff) |
Merge pull request #407 from SaberUK/insp20+fix-openssl-detection
Fix OpenSSL detection on distributions which modify the version number.
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -273,7 +273,7 @@ $exec = $config{CC} . " -dumpversion | cut -c 3"; chomp($config{GCCMINOR} = `$exec`); $config{MAXBUF} = "512"; # Max buffer size -if ($config{HAS_OPENSSL} =~ /^([-[:digit:].]+)([a-z])?(\-[a-z][0-9])?$/) { +if ($config{HAS_OPENSSL} =~ /^([-[:digit:].]+)(?:[a-z])?(?:\-[a-z][0-9])?/) { $config{HAS_OPENSSL} = $1; } else { $config{HAS_OPENSSL} = ""; |