Commit Graph

16 Commits

Author SHA1 Message Date
Michael Tokarev
aee0e3bf72 always export iscsi_set_tcp_keepalive()
Set only the (socket) options which are defined on a given platform.
The function becomes a no-op if no option is known at complie time.
Remove autoconf test for HAVE_TCP_KEEPALIVE too.

Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
2012-05-12 08:41:34 +10:00
Ronnie Sahlberg
846ace255a Autoconf: Remove AS_SET_STATUS to be compatible with autoconf < 2.65 2012-03-10 10:55:48 +11:00
Ronnie Sahlberg
add1ce67e4 Revert "Rename libiscsi to libiscsiclient to avoid clash with obscure linux library"
We dont need to change name anymore so witch back to original libiscsi name

This reverts commit c4386dfb87.
2012-03-07 14:30:37 +11:00
Ronnie Sahlberg
c4386dfb87 Rename libiscsi to libiscsiclient to avoid clash with obscure linux library
Change to version 2
2012-03-03 17:01:37 +11:00
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