summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-03-26 17:17:38 +1100
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:27:08 +1000
commit8b14d217c4a6912f85889f146cc3281ac4c7a0dc (patch)
tree0d89caea41ed1bdde4599e7691eb8bd8e0b0429c /lib
parent03bf6c9d3b9e7ba5a26c307aae10f48a5c2d8865 (diff)
downloadsamba-8b14d217c4a6912f85889f146cc3281ac4c7a0dc.tar.gz
samba-8b14d217c4a6912f85889f146cc3281ac4c7a0dc.tar.bz2
samba-8b14d217c4a6912f85889f146cc3281ac4c7a0dc.zip
s4-waf: fdatasync is in librt on solaris8
Diffstat (limited to 'lib')
-rw-r--r--lib/replace/wscript4
-rw-r--r--lib/tdb/wscript2
2 files changed, 4 insertions, 2 deletions
diff --git a/lib/replace/wscript b/lib/replace/wscript
index 8e3d9912e4..57b6e22e3f 100644
--- a/lib/replace/wscript
+++ b/lib/replace/wscript
@@ -111,7 +111,7 @@ def configure(conf):
conf.CHECK_FUNCS('ftruncate chsize rename waitpid wait4 strlcpy strlcat')
conf.CHECK_FUNCS('initgroups pread pwrite strndup strcasestr')
conf.CHECK_FUNCS('strtok_r mkdtemp dup2 dprintf vdprintf isatty chown lchown')
- conf.CHECK_FUNCS('link readlink symlink realpath fdatasync snprintf vsnprintf')
+ conf.CHECK_FUNCS('link readlink symlink realpath snprintf vsnprintf')
conf.CHECK_FUNCS('asprintf vasprintf setenv unsetenv strnlen strtoull __strtoull')
conf.CHECK_FUNCS('strtouq strtoll __strtoll strtoq')
conf.CHECK_FUNCS('if_nametoindex strerror_r')
@@ -125,6 +125,8 @@ def configure(conf):
checklibc=True, headers='dlfcn.h dl.h')
conf.CHECK_FUNCS_IN('poptGetContext', 'popt')
+ conf.CHECK_FUNCS_IN('fdatasync', 'rt', checklibc=True)
+
# these headers need to be tested as a group on freebsd
conf.CHECK_HEADERS(headers='sys/socket.h net/if.h', together=True)
conf.CHECK_HEADERS(headers='netinet/in.h arpa/nameser.h resolv.h', together=True)
diff --git a/lib/tdb/wscript b/lib/tdb/wscript
index 7a67c20dae..b8927973a0 100644
--- a/lib/tdb/wscript
+++ b/lib/tdb/wscript
@@ -27,7 +27,7 @@ def build(bld):
bld.SAMBA_LIBRARY('tdb',
COMMON_SRC,
- deps='replace',
+ deps='replace rt',
includes='include',
vnum=VERSION)