summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-03-08 00:25:22 +1100
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:26:46 +1000
commit29f22bb0c0914476d93e63ed77e75b75f2a4cd14 (patch)
tree1a25a89c17ca348531ad6d0bda2d8c388c12f259
parentaaa4c4b083a2cdb1e2656f444ae88893e80c6887 (diff)
downloadsamba-29f22bb0c0914476d93e63ed77e75b75f2a4cd14.tar.gz
samba-29f22bb0c0914476d93e63ed77e75b75f2a4cd14.tar.bz2
samba-29f22bb0c0914476d93e63ed77e75b75f2a4cd14.zip
build: emulate autoconf PACKAGE_* variables
-rw-r--r--source4/wscript7
1 files changed, 7 insertions, 0 deletions
diff --git a/source4/wscript b/source4/wscript
index 68ea1e02f0..ca2cd68c6a 100644
--- a/source4/wscript
+++ b/source4/wscript
@@ -21,6 +21,13 @@ def set_options(opt):
def configure(conf):
+ conf.define('PACKAGE_NAME', 'samba')
+ conf.define('PACKAGE_STRING', 'samba 4')
+ conf.define('PACKAGE_TARNAME', 'samba')
+ conf.define('PACKAGE_URL', "")
+ conf.define('PACKAGE_VERSION', "4")
+ conf.define('PACKAGE_BUGREPORT', 'samba-technical@samba.org')
+
conf.DEFINE('_SAMBA_BUILD_', 4)
conf.find_program('python', var='PYTHON', mandatory=True)
conf.find_program('perl', var='PERL', mandatory=True)