summaryrefslogtreecommitdiff
path: root/aclocal.m4
diff options
context:
space:
mode:
authorsven.panne@aedion.de <unknown>2007-08-25 11:55:19 +0000
committersven.panne@aedion.de <unknown>2007-08-25 11:55:19 +0000
commit9b568f44572383f07ce0f7bf9ab9478410262475 (patch)
treee6c144430043b8cf05a487317b381ac1d2b5f484 /aclocal.m4
parent49b8105e8d56c90099234e31c32ba3f1643276fe (diff)
downloadhaskell-9b568f44572383f07ce0f7bf9ab9478410262475.tar.gz
Fixed test for pwd executable
Added a missing "test" and replaced the "-e" option of the shell-builtin "test" with "-f". The former is not portable, see autoconf documentation.
Diffstat (limited to 'aclocal.m4')
-rw-r--r--aclocal.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index 12db959bb1..db0904beb0 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -1101,7 +1101,7 @@ AC_MSG_CHECKING(for path to top of build tree)
dnl This would be
dnl make -C utils/pwd clean && make -C utils/pwd
dnl except we don't want to have to know what make is called. Sigh.
-if test ! -e utils/pwd/pwd && ! -e utils/pwd/pwd.exe; then
+if test ! -f utils/pwd/pwd && test ! -f utils/pwd/pwd.exe; then
cd utils/pwd
rm -f *.o
rm -f *.hi