git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11566
e03df62e-2008-0410-955e-
edbf42e46eb7
print "Skipping SSL Certificate generation, SSL support is not available.\n\n";
}
+depcheck();
writefiles(1);
makecache();
chmod 0744, 'inspircd';
}
+sub depcheck
+{
+ getmodules();
+ for my $mod (@modlist) {
+ getcompilerflags("src/modules/m_$mod.cpp");
+ getlinkerflags("src/modules/m_$mod.cpp");
+ }
+}
+
sub prepare_dynamic_makefile
{
my $i = 0;
my $err = $@;
#$err =~ s/at .+? line \d+.*//g;
print "\n\nConfiguration failed. The following error occured:\n\n$err\n";
+ print "\nMake sure you have pkg-config installed\n";
print "\nIn the case of gnutls configuration errors on debian,\n";
print "Ubuntu, etc, you should ensure that you have installed\n";
print "gnutls-bin as well as gnutls-dev and gnutls.\n";