unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Tom Tromey <tromey@redhat.com>
To: YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Cc: Glenn Morris <rgm@gnu.org>, Yavor Doganov <yavor@gnu.org>,
	Jason Rumney <jasonr@gnu.org>,
	emacs-devel@gnu.org
Subject: Re: 23.0.50; Image support disabled by default?
Date: Sun, 27 Jan 2008 15:20:00 -0700	[thread overview]
Message-ID: <m3abmqkj1r.fsf@fleche.redhat.com> (raw)
In-Reply-To: <wl1w86wlbo.wl%mituharu@math.s.chiba-u.ac.jp> (YAMAMOTO Mitsuharu's message of "Fri\, 25 Jan 2008 14\:00\:59 +0900")

>>>>> ">" == YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> writes:

>> Setting CC on configure no longer works without `--without-gcc'.
>>   CC='gcc -arch ppc64' ./configure --without-gcc

I don't see a reason to have --without-gcc at all.  The normal
approach is to have the user set CC on the command line and then have
configure detect whether or not it is gcc; AC_PROG_CC will do this.

So what do you think of this?

Tom

ChangeLog:
2008-01-27  Tom Tromey  <tromey@redhat.com>

	* INSTALL (DETAILED BUILDING AND INSTALLATION): Remove
	--with-gcc.
	* configure.in (--with-gcc): Remove.

Index: INSTALL
===================================================================
RCS file: /sources/emacs/emacs/INSTALL,v
retrieving revision 1.126
diff -u -r1.126 INSTALL
--- INSTALL	8 Jan 2008 20:46:40 -0000	1.126
+++ INSTALL	27 Jan 2008 22:57:45 -0000
@@ -270,11 +270,6 @@
 PATH is the pathname to pkg-config.  Note that GTK version 2.4 or
 newer is required for Emacs.
 
-The `--with-gcc' option specifies that the build process should
-compile Emacs using GCC.  If you don't want to use GCC, specify
-`--with-gcc=no'.  If you omit this option, `configure' will search
-for GCC in your path, and use it if present.
-
 The Emacs mail reader RMAIL is configured to be able to read mail from
 a POP3 server by default.  Versions of the POP protocol older than
 POP3 are not supported.  For Kerberos-authenticated POP add
Index: configure.in
===================================================================
RCS file: /sources/emacs/emacs/configure.in,v
retrieving revision 1.502
diff -u -r1.502 configure.in
--- configure.in	27 Jan 2008 16:06:01 -0000	1.502
+++ configure.in	27 Jan 2008 22:57:46 -0000
@@ -70,11 +70,6 @@
    m4_bpatsubst([with_$1], [[^0-9a-z]], [_])=yes])dnl
 ])dnl
 
-dnl By default, neither off nor on.
-AC_ARG_WITH([gcc],
-[AS_HELP_STRING([--without-gcc],
-    [don't use GCC to compile Emacs even if GCC is found])])
-
 OPTION_DEFAULT_ON([pop],[don't support POP mail retrieval with movemail])
 if test "$with_pop" = yes; then
    AC_DEFINE(MAIL_USE_POP)
@@ -817,11 +812,6 @@
 # Save the value of CFLAGS that the user specified.
 SPECIFIED_CFLAGS="$CFLAGS"
 
-case ${with_gcc} in
-  "yes" ) CC="gcc" GCC=yes ;;
-  "no"  ) : ${CC=cc} ;;
-  * )
-esac
 AC_PROG_CC
 
 # On Suns, sometimes $CPP names a directory.

  parent reply	other threads:[~2008-01-27 22:20 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-23 16:30 23.0.50; Image support disabled by default? Yavor Doganov
2008-01-23 16:44 ` Tom Tromey
2008-01-23 17:17 ` Jason Rumney
2008-01-23 17:21   ` Yavor Doganov
2008-01-23 18:40   ` Tom Tromey
2008-01-25  4:37     ` Glenn Morris
2008-01-25  5:00       ` YAMAMOTO Mitsuharu
2008-01-26  2:24         ` Glenn Morris
2008-01-26  4:55           ` Tom Tromey
2008-01-27 22:27             ` Tom Tromey
2008-01-27 22:20         ` Tom Tromey [this message]
2008-02-02 22:32           ` Removing --with-gcc, Cygwin [was Re: 23.0.50; Image support disabled by default?] Glenn Morris
2008-02-03  4:07             ` Eli Zaretskii
2008-02-03 21:00               ` Removing --with-gcc, Cygwin Glenn Morris
2008-02-03 21:19                 ` Glenn Morris
2008-02-03 21:24                   ` Jason Rumney
2008-02-03 21:43                     ` David Robinow
2008-02-03 22:01                       ` Jason Rumney
2008-02-04  4:12                 ` Eli Zaretskii
2008-02-02 22:52       ` Removing --with-gtk [was Re: 23.0.50; Image support disabled by default?] Glenn Morris
     [not found] <87sl0o5wtf.GNU\\\'s_Not_Unix!%yavor@gnu.org>
2008-01-23 21:23 ` 23.0.50; Image support disabled by default? Adolfo De Unanue
2008-01-23 21:58   ` Yavor Doganov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3abmqkj1r.fsf@fleche.redhat.com \
    --to=tromey@redhat.com \
    --cc=emacs-devel@gnu.org \
    --cc=jasonr@gnu.org \
    --cc=mituharu@math.s.chiba-u.ac.jp \
    --cc=rgm@gnu.org \
    --cc=yavor@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).