mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-02-23 14:09:39 +08:00
cygwin hack
This commit is contained in:
parent
e71f21959c
commit
e98179c80e
6
configure
vendored
6
configure
vendored
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user