]> git.sur5r.net Git - openldap/blobdiff - configure.in
ITS#6082 return checker module's error message to client
[openldap] / configure.in
index 259dff7cb83fd1ffd25ff98cb3ac07499e60b3fe..bde0b0ba4a7a750a5b7c0dfb66be86a4f509da44 100644 (file)
@@ -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 <winsock.h>
@@ -2480,7 +2480,6 @@ AC_CHECK_FUNCS(                   \
        seteuid                 \
        signal                  \
        strdup                  \
-       strnlen                 \
        strpbrk                 \
        strrchr                 \
        strsep                  \