aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDan Nicolaescu2010-04-01 16:08:14 -0700
committerDan Nicolaescu2010-04-01 16:08:14 -0700
commit8224f93d18d7470f54d5894cb74da0168bddee44 (patch)
tree8461ab66e8609dff27e3d8fdf05bea657fa27592 /src
parent796bb9364a5244a089769f4c92daab1835b618c7 (diff)
downloademacs-8224f93d18d7470f54d5894cb74da0168bddee44.tar.gz
emacs-8224f93d18d7470f54d5894cb74da0168bddee44.zip
Remove all uses of LIBX11_SYSTEM.
* Makefile.in (LIBX11_SYSTEM): Remove. * s/msdos.h (LIBX11_SYSTEM): Do not define, define LIBS_SYSTEM instead. * configure.in: Remove all references to LIBX11_SYSTEM.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog25
-rw-r--r--src/Makefile.in6
-rw-r--r--src/s/msdos.h2
3 files changed, 18 insertions, 15 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index aea5701ec9c..08c40c6048c 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,24 +1,31 @@
12010-04-01 Dan Nicolaescu <dann@ics.uci.edu>
2
3 Remove all uses of LIBX11_SYSTEM.
4 * Makefile.in (LIBX11_SYSTEM): Remove.
5 * s/msdos.h (LIBX11_SYSTEM): Do not define, define LIBS_SYSTEM
6 instead.
7
12010-04-01 Eli Zaretskii <eliz@gnu.org> 82010-04-01 Eli Zaretskii <eliz@gnu.org>
2 9
3 Remove support for DJGPP v1.x (bug#5813). 10 Remove support for DJGPP v1.x (bug#5813).
4 11
5 * w16select.c (__dpmi_int): Remove DJGPP v1.x compatibility. 12 * w16select.c (__dpmi_int): Remove DJGPP v1.x compatibility.
6 * s/msdos.h: 13 * s/msdos.h:
7 * unexec.c (make_hdr, copy_text_and_data): 14 * unexec.c (make_hdr, copy_text_and_data):
8 * sysdep.c (wait_for_termination, sys_subshell): 15 * sysdep.c (wait_for_termination, sys_subshell):
9 * msdos.c (dos_set_window_size, msdos_set_cursor_shape) 16 * msdos.c (dos_set_window_size, msdos_set_cursor_shape)
10 (IT_set_terminal_modes): 17 (IT_set_terminal_modes):
11 (__write, _rename, gethostname, gettimeofday, alarm, fork, kill) 18 (__write, _rename, gethostname, gettimeofday, alarm, fork, kill)
12 (dos_ttraw, dos_ttcooked, run_msdos_command, abort): Remove DJGPP 19 (dos_ttraw, dos_ttcooked, run_msdos_command, abort): Remove DJGPP
13 v1.x code and tests of the value of __DJGPP__. 20 v1.x code and tests of the value of __DJGPP__.
14 (nice, pause, sigsetmask, sigblock): Remove DJGPP v1.x 21 (nice, pause, sigsetmask, sigblock): Remove DJGPP v1.x
15 compatibility code. 22 compatibility code.
16 23
17 * lread.c: 24 * lread.c:
18 * gmalloc.c (memalign): 25 * gmalloc.c (memalign):
19 * fileio.c (Fcopy_file, check_executable, Ffile_modes): 26 * fileio.c (Fcopy_file, check_executable, Ffile_modes):
20 * emacs.c (main): 27 * emacs.c (main):
21 * dosfns.c (init_dosfns): 28 * dosfns.c (init_dosfns):
22 * dired.c (file_name_completion_stat): Remove tests of __DJGPP__. 29 * dired.c (file_name_completion_stat): Remove tests of __DJGPP__.
23 30
24 * xdisp.c (set_cursor_from_row): Fix cursor positioning when the 31 * xdisp.c (set_cursor_from_row): Fix cursor positioning when the
diff --git a/src/Makefile.in b/src/Makefile.in
index 53904a3992a..cd5027dc4d8 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -284,10 +284,6 @@ ALL_OBJC_CFLAGS=$(ALL_CFLAGS) @GNU_OBJC_CFLAGS@
284#endif 284#endif
285 $(CC) -c $(CPPFLAGS) $(ALL_OBJC_CFLAGS) $< 285 $(CC) -c $(CPPFLAGS) $(ALL_OBJC_CFLAGS) $<
286 286
287#ifndef LIBX11_SYSTEM
288#define LIBX11_SYSTEM
289#endif
290
291#ifndef LIB_X11_LIB 287#ifndef LIB_X11_LIB
292#define LIB_X11_LIB -lX11 288#define LIB_X11_LIB -lX11
293#endif 289#endif
@@ -376,7 +372,7 @@ LIBXT=$(LIBW)
376/* LD_SWITCH_X_DEFAULT comes after everything else that specifies 372/* LD_SWITCH_X_DEFAULT comes after everything else that specifies
377 options for where to find X libraries, but before those libraries. */ 373 options for where to find X libraries, but before those libraries. */
378X11_LDFLAGS = LD_SWITCH_X_SITE LD_SWITCH_X_DEFAULT 374X11_LDFLAGS = LD_SWITCH_X_SITE LD_SWITCH_X_DEFAULT
379LIBX= $(LIBXMENU) $(X11_LDFLAGS) $(LIBXT) $(LIBTIFF) $(LIBJPEG) $(LIBPNG) $(LIBGIF) $(LIBXPM) LIB_X11_LIB LIBX11_SYSTEM $(XFT_LIBS) 375LIBX= $(LIBXMENU) $(X11_LDFLAGS) $(LIBXT) $(LIBTIFF) $(LIBJPEG) $(LIBPNG) $(LIBGIF) $(LIBXPM) LIB_X11_LIB $(XFT_LIBS)
380#else /* not HAVE_X11 */ 376#else /* not HAVE_X11 */
381LIBX= $(LIBXMENU) LD_SWITCH_X_SITE 377LIBX= $(LIBXMENU) LD_SWITCH_X_SITE
382#endif /* not HAVE_X11 */ 378#endif /* not HAVE_X11 */
diff --git a/src/s/msdos.h b/src/s/msdos.h
index 29fbdab8369..55f546589ec 100644
--- a/src/s/msdos.h
+++ b/src/s/msdos.h
@@ -149,7 +149,7 @@ You lose; /* Emacs for DOS must be compiled with DJGPP */
149 commentary below, in the non-X branch. The 140KB number was 149 commentary below, in the non-X branch. The 140KB number was
150 measured on GNU/Linux and on MS-WIndows. */ 150 measured on GNU/Linux and on MS-WIndows. */
151#define SYSTEM_PURESIZE_EXTRA (-170000+140000) 151#define SYSTEM_PURESIZE_EXTRA (-170000+140000)
152#define LIBX11_SYSTEM -lxext -lsys 152#define LIBS_SYSTEM -lxext -lsys
153#else 153#else
154/* We need a little extra space, see ../../lisp/loadup.el. 154/* We need a little extra space, see ../../lisp/loadup.el.
155 As of 20091024, DOS-specific files use up 62KB of pure space. But 155 As of 20091024, DOS-specific files use up 62KB of pure space. But