summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-01-30 08:21:02 +0000
committerJim Meyering <jim@meyering.net>2001-01-30 08:21:02 +0000
commit629c01e2c2844f37061b62992c69edd81473a620 (patch)
tree1e982d58b791e756c9919fd3914ac7a8a3055679 /m4
parent5326a0b265055272e5980019e0dc6a97ef94f6e3 (diff)
downloadcoreutils-629c01e2c2844f37061b62992c69edd81473a620.tar.xz
s/conftestdir/conftest.d1/ and s/conftestdir2/conftest.d2/.
Diffstat (limited to 'm4')
-rw-r--r--m4/rename.m410
1 files changed, 5 insertions, 5 deletions
diff --git a/m4/rename.m4 b/m4/rename.m4
index 50a715ee9..ba76240fd 100644
--- a/m4/rename.m4
+++ b/m4/rename.m4
@@ -1,4 +1,4 @@
-#serial 1
+#serial 2
dnl From Volker Borchert.
dnl Determine whether rename works for source paths with a trailing slash.
@@ -13,15 +13,15 @@ AC_DEFUN(vb_FUNC_RENAME,
AC_CACHE_CHECK([whether rename is broken],
vb_cv_func_rename_trailing_slash_bug,
[
- rm -rf conftestdir conftestdir2
- mkdir conftestdir ||
+ rm -rf conftest.d1 conftest.d2
+ mkdir conftest.d1 ||
AC_MSG_ERROR([cannot create temporary directory])
AC_TRY_RUN([
# include <stdio.h>
int
main ()
{
- exit (rename ("conftestdir/", "conftestdir2") ? 1 : 0);
+ exit (rename ("conftest.d1/", "conftest.d2") ? 1 : 0);
}
],
vb_cv_func_rename_trailing_slash_bug=no,
@@ -29,7 +29,7 @@ AC_DEFUN(vb_FUNC_RENAME,
dnl When crosscompiling, assume rename is broken.
vb_cv_func_rename_trailing_slash_bug=yes)
- rm -rf conftestdir conftestdir2
+ rm -rf conftest.d1 conftest.d2
])
if test $vb_cv_func_rename_trailing_slash_bug = yes; then
AC_LIBOBJ(rename)