build: emulate autoconf PACKAGE_* variables
authorAndrew Tridgell <tridge@samba.org>
Sun, 7 Mar 2010 13:25:22 +0000 (00:25 +1100)
committerAndrew Tridgell <tridge@samba.org>
Tue, 6 Apr 2010 10:26:46 +0000 (20:26 +1000)
source4/wscript

index 68ea1e02f044abf8dc3503dbf45e35eca4ec05f3..ca2cd68c6a7909eedbce12a2c2627ab542abea26 100644 (file)
@@ -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)