cygwin hack

This commit is contained in:
Kurt Zeilenga 2009-01-16 23:54:56 +00:00
parent e71f21959c
commit e98179c80e
2 changed files with 7 additions and 3 deletions

6
configure vendored
View File

@ -1,5 +1,5 @@
#! /bin/sh
# From configure.in OpenLDAP: pkg/ldap/configure.in,v 1.675 2009/01/16 22:28:31 kurt Exp .
# From configure.in OpenLDAP: pkg/ldap/configure.in,v 1.676 2009/01/16 22:45:25 kurt Exp .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.61.
#
@ -14782,7 +14782,9 @@ fi
done
if test "$ac_cv_mingw32" = yes ; then
if test "$ac_cv_mingw32" = yes -o \
( "$ac_cv_cygwin32" = yes -a $GCC = no )
then
for ac_header in winsock.h winsock2.h

View File

@ -842,7 +842,9 @@ AC_CHECK_HEADERS( \
)
dnl Only check Winsock on MinGW
if test "$ac_cv_mingw32" = yes ; then
if test "$ac_cv_mingw32" = yes -o \
( "$ac_cv_cygwin32" = yes -a $GCC = no )
then
AC_CHECK_HEADERS( winsock.h winsock2.h )
fi