From 9e139f31b2e79cdfd7d468771176b736671a8b9d Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 13 Feb 2008 18:28:48 +0000 Subject: 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 --- make/configure.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 () { if ($_ =~ /^\/\* \$CompileFlags: (.+) \*\/$/) { close(FLAGS); -- cgit v1.2.3