* Re: Removing --with-gcc, Cygwin
@ 2008-02-03 22:24 Angelo Graziosi
0 siblings, 0 replies; 7+ messages in thread
From: Angelo Graziosi @ 2008-02-03 22:24 UTC (permalink / raw)
To: Glenn Morris; +Cc: emacs-devel
Glenn Morris wrote:
> However, the latest Cygwin versions, such as 1.3.3,
^^^^^^
But 1.3.3 is very very old and not supported any more!
The last version is 1.5.25-7 and the next will be 1.7!
Cheers,
Angelo.
^ permalink raw reply [flat|nested] 7+ messages in thread
* 23.0.50; Image support disabled by default?
@ 2008-01-23 16:30 Yavor Doganov
2008-01-23 17:17 ` Jason Rumney
0 siblings, 1 reply; 7+ messages in thread
From: Yavor Doganov @ 2008-01-23 16:30 UTC (permalink / raw)
To: emacs-devel
This change
2008-01-23 Tom Tromey <tromey@redhat.com>
* configure.in (OPTION_DEFAULT_ON, OPTION_DEFAULT_OFF): New
macros.
(EMACS_ARG_Y, EMACS_ARG_N): Remove.
Update all users.
introduces a regression: if the user runs ./configure without
arguments, image support is disabled by default, so now one has to
explicitly specify the the various --with-foo options for all image
formats.
Was this intended or it happened by accident? I imagine that the
majority of the users want support for as many image formats as
possible.
2008-01-23 Yavor Doganov <yavor@gnu.org> (tiny change)
* configure.in: Use OPTION_DEFAULT_ON for xpm, jpeg, tiff,
gif, png and rsvg.
*** configure.in 23 яну 2008 12:04:23 +0200 1.497
--- configure.in 23 яну 2008 17:46:00 +0200
***************
*** 122,134 ****
with_x_toolkit=$val
])
! OPTION_DEFAULT_OFF([xpm],[use -lXpm for displaying XPM images])
! OPTION_DEFAULT_OFF([jpeg],[use -ljpeg for displaying JPEG images])
! OPTION_DEFAULT_OFF([tiff],[use -ltiff for displaying TIFF images])
! OPTION_DEFAULT_OFF([gif],[use -lgif (or -lungif) for displaying GIF images])
! OPTION_DEFAULT_OFF([png],[use -lpng for displaying PNG images])
OPTION_DEFAULT_OFF([gpm],[use -lgpm for mouse support on a GNU/Linux console])
! OPTION_DEFAULT_OFF([rsvg],[use -lrsvg-2 for displaying SVG images])
OPTION_DEFAULT_OFF([gtk],[use GTK (same as --with-x-toolkit=gtk)])
OPTION_DEFAULT_ON([toolkit-scroll-bars],[don't use Motif or Xaw3d scroll bars])
OPTION_DEFAULT_ON([xaw3d],[don't use Xaw3d])
--- 122,134 ----
with_x_toolkit=$val
])
! OPTION_DEFAULT_ON([xpm],[use -lXpm for displaying XPM images])
! OPTION_DEFAULT_ON([jpeg],[use -ljpeg for displaying JPEG images])
! OPTION_DEFAULT_ON([tiff],[use -ltiff for displaying TIFF images])
! OPTION_DEFAULT_ON([gif],[use -lgif (or -lungif) for displaying GIF images])
! OPTION_DEFAULT_ON([png],[use -lpng for displaying PNG images])
OPTION_DEFAULT_OFF([gpm],[use -lgpm for mouse support on a GNU/Linux console])
! OPTION_DEFAULT_ON([rsvg],[use -lrsvg-2 for displaying SVG images])
OPTION_DEFAULT_OFF([gtk],[use GTK (same as --with-x-toolkit=gtk)])
OPTION_DEFAULT_ON([toolkit-scroll-bars],[don't use Motif or Xaw3d scroll bars])
OPTION_DEFAULT_ON([xaw3d],[don't use Xaw3d])
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 23.0.50; Image support disabled by default?
2008-01-23 16:30 23.0.50; Image support disabled by default? Yavor Doganov
@ 2008-01-23 17:17 ` Jason Rumney
2008-01-23 18:40 ` Tom Tromey
0 siblings, 1 reply; 7+ messages in thread
From: Jason Rumney @ 2008-01-23 17:17 UTC (permalink / raw)
To: Yavor Doganov; +Cc: emacs-devel
Yavor Doganov wrote:
> ! OPTION_DEFAULT_ON([xpm],[use -lXpm for displaying XPM images])
> ! OPTION_DEFAULT_ON([jpeg],[use -ljpeg for displaying JPEG images])
> ! OPTION_DEFAULT_ON([tiff],[use -ltiff for displaying TIFF images])
> ! OPTION_DEFAULT_ON([gif],[use -lgif (or -lungif) for displaying GIF images])
> ! OPTION_DEFAULT_ON([png],[use -lpng for displaying PNG images])
> OPTION_DEFAULT_OFF([gpm],[use -lgpm for mouse support on a GNU/Linux console])
> ! OPTION_DEFAULT_ON([rsvg],[use -lrsvg-2 for displaying SVG images])
> OPTION_DEFAULT_OFF([gtk],[use GTK (same as --with-x-toolkit=gtk)])
>
Also GTK should be on by default. The whole change probably needs
reviewing, as it seems to either be based on a very old version of
configure.in or everything has been reversed.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 23.0.50; Image support disabled by default?
2008-01-23 17:17 ` Jason Rumney
@ 2008-01-23 18:40 ` Tom Tromey
2008-01-25 4:37 ` Glenn Morris
0 siblings, 1 reply; 7+ messages in thread
From: Tom Tromey @ 2008-01-23 18:40 UTC (permalink / raw)
To: Jason Rumney; +Cc: Yavor Doganov, emacs-devel
>>>>> "Jason" == Jason Rumney <jasonr@gnu.org> writes:
Jason> Also GTK should be on by default. The whole change probably
Jason> needs reviewing, as it seems to either be based on a very old
Jason> version of configure.in or everything has been reversed.
It is more that I just messed up and didn't realize how much code was
checking `$with_foo != no' while using the ostensible "default to yes"
macro.
Tom
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 23.0.50; Image support disabled by default?
2008-01-23 18:40 ` Tom Tromey
@ 2008-01-25 4:37 ` Glenn Morris
2008-01-25 5:00 ` YAMAMOTO Mitsuharu
0 siblings, 1 reply; 7+ messages in thread
From: Glenn Morris @ 2008-01-25 4:37 UTC (permalink / raw)
To: Tom Tromey; +Cc: Yavor Doganov, emacs-devel, Jason Rumney
I tried to fix this. I'm still not convinced all the various options
have the same behaviour as they did before...
--with-gtk should not be of type ON by default, IMO, because it will
change behaviour. In order to get eg a Lucid toolkit, I'd have to use
--with-gtk=no --with-x-toolkit=lucid
to avoid an error about incompatible options. Currently I can just
specify a toolkit.
The default X toolkit is still gtk, even without --with-gtk being ON.
In fact, as a separate issue I'd like to suggest getting rid of the
--with-gtk option. The --with-x-toolkit option on its own allows for
all the choices, AFAIK, in a simpler fashion. No need to have two ways
to specify the same thing.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 23.0.50; Image support disabled by default?
2008-01-25 4:37 ` Glenn Morris
@ 2008-01-25 5:00 ` YAMAMOTO Mitsuharu
2008-01-27 22:20 ` Tom Tromey
0 siblings, 1 reply; 7+ messages in thread
From: YAMAMOTO Mitsuharu @ 2008-01-25 5:00 UTC (permalink / raw)
To: Glenn Morris; +Cc: Tom Tromey, Yavor Doganov, Jason Rumney, emacs-devel
>>>>> On Thu, 24 Jan 2008 23:37:04 -0500, Glenn Morris <rgm@gnu.org> said:
> I tried to fix this. I'm still not convinced all the various options
> have the same behaviour as they did before...
Setting CC on configure no longer works without `--without-gcc'.
CC='gcc -arch ppc64' ./configure --without-gcc
looks so strange.
YAMAMOTO Mitsuharu
mituharu@math.s.chiba-u.ac.jp
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 23.0.50; Image support disabled by default?
2008-01-25 5:00 ` YAMAMOTO Mitsuharu
@ 2008-01-27 22:20 ` Tom Tromey
2008-02-02 22:32 ` Removing --with-gcc, Cygwin [was Re: 23.0.50; Image support disabled by default?] Glenn Morris
0 siblings, 1 reply; 7+ messages in thread
From: Tom Tromey @ 2008-01-27 22:20 UTC (permalink / raw)
To: YAMAMOTO Mitsuharu; +Cc: Glenn Morris, Yavor Doganov, Jason Rumney, emacs-devel
>>>>> ">" == 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.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Removing --with-gcc, Cygwin [was Re: 23.0.50; Image support disabled by default?]
2008-01-27 22:20 ` Tom Tromey
@ 2008-02-02 22:32 ` Glenn Morris
2008-02-03 4:07 ` Eli Zaretskii
0 siblings, 1 reply; 7+ messages in thread
From: Glenn Morris @ 2008-02-02 22:32 UTC (permalink / raw)
To: Tom Tromey; +Cc: Yavor Doganov, Jason Rumney, YAMAMOTO Mitsuharu, emacs-devel
Tom Tromey wrote:
> 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.
[patch elided]
Sounds fine to me.
etc/PROBLEMS and nt/INSTALL both suggest using '--with-gcc' (plus
other stuff) for some Cygwin builds.
Does Cygwin actually need --with-gcc for some reason, or is it ok to
remove it?
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Removing --with-gcc, Cygwin [was Re: 23.0.50; Image support disabled by default?]
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
0 siblings, 1 reply; 7+ messages in thread
From: Eli Zaretskii @ 2008-02-03 4:07 UTC (permalink / raw)
To: Glenn Morris; +Cc: tromey, yavor, emacs-devel, mituharu, jasonr
> From: Glenn Morris <rgm@gnu.org>
> Date: Sat, 02 Feb 2008 17:32:07 -0500
> Cc: Yavor Doganov <yavor@gnu.org>, Jason Rumney <jasonr@gnu.org>,
> YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>, emacs-devel@gnu.org
>
> etc/PROBLEMS and nt/INSTALL both suggest using '--with-gcc' (plus
> other stuff) for some Cygwin builds.
nt/INSTALL is not relevant to Cygwin builds.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Removing --with-gcc, Cygwin
2008-02-03 4:07 ` Eli Zaretskii
@ 2008-02-03 21:00 ` Glenn Morris
2008-02-03 21:19 ` Glenn Morris
2008-02-04 4:12 ` Eli Zaretskii
0 siblings, 2 replies; 7+ messages in thread
From: Glenn Morris @ 2008-02-03 21:00 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: tromey, yavor, emacs-devel, mituharu, jasonr
Eli Zaretskii wrote:
> nt/INSTALL is not relevant to Cygwin builds.
My total ignorance of such issues is what prompted my question.
It certainly seems to be related to Cygwin to me:
If you are using certain Cygwin builds of GCC, such as Cygwin
version 1.1.8, you may need to specify some extra compiler flags like so:
configure --with-gcc --cflags -mwin32 --cflags -D__MSVCRT__
--ldflags -mwin32
However, the latest Cygwin versions, such as 1.3.3, don't need
those switches; you can simply use "configure --with-gcc".
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Removing --with-gcc, Cygwin
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-04 4:12 ` Eli Zaretskii
1 sibling, 1 reply; 7+ messages in thread
From: Glenn Morris @ 2008-02-03 21:19 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: tromey, yavor, jasonr, mituharu, emacs-devel
Glenn Morris wrote:
nt/INSTALL:
> configure --with-gcc --cflags -mwin32 --cflags -D__MSVCRT__
> --ldflags -mwin32
Oh, I guess this `configure' actually `configure.bat', which has its
own --with-gcc option...?
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Removing --with-gcc, Cygwin
2008-02-03 21:19 ` Glenn Morris
@ 2008-02-03 21:24 ` Jason Rumney
2008-02-03 21:43 ` David Robinow
0 siblings, 1 reply; 7+ messages in thread
From: Jason Rumney @ 2008-02-03 21:24 UTC (permalink / raw)
To: Glenn Morris; +Cc: tromey, Eli Zaretskii, yavor, mituharu, emacs-devel
Glenn Morris wrote:
> Glenn Morris wrote:
>
> nt/INSTALL:
>
>
>> configure --with-gcc --cflags -mwin32 --cflags -D__MSVCRT__
>> --ldflags -mwin32
>>
>
> Oh, I guess this `configure' actually `configure.bat', which has its
> own --with-gcc option...?
>
Yes, although --with-gcc is the default, so it is not needed there either.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Removing --with-gcc, Cygwin
2008-02-03 21:24 ` Jason Rumney
@ 2008-02-03 21:43 ` David Robinow
2008-02-03 22:01 ` Jason Rumney
0 siblings, 1 reply; 7+ messages in thread
From: David Robinow @ 2008-02-03 21:43 UTC (permalink / raw)
To: Jason Rumney
Cc: Glenn Morris, yavor, emacs-devel, tromey, Eli Zaretskii, mituharu
On Feb 3, 2008 4:24 PM, Jason Rumney <jasonr@gnu.org> wrote:
>
> Glenn Morris wrote:
> > Oh, I guess this `configure' actually `configure.bat', which has its
> > own --with-gcc option...?
> >
>
> Yes, although --with-gcc is the default, so it is not needed there either.
Actually, msvc is used if it is found. If both are present,
--with-gcc is needed to force use of gcc.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Removing --with-gcc, Cygwin
2008-02-03 21:00 ` Removing --with-gcc, Cygwin Glenn Morris
2008-02-03 21:19 ` Glenn Morris
@ 2008-02-04 4:12 ` Eli Zaretskii
1 sibling, 0 replies; 7+ messages in thread
From: Eli Zaretskii @ 2008-02-04 4:12 UTC (permalink / raw)
To: Glenn Morris; +Cc: tromey, yavor, emacs-devel, mituharu, jasonr
> From: Glenn Morris <rgm@gnu.org>
> Cc: tromey@redhat.com, yavor@gnu.org, jasonr@gnu.org, mituharu@math.s.chiba-u.ac.jp, emacs-devel@gnu.org
> Date: Sun, 03 Feb 2008 16:00:42 -0500
>
> Eli Zaretskii wrote:
>
> > nt/INSTALL is not relevant to Cygwin builds.
>
> My total ignorance of such issues is what prompted my question.
> It certainly seems to be related to Cygwin to me:
>
>
> If you are using certain Cygwin builds of GCC, such as Cygwin
> version 1.1.8, you may need to specify some extra compiler flags like so:
>
> configure --with-gcc --cflags -mwin32 --cflags -D__MSVCRT__
> --ldflags -mwin32
>
> However, the latest Cygwin versions, such as 1.3.3, don't need
> those switches; you can simply use "configure --with-gcc".
This talks about Cygwin builds of GCC, not of Emacs. The switches
mentioned above let Cygwin GCC produce native Windows executables (as
opposed to Cygwin executables, which depend on Cygwin runtime
support).
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2008-02-04 4:12 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-03 22:24 Removing --with-gcc, Cygwin Angelo Graziosi
-- strict thread matches above, loose matches on Subject: below --
2008-01-23 16:30 23.0.50; Image support disabled by default? Yavor Doganov
2008-01-23 17:17 ` Jason Rumney
2008-01-23 18:40 ` Tom Tromey
2008-01-25 4:37 ` Glenn Morris
2008-01-25 5:00 ` YAMAMOTO Mitsuharu
2008-01-27 22:20 ` Tom Tromey
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
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).