From 629c01e2c2844f37061b62992c69edd81473a620 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 30 Jan 2001 08:21:02 +0000 Subject: s/conftestdir/conftest.d1/ and s/conftestdir2/conftest.d2/. --- m4/rename.m4 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'm4') 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 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) -- cgit v1.2.3-70-g09d2