Commit Graph

97 Commits

Author SHA1 Message Date
psychon 621046287b Increase the version number to 0.069
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1448 726aef4b-f618-498e-8847-2d620e286838
2009-03-29 11:43:35 +00:00
psychon 725170ac46 Increase the version number to 0.068
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1446 726aef4b-f618-498e-8847-2d620e286838
2009-03-29 11:41:27 +00:00
psychon 599aba7428 Regenerate configure with the newer autoconf 2.63 (was 2.61 before)
This removes svn:eol-style from configure since it now contains
this in line 4122 (\r is a literal mac line ending):
 ac_cr='\r'
This confused subversion. Bad svn, bad!


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1426 726aef4b-f618-498e-8847-2d620e286838
2009-03-14 11:12:18 +00:00
psychon b0f94ba49c configure: Add the module path defines as late as possible
In some (weird?) cases these flags could make the libperl and libsasl2
checks fail.

Thanks to darix for reporting this.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1400 726aef4b-f618-498e-8847-2d620e286838
2009-02-25 16:35:50 +00:00
psychon e0a8f83e19 Increase the version number to 0.067
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1399 726aef4b-f618-498e-8847-2d620e286838
2009-02-24 16:41:22 +00:00
psychon 30699d0ebe Increase the version number to 0.066
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1397 726aef4b-f618-498e-8847-2d620e286838
2009-02-24 16:15:28 +00:00
psychon 77f1a0a52c Increase the version number to 0.065
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1378 726aef4b-f618-498e-8847-2d620e286838
2009-02-16 15:44:57 +00:00
psychon 25d172037f Increase the version number to 0.064
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1376 726aef4b-f618-498e-8847-2d620e286838
2009-02-16 15:42:22 +00:00
psychon 432a04e545 Add the necessary makefile magic for compiling on cygwin
This also works with make install (thanks to rpath).


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1351 726aef4b-f618-498e-8847-2d620e286838
2009-01-26 19:57:34 +00:00
psychon accb2e46c9 Check if lstat() is available and use stat() instead if it isn't
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1339 726aef4b-f618-498e-8847-2d620e286838
2009-01-22 11:19:42 +00:00
psychon 34337d7b76 Don't build the znc binary with position independent code
This is only needed for code that ends up in a shared object which is the
module code for us.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1338 726aef4b-f618-498e-8847-2d620e286838
2009-01-21 13:30:07 +00:00
psychon cae48ab256 Add back substitute for @VERSION@ to configure
znc-config.in wants @VERSION@ and should also get it.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1319 726aef4b-f618-498e-8847-2d620e286838
2009-01-03 09:55:21 +00:00
psychon 66a6f91116 Increase the version number to 0.063
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1278 726aef4b-f618-498e-8847-2d620e286838
2008-12-06 14:09:51 +00:00
psychon 16aabebcbf Increase the version number to 0.062
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1276 726aef4b-f618-498e-8847-2d620e286838
2008-12-06 14:07:00 +00:00
psychon d75a32d335 Use AC_PATH_PROG instead of using 'which' for finding perl
This commit should have a low impact and I can't really imagine
how it would break something.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1274 726aef4b-f618-498e-8847-2d620e286838
2008-12-01 18:23:40 +00:00
silverleo 942eb63a7c Revert changes from rev1125 so we compile on fbsd 4.11
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1273 726aef4b-f618-498e-8847-2d620e286838
2008-11-27 16:34:51 +00:00
silverleo f4e36a0b17 Enable IPv6 support by default
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1270 726aef4b-f618-498e-8847-2d620e286838
2008-11-20 11:45:51 +00:00
psychon a10acfeddc Seems like someone messed up when touching configure.in, fix
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1267 726aef4b-f618-498e-8847-2d620e286838
2008-10-30 17:11:55 +00:00
psychon 90cf81e686 Make ZNC compile on Mac OS out of the box
Thanks to ashikase for pointing out the needed linker and compiler flags.
Thanks to GiZMo for testing on his mac 10.5.4.

This also cleans up configure.in a little by adding appendMod.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1258 726aef4b-f618-498e-8847-2d620e286838
2008-10-22 19:40:51 +00:00
psychon 9c4a5a1d90 Some tweaking and cleaning up to configure.in
- Make it clear to autoconf that we are C++ only. It now no longer checks for a
  C compiler which might save time on some boxes.
