summaryrefslogtreecommitdiff
path: root/legacy/eina/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'legacy/eina/configure.ac')
-rw-r--r--legacy/eina/configure.ac20
1 files changed, 19 insertions, 1 deletions
diff --git a/legacy/eina/configure.ac b/legacy/eina/configure.ac
index 68c1c50fcd..31e2996ae3 100644
--- a/legacy/eina/configure.ac
+++ b/legacy/eina/configure.ac
@@ -469,7 +469,25 @@ EFL_LINKER_FLAG([-fno-strict-aliasing])
469### Checks for library functions 469### Checks for library functions
470AC_ISC_POSIX 470AC_ISC_POSIX
471AC_FUNC_ALLOCA 471AC_FUNC_ALLOCA
472AC_CHECK_FUNCS([strlcpy dirfd openat fstatat fpathconf execvp]) 472AC_CHECK_FUNCS([strlcpy openat fstatat fpathconf execvp])
473
474AC_MSG_CHECKING([dirfd])
475AC_LINK_IFELSE([
476
477#include <dirent.h>
478
479DIR *dirp;
480
481int
482main(void)
483{
484 return dirfd(dirp);
485}
486], [ AC_MSG_RESULT([yes])
487 AC_DEFINE([HAVE_DIRFD], 1, [ Define to 1 if you have the `dirfd' function or macro. ])
488 ],
489 [ AC_MSG_RESULT([no])]
490)
473 491
474# dlopen and dladdr 492# dlopen and dladdr
475dlopen_libs="" 493dlopen_libs=""