From a1ecef8e7ceeb547389f2554ca6d537079f6894b Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 18 Jan 2007 17:39:13 +0000 Subject: Stuff to detect split modules in dirs - not tested yet git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6369 e03df62e-2008-0410-955e-edbf42e46eb7 --- configure | 60 +++++++++++++++++++++++++++++++++++++++++++++++------------- 1 file changed, 47 insertions(+), 13 deletions(-) diff --git a/configure b/configure index dcf3d2aa3..5a3015fb3 100755 --- a/configure +++ b/configure @@ -1174,6 +1174,7 @@ EOENT print "done\n"; } } + print MODLIST "{0}};\n\n#endif\n"; close(MODLIST); } @@ -1214,26 +1215,59 @@ EOF my $crud = ""; foreach $i (@modlist) { - ### - # Write Entry to the MakeFile - ### - $cmflags = getcompilerflags("src/modules/m_".$i.".cpp"); - $liflags = getlinkerflags("src/modules/m_".$i.".cpp"); - $deps = getdependencies("src/modules/m_".$i.".cpp"); - - #print "file: $i: cmflags=$cmflags; liflags=$liflags; deps=$deps\n"; - - print FILEHANDLE <