Mercurial > hg > octave-lyh > gnulib-hg
changeset 3145:58b59c60ac7c
s/conftestdir/conftest.d1/ and s/conftestdir2/conftest.d2/.
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Tue, 30 Jan 2001 08:21:02 +0000 |
parents | c295ad0d8ca7 |
children | e1ca4e129ba9 |
files | m4/rename.m4 |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- 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_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 @@ 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)