summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-07-28 13:37:21 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:30:10 -0500
commitbaf42db0a8cad82d321e08756796fde92e867e74 (patch)
treeed0c845c00390c33d30b36465a45c38085f6b57e
parentc1f5d4ceb6b82a6a6a412427ba5ed542d94fdaf3 (diff)
downloadsamba-baf42db0a8cad82d321e08756796fde92e867e74.tar.gz
samba-baf42db0a8cad82d321e08756796fde92e867e74.tar.bz2
samba-baf42db0a8cad82d321e08756796fde92e867e74.zip
r8829: Generate hash rather then a lot of globals.
(This used to be commit 19d383259fa6af8e24f53dec3664aefe09310401)
-rw-r--r--source4/configure.in11
1 files changed, 8 insertions, 3 deletions
diff --git a/source4/configure.in b/source4/configure.in
index f678d9c7e8..dd93d8af2a 100644
--- a/source4/configure.in
+++ b/source4/configure.in
@@ -91,14 +91,19 @@ cat >config.pm<<CEOF
# config.pm - Autogenerate by configure. DO NOT EDIT!
package config;
+require Exporter;
+@ISA = qw(Exporter);
+@EXPORT_OK = qw(%enabled %config);
use strict;
-use vars qw(%enabled AC_FOREACH([AC_Var], m4_defn([_AC_SUBST_VARS]), [\$AC_Var ]));
+use vars qw(%enabled %config);
-AC_FOREACH([AC_Var], m4_defn([_AC_SUBST_VARS]), [
-\$AC_Var = "$AC_Var";])
+%config = (AC_FOREACH([AC_Var], m4_defn([_AC_SUBST_VARS]), [
+ AC_Var => '$AC_Var',])
+);
$SMB_INFO_ENABLES
+1;
CEOF
echo "configure: creating config.mk"