danieldg
792d6d6725
Fix unit-cc when build is not a direct subdirectory of source; create make rule for GNUmakefile
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11746 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-18 14:05:49 +00:00
danieldg
05b111d6a2
Update make help, configure, and fix build of empty m_* directories
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11739 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-17 14:13:17 +00:00
danieldg
3a186342c9
Remove .*.d dependency garbage, and use a dedicated build directory
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11738 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-17 03:04:27 +00:00
danieldg
3841c4b04a
Attempt to revert r11734
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11735 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-16 22:42:36 +00:00
danieldg
558a44bf47
Merge commands and modules in source, since they are already merged in install
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11734 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-16 20:16:26 +00:00
danieldg
c90f2b28d2
Allow make on a read-only source tree using make O=objdir
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11733 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-16 20:00:15 +00:00
danieldg
4d1e32528f
Force rebuild of symlinked modules when the source file changes
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11709 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-13 20:32:55 +00:00
danieldg
f4472dd6dc
Change cmd_*.so to use the Module object API
...
Create Module* objects for each command, and load them like modules.
This unifies the external API for modules.
Library directory is now deprecated: all modules are located in a
single module directory.
Header files for each command are no longer needed; remove.
This also fixes two potential segfaults in m_spanningtree.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11668 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-03 02:30:12 +00:00
danieldg
3e26f42a8f
Include VERSION/REVISION information in module version tag, so that we do no longer rely on $Id$
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11666 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02 18:33:16 +00:00
danieldg
eb910456e2
Move file inclusion logic into calcdep, and complain about ambiguous #include directives there
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11587 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-01 22:44:44 +00:00
danieldg
1819d0109b
Enable IPv6 support by default
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11573 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-01 15:06:55 +00:00
danieldg
819147178d
Strip SUPPORT_IP6LINKS #define
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11572 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-01 15:06:47 +00:00
danieldg
5c93325b53
Use CXXFLAGS rather than nonstandard NICEFLAGS/FLAGS/etc
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11571 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-01 15:06:39 +00:00
danieldg
e9c9012636
Move bsd-dep.mk/gnu-dep.mk to top-level Makefile
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11569 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-01 15:06:25 +00:00
danieldg
facb1eb98f
Replace special treatment of spanningtree module directory with a generic directory build
...
This allows "make M=m_spanningtree" to work on a clean build tree
It also allows for other complex modules to be created (i.e. m_services)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11567 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-01 15:06:11 +00:00
danieldg
c835102e64
Run a dependency check on modules so missing dependencies are detected during configure
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11566 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-01 15:06:04 +00:00
danieldg
572cdf85ea
Move compiler flag selection from configure to Makefile; add support for Intel C++ Compiler.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11564 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-01 15:05:50 +00:00
danieldg
8db3608194
Clean up unneeded messages, fix BSD make
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11563 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-01 15:05:43 +00:00
danieldg
94d5c29f63
./configure fixes: -modupdate is no longer needed, -update no longer forces a full rebuild
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11560 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-01 15:05:18 +00:00
danieldg
944d154bef
Re-implement dependency generation in perl to increase speed
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11559 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-01 15:05:11 +00:00
danieldg
192fa7d313
Fix build of m_spanningtree and display of dependency regeneration
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11557 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-01 15:04:48 +00:00
danieldg
990e04bab5
Move dependency tracking from ./configure to Makefile
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11556 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-01 15:04:40 +00:00
psychon
8bedfebc17
Fix a really minor spelling error in make/configure.pm
...
Thanks to Kuja aka Dessa for reporting this.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11544 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-28 20:16:38 +00:00
w00t
818a53e13a
Track installed module versions, so we can do upgrades properly.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11489 e03df62e-2008-0410-955e-edbf42e46eb7
2009-08-04 21:49:35 +00:00
danieldg
5374c16961
Make pkg-config failure error clearer
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11417 e03df62e-2008-0410-955e-edbf42e46eb7
2009-06-26 12:10:16 +00:00
danieldg
021c8e984b
Add daniel's third-party module repository
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11401 e03df62e-2008-0410-955e-edbf42e46eb7
2009-06-05 00:28:17 +00:00
danieldg
58eae4fc8a
Add test-compile checks for epoll and eventfd
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11253 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-23 18:49:06 +00:00
psychon
b6dbd6caab
Update all wiki links to point to the new wiki. This was done automatically with the following command, only .Makefile.inc got some indent fixups by hand.
...
for file in $(find -type f -and -not -path '*/.svn/*' -and -not -name '*.so') ; do sed -e 's#http://www.inspircd.org/wiki#http://wiki.inspircd.org# ' -e 's#http://wiki.inspircd.org/index.php/#http://wiki.inspircd.org/# ' -i $file ; done
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11223 e03df62e-2008-0410-955e-edbf42e46eb7
2009-03-15 12:42:35 +00:00
peavey
f209cce90b
Nuke trailing spaces
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11105 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-14 21:14:36 +00:00
brain
c5ce2a9079
Fix error when configuring with a custom directory: http://www.inspircd.org/forum/showthread.php?t=5419
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11085 e03df62e-2008-0410-955e-edbf42e46eb7
2009-02-11 17:17:22 +00:00
peavey
ca571fc1bf
fix typo
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10995 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-24 13:31:09 +00:00
brain
ff7e4427b3
Friendlify error message here too
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10948 e03df62e-2008-0410-955e-edbf42e46eb7
2009-01-04 19:34:03 +00:00
w00t
28fbe77831
Allow for silencing getmodules() output (is annoying when using modulemanager)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10466 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07 23:40:00 +00:00
w00t
2547339727
Make this work with older git, too (thanks danieldg)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10455 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07 19:39:42 +00:00
w00t
330f1c8fe0
Use git describe rather than git-svn, it works better with secondary clones
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10454 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07 19:34:04 +00:00
w00t
3de8d7eee4
Also redirect errors to /dev/null to avoid messy output on VCS that aren't installed/in use
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10434 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07 14:38:55 +00:00
w00t
f66960886f
Nicer fix for REVISION stuff when using git, thanks danieldg for the basis.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10433 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07 14:38:55 +00:00
w00t
8424e1367b
Add basic module manager, patch courtesy of danieldg.. still needs some work/review, but looks good
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10426 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07 01:51:21 +00:00
brain
04b09e3b2c
Extra configure detection for the gcc minor version (we took this out when we removed support for gcc < 3, but now we need it back for gcc 4.3 :p
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9891 e03df62e-2008-0410-955e-edbf42e46eb7
2008-06-12 17:07:23 +00:00
brain
7d7250484c
First phase of conversion to dynamic limits on all the lengths, configured via the <limits> tag
...
(the tag isnt there yet, these all just run on defaults in the class constructor)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9802 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-25 17:30:43 +00:00
brain
4564ed215c
Extra support for freebsd openssl, allow user to pick between ports and base version if they have both, default to ports version in interactive, require a flag in ./configure
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9591 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-27 17:37:50 +00:00
brain
caa89fb37c
More stuff so that freebsd users can still use the ports version of openssl if they want
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9590 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-27 17:17:59 +00:00
brain
6a64a69fbc
Fix this up a bit nicer
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9588 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-27 14:46:33 +00:00
brain
2d7e463111
and make it work right...
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9587 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-27 14:23:27 +00:00
brain
1b8b477efc
Add some stuff from the freebsd port based on ideas by Matthew Seaman which allow inspircd to use the base version of openssl on freebsd
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9586 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-27 14:02:30 +00:00
w00t
b9a3d9e71f
Show command line on warnings for darix (probably)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9577 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-22 12:26:05 +00:00
aquanight
a4e89e70e2
Make run-cc handle containers of std::pair, and also filtering for std::{vector,string}::iterator
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9491 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-13 19:28:46 +00:00
aquanight
a3e3415b9b
Remove comments about coming up with a better way that has been come up with.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9490 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-13 18:27:36 +00:00
aquanight
bb8eb83c28
Sane-ify the STL filtering and coloring in run-cc.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9489 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-13 18:26:18 +00:00
peavey
b4c7be2458
remove references to maxclient we forgot here, thx Zaba for reporting.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9284 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-03 15:13:43 +00:00