summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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')