Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6370 e03df62e-2008-0410-955e-edbf42e46eb7
  • Loading branch information
braindigitalis committed Jan 18, 2007
1 parent a1ecef8 commit f791758
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions configure
Expand Up @@ -1007,6 +1007,17 @@ EOF
}
chomp($modules); # Remove Redundant whitespace..

opendir(DIRHANDLE, "src/modules");
foreach $name (sort readdir(DIRHANDLE)) {
if ($name =~ /^m_(.+?)$/) {
if (opendir(MDIRHANDLE, "src/modules/$name") != 0) {
closedir(MDIRHANDLE);
$modules .= "$name.so ";
}
}
}
closedir(DIRHANDLE);


# Write all .in files.
my $tmp = "";
Expand Down Expand Up @@ -1263,6 +1274,7 @@ EOCHEESE
print FILEHANDLE " ranlib $name.a$crap3\n";
print FILEHANDLE " \$(CC) -pipe $liflags -shared -o $name.so $name.a\n";
closedir(MDIRHANDLE);
$crud = $crud . " install -m \$(INSTMODE) $name.so \$(MODPATH)\n";
}
}
}
Expand Down

0 comments on commit f791758

Please sign in to comment.