summaryrefslogtreecommitdiff
path: root/make/utilities.pm
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-01-21 16:29:48 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-01-21 16:29:48 +0000
commit25608bd1add6a94bdc093f017a7aab0de48d3c45 (patch)
treeb36847b09d345d02afc9c818f06d96afd9c923fb /make/utilities.pm
parent06accbbabaa1a5f83f4e39b1246c72bceeb761e8 (diff)
Add check for openssl >= 0.9.7, and fix for if the library cant be found at all
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6424 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'make/utilities.pm')
-rw-r--r--make/utilities.pm5
1 files changed, 4 insertions, 1 deletions
diff --git a/make/utilities.pm b/make/utilities.pm
index 7a45ebb3e..532c09096 100644
--- a/make/utilities.pm
+++ b/make/utilities.pm
@@ -198,8 +198,11 @@ sub pkgconfig_check_version($$;$)
return 0;
}
}
+ # If we didnt find it, we cant definitively say its too old.
+ # Return ok, and let pkgconflibs() or pkgconfincludes() pick up
+ # the missing library later on.
print "\033[1;32mNo (not found)\033[0m\n";
- return 0;
+ return 1;
}
sub pkgconfig_get_lib_dirs($$$;$)