summaryrefslogtreecommitdiff
path: root/m4/efl_check_funcs.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/efl_check_funcs.m4')
-rw-r--r--m4/efl_check_funcs.m414
1 files changed, 14 insertions, 0 deletions
diff --git a/m4/efl_check_funcs.m4 b/m4/efl_check_funcs.m4
index b976caa..9edbf08 100644
--- a/m4/efl_check_funcs.m4
+++ b/m4/efl_check_funcs.m4
@@ -235,6 +235,20 @@ long ret = splice(0, 0, 1, 0, 400, 0);
235]]) 235]])
236]) 236])
237 237
238dnl _EFL_CHECK_FUNC_GETPAGESIZE is for internal use
239dnl _EFL_CHECK_FUNC_GETPAGESIZE(EFL, VARIABLE)
240AC_DEFUN([_EFL_CHECK_FUNC_GETPAGESIZE],
241[EFL_FIND_LIB_FOR_CODE([$1], [], [$2], [[
242#ifdef HAVE_UNISTD_H
243# include <unistd.h>
244#endif
245]],
246[[
247long sz;
248sz = getpagesize();
249]])
250])
251
238dnl Macro that checks function availability 252dnl Macro that checks function availability
239dnl 253dnl
240dnl EFL_CHECK_FUNC(EFL, FUNCTION) 254dnl EFL_CHECK_FUNC(EFL, FUNCTION)