use our custom version to test dirfd().
authorGustavo Sverzut Barbieri <barbieri@gmail.com>
Mon, 14 Jan 2013 00:09:47 +0000 (00:09 +0000)
committerGustavo Sverzut Barbieri <barbieri@gmail.com>
Mon, 14 Jan 2013 00:09:47 +0000 (00:09 +0000)
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

configure.ac

index 55ea725..03569be 100644 (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],