]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
added NetWare SDK path sanity checks.
authorGuenter Knauf <fuankg@apache.org>
Sat, 11 Jul 2009 22:31:40 +0000 (22:31 +0000)
committerGuenter Knauf <fuankg@apache.org>
Sat, 11 Jul 2009 22:31:40 +0000 (22:31 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@793236 13f79535-47bb-0310-9956-ffa450edef68

build/NWGNUenvironment.inc

index 4ef85f743081d821d45a9cb87696a3716660d62f..097bff1fc907efb94cd217743f7886a866ecb94d 100644 (file)
@@ -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