From d91b745ee8ea3f32b03eaf9913f487c36e85c636 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Sat, 17 Jan 2009 00:09:25 +0000 Subject: [PATCH] Fix test --- configure | 6 ++---- configure.in | 4 +--- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/configure b/configure index b25deba9bf..36bff4b025 100755 --- a/configure +++ b/configure @@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in OpenLDAP: pkg/ldap/configure.in,v 1.677 2009/01/16 22:54:57 kurt Exp . +# From configure.in OpenLDAP: pkg/ldap/configure.in,v 1.678 2009/01/16 23:04:25 kurt Exp . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.61. # @@ -14782,9 +14782,7 @@ fi done -if test "$ac_cv_mingw32" = yes -o \ - ( "$ac_cv_cygwin32" = yes -a $GCC = no ) -then +if test "$ac_cv_mingw32" = yes -o \( "$ac_cv_cygwin32" = yes -a $GCC = no \) ; then for ac_header in winsock.h winsock2.h diff --git a/configure.in b/configure.in index e91253de06..c14ba64450 100644 --- a/configure.in +++ b/configure.in @@ -842,9 +842,7 @@ AC_CHECK_HEADERS( \ ) dnl Only check Winsock on MinGW -if test "$ac_cv_mingw32" = yes -o \ - ( "$ac_cv_cygwin32" = yes -a $GCC = no ) -then +if test "$ac_cv_mingw32" = yes -o \( "$ac_cv_cygwin32" = yes -a $GCC = no \) ; then AC_CHECK_HEADERS( winsock.h winsock2.h ) fi -- 2.39.5