s4-waf: install in /usr/local/samba by default
authorAndrew Tridgell <tridge@samba.org>
Mon, 29 Mar 2010 11:05:54 +0000 (22:05 +1100)
committerAndrew Tridgell <tridge@samba.org>
Tue, 6 Apr 2010 10:27:16 +0000 (20:27 +1000)
source4/dynconfig/wscript
source4/wscript

index 616fd01c9453b6a3559d77a1fdb222a813f14362..835fc64ad0b126758a741672c28ee7b4cdab49f8 100644 (file)
@@ -1,6 +1,6 @@
 #!/usr/bin/env python
 
-import string, Utils, Options
+import string, Utils, Options, sys
 from samba_utils import EXPAND_VARIABLES
 
 # list of directory options to offer in configure
index 09ce8a3ccc1bad62126998a345bb7c8ac965fa8c..c9ef96c77d56416de68b9bb5004b1b8c67caf668 100644 (file)
@@ -7,6 +7,10 @@ import sys, os
 sys.path.insert(0, srcdir+"/buildtools/wafsamba")
 import wafsamba, Options
 
+# install in /usr/local/samba by default
+Options.default_prefix = '/usr/local/samba'
+
+
 def set_options(opt):
     opt.BUILTIN_DEFAULT('NONE')
     opt.BUNDLED_EXTENSION_DEFAULT('samba4')