From: Gustavo Sverzut Barbieri Date: Mon, 14 Jan 2013 00:09:47 +0000 (+0000) Subject: use our custom version to test dirfd(). X-Git-Tag: submit/devel/efl/20131022.203902~2282 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f07856769a0bcece2206fead66e943937998a651;p=platform%2Fupstream%2Fefl.git use our custom version to test dirfd(). it was reported that AC_CHECK_FUNCS() couldn't work on netbsd because dirfd is a macro and it would not properly evaluate int that traditional test. SVN revision: 82736 --- diff --git a/configure.ac b/configure.ac index 55ea725..03569be 100644 --- a/configure.ac +++ b/configure.ac @@ -537,7 +537,6 @@ AC_CHECK_FUNCS([\ backtrace \ backtrace_symbols \ clearenv \ -dirfd \ execvp \ fpathconf \ fstatat \ @@ -551,7 +550,7 @@ strlcpy AC_FUNC_ALLOCA -EFL_CHECK_FUNCS([EFL], [fnmatch gettimeofday]) +EFL_CHECK_FUNCS([EFL], [fnmatch gettimeofday dirfd]) have_atfile_source="${ac_cv_func_fstatat}" AC_DEFINE_IF([HAVE_ATFILE_SOURCE],