view src/s/hpux10.h @ 23892:f05e983b8486

(ps-mule-font-info-database): Doc-string modified. (ps-mule-external-libraries): New element FEATURE. (ps-mule-init-external-library): Ajusted for the above change. (ps-mule-generate-font): Likewise. (ps-mule-generate-glyphs): Likewise. (ps-mule-prepare-font): Likewise. (ps-mule-initialize): Likewise. (ps-begin-file): Superfluous tailing parenthesis deleted. Mule related code moved to ps-mule.el. (ps-begin-job): While setting ps-control-or-escape-regexp, don't check ps-mule-charset-list. (ps-begin-page): Don't set ps-mule-current-charset, instead call ps-mule-begin-page. (ps-basic-plot-string): Call ps-mule-prepare-ascii-font. (ps-plot-region): Don't set ps-mule-current-charset, instead call ps-mule-set-ascii-font. Don't call ps-mule-skip-same-charset, instead skip same charsets by itself. (ps-generate): Call ps-mule-initialize of needs-begin-file is non-nil. Call ps-mule-begin-job. (ps-print-version): New version number (4.1.2), doc fix and mule related code extraction. Autoload ps-mule funs. Define several functions for Emacs 20.2 and the earlier version. (ps-printer-name): Check if printer-name is bound.
author Kenichi Handa <handa@m17n.org>
date Tue, 15 Dec 1998 06:31:48 +0000
parents 7c853eb6ad19
children 2f9062a74f0e
line wrap: on
line source

#include "hpux9shr.h"

#define HPUX10

/* We have to go this route, rather than hpux9's approach of renaming the
   functions via macros.  The system's stdlib.h has fully prototyped
   declarations, which yields a conflicting definition of srand48; it
   tries to redeclare what was once srandom to be srand48.  So we go
   with HAVE_LRAND48 being defined.  */
#undef srandom
#undef srand48
#undef HAVE_RANDOM
#define HPUX10
#define FORCE_ALLOCA_H

/* AlainF 20-Jul-1996 says this is right.  */
#undef KERNEL_FILE
#define KERNEL_FILE "/stand/vmunix"

#ifdef LIBS_SYSTEM
#undef LIBS_SYSTEM
#endif
#ifdef HPUX_NET
#define LIBS_SYSTEM -ln -l:libdld.sl
#else
#define LIBS_SYSTEM -l:libdld.sl
#endif

/* Make sure we get select from libc rather than from libcurses
   because libcurses on HPUX 10.10 has a broken version of select.
   We used to use -lc -lcurses, but this may be cleaner.  */
#define LIBS_TERMCAP -ltermcap

#undef C_SWITCH_X_SYSTEM
#undef LD_SWITCH_X_DEFAULT
/* However, HPUX 10 puts Xaw and Xmu in a strange place
   (if you install them at all).  So search that place.  */
#define C_SWITCH_X_SYSTEM -I/usr/include/X11R5 -I/usr/include/Motif1.2 -I/usr/contrib/X11R5/include
#define LD_SWITCH_X_DEFAULT -L/usr/lib/X11R5 -L/usr/lib/Motif1.2 -L/usr/contrib/X11R5/lib