[SCM] Samba Shared Repository - branch master updated - f1d887251d33055d3f5dc858044a1ead63d25e78

Jelmer Vernooij jelmer at samba.org
Wed Nov 26 15:24:27 GMT 2008


The branch, master has been updated
       via  f1d887251d33055d3f5dc858044a1ead63d25e78 (commit)
      from  d3fa3c080f4509d8d043b26f3bee157f026d6e8a (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit f1d887251d33055d3f5dc858044a1ead63d25e78
Author: Jelmer Vernooij <jelmer at samba.org>
Date:   Wed Nov 26 16:22:11 2008 +0100

    Use a simple shell loop instead of _AC_SUBST_VARS.
    
    Autoconf has removed _AC_SUBST_VARS in newer versions.

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

Summary of changes:
 source4/build/m4/public.m4 |   15 ++++++++++++---
 1 files changed, 12 insertions(+), 3 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source4/build/m4/public.m4 b/source4/build/m4/public.m4
index d61e00b..461b25c 100644
--- a/source4/build/m4/public.m4
+++ b/source4/build/m4/public.m4
@@ -188,10 +188,19 @@ use strict;
 
 use vars qw(%enabled %config);
 
-%config = (AC_FOREACH([AC_Var], m4_defn([_AC_SUBST_VARS]), [
-	AC_Var => '$AC_Var',])
-);
+%config = (
+CEOF
+
+for ac_var in $ac_subst_vars
+do
+    eval ac_val=\$$ac_var
+	if echo "$skip_vars" | grep -v " $ac_var " >/dev/null 2>/dev/null; then
+		echo "$ac_var => '$ac_val'," >> $1
+	fi
+done
 
+cat >>$1<<CEOF
+);
 $SMB_INFO_ENABLES
 1;
 CEOF


-- 
Samba Shared Repository


More information about the samba-cvs mailing list