You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by fu...@apache.org on 2009/07/15 20:23:26 UTC
svn commit: r794346 - /apr/apr/branches/1.3.x/build/NWGNUenvironment.inc
Author: fuankg
Date: Wed Jul 15 18:23:26 2009
New Revision: 794346
URL: http://svn.apache.org/viewvc?rev=794346&view=rev
Log:
fixed NetWare CLDAP SDK path check.
Modified:
apr/apr/branches/1.3.x/build/NWGNUenvironment.inc
Modified: apr/apr/branches/1.3.x/build/NWGNUenvironment.inc
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.3.x/build/NWGNUenvironment.inc?rev=794346&r1=794345&r2=794346&view=diff
==============================================================================
--- apr/apr/branches/1.3.x/build/NWGNUenvironment.inc (original)
+++ apr/apr/branches/1.3.x/build/NWGNUenvironment.inc Wed Jul 15 18:23:26 2009
@@ -38,11 +38,16 @@
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 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 CLDAP SDK)
+endif
ifndef METROWERKS
METROWERKS = C:\Program Files\Metrowerks\CodeWarrior