# HG changeset patch # User diego # Date 1129074248 0 # Node ID 3d240652c933aadf2d76a7ad741b0f38b510fe3e # Parent d90e900123348c441745caa383ef11d37cce916d Put networking lib linker flag checks in the order they were before the configure cleanup. Fixes build on Solaris. diff -r d90e90012334 -r 3d240652c933 configure --- a/configure Tue Oct 11 23:40:31 2005 +0000 +++ b/configure Tue Oct 11 23:44:08 2005 +0000 @@ -2484,7 +2484,7 @@ #include int main(void) { (void) gethostbyname(0); return 0; } EOF -for _ld_tmp in "-lsocket" "-lnsl" "-lsocket -lnsl" "-lsocket -ldnet" "-lsocket -lbind" ; do +for _ld_tmp in "-lsocket -lbind" "-lsocket -ldnet" "-lsocket -lnsl" "-lnsl" "-lsocket" ; do cc_check $_ld_tmp && _ld_sock="$_ld_tmp" && break done if test $_winsock2 = auto && not cygwin ; then