From 1005a187732bafefc0867ea6935bb3ea5288a536 Mon Sep 17 00:00:00 2001 From: sof Date: Fri, 4 Jan 2002 10:54:21 +0000 Subject: [PATCH] [project @ 2002-01-04 10:54:20 by sof] add feature test for readdir_r() --- configure.in | 2 +- mk/config.h.in | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/configure.in b/configure.in index 0f124a6..f995010 100644 --- a/configure.in +++ b/configure.in @@ -862,7 +862,7 @@ AC_CHECK_FUNCS(pclose _pclose ) dnl ** check for specific library functions that we are interested in -AC_CHECK_FUNCS(access ftime getclock getpagesize getrusage gettimeofday mktime mprotect readlink setitimer stat lstat symlink sysconf timelocal times vadvise vfork localtime_r gmtime_r) +AC_CHECK_FUNCS(access ftime getclock getpagesize getrusage gettimeofday mktime mprotect readlink setitimer stat lstat symlink sysconf timelocal times vadvise vfork localtime_r gmtime_r readdir_r) dnl ** check whether this machine has gmp3 installed AC_CHECK_LIB(gmp, __gmpz_fdiv_qr, HaveLibGmp=YES; LibGmp=gmp, diff --git a/mk/config.h.in b/mk/config.h.in index bc74c01..9c53896 100644 --- a/mk/config.h.in +++ b/mk/config.h.in @@ -406,6 +406,9 @@ /* Define if you have the header file. */ #undef HAVE_PWD_H +/* Define if you have the `readdir_r' function. */ +#undef HAVE_READDIR_R + /* Define if you have the `readlink' function. */ #undef HAVE_READLINK -- 1.7.10.4