[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 23.0.50; Image support disabled by default?

From: Tom Tromey
Subject: Re: 23.0.50; Image support disabled by default?
Date: Sun, 27 Jan 2008 15:20:00 -0700
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.990 (gnu/linux)

>>>>> ">" == YAMAMOTO Mitsuharu <address@hidden> 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?


2008-01-27  Tom Tromey  <address@hidden>

        * configure.in (--with-gcc): Remove.

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 By default, neither off nor on.
-    [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
@@ -817,11 +812,6 @@
 # Save the value of CFLAGS that the user specified.
-case ${with_gcc} in
-  "yes" ) CC="gcc" GCC=yes ;;
-  "no"  ) : ${CC=cc} ;;
-  * )
 # On Suns, sometimes $CPP names a directory.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]