From: Jim Meyering Date: Tue, 30 Nov 2004 14:52:21 +0000 (+0000) Subject: rename to chdir-long.m4 X-Git-Tag: v5.3.0~268 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f024a1430155abd621ef40a17ea88ae3bc71a03;p=thirdparty%2Fcoreutils.git rename to chdir-long.m4 --- diff --git a/m4/chdir.m4 b/m4/chdir.m4 deleted file mode 100644 index 2b2ef2050e..0000000000 --- a/m4/chdir.m4 +++ /dev/null @@ -1,30 +0,0 @@ -#serial 1 - -# Written by Jim Meyering. -# Use Gnulib's robust replacement chdir function. -# It can handle arbitrarily long directory names, which means -# that when it is given the name of an existing directory, it -# never fails with ENAMETOOLONG. -# -# FIXME: we don't really want to use this function on systems that -# do not define PATH_MAX... -# -# It still fails with ENAMETOOLONG if the specified directory -# name contains a component that would provoke such a failure -# all by itself (e.g. if the component is longer than PATH_MAX -# on systems that define PATH_MAX). - -AC_DEFUN([gl_FUNC_CHDIR], -[ - AC_LIBOBJ([chdir]) - AC_DEFINE([__CHDIR_PREFIX], [[rpl_]], - [Define to rpl_ if the chdir replacement function should be used.]) - gl_PREREQ_CHDIR -]) - -AC_DEFUN([gl_PREREQ_CHDIR], -[ - AM_STDBOOL_H - gl_FUNC_MEMPCPY - gl_FUNC_OPENAT -])