aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-02-12 18:34:06 -0500
committerMike Frysinger <vapier@gentoo.org>2009-02-12 18:47:21 -0500
commit0c93216363511f5d24bba0ece697b32d59bd78fa (patch)
tree4e158bb160e0be2901070c0ab1211a7f5188cd26 /configure.ac
parentsandbox: check signal returns and allow SIGHUP to be ignored (diff)
downloadsandbox-0c93216363511f5d24bba0ece697b32d59bd78fa.tar.gz
sandbox-0c93216363511f5d24bba0ece697b32d59bd78fa.tar.bz2
sandbox-0c93216363511f5d24bba0ece697b32d59bd78fa.zip
disable tests for unavailable funcs
Not all systems implement the full range of functions we wrap, so we shouldn't require them in the test suite either. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac17
1 files changed, 17 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index b44b02d..7b17318 100644
--- a/configure.ac
+++ b/configure.ac
@@ -90,16 +90,28 @@ AC_TYPE_SIGNAL
AC_FUNC_STAT
AC_CHECK_FUNCS_ONCE([ \
backtrace \
+ faccessat \
+ fchmodat \
+ fchownat \
ftruncate \
+ futimesat \
getcwd \
lchown \
+ linkat \
+ lutimes \
memmove \
memcpy \
memset \
mkdir \
+ mkdirat \
+ mkfifoat \
+ mknodat \
+ openat \
+ openat64 \
pathconf \
realpath \
remove \
+ renameat \
rmdir \
setenv \
strcasecmp \
@@ -111,6 +123,11 @@ AC_CHECK_FUNCS_ONCE([ \
strspn \
strstr \
strtok_r \
+ symlinkat \
+ unlinkat \
+ utime \
+ utimensat \
+ utimes \
])
AC_CHECK_LIB([sigsegv], [stackoverflow_install_handler],
[HAVE_LIBSIGSEGV=true],