Commit 9b568f44 authored by's avatar
Browse files

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.
parent 49b8105e
......@@ -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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment