From 702aa22c5c1dbf721b42c6f11bfbd1a98f843fc7 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 24 Nov 2006 19:29:47 +0000 Subject: whoops, !defined not undef! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5795 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/extra/openssl_config.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/extra') diff --git a/src/modules/extra/openssl_config.pl b/src/modules/extra/openssl_config.pl index 65c885e22..30d8c115d 100644 --- a/src/modules/extra/openssl_config.pl +++ b/src/modules/extra/openssl_config.pl @@ -12,7 +12,7 @@ else if ($ARGV[0] eq "compile") { $ret = `pkg-config --cflags openssl 2>/dev/null`; - if ((undef $ret) || ($ret eq "")) + if ((!defined $ret) || ($ret eq "")) { $foo = `locate "openssl/ssl.h"`; $foo =~ s/\/openssl\/ssl\.h//; @@ -22,7 +22,7 @@ if ($ARGV[0] eq "compile") else { $ret = `pkg-config --libs openssl 2>/dev/null`; - if ((undef $ret) || ($ret eq "")) + if ((!defined $ret) || ($ret eq "")) { $foo = `locate "/libssl.so" | head -n 1`; $foo =~ /(.+)\/libssl\.so/; -- cgit v1.2.3