forked from enlightenment/efl
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:
parent
e21bfbbbb2
commit
f07856769a
|
@ -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],
|
||||
|
|
Loading…
Reference in New Issue