diff options
Diffstat (limited to 'source4/build/m4/public.m4')
-rw-r--r-- | source4/build/m4/public.m4 | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/source4/build/m4/public.m4 b/source4/build/m4/public.m4 index d61e00b22e..5be4189e06 100644 --- a/source4/build/m4/public.m4 +++ b/source4/build/m4/public.m4 @@ -188,10 +188,17 @@ 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 + echo "$ac_var => '$ac_val'," >> $1 +done +cat >>$1<<CEOF +); $SMB_INFO_ENABLES 1; CEOF |