[devel] Параметры к макросам. was: макрос %subst_enable_to / %subst_with_to

Alexey Tourbin at на altlinux.ru
Ср Фев 17 16:17:18 UTC 2010


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


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