Test for the dirfd library function (for use in some upcoming

changes).
This commit is contained in:
Gregory P. Smith 2012-01-16 02:05:23 -08:00
parent dc224f82c0
commit 4188441f96
2 changed files with 4 additions and 1 deletions

View File

@ -2587,7 +2587,7 @@ AC_MSG_RESULT(MACHDEP_OBJS)
# checks for library functions
AC_CHECK_FUNCS(alarm accept4 setitimer getitimer bind_textdomain_codeset chown \
clock confstr ctermid execv fchmod fchown fork fpathconf ftime ftruncate \
clock confstr ctermid dirfd execv fchmod fchown fork fpathconf ftime ftruncate \
gai_strerror getgroups getlogin getloadavg getpeername getpgid getpid \
getpriority getresuid getresgid getpwent getspnam getspent getsid getwd \
initgroups kill killpg lchmod lchown lstat mbrtowc mkfifo mknod mktime \

View File

@ -178,6 +178,9 @@
*/
#undef HAVE_DIRENT_H
/* Define to 1 if you have the `dirfd' function. */
#undef HAVE_DIRFD
/* Define to 1 if you have the <dlfcn.h> header file. */
#undef HAVE_DLFCN_H