* configure.ac: Add NETLIBS to EGDLIBS when using EGD as EGD uses sockets.