Re: [PATCH] canonicalize-lgpl: work around AIX realpath bug

2011-06-06 Thread Eric Blake
On 06/06/2011 05:11 PM, Bruno Haible wrote: > Eric Blake wrote: >> +rm -Rf conftest.a conftest.d > >rm -rf conftest.a conftest.d > > would be more portable, I think: The autoconf documentation mentions > > `rm' >The `-f' and `-r' options are portable. > > whereas it does n

Re: [PATCH] canonicalize-lgpl: work around AIX realpath bug

2011-06-06 Thread Bruno Haible
Eric Blake wrote: > +    rm -Rf conftest.a conftest.d rm -rf conftest.a conftest.d would be more portable, I think: The autoconf documentation mentions `rm' The `-f' and `-r' options are portable. whereas it does not say that '-R' is portable. Bruno -- In memoriam Robert F. Ke

[PATCH] canonicalize-lgpl: work around AIX realpath bug

2011-06-06 Thread Eric Blake
AIX 7.1 realpath() gets horribly confused by consecutive / in the name to be resolved. * m4/canonicalize.m4 (gl_FUNC_REALPATH_WORKS): Expose AIX bug. * doc/posix-functions/realpath.texi (realpath): Document it. Reported by Bruno Haible. Signed-off-by: Eric Blake --- Not too hard, once I actuall