Mercurial > hg > xemacs-beta
annotate src/m/powerpc.h @ 1365:02909207294a
[xemacs-hg @ 2003-03-20 13:19:56 by youngs]
2003-03-20 Steve Youngs <youngs@xemacs.org>
* menubar-items.el (default-menubar): Add a "Pre-Release Download
Sites" submenu to "Tools -> Packages" menu.
Filter the package download sites menus through
`menu-split-long-menu'.
* obsolete.el (pui-add-install-directory): New.
(package-get-download-menu): New.
* package-admin.el: (package-admin-add-single-file-package):
Removed.
(package-admin-get-install-dir): Don't rely on an installed
xemacs-base package to guess where a package needs to be installed
to.
(package-admin-get-manifest-file): Whitespace clean up.
(package-admin-check-manifest): Use `directory-sep-char' to
compute regexp.
Only search 'lisp' and 'man' directories to determine package
name.
Don't error is xemacs-base package isn't installed, just don't
sort the MANIFEST file and issue a warning.
(package-admin-add-binary-package): Whitespace clean up.
(package-admin-get-lispdir): Ditto.
(package-admin-delete-binary-package): Use `with-temp-buffer'
instead of creating a temporary buffer manually.
* package-get.el: (package-get-remote): Change custom type so that
only either a single directory or remote host:directory can be
selected.
(package-get-download-sites): Put the sites into alphabetical
order of country.
Make the description element be "Country (site)" instead of the
other way around.
(package-get-pre-release-download-sites): New.
(package-get-require-signed-base-updates): Default to t.
(package-get-download-menu): Removed.
(package-get-locate-file): Change to reflect new format of
'package-get-remote'.
(package-get-update-base-from-buffer): Whitespace clean up and
remove an unneccessary 'when'.
(package-get-interactive-package-query): Whitespace clean up.
(package-get-update-all): Ditto.
(package-get-all): Ditto.
(package-get-init-package): Ditto.
(package-get-info): New.
(package-get): Bring into line with new format of
'package-get-remote'.
Error if non-Mule XEmacsen try to install Mule packages.
Don't rely on a Mule package having 'mule-base' in its
"REQUIRES" to determine if it is a Mule package or not,
instead we test "CATEGORY".
Better handling of the situation where a partial package tarball
exists on the local hard drive from a previous interupted
download.
Clean up after a failed package install.
(package-get-set-version-prop): Removed.
(package-get-installedp): Whitespace clean up.
* package-ui.el: Whitespace clean up.
(pui-info-buffer): Make it a defcustom.
(pui-directory-exists): Removed.
(pui-package-dir-list): Removed.
(pui-add-install-directory): Removed.
(package-ui-download-menu): New.
(package-ui-pre-release-download-menu): New.
(pui-set-local-package-get-directory): New.
(pui-package-symbol-char): Whitespace clean up.
(pui-update-package-display): Ditto.
(pui-toggle-package): Ditto.
(pui-toggle-package-key): Ditto.
(pui-toggle-package-delete): Ditto.
(pui-toggle-package-delete-key): Ditto.
(pui-toggle-package-event): Ditto.
(pui-toggle-verbosity-redisplay): Ditto.
(pui-install-selected-packages): Ditto.
(pui-help-echo): Ditto.
(pui-display-info): Ditto.
(pui-list-packages): Ditto.
* packages.el: Whitespace clean up.
author | youngs |
---|---|
date | Thu, 20 Mar 2003 13:19:59 +0000 |
parents | 4542b72c005e |
children | ecf1ebac70d8 |
rev | line source |
---|---|
428 | 1 /* machine description file for Power PC |
2 Copyright (C) 1987, 1994 Free Software Foundation, Inc. | |
3 Copyright (C) 1995 Board of Trustees, University of Illinois | |
4 | |
5 This file is part of XEmacs. | |
6 | |
7 XEmacs is free software; you can redistribute it and/or modify | |
8 it under the terms of the GNU General Public License as published by | |
9 the Free Software Foundation; either version 2, or (at your option) | |
10 any later version. | |
11 | |
12 XEmacs is distributed in the hope that it will be useful, | |
13 but WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
15 GNU General Public License for more details. | |
16 | |
17 You should have received a copy of the GNU General Public License | |
18 along with XEmacs; see the file COPYING. If not, write to | |
19 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, | |
20 Boston, MA 02111-1307, USA. */ | |
21 | |
22 /* The following line tells the configuration script what sort of | |
23 operating system this machine is likely to run. | |
24 USUAL-OPSYS="solaris2-5" */ | |
25 | |
26 #ifdef NOT_C_CODE | |
27 # define POWERPC | |
28 #else | |
29 # ifndef powerpc | |
30 # define powerpc | |
31 # endif | |
32 #endif | |
33 | |
34 #ifdef __GNUC__ | |
35 # define C_OPTIMIZE_SWITCH "-O" | |
36 #else | |
37 /* XEmacs change */ | |
38 # ifdef USE_LCC | |
39 # define C_OPTIMIZE_SWITCH "-O4 -Oi" | |
40 # else | |
41 /* This level of optimization is reported to work. */ | |
42 # define C_OPTIMIZE_SWITCH "-O2" | |
43 # endif | |
44 #endif | |
45 | |
46 #ifndef __linux__ | |
47 /* Data type of load average, as read out of kmem. */ | |
48 | |
49 #define LOAD_AVE_TYPE long | |
50 | |
51 /* Convert that into an integer that is 100 for a load average of 1.0 */ | |
52 | |
53 #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) | |
54 #else /* mklinux */ | |
55 | |
56 /* Define addresses, macros, change some setup for dump */ | |
57 | |
58 #define NO_REMAP | |
59 | |
60 #define N_BADMAG(x) BADMAG(x) | |
61 #define N_TXTOFF(x) A_TEXTPOS(x) | |
62 #define N_SYMOFF(x) A_SYMPOS(x) | |
63 /* #define A_TEXT_OFFSET(HDR) sizeof(HDR) */ | |
64 /* #define ADJUST_EXEC_HEADER \ | |
65 unexec_text_start += sizeof(hdr); \ | |
66 unexec_data_start = ohdr.a_dbase | |
67 */ | |
68 #undef ADDR_CORRECT | |
69 #define ADDR_CORRECT(x) ((int)(x)) | |
70 | |
71 /* Define C_ALLOCA if this machine does not support a true alloca | |
72 and the one written in C should be used instead. | |
73 Define HAVE_ALLOCA to say that the system provides a properly | |
74 working alloca function and it should be used. | |
75 Define neither one if an assembler-language alloca | |
76 in the file alloca.s should be used. */ | |
77 | |
78 #define HAVE_ALLOCA | |
79 | |
80 /* Specify the font for X to use. | |
81 This used to be Rom14.500; that's nice on the X server shipped with | |
82 the RS/6000, but it's not available on other servers. */ | |
83 #define X_DEFAULT_FONT "fixed" | |
84 | |
85 /* Here override various assumptions in ymakefile */ | |
86 | |
87 /* #undef START_FILES */ | |
88 /* #define HAVE_SYSVIPC */ | |
89 /* #define HAVE_GETWD */ | |
90 | |
91 /* Don't try to include sioctl.h or ptem.h. */ | |
92 #undef NEED_SIOCTL | |
93 #undef NEED_PTEM_H | |
94 | |
95 #define ORDINARY_LINK | |
96 /*#define LD_SWITCH_MACHINE -T ${srcdir}/src/ppc.ldscript*/ | |
97 #endif |