From: Howard Chu Date: Sun, 10 May 2009 09:52:00 +0000 (+0000) Subject: ITS#6102,6078 fix winsock detection X-Git-Tag: ACLCHECK_0~564 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=555b5a6d30d92070c7dc1dd66ff7957f6c19c405;p=openldap ITS#6102,6078 fix winsock detection --- 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