- Honour CPPFLAGS.
- Remove some unused vars from AC_SUBST.
- Add includes to CXXFLAGS instead of using $INCLUDES for this.
- Use autoconf macros instead of 'echo' for the 'checking for perl' message.
- Fix all warnings from 'autoconf -W all'.
- Use AC_CONFIG_SRCDIR for helping configure find the source dir.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1251 726aef4b-f618-498e-8847-2d620e286838
2008-10-15 18:36:08 +00:00
psychon d4cd83fdf3 autoconf and m4 both suck (autoconf choked on some comma and messed up badly after that)
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1208 726aef4b-f618-498e-8847-2d620e286838
2008-09-18 18:16:49 +00:00
psychon 3866bdd9f7 Revert rev 1204
Well... Not a complete revert, the error messages are improved for our friendly
debian users who cant find -dev packages by themselves. -.-

It turns out that on some arches (namely sparc64) libssl depends on libcrypto,
but doesn't link to it. This means that order is important when checking for
these libs. (Currently the check for libssl fails due to unresolved symbols)

Thanks to fred for reporting this.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1207 726aef4b-f618-498e-8847-2d620e286838
2008-09-18 17:52:10 +00:00
psychon 29dab181df Add --disable-optimization flag to configure to remove -O2
PS: This also kills -fomit-frame-pointer. If GCC doesn't add it on itself,
    we don't do it either.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1206 726aef4b-f618-498e-8847-2d620e286838
2008-09-16 13:33:19 +00:00
psychon 69a429bca0 Reorder some openssl library checks in configure
Now libssl is checked before libcrypto. The idea behind this is that an error
message about missing libssl is easier to understand and fix than one saying
libcrypto is missing.
Hopefully people can now find the right dev package to install without
asking us.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1204 726aef4b-f618-498e-8847-2d620e286838
2008-09-14 14:07:14 +00:00
psychon 613c87a46e Increase the version number to 0.061
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1201 726aef4b-f618-498e-8847-2d620e286838
2008-09-13 15:46:29 +00:00
psychon 8ab24030bc Increase the version number to 0.060
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1199 726aef4b-f618-498e-8847-2d620e286838
2008-09-13 15:41:25 +00:00
psychon 85845556cd Make ./configure --help output look a little better
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1193 726aef4b-f618-498e-8847-2d620e286838
2008-09-07 16:25:11 +00:00
psychon c07347b9a0 Enable some more debug flags with --enable-debug
See these links for info on these defines:
 http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt12ch29.html
 http://gcc.gnu.org/onlinedocs/libstdc++/manual/debug_mode.html


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1138 726aef4b-f618-498e-8847-2d620e286838
2008-07-18 09:37:11 +00:00
psychon a35af71121 __GNU_LIBRARY__ doesn't seem to be needed on FreeBSD
This defines was added in rev 586 saying it's needed for 'older BSD boxes'.
I don't know how old 'old' is in this context, but since we don't compile
on FreeBSD 4 anyway (which really is old), because getopt_long is missing
(added in FreeBSD 5), we should give this a try.

I have no FreeBSD 5 box for testing if znc compiled/compiles there, so
suprise me!


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1125 726aef4b-f618-498e-8847-2d620e286838
2008-07-12 07:26:56 +00:00
psychon b1cdf48d12 Increase the version number to 0.058
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1122 726aef4b-f618-498e-8847-2d620e286838
2008-07-10 13:14:14 +00:00
psychon 1903bf0e3d Increase the version number to 0.058
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1120 726aef4b-f618-498e-8847-2d620e286838
2008-07-10 13:11:50 +00:00
psychon 34e62cd86a Remove -D_GNU_SOURCE from our CXXFLAGS
This flag was there since the very first version of ZNC and it doesn't
seem to be needed.

Thanks to sohalt (Alexander Graf) for testing this.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1110 726aef4b-f618-498e-8847-2d620e286838
2008-07-01 09:50:47 +00:00
psychon f59b712293 Add man pages for everything installed to <prefix>/bin
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1091 726aef4b-f618-498e-8847-2d620e286838
2008-06-08 17:09:58 +00:00
psychon 40b7fdc471 Increase the version number to 0.057
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1061 726aef4b-f618-498e-8847-2d620e286838
2008-05-24 15:23:01 +00:00
psychon 2081f9f3df Increase the version number to 0.056
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1059 726aef4b-f618-498e-8847-2d620e286838
2008-05-24 15:20:58 +00:00
psychon 2f1b5347c9 configure: Fix dlopen() detection
The 'appendLib -ldl' is the important part, autoconf doesn't do that
automatically if you give it an argument.

