[PATCH] Make symlink-mesa.sh Bourne compatible

Joerg Sonnenberger joerg at britannica.bec.de
Sat Mar 8 14:04:31 PST 2008

On Sat, Mar 08, 2008 at 01:27:07PM -0800, Dan Nicholson wrote:
> On Sat, Mar 8, 2008 at 1:21 PM, Joerg Sonnenberger
> <joerg at britannica.bec.de> wrote:
> > On Sat, Mar 08, 2008 at 01:06:39PM -0800, Dan Nicholson wrote:
> >  > Not exactly a ringing endorsement for portability. You still haven't
> >  > said what's wrong with using the portable autoconf way.
> >
> >  I don't think it is more portable. I strongly think that is obscure.
> >  I know that printf works as intended on Solaris, HP-UX, IRIX, AIX and
> >  any post-4.4BSD. Does that leave any platform of relevance?
> The $ECHO_N, $ECHO_C method is used on _every_ autoconf generated
> configure script. Take a look. What's receives wider testing than
> that? So, somehow in the middle of running configure, this method will
> start to fail?

ECHO_C is a lot more obscure than printf. I have hacked enough autoconf
to know that it does a lot of stupid things for platforms that are
literally dead. So yes, printf is the cleaner solution and I don't think
any system that can still compile enough code to worry about the X11
server doesn't have it.


More information about the xorg mailing list