diff -uNrp samba-3.2.1.org/source/Makefile.in samba-3.2.1/source/Makefile.in --- samba-3.2.1.org/source/Makefile.in 2008-08-05 15:22:33.000000000 +0900 +++ samba-3.2.1/source/Makefile.in 2008-08-07 15:15:47.000000000 +0900 @@ -2432,7 +2432,8 @@ Makefile: $(srcdir)/Makefile.in config.s # Check shared libs for unresolved symbols test_shlibs: $(SHLIBS) @echo "Testing $(SHLIBS) " - @export $(LIB_PATH_VAR)=./bin && \ + @$(LIB_PATH_VAR)=./bin && \ + export $(LIB_PATH_VAR) && \ for module in $(SHLIBS); do \ ./script/tests/dlopen.sh bin/$${module}.@SHLIBEXT@ \ || exit 1; \ @@ -2441,7 +2442,8 @@ test_shlibs: $(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; \ @@ -2451,7 +2453,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}.@SHLIBEXT@ \ || exit 1; \