brain
973222f2ea
Commit #999999 , Brain learns to spell.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6391 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-18 21:23:08 +00:00
brain
801747089b
$(FLAGS) was omitted from build line of a directory based module
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6390 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-18 21:22:32 +00:00
brain
60e7701764
Fix the dependency checking to not rebuild an entire module dir when one file is changed
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6389 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-18 21:14:22 +00:00
brain
38cb3e9fb6
Change stuff around
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6380 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-18 18:56:47 +00:00
brain
a9c8961c6c
YAY I FIXED IT!
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6379 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-18 18:37:25 +00:00
brain
77e0b44087
Reverting this back to normality
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6378 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-18 18:33:44 +00:00
brain
2cf76498c1
Revert this back to sanity, still doesnt work tho
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6377 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-18 18:31:00 +00:00
brain
d54b66a414
why wont this fucking thing find the includes?!
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6376 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-18 18:20:12 +00:00
brain
80d6a2f994
Whoops, wrong include dir
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6375 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-18 18:10:26 +00:00
brain
2f513b57f8
Folder -> Directory
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6374 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-18 18:07:32 +00:00
brain
eb42d72be6
Add output to ./configure -update to show when it finds a directory in the modules/ dir
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6373 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-18 18:07:17 +00:00
brain
b3aa4ab270
Module splitting now works!
...
Heres how it works (and m_spanningtree will make use of it):
Create a directory in src/modules whos name starts m_, e.g. src/modules/m_spanningtree/
Inside it place .cpp files and headers.
When configure runs, it scans for dirs matching the pattern, goes into them (note: it does not recurse, it only reads that dir) and compiles a list of .cpp files within. (all other file types are
ignored).
It then queries each .cpp file for its 'configure macros' as found in other modules, on a file by file basis. The makefile will then build a set of rules that will
compile the whole lot together on a module by module basis, and "ar" the lot up then link the .a file (as in modes/)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6371 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-18 17:53:53 +00:00
brain
f791758ec8
Fixes
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6370 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-18 17:46:32 +00:00
brain
a1ecef8e7c
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
2007-01-18 17:39:13 +00:00
brain
5072f24b56
If you have a broken config, rerun full configure to fix
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6341 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-14 22:17:00 +00:00
brain
3446072b3e
Move showhelp() into make/configure.pm
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6323 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-14 17:07:09 +00:00
brain
5ecbb6f80f
Slightly decraqed configure
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6322 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-14 16:46:24 +00:00
brain
4b508594ae
Starting tidying up the configure script, and moving a lot of stuff into functions in the make/ dir
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6320 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-14 16:26:30 +00:00
brain
f6f45af59e
Fix broken ./configure macros broken by introduction of an eval
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6316 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-14 02:19:27 +00:00
brain
4f08be1ae8
Improved detail in configure, and two new functions exec() and eval() are more accountable
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6312 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-14 00:48:22 +00:00
brain
4f0e6377e8
Extra stuff to improve buildsystem, calculate lib and include dirs at configure time rather than at build time. This means that we can also throw errors at configure time if we cant find the libraries,
...
rather than erroring at buildtime like we used to.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6306 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-13 23:53:08 +00:00
brain
d569a50e74
Someone forgot to make correct deps for timer.h. Fixed.
...
Added InspTimer::CancelRepeat(), we can use this within the Tick method to cancel a repeat so that the timer is deleted after the tick, as DelTimer isnt safe within the Tick method
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6283 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-09 19:15:30 +00:00
brain
6c4d15a3a4
Merge buildsystem tweaks from darix:
...
$ patch <inspircd-1.1b8_build_system.patch
$ patch <inspircd-1.1b8_mod_permissions.patch
Thanks :-)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6225 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-04 21:32:53 +00:00
brain
a07a3f4897
Part 1 of my plan to take over the world. pay it no attention.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6195 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-31 20:24:37 +00:00
brain
efc342f58c
have configure detect SOMAXCONN and store it in a string define, SOMAXCONN_S
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6126 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-26 18:03:41 +00:00
brain
943def6a01
Add defaults for a ton of config vars, fix indentation, and add MAXCLIENTS_S to avoid one of the itoa()'s
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6125 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-26 17:47:56 +00:00
brain
ce20c7be2f
Fix --with-max-clients not taking a parameter (reported by erich)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6092 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-24 10:43:06 +00:00
special
f7f9192f90
Removed a pointless check in ./configure --clean that made it only work with one dash
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6057 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-21 23:47:35 +00:00
brain
955d378db3
Use $^O rather than chomp(uname
); - use perl's neat detection of the OS name :p
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6031 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-17 03:24:27 +00:00
brain
9c2f93089b
Fix configure stuff AGAIN.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5983 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-13 21:29:34 +00:00
brain
aa5ff42284
On now-ancient freebsd 5.2.1, fix the compile by forcing the $(CC) var down the line into src/modes/Makefile
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5982 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-13 20:35:54 +00:00
brain
0471fe2677
Removal of AES, this is no longer required. (This also eliminates code that isnt ours, and was some public domain crap)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5915 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-10 15:51:31 +00:00
brain
6115897d26
Fix for bug #177 , generate the version string at configure time and write it into the .inspircd.inc,
...
then when running the ./inspircd, output the string, this way we dont need the source code to hand to
report the version. (btw special, the doctor has cured you of perlprogramophobia)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5841 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-04 17:03:10 +00:00
brain
cc563ef8ec
Apply CXXFLAGS patch from darix
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5774 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-19 01:35:11 +00:00
brain
754a1a4b88
Remove unused /usr/local/lib from helperfuncs.cpp include dirs etc, its not been needed for several versions
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5773 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-19 01:12:26 +00:00
brain
dc43378b58
Add -fno-strict-aliasing to shut up gcc when building with -O2. We know what we're doing with the 'punned pointer' is perfectly valid and works fine (and we've been doing it since 1.0 alphas)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5771 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-19 00:52:26 +00:00
brain
91c14cde8b
Add CXXFLAGS appending thing from darix
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5769 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-18 23:05:32 +00:00
brain
44305c4625
Enable removal of debug info for tiny systems
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5699 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-11 21:26:47 +00:00
brain
b0e7410a99
More pipe. Everyone likes pipe
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5629 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-02 18:17:29 +00:00
brain
857b9beed4
Fix the makefile confusion removal of these headers creates
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5601 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-31 17:45:34 +00:00
brain
372656dbe5
Update configure, remove a bunch of deprecated makefiles that have been just a #warning for about 1000 revs
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5600 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-31 17:42:09 +00:00
brain
e81b8faed7
Test commit 2
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5598 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-31 13:16:59 +00:00
brain
ff6e512046
Test commit
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5597 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-31 13:11:07 +00:00
brain
2aa6c66308
Test commit
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5579 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-29 01:32:14 +00:00
brain
3c3b338a9d
Added unsupported warning for non-interactive configure. WE DONT SUPPORT NON-INTERACTIVE!
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5543 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-26 19:32:47 +00:00
brain
ddb55c296c
Allow configuring of MAX_DESCRIPTORS by picking max number of clients
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5542 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-26 19:27:07 +00:00
w00t
663e0a4e12
Remove the fucking optimization directive from configure, it's not supported, yet people keep seeming to think it IS, and whinging about it - I've HAD ENOUGH :|
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5538 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-26 11:42:45 +00:00
brain
d00fc6f9bf
Add $ModDep: special comment, similar to $CompileFlags and $LinkerFlags.
...
$ModDep allows a module to specify headers it depends on, e.g. all of the
headers which use u_listmode.h now do this:
/* $ModDep: ../../include/u_listmode.h */
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5534 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-23 16:37:03 +00:00
brain
c358bb0d62
Apply patch for bug#155 submitted by jamie
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5368 e03df62e-2008-0410-955e-edbf42e46eb7
2006-10-01 16:27:50 +00:00
brain
f2bf5b703f
Dont let people enable gnutls/openssl when they dont have it... imho people shouldnt try and enable support for things they dont have, whats next, preventing
...
them symlinking it? :P
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5342 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-26 21:40:51 +00:00