Add a test for the dirfd library function (to be used in an upcoming

change).  configure will be regenerated in the next commit.
This commit is contained in:
Gregory P. Smith 2012-01-16 02:09:11 -08:00
commit 30c8a11836
2 changed files with 4 additions and 1 deletions

View File

@ -2562,7 +2562,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 faccessat fchmod fchmodat fchown fchownat \
clock confstr ctermid dirfd execv faccessat fchmod fchmodat fchown fchownat \
fexecve fdopendir fork fpathconf fstatat ftime ftruncate futimesat \
futimens futimes gai_strerror \
getgrouplist getgroups getlogin getloadavg getpeername getpgid getpid \

View File

@ -181,6 +181,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