From 555b5a6d30d92070c7dc1dd66ff7957f6c19c405 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Sun, 10 May 2009 09:52:00 +0000 Subject: [PATCH] ITS#6102,6078 fix winsock detection --- configure.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.in b/configure.in index 80975b8264..bde0b0ba4a 100644 --- a/configure.in +++ b/configure.in @@ -879,7 +879,7 @@ if test $ac_cv_func_sigaction = no && test $ac_cv_func_sigaction = no ; then AC_CHECK_LIB(V3, sigset) fi -if test $ol_cv_msvc ; then +if test $ol_cv_msvc = yes ; then ol_cv_winsock=yes fi @@ -890,7 +890,7 @@ if test "$ac_cv_header_winsock_h" = yes; then AC_CACHE_CHECK([for winsock], [ol_cv_winsock],[ save_LIBS="$LIBS" for curlib in none ws2_32 wsock32; do - if test curlib != none ; then + if test $curlib != none ; then LIBS="$save_LIBS -l$curlib" fi AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include -- 2.39.5