# HG changeset patch # User pl # Date 1009584550 0 # Node ID fb8ff040ff17d649d25b3355d555f2e69ea66d66 # Parent 8a4ef002bb898d64619899ae431568c4ab746db4 missing -lsocket for sunos qnx & win32 diff -r 8a4ef002bb89 -r fb8ff040ff17 configure --- a/configure Sat Dec 29 00:03:47 2001 +0000 +++ b/configure Sat Dec 29 00:09:10 2001 +0000 @@ -1065,8 +1065,9 @@ #include int main(void) { (void) gethostbyname(0); return 0; } EOF -cc_check $_ld_sock -lsocket && _ld_sock="$_ld_sock -lsocket" -cc_check $_ld_sock -lnsl && _ld_sock="$_ld_sock -lnsl" +cc_check -lsocket && _ld_sock="-lsocket" +cc_check -lnsl && _ld_sock="-lnsl" +cc_check -lsocket -lnsl && _ld_sock="-lsocket -lnsl" if test "$_ld_sock" ; then echores "yes (using $_ld_sock)" else @@ -2134,9 +2135,7 @@ echocheck "Win32 DLL support" -if test "$_win32" = auto && qnx ; then - _win32=no -fi +qnx && _win32=no if test "$_win32" = auto ; then _win32=no if x86 ; then