Commit Graph

12 Commits

Author SHA1 Message Date
Paolo Bonzini
b4bddce2c6 compile the library if popt is not available 2011-10-28 17:05:00 +02:00
Paolo Bonzini
a235a20fda remove LOGDIR
It looks unused
2011-10-28 17:05:00 +02:00
Paolo Bonzini
17319072b1 use automake and libtool
This commits replaces the handwritten makefile with automake+libtool.
There is some hackery needed for the LD_PRELOAD shared library,
but apart from that there is nothing special and it is a large gain in
portability and standardization.

The spec file is modified as little as is needed to properly build
the RPMs.
2011-10-28 17:04:59 +02:00
Ronnie Sahlberg
49017fda58 OpenSolaris: Add support for opensolaris 2011-09-01 18:04:29 +10:00
Ronnie Sahlberg
cbc5bd5f96 only build the LD_PRELOAD hack on linux 2011-07-17 09:56:52 +10:00
Ronnie Sahlberg
b6782dd7c8 TCP KEEPALIVE support
Add tcp keeplaive support on platforms that support these socket options.
Set default to fail the socket after 120 seconds
2011-04-13 21:37:28 +10:00
Ronnie Sahlberg
87072d5622 Dont use gethostbyname2() at all since it is non-portable,
use gethostbyname() instead.
2011-01-03 14:48:43 +11:00
Ronnie Sahlberg
71ec54603d Solaris install fixes, solaris needs to use ginstall, not install and it does not have ldconfig 2011-01-03 11:15:50 +11:00
Ronnie Sahlberg
adfb7326e3 Solaris needs -lsocket and -lnsl and does not support gethostbyname2()
With these changes we build and work on solaris
2011-01-03 10:57:35 +11:00
Ronnie Sahlberg
4e5fb3a60b We need libpopt-dev to compile the utilities.
Add a test to configure to verify popt development libraries are available
and print an error and exit otherwise.
2010-12-05 14:48:34 +11:00
Ronnie Sahlberg
631954405a add prefix exec_prefix libdir and bindir to the makefile 2010-12-05 13:40:48 +11:00
Ronnie Sahlberg
d7a1103e13 Add initial autoconf support to make it easier to get ported to
other platforms
2010-12-05 13:31:11 +11:00