1 /* System description file for hpux version 9.
3 Copyright (C) 1999, 2001, 2002, 2003, 2004, 2005, 2006,
4 2007 Free Software Foundation, Inc.
6 This file is part of GNU Emacs.
8 GNU Emacs is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 2, or (at your option)
13 GNU Emacs is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with GNU Emacs; see the file COPYING. If not, write to
20 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
21 Boston, MA 02110-1301, USA. */
28 /* If Emacs doesn't seem to work when built to use GNU malloc, you
29 probably need to get the latest patches to the HP/UX compiler.
30 See `etc/MACHINES' for more information. */
32 #define SYSTEM_MALLOC 1
38 /* Make room for enough symbols, so dispnew.c does not fail. */
39 #define C_SWITCH_SYSTEM -Wp,-H200000 -D_BSD
41 #define C_SWITCH_SYSTEM -D_BSD
44 #if 0 /* These definitions run into a bug in hpux
45 whereby trying to disable the vdsusp character has no effect.
46 supposedly there is no particular need for this. */
47 /* neal@ctd.comsat.com */
53 /* According to ngorelic@speclab.cr.usgs.gov,
54 references to the X11R4 directories in these variables
55 (inherited from hpux8.h)
56 cause the wrong libraries to be found,
57 and the options to specify the X11R5 directories are unnecessary
58 since the R5 files are found without them. */
60 #undef C_SWITCH_X_SYSTEM
61 #undef LD_SWITCH_X_DEFAULT
62 /* However, HPUX 9 has Motif includes in a strange place.
63 So search that place. These definitions assume that X11R5 is being
64 used -- if X11R4 is used, "s/hpux9-x11r4.h" gets loaded instead. */
65 /* horst@tkm.physik.uni-karlsruhe.de says that the /usr/contrib/... dirs
66 are needed to find the Xmu and Xaw libraries. */
67 #define C_SWITCH_X_SYSTEM -I/usr/include/X11R5 -I/usr/contrib/X11R5/include -I/usr/include/Motif1.2
68 #define LD_SWITCH_X_DEFAULT -L/usr/lib/X11R5 -L/usr/contrib/X11R5/lib -L/usr/lib/Motif1.2
71 /* HP-UX doesn't supply Xmu. */
76 /* Assar Westerlund <assar@sics.se> says this is necessary for
77 HP-UX 10.20, and that it works for HP-UX 0 as well. */
80 /* zoo@armadillo.com says we don't need -lXext in HPUX 9. */
83 /* Tested in getloadavg.c. */
84 #define HAVE_PSTAT_GETDYNAMIC
86 /* Eric Backus <ericb@lsid.hp.com> says, HP-UX 9.x on HP 700 machines
87 has a broken `rint' in some library versions including math library
88 version number A.09.05.
90 You can fix the math library by installing patch number PHSS_4630.
91 But we can fix it more reliably for Emacs like this. */
95 /* arch-tag: 0a5e9f05-012c-4962-a222-a7a3a7fe0ab7
96 (do not change this comment) */