From: Howard Chu Date: Mon, 9 May 2005 00:06:26 +0000 (+0000) Subject: Fix prev commit X-Git-Tag: OPENLDAP_AC_BP~696 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6f119be9a664159ade8a106c65db2b37a64bda91;p=openldap Fix prev commit --- diff --git a/configure b/configure index 6a00e08bf7..017d25b683 100755 --- a/configure +++ b/configure @@ -1,6 +1,6 @@ #! /bin/sh # $OpenLDAP$ -# from OpenLDAP: pkg/ldap/configure.in,v 1.579 2005/05/05 22:39:26 hyc Exp +# from OpenLDAP: pkg/ldap/configure.in,v 1.580 2005/05/07 19:42:29 hyc Exp # This work is part of OpenLDAP Software . # @@ -8976,7 +8976,7 @@ fi fi -if test "$ac_cv_cygwin" != yes && "$ac_cv_header_winsock_h" = yes; then +if test "$ac_cv_cygwin" != yes && test "$ac_cv_header_winsock_h" = yes; then echo $ac_n "checking for winsock""... $ac_c" 1>&6 echo "configure:8982: checking for winsock" >&5 if eval "test \"\${ol_cv_winsock+set}\" = set"; then diff --git a/configure.in b/configure.in index bc0dc6f7ad..41bb936798 100644 --- a/configure.in +++ b/configure.in @@ -836,7 +836,7 @@ dnl support variable names with the '@' character, which is what dnl autoconf would try to generate if one merely used AC_SEARCH_LIBS dnl dnl Skip Winsock tests on Cygwin -if test "$ac_cv_cygwin" != yes && "$ac_cv_header_winsock_h" = yes; then +if test "$ac_cv_cygwin" != yes && test "$ac_cv_header_winsock_h" = yes; then AC_CACHE_CHECK([for winsock], [ol_cv_winsock], save_LIBS="$LIBS" for curlib in ws2_32 wsock32; do