Mercurial > emacs
diff src/s/openbsd.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 | af063227abbf |
children | ef719132ddfa |
line wrap: on
line diff
--- a/src/s/openbsd.h Fri May 07 20:20:30 2010 -0400 +++ b/src/s/openbsd.h Fri May 07 19:05:24 2010 -0700 @@ -1,13 +1,7 @@ /* System file for openbsd. */ -/* Mostly the same as NetBSD. */ +/* The same as NetBSD. Note there are differences in configure. */ #include "netbsd.h" -/* David Mazieres <dm@reeducation-labor.lcs.mit.edu> says this - is necessary. Otherwise Emacs dumps core when run -nw. */ -#define TERMINFO -#undef LIBS_TERMCAP -#define LIBS_TERMCAP -lncurses - /* arch-tag: 7e3f65ca-3f48-4237-933f-2b208b21e8e2 (do not change this comment) */