# HG changeset patch # User Francesco Potort # Date 759414700 0 # Node ID 83b4ead7031f88300469df199f80f6bd865f35e2 # Parent e94f93aef529db76ef8fed85eb3f5cff8df75a64 * 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. diff -r e94f93aef529 -r 83b4ead7031f src/m/delta.h --- a/src/m/delta.h Sun Jan 23 23:23:42 1994 +0000 +++ b/src/m/delta.h Mon Jan 24 12:31:40 1994 +0000 @@ -135,28 +135,7 @@ #define CLASH_DETECTION -/* configure fails to find these two. */ - -#define HAVE_RANDOM -#define HAVE_XSCREENNUMBEROFSCREEN - -/* pearce@ll.mit.edu says this is needed. */ - -#define BROKEN_FIONREAD - -/* No shared X library. */ - -#undef LIB_X11_LIB -#define LIB_X11_LIB -lX11 - -/* We have no 'pt' library as usg5-3.h expects. */ -#undef LIBX11_SYSTEM -#define LIBX11_SYSTEM -lnls -lnsl_s - -#undef USG_SHARED_LIBRARIES - /* Machine specific stuff */ - #define HAVE_PTYS #define SYSV_PTYS #define HAVE_SELECT @@ -197,6 +176,14 @@ /* X library is in 'nonstandard' location. */ /* This should be taken care of by configure -pot@cnuce.cnr.it # define LD_SWITCH_MACHINE -L/usr/lib/X11/ */ +# define HAVE_RANDOM +# define BROKEN_FIONREAD /* pearce@ll.mit.edu says this is needed. */ +# define HAVE_XSCREENNUMBEROFSCREEN +# undef LIB_X11_LIB /* no shared libraries */ +# define LIB_X11_LIB -lX11 +# undef USG_SHARED_LIBRARIES /* once again, no shared libs */ +# undef LIBX11_SYSTEM /* no -lpt as usg5-3.h expects */ +# define LIBX11_SYSTEM -lnls -lnsl_s #endif /* HAVE_X_WINDOWS */ #ifdef __GNUC__