[SCM] Samba Shared Repository - branch v3-3-test updated - release-3-2-0pre2-4298-gc202b78

Michael Adam obnox at samba.org
Mon Oct 27 12:08:50 GMT 2008


The branch, v3-3-test has been updated
       via  c202b78f2f02d06f849d6d753685a3a4c141de3f (commit)
      from  89e22a2c969ab7a38016d4a145feb061fa6ae108 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test


- Log -----------------------------------------------------------------
commit c202b78f2f02d06f849d6d753685a3a4c141de3f
Author: Michael Adam <obnox at samba.org>
Date:   Mon Oct 27 12:59:11 2008 +0100

    build: fix bug #5677 - fix test_{shlibs,nss_modules,pam_modules} on Solaris
    
    and other systems where sh does not support "export FOO=bar"
    by separating setting and exporting the variable.
    
    Thanks to Yasuma Takeda <yasuma at osstech.co.jp> for the patch.
    
    Michael

-----------------------------------------------------------------------

Summary of changes:
 source/Makefile.in |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/Makefile.in b/source/Makefile.in
index e6f99f0..4145127 100644
--- a/source/Makefile.in
+++ b/source/Makefile.in
@@ -2719,7 +2719,8 @@ Makefile: $(srcdir)/Makefile.in config.status
 # Check shared libs for unresolved symbols
 test_shlibs:
 	@echo "Testing $? "
-	@export $(LIB_PATH_VAR)=./bin && \
+	@$(LIB_PATH_VAR)=./bin && \
+	export $(LIB_PATH_VAR) && \
 	for module in $?; do \
 		./script/tests/dlopen.sh $${module} \
 			|| exit 1; \
@@ -2728,7 +2729,8 @@ test_shlibs:
 # Check for NSS module problems.
 test_nss_modules:: nss_modules
 	@echo "Testing $(NSS_MODULES) "
-	@export $(LIB_PATH_VAR)=./bin && \
+	@$(LIB_PATH_VAR)=./bin && \
+	export $(LIB_PATH_VAR) && \
 	for module in $(NSS_MODULES); do \
 		./script/tests/dlopen.sh $${module} \
 			|| exit 1; \
@@ -2738,7 +2740,8 @@ test_nss_modules:: nss_modules
 # built can actually be loaded by a minimal PAM-aware application.
 test_pam_modules:: pam_modules
 	@echo "Testing $(PAM_MODULES) "
-	@export $(LIB_PATH_VAR)=./bin && \
+	@$(LIB_PATH_VAR)=./bin && \
+	export $(LIB_PATH_VAR) && \
 	for module in $(PAM_MODULES); do \
 		./script/tests/dlopen.sh -lpam -ldl bin/$${module}. at SHLIBEXT@ \
 			|| exit 1; \


-- 
Samba Shared Repository


More information about the samba-cvs mailing list