summaryrefslogtreecommitdiff
path: root/legacy/eina/configure.ac
diff options
context:
space:
mode:
authorJoerg Sonnenberger <joerg@britannica.bec.de>2011-12-05 10:17:57 +0000
committerCarsten Haitzler <raster@rasterman.com>2011-12-05 10:17:57 +0000
commit30af9a785fb22460593fa986a0afa85de7ff08a3 (patch)
treeebf546ba7bca9a833a9e68f674392503b62b0251 /legacy/eina/configure.ac
parent6865d04e5e8b22e050317c8a5d5f2305434fc436 (diff)
From: Joerg Sonnenberger <joerg@britannica.bec.de>
Subject: [E-devel] eina 1.1.0beta patches for/from pkgsrc Several patches to fix warnings and potential on netbsd/solaris. minor so i think i'll skip changelog for this. SVN revision: 65898
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=""