diff options
| author | Glenn Morris | 2010-05-07 19:05:24 -0700 |
|---|---|---|
| committer | Glenn Morris | 2010-05-07 19:05:24 -0700 |
| commit | 40c178792eb1464abede4fd86d3bb394f49e3131 (patch) | |
| tree | 886356df27d092af16683c8592ca23d2963fd39d /src | |
| parent | ba5bf5f0f9d661602397cd690d796940b17173ba (diff) | |
| download | emacs-40c178792eb1464abede4fd86d3bb394f49e3131.tar.gz emacs-40c178792eb1464abede4fd86d3bb394f49e3131.zip | |
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.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 25 | ||||
| -rw-r--r-- | src/Makefile.in | 24 | ||||
| -rw-r--r-- | src/s/aix4-2.h | 5 | ||||
| -rw-r--r-- | src/s/cygwin.h | 4 | ||||
| -rw-r--r-- | src/s/darwin.h | 10 | ||||
| -rw-r--r-- | src/s/freebsd.h | 8 | ||||
| -rw-r--r-- | src/s/gnu-linux.h | 5 | ||||
| -rw-r--r-- | src/s/gnu.h | 7 | ||||
| -rw-r--r-- | src/s/hpux10-20.h | 9 | ||||
| -rw-r--r-- | src/s/irix6-5.h | 5 | ||||
| -rw-r--r-- | src/s/netbsd.h | 2 | ||||
| -rw-r--r-- | src/s/openbsd.h | 8 | ||||
| -rw-r--r-- | src/s/sol2-6.h | 12 | ||||
| -rw-r--r-- | src/s/usg5-4.h | 9 |
14 files changed, 38 insertions, 95 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 02659063c75..32044fc167b 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,28 @@ | |||
| 1 | 2010-05-08 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * Makefile.in (LIBS_TERMCAP): Set with configure, not cpp. | ||
| 4 | (TERMCAP_OBJ): New, set by configure, replacing termcapobj. | ||
| 5 | (termcapobj): Replace with TERMCAP_OBJ. | ||
| 6 | (otherobj): Use $TERMCAP_OBJ instead of $termcapobj. | ||
| 7 | (LIBES): Use LIBS_TERMCAP as a variable. | ||
| 8 | |||
| 9 | * s/freebsd.h (osreldate.h): No longer include, since this file | ||
| 10 | does not use __FreeBSD_version any more. | ||
| 11 | |||
| 12 | * s/aix4-2.h (TERMINFO): | ||
| 13 | * s/cygwin.h (TERMINFO): | ||
| 14 | * s/darwin.h (TERMINFO, LIBS_TERMCAP) [HAVE_LIBNCURSES]: | ||
| 15 | * s/freebsd.h (TERMINFO, LIBS_TERMCAP): | ||
| 16 | * s/gnu-linux.h (TERMINFO, LIBS_TERMCAP) [HAVE_LIBNCURSES]: | ||
| 17 | * s/gnu.h (TERMINFO, LIBS_TERMCAP) [HAVE_LIBNCURSES]: | ||
| 18 | * s/hpux10-20.h (TERMINFO, LIBS_TERMCAP): | ||
| 19 | * s/irix6-5.h (TERMINFO): | ||
| 20 | * s/netbsd.h (LIBS_TERMCAP): | ||
| 21 | * s/openbsd.h (TERMINFO, LIBS_TERMCAP): | ||
| 22 | * s/sol2-6.h (LIBS_TERMCAP) [!TERMINFO]: | ||
| 23 | * s/usg5-4.h (TERMINFO): | ||
| 24 | Move to configure. | ||
| 25 | |||
| 1 | 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca> | 26 | 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 27 | ||
| 3 | * eval.c (unbind_to): Don't unbind a local binding into the global | 28 | * eval.c (unbind_to): Don't unbind a local binding into the global |
diff --git a/src/Makefile.in b/src/Makefile.in index 43a1cae02dc..40ede77078b 100644 --- a/src/Makefile.in +++ b/src/Makefile.in | |||
| @@ -105,6 +105,11 @@ GCONF_LIBS = @GCONF_LIBS@ | |||
| 105 | 105 | ||
| 106 | GTK_OBJ=@GTK_OBJ@ | 106 | GTK_OBJ=@GTK_OBJ@ |
| 107 | 107 | ||
| 108 | ## -ltermcap, or -lncurses, or -lcurses, or "". | ||
| 109 | LIBS_TERMCAP=@LIBS_TERMCAP@ | ||
| 110 | ## terminfo.o if TERMINFO, else tparam.o. | ||
| 111 | TERMCAP_OBJ=@TERMCAP_OBJ@ | ||
| 112 | |||
| 108 | LIBXMU=@LIBXMU@ | 113 | LIBXMU=@LIBXMU@ |
| 109 | 114 | ||
| 110 | LIBXSM=@LIBXSM@ | 115 | LIBXSM=@LIBXSM@ |
| @@ -368,21 +373,6 @@ SOME_MACHINE_OBJECTS = dosfns.o msdos.o \ | |||
| 368 | w32.o w32console.o w32fns.o w32heap.o w32inevt.o \ | 373 | w32.o w32console.o w32fns.o w32heap.o w32inevt.o \ |
| 369 | w32menu.o w32proc.o w32reg.o w32select.o w32term.o w32xfns.o $(FONT_DRIVERS) | 374 | w32menu.o w32proc.o w32reg.o w32select.o w32term.o w32xfns.o $(FONT_DRIVERS) |
| 370 | 375 | ||
| 371 | |||
| 372 | #ifdef TERMINFO | ||
| 373 | /* Used to be -ltermcap here. If your machine needs that, | ||
| 374 | define LIBS_TERMCAP in the m/MACHINE.h file. */ | ||
| 375 | #ifndef LIBS_TERMCAP | ||
| 376 | #define LIBS_TERMCAP -lcurses | ||
| 377 | #endif /* LIBS_TERMCAP */ | ||
| 378 | termcapobj = terminfo.o | ||
| 379 | #else /* ! defined (TERMINFO) */ | ||
| 380 | #ifndef LIBS_TERMCAP | ||
| 381 | #define LIBS_TERMCAP | ||
| 382 | #endif /* LIBS_TERMCAP */ | ||
| 383 | termcapobj = tparam.o | ||
| 384 | #endif /* ! defined (TERMINFO) */ | ||
| 385 | |||
| 386 | gmallocobj = | 376 | gmallocobj = |
| 387 | rallocobj = | 377 | rallocobj = |
| 388 | vmlimitobj = | 378 | vmlimitobj = |
| @@ -404,7 +394,7 @@ PRE_ALLOC_OBJ=@PRE_ALLOC_OBJ@ | |||
| 404 | POST_ALLOC_OBJ=@POST_ALLOC_OBJ@ | 394 | POST_ALLOC_OBJ=@POST_ALLOC_OBJ@ |
| 405 | 395 | ||
| 406 | /* List of object files that make-docfile should not be told about. */ | 396 | /* List of object files that make-docfile should not be told about. */ |
| 407 | otherobj= $(termcapobj) $(PRE_ALLOC_OBJ) $(gmallocobj) $(rallocobj) \ | 397 | otherobj= $(TERMCAP_OBJ) $(PRE_ALLOC_OBJ) $(gmallocobj) $(rallocobj) \ |
| 408 | $(POST_ALLOC_OBJ) $(WIDGET_OBJ) $(LIBOBJS) | 398 | $(POST_ALLOC_OBJ) $(WIDGET_OBJ) $(LIBOBJS) |
| 409 | 399 | ||
| 410 | #ifdef HAVE_MOUSE | 400 | #ifdef HAVE_MOUSE |
| @@ -667,7 +657,7 @@ SOME_MACHINE_LISP = ../lisp/mouse.elc \ | |||
| 667 | with GCC, we might need gnulib again after them. */ | 657 | with GCC, we might need gnulib again after them. */ |
| 668 | 658 | ||
| 669 | LIBES = $(LOADLIBES) $(LIBS) $(LIBX_BASE) $(LIBX_OTHER) $(LIBSOUND) \ | 659 | LIBES = $(LOADLIBES) $(LIBS) $(LIBX_BASE) $(LIBX_OTHER) $(LIBSOUND) \ |
| 670 | $(RSVG_LIBS) $(DBUS_LIBS) @LIBGPM@ @LIBRESOLV@ LIBS_SYSTEM LIBS_TERMCAP \ | 660 | $(RSVG_LIBS) $(DBUS_LIBS) @LIBGPM@ @LIBRESOLV@ LIBS_SYSTEM $(LIBS_TERMCAP) \ |
| 671 | $(GETLOADAVG_LIBS) ${GCONF_LIBS} ${LIBSELINUX_LIBS} \ | 661 | $(GETLOADAVG_LIBS) ${GCONF_LIBS} ${LIBSELINUX_LIBS} \ |
| 672 | @FREETYPE_LIBS@ @FONTCONFIG_LIBS@ @LIBOTF_LIBS@ @M17N_FLT_LIBS@ \ | 662 | @FREETYPE_LIBS@ @FONTCONFIG_LIBS@ @LIBOTF_LIBS@ @M17N_FLT_LIBS@ \ |
| 673 | $(GNULIB_VAR) @LIB_MATH@ @LIB_STANDARD@ $(GNULIB_VAR) | 663 | $(GNULIB_VAR) @LIB_MATH@ @LIB_STANDARD@ $(GNULIB_VAR) |
diff --git a/src/s/aix4-2.h b/src/s/aix4-2.h index 70bf299fae1..eb2003d9489 100644 --- a/src/s/aix4-2.h +++ b/src/s/aix4-2.h | |||
| @@ -96,11 +96,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 96 | #define LIBS_SYSTEM -lrts -lIM -liconv | 96 | #define LIBS_SYSTEM -lrts -lIM -liconv |
| 97 | #endif | 97 | #endif |
| 98 | 98 | ||
| 99 | |||
| 100 | /* Use terminfo instead of termcap. */ | ||
| 101 | |||
| 102 | #define TERMINFO | ||
| 103 | |||
| 104 | /* The following definition seems to be needed in AIX version 3.1.6.8. | 99 | /* The following definition seems to be needed in AIX version 3.1.6.8. |
| 105 | It may not have been needed in certain earlier versions. */ | 100 | It may not have been needed in certain earlier versions. */ |
| 106 | #define HAVE_TCATTR | 101 | #define HAVE_TCATTR |
diff --git a/src/s/cygwin.h b/src/s/cygwin.h index 1b451456dd4..296b1970a97 100644 --- a/src/s/cygwin.h +++ b/src/s/cygwin.h | |||
| @@ -106,10 +106,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 106 | #define UNEXEC unexcw.o | 106 | #define UNEXEC unexcw.o |
| 107 | #define LINKER $(CC) | 107 | #define LINKER $(CC) |
| 108 | 108 | ||
| 109 | /* Use terminfo instead of termcap. Fewer environment variables to | ||
| 110 | go wrong, more terminal types. */ | ||
| 111 | #define TERMINFO | ||
| 112 | |||
| 113 | #define HAVE_SOCKETS | 109 | #define HAVE_SOCKETS |
| 114 | 110 | ||
| 115 | /* vfork() interacts badly with setsid(), causing ptys to fail to | 111 | /* vfork() interacts badly with setsid(), causing ptys to fail to |
diff --git a/src/s/darwin.h b/src/s/darwin.h index 0b7c99a4fcf..a3dfe06e83d 100644 --- a/src/s/darwin.h +++ b/src/s/darwin.h | |||
| @@ -179,16 +179,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 179 | #undef HAVE_POSIX_MEMALIGN | 179 | #undef HAVE_POSIX_MEMALIGN |
| 180 | #endif | 180 | #endif |
| 181 | 181 | ||
| 182 | /* The ncurses library has been moved out of the System framework in | ||
| 183 | Mac OS X 10.2. So if ./configure detects it, set the command-line | ||
| 184 | option to use it. */ | ||
| 185 | #ifdef HAVE_LIBNCURSES | ||
| 186 | #define LIBS_TERMCAP -lncurses | ||
| 187 | /* This prevents crashes when running Emacs in Terminal.app under | ||
| 188 | 10.2. */ | ||
| 189 | #define TERMINFO | ||
| 190 | #endif | ||
| 191 | |||
| 192 | /* Link this program just by running cc. */ | 182 | /* Link this program just by running cc. */ |
| 193 | #define ORDINARY_LINK | 183 | #define ORDINARY_LINK |
| 194 | 184 | ||
diff --git a/src/s/freebsd.h b/src/s/freebsd.h index 1e79e1d3581..50fdf65a1bc 100644 --- a/src/s/freebsd.h +++ b/src/s/freebsd.h | |||
| @@ -22,8 +22,6 @@ GNU General Public License for more details. | |||
| 22 | You should have received a copy of the GNU General Public License | 22 | You should have received a copy of the GNU General Public License |
| 23 | along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | 23 | along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ |
| 24 | 24 | ||
| 25 | #include <osreldate.h> | ||
| 26 | |||
| 27 | /* Get most of the stuff from bsd-common */ | 25 | /* Get most of the stuff from bsd-common */ |
| 28 | #include "bsd-common.h" | 26 | #include "bsd-common.h" |
| 29 | 27 | ||
| @@ -33,12 +31,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 33 | #define PENDING_OUTPUT_COUNT(FILE) ((FILE)->_p - (FILE)->_bf._base) | 31 | #define PENDING_OUTPUT_COUNT(FILE) ((FILE)->_p - (FILE)->_bf._base) |
| 34 | 32 | ||
| 35 | #define LIBS_SYSTEM -lutil | 33 | #define LIBS_SYSTEM -lutil |
| 36 | #if __FreeBSD_version < 400000 | ||
| 37 | #define LIBS_TERMCAP -ltermcap | ||
| 38 | #else | ||
| 39 | #define TERMINFO | ||
| 40 | #define LIBS_TERMCAP -lncurses | ||
| 41 | #endif | ||
| 42 | 34 | ||
| 43 | #undef LIB_GCC | 35 | #undef LIB_GCC |
| 44 | #define LIB_GCC | 36 | #define LIB_GCC |
diff --git a/src/s/gnu-linux.h b/src/s/gnu-linux.h index f3a06990ed3..d010fc72615 100644 --- a/src/s/gnu-linux.h +++ b/src/s/gnu-linux.h | |||
| @@ -180,11 +180,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 180 | #undef LIB_GCC | 180 | #undef LIB_GCC |
| 181 | #define LIB_GCC | 181 | #define LIB_GCC |
| 182 | 182 | ||
| 183 | #ifdef HAVE_LIBNCURSES | ||
| 184 | #define TERMINFO | ||
| 185 | #define LIBS_TERMCAP -lncurses | ||
| 186 | #endif | ||
| 187 | |||
| 188 | #define UNEXEC unexelf.o | 183 | #define UNEXEC unexelf.o |
| 189 | 184 | ||
| 190 | /* This is to work around mysterious gcc failures in some system versions. | 185 | /* This is to work around mysterious gcc failures in some system versions. |
diff --git a/src/s/gnu.h b/src/s/gnu.h index bf68cabe051..9f6fe52a5de 100644 --- a/src/s/gnu.h +++ b/src/s/gnu.h | |||
| @@ -28,13 +28,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 28 | 28 | ||
| 29 | #define SIGNALS_VIA_CHARACTERS | 29 | #define SIGNALS_VIA_CHARACTERS |
| 30 | 30 | ||
| 31 | /* Tell Emacs that we are a terminfo based system; disable the use | ||
| 32 | of local termcap. (GNU uses ncurses.) */ | ||
| 33 | #ifdef HAVE_LIBNCURSES | ||
| 34 | #define TERMINFO | ||
| 35 | #define LIBS_TERMCAP -lncurses | ||
| 36 | #endif | ||
| 37 | |||
| 38 | /* Use mmap directly for allocating larger buffers. */ | 31 | /* Use mmap directly for allocating larger buffers. */ |
| 39 | #ifdef DOUG_LEA_MALLOC | 32 | #ifdef DOUG_LEA_MALLOC |
| 40 | #undef REL_ALLOC | 33 | #undef REL_ALLOC |
diff --git a/src/s/hpux10-20.h b/src/s/hpux10-20.h index 50fe0e63aea..8dc2f4d97df 100644 --- a/src/s/hpux10-20.h +++ b/src/s/hpux10-20.h | |||
| @@ -77,9 +77,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 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 | ||
| @@ -140,16 +137,10 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 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 |
diff --git a/src/s/irix6-5.h b/src/s/irix6-5.h index 43a98166d91..3614eab5a6c 100644 --- a/src/s/irix6-5.h +++ b/src/s/irix6-5.h | |||
| @@ -40,13 +40,8 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 40 | /* Make process_send_signal work by "typing" a signal character on the pty. */ | 40 | /* Make process_send_signal work by "typing" a signal character on the pty. */ |
| 41 | #define SIGNALS_VIA_CHARACTERS | 41 | #define SIGNALS_VIA_CHARACTERS |
| 42 | 42 | ||
| 43 | /* Use terminfo instead of termcap. */ | ||
| 44 | |||
| 45 | #define TERMINFO | ||
| 46 | |||
| 47 | /* Letter to use in finding device name of first pty, | 43 | /* Letter to use in finding device name of first pty, |
| 48 | if system supports pty's. 'a' means it is /dev/ptya0 */ | 44 | if system supports pty's. 'a' means it is /dev/ptya0 */ |
| 49 | |||
| 50 | #undef FIRST_PTY_LETTER | 45 | #undef FIRST_PTY_LETTER |
| 51 | #define FIRST_PTY_LETTER 'q' | 46 | #define FIRST_PTY_LETTER 'q' |
| 52 | 47 | ||
diff --git a/src/s/netbsd.h b/src/s/netbsd.h index a92e8ce56ee..fa6d1141c8c 100644 --- a/src/s/netbsd.h +++ b/src/s/netbsd.h | |||
| @@ -26,8 +26,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 26 | 26 | ||
| 27 | #define PENDING_OUTPUT_COUNT(FILE) ((FILE)->_p - (FILE)->_bf._base) | 27 | #define PENDING_OUTPUT_COUNT(FILE) ((FILE)->_p - (FILE)->_bf._base) |
| 28 | 28 | ||
| 29 | #define LIBS_TERMCAP -ltermcap | ||
| 30 | |||
| 31 | #undef LIB_GCC | 29 | #undef LIB_GCC |
| 32 | #define LIB_GCC | 30 | #define LIB_GCC |
| 33 | 31 | ||
diff --git a/src/s/openbsd.h b/src/s/openbsd.h index b5566a6d35e..d9d60e3b868 100644 --- a/src/s/openbsd.h +++ b/src/s/openbsd.h | |||
| @@ -1,13 +1,7 @@ | |||
| 1 | /* System file for openbsd. */ | 1 | /* System file for openbsd. */ |
| 2 | 2 | ||
| 3 | /* Mostly the same as NetBSD. */ | 3 | /* The same as NetBSD. Note there are differences in configure. */ |
| 4 | #include "netbsd.h" | 4 | #include "netbsd.h" |
| 5 | 5 | ||
| 6 | /* David Mazieres <dm@reeducation-labor.lcs.mit.edu> says this | ||
| 7 | is necessary. Otherwise Emacs dumps core when run -nw. */ | ||
| 8 | #define TERMINFO | ||
| 9 | #undef LIBS_TERMCAP | ||
| 10 | #define LIBS_TERMCAP -lncurses | ||
| 11 | |||
| 12 | /* arch-tag: 7e3f65ca-3f48-4237-933f-2b208b21e8e2 | 6 | /* arch-tag: 7e3f65ca-3f48-4237-933f-2b208b21e8e2 |
| 13 | (do not change this comment) */ | 7 | (do not change this comment) */ |
diff --git a/src/s/sol2-6.h b/src/s/sol2-6.h index c05387d47f4..78d2bfb3b6b 100644 --- a/src/s/sol2-6.h +++ b/src/s/sol2-6.h | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | /* Definitions file for GNU Emacs running on Solaris 2.6. | 1 | /* Definitions file for GNU Emacs running on Solaris 2.6. |
| 2 | 2 | ||
| 3 | Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, | 3 | Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, |
| 4 | 2008, 2009, 2010 Free Software Foundation, Inc. | 4 | 2008, 2009, 2010 Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | This file is part of GNU Emacs. | 6 | This file is part of GNU Emacs. |
| 7 | 7 | ||
| @@ -38,16 +38,8 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 38 | 38 | ||
| 39 | /* inoue@ainet.or.jp says Solaris has a bug related to X11R6-style | 39 | /* inoue@ainet.or.jp says Solaris has a bug related to X11R6-style |
| 40 | XIM support. */ | 40 | XIM support. */ |
| 41 | |||
| 42 | #define INHIBIT_X11R6_XIM | 41 | #define INHIBIT_X11R6_XIM |
| 43 | 42 | ||
| 44 | /* Must use the system's termcap, if we use any termcap. | ||
| 45 | It does special things. */ | ||
| 46 | |||
| 47 | #ifndef TERMINFO | ||
| 48 | #define LIBS_TERMCAP -ltermcap | ||
| 49 | #endif | ||
| 50 | |||
| 51 | /* This is the same definition as in usg5-4.h, but with sigblock/sigunblock | 43 | /* This is the same definition as in usg5-4.h, but with sigblock/sigunblock |
| 52 | rather than sighold/sigrelse, which appear to be BSD4.1 specific. | 44 | rather than sighold/sigrelse, which appear to be BSD4.1 specific. |
| 53 | It may also be appropriate for SVR4.x | 45 | It may also be appropriate for SVR4.x |
diff --git a/src/s/usg5-4.h b/src/s/usg5-4.h index 3065156ad70..3926ae08869 100644 --- a/src/s/usg5-4.h +++ b/src/s/usg5-4.h | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | /* Definitions file for GNU Emacs running on AT&T's System V Release 4 | 1 | /* Definitions file for GNU Emacs running on AT&T's System V Release 4 |
| 2 | Copyright (C) 1987, 1990, 1999, 2000, 2001, 2002, 2003, 2004, 2005, | 2 | |
| 3 | 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. | 3 | Copyright (C) 1987, 1990, 1999, 2000, 2001, 2002, 2003, 2004, 2005, |
| 4 | 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. | ||
| 4 | 5 | ||
| 5 | This file is part of GNU Emacs. | 6 | This file is part of GNU Emacs. |
| 6 | 7 | ||
| @@ -75,10 +76,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 75 | #define rindex strrchr | 76 | #define rindex strrchr |
| 76 | #endif /* ! defined (HAVE_RINDEX) */ | 77 | #endif /* ! defined (HAVE_RINDEX) */ |
| 77 | 78 | ||
| 78 | /* Use terminfo instead of termcap. */ | ||
| 79 | |||
| 80 | #define TERMINFO | ||
| 81 | |||
| 82 | 79 | ||
| 83 | /* The docs for system V/386 suggest v.3 has sigpause, | 80 | /* The docs for system V/386 suggest v.3 has sigpause, |
| 84 | so let's give it a try. */ | 81 | so let's give it a try. */ |