Commit Graph

53 Commits

Author SHA1 Message Date
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
psychon 5938a30d01 Change -Wextra into -W since -Wextra is not recognized by some compilers
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@873 726aef4b-f618-498e-8847-2d620e286838
2007-11-14 17:12:36 +00:00
psychon 74213c9a4f Add -Wextra do the CXXFLAGS
This already caused one of the commits before, so warnings are always nice :)


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@870 726aef4b-f618-498e-8847-2d620e286838
2007-11-12 21:30:50 +00:00
psychon 1c3105d782 Change MODDIR really into the moddir and add --moddir to znc-config
Now we don't append znc everywhere where MODDIR is used :)

Thanks to CNU for the initial patch (yay, I didn't forget to mention him.
I did with the last commit. The --disable-perl one was spotted by him too)


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@862 726aef4b-f618-498e-8847-2d620e286838
2007-11-04 08:25:27 +00:00
psychon a399197c61 Don't let AC_PROG_CXX influence our CXXFLAGS (why does it even bother trying? -.-)
<@x-x> cause AC_PROG_CXX sets CXXFLAGS to -O2 or something like that


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@853 726aef4b-f618-498e-8847-2d620e286838
2007-10-24 18:35:08 +00:00
psychon 6258e629e2 Respect $CXXFLAGS environment var
This patch is from opensuse's ZNC source RPM



