summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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"