changeset 16735:3d240652c933

Put networking lib linker flag checks in the order they were before the configure cleanup. Fixes build on Solaris.
author diego
date Tue, 11 Oct 2005 23:44:08 +0000
parents d90e90012334
children 64f56a0553e2
files configure
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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 <netdb.h>
 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