From ac6719f6c64588d9f4b001e1ab3a3e83bcffef8e Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 13 Sep 2006 20:50:08 +0000 Subject: Patch from jamie to detect malformed openssl versions git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5235 e03df62e-2008-0410-955e-edbf42e46eb7 --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index f2a1b1c64..64059152d 100755 --- a/configure +++ b/configure @@ -58,7 +58,7 @@ $config{MAX_AWAY} = "200"; # max AWAY size $no_svn = 0; -$config{HAS_OPENSSL} =~ /OpenSSL (\S+) \d+ \S+ \d{4}/; +$config{HAS_OPENSSL} =~ /OpenSSL ([-[:digit:].]+)([a-z])? (\w{3}|[0-9]+) (\w{3}|[0-9]+) [0-9]{4}/; $config{HAS_OPENSSL} = $1; if ($config{GCCVER} eq "") { -- cgit v1.2.3