[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gnulib-tool and line length: gl_LIBOBJS
From: |
Ralf Wildenhues |
Subject: |
Re: gnulib-tool and line length: gl_LIBOBJS |
Date: |
Mon, 29 Jan 2007 20:33:45 +0100 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
* Bruno Haible wrote on Sun, Jan 28, 2007 at 05:00:08PM CET:
> Ralf Wildenhues wrote:
>
> > > Adding newlines and backslashes to an AC_SUBSTed value limits its use: It
> > > can only be used in particular places of Makefiles.
> >
> > Which other places do you need gl_LIBOBJ at? Sorry, I fail to see the
> > problem here.
>
> The problem is maintainability (someday we may want to use @gl_LIBOBJS@
> directly in the statements of a Makefile rule, for example), and walking
> on thin ice (newlines and backslashes inside AC_SUBSTed values are risky).
You can simply use $(gl_LIBOBJS) instead of @address@hidden Problem
solved: backslash-newline outside of a rule command line is replaced
with a single space by 'make'. In the long run you are IMVHO hindering
maintainability by allowing such usages now, instead of having them
found early and eliminated.
But I'll stop insisting now, do as you please. ;-)
Cheers,
Ralf