]> git.sur5r.net Git - openldap/commitdiff
Fix Windows NT detection
authorHoward Chu <hyc@openldap.org>
Thu, 25 Aug 2005 21:44:57 +0000 (21:44 +0000)
committerHoward Chu <hyc@openldap.org>
Thu, 25 Aug 2005 21:44:57 +0000 (21:44 +0000)
configure.in

index 61a0fc8649e07c5b881735d06e82e8eb8ff74334..05ec2ccb96749b84cbd36d88813722b5f02986c1 100644 (file)
@@ -746,6 +746,13 @@ fi
 
 AC_PROG_CPP
 
+dnl ----------------------------------------------------------------
+dnl Checks for Windows NT
+case $host_os in
+  *mingw32* ) ac_cv_mingw32=yes ;;
+  *cygwin* ) ac_cv_cygwin=yes ;;
+esac
+
 dnl ----------------------------------------------------------------
 dnl Checks for file extensions
 AC_EXEEXT