Samba4 wrongly configured to use empty get_interfaces() on
Solaris
Stefan (metze) Metzmacher
metze at samba.org
Tue Aug 15 21:09:54 GMT 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
petr sumbera - Sun Microsystems - Prague Czech Republic schrieb:
Hi Peter,
> The right choice should be version defined with HAVE_IFACE_IFCONF.
> Problem is that the test program from configure is not linked with
> "-lnsl -lsocket":
are really both needed?
>
> Can anybody see the point where we should fix this?
we check for -lnsl and -lsocket in lib/socket/config.m4,
maybe it would be useful to move the lib/netif/ code to lib/socket/
and then wrapp the netif tests into this:
old_LIBS=$LIBS;LIBS="$NSL_LIBS $SOCKET_LIBS"
tests
LIBS=$old_LIBS
has onyone a better idea?
We should also let the configure test bail out if no interface code
is found!
metze
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org
iD8DBQFE4jgim70gjA5TCD8RAgOCAJ9i3ul/lCNs0v9ywo91nGLngYPL9gCeITlI
rVmPJnx7U7HqAd37ZMo/pOQ=
=hXi0
-----END PGP SIGNATURE-----
More information about the samba-technical
mailing list