apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fua...@apache.org
Subject svn commit: r793207 - /apr/apr/trunk/build/NWGNUenvironment.inc
Date Sat, 11 Jul 2009 17:19:54 GMT
Author: fuankg
Date: Sat Jul 11 17:19:54 2009
New Revision: 793207

URL: http://svn.apache.org/viewvc?rev=793207&view=rev
Log:
added NetWare NDK path sanity checks;
added default for CLDAP SDK since build includes ldap unconditionally.

Modified:
    apr/apr/trunk/build/NWGNUenvironment.inc

Modified: apr/apr/trunk/build/NWGNUenvironment.inc
URL: http://svn.apache.org/viewvc/apr/apr/trunk/build/NWGNUenvironment.inc?rev=793207&r1=793206&r2=793207&view=diff
==============================================================================
--- apr/apr/trunk/build/NWGNUenvironment.inc (original)
+++ apr/apr/trunk/build/NWGNUenvironment.inc Sat Jul 11 17:19:54 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
+endif
+ifneq "$(wildcard $(LDAPSDK)/NetWare/libc/inc/ldap.h)" "$(LDAPSDK)/NetWare/libc/inc/ldap.h"
+$(error LDAPSDK does not point to a valid CLDAP SDK) 
+endif
 
 ifndef METROWERKS
 METROWERKS = C:\Program Files\Metrowerks\CodeWarrior
@@ -97,7 +102,7 @@
 RELEASE = release
 endif
 
-ifeq "$(RELEASE)" "optimized"
+ifeq "$(strip $(RELEASE))" "optimized"
 RELEASE = release
 endif
 



Mime
View raw message