From 0767a3f44b2e4b48335c9b11da665c116d1be5f3 Mon Sep 17 00:00:00 2001 From: Guenter Knauf Date: Sat, 11 Jul 2009 22:31:40 +0000 Subject: [PATCH] added NetWare SDK path sanity checks. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@793236 13f79535-47bb-0310-9956-ffa450edef68 --- build/NWGNUenvironment.inc | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/build/NWGNUenvironment.inc b/build/NWGNUenvironment.inc index 4ef85f74308..097bff1fc90 100644 --- a/build/NWGNUenvironment.inc +++ b/build/NWGNUenvironment.inc @@ -38,11 +38,16 @@ endif ifndef NOVELLLIBC NOVELLLIBC = C:/novell/ndk/libc endif +ifneq "$(wildcard $(NOVELLLIBC)/include/ndkvers.h)" "$(NOVELLLIBC)/include/ndkvers.h" +$(error NOVELLLIBC does not point to a valid Novell LIBC SDK) +endif -# This is a placeholder -# ifndef LDAPSDK -# LDAPSDK = C:/novell/ndk/cldapsdk -# endif +ifndef LDAPSDK +LDAPSDK = C:/novell/ndk/cldapsdk/NetWare/libc +endif +ifneq "$(wildcard $(LDAPSDK)/inc/ldap.h)" "$(LDAPSDK)/inc/ldap.h" +$(error LDAPSDK does not point to a valid Novell CLDAP SDK) +endif # This is a placeholder # ifndef ZLIBSDK -- 2.47.2