summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-13 16:19:52 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-13 16:19:52 +0000
commit7386174f052c7004a8cb2b0654d87af5e36e5f45 (patch)
treecc5f9f0775dd5850645a7eb588ef85124845a398 /configure
parent9e754af2839b7eedc3404bc07b231b3ca30f76ed (diff)
Output module counts on ./configure -update
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4376 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure b/configure
index 0b6742efd..db4eb9e64 100755
--- a/configure
+++ b/configure
@@ -919,6 +919,7 @@ sub is_dir {
sub getmodules {
my $i = 0;
+ print "Detecting modules ";
opendir(DIRHANDLE, "src/modules");
foreach $name (sort readdir(DIRHANDLE)) {
if ($name =~ /^m_(.+)\.cpp$/)
@@ -926,10 +927,12 @@ sub getmodules {
$mod = $1;
if ($mod !~ /_static$/) {
$modlist[$i++] = $mod;
+ print ".";
}
}
}
closedir(DIRHANDLE);
+ print "\nOk, $i modules.";
}
sub getrevision {