aboutsummaryrefslogtreecommitdiffstats
path: root/src/m
diff options
context:
space:
mode:
authorFrancesco Potortì1994-01-24 12:31:40 +0000
committerFrancesco Potortì1994-01-24 12:31:40 +0000
commit407362cd3b2aeceb6776b221559cb3737d09ceae (patch)
treed37365e6bfc27deb80d9673f8e63ffd19e6ec02d /src/m
parent27d0b45aa7b0061dd9523f10da275df53d1be96e (diff)
downloademacs-407362cd3b2aeceb6776b221559cb3737d09ceae.tar.gz
emacs-407362cd3b2aeceb6776b221559cb3737d09ceae.zip
* m/delta.h (HAVE_RANDOM, BROKEN_FIONREAD): defined if X is used.
(HAVE_XSCREENNUMBEROFSCREEN): defined if X is used. (LIB_X11_LIB, LIBX11_SYSTEM): override only if X is used. (USG_SHARED_LIBRARIES): undefine only if X is used.
Diffstat (limited to 'src/m')
-rw-r--r--src/m/delta.h29
1 files changed, 8 insertions, 21 deletions
diff --git a/src/m/delta.h b/src/m/delta.h
index ffeb06e9572..810395815c0 100644
--- a/src/m/delta.h
+++ b/src/m/delta.h
@@ -135,28 +135,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
135 135
136#define CLASH_DETECTION 136#define CLASH_DETECTION
137 137
138/* configure fails to find these two. */
139
140#define HAVE_RANDOM
141#define HAVE_XSCREENNUMBEROFSCREEN
142
143/* pearce@ll.mit.edu says this is needed. */
144
145#define BROKEN_FIONREAD
146
147/* No shared X library. */
148
149#undef LIB_X11_LIB
150#define LIB_X11_LIB -lX11
151
152/* We have no 'pt' library as usg5-3.h expects. */
153#undef LIBX11_SYSTEM
154#define LIBX11_SYSTEM -lnls -lnsl_s
155
156#undef USG_SHARED_LIBRARIES
157
158/* Machine specific stuff */ 138/* Machine specific stuff */
159
160#define HAVE_PTYS 139#define HAVE_PTYS
161#define SYSV_PTYS 140#define SYSV_PTYS
162#define HAVE_SELECT 141#define HAVE_SELECT
@@ -197,6 +176,14 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
197/* X library is in 'nonstandard' location. */ 176/* X library is in 'nonstandard' location. */
198/* This should be taken care of by configure -pot@cnuce.cnr.it 177/* This should be taken care of by configure -pot@cnuce.cnr.it
199# define LD_SWITCH_MACHINE -L/usr/lib/X11/ */ 178# define LD_SWITCH_MACHINE -L/usr/lib/X11/ */
179# define HAVE_RANDOM
180# define BROKEN_FIONREAD /* pearce@ll.mit.edu says this is needed. */
181# define HAVE_XSCREENNUMBEROFSCREEN
182# undef LIB_X11_LIB /* no shared libraries */
183# define LIB_X11_LIB -lX11
184# undef USG_SHARED_LIBRARIES /* once again, no shared libs */
185# undef LIBX11_SYSTEM /* no -lpt as usg5-3.h expects */
186# define LIBX11_SYSTEM -lnls -lnsl_s
200#endif /* HAVE_X_WINDOWS */ 187#endif /* HAVE_X_WINDOWS */
201 188
202#ifdef __GNUC__ 189#ifdef __GNUC__