From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Wed, 17 Feb 2010 19:43:42 +0300 From: "Dmitry V. Levin" To: ALT Devel discussion list Message-ID: <20100217164341.GJ26455@wo.int.altlinux.org> Mail-Followup-To: ALT Devel discussion list References: <921f6bb41002170406i1dfa43bbn4a6afee0a19840ba@mail.gmail.com> <20100217154153.GE26455@wo.int.altlinux.org> <20100217160525.GC8069@altlinux.org> <20100217161334.GA17407@altlinux.org> <20100217161718.GD8069@altlinux.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="nywXBoy70X0GaB8B" Content-Disposition: inline In-Reply-To: <20100217161718.GD8069@altlinux.org> X-fingerprint: FE4C 93AB E19A 2E4C CB5D 3E4E 7CAB E6AC 9E35 361E Subject: Re: [devel] Additional parameters for %def_with/%def_enable macros X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Feb 2010 16:43:42 -0000 Archived-At: List-Archive: List-Post: --nywXBoy70X0GaB8B Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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? > >=20 > > > %def_with cairo -> > > > --with-cairo > > > %def_with cairo=3Dinstalled > > > --with-cairo=3Dinstalled > >=20 > > How about The Uber Case? > >=20 > > %def_with cairo-libs=3D%_libdir/cairo -> > > --with-cairo-libs=3D%_libdir/cairo >=20 > 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. --=20 ldv --nywXBoy70X0GaB8B Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAkt8HL0ACgkQfKvmrJ41Nh6TLwCgubFyAfY6/l+uLIqHuh1cQuYv fC4AoLOOMXlBjckJr8H5u21lR/LTOagF =fvos -----END PGP SIGNATURE----- --nywXBoy70X0GaB8B--