diff src/s/hpux9-shr.h @ 56:c0965ff3b039 r19-16-pre3

Import from CVS: tag r19-16-pre3
author cvs
date Mon, 13 Aug 2007 08:58:20 +0200
parents b82b59fe008d
children
line wrap: on
line diff
--- a/src/s/hpux9-shr.h	Mon Aug 13 08:57:57 2007 +0200
+++ b/src/s/hpux9-shr.h	Mon Aug 13 08:58:20 2007 +0200
@@ -28,6 +28,14 @@
 
 #include "hpux9.h"
 
+/* The curses library seems to have a badly broken version of select(2)
+   that makes "poll: interrupted system call" messages to appear and
+   Emacs suprocesses to hang (e.g. TeX compilation w/ AUCTeX).
+   Althought this is only for hpux 10, linking termcap instead of curses
+   on 9.X ensures a 9.X binary will still run properly on 10.X. */
+#undef LIBS_TERMCAP
+#define LIBS_TERMCAP -ltermcap
+
 #if 0 /* No longer needed, since in current GCC -g no longer does that.  */
 /* We must turn off -g since it forces -static.  */
 #ifdef __GNUC__