Mercurial > emacs
annotate msdos/sed3.inp @ 106186:9b6f45dd8386
Use a select wrapper around the GLib event loop, thus taking into account GLib
timeouts and event sources. This simplifies Gtk+-code a lot, and is needed
for handling GConf death/restart.
* xterm.c: #include xgselect.h.
(x_initialize): Call xgselect_initialize.
* xsettings.c (something_changedCB): C++ comments => C comments.
(init_gconf): Do not deal with any GLib file descriptors, xg_select
does that now.
* gtkutil.c (xg_timer, xg_process_timeouts, xg_start_timer)
(xg_stop_timer, menu_grab_callback_cnt, menu_grab_callback)
(scroll_bar_button_cb): Remove.
(create_menus): C++ comments => C comments. Don't bind grab-notify
event.
(xg_create_scroll_bar): Don't bind button-press-event and
button-release-event.
* process.c: Include xgselect.h if defined (USE_GTK) ||
defined (HAVE_GCONF).
(wait_reading_process_output): Call xg_select for the same condition.
* xgselect.c (xg_select): New function to better integrate with
GLib/Gtk event handling. Needed if GConf daemon dies/restarts.
* xgselect.h: New file, declare xg_select, xgselect_initialize.
* Makefile.in (XOBJ): Add xgselect.o.
author | Jan Djärv <jan.h.d@swipnet.se> |
---|---|
date | Sat, 21 Nov 2009 15:28:59 +0000 |
parents | dc97fcf1ed7e |
children | 1d1d5d9bd884 |
rev | line source |
---|---|
7203
20f7520cf723
Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents:
5490
diff
changeset
|
1 # -sed3.inp------------------------------------------------------------- |
20f7520cf723
Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents:
5490
diff
changeset
|
2 # Configuration script for lib-src/makefile |
20f7520cf723
Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents:
5490
diff
changeset
|
3 # ---------------------------------------------------------------------- |
36461
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
13615
diff
changeset
|
4 # |
75249
4ad431d8e164
Update copyright for years from Emacs 21 to present (mainly adding
Glenn Morris <rgm@gnu.org>
parents:
68648
diff
changeset
|
5 # Copyright (C) 1993, 1994, 1995, 2001, 2002, 2003, 2004, |
100956 | 6 # 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. |
36461
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
13615
diff
changeset
|
7 # |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
13615
diff
changeset
|
8 # This file is part of GNU Emacs. |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
13615
diff
changeset
|
9 # |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
13615
diff
changeset
|
10 # This file is free software; as a special exception, the author gives |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
13615
diff
changeset
|
11 # unlimited permission to copy and/or distribute it, with or without |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
13615
diff
changeset
|
12 # modifications, as long as this notice is preserved. |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
13615
diff
changeset
|
13 # |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
13615
diff
changeset
|
14 # This program is distributed in the hope that it will be useful, |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
13615
diff
changeset
|
15 # but WITHOUT ANY WARRANTY; without even the implied warranty of |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
13615
diff
changeset
|
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
13615
diff
changeset
|
17 # |
a4fb0c9be609
Add copyright notices for all files. README is a new file, mainly
Eli Zaretskii <eliz@gnu.org>
parents:
13615
diff
changeset
|
18 # ---------------------------------------------------------------------- |
7203
20f7520cf723
Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents:
5490
diff
changeset
|
19 /^# DIST: /d |
20f7520cf723
Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents:
5490
diff
changeset
|
20 /^SHELL *=/s/^/# / |
20f7520cf723
Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents:
5490
diff
changeset
|
21 /^CC *=/s/=.*$/=gcc/ |
7407
565b1e27c14c
Don't pass version to [ce]tags.
Richard M. Stallman <rms@gnu.org>
parents:
7231
diff
changeset
|
22 # Actually, here we should patch in the exact version number, but only |
565b1e27c14c
Don't pass version to [ce]tags.
Richard M. Stallman <rms@gnu.org>
parents:
7231
diff
changeset
|
23 # [ce]tags uses it. Don't pass it. This is more update-resistant. |
565b1e27c14c
Don't pass version to [ce]tags.
Richard M. Stallman <rms@gnu.org>
parents:
7231
diff
changeset
|
24 /-DVERSION=/s/-DVERSION="\\"\${version}\\""// |
7203
20f7520cf723
Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents:
5490
diff
changeset
|
25 /^configname *=/s/=.*$/=msdos/ |
20f7520cf723
Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents:
5490
diff
changeset
|
26 /^archlibdir *=/s!=.*$!=/emacs/bin! |
20f7520cf723
Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents:
5490
diff
changeset
|
27 /^bindir *=/s!=.*$!=/emacs/bin! |
20f7520cf723
Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents:
5490
diff
changeset
|
28 /^libdir *=/s!=.*$!=/emacs/bin! |
20f7520cf723
Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents:
5490
diff
changeset
|
29 /^srcdir *=/s!=.*$!=.! |
20f7520cf723
Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents:
5490
diff
changeset
|
30 /^VPATH *=/s!=.*$!=.! |
20f7520cf723
Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents:
5490
diff
changeset
|
31 /^CFLAGS *=/s!=.*$!=-O2 -g! |
20f7520cf723
Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents:
5490
diff
changeset
|
32 /^C_SWITCH_SYSTEM *=/s!=.*$!=-DMSDOS! |
20f7520cf723
Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents:
5490
diff
changeset
|
33 /^LOADLIBES *=/s!=.*$!=! |
20f7520cf723
Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents:
5490
diff
changeset
|
34 /^ALLOCA *=/s!=.*$!=alloca.o! |
20f7520cf723
Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents:
5490
diff
changeset
|
35 /^INSTALLABLES/s/emacsclient *// |
20f7520cf723
Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents:
5490
diff
changeset
|
36 s!^ \./! go32 ./! |
20f7520cf723
Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents:
5490
diff
changeset
|
37 /^UTILITIES=/s/ wakeup// |
20f7520cf723
Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents:
5490
diff
changeset
|
38 /^UTILITIES=/s/ movemail// |
20f7520cf723
Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents:
5490
diff
changeset
|
39 /^UTILITIES=/s/ emacsserver// |
20f7520cf723
Set CFLAGS=-O2, not -g. Correct for
Richard M. Stallman <rms@gnu.org>
parents:
5490
diff
changeset
|
40 /^UTILITIES=/s/ timer// |
10507
de02c5579c5e
Delete mysterious dot. Add comment to protect blank
Richard M. Stallman <rms@gnu.org>
parents:
10385
diff
changeset
|
41 /^all *:/s/$/ make-docfile/ |
13615
3276c8c1843c
Alter test-distrib to test-dis.
Richard M. Stallman <rms@gnu.org>
parents:
10509
diff
changeset
|
42 s!^ go32 ./test-distrib! go32 ./test-dis! |
10385
7826b6c2b6e8
Use coff2exe on make-docfile, instead of go32 when running it.
Karl Heuer <kwzh@gnu.org>
parents:
7407
diff
changeset
|
43 /-o make-docfile/a\ |
10509
49f3296db01d
Fix sed append command to behave as intended.
Karl Heuer <kwzh@gnu.org>
parents:
10507
diff
changeset
|
44 coff2exe make-docfile |
52401 | 45 |
46 # arch-tag: cac6f5c7-3dbf-4e84-9d0c-44f0126f0ea8 |