git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3fa3c0
)
Use a simple shell loop instead of _AC_SUBST_VARS.
author
Jelmer Vernooij
<jelmer@samba.org>
Wed, 26 Nov 2008 15:22:11 +0000
(16:22 +0100)
committer
Jelmer Vernooij
<jelmer@samba.org>
Wed, 26 Nov 2008 15:22:11 +0000
(16:22 +0100)
Autoconf has removed _AC_SUBST_VARS in newer versions.
source4/build/m4/public.m4
patch
|
blob
|
history
diff --git
a/source4/build/m4/public.m4
b/source4/build/m4/public.m4
index d61e00b22ef926587374466e41a8b5aa7f3fadf7..461b25c6af13397b02c912e58e6a14a559b41ad6 100644
(file)
--- 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