summaryrefslogtreecommitdiff
path: root/m4/efl_check_funcs.m4
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@profusion.mobi>2013-01-10 20:25:26 +0000
committerLucas De Marchi <lucas.demarchi@profusion.mobi>2013-01-10 20:25:26 +0000
commitdb395ef7eb4cb31a1ba81175e703d8409ebd36ca (patch)
treeda311328dc428f4b9f392e85ec3899417d8daca0 /m4/efl_check_funcs.m4
parent3dc661e710f4f056a376ce18a9ea0e7cceeb4200 (diff)
efl: Remove check for unistd.h
* unistd.h: is very useful, very old and very standard. SVN revision: 82577
Diffstat (limited to 'm4/efl_check_funcs.m4')
-rw-r--r--m4/efl_check_funcs.m44
1 files changed, 1 insertions, 3 deletions
diff --git a/m4/efl_check_funcs.m4 b/m4/efl_check_funcs.m4
index 0356685..59a38f7 100644
--- a/m4/efl_check_funcs.m4
+++ b/m4/efl_check_funcs.m4
@@ -211,9 +211,7 @@ dnl _EFL_CHECK_FUNC_SPLICE is for internal use
211dnl _EFL_CHECK_FUNC_SPLICE(EFL, VARIABLE) 211dnl _EFL_CHECK_FUNC_SPLICE(EFL, VARIABLE)
212AC_DEFUN([_EFL_CHECK_FUNC_SPLICE], 212AC_DEFUN([_EFL_CHECK_FUNC_SPLICE],
213[EFL_FIND_LIB_FOR_CODE([$1], [], [$2], [[ 213[EFL_FIND_LIB_FOR_CODE([$1], [], [$2], [[
214#ifdef HAVE_UNISTD_H 214#include <unistd.h>
215# include <unistd.h>
216#endif
217#include <fcntl.h> 215#include <fcntl.h>
218]], [[ 216]], [[
219long ret = splice(0, 0, 1, 0, 400, 0); 217long ret = splice(0, 0, 1, 0, 400, 0);