From: Jim Meyering Date: Mon, 27 May 2002 15:09:29 +0000 (+0000) Subject: (jm_FUNC_READDIR): Undefine `rmdir' so we don't try to X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1787be8861172ecc7e09b70b0047cd6f92eeb0e0;p=pspp (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. --- diff --git a/m4/readdir.m4 b/m4/readdir.m4 index fc1dcacd02..d6da048252 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) {