I used autoconf+automake with a little program I'm working on (lang:C).
There's really no network code except for gethostname and gethostbyname,
the latter which causes some trouble on SunOS (unresolved symbol) but no
other *nix I've tried yet.
When I compile manually on SunOS I use -lnsl (NSL lib). I thought
autoconf/automake was supposed to automate detection of just such things?
Or not? Is this a 'special case' I should add into my configure.ac ? So far
I have these relevant references in configure.ac
AC_CHECK_HEADERS(... netdb.h ...)
AC_CHECK_FUNCS(gethostname)
But apparently that's not enough. Any suggestions?
--
Jem Berkes
Student IEEE (Canada)
http://www.pc-tools.net/
Windows, Linux & UNIX software