diff options
author | Peter Powell <petpow@saberuk.com> | 2013-01-22 10:52:56 +0000 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2013-01-22 10:52:56 +0000 |
commit | b4d6e0bf2a99c27c5658c6b2c34b03eb73db2ba4 (patch) | |
tree | 99e2cbc24c3699a8ce53168df665f008bd737e56 /configure | |
parent | a76167642ddfce2cd77798b519272035c55b15f9 (diff) |
Fix OpenSSL detection on distributions which modify the version number.
Diffstat (limited to 'configure')
-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} = ""; |