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: mac/INSTALL needs editing Date: Wed, 10 Aug 2005 10:51:20 +0900 Organization: Faculty of Science, Chiba University Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Trace: sea.gmane.org 1123639093 4479 80.91.229.2 (10 Aug 2005 01:58:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 10 Aug 2005 01:58:13 +0000 (UTC) Cc: "emacs-devel@gnu.org" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 10 03:58:12 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1E2fpM-0007S1-Uh for ged-emacs-devel@m.gmane.org; Wed, 10 Aug 2005 03:56:21 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E2fsS-0002kn-Gf for ged-emacs-devel@m.gmane.org; Tue, 09 Aug 2005 21:59:32 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1E2frx-0002d3-5P for emacs-devel@gnu.org; Tue, 09 Aug 2005 21:59:01 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1E2fru-0002bx-Vr for emacs-devel@gnu.org; Tue, 09 Aug 2005 21:58:59 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E2fru-0002bJ-Q5 for emacs-devel@gnu.org; Tue, 09 Aug 2005 21:58:58 -0400 Original-Received: from [133.82.132.2] (helo=mathmail.math.s.chiba-u.ac.jp) by monty-python.gnu.org with esmtp (Exim 4.34) id 1E2fya-00056d-5z for emacs-devel@gnu.org; Tue, 09 Aug 2005 22:05:52 -0400 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 1C9F72CA0; Wed, 10 Aug 2005 10:51:20 +0900 (JST) Original-To: Gilbert Harman 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.50 (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:41816 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:41816 >>>>> On Tue, 09 Aug 2005 17:10:58 -0400, Gilbert Harman said: > GNU Emacs 22.0.50.1 (powerpc-apple-darwin8.2.0, X toolkit) of ^^^^^^^^^ You need to specify --without-x as described in mac/INSTALL: If you have X Window installed on your Mac and you are building Emacs to run under Carbon and not X Window, you need to type `./configure --without-x' instead of `./configure'. Though mac/INSTALL contains sufficient information, it would make sense to prefer Carbon (even if X11 is installed) when either --with-carbon or --enable-carbon-app is specified explicitly. YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp Index: configure.in =================================================================== RCS file: /cvsroot/emacs/emacs/configure.in,v retrieving revision 1.395 diff -c -r1.395 configure.in *** configure.in 26 Jul 2005 21:43:11 -0000 1.395 --- configure.in 10 Aug 2005 01:39:13 -0000 *************** *** 1660,1665 **** --- 1660,1679 ---- fi fi + HAVE_CARBON=no + if test "${with_carbon}" != no; then + AC_CHECK_HEADER(Carbon/Carbon.h, HAVE_CARBON=yes) + fi + if test "${window_system}" = x11 && test "${HAVE_CARBON}" = yes; then + if test "${with_carbon+set}" != set \ + && test "${carbon_appdir_x+set}" != set; then + HAVE_CARBON=no + fi + fi + if test "${HAVE_CARBON}" = yes; then + window_system=mac + fi + case "${window_system}" in x11 ) HAVE_X_WINDOWS=yes *************** *** 1678,1684 **** * ) USE_X_TOOLKIT=maybe ;; esac ;; ! none ) HAVE_X_WINDOWS=no HAVE_X11=no USE_X_TOOLKIT=none --- 1692,1698 ---- * ) USE_X_TOOLKIT=maybe ;; esac ;; ! mac | none ) HAVE_X_WINDOWS=no HAVE_X11=no USE_X_TOOLKIT=none *************** *** 1707,1719 **** esac fi - HAVE_CARBON=no - if test "${HAVE_X11}" != "yes"; then - if test "${with_carbon}" != "no"; then - AC_CHECK_HEADER(Carbon/Carbon.h, HAVE_CARBON=yes) - fi - fi - ### Compute the unexec source name from the object name. UNEXEC_SRC="`echo ${unexec} | sed 's/\.o/.c/'`" --- 1721,1726 ---- *************** *** 2337,2343 **** ### Use Mac OS X Carbon API to implement GUI. if test "${HAVE_CARBON}" = "yes"; then AC_DEFINE(HAVE_CARBON, 1, [Define to 1 if you are using the Carbon API on Mac OS X.]) - window_system=mac ## Specify the install directory carbon_appdir= if test "${carbon_appdir_x}" != ""; then --- 2344,2349 ----