From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.devel Subject: Re: configure and freetype, etc. under non-X Date: Wed, 25 Feb 2009 14:37:53 -0500 Message-ID: <9d8wnu48a6.fsf@fencepost.gnu.org> References: <3416C46E-796D-4DCD-9308-43E6359A2F0A@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1235590877 2868 80.91.229.12 (25 Feb 2009 19:41:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 25 Feb 2009 19:41:17 +0000 (UTC) Cc: emacs-devel@gnu.org To: Adrian Robert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 25 20:42:33 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LcPeH-0006sg-Ry for ged-emacs-devel@m.gmane.org; Wed, 25 Feb 2009 20:42:30 +0100 Original-Received: from localhost ([127.0.0.1]:52165 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LcPcx-0002YA-48 for ged-emacs-devel@m.gmane.org; Wed, 25 Feb 2009 14:41:07 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LcPc6-0002A0-Bx for emacs-devel@gnu.org; Wed, 25 Feb 2009 14:40:14 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LcPc3-00027r-Jz for emacs-devel@gnu.org; Wed, 25 Feb 2009 14:40:12 -0500 Original-Received: from [199.232.76.173] (port=41647 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LcPc2-00027V-Hp for emacs-devel@gnu.org; Wed, 25 Feb 2009 14:40:10 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]:54383) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LcPc2-00056i-7D for emacs-devel@gnu.org; Wed, 25 Feb 2009 14:40:10 -0500 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1LcPZp-0000LR-SJ; Wed, 25 Feb 2009 14:37:53 -0500 X-Spook: afsatcom CDC Europol BRLO PGP plutonium Kosovo counter X-Ran: cG78kXj|=bh5Pt"vWJNasV2~2T8{mzPT1vbys5$Tu1pu~NcY$S+<}$d8`hU2P&c)0L+9:+ X-Hue: cyan X-Attribution: GM In-Reply-To: <3416C46E-796D-4DCD-9308-43E6359A2F0A@gmail.com> (Adrian Robert's message of "Fri, 13 Feb 2009 14:53:04 +0200") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:109330 Archived-At: Adrian Robert wrote: > It appears that in configure.in the checks for freetype, xft, otf, > and m17n_flt are done regardless of whether the user is compiling for > an X11 environment. [...] > What's the best way to avoid this? The patch here disables these > checks except under X11 and sets the variables to "no", but is there > a different preferred way? FWIW, that looks fine to me. Most places seem to use test "${HAVE_X11}" = "yes" rather than test ${HAVE_X11}" != "no" as you have done; but since it's only ever yes or no, it makes no difference.