annotate src/s/hpux11-shr.h @ 4869:e533a9912ef1

Eliminate funcalls, #'handle-pre-motion-command-current-command-is-motion 2010-01-20 Aidan Kehoe <kehoea@parhasard.net> * simple.el (handle-pre-motion-command-current-command-is-motion): This function is called a *lot*, make it faster, making keysyms-equal inline, calling #'characterp (which doesn't have a bytecode) much more rarely, and not throwing and catching. This won't make much difference in practice, but does eliminate losts of noise from profiling, e.g. at startup.
author Aidan Kehoe <kehoea@parhasard.net>
date Wed, 20 Jan 2010 17:30:29 +0000
parents aa5ed11f473b
children cad59a0a3b19
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
269
b2472a1930f2 Import from CVS: tag r20-5b33
cvs
parents:
diff changeset
1 /* Synched up with: FSF 19.31. */
b2472a1930f2 Import from CVS: tag r20-5b33
cvs
parents:
diff changeset
2
4759
aa5ed11f473b Remove support for obsolete systems. See xemacs-patches message with ID
Jerry James <james@xemacs.org>
parents: 269
diff changeset
3 /* For building XEmacs under HPUX 11.0 with dynamic libraries. */
269
b2472a1930f2 Import from CVS: tag r20-5b33
cvs
parents:
diff changeset
4
b2472a1930f2 Import from CVS: tag r20-5b33
cvs
parents:
diff changeset
5 #define ORDINARY_LINK
b2472a1930f2 Import from CVS: tag r20-5b33
cvs
parents:
diff changeset
6
b2472a1930f2 Import from CVS: tag r20-5b33
cvs
parents:
diff changeset
7 /* XEmacs change */
b2472a1930f2 Import from CVS: tag r20-5b33
cvs
parents:
diff changeset
8 #define HPUX_USE_SHLIBS
b2472a1930f2 Import from CVS: tag r20-5b33
cvs
parents:
diff changeset
9
b2472a1930f2 Import from CVS: tag r20-5b33
cvs
parents:
diff changeset
10 /* XEmacs: */
b2472a1930f2 Import from CVS: tag r20-5b33
cvs
parents:
diff changeset
11 /* Don't tell the linker to link statically */
b2472a1930f2 Import from CVS: tag r20-5b33
cvs
parents:
diff changeset
12 #ifdef NOT_C_CODE
b2472a1930f2 Import from CVS: tag r20-5b33
cvs
parents:
diff changeset
13 #define START_FILES
b2472a1930f2 Import from CVS: tag r20-5b33
cvs
parents:
diff changeset
14 #define LINKER "$(CC)"
b2472a1930f2 Import from CVS: tag r20-5b33
cvs
parents:
diff changeset
15 #endif /* THIS IS YMAKEFILE */
b2472a1930f2 Import from CVS: tag r20-5b33
cvs
parents:
diff changeset
16
b2472a1930f2 Import from CVS: tag r20-5b33
cvs
parents:
diff changeset
17 /* get call to brk() when rerunning XEmacs */
b2472a1930f2 Import from CVS: tag r20-5b33
cvs
parents:
diff changeset
18 #define RUN_TIME_REMAP
b2472a1930f2 Import from CVS: tag r20-5b33
cvs
parents:
diff changeset
19
b2472a1930f2 Import from CVS: tag r20-5b33
cvs
parents:
diff changeset
20 #include "hpux11.h"
b2472a1930f2 Import from CVS: tag r20-5b33
cvs
parents:
diff changeset
21
b2472a1930f2 Import from CVS: tag r20-5b33
cvs
parents:
diff changeset
22 /* We must turn off -g since it forces -static. */
b2472a1930f2 Import from CVS: tag r20-5b33
cvs
parents:
diff changeset
23 #ifdef __GNUC__
b2472a1930f2 Import from CVS: tag r20-5b33
cvs
parents:
diff changeset
24 #undef C_DEBUG_SWITCH
b2472a1930f2 Import from CVS: tag r20-5b33
cvs
parents:
diff changeset
25 #define C_DEBUG_SWITCH
b2472a1930f2 Import from CVS: tag r20-5b33
cvs
parents:
diff changeset
26 #endif