git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@851 726aef4b-f618-498e-8847-2d620e286838
2007-10-24 09:29:56 +00:00
psychon 6169df3f7a Rewrite Makefile.in, remove -s from no-debug
CXXFLAGS and auto-generate .depend if GCC is used.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@829 726aef4b-f618-498e-8847-2d620e286838
2007-08-19 15:27:16 +00:00
psychon cf77a2ea68 Increase version number to 0.051
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@827 726aef4b-f618-498e-8847-2d620e286838
2007-08-11 22:28:55 +00:00
psychon a97e29749f Mark version as 0.050, fix some spelling and regenerate configure
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@825 726aef4b-f618-498e-8847-2d620e286838
2007-08-11 22:25:33 +00:00
psychon 9f665430e4 Add -Woverloaded-virtual to CXXFLAGS and use tabs for indentation.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@815 726aef4b-f618-498e-8847-2d620e286838
2007-07-19 19:56:20 +00:00
psychon d1de3746a8 Fix bug reported by bnovc - configure failing on fbsd
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@813 726aef4b-f618-498e-8847-2d620e286838
2007-07-14 19:09:13 +00:00
psychon c94a5479b4 x-x noticed that we set the version number in AC_INIT and so can use that value later on
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@810 726aef4b-f618-498e-8847-2d620e286838
2007-06-15 21:37:04 +00:00
psychon c38729854d Poke around in configure.in
- use AC_ERROR instead of silently disabling features (so that one notices)
- remove redundant check for dlopen
- show a summary when configure finished


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@809 726aef4b-f618-498e-8847-2d620e286838
2007-06-15 21:10:35 +00:00
psychon 0a0c826043 Regenerate configure (once again) and indent CZNC::UpdateTrafficStats() with *tabs*
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@807 726aef4b-f618-498e-8847-2d620e286838
2007-05-17 19:11:30 +00:00
psychon 4f7b904651 - Added note to keep version number in sync between main.h and configure.in
- regenerated configure


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@805 726aef4b-f618-498e-8847-2d620e286838
2007-05-17 10:17:52 +00:00
psychon 03ac38bac0 Regenerate configure (configure.in changed) and update config.{guess,sub} to a recent version
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@794 726aef4b-f618-498e-8847-2d620e286838
2007-04-11 15:24:05 +00:00
prozacx 0a62274975 Committing patches from crox/psychon
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@790 726aef4b-f618-498e-8847-2d620e286838
2007-03-12 06:26:54 +00:00
prozacx 7692fb0231 Always use -fPIC
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@773 726aef4b-f618-498e-8847-2d620e286838
2006-09-17 21:15:47 +00:00
imaginos 44c5f4939d added with-modules-prefix and moved modules by default to PREFIX/libexec
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@751 726aef4b-f618-498e-8847-2d620e286838
2006-09-13 04:11:16 +00:00
imaginos 9a820ccb5d added -ldl fix for openssl crypto package. fixes static lib link requirement
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@735 726aef4b-f618-498e-8847-2d620e286838
2006-06-12 05:11:39 +00:00
imaginos cf663f8f63 NOSSL was in the wrong spot
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@728 726aef4b-f618-498e-8847-2d620e286838
2006-04-30 17:29:58 +00:00
imaginos 48c0f4fce4 fix disable openssl
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@724 726aef4b-f618-498e-8847-2d620e286838
2006-04-09 03:33:30 +00:00
imaginos 6226da87b4 fix version info
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@679 726aef4b-f618-498e-8847-2d620e286838
2006-03-07 09:24:11 +00:00
prozacx 84b59caf75 Removed redundant ipv6 call
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@638 726aef4b-f618-498e-8847-2d620e286838
2006-02-11 09:44:55 +00:00
imaginos 7de2b93536 check to see if lib gnugetopt is required
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@634 726aef4b-f618-498e-8847-2d620e286838
2006-02-10 03:38:10 +00:00
prozacx 09aaf0e441 Fixed IPV6 support
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@631 726aef4b-f618-498e-8847-2d620e286838
2006-02-09 04:38:07 +00:00
prozacx 1c3e0c5e39 Moved ipv6 below debug
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@628 726aef4b-f618-498e-8847-2d620e286838
2006-02-08 11:16:30 +00:00
prozacx 487b6b657b Pulled in Csocket changes for ipv6 support
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@626 726aef4b-f618-498e-8847-2d620e286838
2006-02-08 11:13:32 +00:00
prozacx 20f0f8be3f Fixed some issues with older bsd boxes
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@586 726aef4b-f618-498e-8847-2d620e286838
2005-12-27 18:36:44 +00:00
imaginos 6b46481803 add check for x86_64, if set we need to add -fPIC
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@473 726aef4b-f618-498e-8847-2d620e286838
2005-09-08 05:32:53 +00:00
imaginos d86dec8bdc add test program for modperl
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@392 726aef4b-f618-498e-8847-2d620e286838
2005-06-28 07:10:46 +00:00
imaginos 64d16904b1 finished off infastructure of modperl stuff plus adjusted autoconf, makefile, etc
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@265 726aef4b-f618-498e-8847-2d620e286838
2005-05-11 17:24:27 +00:00
imaginos 1a9ffe7d86 added a quick check for dlopen in case not required in external lib, also fixes an issue with having one test application not being called inside of a if conditional. seems like possible autoconf bug. check for misc c api functions, probably need to add more
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@256 726aef4b-f618-498e-8847-2d620e286838
2005-05-10 21:16:11 +00:00
imaginos 3e868c5c77 woops, need to include ssl support
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@94 726aef4b-f618-498e-8847-2d620e286838
2005-04-04 01:27:22 +00:00
imaginos 40ba157fb7 added --disable-openssl
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@85 726aef4b-f618-498e-8847-2d620e286838
2005-04-03 09:18:23 +00:00
imaginos c207ea5079 created znc-config, added support
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@67 726aef4b-f618-498e-8847-2d620e286838
2005-04-03 00:55:21 +00:00
imaginos d052efe002 use /usr/local as default
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@62 726aef4b-f618-498e-8847-2d620e286838
2005-04-02 23:11:56 +00:00
imaginos 2814df8faa make it so system properly deployed
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@61 726aef4b-f618-498e-8847-2d620e286838
2005-04-02 22:50:47 +00:00
imaginos a564545f75 moving to standard makefile system, and cpp only extension
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@46 726aef4b-f618-498e-8847-2d620e286838
2005-03-30 18:49:14 +00:00
imaginos 25c1ac58b0 solaris doesn't like -rdynamic flag
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@16 726aef4b-f618-498e-8847-2d620e286838
2004-08-24 23:03:39 +00:00
imaginos 2a725fde45 appending to the wrong var
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@14 726aef4b-f618-498e-8847-2d620e286838
2004-08-24 22:50:58 +00:00
imaginos 15dc927895 switch to ISSUN bool
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@13 726aef4b-f618-498e-8847-2d620e286838
2004-08-24 22:49:36 +00:00
imaginos 1cdb55995c more sun adeptations
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@12 726aef4b-f618-498e-8847-2d620e286838
2004-08-24 22:43:56 +00:00
imaginos 42bc0e8e3a need path to znc dir for CXXflags
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@11 726aef4b-f618-498e-8847-2d620e286838
2004-08-24 22:30:34 +00:00
imaginos e3185dd48c seems some machines require -ldl at link time
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@9 726aef4b-f618-498e-8847-2d620e286838
2004-08-24 22:05:34 +00:00