Fixed test for pwd executable
authorsven.panne@aedion.de <unknown>
Sat, 25 Aug 2007 11:55:19 +0000 (11:55 +0000)
committersven.panne@aedion.de <unknown>
Sat, 25 Aug 2007 11:55:19 +0000 (11:55 +0000)
Added a missing "test" and replaced the "-e" option of the shell-builtin
"test" with "-f". The former is not portable, see autoconf documentation.

aclocal.m4

index 12db959..db0904b 100644 (file)
@@ -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