From 17afa4f05ac0a4086c1feb5cad2f1a5d0f548c09 Mon Sep 17 00:00:00 2001 From: w00t Date: Sat, 19 Jan 2008 01:22:28 +0000 Subject: Patch from aquanight to fix a problem introduced with some of the recent tidyups. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8733 e03df62e-2008-0410-955e-edbf42e46eb7 --- configure | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/configure b/configure index 07099c466..d21fed177 100755 --- a/configure +++ b/configure @@ -1094,6 +1094,8 @@ sub getosflags { return $config{OSNAME}; } +my ($mliflags, $mfrules, $mobjs, $mfcount) = ("", "", "", 0); + sub writefiles { my($writeheader) = @_; my $se = ""; @@ -1376,10 +1378,10 @@ m_$i.so: m_$i.cpp ../../include/modules.h ../../include/users.h ../../include/ch opendir(DIRHANDLE, "src/modules"); foreach my $name (sort readdir(DIRHANDLE)) { if ($name =~ /^m_(.+?)$/) { - my $mfrules = ""; - my $mobjs = ""; - my $mliflags = ""; - my $mfcount = 0; + $mfrules = ""; + $mobjs = ""; + $mliflags = ""; + $mfcount = 0; # A module made of multiple files, in a dir, e.g. src/modules/m_spanningtree/ if (defined(opendir(MDIRHANDLE, "src/modules/$name"))) { read_module_directory("src/modules/$name", $name); @@ -1406,7 +1408,6 @@ sub read_module_directory { return; } - my ($mliflags, $mfrules, $mobjs, $mfcount) = ("", "", "", 0); foreach my $fname (sort readdir(MDIRHANDLE)) { if ($fname =~ /\.cpp$/) { my $cmflags = getcompilerflags("$dpath/$fname"); -- cgit v1.2.3