summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorCedric BAIL <cedric@efl.so>2013-11-10 09:25:16 +0100
committerCedric BAIL <cedric@efl.so>2013-11-10 09:25:16 +0100
commitecaca1d365b998b3e339b387897c0646b2b3556f (patch)
tree83867cd16388a17448756507cf93ca9d4be54eac /m4
parent35228f32f189f90975729ca2dd0f3755f0e3db03 (diff)
eina: detect page size in a portable way.
Diffstat (limited to '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)