diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 1999-11-29 00:15:53 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 1999-11-29 00:15:53 +0000 |
commit | f8e906a83c3595d9b3b27679552f0fd50be9af0c (patch) | |
tree | 42eb41da3b98677560cc952b173f76640f2e4037 /m4 | |
parent | bc4aaeea3e4228be8f328e84e395875d736aa341 (diff) | |
download | ATCD-f8e906a83c3595d9b3b27679552f0fd50be9af0c.tar.gz |
ChangeLogTag:Sun Nov 28 18:09:49 1999 Ossama Othman <othman@cs.wustl.edu>
Diffstat (limited to 'm4')
-rw-r--r-- | m4/acinclude.m4 | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/m4/acinclude.m4 b/m4/acinclude.m4 index 3ae6fd35f1e..542a7a0857b 100644 --- a/m4/acinclude.m4 +++ b/m4/acinclude.m4 @@ -95,9 +95,11 @@ AC_DEFUN(ACE_USE_TEMP_FILE, dnl touch ${srcdir}/$1 fi - if test -f ./$1; then - mv ./$1 ./$1.conf - touch ./$1 + if test $srcdir != "."; then + if test -f ./$1; then + mv ./$1 ./$1.conf + touch ./$1 + fi fi $2 @@ -108,10 +110,12 @@ AC_DEFUN(ACE_USE_TEMP_FILE, dnl rm ${srcdir}/$1 fi - if test -f ./$1.conf; then - mv ./$1.conf ./$1 - else - rm ./$1 + if test $srcdir != "."; then + if test -f ./$1.conf; then + mv ./$1.conf ./$1 + else + rm ./$1 + fi fi ]) |