summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-03-29 22:05:54 +1100
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:27:16 +1000
commited5522adf24903a500e3565ea5eb443ed28440cc (patch)
tree6c4d6100c8eba96712d7f4d748893a16215a6f14 /source4
parentb690fedef55bb4bf9ecff07b78d3a14b4d4d6e45 (diff)
downloadsamba-ed5522adf24903a500e3565ea5eb443ed28440cc.tar.gz
samba-ed5522adf24903a500e3565ea5eb443ed28440cc.tar.bz2
samba-ed5522adf24903a500e3565ea5eb443ed28440cc.zip
s4-waf: install in /usr/local/samba by default
Diffstat (limited to 'source4')
-rw-r--r--source4/dynconfig/wscript2
-rw-r--r--source4/wscript4
2 files changed, 5 insertions, 1 deletions
diff --git a/source4/dynconfig/wscript b/source4/dynconfig/wscript
index 616fd01c94..835fc64ad0 100644
--- a/source4/dynconfig/wscript
+++ b/source4/dynconfig/wscript
@@ -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
diff --git a/source4/wscript b/source4/wscript
index 09ce8a3ccc..c9ef96c77d 100644
--- a/source4/wscript
+++ b/source4/wscript
@@ -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')