summaryrefslogtreecommitdiff
path: root/make
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-02-13 18:28:48 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-02-13 18:28:48 +0000
commit9e139f31b2e79cdfd7d468771176b736671a8b9d (patch)
treeec863230d7790a9c59321da73c056429940e56f1 /make
parentbfaf7e3b27981a5144faba6d17c6e29fac735dbb (diff)
This should fix the error owine was getting in configure (THANKS strict) :P
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8923 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'make')
-rw-r--r--make/configure.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/make/configure.pm b/make/configure.pm
index 31ef77395..41a116df0 100644
--- a/make/configure.pm
+++ b/make/configure.pm
@@ -74,7 +74,7 @@ sub getrevision {
sub getcompilerflags {
my ($file) = @_;
- open(FLAGS, $file);
+ open(FLAGS, $file) or return "";
while (<FLAGS>) {
if ($_ =~ /^\/\* \$CompileFlags: (.+) \*\/$/) {
close(FLAGS);