summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/wscript11
1 files changed, 11 insertions, 0 deletions
diff --git a/source3/wscript b/source3/wscript
index 4df1680a9a..ddfad069df 100644
--- a/source3/wscript
+++ b/source3/wscript
@@ -1257,6 +1257,17 @@ main() {
msg="Checking for the maximum value of the 'time_t' type"):
conf.DEFINE('TIME_T_MAX', '67768036191676799ll')
+ conf.CHECK_CODE('''
+#if defined(HAVE_UNISTD_H)
+#include <unistd.h>
+#endif
+#include <sys/types.h>
+main() { dev_t dev = makedev(1,2); return 0; }
+''',
+ 'HAVE_MAKEDEV',
+ addmain=False,
+ msg='Checking whether the macro for makedev is available')
+
default_static_modules=TO_LIST('''pdb_smbpasswd pdb_tdbsam pdb_wbc_sam
auth_sam auth_unix auth_winbind auth_wbc auth_server
auth_domain auth_builtin vfs_default