Commit Graph

115 Commits

Author SHA1 Message Date
Alexey Sokolov 797b0a7ff9 Check what make should user use and ask user to do that. 2011-06-04 14:19:54 +07:00
Alexey Sokolov 7d912d1d2d Check SWIG version in configure. 2011-05-06 15:17:30 +07:00
Paul Driver 2c6a54b617 passwords >8chars on Solaris, nitpicky solaris LIBS 2011-04-04 21:01:49 +01:00
Uli Schlachter 72c1fa0c90 Don't use poll() on Mac OS
Congratulations, Apple. Your OS is really great. In some versions (according to
google, it used to work in older releases), poll() can only handle sockets. If
you give it a pipe (as e.g. the shell module does), it will fail with POLLNVAL
which Csocket handles by going into an endless loop.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2011-04-03 18:04:14 +02:00
Uli Schlachter 70c7745899 Overhaul the config parsing
This moves stuff to a two-step model. First, the new class CConfig reads the
config file, parses it and creates a in-memory model of stuff. Only then do we
actually go forward and apply the stuff.

The upside of this is that some config errors are caught before we change
anything on the running upside.

Let's see how much stuff this broke...

Signed-off-by: Uli Schlachter <psychon@znc.in>
2011-04-01 21:43:05 +02:00
Alexey Sokolov 63250c2b47 Fix recent commit of moving python to pkg-config. 2011-03-31 20:27:23 +07:00
Alexey Sokolov ba915eb9c4 Use pkg-config for modpython.
python3-config fails when python is installed not system-wide.
It doesn't return -L/path/to/libs.
pkg-config resurns it.

Note that this changes meaning of optional argument to ./configure --enable-python=...
2011-03-31 20:13:19 +07:00
Uli Schlachter fbe2b7403a Make znc compile without getopt_long
If getopt_long() (GNU extension) isn't available, we use the plain old getopt()
instead. This means that long options won't work, but at least this compiles.

Tested on Solaris 9, but should also work on Irix.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2011-03-28 12:30:35 +02:00
Uli Schlachter bc67400daa Increase the version number to 0.099
Signed-off-by: Uli Schlachter <psychon@znc.in>
2011-03-28 11:22:34 +02:00
Uli Schlachter add7d7953e Increase the version number to 0.098
Signed-off-by: Uli Schlachter <psychon@znc.in>
2011-03-28 11:22:34 +02:00
psychon dd87a7e56d Add "-ggdb" with --enable-debug again
This is accidentally broken since r2248.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@2278 726aef4b-f618-498e-8847-2d620e286838
2011-02-13 08:05:20 +00:00
darthgandalf 85a270661b A cleanup in configure.ac on how to find library with dlopen.
This shouldn't break anything.

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@2271 726aef4b-f618-498e-8847-2d620e286838
2011-01-22 13:30:07 +00:00
darthgandalf 37b70a2949 Fix build on cygwin.
All shared objects produced a warning, and ZNC couldn't start after make install.

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@2265 726aef4b-f618-498e-8847-2d620e286838
2011-01-15 05:10:43 +00:00
psychon d9b4ba18f6 configure: Stop using AC_CHECK_FILE
We need the file we check for only to figure out some compiler flags, so
AC_CHECK_FILE's behavior of aborting cross compilation is just wrong.

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@2256 726aef4b-f618-498e-8847-2d620e286838
2011-01-08 11:32:50 +00:00
psychon fde73c60fa Remove all generated/copied scripts from SVN
This commits removes all files which are generated by aclocal or autoconf or
copied from automake (yes, autoconf requires config.{guess,sub}, yet they are
part of automake!).

Instead, we now have a shell script autogen.sh which calls all the needed parts
in the right order (aclocal ; autoheader ; autoconf ; automake).

Additionally, configure.in is renamed to configure.ac because that seems to be
the more proper name for it. Let's see if anyone notices me sneaking this in. ;)


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@2252 726aef4b-f618-498e-8847-2d620e286838
2011-01-07 16:34:13 +00:00