summaryrefslogtreecommitdiff
path: root/m4/efl_check_funcs.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/efl_check_funcs.m4
parent66ebe6a3f8900173cd706dd03d22624f116b8205 (diff)
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/efl_check_funcs.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 f931953..0356685 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);
207]]) 207]])
208]) 208])
209 209
210dnl _EFL_CHECK_FUNC_SPLICE is for internal use
211dnl _EFL_CHECK_FUNC_SPLICE(EFL, VARIABLE)
212AC_DEFUN([_EFL_CHECK_FUNC_SPLICE],
213[EFL_FIND_LIB_FOR_CODE([$1], [], [$2], [[
214#ifdef HAVE_UNISTD_H
215# include <unistd.h>
216#endif
217#include <fcntl.h>
218]], [[
219long ret = splice(0, 0, 1, 0, 400, 0);
220]])
221])
222
210dnl Macro that checks function availability 223dnl Macro that checks function availability
211dnl 224dnl
212dnl EFL_CHECK_FUNC(EFL, FUNCTION) 225dnl EFL_CHECK_FUNC(EFL, FUNCTION)