]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - make/configure.pm
This should fix the error owine was getting in configure (THANKS strict) :P
[user/henk/code/inspircd.git] / make / configure.pm
index 31ef77395826d21d03b215abe053209c3daaa1e8..41a116df0ffef67811f8406cc064f8e7642e59ad 100644 (file)
@@ -74,7 +74,7 @@ sub getrevision {
 
 sub getcompilerflags {
        my ($file) = @_;
-       open(FLAGS, $file);
+       open(FLAGS, $file) or return "";
        while (<FLAGS>) {
                if ($_ =~ /^\/\* \$CompileFlags: (.+) \*\/$/) {
                        close(FLAGS);