summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-01-25 17:31:46 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-01-25 17:31:46 +0000
commitf4ecf32b83f630e04aa14079367fedca0cecbc81 (patch)
treea64a0ff717876336ebd9a36fc43405dacdb4e4cc /configure
parent86c496cf14c77a6862f4167dd449d23366f74581 (diff)
FIXED to actually do things PROPERLY - why do people have to mess with stuff that works fine, so close to release date?
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2892 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure b/configure
index 1a0e47181..4eb065f1b 100755
--- a/configure
+++ b/configure
@@ -1087,7 +1087,7 @@ sub write_dynamic_modules_makefile {
# for assisting with making this work right.
#
# Automatically Generated by ./configure to add a modules
-# please run ./configure --update
+# please run ./configure -update or ./configure -modupdate
all: \$(MODULES)
@@ -1105,6 +1105,8 @@ foreach $i (@modlist) {
###
# Write Entry to the MakeFile
###
+ $cmflags = getcompilerflags("src/modules/m_".$i.".cpp");
+ $liflags = getlinkerflags("src/modules/m_".$i.".cpp");
print FILEHANDLE <<EOCHEESE;
m_$i.so: m_$i.cpp ../../include/modules.h ../../include/users.h ../../include/channels.h ../../include/base.h ../../include/inspircd_config.h ../../include/inspircd.h ../../include/inspircd_io.h
\$(CC) -pipe -I../../include \$(FLAGS) $cmflags -export-dynamic -c m_$i.cpp