Re: Broken makefile given Autoconf version mismatch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Stepan Kasal <kasal@xxxxxx> writes:

> semicolons cannot be used inside
> curly braces, so you have to write, for example:
>
> sed '/datarootdir/{
> 	p
> 	q
>     }'
>
> IIRC, Autoconf was recently fixed to obey this rule,

Yes, here:

http://lists.gnu.org/archive/html/autoconf-patches/2006-01/msg00005.html

and CVS Automake was fixed at about the same time:

http://lists.gnu.org/archive/html/automake-patches/2006-01/msg00014.html

> sed '/datarootdir/{p
> }'
> is correct according to POSIX, yet I think some implementations are not
> able to parse it.)

Hmm, which would those be?  We should probably document the exact
problem in the Autoconf manual.  I just checked 7th Edition Unix 'sed'
(dated January 1979) and it worked OK.  So these implementations would
either have had a bug introduced, or have been independent of the late
Lee McMahon's original implementation.


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux