summaryrefslogtreecommitdiff
path: root/lib/replace/wscript
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2012-03-24 14:43:21 +0100
committerJelmer Vernooij <jelmer@samba.org>2012-03-24 14:43:21 +0100
commitd4c4cb06c52f6ded7d55d75201fb2107e76c1586 (patch)
tree6f71526793427e4a3f093e07508f2e75eba43196 /lib/replace/wscript
parent1080483319d4eb7a8cdee767fc41f7258e0e2537 (diff)
downloadsamba-d4c4cb06c52f6ded7d55d75201fb2107e76c1586.tar.gz
samba-d4c4cb06c52f6ded7d55d75201fb2107e76c1586.tar.bz2
samba-d4c4cb06c52f6ded7d55d75201fb2107e76c1586.zip
replace: Move memalign() from lib/util/system.c to libreplace.
Diffstat (limited to 'lib/replace/wscript')
-rw-r--r--lib/replace/wscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/replace/wscript b/lib/replace/wscript
index 63944c3800..e1dc1e6a30 100644
--- a/lib/replace/wscript
+++ b/lib/replace/wscript
@@ -69,7 +69,7 @@ def configure(conf):
conf.CHECK_HEADERS('valgrind.h valgrind/valgrind.h valgrind/memcheck.h')
conf.CHECK_HEADERS('nss_common.h nsswitch.h ns_api.h')
conf.CHECK_HEADERS('sys/extattr.h sys/ea.h sys/proplist.h sys/cdefs.h')
- conf.CHECK_HEADERS('utmp.h utmpx.h lastlog.h')
+ conf.CHECK_HEADERS('utmp.h utmpx.h lastlog.h malloc.h')
conf.CHECK_HEADERS('syscall.h sys/syscall.h inttypes.h')
conf.CHECK_TYPES('"long long" intptr_t uintptr_t ptrdiff_t comparison_fn_t')
@@ -168,7 +168,7 @@ def configure(conf):
conf.CHECK_FUNCS('strtok_r mkdtemp dup2 dprintf vdprintf isatty chown lchown')
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('strtouq strtoll __strtoll strtoq memalign posix_memalign')
# libbsd on some platforms provides strlcpy and strlcat
if not conf.CHECK_FUNCS('strlcpy strlcat'):