> > can't you just do a link test that checks that AF_UNIX is defined?
> 
> That doesn't say anything about whether the Unix sockets 
> really work, as
> systems where they don't work define this occasionally.

My idea was to create a test that will try to compile, link and run a small
program. The program should contain "int s = socket(AF_UNIX, ...) and a test
for succesful creation of 's'. Only when this program will compile and run
OK then it should be defined HAVE_AF_UNIX_SOCKET.

		Dan

Mon, 21 Aug 2000 11:11:58 +0200
=?iso-8859-1?Q?Hor=E1k_Daniel?= <horak@sit.plzen-city.cz>
RE: autoconf check for AF_UNIX sockets