[devel] Additional parameters for %def_with/%def_enable macros

Dmitry V. Levin ldv на altlinux.org
Ср Фев 17 16:43:42 UTC 2010


On Wed, Feb 17, 2010 at 07:17:18PM +0300, Alexey Tourbin wrote:
> On Wed, Feb 17, 2010 at 07:13:34PM +0300, Alexey I. Froloff wrote:
> > On Wed, Feb 17, 2010 at 07:05:25PM +0300, Alexey Tourbin wrote:
> > > Hmm, maybe the same macro can handle both cases?
> > 
> > > %def_with cairo ->
> > > 	--with-cairo
> > > %def_with cairo=installed
> > > 	--with-cairo=installed
> > 
> > How about The Uber Case?
> > 
> > %def_with cairo-libs=%_libdir/cairo ->
> > 	--with-cairo-libs=%_libdir/cairo
> 
> So you're trying to say it can't work.  For now, I can't see why.
> Look, %def_with is a macro, and it has an argument.  The argument
> can be mangled (to make and indentifier).  So...

This argument mangling is probably doable but it would be rather tricky.


-- 
ldv
----------- следующая часть -----------
Было удалено вложение не в текстовом формате...
Имя     : отсутствует
Тип     : application/pgp-signature
Размер  : 198 байтов
Описание: отсутствует
Url     : <http://lists.altlinux.org/pipermail/devel/attachments/20100217/423aa9dd/attachment-0001.bin>


Подробная информация о списке рассылки Devel