This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: PR other/17637: Top level configure doesn't support symlinks
- From: Ian Lance Taylor <ian at wasabisystems dot com>
- To: "H. J. Lu" <hjl at lucon dot org>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: 23 Sep 2004 14:12:49 -0400
- Subject: Re: PATCH: PR other/17637: Top level configure doesn't support symlinks
- References: <20040923180009.GA4259@lucon.org>
"H. J. Lu" <hjl@lucon.org> writes:
> - if test x${SHELL} != x && test -f ${SHELL} ; then
> + if test x${SHELL} != x && test -e ${SHELL} ; then
test -e is not highly portable. test -r is better.
But test -f works on symlinks anyhow, so there must be some other
problem.
Ian