From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: YAMAMOTO Mitsuharu Newsgroups: gmane.emacs.devel Subject: Re: install error on Mac OS X Date: Wed, 08 Nov 2006 17:13:12 +0900 Organization: Faculty of Science, Chiba University 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 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1162973623 8199 80.91.229.2 (8 Nov 2006 08:13:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 8 Nov 2006 08:13:43 +0000 (UTC) Cc: merlyn@stonehenge.com, Jan =?ISO-8859-1?Q?Dj=E4rv?= , rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 08 09:13:37 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 1GhiYt-0007js-4S for ged-emacs-devel@m.gmane.org; Wed, 08 Nov 2006 09:13:31 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GhiYs-0003FG-Gi for ged-emacs-devel@m.gmane.org; Wed, 08 Nov 2006 03:13:30 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GhiYg-0003F7-0z for emacs-devel@gnu.org; Wed, 08 Nov 2006 03:13:18 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GhiYe-0003Ei-Fa for emacs-devel@gnu.org; Wed, 08 Nov 2006 03:13:17 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GhiYe-0003Ef-AT for emacs-devel@gnu.org; Wed, 08 Nov 2006 03:13:16 -0500 Original-Received: from [133.82.132.2] (helo=mathmail.math.s.chiba-u.ac.jp) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GhiYb-0002HO-Sb; Wed, 08 Nov 2006 03:13:14 -0500 Original-Received: from church.math.s.chiba-u.ac.jp (church [133.82.132.36]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id 0CC0A2D03; Wed, 8 Nov 2006 17:13:12 +0900 (JST) Original-To: Andreas Schwab In-Reply-To: User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.6 (Marutamachi) APEL/10.6 Emacs/22.0.90 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) 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:61948 Archived-At: >>>>> On Tue, 07 Nov 2006 12:55:49 +0100, Andreas Schwab s= aid: > Jan Dj=E4rv writes: >> For clarity, and to get rid of the backticks, I would write the for loop >> like this: >>=20 >> 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 Thanks for the comments. They are much cleaner. YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp