diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-11-24 19:29:47 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-11-24 19:29:47 +0000 |
commit | 702aa22c5c1dbf721b42c6f11bfbd1a98f843fc7 (patch) | |
tree | b89f3806af6c13bd548f8592a934631415ebf5c2 /src/modules | |
parent | 7c935373dcfcbd34ee455d0761ac2163785b745a (diff) |
whoops, !defined not undef!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5795 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/extra/openssl_config.pl | 4 |
1 files changed, 2 insertions, 2 deletions
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/; |