test -e in configure is unportable
When I tried to build ruby 1.9.2-p290 on Solaris 10 (both SPARC and x86), it failed with an
error in the configure script:
checking for cd using phisical directory... ./configure: test: argument expected
While the typo has been fixed in 1.9.3-p0, the use of test -e is still there. Solaris
10 /bin/sh doesn't support it, it lets the configure script abort immediately, and it is
documented as `avoid/unportable' in the autoconf docs.
Updated by nobu (Nobuyoshi Nakada) almost 10 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100
This issue was solved with changeset r33681.
Rainer, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
- configure.in: should not use test -e for portability. [ruby-core:40841] [Bug #5594]