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 | 60d9c22a3a4c305093db3c48823bfa12673914eb (patch) | |
tree | 42eb41da3b98677560cc952b173f76640f2e4037 /m4/acinclude.m4 | |
parent | 2a62059f9696f12ebfcdd4b5d25f871c15e936c0 (diff) | |
download | ATCD-60d9c22a3a4c305093db3c48823bfa12673914eb.tar.gz |
ChangeLogTag:Sun Nov 28 18:09:49 1999 Ossama Othman <othman@cs.wustl.edu>
Diffstat (limited to 'm4/acinclude.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 ]) |