summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@gmail.com>2013-01-14 00:09:47 +0000
committerGustavo Sverzut Barbieri <barbieri@gmail.com>2013-01-14 00:09:47 +0000
commitf07856769a0bcece2206fead66e943937998a651 (patch)
treef518d5c8aafe805bcbb3ed5a99956406fbbe46e6
parente21bfbbbb290df5985f33cab9aa695b5578b37b4 (diff)
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
-rw-r--r--configure.ac3
1 files changed, 1 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 55ea725d76..03569be663 100644
--- a/configure.ac
+++ b/configure.ac
@@ -537,7 +537,6 @@ AC_CHECK_FUNCS([\
537backtrace \ 537backtrace \
538backtrace_symbols \ 538backtrace_symbols \
539clearenv \ 539clearenv \
540dirfd \
541execvp \ 540execvp \
542fpathconf \ 541fpathconf \
543fstatat \ 542fstatat \
@@ -551,7 +550,7 @@ strlcpy
551 550
552AC_FUNC_ALLOCA 551AC_FUNC_ALLOCA
553 552
554EFL_CHECK_FUNCS([EFL], [fnmatch gettimeofday]) 553EFL_CHECK_FUNCS([EFL], [fnmatch gettimeofday dirfd])
555 554
556have_atfile_source="${ac_cv_func_fstatat}" 555have_atfile_source="${ac_cv_func_fstatat}"
557AC_DEFINE_IF([HAVE_ATFILE_SOURCE], 556AC_DEFINE_IF([HAVE_ATFILE_SOURCE],