This bug only triggered with --disable-debug (libssl pulled in libdl).


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1057 726aef4b-f618-498e-8847-2d620e286838
2008-05-16 15:01:41 +00:00
psychon 97a85e399b Make znc-buildmod work with znc-config not in path
We do that by adding the path we installed znc-config to, to our $PATH in
znc-buildmod.

This patch requires znc-buildmod to be moved to znc-buildmod.in, but svn
doesn't want me to do that :(


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1054 726aef4b-f618-498e-8847-2d620e286838
2008-05-14 17:44:52 +00:00
psychon bc2af5d49a Never link the ZNC binary against libsasl2
Stupid autoconf...


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1050 726aef4b-f618-498e-8847-2d620e286838
2008-05-11 18:32:17 +00:00
psychon 7e34dd3bfa Use -Wno-unused-parameter instead of -Wno-unused
This one causes no extra warnings and -Wno-unused-parameter is exactly the
reason why we had -Wno-unused.

According to [1], this flag exists since GCC 3.

Thanks to pippijn for telling me about this flag.

[1] http://lists.auriga.wearlab.de/pipermail/dillo-dev/2003-December/001565.html


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1048 726aef4b-f618-498e-8847-2d620e286838
2008-05-10 11:32:34 +00:00
psychon f642a493a7 Fix configure on FreeBSD (It didn't find dlopen)
I guess I broke configure recently :(


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1014 726aef4b-f618-498e-8847-2d620e286838
2008-04-02 19:02:23 +00:00
psychon 6d957ed93c Use MODFLAGS instead of CXXFLAGS for the modules
This also removes the duplicate check for dlopen() in configure.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1012 726aef4b-f618-498e-8847-2d620e286838
2008-04-01 09:09:23 +00:00
psychon 74447ee1d1 Increase the version number to 0.055
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1002 726aef4b-f618-498e-8847-2d620e286838
2008-04-01 06:24:38 +00:00
psychon 66711fd746 Increase the version number to 0.054
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1000 726aef4b-f618-498e-8847-2d620e286838
2008-04-01 06:17:59 +00:00
psychon 0dfaa1d706 Add -Wshadow to our CXX flags
This gives us some useful warnings, but it first needs some fixing...
(See next commit)


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@963 726aef4b-f618-498e-8847-2d620e286838
2008-02-19 20:23:44 +00:00
psychon d7c51ed141 And again some makefile stuff (this time it's some new depend code)
We are back to the behaviour of some old version of the Makefile

If you want to compile ZNC only once, just use make.

If you want the Makefile do to dependency tracking and that fancy stuff,
run make depend which creates the .depend and modules/.depend dirs.

From then on some dependency files get written when you compile something.

(The way we did it before now was bad, because all the .cpp files depended on
 the .depend dir which got its mtime updated regulary)


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@922 726aef4b-f618-498e-8847-2d620e286838
2008-01-16 20:56:07 +00:00
psychon 1360effd31 This covers the code changes for the datadir move (which is now finished)
Based on darix' patch I wrote this. Modperl's changes were not tested since I
didn't find someone who could test it. Well...

Ah and btw it regenerates configure


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@902 726aef4b-f618-498e-8847-2d620e286838
2007-12-12 21:15:44 +00:00
psychon 425fd72c41 Add -D_FORTIFY_SOURCE=2 to our CXXFLAGS by default
This can be called 'inspired by Marcus Rueckert <darix@opensu.se>'


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@898 726aef4b-f618-498e-8847-2d620e286838
2007-12-04 20:03:27 +00:00
psychon 2e69a1444e Increase the version number to 0.053
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@884 726aef4b-f618-498e-8847-2d620e286838
2007-12-02 09:12:17 +00:00
psychon 4966831370 Bump version to 0.052
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@882 726aef4b-f618-498e-8847-2d620e286838
2007-12-02 09:06:37 +00:00
psychon a8a4f41a22 Regenerate configure
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@881 726aef4b-f618-498e-8847-2d620e286838
2007-11-25 17:41:07 +00:00