From fc1018de0edbd2c7f03b3a47d311aa0a198f9688 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 27 May 2002 15:09:29 +0000 Subject: (jm_FUNC_READDIR): Undefine `rmdir' so we don't try to use the replacement function; it wouldn't resolve at link time. Reported by Volker Borchert. --- m4/readdir.m4 | 3 +++ 1 file changed, 3 insertions(+) (limited to 'm4') diff --git a/m4/readdir.m4 b/m4/readdir.m4 index fc1dcacd0..d6da04825 100644 --- a/m4/readdir.m4 +++ b/m4/readdir.m4 @@ -50,6 +50,9 @@ AC_CACHE_CHECK([for working readdir], jm_cv_func_working_readdir, (Basename[0] == '.' && (Basename[1] == '\0' \ || (Basename[1] == '.' && Basename[2] == '\0'))) +/* Don't try to use replacement rmdir; it wouldn't resolve at link time. */ +# undef rmdir + static void create_300_file_dir (const char *dir) { -- cgit v1.2.3-70-g09d2