summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpl <pl@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-12-29 00:09:10 +0000
committerpl <pl@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-12-29 00:09:10 +0000
commit201055ba3e7561dc911e06666bbb76a76e702ed0 (patch)
tree7ab687929cb15eac91deb8f96b5212afc58c4e1b
parent5ff1b3e9ae48872d28f52d5c3f1ee9329259e13f (diff)
downloadmpv-201055ba3e7561dc911e06666bbb76a76e702ed0.tar.bz2
mpv-201055ba3e7561dc911e06666bbb76a76e702ed0.tar.xz
missing -lsocket for sunos
qnx & win32 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3870 b3059339-0415-0410-9bf9-f77b7e298cf2
-rwxr-xr-xconfigure9
1 files changed, 4 insertions, 5 deletions
diff --git a/configure b/configure
index 19c10a44d1..f978f453b9 100755
--- a/configure
+++ b/configure
@@ -1065,8 +1065,9 @@ cat > $TMPC << EOF
#include <netdb.h>
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 @@ echores "$_vorbis"
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