summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/build/smb_build/input.pm2
-rw-r--r--source4/build/smb_build/main.pl2
-rw-r--r--source4/configure.in4
3 files changed, 4 insertions, 4 deletions
diff --git a/source4/build/smb_build/input.pm b/source4/build/smb_build/input.pm
index 16306955a9..b07c9b1a07 100644
--- a/source4/build/smb_build/input.pm
+++ b/source4/build/smb_build/input.pm
@@ -5,7 +5,7 @@
# Copyright (C) Jelmer Vernooij 2004
# Released under the GNU GPL
-use config;
+use smb_build::config;
use strict;
package smb_build::input;
diff --git a/source4/build/smb_build/main.pl b/source4/build/smb_build/main.pl
index d89be4bebf..908222d504 100644
--- a/source4/build/smb_build/main.pl
+++ b/source4/build/smb_build/main.pl
@@ -13,7 +13,7 @@ use smb_build::output;
use smb_build::env;
use smb_build::cflags;
use smb_build::summary;
-use config;
+use smb_build::config;
use strict;
my $INPUT = {};
diff --git a/source4/configure.in b/source4/configure.in
index 48e000be34..4e8cd8b14c 100644
--- a/source4/configure.in
+++ b/source4/configure.in
@@ -88,8 +88,8 @@ CFLAGS_REMOVE_USR_INCLUDE(CPPFLAGS)
AC_SUBST(ac_default_prefix)
-echo "configure: creating config.pm"
-cat >config.pm<<CEOF
+echo "configure: creating build/smb_build/config.pm"
+cat >${srcdir}/build/smb_build/config.pm<<CEOF
# config.pm - Autogenerate by configure. DO NOT EDIT!
package config;