Put networking lib linker flag checks in the order they were before the

configure cleanup.  Fixes build on Solaris.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16736 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2005-10-11 23:44:08 +00:00
parent a928894eaa
commit 45adb1eb8f
1 changed files with 1 additions and 1 deletions

2
configure vendored
View File

@ -2484,7 +2484,7 @@ cat > $TMPC << EOF
#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