Mercurial > emacs
comparison src/s/hpux10-20.h @ 108310:17d73312ed65
Move TERMINFO, LIBS_TERMCAP from cpp to configure.
* configure.in (HAVE_LIBNCURSES): New local variable.
(TERMINFO, LIBS_TERMCAP, TERMCAP_OBJ): New output variables,
replacing cpp in src/s/*.h and src/Makefile.in.
* src/Makefile.in (LIBS_TERMCAP): Set with configure, not cpp.
(TERMCAP_OBJ): New, set by configure, replacing termcapobj.
(termcapobj): Replace with TERMCAP_OBJ.
(otherobj): Use $TERMCAP_OBJ instead of $termcapobj.
(LIBES): Use LIBS_TERMCAP as a variable.
* src/s/freebsd.h (osreldate.h): No longer include, since this file
does not use __FreeBSD_version any more.
* srs/s/aix4-2.h (TERMINFO):
* srs/s/cygwin.h (TERMINFO):
* srs/s/darwin.h (TERMINFO, LIBS_TERMCAP) [HAVE_LIBNCURSES]:
* srs/s/freebsd.h (TERMINFO, LIBS_TERMCAP):
* srs/s/gnu-linux.h (TERMINFO, LIBS_TERMCAP) [HAVE_LIBNCURSES]:
* srs/s/gnu.h (TERMINFO, LIBS_TERMCAP) [HAVE_LIBNCURSES]:
* srs/s/hpux10-20.h (TERMINFO, LIBS_TERMCAP):
* srs/s/irix6-5.h (TERMINFO):
* srs/s/netbsd.h (LIBS_TERMCAP):
* srs/s/openbsd.h (TERMINFO, LIBS_TERMCAP):
* srs/s/sol2-6.h (LIBS_TERMCAP) [!TERMINFO]:
* srs/s/usg5-4.h (TERMINFO):
Move to configure.
* msdos/sed1v2.inp (LIBS_TERMCAP): Edit to empty.
(TERMCAP_OBJ): Edit to tparam.o.
* admin/CPP-DEFINES (LIBS_TERMCAP, TERMINFO): Remove.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Fri, 07 May 2010 19:05:24 -0700 |
parents | 8416c8d075e3 |
children | b9b3b94979ee |
comparison
equal
deleted
inserted
replaced
108309:8e422499f0ff | 108310:17d73312ed65 |
---|---|
75 /* The symbol in the kernel where the load average is found | 75 /* The symbol in the kernel where the load average is found |
76 depends on the cpu type, so we let the m- files define LDAV_SYMBOL. */ | 76 depends on the cpu type, so we let the m- files define LDAV_SYMBOL. */ |
77 | 77 |
78 /* Special hacks needed to make Emacs run on this system. */ | 78 /* Special hacks needed to make Emacs run on this system. */ |
79 | 79 |
80 /* Use the system provided termcap(3) library */ | |
81 #define TERMINFO | |
82 | |
83 /* In hpux, the symbol SIGIO is defined, but the feature | 80 /* In hpux, the symbol SIGIO is defined, but the feature |
84 doesn't work in the way Emacs needs it to. */ | 81 doesn't work in the way Emacs needs it to. */ |
85 | 82 |
86 #define BROKEN_SIGIO | 83 #define BROKEN_SIGIO |
87 | 84 |
138 | 135 |
139 #ifndef HAVE_XRMSETDATABASE | 136 #ifndef HAVE_XRMSETDATABASE |
140 #define HAVE_XRMSETDATABASE | 137 #define HAVE_XRMSETDATABASE |
141 #endif | 138 #endif |
142 | 139 |
143 /* Make sure we get select from libc rather than from libcurses | |
144 because libcurses on HPUX 10.10 has a broken version of select. | |
145 We used to use -lc -lcurses, but this may be cleaner. */ | |
146 #define LIBS_TERMCAP -ltermcap | |
147 | |
148 /* 2000-11-21: Temporarily disable Unix 98 large file support found by | 140 /* 2000-11-21: Temporarily disable Unix 98 large file support found by |
149 configure. It fails on HPUX 11, at least, because it enables | 141 configure. It fails on HPUX 11, at least, because it enables |
150 header sections which lose when `static' is defined away, as it is | 142 header sections which lose when `static' is defined away, as it is |
151 on HP-UX. (You get duplicate symbol errors on linking). */ | 143 on HP-UX. (You get duplicate symbol errors on linking). */ |
152 | |
153 #undef _FILE_OFFSET_BITS | 144 #undef _FILE_OFFSET_BITS |
154 | 145 |
155 /* Define NO_REMAP if memory segmentation makes it not work well | 146 /* Define NO_REMAP if memory segmentation makes it not work well |
156 to change the boundary between the text section and data section | 147 to change the boundary between the text section and data section |
157 when Emacs is dumped. If you define this, the preloaded Lisp | 148 when Emacs is dumped. If you define this, the preloaded Lisp |