From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: install error on Mac OS X Date: Tue, 07 Nov 2006 12:55:49 +0100 Message-ID: References: <86ac3cqbna.fsf@rakim.cfhp.org> <20061101.090235.63826615.kazu@iij.ad.jp> <86fyd2knb3.fsf@blue.stonehenge.com> <86wt6cnya2.fsf@blue.stonehenge.com> <45503535.80800@swipnet.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1162900617 32474 80.91.229.2 (7 Nov 2006 11:56:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 7 Nov 2006 11:56:57 +0000 (UTC) Cc: merlyn@stonehenge.com, rms@gnu.org, YAMAMOTO Mitsuharu , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 07 12:56:54 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GhPZQ-0007Z2-Mn for ged-emacs-devel@m.gmane.org; Tue, 07 Nov 2006 12:56:49 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GhPZQ-0008CK-87 for ged-emacs-devel@m.gmane.org; Tue, 07 Nov 2006 06:56:48 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GhPZ8-00089o-Ts for emacs-devel@gnu.org; Tue, 07 Nov 2006 06:56:30 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GhPZ4-00088q-9Z for emacs-devel@gnu.org; Tue, 07 Nov 2006 06:56:30 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GhPZ4-00088n-55 for emacs-devel@gnu.org; Tue, 07 Nov 2006 06:56:26 -0500 Original-Received: from [195.135.220.15] (helo=mx2.suse.de) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GhPYs-00064e-BH; Tue, 07 Nov 2006 06:56:15 -0500 Original-Received: from Relay1.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id E5F4D20FDB; Tue, 7 Nov 2006 12:56:07 +0100 (CET) Original-To: Jan =?iso-8859-1?Q?Dj=E4rv?= X-Yow: Am I in GRADUATE SCHOOL yet? In-Reply-To: <45503535.80800@swipnet.se> (Jan =?iso-8859-1?Q?Dj=E4rv's?= message of "Tue, 07 Nov 2006 08:26:45 +0100") User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:61898 Archived-At: Jan Dj=E4rv writes: > For clarity, and to get rid of the backticks, I would write the for loo= p > like this: > > for var in with_x with_x_toolkit with_gtk with_xim \ > with_xpm with_jpeg with_tiff with_gif with_png; do > eval "x=3D\${$var+set}"; > if test "$x" =3D set; then Or even this: if eval test \"\${$var+set}\" =3D set; then Andreas. --=20 Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstra=DFe 5, 90409 N=FCrnberg, Germany PGP key fingerprint =3D 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED= 5 "And now for something completely different."