summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@gmail.com>2012-12-31 18:18:00 +0000
committerGustavo Sverzut Barbieri <barbieri@gmail.com>2012-12-31 18:18:00 +0000
commit8ba0561e49183a1421e4eaf5f93d2551d48daae2 (patch)
treecf67aded3d5d4b813c28a9d9de2f4364ed846a58 /m4
parent66ebe6a3f8900173cd706dd03d22624f116b8205 (diff)
downloadefl-8ba0561e49183a1421e4eaf5f93d2551d48daae2.tar.gz
efl: remove lstat and fchmod checks.
- fchmod() was isolated by HAVE_CHMOD, which was always present before... then fchmod() is also present as no errors were reported since its introduction. - fchmod() is POSIX for a while now. - lstat() is POSIX for a while now. - setxattr is supported by EFL_CHECK_FUNCS() as is used by eina. - splice() check added to EFL_CHECK_FUNCS() SVN revision: 81938
Diffstat (limited to 'm4')
-rw-r--r--m4/efl_check_funcs.m413
1 files changed, 13 insertions, 0 deletions
diff --git a/m4/efl_check_funcs.m4 b/m4/efl_check_funcs.m4
index f9319535f4..0356685371 100644
--- a/m4/efl_check_funcs.m4
+++ b/m4/efl_check_funcs.m4
@@ -207,6 +207,19 @@ int fd = shm_open("/dev/null", O_RDONLY, S_IRWXU | S_IRWXG | S_IRWXO);
]])
])
+dnl _EFL_CHECK_FUNC_SPLICE is for internal use
+dnl _EFL_CHECK_FUNC_SPLICE(EFL, VARIABLE)
+AC_DEFUN([_EFL_CHECK_FUNC_SPLICE],
+[EFL_FIND_LIB_FOR_CODE([$1], [], [$2], [[
+#ifdef HAVE_UNISTD_H
+# include <unistd.h>
+#endif
+#include <fcntl.h>
+]], [[
+long ret = splice(0, 0, 1, 0, 400, 0);
+]])
+])
+
dnl Macro that checks function availability
dnl
dnl EFL_CHECK_FUNC(EFL, FUNCTION)