From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] Additional parameters for %def_with/%def_enable macros
Date: Wed, 17 Feb 2010 19:43:42 +0300
Message-ID: <20100217164341.GJ26455@wo.int.altlinux.org> (raw)
In-Reply-To: <20100217161718.GD8069@altlinux.org>
[-- Attachment #1: Type: text/plain, Size: 786 bytes --]
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
[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2010-02-17 16:43 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-17 12:06 [devel] Параметры к макросам. was: макрос %subst_enable_to / %subst_with_to Evgeny Sinelnikov
2010-02-17 15:41 ` Dmitry V. Levin
2010-02-17 16:05 ` Alexey Tourbin
2010-02-17 16:13 ` Alexey I. Froloff
2010-02-17 16:17 ` Alexey Tourbin
2010-02-17 16:38 ` Alexey I. Froloff
2010-02-18 16:01 ` Damir Shayhutdinov
2010-02-17 16:43 ` Dmitry V. Levin [this message]
2010-02-17 16:37 ` [devel] Additional parameters for %def_with/%def_enable macros Dmitry V. Levin
2010-02-17 20:26 ` Alexey I. Froloff
2010-02-17 20:53 ` Dmitry V. Levin
2010-02-18 8:41 ` [devel] Параметры к макросам. was: макрос %subst_enable_to / %subst_with_to Evgeny Sinelnikov
2010-03-29 5:32 ` Ildar Mulyukov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100217164341.GJ26455@wo.int.altlinux.org \
--to=ldv@altlinux.org \
--cc=devel@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git