annotate src/s/hpux10.h @ 15777:d6eb0b865cd2

[__GNUC__] (C_DEBUG_SWITCH): Define as -g3.
author Richard M. Stallman <rms@gnu.org>
date Wed, 24 Jul 1996 03:38:46 +0000
parents 1fb9ef6e1a9a
children 08e349d3fa14
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
15425
482b164fe732 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1 #include "hpux9shr.h"
482b164fe732 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2
15457
1993f23c4bfe (HPUX10): New macro.
Richard M. Stallman <rms@gnu.org>
parents: 15426
diff changeset
3 #define HPUX10
1993f23c4bfe (HPUX10): New macro.
Richard M. Stallman <rms@gnu.org>
parents: 15426
diff changeset
4
15425
482b164fe732 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
5 /* We have to go this route, rather than hpux9's approach of renaming the
482b164fe732 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
6 functions via macros. The system's stdlib.h has fully prototyped
482b164fe732 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
7 declarations, which yields a conflicting definition of srand48; it
482b164fe732 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
8 tries to redeclare what was once srandom to be srand48. So we go
482b164fe732 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
9 with HAVE_LRAND48 being defined. */
482b164fe732 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
10 #undef srandom
482b164fe732 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
11 #undef srand48
482b164fe732 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
12 #undef HAVE_RANDOM
482b164fe732 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
13 #define HPUX10
482b164fe732 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
14 #define FORCE_ALLOCA_H
15426
28464b50adfb (LIBS_SYSTEM): Two new definitions (and #undef first).
Richard M. Stallman <rms@gnu.org>
parents: 15425
diff changeset
15
28464b50adfb (LIBS_SYSTEM): Two new definitions (and #undef first).
Richard M. Stallman <rms@gnu.org>
parents: 15425
diff changeset
16 #ifdef LIBS_SYSTEM
28464b50adfb (LIBS_SYSTEM): Two new definitions (and #undef first).
Richard M. Stallman <rms@gnu.org>
parents: 15425
diff changeset
17 #undef LIBS_SYSTEM
28464b50adfb (LIBS_SYSTEM): Two new definitions (and #undef first).
Richard M. Stallman <rms@gnu.org>
parents: 15425
diff changeset
18 #endif
28464b50adfb (LIBS_SYSTEM): Two new definitions (and #undef first).
Richard M. Stallman <rms@gnu.org>
parents: 15425
diff changeset
19 #ifdef HPUX_NET
28464b50adfb (LIBS_SYSTEM): Two new definitions (and #undef first).
Richard M. Stallman <rms@gnu.org>
parents: 15425
diff changeset
20 #define LIBS_SYSTEM -ln -l:libdld.sl
28464b50adfb (LIBS_SYSTEM): Two new definitions (and #undef first).
Richard M. Stallman <rms@gnu.org>
parents: 15425
diff changeset
21 #else
28464b50adfb (LIBS_SYSTEM): Two new definitions (and #undef first).
Richard M. Stallman <rms@gnu.org>
parents: 15425
diff changeset
22 #define LIBS_SYSTEM -l:libdld.sl
28464b50adfb (LIBS_SYSTEM): Two new definitions (and #undef first).
Richard M. Stallman <rms@gnu.org>
parents: 15425
diff changeset
23 #endif
15708
1fb9ef6e1a9a (LIBS_TERMCAP): New definition.
Karl Heuer <kwzh@gnu.org>
parents: 15457
diff changeset
24
1fb9ef6e1a9a (LIBS_TERMCAP): New definition.
Karl Heuer <kwzh@gnu.org>
parents: 15457
diff changeset
25 /* Make sure we get select from libc rather than from libcurses
1fb9ef6e1a9a (LIBS_TERMCAP): New definition.
Karl Heuer <kwzh@gnu.org>
parents: 15457
diff changeset
26 because libcurses on HPUX 10.10 has a broken version of select. */
1fb9ef6e1a9a (LIBS_TERMCAP): New definition.
Karl Heuer <kwzh@gnu.org>
parents: 15457
diff changeset
27 #define LIBS_TERMCAP -lc -lcurses