From: sven.panne@aedion.de Date: Sat, 25 Aug 2007 11:55:19 +0000 (+0000) Subject: Fixed test for pwd executable X-Git-Tag: Before_type_family_merge~11 X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=9b568f44572383f07ce0f7bf9ab9478410262475;ds=sidebyside 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. --- diff --git a/aclocal.m4 b/aclocal.m4 index 12db959..db0904b 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