71 Commits

Author SHA1 Message Date
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
brain
ab4e56b784 Translate std::string, irc::string and std::deque to more readable forms in error messages. I'll do others as need be and as i notice them.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9116 e03df62e-2008-0410-955e-edbf42e46eb7
2008-03-17 17:02:47 +00:00
aquanight
82af95f143 Make run-cc show ARCHIVE step(s), also get rid of 'entering/leaving directory' nonsense from gnumake.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9031 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-24 20:30:17 +00:00
aquanight
feda1f5f9b Make run-cc.pl show all sources on multi-source BUILDS (== socketengine and threadengine)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9012 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-24 14:07:25 +00:00
aquanight
11f1f2126c Make -nofork work properly with logging now.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8944 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-15 13:30:46 +00:00
brain
0fed3a06d0 Patch provided by danieldg for fixing 3-figure versions in configure
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8926 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-13 19:23:01 +00:00
brain
9a4067dac4 More fixes to configure stability with undefined values/closed filehandles
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8924 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-13 18:30:38 +00:00
brain
9e139f31b2 This should fix the error owine was getting in configure (THANKS strict) :P
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8923 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-13 18:28:48 +00:00
aquanight
6da3b9be51 Tidy up run-cc step display
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8906 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-12 01:22:19 +00:00
aquanight
0626e6a68a Tidy up run-cc error reporting (eg: only say 'An error occured' once, and make it show before an include stack or 'In ctor/dtor/method/function' message)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8891 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-11 01:39:09 +00:00
brain
7baae92cc9 Brainfart
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8886 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-10 21:57:42 +00:00
brain
df167bf4ac Now very tidy make output, with pretty colours :p
(Unless it errors, then you get the full commandline and error output etc)


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8878 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-10 17:22:36 +00:00
brain
75d5b90c9c Move run-cc.pl to make/ directory and update paths, keeps root tidy
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8868 e03df62e-2008-0410-955e-edbf42e46eb7
2008-02-10 13:30:59 +00:00
aquanight
f652bca336 Revert tmpfile cleanup from r8761, also make configure's perl version check happen during compilation phase so that people don't get millions of useless errors.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8762 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-27 14:49:41 +00:00
aquanight
39e6732f23 Some configure cleanups: like using perl functions/modules instead of system() (symlink, clear, mv, mkdir -p), clean up tmpfile for eval(), use \e instead of \033, and use a heredoc for the big banner on starting configure
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8761 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-27 14:32:20 +00:00
brain
c33249de90 Make sure that if an exec() macro fails its picked up before build time
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8757 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-27 12:42:31 +00:00
aquanight
d13cd5ca80 Add ./configure --list-extras, --enable-extras, and --disable-extras
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8739 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-19 17:33:13 +00:00
brain
207af6fb2f Aquanight's configure strict/fatal warnings patch
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8731 e03df62e-2008-0410-955e-edbf42e46eb7
2008-01-17 21:36:02 +00:00
brain
4bd6bbfebc Add --disable-rpath. Probably wont backport this for the time being
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8475 e03df62e-2008-0410-955e-edbf42e46eb7
2007-11-03 18:09:26 +00:00
brain
cd9b790e48 Add $NoPedantic build macro, for m_mysql because mysql AB dont know how to code :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8325 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-23 21:36:33 +00:00
brain
3895566b53 Add 'require 5.8.0' to the very top of every module to make the failure message when you run an ancient perl a bit more descriptive.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7820 e03df62e-2008-0410-955e-edbf42e46eb7
2007-08-25 10:36:20 +00:00
peavey
1ec51cea95 A bit of static lingering
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7549 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-24 16:17:16 +00:00
peavey
619d5a1347 Fix gnutls cert generation failing. Thx owine.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7479 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-20 22:06:14 +00:00
peavey
cf3d3a212c more headers.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7468 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-17 18:45:23 +00:00
special
0b72c64a03 Added the execruntime() function for Compile/Linker flags - executes shell commands at compile time rather than during configure
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7458 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-17 08:26:25 +00:00
peavey
f2acdbc382 OOPS! We try again, since I'm smoking craq. LF is 0x0a NOT CR.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7456 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-16 17:30:04 +00:00
peavey
bab14f0dd2 'svn propset -R svn:eol-style CR *' Set to UNIX-style always. Binaries are auto skipped by svn.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7454 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-16 17:14:45 +00:00
brain
c36ea00019 Backport patch from stskeeps for checking success of gnutls cert generation
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7435 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-11 19:50:26 +00:00
special
97590f9239 Added a prompt for certificate expiry time to openssl cert generation. Patch by yell0w
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7411 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-26 06:05:39 +00:00
special
ed7912c90f Fixed the order of fields in openssl certificate generation; this would make really broken certificates. Thanks to yell0w
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7410 e03df62e-2008-0410-955e-edbf42e46eb7
2007-06-26 05:22:03 +00:00
brain
cbb888a470 Allow for resizing of MAXBUF above/below 512 via non-interactive configure. (Some crazy mofo on the forums asked for this, good luck its your funeral :p)
THIS IS UNSUPPORTED BY US IF YOU CHANGE IT, WE WON'T EVEN TELL YOU HOW :)


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7022 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-14 16:31:49 +00:00
brain
01daa1fc77 Add openssl cert generation prettyness, make it like our gnutls one. It seems that openssl doesnt support templating like gnutls, so we pipe the input in from configure
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6952 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-10 13:53:16 +00:00
brain
3f8f4808f2 Fix for bug typo, dont let it creep into the release!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6892 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-05 20:53:26 +00:00
brain
f22b487249 Fix for feature request in bug #262, needs a bit of QA. Simpler prompting for gnutls cert generation in configure, we now use our nice configuration system to prompt for the more important details,
which we use to fill in a certtool template. Much nicer.


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6890 e03df62e-2008-0410-955e-edbf42e46eb7
2007-05-05 20:07:25 +00:00
brain
a772b4dbf5 Add licensing headers to files which are missing them and make sure they are up to date in others (e.g. point at the developer page on the wiki not list names)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6759 e03df62e-2008-0410-955e-edbf42e46eb7
2007-04-07 21:01:01 +00:00
brain
c1f88cfa9c Addition of feature request outlined in bug #195, suggested by Bricker
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6602 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-19 19:57:41 +00:00
brain
ac8e7547b8 Fix typo reported by owine (bug #208)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6566 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-10 20:44:49 +00:00
w00t
3102dedbb8 New patch from BuildSmart for OS X support, not broken like the last one
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6473 e03df62e-2008-0410-955e-edbf42e46eb7
2007-02-01 12:14:54 +00:00
brain
ccd20043dd Fix for bug #187
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6441 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-26 17:17:24 +00:00
brain
25608bd1ad Add check for openssl >= 0.9.7, and fix for if the library cant be found at all
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6424 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-21 16:29:48 +00:00
brain
ae895cb010 Fix broken function vcheck() that checks one dot-delimited version string against another
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6422 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-21 16:25:33 +00:00
brain
aad77f47af Add extra macro pkgconfversion("packagename", "version");
dies if the version you specify isnt installed.
Also added to m_sqlite3:   pkgconfversion("sqlite3", "3.3")
Note: this will die at configuration time, not compilation time.


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6421 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-21 16:06:10 +00:00
brain
f9e38155c6 Fix library detection flags (bad define put into the ldflags)
Change default flags from "-g" to "-O2 -g1". This takes us down from a build size of 350mb+ to 35mb, and still gives us the ability to backtrace! :)


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6419 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-21 12:30:21 +00:00
brain
53a28836a2 Fix the commandline stuff up to actually work!
Also, fix 'locate' detection of files when pkg-config cant find them.


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6415 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-20 22:49:54 +00:00
brain
1403bd4c85 If we're not in interactive mode, then we dont prompt interactively for the value.
We look for the configuration item in the commandline, --$package-includes="" or --$package-libs="" and use that.
If its not defined, we die() with a message to specify the path using that commandline item. This also applies to ./configure -modupdate.


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6414 e03df62e-2008-0410-955e-edbf42e46eb7
2007-01-20 22:33:55 +00:00