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
This commit is contained in:
Gustavo Sverzut Barbieri 2013-01-14 00:09:47 +00:00
parent e21bfbbbb2
commit f07856769a
1 changed files with 1 additions and 2 deletions

View File

@ -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],