Check for inet_addr() in -lnsl.
* configure.ac: Check for inet_addr() in libnsl.
OpenSolaris/OpenIndiana requires this.