summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2002-05-27 15:09:29 +0000
committerJim Meyering <jim@meyering.net>2002-05-27 15:09:29 +0000
commitfc1018de0edbd2c7f03b3a47d311aa0a198f9688 (patch)
treef521d683ba4996b18483401764f1a9da7b62f4c4
parent7ec9be427c1c3ee4230a5ad0eb3c3e7283d7a9cb (diff)
downloadcoreutils-fc1018de0edbd2c7f03b3a47d311aa0a198f9688.tar.xz
(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.
-rw-r--r--m4/readdir.m43
1 files changed, 3 insertions, 0 deletions
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)
{